# Patent

## Title
Parallel current mode control using a direct duty cycle algorithm with low computational requirements to perform power factor correction

## Abstract

A method and apparatus to implement parallel current mode control that is suitable for digital and analog implementation. A duty cycle algorithm is composed of a voltage term and a parallel current term which depends on the inductor current change between the inductor current value at the beginning of a switching cycle and the reference inductor current value at the end of that switching cycle. Parallel current mode control can be applied to all DC-DC converters, including both non-isolated and isolated topologies. It can also be applied to AC-DC converters with power factor correction.

## Background
FIELD OF INVENTION
This invention relates to electronic power supply converters for energy systems and more particularly to DC-DC converter and AC-DC converter with power factor correction.
BACKGROUND OF INVENTION AND PRIOR ART
Digital control is becoming more and more popular because of the process advancement of CMOS technology. In addition, the power requirement is becoming more and more complicated and the conventional analog control method can no longer meet this requirements. Digital control of power converter and power system can meet these more and more complicated power requirement. It is expected that digital control will replace analog control in switching power converters.
At the present time, the control algorithms used in digital controllers are translated directly from analog algorithms. In other words, they are digital implementation of the algorithms that are optimized for analog implementation. They are not optimized for digital implementation.
For DC-DC converter, current mode control is widely used because of its advantages. Peak current mode control, average current mode control, and hysteresis current mode control are three commonly used current mode control methods.
Current mode control can improve the dynamic performance of the DC-DC converter significantly because it utilizes the inductor current information, together with the output voltage information. Unfortunately, the conventional current mode control methods are optimized for analog implementation. It is very difficult to implement those methods using digital circuits.
Thus, there is a need for a new current mode control method that is suitable for both analog and digital implementation. It is called parallel current mode control. The parallel current mode control can be applied to both DC-DC converter and AC-DC converter with power factor correction.
There are several disadvantages in existing digital control PFC implementation systems based on conventional current mode control, such as high computational requirement, limited switching frequency and high cost. Predictive control methods are being explored and implemented in digital controlled PFC in order to take full advantage of digital techniques. One such digital current program control using a predictive algorithm was presented by Chen et al in “Predictive Digital Current programmed Control”, IEEE Transactions on Power Electronics, Vol 18, No 1, January 2003, pp 411-419. In that paper, the duty cycle, d(n+1), was calculated based on the value of the present duty cycle d(n) and sensed inductor current, input voltage and output voltage. Unity power factor was achieved. The first disadvantage is that the duty cycle calculation requires the duty cycle value in the previous switching cycle. Second, the computation requirement is not obviously reduced compared to that in the digital PFC implementation based on current mode control. Bibian et al, in “Digital Control with improved performance for boost power factor correction circuits”, Applied Power Electronics Conference and Exposition 2001, 16th Annual IEEE, pp 137-143 proposed dead-beat predictive control in which a predicted duty cycle was used to control the switch during a control period which is equivalent to several or several tens switching cycles. The duty cycles were fixed during one control period. Computation was reduced in that control method. However, the harmonics in the line current was increased compared to the control method in which the duty cycle was calculated in every switching cycle. The computation requirement in digital PFC implementations was reduced further by the techniques proposed by Zhang et al in APEC 2003, pp 403-409 and PESC 2003, pp 335-341 because all the duty cycles for a half line period were calculated in advance based on the voltage loop and the input voltage feed-forward. However, the current waveform is sensitive to the parameters of the model and the capability of the regulation to the step load change is not satisfied when the load variation is wide. Thus there is still a need for a direct duty cycle control algorithm with low calculation requirement for digital power factor correction implementation.
OBJECT OF INVENTION
One object of the present invention is to provide a method to achieve current mode control that is optimized for digital implementation. The proposed parallel current mode control can achieve this objective.
Another object of the present invention is to provide a method that is optimized for digital implementation to achieve unity power factor for AC-DC converter. The proposed PFC control method can be implemented by a low cost DSP, FPGA or ASIC due to its low computation requirement. It overcomes the disadvantages of the existing digital PFC techniques mentioned above, such as high computation requirement, model sensitivity and increased harmonics.
BRIEF STATEMENT OF INVENTION
By one aspect of this invention there is provided a method for controlling power factor under steady and transient state conditions in an AC-DC power supply converter system with power factor correction based on Boost topology, comprising:

    
    
        (a) determining input voltage (Vin(n)) and reference output voltage (Vref) in said system,
        (b) determining reference input current (iref(n+1)), actual inductor current (iL(n)) in said system, and
        (c) controlling a duty cycle (d(n)) in said system according to the algorithm
    
    






  
    d
    ⁡
    
      (
      n
      )
    
  
  =
  
    
      
        L
        
          T
          s
        
      
      ⁢
      
        
          
            
              i
              ref
            
            ⁡
            
              (
              
                n
                +
                1
              
              )
            
          
          -
          
            
              i
              L
            
            ⁡
            
              (
              n
              )
            
          
        
        
          V
          ref
        
      
    
    +
    
      
        
          V
          ref
        
        -
        
          
            V
            in
          
          ⁡
          
            (
            n
            )
          
        
      
      
        V
        ref
      
    
  




where L is inductor value and Ts is switching period,

    
    
        so as to provide a power factor approaching unity.
    
    


By another aspect of this invention there is provided an apparatus for controlling power factor in an electronic digital AC to DC power supply converter system, comprising:

    
    
        (a) voltage input means connected to a first analog to digital converter (ADC) so as to generate a first output signal which is fed to a first adder which also receives a reference output voltage signal (Vref) so as to generate a second output signal which is used to generate a third output signal including a factor of
    
    






  
    K
    C
  
  =
  
    
      L
      
        
          T
          s
        
        ·
        
          V
          ref
        
      
    
    .
  




    
    
        (b) a second analog to digital converter (ADC) to receive an inductor current signal and generate a fourth output signal which is fed into a second adder which also receives an reference input current, so as to generate a fifth output signal which is used to generate a sixth output signal including a factor Kc, where
    
    






  
    1
    
      V
      ref
    
  
  .




    
    
        (c) means to feed said sixth output signal and said third output signal to a third adder so as to generate an output signal representative of a required duty cycle.
    
    


By yet another aspect of this invention there is provided a method for controlling output voltage under steady and transient state conditions in an electronic DC-DC power supply converter system based on Boost topology, and isolated Boost topology comprising:

    
    
        (a) determining input voltage (Vin(n)) and reference output voltage (Vref) in said system,
        (b) determining reference input current (iref(n+1)), actual inductor current (iL(n)) in said system, and
        c) controlling a duty cycle (d(n)) in said system according to the algorithm
    
    






  
    d
    ⁡
    
      (
      n
      )
    
  
  =
  
    
      
        L
        
          T
          s
        
      
      ⁢
      
        
          
            
              i
              ref
            
            ⁡
            
              (
              
                n
                +
                1
              
              )
            
          
          -
          
            
              i
              L
            
            ⁡
            
              (
              n
              )
            
          
        
        
          V
          ref
        
      
    
    +
    
      
        
          V
          ref
        
        -
        
          
            V
            in
          
          ⁡
          
            (
            n
            )
          
        
      
      
        V
        ref
      
    
  




where L is inductor value, Ts is switching period, and where N is transformer turns ratio for the isolated Boost converter, N=1 for Boost converter,

    
    
        so as to provide the output voltage approaching the reference output voltage.
    
    


Other aspects of this invention will become apparent from a reading of this specification and claims appended hereto.



BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is a block diagram illustrating serial current mode control;
FIG. 2 is a circuit diagram for a Buck-Boost converter;
FIG. 3 is a block diagram of parallel current mode control;
FIG. 4 is a circuit diagram of Boost converter topology;
FIG. 5 is a block diagram of parallel current mode control for a Boost converter;
FIG. 6 is a general block diagram of parallel current mode control;
FIG. 7 is a block diagram of parallel current mode control for closed loop operation;
FIG. 8 is a block diagram showing a Boost converter under parallel current mode control;
FIG. 9 is a block diagram showing analog implementation of parallel current mode control for Boost converter;
FIG. 10 is a block diagram showing parallel current mode control for PFC using a Boost converter;
FIG. 11 is a block diagram showing analog implementation of parallel current mode control for PFC using a Boost converter;
FIG. 12 is a block diagram showing analog implementation using Automatic Gain Control; and
FIG. 13 is a block diagram showing a simplified analog implementation without Automatic Gain Control.



DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS
According to the present control method, the duty cycle is composed of two parallel terms. The first term is called the “voltage term”. It depends on the input voltage and the desired output voltage. The expression of this term depends on the topology of the switching converters. Essentially, this term is determined by the volt-second balance of the specific converter. The second term is called the “current term” and it depends on the inductor current change between the inductor current value at the beginning of the switching cycle and the reference inductor current value at the end of that switching cycle. With this parallel current mode control method, the inductor current of the converter, such as Buck-Boost, Boost, Buck, etc., will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2. In fact, it is because the difference gap between the reference inductor current and actual inductor current that the output voltage can follow the reference voltage without error. This control philosophy essentially distinguishes from the conventional current mode control and any other control methods with two regulators (one for voltage regulation and one for current regulation) constructed serially.
The present parallel current mode control can be applied to all DC-DC converters, including both non-isolated and isolated topologies. It can also be applied to AC-DC converter with power factor correction.
The present parallel current mode control is optimized for digital implementation. It can also be implemented by analog implementation.
The block diagram of the conventional current mode control is shown in FIG. 1. The output voltage is sensed and compared with the reference voltage. The output of the voltage error amplifier is used as the reference current (iref) for the inductor current. The current controller forces the inductor current to follow the reference current. The output of the current controller is the duty cycle that is used to turn on and turn off the switches in the DC-DC converter. In this configuration, the duty cycle is produced by the current controller only. The output voltage impacts the duty cycle indirectly, through the reference current iref. This can be considered as serial configuration as the duty cycle is determined solely by the current controller, which is then affected by the voltage error amplifier. Therefore, the conventional current mode control can be called as serial current mode control.
1. Basic Idea of Parallel Current Mode Control
1.1. Parallel Current Mode Control for Buck-Boost Converter
The basic idea of Parallel Current Mode Control can best be explained by using the Buck-Boost converter as an example, as shown in FIG. 2. It is assumed that the Buck-Boost converter operates at Continuous Conduction Mode (CCM). When switch Q is on, the inductor current can be expressed as:




  
    
      
        
          L
          ⁢
          
            
              d
              
                i
                L
              
            
            
              d
              t
            
          
        
        =
        
          
            
              V
              in
            
            ⁢
            
              
            
            ⁢
            
              
                T
                s
              
              ⁡
              
                (
                n
                )
              
            
          
          ≦
          t
          <
          
            
              
                T
                s
              
              ⁡
              
                (
                n
                )
              
            
            +
            
              
                d
                ⁡
                
                  (
                  n
                  )
                
              
              ⁢
              
                T
                s
              
              ⁢
              
                
              
              ⁢
              
                (
                
                  on
                  ⁢
                  
                    
                  
                  ⁢
                  time
                
                )
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




When switch Q is off, the inductor current can be expressed as:




  
    
      
        
          L
          ⁢
          
            
              d
              
                i
                L
              
            
            
              d
              t
            
          
        
        =
        
          
            
              
                -
                
                  V
                  0
                
              
              ⁢
              
                
              
              ⁢
              
                
                  T
                  s
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            +
            
              
                d
                ⁡
                
                  (
                  n
                  )
                
              
              ⁢
              
                T
                s
              
            
          
          ≦
          t
          <
          
            
              
                T
                s
              
              ⁡
              
                (
                
                  n
                  +
                  1
                
                )
              
            
            ⁢
            
              
            
            ⁢
            
              (
              
                off
                ⁢
                
                  
                
                ⁢
                time
              
              )
            
          
        
      
    
    
      
        (
        2
        )
      
    
  




It is noted that the inductor current changes linearly during the operation. Therefore, the inductor current at the beginning of the next switching period (n+1), which is the same as that at the end of the present switching period (n) can be expressed as:




  
    
      
        
          
            i
            L
          
          ⁡
          
            (
            
              n
              +
              1
            
            )
          
        
        =
        
          
            
              i
              L
            
            ⁡
            
              (
              n
              )
            
          
          -
          
            
              
                
                  V
                  0
                
                ⁡
                
                  (
                  n
                  )
                
              
              ·
              
                T
                s
              
            
            L
          
          +
          
            
              
                (
                
                  
                    V
                    0
                  
                  +
                  
                    V
                    in
                  
                
                )
              
              ·
              
                d
                ⁡
                
                  (
                  n
                  )
                
              
              ·
              
                T
                s
              
            
            L
          
        
      
    
    
      
        (
        3
        )
      
    
  




In the above equation, iL(n) indicates the inductor current value at the beginning of the present switching period. iL(n+1) indicates the inductor current value at the beginning of the next switching period. d(n) indicates the duty cycle for switching period n. Equation (3) reveals the relation between the inductor current at the beginning of the next switching period, iL(n+1), and the inductor current at the beginning of the present witching period, iL(n), the input voltage, Vin(n), output voltage, Vo, and the duty cycle for present switching period, d(n). Ts is the switching period and L is the inductor value.
Equation (3) can be re-arranged as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                
                  
                    V
                    in
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  V
                  0
                
              
            
          
          +
          
            
              V
              0
            
            
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                V
                0
              
            
          
        
      
    
    
      
        (
        4
        )
      
    
  




Equation (4) indicates that in order to force the inductor current to reach value of iL(n+1) at the beginning of next switching period, the duty cycle determined by equation (4) should be applied for the present switching period. This is a very important observation. This fact indicates one method to control the operation of the Buck-Boost converter.
It is proposed that the inductor current at the end of the switching cycle, iL(n+1) can be replaced by a reference current, iref(n+1). It is also observed that under normal operating condition, the output voltage, Vo, is very close to the desired reference voltage, Vref. Therefore, the term V, in equation (4) can be replaced by the reference voltage Vref. Therefore, the duty cycle can be generated as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              V
              ref
            
            
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                V
                ref
              
            
          
          +
          
            
              L
              
                T
                s
              
            
            ·
            
              1
              
                
                  
                    V
                    in
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  V
                  ref
                
              
            
            ·
            
              [
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              ]
            
          
        
      
    
    
      
        (
        5
        )
      
    
  




The above equation can be further simplified as:

d(n)=dutybuck—boost(V)+dutybuck —boost(I)  (6)

In the above equation,




  
    
      
        
          
            duty
            
              
                buck
                —
              
              ⁢
              boost
            
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            V
            ref
          
          
            
              
                V
                in
              
              ⁡
              
                (
                n
                )
              
            
            +
            
              V
              ref
            
          
        
      
    
    
      
        (
        7
        )
      
    
  
  
    
      
        
          
            duty
            
              
                buck
                —
              
              ⁢
              boost
            
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              T
              s
            
          
          ·
          
            1
            
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                V
                ref
              
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        8
        )
      
    
  




Equation (6) shows that the duty cycle for switching period n depends on two terms. One is voltage term and the other is current term. The voltage term, dutybuck—boost(V), depends on the input voltage and the desired output voltage, or reference voltage. The current term, dutybuck—boost(I), depends on the difference between the reference current at the beginning of next switching period and the inductor current at the beginning of the present period, as well as the input voltage and reference voltage.
FIG. 3 shows the block diagram of this control method. It is observed from the block diagram that the duty cycle is generated by two parallel loops, the loop representing the voltage term and the loop representing the current term. Therefore, this control method is called Parallel Current Mode Control.
In FIG. 3, the block DC-DC converter can be any PWM switching converters. The input voltage is sensed and fed into the block “voltage term calculation”. The reference voltage is also fed into the “voltage term calculation” block, which performs the calculation for voltage term. For Buck-Boost converter, the voltage term duty cycle, is expressed by equation (7). The inductor current, iL(n), and input voltage, Vin(n), are sensed and fed into the block “current term calculation”. Reference voltage, Vref, and reference current, iref(n+1) are also fed into the “current term calculation” block, which performs the calculation for current term. For Buck-Boost converter, the current term duty cycle, is expressed by equation (8). The output of the voltage term calculation and the output of the current term calculation are added together by the adder. The output of the adder is the duty cycle signal and it is used to turn on the switch of the DC-DC converter. With parallel current mode control method, equation (5), the inductor current of the Buck-Boost converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Buck-Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.
In order to simplify the implementation, equation (6), (7) and (8) can be re-written as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              
                duty_V
                buck_boost
              
              ⁢
              
                (
                V
                )
              
            
            +
            
              
                duty_V
                buck_boost
              
              ⁢
              
                (
                I
                )
              
            
          
          
            
              
                V
                in
              
              ⁡
              
                (
                n
                )
              
            
            +
            
              V
              ref
            
          
        
      
    
    
      
        (
        6.1
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            V
            )
          
        
        =
        
          V
          ref
        
      
    
    
      
        (
        7.1
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            I
            )
          
        
        =
        
          
            L
            
              T
              s
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        8.1
        )
      
    
  




Based on parallel current mode control, the control algorithm for Flyback converter can be derived as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              N
              ·
              
                V
                ref
              
            
            
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
              +
              
                N
                ·
                
                  V
                  ref
                
              
            
          
          +
          
            
              L
              
                T
                s
              
            
            ·
            
              1
              
                
                  
                    V
                    in
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                +
                
                  N
                  ·
                  
                    V
                    ref
                  
                
              
            
            ·
            
              [
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              ]
            
          
        
      
    
    
      
        (
        5.1
        )
      
    
  




where L is inductor value and Ts is switching period, and N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (5.1) can be simplified to equation (5) when N=1.

1.2. Parallel Current Mode Control for Boost Converter

It is noted that the parallel current mode control algorithms for other switching converters can also be derived in a similar way. Another example of how to derive the parallel current mode control is given for Boost converter as shown in FIG. 4. It is assumed that the Boost converter operates at Continuous Conduction Mode (CCM). When switch Q is on, the inductor current can be expressed as:




  
    
      
        
          L
          ⁢
          
            
              d
              
                i
                L
              
            
            
              d
              t
            
          
        
        =
        
          
            
              V
              in
            
            ⁢
            
              
            
            ⁢
            
              
                T
                s
              
              ⁡
              
                (
                n
                )
              
            
          
          ≤
          t
          <
          
            
              
                T
                s
              
              ⁡
              
                (
                n
                )
              
            
            +
            
              
                d
                ⁡
                
                  (
                  n
                  )
                
              
              ⁢
              
                
                  T
                  s
                
                ⁡
                
                  (
                  
                    on
                    ⁢
                    
                      
                    
                    ⁢
                    time
                  
                  )
                
              
            
          
        
      
    
    
      
        (
        9
        )
      
    
  




When switch Q is off, the inductor current can be expressed as:




  
    
      
        
          L
          ⁢
          
            
              d
              
                i
                L
              
            
            
              d
              t
            
          
        
        =
        
          
            
              V
              in
            
            -
            
              
                V
                o
              
              ⁢
              
                
              
              ⁢
              
                
                  T
                  s
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            +
            
              
                d
                ⁡
                
                  (
                  n
                  )
                
              
              ⁢
              
                T
                s
              
            
          
          ≤
          t
          <
          
            
              
                T
                s
              
              ⁡
              
                (
                
                  n
                  +
                  1
                
                )
              
            
            ⁢
            
              (
              
                off
                ⁢
                
                  
                
                ⁢
                time
              
              )
            
          
        
      
    
    
      
        (
        10
        )
      
    
  




Therefore, the inductor current at the beginning of the next switching period (n+1), which is same as that at the end of the present switching period (n) can be expressed as:




  
    
      
        
          
            i
            L
          
          ⁡
          
            (
            
              n
              +
              1
            
            )
          
        
        =
        
          
            
              i
              L
            
            ⁡
            
              (
              n
              )
            
          
          +
          
            
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
              ·
              
                T
                s
              
            
            L
          
          -
          
            
              
                
                  V
                  o
                
                ⁡
                
                  [
                  
                    1
                    -
                    
                      d
                      ⁡
                      
                        (
                        n
                        )
                      
                    
                  
                  ]
                
              
              ·
              
                T
                s
              
            
            L
          
        
      
    
    
      
        (
        11
        )
      
    
  




The required duty cycle for switching period n can be derived as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                V
                o
              
            
          
          +
          
            
              
                V
                o
              
              -
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            
              V
              o
            
          
        
      
    
    
      
        (
        12
        )
      
    
  




It is proposed that the inductor current at the end of the switching cycle, iL(n+1) can be replaced by a reference current, iref(n+1). It is also observed that under normal operating condition, the output voltage, Vo, is very close to the desired reference voltage, Vref. Therefore, the term Vo in equation (12) can be replaced by the reference voltage Vref. Therefore, the duty cycle can be generated as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                V
                ref
              
            
          
          +
          
            
              
                V
                ref
              
              -
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            
              V
              ref
            
          
        
      
    
    
      
        (
        13
        )
      
    
  




Equation (13) can be further simplified as:

d(n)=dutyboost(V)+dutyboost(I)  (14)

The expression for voltage term and current term in equation (14) is:




  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            
              V
              ref
            
            -
            
              
                V
                in
              
              ⁡
              
                (
                n
                )
              
            
          
          
            V
            ref
          
        
      
    
    
      
        (
        15
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              
                T
                s
              
              ·
              
                V
                ref
              
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        16
        )
      
    
  




The block diagram for parallel current mode control for Boost converter is shown in FIG. 5. In the figure, the “voltage term calculation” block implements the calculation of equation (15) and the “current term calculation” block implements the calculation of equation (16). With this parallel current mode control method, equation (13), the inductor current of the Boost converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.
The difference between FIG. 3 and FIG. 5 is that the current term calculation for the Boost converter (shown in FIG. 5) does not require Vin(n). Therefore, FIG. 3 can be considered as a more general block diagram for parallel current mode control for switching converters.
Based on parallel current mode control, the control algorithm for isolated Boost converter can be derived as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                N
                ·
                
                  V
                  ref
                
              
            
          
          +
          
            
              
                N
                ·
                
                  V
                  ref
                
              
              -
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            
              N
              ·
              
                V
                ref
              
            
          
        
      
    
    
      
        (
        13.1
        )
      
    
  




where L is inductor value, Ts is switching period, and N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (13.1) can be simplified to equation (13) when N=1.

1.3. Parallel Current Mode Control for other DC-DC Converters
The control algorithm of parallel current mode control for Buck converter can also be derived by the same method described above and is shown in the following equations.




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
          +
          
            
              V
              ref
            
            
              
                V
                in
              
              ⁡
              
                (
                n
                )
              
            
          
        
      
    
    
      
        (
        17
        )
      
    
  




The above expression can also be separated into voltage term and current term as following:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              duty
              buck
            
            ⁡
            
              (
              V
              )
            
          
          +
          
            
              duty
              buck
            
            ⁡
            
              (
              I
              )
            
          
        
      
    
    
      
        (
        18
        )
      
    
  
  
    
      
        
          
            duty
            buck
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            V
            ref
          
          
            
              V
              in
            
            ⁡
            
              (
              n
              )
            
          
        
      
    
    
      
        (
        19
        )
      
    
  
  
    
      
        
          
            duty
            buck
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              
                T
                s
              
              ·
              
                
                  V
                  in
                
                ⁡
                
                  (
                  n
                  )
                
              
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        20
        )
      
    
  




The implementation of the parallel current mode control for Buck converter can also be realized by FIG. 3, where the voltage term calculation block performs the calculation defined by equation (19) and the current term calculation block performs the calculation defined by equation (20). With this parallel current mode control method, equation (17), the inductor current of the Buck converter will follow the reference current with a difference gap between the reference current value and actual inductor current value. This difference gap is determined by the load condition. At the same time, the output voltage of the Boost converter will exactly follow the reference voltage in the voltage closed loop implementation which will be elaborated in section 2.
In order to simplify the implementation, equation (18), (19) and (20) can be re-written as:




  
    
      
        
          d
          ⁢
          
            (
            n
            )
          
        
        =
        
          
            
              
                duty_V
                buck
              
              ⁢
              
                (
                V
                )
              
            
            +
            
              
                duty_V
                buck
              
              ⁢
              
                (
                I
                )
              
            
          
          
            
              V
              in
            
            ⁡
            
              (
              n
              )
            
          
        
      
    
    
      
        (
        18.1
        )
      
    
  
  
    
      
        
          
            duty_V
            buck
          
          ⁢
          
            (
            V
            )
          
        
        =
        
          V
          ref
        
      
    
    
      
        (
        19.1
        )
      
    
  
  
    
      
        
          
            duty_V
            buck
          
          ⁢
          
            (
            I
            )
          
        
        =
        
          
            L
            
              T
              s
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        20.1
        )
      
    
  




With this arrangement, only one divider is needed.
Based on parallel current mode control, the control algorithm for Forward, Push-Pull, Half-Bridge, Full-Bridge topologies is derived as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              L
              
                T
                s
              
            
            ·
            
              
                
                  
                    i
                    ref
                  
                  ⁡
                  
                    (
                    
                      n
                      +
                      1
                    
                    )
                  
                
                -
                
                  
                    i
                    L
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
              
              
                K
                ·
                
                  
                    
                      V
                      in
                    
                    ⁡
                    
                      (
                      n
                      )
                    
                  
                  /
                  N
                
              
            
          
          +
          
            
              V
              ref
            
            
              K
              ·
              
                
                  
                    V
                    in
                  
                  ⁡
                  
                    (
                    n
                    )
                  
                
                /
                N
              
            
          
        
      
    
    
      
        (
        17.1
        )
      
    
  




where L is inductor value, Ts is switching period, where K=1 for Forward, Push-Pull, and Full-Bridge converters and K=0.5 for Half-Bridge converter, and where N is transformer turns ratio which is defined as the ratio of primary turns over secondary turns. Equation (17.1) can be simplified to equation (17) when N=1 and K=1.

1.4. General Block Diagram of Parallel Current Mode Control

FIG. 6 provides the general block diagram of the parallel current mode control. In FIG. 6, Vin(t) represents the sensed input voltage. iL(t) represents the sensed inductor current. iref(t) represents the reference current. Vref represents the reference output voltage. The duty cycle d(t) is determined by the sum of outputs of voltage and current term calculation. The voltage and current term calculation algorithm depend on the specific converter topology.
2. Closed Loop Implementation of Parallel Current Mode Control
Closed loop operation is required in order to regulate the output voltage tightly. The closed loop implementation of the parallel current mode control is illustrated in FIG. 7. The output voltage is sensed and fed into the voltage error amplifier. The reference voltage is also fed into the voltage error amplifier. The output of the voltage error amplifier is the reference current. Under closed loop operation, if the output voltage is lower than the reference voltage, the output of the voltage error amplifier will be increased and thus the inductor current value will be increased and then the output voltage will be increased to the reference voltage.
FIG. 7 is a general block diagram. The control algorithms can be implemented using digital circuits. They can also be implemented using analog circuits.
This section provides the detailed implementation of parallel current mode control using digital implementation and sampling the inductor current at the beginning of switching period. Digital control is, by its nature, a discrete control. This means that samples of inductor current, input voltage, output voltage, etc. are normally taken in every switching period. The fact that the inductor current is sampled at the beginning of switching period is significant for digital control. This provides the latest possible information for the controller to decide the required duty cycle for the present switching period.
2.1. Boost Converter Implementation
FIG. 8 illustrates the block diagram for a Boost converter operating under parallel current mode control. The inductor current is sampled at the beginning of every switching period. The analog value of the inductor current is converted into digital value by the ADC 1 (Analog to Digital Converter) at the beginning of the switching period. The analog value of the input voltage is converted into digital value by ADC 2 (Analog to Digital Converter) at the beginning of the switching period. The analog value of the output voltage is converted into digital value by ADC 3. The output voltage is compared with the reference voltage Vref through the voltage error amplifier and its output is used as the reference value for inductor current. The difference between the reference current, iref(n+1), and the inductor current, iL(n), is calculated by adder 2. The output of adder 2, A2, is scaled by a constant KC through gain block 2. From equation (16), the value of Kc is defined as:

KC=L/(Ts*Vref)  (21)

Adder 2 and gain block 2 perform the current term calculation, as given by equation (16).
The difference between the input voltage and the reference voltage is calculated by adder 1. The output of adder 1, A1, is scaled by a constant, 1/Vref, through gain block 2. Adder 1 and gain block 1 perform the voltage term calculation as given by equation (15). The output of these two gain blocks, G1 and G2, are added together by adder 3 to generate the required duty cycle D(n). D(n) is a digital value corresponding to the required duty cycle. This digital value is converted into required pulse width through DPWM (Digital Pulse Width Modulation block). The output of the DPWM is fed into the gate drive block to turn on and turn off the MOSFET effectively.
It should be noted that the implementations shown in FIG. 8 may not the best way to implement the control strategy of parallel current mode control for Boost converter as defined by equations (14), (15) and (16). It is conceivable that better implementation methods could be developed by a person skilled in the art.
2.2. Other Converter Implementation
The implementation for other converters, such as Buck, Buck-Boost, etc., can be implemented in the same way, as will be obvious to anyone skilled in the art.
2.3. Analog Implementation
Although the proposed parallel current mode control is optimized for digital implementation. It can also be implemented by analog circuits.
2.3.1. Analog Control Algorithms for Parallel Current Mode Control
The control algorithms for parallel current mode control are expressed in digital format. The analog expression of the parallel current mode control can be derived. From equations (6.1), (7.1), and (8.1), the analog algorithms for Buck-Boost converter under parallel current mode control can be derived as:




  
    
      
        
          d
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              
                duty_V
                buck_boost
              
              ⁢
              
                (
                V
                )
              
            
            +
            
              
                duty_V
                buck_boost
              
              ⁢
              
                (
                I
                )
              
            
          
          
            
              
                V
                in
              
              ⁡
              
                (
                t
                )
              
            
            +
            
              V
              ref
            
          
        
      
    
    
      
        (
        22
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            V
            )
          
        
        =
        
          V
          ref
        
      
    
    
      
        (
        23
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            I
            )
          
        
        =
        
          
            L
            
              T
              s
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  t
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        24
        )
      
    
  




Similarly, the analog algorithms for Boost converter under parallel current mode control can be derived from equations (14), (15), and (16) as following:




  
    
      
        
          d
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              duty
              boost
            
            ⁡
            
              (
              V
              )
            
          
          +
          
            
              duty
              boost
            
            ⁡
            
              (
              I
              )
            
          
        
      
    
    
      
        (
        25
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            
              V
              ref
            
            -
            
              
                V
                in
              
              ⁡
              
                (
                t
                )
              
            
          
          
            V
            ref
          
        
      
    
    
      
        (
        26
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              
                T
                s
              
              ·
              
                V
                ref
              
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  t
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  t
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        27
        )
      
    
  




The analog algorithms for other converters can also be derived in the same way.
2.3.2. Analog Implementation
FIG. 9 illustrates the block diagram of the analog implementation of parallel current mode control for Boost converter. Operational Amplifier 1 (OpAmp1) generates the difference between reference voltage and input voltage. OpAmp2 performs the scale operation to obtain the voltage term in equation (26). OpAmp6 is the voltage error amplifier to amplify the difference between the output voltage and reference voltage. Its output is the reference current for inductor current. OpAmp7 is a low pass filter which effectively calculates the inductor current. OpAmp4 calculates the difference between the reference current and inductor current. OpAmp3 performs the scale operation to obtain the current term in equation (27). The output of voltage term calculation (OP2) and current term calculation (OP3) are added together to get the duty cycle signal by OpAmp5. OP5 is a voltage signal corresponding to the required duty cycle. This signal is converted into pulse width through a Pulse Width Modulator (PWM). The output of PWM is fed into the gate drive circuit to turn on and turn off the MOSFET effectively.
It should be noted that in practice, some of the OpAmps could be combined.
Similarly, the analog implementation for other converters under parallel current mode control can also be developed by a person skilled in the art. The details are not presented here.
2.4. Parallel Current Mode Control Without Input Voltage Feed Forward
For Buck converter and Buck-Boost converter, the input voltage appears in the denominator of the duty cycle calculation in the parallel current mode control. This input voltage feedforward will improve the dynamic performance. At the time, this also requires a divider in the implementation.
In some cases, where the input voltage does not change quickly, or the dynamic performance for input voltage variation is not critical, the input voltage feedforward is not needed. In these cases, the divider is not needed and a gain block can be used. This will simplify the implementation circuit.
Take the Buck-Boost converter under parallel current mode control as an example. Equations (6.1), (7.1), and (8.1) are the control algorithm. When no input voltage feed forward is needed, the term Vin(n) can be replaced by a constant voltage. One value of the constant can be the nominal input voltage, Vin—nom. Therefore, the parallel current mode control algorithms for Buck-Boost converter without input voltage feed forward can be derived as:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            K
            V
          
          ·
          
            [
            
              
                
                  duty_V
                  buck_boost
                
                ⁢
                
                  (
                  V
                  )
                
              
              +
              
                
                  duty_V
                  buck_boost
                
                ⁢
                
                  (
                  I
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        28
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            V
            )
          
        
        =
        
          V
          ref
        
      
    
    
      
        (
        29
        )
      
    
  
  
    
      
        
          
            duty_V
            buck_boost
          
          ⁢
          
            (
            I
            )
          
        
        =
        
          
            L
            
              T
              s
            
          
          ·
          
            [
            
              
                
                  i
                  ref
                
                ⁡
                
                  (
                  
                    n
                    +
                    1
                  
                  )
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        30
        )
      
    
  
  
    
      
        
          K
          V
        
        =
        
          1
          
            
              V
              in_noms
            
            +
            
              V
              ref
            
          
        
      
    
    
      
        (
        31
        )
      
    
  




The parallel current mode control for Buck and other DC-DC converter without input voltage feed forward can also be derived by similar method described above.
3. Parallel Current Mode Control for Power Factor Correction Application
In an AC-DC converter, Power Factor Correction (PFC) is needed in order to meet regulations, such as IEC-1000-3-2 and IEEE-519. In this case, the input ac current is forced to be a sinusoidal wave shape in the same phase with the input voltage. Two terms are used to evaluate how close the ac current is to the ideal sinusoidal. One is defined as Power Factor (PF). The other is defined as Total Harmonic Distortion (THD). When the input current is a pure sinusoidal and in the same phase with the input voltage, the PF is one (1) and THD is zero (0).
3.1. Control Algorithm for Boost Converter to Achieve PFC
Boost converter has been used extensively for power factor correction. The parallel current mode control can be used to control the Boost converter to achieve high power factor with significant advantages over the existing technologies.
Equations (14), (15), and (16), describe the parallel current mode control for DC-DC Boost converter. In order to achieve power factor correction, the reference current, as shown in equation (16), should be a rectified sinusoidal waveform. This means the reference current should be:

iref(n+1)=IPK*|sin(ωline·t(n+1))|  (32)

In the above equation, IPK is the peak value of the sinusoidal waveform. IPK is obtained from the output of the output voltage error amplifier. ωline is the angular frequency of the line current. |sin(ωlinet(n+1))| is the rectified line frequency sinusoidal waveform. Substituting equation (32) to equation (16), the parallel current mode control algorithm for Boost topology using in AC-DC converter to achieve power factor correction can be derived as the following equations:




  
    
      
        
          d
          ⁡
          
            (
            n
            )
          
        
        =
        
          
            
              duty
              boost
            
            ⁡
            
              (
              V
              )
            
          
          +
          
            
              duty
              boost
            
            ⁡
            
              (
              I
              )
            
          
        
      
    
    
      
        (
        33
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            
              V
              ref
            
            -
            
              
                V
                in
              
              ⁡
              
                (
                n
                )
              
            
          
          
            V
            ref
          
        
      
    
    
      
        (
        34
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              
                T
                s
              
              ·
              
                V
                ref
              
            
          
          ·
          
            [
            
              
                
                  I
                  PK
                
                ·
                
                  
                  
                    sin
                    ⁡
                    
                      (
                      
                        
                          ω
                          line
                        
                        ·
                        
                          t
                          ⁡
                          
                            (
                            
                              n
                              +
                              1
                            
                            )
                          
                        
                      
                      )
                    
                  
                  
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  n
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        35
        )
      
    
  




where, different from the parallel current mode control algorithm for Boost converter in DC-DC application, Vin(n) in equation (34) is the rectified ac line voltage in AC-DC application with power factor correction.

3.2. Digital Implementation of PFC

FIG. 10 shows the block diagram of parallel current mode control for power factor correction using Boost converter. It is developed based on the block shown in FIG. 8. Following is a list of the difference between FIG. 10 and FIG. 8.

    (1) The dc input voltage in FIG. 8 is replaced by the ac input voltage and the diode bridge (D1, D2, D3, and D4).
    (2) Three blocks, zero crossing detector, current waveform lookup table and multiplier are added.
    (3) The output of the voltage error amplifier is connected to one input of the multiplier as lpk in equation (32). Another input of the multiplier is from the current waveform lookup table as |sin(ωlinet(n+1))| in equation (32)
    (4) The output of the multiplier is connected to the positive input of adder 2 as the reference current iref(n+1) in equation (32).


The functions of all the other parts are same for FIG. 10 and FIG. 8.
The current waveform lookup table can store the sinusoidal waveform. The zero cross detector and current waveform lookup table are used to generate a rectified sinusoidal waveform with unity peak value. The output of the current waveform lookup table is multiplied together with the output of the voltage error amplifier, IPK. The output of the multiplier is a rectified sinusoidal waveform with peak value determined by the output of the error amplifier, IPK, and the wave shape decided by the current waveform lookup table. It serves as the reference value for the inductor current. The operation of the other parts of the controller is the same as that in FIG. 8.
The following points should be emphasized:

    (1) Sinusoidal waveform lookup table is used to generate a rectified sine wave to determine the wave shape of the reference current. The significant advantage of doing so is that the input ac current can be maintained as sinusoidal even when the input voltage has significant distortion. For example, experimental results have demonstrated that when the input ac voltage is a peak clamped sinusoidal waveform, the input current can still maintain sinusoidal shape.
    (2) The current waveform lookup table can also store any arbitrary waveform which can be used in order to force the input ac current follow to that waveform. For example, when a trapezoidal waveform is stored in the current waveform lookup table, the inductor current will be a one-directional trapezoidal waveform, and the input ac current will be bi-directional trapezoidal waveform. The input voltage can still be sinusoidal. One advantage of this arrangement is that the transient response performance under load current change can be improved because more energy can be taken from the source.
    (3) A lookup table is but one way to generate the required waveform. Calculation methods can also be used to generate the required waveform for inductor current, and the current waveform lookup table can be replaced by a calculation block.


A simplified way can be used to implement AC-DC converter with power factor correction using Boost converter based on parallel current mode control. In this simplified implementation, the zero crossing detection block and the current waveform lookup table block in FIG. 10 are removed. The digitalized input voltage is fed directly to the multiplier. This can simplify the hardware implementation. The sacrifice is that the THD of the input ac current will depend on the THD of the input ac voltage.
3.2.1. Skipping Inductor Current Sampling
In the above discussion, it is implied that the inductor current is sampled every switching period. It is also feasible that the inductor current be sampled once in every few switching periods. For the switching period when the inductor current is sampled, the actual inductor current is used to calculate the duty cycle. For the switching period when the actual inductor current is not sampled, the estimated inductor current is used to calculate the duty cycle. This is called skipping inductor current sampling.
One advantage of skipping inductor current sampling is reduced sampling requirement. This is especially true when multiphase Boost converter is used for power factor correction. Preliminary test results show that the inductor current skipping can be as high as 16 switching periods. In other words, the THD can still be maintained at very low level when the inductor current is sensed once in every 16 switching period. This is especially good for DSP (Digital Signal Processor) of the proposed control method.
3.3. Analog Implementation
The parallel current mode control for Boost converter can also be implemented by analog circuits. The analog control algorithm for Boost converter can be derived from equations (33), (34) an (35) as following:




  
    
      
        
          d
          ⁡
          
            (
            t
            )
          
        
        =
        
          
            
              duty
              boost
            
            ⁡
            
              (
              V
              )
            
          
          +
          
            
              duty
              boost
            
            ⁡
            
              (
              I
              )
            
          
        
      
    
    
      
        (
        36
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            V
            )
          
        
        =
        
          
            
              V
              ref
            
            -
            
              
                V
                in
              
              ⁡
              
                (
                t
                )
              
            
          
          
            V
            ref
          
        
      
    
    
      
        (
        37
        )
      
    
  
  
    
      
        
          
            duty
            boost
          
          ⁡
          
            (
            I
            )
          
        
        =
        
          
            L
            
              
                T
                s
              
              ·
              
                V
                ref
              
            
          
          ·
          
            [
            
              
                
                  I
                  PK
                
                ·
                
                  
                  
                    sin
                    ⁡
                    
                      (
                      
                        
                          ω
                          line
                        
                        ·
                        t
                      
                      )
                    
                  
                  
                
              
              -
              
                
                  i
                  L
                
                ⁡
                
                  (
                  t
                  )
                
              
            
            ]
          
        
      
    
    
      
        (
        38
        )
      
    
  




FIG. 11 shows the block diagram of analog implementation of parallel current mode control for PFC using Boost converter. It is developed based on the block shown in FIG. 9. Following is a list of the difference between FIG. 11 and FIG. 9.

    (1) The dc input voltage in FIG. 9 is replaced by the ac input voltage and the diode bridge (D1, D2, D3, and D4).
    (2) Three blocks, zero crossing detector, oscillator, and multiplier are added.
    (3) The output of the OpAmp6 is connected to one input of the multiplier as Ipk in equation (38). Another input of the multiplier is from the oscillator as |sin(ωlinet)| in equation (38)
    (4) The output of the multiplier is connected to the positive input of OpAmp4 as the reference current.


The functions of all the other parts are same for FIG. 11 and FIG. 9.
The oscillator can generate rectified sinusoidal waveform. The zero cross detector and oscillator are used to generate a rectified sinusoidal waveform with unity peak value. The oscillator is multiplied together with the output of the OpAmp5 (voltage error amplifier), IPK. The output of the multiplier is a rectified sinusoidal waveform with peak value determined by the output of OpAmp5, IPK, and the wave shape decided by the oscillator. It serves as the reference value for the inductor current. The operation of the other parts of the controller is the same as that in FIG. 9.
The following points should be emphasized:

    (1) An oscillator is used to generate a rectified sine wave to determine the wave shape of the reference current. The significant advantage of doing so is that the input ac current can be maintained as sinusoidal even when the input voltage has significant distortion.
    (2) An oscillator can also generate other waveform shape which can be used in order to force the input ac current to that waveform. For example, when the oscillator generates a trapezoidal waveform, the inductor current will be a one-directional trapezoidal waveform, and the input ac current will be bidirectional trapezoidal waveform. The input voltage can still be sinusoidal. One advantage of this arrangement is that the transient response performance under load current change can be improved because more energy can be taken from the source.


The zero crossing detector and the oscillator can be replaced by an Automatic Gain Control (AGC), as shown in FIG. 12. AGC is used to generate a rectified sinusoidal waveform with fixed peak value. With this arrangement, the harmonic component in ac voltage waveform will also introduce harmonic component in ac current.
FIG. 12 can be further simplified by replacing AGC with a gain block, as shown in FIG. 13. The gain block can be implemented by a resistor divider. With this implementation, the input voltage is scaled down and fed directly into the multiplier. This will simplify the hardware implementation circuit. The drawback is that the output voltage will be more sensitive to input voltage change.

## Claims

1. A method for controlling an AC-DC power supply converter with a Boost topology, the AC-DC power supply converter comprising a rectifier for converting an AC voltage to an input DC voltage, an inductor coupled to the input DC voltage, and a switch controlling an inductor current through the inductor to generate an output DC voltage across a load, the method comprising:
(a) determining a first term in a first switching period at least based upon a voltage difference between a reference output voltage and the input DC voltage in the first switching period, and the reference output voltage;
(b) determining a second term in the first switching period at least based upon a current difference between a predetermined reference input current for a second switching period subsequent to the first switching period and an actual inductor current of the inductor sampled in the first switching period, and the reference output voltage, the second term being determined in parallel with the first term; and
c) determining a duty cycle of the switch for the first switching period by at least adding the first term determined in the first switching period to the second term determined in the first switching period.

2. The method as claimed in claim 1, wherein the first term comprises




  
    
      
        V
        ref
      
      -
      
        
          V
          in
        
        ⁡
        
          (
          n
          )
        
      
    
    
      V
      ref
    
  
  ,




and the second term comprises




  
    
      L
      
        T
        s
      
    
    ⁢
    
      
        
          
            i
            ref
          
          ⁡
          
            (
            
              n
              +
              1
            
            )
          
        
        -
        
          
            i
            L
          
          ⁡
          
            (
            n
            )
          
        
      
      
        V
        ref
      
    
  
  ,




where Vref is the reference output voltage, Vin(n) is the input DC voltage in the first switching period, L is an inductance of the inductor, Ts is a switching period, iref(n+1) is the predetermined reference input current for the second switching period, and iL(n) is the actual inductor current sampled in the first switching period.

3. The method as claimed in claim 1, wherein said reference input current has a rectified sinusoidal waveform and is in phase with the input DC voltage.

4. The method as claimed in claim 1, wherein said reference input current is derived from a current waveform lookup table storing values corresponding to a wave shape of the reference input current.

5. The method as claimed in claim 1, wherein said reference input current is derived directly from the input DC voltage.

6. The method as claimed in claim 1, wherein said reference input current is derived by calculation.

7. The method as claimed in claim 3, wherein said rectified sinusoidal waveform is derived from an oscillator.

8. The method as claimed in claim 3 wherein said rectified sinusoidal waveform is derived from an automatic gain controller that generates the rectified sinusoidal waveform from said input DC voltage.

9. The method as claimed in claim 3 wherein said rectified sinusoidal current waveform is derived from a gain block with input from said input DC voltage.