DSP Control Improves Inverter Performance and Density

advertisement
DSP Control Improves Inverter
Performance and Density
By Liviu Mihalache, and Mihai Chis, Power Conversion
Technologies Inc., Harmony, Pa.
Compared with the traditional analog approach, a
16-bit fixed point Digital Signal Processor (DSP)
controls a dc-ac inverter—reducing its size, increasing its efficiency, and cutting total harmonic distortion in the presence of highly nonlinear loads.
ow-cost, high-performance, high-density
dc-ac inverters are key elements in UPS, fuel
cell, solar, and wind array systems. A costeffective solution to inverter design is based
on advances in digital signal processor
(DSP). Powerful 16-bit, fixed point DSPs incorporate all
the necessary circuitry required by power electronics applications such as: PWM channels, A/D converters, CAN
interface, internal and/or external memory, serial ports,
event timer, and encoder interface.
can be reduced even when the switching frequency is low.
Traditionally, adding a current loop with the effect of dumping the LC filter leads to a lower THD, however distortion
is still present in the output voltage, especially if the switching frequency is well below 20 KHz. Adding a current loop
also makes the system more difficult to analyze and generally requires an accurate isolated current transducer and
either a large, bulky, expensive inductor or the use of a high
switching frequency to remove the switching ripple.
Fig. 1 is the topology of a typical IGBT-based, singlephase inverter. Notice the addition of a second filter in the
form of a trap filter, whose role we’ll explain later. Standard unipolar PWM voltage modulation is used because it
offers the advantage of effectively doubling the switching
frequency of the inverter voltage.
Fig. 2, on page 47, depicts the inverter control technique
used in this approach. It does not involve an inductor or
capacitor current loop, meaning the main output filter will
introduce very high impedance around its resonant frequency. The immediate effect is that any harmonic current
due to a nonlinear load around the filter resonant frequency
will determine a significant voltage harmonic component
in the output voltage spectrum. If the main filter resonant
frequency is moved further from the lower main harmonics of the inverter (3rd, 5th, 7th, 9th, etc), it can significantly
reduce the unwanted influence of output filter impedance.
For a switching frequency of 6 kHz, the main output
filter frequency can be set between 3.5 KHz to 4.5 KHz;
thus the output filter becomes small, despite the relatively
low switching frequency. The resonant controllers shown
in Fig. 2 now have the task of removing each individual
low frequency harmonic (up to the 29th in this case), since
the main filter will provide no attenuation in this range.
The resonant controller tuned to the fundamental has the
task of accurately tracking the sinusoidal voltage reference
Continued on page 47
L
L1
Q1
Q3
C1
Vdc
L2
C2
Q2
Z load
Q4
IGBT Drives
Voltage Feedback
ADMC 401 DSP-based
Harmonic Control
Fig. 1. Single-phase inverter with harmonic control.
How can you effectively use a 16-bit fixed point DSP
controller to reduce the size of a dc-ac inverter, increase
efficiency, and improve the total harmonic distortion
(THD)—especially in the presence of highly nonlinear
loads? Generally, the size of the dc-ac inverter is determined
by its output LC filter. You can make this smaller by using
higher switching frequency; however, this increases overall
losses and requires bigger heatsinks with more cooling. The
proposed method demonstrates that the output filter size
Power Electronics Technology
February 2003
44
www.powerelectronics.com
DSP INVERTER
Continued from page 44
V ref.
+
V feedback
Low
Pass
Filter
Phase and
Ampliturde
Recovery
Kp
+
12 kHz. The overall size of the output filter is reduced significantly because this approach takes advantage of the computational power of the DSP. It essentially shifts much of
the filtering effort, especially in the low frequency range,
toward the control software and only the very high frequencies are removed by the hardware output LC filter.
The block diagram in Fig. 2 shows a low-pass filter and
a phase and amplitude recovery block to prevent higher
frequency components from entering the controller. This
is necessary because around the resonant frequency, the
phase shift becomes 180°, which causes control loop instabilities. The phase and amplitude recovery block uses a
simple method: the exact phase and amplitude change after passing through a standard first order digital low-pass
filter is first calculated and then compensated.
For the practical realization of the resonant controllers
we know that PI stationary regulators of ac signals have
nonzero, steady-state errors in amplitude and phase, due
to the limitation in controller gain at the fundamental frequency. A general method for controlling ac signals was
recently developed where we establish a direct relationship
between a dc type compensator and the equivalent ac compensator having the same frequency response in the desired bandwidth. The equation for this method is:
Gac(s) = Gdc(s + j × ωk) + Gdc(s − j × ωk)
(1)
2
PWM
Modulator
Resonant Controller
Fundamental
Resonant Controller
3rd Harmonic
Resonant Controller
5th Harmonic
Resonant Controller
29th Harmonic
Fig. 2. ADMC 401 DSP-based harmonic control.
with minimum phase and amplitude errors even in presence of highly disturbing loads. All other resonant controllers act as very narrow band stop filters providing a
software trap for unwanted harmonic components. Each
resonant controller tuned to any harmonic component has
exactly the function as a standard hardware LC trap filter
tuned to the desired harmonic to be eliminated.
The second filter depicted in Fig. 1, on page 44, is necessary because the main filter formed by L1 and C1 has a high
cutoff frequency and does not provide enough attenuation
at twice the switching frequency where the main harmonics are located. The size of this second filter is small because
it has to be tuned to twice the switching frequency—that is,
CIRCLE 229 on Reader Service Card
www.powerelectronics.com
freeproductinfo.net/pet
47
Power Electronics Technology
February 2003
DSP INVERTER
I RES
L
C
V IN
V RES
a concern when the proportional term
is nonzero. It’s generally necessary to
account for a certain delay time, particularly at low switching frequencies;
the expression for the equivalent ac integrating controller then becomes:
Gac = 2KI
Fig. 3. LC resonant circuit.
Where:
Gdc(s) = KP + KI
(2)
s
KP = Proportional gain constant
KI = Integral gains constant
If a standard PI controller as given
by Equation (2) is used, then the expression for the ac controller can be
written as:
Gac(s) = KP + 2 2× s × KI
s + ωk2
(3)
Where:
ωk = kω
k = 1,3…29 (odd harmonics)
Implementation of Equation (3) is
CIRCLE 230 on Reader Service Card
Power Electronics Technology
February 2003
(s × cosφ − ωk × sinφ)
(4)
s2 + ωk2
where:
φ = Time delay compensation
Since Equation (4) represents a
lossless network, you must add a small
dumping term; you then implement
the resultant transfer function can as
a biquad filter. This approach is sensitive to coefficient errors, unless we use
a more expensive floating point DSP.
It’s possible to implement the original
transfer function of Equation (4) on a
low-cost 16-bit fixed-point DSP—
without the dumping factor. A physical interpretation for the resonant
controller in Equation (3) recognizes
the current and output voltage of an
ideal LC filter, as depicted in Fig. 3, can
be written as
ωk2
Vres = VIN ×
2
s + ωk2
(5)
s
×
ω
k
Ires = VIN ×
s2 + ωk2
(6)
Where the elements of the filter
satisfy the relationship
L=C= 1
ωk
From Equations (5) and (6) we can
conclude the ac pure integrating controller can now be simply written as:
Gac = 2KIcosφ × Ires × 1 −2KI × s
ωk
× sinφ × Vres × 1
(7)
ωk
Thus, the task of realizing the resonant controller given by Equation (4)
reduces to that of determining the
output voltage and current of a fictitious LC resonant circuit with
L=C= 1
ωk
freeproductinfo.net/pet
48
www.powerelectronics.com
DSP INVERTER
and tuned to the desired frequency (ωk = kω, k = 1,3..29)
where the input is the error between the reference and feedback. The following discrete state space equations apply
for the LC filter depicted in figure 3:
[
Ires(k +1)
] [ ]
= Φres Ires(k) + Γres × Vin(k)
Vres(k +1)
Vres(k)
Φres =
Γres =
fied by reducing the errors due to coefficients round-off,
making it possible to implement on a cheap 16 bit fixedpoint DSP. A further improvement in the IIR architecture
is still possible by imposing the additional constraints for
the elements of matrices to achieve a section optimal filter
that has a minimal round-off error variance. We can achieve
this using a non-singular transformation matrix; however,
practical experiments show little improvement when compared with the IIR filter having normal architecture.
Software control is intended to remove up to the 29th
harmonic from the output voltage spectrum. This is a challenge if the switching frequency is only 6 kHz because the
29th harmonic (in the case of a 60 Hz inverter) is located at
1.74 kHz. The delays produced by the computational time,
PWM power stage and the A/D converter become more
and more significant as the harmonic order increases. You
can see this from the expression of the resonant controller
in Equation (7). At lower frequencies, the expression of
the resonant controller is mainly given by the fictitious resonant current; as the harmonic order increases, the fictitious resonant voltage term becomes more significant. To
reduce the errors caused by the various delays, the output
voltage is sampled at the higher speed of 24 kHz. The resonant controllers are also implemented at 24 kHz, since their
precision is critical in obtaining accurate tracking of the
(8)
cos(ωk × T) −sin(ωk × T)
[
[
]
sin(ωk × T) cos(ωk × T)
sin(ωk × T)
2 × sin2 ( ωk× T )
2
]
(9)
(10)
Vin(k) = Vref(k) – Vfeedback (k)
(11)
From a mathematical point of view, the system given by
Equations (8) to (11) is a second order normal IIR filter
having minimal noise gain and minimal coefficient roundoff errors; thus, it is much better suited for a 16-bit, fixedpoint implementation. The second order IIR filter with a
normal architecture involves more calculation than the
biquad filter because all the elements of the matrices involved are now nonzero, yet the added complexity is justi-
CIRCLE 231 on Reader Service Card
www.powerelectronics.com
freeproductinfo.net/pet
49
Power Electronics Technology
February 2003
DSP INVERTER
of the output impedance:
1 = 1 +sL + sL × (K +
P
ZOUT sC
+
Fig. 4. Output voltage and current, nonlinear load.
Fig. 5. Characteristics of the nonlinear load.
fundamental and elimination of loworder harmonics. The PWM pulses
are updated twice per carrier (doubleedged unsymmetrical PWM), so the
duty cycles are modified in each half
of the switching period.
Although no current loop is involved, the output impedance is near
zero at selected frequencies where the
resonant controllers are tuned. Let’s
look at the mathematical expression
100
90
80
70
60
50..%
40
30
20
10
0
4
(13)
Where k = 1….29
T = Switching frequency
KPWM = Constant that depends on
the dc-link voltage, modulation index
and feedback voltage scale
The expression for the output impedance emphasizes the need to correctly tune the resonant controllers to
the fundamental frequency harmonics. Imperfect implementation of the
resonant controllers determines an increase in the output impedance and
leads to poor output regulation and increased total harmonic distortion in
the presence of nonlinear loads.
To verify the proposed DSP-controlled inverter method, a 15kVA
IGBT-based prototype was built, and
the control was implemented with an
ADMC401 DSP. Table 1 summarizes
parameters of the prototype inverter.
Experimental results confirm the
inverter can reject the distortion produced by nonlinear loads that are used
as the front end of a switching power
supply. If the inverter has a current
loop, it often causes a trip when the
peak current exceeds the maximum
limit of the transducer and processor’s
A/D converter. This phenomenon is
common when many computers and
data acquisition systems are simultaneously in use, each having its own
switching power supply. This causes
the peak current to be large—even if
rms value is below the inverter’s ca2
1
1
KI ) × KPWM
s2 + ωk2
1 + sT
7 10 13 16 19 22 25 28 31 34 37 40 43 46 49
Harmonic Number
Data Block
Name = Volts
Date = 7/10/2002
Time = 9:10:39 PM
Fund = 60.0Hz
RMS = 120.5 V
THDr = 2.7%
Cursor Values
X1 :
1
X2 :
49
dX :
48
Y1 : 100.0%
Y2 :
0.3%
dY : -99.7%
Ph1 :
0. °
Ph2 : -58. °
February 2003
pability. This isn’t a problem, since no
current loop is involved and the maximum allowable current through the
IGBT’s gives the only limitation.
The test setup consisted of a full
bridge diode rectifier with two 6800µF
electrolytic capacitors connected in
parallel. The resistance was varied between 1.8Ω and 4Ω. Figs. 4 and 5 depict the output voltage and the output current and the characteristics of
the nonlinear load. Fig. 6 shows the
harmonic spectrum in this nonlinear
Parameter
Value
Input voltage
300Vdc
Output voltage
120Vac, 60 Hz
Output current
125Arms
Switching frequency
6 kHz
Sampling frequency
24 kHz
Main filter
L1 = 100µH
C1 = 15µF
Secondary (trap) filter
L2 = 17.5µH
C2 = 10µF
Table 1. Inverter parameters and main components.
Parameter
Value
IGBT transistor switching losses
31W × 4 = 124W
IGBT free-wheeling diode
switching losses
4.5W × 4 = 18W
IGBT transistor conduction losses
83W × 4 = 332W
IGBT free-wheeling diode
conduction losses
24W × 4 = 96W
Filter losses
31W
Total calculated losses
601W
Total experimental losses
655W
Efficiency
95.5%
Table 2. Inverter losses and efficiency at full linear load.
Fig. 6. Output voltage harmonic spectrum in the case of nonlinear load.
Power Electronics Technology
Fig. 7.Output voltage voltage and current, linear load.
50
www.powerelectronics.com
DSP INVERTER
100
90
80
70
60
50..%
40
30
20
10
0
1
1
4
2
7 10 13 16 19 22 25 28 31 34 37 40 43 46 49
Harmonic Number
Data Block
Name = Volts
Date = 7/10/2002
Time = 9:38:21 PM
Fund = 60.0Hz
RMS = 120.5 V
THDr = 0.4%
Cursor Values
X1 :
13
X2 :
39
dX :
26
Y1 :
0.1%
Y2 :
0.1%
dY :
0.0%
Ph1 : -154. °
Ph2 : -18. °
Fig. 8. Output voltage harmonic spectrum in the case of linear load.
load case and the total harmonic distortion is kept to a very low value of
2.7%. If the load is linear, the output
voltage exhibits extremely low distortion, about 0.4% as seen from Fig. 7,
on page 50, and Fig. 8.
Table 2 summarizes the losses of
each component of the inverter. Efficiency is more than 95% at full linear
load, and switching losses are 20% of
overall losses due to a moderate switching frequency of only 6 kHz.
PETech
References
1. D. N. Zmood, D. G. Holmes, “Stationary frame current regulation of PWM inverters with zero steady state error,” Proc
of PESC’99, pp. 1185-1190.
2. Y. Sato, T. Ishizuka, K. Nezu, T.
Kataoka,“ A new control strategy for voltage type PWM rectifiers to realize zero
steady-state control error in input current,” IEEE Transactions in Industry Applications, May/June 1998, pp. 480-486.
3. P. Mattavelli, “Synchronous-frame
CIRCLE 232 on Reader Service Card
www.powerelectronics.com
harmonic control for high performance
ac power supplies,” IEEE Transactions
in Industry Applications, Jan/Feb 2001,
pp 81-89.
4. K. J. Astrom, B. Wittenmark, “Computer
controlled systems - theory and design,”
Third edition, Prentice Hall Inc., 1997.
5. N. Mohan, T. M. Undeland, W. P.
Robbins, “Power electronics-converters,
applications and design,” Second edition,
John Wiley & Sons Inc., 1995.
6. T. M. Rowan and R. J. Kerkman, “A new
synchronous current regulator and an
analysis of current regulated PWM inverters,” IEEE Transactions in Industry Applications, July/August 1986, pp. 678-690.
7. S.K.Mitra and J. F. Kaiser, “Handbook for
digital signal processing,” N.Y., Wiley, 1993.
8. F. Taylor, J. Mellot, “Hands-on digital
signal processing,” McGraw-Hill Inc, 1998
9. M.A.Boost, P. D. Ziogas, “Towards a
zero-output impedance UPS system,”
IEEE Transactions in Industry Applications, May/June 1989, pp. 408-418.
For more information on this article,
CIRCLE 336 on Reader Service Card
freeproductinfo.net/pet
51
Power Electronics Technology
February 2003
Download