IET Power Electronics - 2019 - Nair - Simple digital algorithm for improved performance in a boost PFC converter operating
IET Power Electronics - 2019 - Nair - Simple digital algorithm for improved performance in a boost PFC converter operating
Research Article
Abstract: In power factor correction (PFC) converters, achieving both good steady-state input current waveform and fast output
dynamic response is a challenge. This is due to the effect of the double-line frequency ripple present in the sensed output
voltage signal which tends to distort the reference current applied to the current controller, thus leading to a distorted input
current waveform. Low bandwidth (BW) voltage loop designs to reduce this input current distortion make the output dynamic
response very sluggish. A digital control algorithm for the estimation of the average value of the sensed output voltage is
proposed in this study to achieve low total harmonic distortion input current and fast dynamic response with a higher BW voltage
loop. The proposed algorithm is computationally less intensive and requires no additional sensors or circuitry. The effectiveness
of the proposed control algorithm is validated through simulation and experimental tests on a 300 W boost PFC converter
prototype operating in continuous conduction mode.
The Bode plots of the uncompensated current loop transfer 3 Proposed algorithm
function T uc(s), current controller Gcc(s) and compensated current
loop transfer function T cc(s) are given in Fig. 2a. In this section, the proposed algorithm for estimation of the
average of the sensed output voltage is derived and its performance
The Bode plots of the uncompensated voltage loop transfer
is verified with simulation results. A boost PFC converter
function T uv(s), voltage controller Gcv(s), and compensated voltage
operating in CCM is considered. The proposed algorithm is
loop transfer function T cv(s) are given in Figs. 2b and c for the implemented in the ‘V o avgEstimation’ block before the
designed voltage controllers for case (a) and case (b), respectively. computation of the output voltage error as shown in Fig. 5. The
The steady state and dynamic performance with the quantities ii(t), vi(t) and vo(t) are sampled once every switching
conventional control for case (a) and case (b) are analysed with
frequency as usual, to obtain the signals ii[n], vi[n] and vo[n]. The
help of simulation results. The output of voltage controller with
higher BW, i.e. case (b) depicts a higher magnitude 100 Hz ripple output voltage waveform vo(t) with the double-line frequency
compared to case (a) as shown in Fig. 3. The impact of the same on ripple is illustrated in Fig. 6.
the steady-state input current and dynamic performance is observed The following assumptions are made for further discussions:
for case (a) and case (b) in Fig. 4. The voltage loop with higher
BW (case (b)) gives a good dynamic performance with a distorted i. The current loop controller (linear controller, predictive or
input current, whereas a voltage loop with low BW gives a low non-linear controller) is designed suitably to make the inductor
THD input current but a poor dynamic performance as shown in current accurately track the reference current.
Table 2. ii. It is further assumed that, as a consequence of the previous
The distortion in the input current in case (b) with conventional assumption, the input current ii(t) is sinusoidal and in phase
control is caused due to the very presence of 100 Hz component in with the sinusoidal input voltage vi(t).
the output voltage. This is because the double-line frequency
Fig. 2 Bode plots for the boost PFC converter for average current control (T uc(s): uncompensated current loop gain, Gcc(s): current controller transfer
function, T cc(s): compensated current loop gain, T uv(s): uncompensated voltage loop gain, Gcv(s): voltage controller transfer function, T cv(s): compensated
voltage loop gain)
(a) 5 kHz BW current loop, (b) 5 Hz BW voltage loop, (c) 30 Hz BW voltage loop
a1 + a2 + a3 + a4
V o avgta4 = (2)
4
Fig. 4 Simulation results for a boost PFC converter at 230 V input with conventional average current control
(a) Steady-state performance at 5 Hz voltage loop BW, (b) Output dynamic performance for 50% step load change at 5 Hz voltage loop BW, (c) Steady-state performance at 30 Hz
voltage loop BW, (d) Output dynamic performance for 50% step load change at 30 Hz voltage loop BW
V o avgtak = V o avgtak − 1 − ak − N + ak, for all k (i) Accurate average estimation in steady state is to be ensured by
(7)
the algorithm.
(ii) Zero steady-state error after a transient.
The average computation by (7) in the proposed algorithm is valid
(iii) Less computationally intensive.
during the steady-state operation of the converter. The average
computation involves one division operation in the beginning and
Equation (7) satisfies conditions (i) and (iii) of above. Equation
one addition and subtraction operations at each computation
(7) is modified by computing the N point average at the end of
instants thereafter. The algorithm is computationally less intensive.
every double-line frequency cycle and also this value is used for
The robustness of (7) is verified for transient conditions such as
updating the average at each of the computation instants in the next
a sudden load change or any disturbance input by applying a step
double-line frequency cycle. The modification in the proposed
signal as the input to the algorithm with N = 4. The output of the
algorithm is explained below.
algorithm with such an input signal is shown in Fig. 7.
As explained previously, N points are taken in one double-line
It is seen that (7) responds to the step change in the very next
frequency cycle. This is illustrated in Fig. 8. Let the samples at the
computation instant after the step change has occurred. However,
computation instants be named as a11, a12, a13, a14 for the first cycle
the output settles to a wrong value after the step change. The
algorithm given by (7) is modified to satisfy the following and a21, a22, a23, a24 for the second cycle, and similarly for the
conditions: subsequent cycles. At the instant ta14
For the next cycle, V o avga24 is used for the computing and updating
the average at each computation instants using the following
equations:
V o avgta33 = V o avgta24 − a23 + a33 (15) Fig. 9 Response of (18) for a step input signal with N = 4
a31 + a32 + a33 + a34 100 Hz cycle, there could be non-sinusoidal output voltage ripple,
V o avgta34 = (16) but the proposed algorithm is self-balancing and hence, within
4
typically two-three ripple frequency cycles, assumption 2 holds
The generalised equation for the average output voltage at the good.
kth point in the mth 100 Hz cycle is given by (17) and (18). The simulations are carried out for a boost PFC converter using
For the first cycle the average current control with the proposed algorithm (18)
enabled. Fig. 10 shows the simulated input current and output
V o avgta1k = vo(ta1, k), for 1 ≤ k ≤ (N − 1) voltage waveforms for a 50% step load change at 230 V AC input,
400 V DC output with 30 Hz BW for N = 4 and N = 16. The PI
N (17) controller parameters used for evaluating the converter
∑i = 1 a1i
V o avgta1k = , for k = N, n = 1 performance with the proposed algorithm are same as case (b) as
N
given in Table 1. It is seen that distortion in the input current at
For the subsequent cycles steady state is minimised compared to the conventional control.
This is evident from the input current THD values given in Table 4
V o avgtamk = V o avgta(m − 1)N − a(m − 1)k + amk, for 1 ≤ k ≤ (N − 1) with 12.03% for conventional control and <2.5% for proposed
control. The time required by the output voltage to reach steady
N (18) state after a transient is found to be higher for lower values of N. At
∑i = 1 ami
V o avgtamk = , for k = N lower values of N, higher input current distortion during transients
N
is observed. This could be attributed to the delay in response by the
algorithm and large changes in the output of the algorithm with low
To verify the robustness of (18), a step signal is applied as input to
N values. It is observed that THD does not significantly vary with
the algorithm in simulation as shown in Fig. 9. The output responds
the choice of N.
to the input within a time delay of 1/2 f LN seconds. It is observed
that, the output signal exhibits an oscillatory response and settles
3.2 Choice of number of points N
within the end of the next double-line frequency cycle with a zero
steady-state error since the input step change occurs in the middle It is detailed in the previous subsection that the modified algorithm
of the 1/2 f L period in this case. If the step change in input occurs given by (18) gives low THD input current waveforms and fast
within 1/2 f LN seconds from the beginning of the mth cycle, then dynamic performance. In each double-line frequency cycle, N
there will be no oscillatory response at the output. Since the points (computation instants) are taken for computation of the
algorithm is employed in PFC converters, the input signal to the average value of output voltage. The choice of the appropriate
algorithm changes at a much slower rate compared to a step signal value of N is important for the effectiveness of the proposed
and hence, the algorithm operation is not degraded. algorithm.
The N point average of the samples obtained at the computation The proposed algorithm is derived assuming symmetric output
instants in each double-line frequency cycle need not be computed voltage ripple. Therefore, only symmetrically computation instants
at the end of each cycle, rather, it is sufficient to compute once in need to be considered. Hence, this places a constraint that N must
few cycles using the points sampled at the computation instants in be an even number. Since the double-line frequency ripple cycle is
that latest double-line frequency cycle. Equation (18) is divided into N equal spaced segments, the duration of each of these
computationally simple and the algorithm is evaluated N times in segments should not be a recurring decimal. From the simulation
each double-line frequency cycle. results, it is noted that during transients, there is distortion in the
Assumption 2 made initially is valid provided the ripple from input current waveform immediately after the load change for
the output voltage entering into the feedback loop is a symmetrical lower values of N. This is because the computation of average
waveform. This is ensured by the proposed algorithm. For the first voltage is performed N times in a double-line frequency cycle.
Table 4 Input current THD from simulation results (at 230 V input, full load, 30 Hz BW)
Control method THD, %
conventional average current control 12.03
average current control with the proposed algorithm, N = 4 2.22
average current control with the proposed algorithm, N = 8 2.22
average current control with the proposed algorithm, N = 16 2.22
Hence, if N is low, the computed average value vo est[n] changes conventional control. The experimentally obtained results are
less number of times (N times) and each change in vo est[n] is large summarised in Table 5.
during transients. This causes sudden and larger changes in iref [n]
which distort the input current waveform. Therefore, a higher value 4.1 Conventional average current control
of N is preferred. The designed 300 W PFC boost converter prototype shown in
The criteria for choice of N is summarised below: Fig. 11 is operated with conventional control and the results are
presented in this subsection. The steady-state waveforms when the
i. N is an even number. N = 2p, where p = 1, 2, 3, …. converter is operated at 230 V input, full load condition with case
ii. 1/2 f LN is a non-recurring decimal. (a) 5 Hz voltage loop BW and case (b) 30 Hz voltage loop BW
iii. Higher N preferred for better input current waveform during using conventional control is shown in Figs. 12a and c. The
transients. dynamic performance when the converter is subjected to a 50%
load increase with case (a) and case (b) using conventional control
For f L = 50 Hz, the possible values of N are 4, 8, 10, 16, 20 etc. at 230 V input is given in Figs. 12b and d.
N = 16 is a reasonable choice considering the input current quality It is observed from Figs. 12a and b that, at 5 Hz BW, the input
during transients and typical processor memory requirements for current distortion is low at <5%, however, the dynamic
hardware implementation. The proposed algorithm is implemented performance is poor with settling time of about 213 ms. With a
on a 300 W boost PFC converter and the experimental results are higher voltage loop BW, the output dynamic response (Fig. 12d) is
presented in the next section. much faster with settling time of ∼46 ms. The input current
distortion is higher with 12.40% THD (Fig. 12c) due to the
presence of the third harmonic component in the input current as a
4 Experimental results and discussion
result of the higher voltage loop BW. To achieve the improved
In this section, the proposed algorithm for average output voltage steady-state input current waveforms and good dynamic
estimation is validated by experimental results obtained from the performance, the proposed algorithm is employed. The
300 W boost PFC converter prototype shown in Fig. 11 and the experimental results with the proposed algorithm are presented in
performance is compared with the conventional average current the next subsection.
control. The specifications of the experimental prototype are the
same as that given in Table 1. For a digital implementation, the 4.2 Average current control with the proposed algorithm
Texas Instruments TMS320F28335 DSP, which has a system clock
of 150 MHz is used. The dynamic response under a step load The 100 Hz component in vo(t) leads to distorted input current in
change and the steady-state figures of merit such as THD and case (b) design with conventional control. The designed 300 W
power factor at the salient operating conditions are experimentally boost PFC converter prototype shown in Fig. 11 is operated with
obtained with the proposed algorithm (given by (18)) and the proposed algorithm given by (18) enabled in the voltage loop
for eliminating the effect of double-line frequency ripple 4.2.2 Dynamic performance: The dynamic performance of the
component in the voltage loop. The experimental results with converter operated with the proposed algorithm is given in Fig. 15
average output voltage estimation using the proposed algorithm is for various values of N at 30 Hz BW when the converter is
presented in this subsection for analysing the converter subjected to a 50% load change at 230 V input.
performance in steady state, dynamic conditions and under wide The time required by vo(t) to settle to its final steady-state value
operating conditions. is ∼50 ms for N = 4, about 48 ms for N = 8 and 46.6 ms for N = 16,
respectively. For N = 4, the input current during transients has a
4.2.1 Steady-state performance at nominal condition: The sudden jump as indicated in Fig. 15a. This is due to large changes
experimental results at steady state for the boost PFC converter in the estimated value of average output voltage when there are few
operated with the average current mode control along with the computation instants in the proposed algorithm. It is observed as
proposed algorithm at 30 Hz BW with 230 V input and full load for the value of N increases, distortion in ii(t) during the transient
N = 4, N = 8 and N = 16 are given in Figs. 13a–c, respectively. period decreases. A large N implies that the change in sensed
The harmonic spectrum of the input current obtained by employing voltage seen by the algorithm at each computation instant is small
conventional average current control and the average current and hence, there is a smooth variation in the algorithm output. For
control with the proposed algorithm at 230 V input and full load is N = 8 and N = 16, ii(t) waveform during the transient duration is
shown in Fig. 14. improved compared to N = 4 condition as shown in Fig. 15.
The input current THD obtained with the proposed algorithm is
much lower compared to that obtained from the conventional 4.2.3 Performance under wide operating conditions: The
control and is at 2.79% for N = 16. There is a slight improvement performance analysis is presented for wide input voltage variation,
in the input current THD as the value N increases (Fig. 13). A load variation and also for voltage control loop designed for
lower input current THD achieved proves that the proposed various BWs.
algorithm is effective in eliminating the double-line frequency The steady-state converter waveforms with the proposed
component from the sensed output voltage signal by average algorithm under wide input voltage range are verified with an input
estimation. It is seen from Fig. 14 that the third harmonic content voltage of 90 and 260 V at full load as shown in Figs. 16a and b,
in the input current is 22 mA with the proposed algorithm and is respectively. The variation in input current THD for variation in
about 85% lower compared to 156 mA obtained with the input voltage is given in Fig. 17a at full load condition. The input
conventional control. current THD obtained by employing the proposed algorithm is
lower for 5 Hz BW, as well as for 30 Hz voltage loop BW
Fig. 14 Experimentally obtained input current harmonic spectrum of a boost PFC converter at 230 V input, full load, 30 Hz BW with
(a) Conventional control, (b) Proposed algorithm
Fig. 15 Experimental results (scale – CH1 (vi(t)): 200 V/div, CH2 (ii(t)): 3 A/div, CH3 (io(t)): 500 mA/div, CH4 (vo(t)): 50 V/div, time 20 ms/div) for boost
PFC converter at 230 V input with 50% step load change with the proposed algorithm for
(a) N = 4, (b) N = 8, (c) N = 16
Fig. 16 Experimental results (scale – CH1 (vi(t)): (a) 200 V/div, (b) 150 V/div, CH2 (ii(t)): (a) 3 A/div, (b) 1.5 A/div, CH3 (io(t)): (a) 500 mA/div, (b) 1 A/div,
CH4 (vo(t)): 50 V/div, time 10 ms/div) for boost PFC converter with the proposed algorithm for N = 16, at full load, 30 Hz BW and
(a) 90 V input, (b) 260 V input
Fig. 19 Proposed algorithm flow at the kth timer interrupt in the mth
Fig. 18 Experimental results (scale – CH1 (vi(t)): 150 V/div, CH2 (ii(t)): double-line frequency cycle (for m > 1)
1.5 A/div, CH3 (enable signal): 5 V/div, CH4 (vo(t)): 50 V/div, time 20 ms/
div) showing effect of the proposed algorithm (N = 16) on converter distortion in the input current with higher voltage loop BW
performance for boost PFC converter at 230 V, full load condition, 30 Hz designs.
BW The performance of the proposed algorithm is validated with
(a) With 360 μF capacitance, (b) With 180 µF capacitance simulation and experimental results. A 300 W PFC boost converter
prototype is tested with the conventional average current control
causes the converter to give a poor dynamic performance. and average current control with the proposed algorithm activated.
Achieving low steady-state input current THD and good dynamic The steady-state input current THD is significantly lower at higher
performance is a challenge. In this paper, a less computation BWs with the proposed control as compared to the conventional
intensive, a digital algorithm for estimating the average value of control designed for the same BW. Improved steady-state and
the sensed output voltage is proposed and presented with detailed dynamic performance is obtained for wide variations in line
analysis and results. The equations governing the proposed voltage, load and voltage loop BW designs.
algorithm are derived and the criteria for choosing the number of
computation instants in each double-line frequency cycle is
explained. The estimation of the average value of the sensed output
voltage eliminates the effect of the double-line frequency
component in the feedback loop, thereby achieving reduced