You are on page 1of 6

2004 351h A n n u l IEEE Power Electronics Specialists Conference Aachen.

Germany, 2004

Closed-Loop SPWM Control for Grid-Connected Buck-Boost Inverters

Yaosuo Xue and Liuchen Chang, IEEE Senior Member


Department of Electrical and Computer Engineering
University ofNew Brunswick
PO Box 4400, D36 Head Hall, 15 Dineen Drive
Fredericton, NB, Canada E3B 5A3
Email: LChang@unb.ca

single-stage buck-boost inverter, the output current usually


Abslracf-DC input voltage of inverters fluctuates cannot be directly controlled and these methods introduce
dramatically in distributed generation applications such as in a lower-order harmonics in the output current.
wind energy system. Yet, a high quality ac output is required
for grid interconnection under variable source conditions. Variable structure control [ 151 was introduced and
Previously developed control strategies mainly focused on applied to power electronics [I61 with the strengths of large-
improvements under load variations, a de input ol’ relatively signal stability and robustness. Although this method is
small ripples, etc. This paper proposed a closed-loop sinusoidal extremely useful for tracking problems, it is not popular due
PWM control method with real-time waveform feedback to its theoretical complexity and difficulty in finding a
techniques for a grid-connected buck-boost inverter. The satisfactory sliding surface [17]. Furthermore, sensing o f all
control-to-output function was derived through steady state
modeling based on the power balance condition, which state variables and generating of references [I81 adds to the
provides an approach when the output cannot easily he cost for a low power inverter system.
characterized in a single-stage buck-boost inverter. The closed- Single-stage buck-boost inverters can operate under wide
loop control model was studied with a newly-invented single- dc input voltage ranges and variations, thus presenting a
stage buck-boost inverter circuit. Simulations verified the
method provided fast dynamic response and robustness under low-cost solution for small wind energy distributed
large de voltage variations, non-ideal grid voltage, and generation systems. This paper is intended to establish a
component parametric uncertainties. The controlled inverter simple yet effective control method for such inverters
achieved a low-THD sinusoidal output with a small ac filter tolerant of large dc voltage fluctuations and ac grid
and without a dc link capacitor. Therefore, it is concluded that variations. Specifically, a new closed-loop sinusoidal PWM
the proposed method can he a preferred choice for grid- (SPWM) control method is proposed through the evolution
connected buck-boost inverters in distributed generation from open-loop, reference feedforward, to closed-loop
systems. control analyses. Advantages of this method are
demonstrated by simulation of a grid-connected single-stage
buck-boost inverter.
I. INTRODUCTION
11. CLOSEDLOOPSPWM CONTROL WITH REAL-TIME
Myriads of voltage- and current-mode strategies have WAVEFORMFEEDBACK
devoted to the control of inverters in power electronics. Of
those voltage control strategies, space vector modulation SPWM, as illustrated in Fig. I , is a carrier-based voltage
(SVM) was widely used in three-phase inverters. However, control method. As known in a SPWM inverter, the
it requires extensive calculations, thereby limiting the spectrum of harmonic frequencies in the output is shifted
bandwidth of control systems. Function approximation can towards the high frequency, and the lower-order harmonics
simplify the execution, but also reduces the accuracy. Some are reduced significantly. Thus, the output filter elements
improved SVM methods based on artificial neural networks can be quite smaller to attenuate only higher-order
[I] [2] can reduce computations while still retain accurate harmonics, which are carrier-frequency-related with
results. Random PWM [3] addresses the problems of modulating-frequency sidebands.
acoustic noise and radio interference. Optimal switching
pattern PWM methods [4] [5] were proposed to either Averaging method [19] [20] is widely used to analyze
reduce the output filter size or compensate for a non-ideal PWM switching power converters [21] [22] based on the
dc-link voltage. When large disturbances and uncertainties principles of inductor volt-second balance and capacitor
exist, these methods need to be combined with complicated charge (ampere-second) balance with % ( I ) and v,(t) being
model reference adaptive systems [6], H , loop-shaping [7], state variables. But this method is used for a limited class of
and fuzzy logic or neural network controllers [XI-[IO], to converters, mainly for dc-dc converters. Low frequency
track desired trajectories or reference models. describing method was proposed in [23] and applied to
analyze inverters [24]. Generalized describing function
Current control strategies, like hysteresis current control method was proposed in [25] by performing frequency
(HCC) [ I I]-[14], provide the tightest control of output analysis with complexity of derivations. For grid-connected
current in a traditional full-bridge inverter. However, for a

0-7803-8399-0/04/$20.0002004 IEEE. 3366


2004 351h Annual IEEE Power Elecrronics Specialisrs Conference Aachen. Germany. 2004

1
& i t =- (5)
r f,
ztSlI a I ,
nnnnn With a unity carrier signal ( A, = 1 ), the reference signal
lid I, !I I , I

d
gw; I' '
'' t is defined as:
4 r: I- -I&J- T D VT y,(t) = A, sin wf = M sin OT (6)
Fig. I . Sinusoidal pulsewidth modulation.
First, the maximum charging pulse width, qrn, can be
single-stage buck-boost inverters, the differential equations determined. Considering the where N is an even
of the Power circuits are usually at least 3 Or 4 orders, number, there will be only one maximum charging pulse at
higher than those of dc-dc converters and traditional the centre of each haif period, as shown in ~ i 1. F~~~
~ . the
inverters, thus it is hard to model the inverter with trigonometry, we have
aforementioned methods. A simple analytic method, based
on the input-output power balance condition, is proposed to 2
tga = -
characterize this class of inverters. 1s

A. Control-to-output funcfion, open-loop SP WM modeling Msin(---)=-


z7 WTrn Trn Trn
2 2 2 Iga=- ts
For a flyback buck-boost inverter, the typical input
current wave is a series of discontinuous charging triangular where a is the angle between the carrier wave and t-axis as
pulses as presented in Fig. 2, when S P W M switching shown in Fig. I .
function g is applied and the circuit is working in the
discontinuous-conduction-mode (DCM) operation with a Since A. >>Yo, sin(---) 4 r n i 1 , and
fixed switching frequency. 2 2
Trn it: Mt, (7)
Because tl = dt3, Eqs. 2,3, and 7 result in

d ( t ) = M sin 01 (8)
Secondly, the maximum peak point of the charging
Fig. 2. lnpul current of SPWM invener. current I, can be solved.
di
Considering that the switching frequency is much higher L-=V,
dl
than the modulating frequency, i.e. f,>>A,, we can define
the peak value of input current i,(t), charge time t,(f) , and VATm -
I Irn =--- (9)
charging duty cycle d(t) as the following: L LA
where L is the inductance of energy-storage component.
& ( I ) = I, sin wf (I) Finally, integrating i,(t) will yield the average value I , ,
t,(r) = Trnsin wf (2) Refer to Fig. 2 and perform the following integration:

(3)

where U = 2i&, f, is the output frequency, Irm, T,,, and


0, are the maximum peak charging current, maximum
charge time, and maximum charging duty cycle,
respectively. (Let x=wf and w T = 2 n )
In each half period, the number of carrier signal is
I.

4
For a large N, the switching period t.: is approximately
uniform and For a grid-connected inverter, applying the input-output

3367
2004 35Ih Annual IEEE Power Elecrronics Speciolirrs Conference Aochen, Gennany, 2004

power balance condition and combining Eqs. 9 and IO will


generate therms output current.

Fly 3 SPWLI with IbdionarJ &nnF.nsalor


Furthermore, with the charge time f l proportional to the (S2H?IIS a single-stage huck.bom mener.1
modulation index M, a maximum modulation index M,,
can be determined by the critical DCM condition in the The feedforward compensator takes D demanded current
switching cycle with maximum charging current, where as reference and derives the required modulation index
I, = T,, + T2m. Assume a constant output capacitor voltage either from a look-up table or a function approximation of
during the discharging interval, V, = &V ,then
M = [-]” subject to M-2
JjlV
V, + f i r
(15)

Also T2,,, = I, - qm= /,T -MI, = (I - M ) / , . C. Closed-loop SP WM control

Thus the maximum permissible modulation index. for A real-time waveform feedback closed-loop SPWM
given dc voltage and grid can be expressed as, control model is proposed in Fig. 4, where the dc voltage
fluctuation, grid voltage variation, and other constant
A V component uncertainties are modeled as disturbances. The
M,, =-
v,+ A V grid voltage variation contains lower-order harmonics; the
dc voltage fluctuates half-wave sinusoidally at 6 times of
As a result, the full control-to-output function is given by
output frequency when obtained from a three-phase bridge
rectifier; and the constant parametric uncertainties are
usually inherent in the buck-boost inverters. In this control
model, these disturbances are not measured and only the
Eq. 13 accounts for the effect of switching frequency on output current is sampled through a lowpass filter.
the output power within a valid frequency range, while
averaging methods cannot give this property. It also
specifies the maximum modulation index applying to the
inverter beyond which an overmodulation will cause
“current jump” problems where the desired energy cannot
be transferred to the output in some switching cycles.
In addition, the output current is demodulated from the
discharging current which has the same peak pulses as the Fig. 4. Closed-loop SPWM control block diagram.
charging current. Interest is taken in the ratio of output
current’s fundamental component, to the peak value of Both PI controller and PID controller have been
unfiltered output current, which can be computed as investigated. For a PI controller, there exists a tradeoff
follows. between the response time and overshoot. By introducing
the rate control of D controller, both overshoot and rise time
can be reduced together along with additional insensitivity
to grid variations. The PID controller with the form of Eq.
16 is designed or tuned to reject the aforementioned
disturbances.

B. Reference feedforward SP WM control C ( s )= K + Kf + K,s (16)


‘ T
A simple inverse feedforward compensator (FFC)
combined with SPWM as in Fig. 3 can be “good” enough to
reject the effect of dc voltage variations. Fed with a wide Ill. EXAMPLE:A SINGLE-STAGE BUCK-BOOS1
range of fluctuated dc voltage, FFC can automatically adjust INVERTER
the instantaneous modulation index to keep a desired output.
However, it does not compensate for the effect from a Fig. 5 illustrates the topology of a newly-developed
distorted grid voltage waveform. single-stage buck-boost inverter with 4 power switches [26].

3368
2004 35lk Annual IEEE Power Elecrronics Specialists Conference Ancken, Germany, 2004

It is composed of one energy charge loop ( T I , L I , and T,) feedfonvard control or closed-loop control, this coefficient
and two energy discharge loops (T,, Ll, C, Dj, and T, for the can be simply specified as - 1 and the reference wave will be
positive half cycle, T,, L1, D1,T1,and C for the negative half adjusted dynamically.
cycle). The energy-storage components, Ll and L2, are the
primary and secondary windings of a flyback transformer A . Referencefeedfirward SPWM control results
and have the identical inductances ( L ) and NmS.
Simulation waveforms with a feedforward compensator
are presented in Fig. 8, where the look-up table pre-
computed from Eq. 15 and linear interpolation are applied.
Although the dc input comes directly from rectified three-
phase generator without using a dc filter, a constant 1 kW
output power is obtained under the large variable dc-link.
The output THD is about 2% with a 9.6 kHz switching
frequency.
Vdc

Fig. 5. A single-stage buck-boost invener

With the switch gating signals generated by the SPWM


control scheme shown in Fig. 6 , the above-derived control-
to-output function is validated by the simulations of
different dc input voltage and modulation indexes, as
marked in Fig. 7.

0 00 0 02 0.W 0.08 0.06 0.10


Time ( 5 )

Fig. 8. Simulation waveforms of FFC-SPWM.

Fig. 6 . SPWM generator B. Closed-loop SP WM control results


Cantml-to-OutputCUM. of S P W M Conlml Closed-loop SPWM control with a PID controller (KP=
0.01, Kl = 333; KO = 5x10") was applied to reject the
constant unknown parametric uncertainty (LdL) and low
frequency sinusoidal disturbances, such as 3d, 5', and 7'-
order harmonics in the grid voltage and a 6 w 0 rectified sine
variation in the dc voltage. Fig. 9 illustrates the state space
block diagram for the example inverter. Fig. 10 shows the
simulation results, where the THD of output current is about
3 .A% and the output capacitor used is only 10 9.

iC

Oo 03 0.2 0.3 a.4 0.5 os 0.7 0.8 0.9 I


Modulation Index. M

Fig. 1.Control-to-output Curves of SPWM control.


(L=9.6 k M , L = 150 x I04H, V = 12011

The leakage inductance of flyback transformer can lead to


an asymmetric output waveform between each half cycle.
For the pure open-loop SPWM control, a constant
coefficient K (14 > 1) in SPWM generator has to be
specified to compensate this asymmetry. However, with Fig. 9. State space block diagram.

3369
2004 35th A n n u l IEEE Power Electronics Specialists Conference Aachen, Germany, 2004

Vdc

................

e@)
3.00
2.00
1 .oo
0.00
-1.oo
-2.00

15.00
...

0.00 0.05 0.10 0.15


Time (s)
Fig. IO. Simulation waveforms of closed-loop SPWM control

Simulation demonstrates that the closed-loop system has Computer simulation shows both current control methods
fast dynamic response and good tracking performance in the demonstrate similar results as in Fig. I I . Compared to
following cases: 1) The grid voltage contains 5 1 0 % 3”-, SPWM control, although the output current can be increased
5*-, orland 7*-0rder harmonics; 2) The dc-link voltage, as with regards to the peak value of unfiltered output current, it
obtained from a three-phase rectifier, contains large ripples is distorted with lower-order harmonics, even with a 3‘d-
and the dc link capacitor is completely eliminated; 3) The order harmonic compensation in the current reference.
high frequency flyback transformer contains certain
leakages. The PWM reference signal is automatically
adjusted to compensate output asymmetry dynamically
without pre-assigning a fixed compensation coefficient as in 10,OO .................. ,.. ........-.................
the open-loop control; 4) Output current setpoint suddenly
changes at any time. 5.00 .................. :.... ......-... .....-.........

0.00 ........ .:...... ...; ..........L.. ......;. ........


C. Current control results
-5.00 ......... :..... ____~______ ....:. .......:.. ......
For the purpose of comparison, current control methods
were also conducted with the proposed single-stage buck- -qo,oo ..........: ................. ..’ .........:.... . . .
boost inverter. For a current-mode controller, with the -15.00
magnitude limitation of the sampled inductor current by a 100.00 110.00 120.00 130.00 140.00 150
sinusoidal reference current and the detection of its zero Time (ms)
point, the circuit can be controlled to operate on the critical Fig. I I . Simulation waveform ofhysteresis current control
DCM mode, i.e. no idle time in each switching period.
(V,= 190V,IEy21A.
THD=6%)
In addition, hysteresis current control was also applied to
implement a continuous-conduction-mode (CCM)
IV. CONCLUSION
operation. The inductor current,
iL = + in, in the positive half cycle; A real-time waveform feedback closed-loop SPWM
control method is proposed, analyzed and simulated through
i, = - iT,, in the negative half cycle, a newly-invented single-stage buck-boost inverter. A simple
is controlled continuously within a specified envelope of a steady state modeling method is also proposed for the
reference signal by proper control logics. inverters where the output current is hard to characterize. It

3370
2004 35th A n n u l IEEE Power Electronics Speciolists Conference Aarhen, Germany. 2004

was shown that the proposed control method with a PID 1994.
[ I I] D. W. Cyma, “A novel control method to minimim distortion in ac
controller provided fast dynamic response, robustness and inverters,” IEEE Trans.Power Electron., vol. 12, pp. 862-866, Sept.
insensitivities to dc and ac variations as well as parametric 1997
uncertainties. The controlled inverter can achieve a high 1121 A. I. Maswood and M. A. Rahman, “Boosting the fundamental output
quality sinusoidal output with small ac filters and without dc voltage in delta modulated inverters,” IEEE Power Eng Rev., vol. 20.
pp. 51-53, Dec. 2000.
filters. Therefore, this control method is preferred for grid- 1131 K, M, Rahman, M, R, Khan, M, A, Choudhury, and M, A, Rahman,
connected buck-boost inverters, which regularly work under “Variable-band hysteresis cumnt controllers for PWM voltage-source
a wide range- of dc voltage - variations in small distributed inverters.” IEEE Tram. Power Electron., vol. 12. ..
DD. 964-970, Nov.
generation applications. 1997.
1141 M. Ohshima and E. Masada, “A single-phase PCS with a novel
wnstantly sampled current-regulated PWM scheme,” IEEE Tram
REFERENCES Power Electron., vol. 14, pp. 823-830, Sept. 1999.
(151 J. Y. Hung, W. Gao, and J. C. Hung, “Variable structure control: a
A. Bakhshai, G. Joas, and H. Jin, “Application of the Kohonen’s suwey,” IEEE Tram. I d . Electron., vol. 40, pp. 2-22, Feb. 1993.
competitive layer in the implementation of the space vector 1161 R. 0.Caceres and 1. Barbi, “A bwst dc-ac converter: analysis, design,
modulation,” Pror IEEE Elcct. Comput. Eng. Can. Coni and experimentation,”IEEE Tons. Power Electron., vol. 14, pp. 134-
(CCECE’97).SI. John’s, Canada, 1997, pp. 415-418. 141,Jan. 1999.
F. Blaabjerg, S. Freysson, H.-H. Hansen, and S. Hansen, “A new (171 Y.-Y. Tzou, R.-S. Ou, S.-L. Jun& and M.-Y. Chang, “High-
optimized space-vector modulation strategy for a companent- performance programmable ac power source with low harmonic
minimized voltage source inverler;’ IEEE Trans. Power Electron., distortion using DSP-based repetitive control technique,” IEEE Tram.
vol. 12, pp. 704-714, July 1997. Power Electmn., vol. 12, pp. 715-725, July 1997.
S. Y. R. Hui, S. Sathiakumar, and K.-K. Sung “Navel random PWM 1181 P. Manavelli, L. Rosseno, and G. Spiazzi, ”Small-signal analysis of
schemes with weighted switching decision,” IEEE Tram. Power dc-dc converters with sliding mode control,” IEEE Trans. Power
Electron., vol. 12, pp. 945-952,Nov. 1997. Electron., vol. 12, pp. 96-102, Jan. 1997.
M. Pande, G. Jws, and H. Jin, “Output voltage integral contml [I91 S. R. Sanders, J. M. Noworolski, X. 2. Liu, and G. C. Verghese,
technique for compensating nonideal dc buses in voltage source “Generalized averaging method for power conversion circuits: 1EEE
inverters,” E E E Trons. Power Electron.. vol. 12, pp. 302-310, Mar. Tram. Power Electron., vol. 6, pp. 251-259, Apr. 1991
1997. 1201 1. Sun, D. M. Mitchell, M. F. Greuel, P. T. Krein, and R. M. Basis,
A. M. Trzynadlowski and S. Legowski, “Application of neural “Averaged modeling of PWM wnverters operating in discontinuous
networks to the optimal control of three-phase voltagewntrolled conduction mode,” IEEE Trans. Power Electron., vol. 16, pp. 482-
inverters,” IEEE Trans.Power Electron., vol. 9, pp. 397-404, July 492, July 2001
1994. 1211 Y.-F. Liu and P. C. Sen, large-signal modeling ofhysteretic current-
G. Jws, P. D. Ziogas, and D. Vincenti, “A model reference adaptive programmed converters,” IEEE Tram Power Electron., vol. I I, pp.
PWM Technique,” IEEE Trans. Power Electron., vol. 5 , pp. 485-494, 423430, May 1996.
Oct. 1990. [22] F. Guinjoan, J. Calvente, A. Poveda, and L. Martinez, “Large-signal
T:S. Lee, S:J. Chiang, and J:M. Chang, “ H , loop-shaping modeling and simulation of switching d c d c converters,” IEEE Tram.
controller designs far the single-phase UPS inverters,” IEEE Trans. Power Electron., vol. 12, pp. 485-494, May 1997.
(231 K. D. T. Nga, “Low frequency characterization of PWM converters,”
Power Electron., vol. 16, pp. 473-481, July 2001.
P. 1. Werbas. “Neumwntrol and elastic fuzzy logic: capabilities, IEEE Trons. Power Electron., vol. PE-I,pp. 223-229, Oct. 1986.
concepts, and applications,’’ IEEE Trons. lnd. Electron.. vol. 40. pp. (241 R.-S. Lai and K. D. T. Ngo, “A PWM method for reduction of
170-180. Apr. 1993. switching loss in a full-bridge inverter,” IEEE Tram. Power
Electron., vol. IO, pp. 326-332, May 1995.
X. Sun, M. H. L. Chow, F. H. F. Leung, D. Xu, Y. Wang, and Y:S.
Lee, “Analogue implementation of a ieural network cintraller for 1251 R. Tymenki, “Frequency analysis of time-intervalmodulated
UPS inverter applications,” IEEE Tram. Power Electmn., vol. 17, pp. switched networks,” IEEE Trans. Power Electron., vol. 6, pp. 287-
305-313, May 2002. 295,Apr. 1991.
1261 Y. Xue, ‘‘Analysis, simulation, and test of a novel buck-boost
1101 A. M. Trzynadlowski and S. Legowski, “Application of neural
networks to the optimal control of three-phase voltage-controlled inverter,” M.S. thesis, Dept. Elect. & Comp. Eng., University o f New
inverters,” IEEE Trans. Power Electron., vol. 9, pp. 397-404, July Brunswick, Fredericton, Canada, Jan. 2004

3371

You might also like