0-7803-8730-91041$20.00Q2004 I EEE
810
disposed to improve the rejection to so called switching This effect is resulting also in acoustic noise, since it
noise and PWM ripple high-frequency content, thus depends on operating modulation index, as particularly
requiring further adjustment of feedback samples [Z]. highlighted in 3 D VSI inverters.
With reference to Fig.3, the highest DSP performances
1I.B. Ideal basic DSP loop {one sample and refresh). are practically achieved by averaging the two last feedback
The application of the general concepts are evidenced in samples, greatly improving the immunity to PWM errurs
Fig. 2 for the ideal basic DSP PWM current loop, that is and related limit cycling. Averaged equivalent feedback
without any parasitic delay and parameter. One current samples are reported in Fig. 3 as iik.3/Tand i ~ + ~ .
sample and one index refresh are provided in each PWM In the case, the regulator calculations must be operated
period: the feedback sample it.] is adopted to generate the twice per period, in order to perform valid double index
output index Dk.as input to the PWM comparator. refresh. Ideally, lo be compared with (2), the closed loop
In this case, the total loop delay would be the sum of the delay time becomes T , , sum of: 1/4Txwfor averaging and
digital regulator sampling-to-refresh rate (Tsw) and the S/H 1/2Tsw for computing, (3/4Tsw from equivaIent feedback
holding function effect. The SM function equals that of a sampling time to output SEI sample); l/4Tsw for SM
zero-order-hold according to ( I ): holding function, one-half the one related to ( I )
In Fig. 3 the current samples are slightly displaced with
ZOH(sTsw)=(l-e-sTw)/ STSW (1)
respect to PWM carrier vertexes, as in practice realized due
Its equivalent delay is one-half the period (7&7), so that
to PWM command delays d f p w ~and to phase lag of input
the total ideal closed loop delay time is (2):
analog filter. All these H W non idealities can be summed up
Tdel = ( 3 / 2 b S W . (2) in an equivalent HW delay AtHW. The total delay with
Triangular canier double index updating and double averaged sampling is (3):
\ / I
del = TSW 4- &HW (3)
d M * I
where the first term is for the ideal case and the second
4 1
t one synthesises all other (HW) effects.
1I.D. The perfect PWMfilter.
The perfect PWM ripple rejection is obtained by
averaging an analog variable over a complete PWM ripple
3
I
period. The transfer function of such perfect analog PWM
tk-i k filter is reported as (4):
Fig.2 Sampling and refresh in a ideal basic DSP conrro1 scheme. A V G ( ~=) (1 - e-sTsw )/STSR (4)
I1.C. Double sampling and PWM-ripple rejection. The related Bode diagrams in magnitude and phase of
AVG(s) are reported in Fig. 4, showing the filtering holes
With reference to Fig.3 sketch, several combinations of
for all P W M harmonics.
U 0 sampling appear possible, whenever the processor is
able to develop all the calculations in less than one half the
PWM period. The best dynamics could be theoretically
achieved in common microcontrollers or DSPs by sampling
and refreshing twice per PWM period.
As an example, with reference to Fig. 3 sketch:
- Dk is function only of the sample ;
- Dk.lnis function only of the sample ik.l .
Unfortunately, a peculiar drawback arises by increasing
the regulation gain to theoretically possible values. This is a
limit cycle on all variables at fundamental PWM frequency,
particularly pointed-out on reference modulation index,
which arises due to amplified propagation of even small
PWM current ripple errors on the feedback samples. Wg.4 Bode diagrams in magnitude and phase for perfect PWM filter.
81 1
exploiting its VO flexibility and inner capability of parallel than 2 p at ''low'' clocks 35 and 70 MHz).
processing. A possible oversampling scheme is proposed in As a resuit, in the case of double output refresh of the
Fig. 5, and actually realized in the development PCB. Each reference modulation index, the total closed loop delay time
n-bit (8-bit) sample is provided by the multiplexed AID is reported (5):
converter, each signal is oversampled m times (8 or 16) dei = (3/4)Tsw + Atcorc + ktpm (5)
within its own PWM ripple period, obtaining a p-bit (1 1 -bit The first "theoretical" part is obtained by summing up
or 12-bit) output word for each digital signal output. the perfect PWM filter delay (T,J2) plus the output S/H
Incwmrud bus p bii response (Tsd4 by double refresh). The second one
can be really lower than PWM period and it could be even
disregarded. The third one is not avoidable and it is part of
the HW equivalent delay characterizing DSP solutions.
The proposed current loop structure is presented in Fig.
7, where a simple PI regulator is adopted. The propofiional
gain K p would be as high as possible to reduce the
propagation of parameter uncertainty. The integrative term
should be limited to avoid any wind-up in large step
response and recovery from saturated operation. At the
Ms Rc istff'
Conhd Imp
812
Proper phase-to-mode transformations must be realized -Mi ,A, ,A 7
(7)
current circuIation between the H-Bridge legs. New core Fig. 9 H-Bridge converter mode of operation @ Mcm<O (V+1/2 VmJ;
from top to bottom: PWM carrier and modulation indexes; legs com-
structure and specialised materials (iron and ferrite) are mands; common and differentialmode index functions; mode currents;
adopted by decoupling the two flux modes, thus exploiting current samples distribution and summarion for the two control modes.
at best their properties. Very compact and efficient
solutions have been successfully tested accordingly [6,7]. In the experimental case reported in Fig. 9, only 8
On the DC-link capacitor side, the half-period shifting samples are summed up and the equivalent delay is TslJ4
dramatically reduces its rms ripple current requirement [4]. accordingly. The control loop is as in Fig. 7, executed over
a current ripple period (one-half a PWM period). The
1II.B. Differentialmode current loop, closed-loop gain can be set to a maximum value,
As depicted in Fig. 9, the differential-mode current holds considering the total loop delay (10) is reduced with respect
the fundamental PWM frequency. Therefore it must be to (5):
controlled accordingly with common PWM variables Tdel = TSW + ~ m l + c &PWM (10)
requirements, as an example those of a 3CD VSI. The phase
current measurements are kept according to the 1II.D. Control tasks and time schedule.
oversampling strategy over a whole PWM period. According to H-Bridge properties, both mode control
In the experimental case, 16 samples are summed up for loops contribute to leg commands generation [5]. The
each PWM carrier vertex as shown in Fig. 9. The equivalent reference leg indexes (MA*,MB*) are obtained as shown in
PWM filter delay is T& according to (4). Fig. 10, by applying the inverse transformation matrix U- to
The cor~trolloop is realised as in Fig. 7, however a low the mode indexes resulting from the two control loops.
proportional gain Kp is adopted in order to assure the I
813
The control tasks are scheduled as in Fig. 11: common The P G A manages on-board Flash and SRAM
and differential-mode current loops are realised twice in the memories, position transducers (encoder, resolver) and
PWM period, each adopting proper current samples in order serial interfaces, PWM output buffers and all HW devices.
to keep the freshest mean value. The calculation time is The FPGA performs all SW functions, however a small
really short with respect to the PWM period, so that in the outline DSP is embedded for monitoring and supervising
same time slot the voltage regulation is performed as well. functions through serial communication.
Let us note the control loop data bus and ALU are busy
only for 2ps (voltage and currents) over 50ps (half PWM W.B.Experimental setup.
period), so that other control tasks can be easily positioned A series of tests has been carried-out up to full power
in time wi$out need of other parallel processing resources. ratings. The experimental set-up reported in Fig. 13 allows
for power circulation between equal DUDC converters
regulating common DC-link voltage without load.
Parameters for each H-Bridge Boost are: 600p.H;
Lh=3mH; c,,=2opF; Cp28pF.
----
1
1----
Boost I
+bat W I
IV. FPGA-BASEDDEVELOPMENT CONTROL BOARD. ----A
m samples
average
Fig. 14 Voltage loop structure.
I -
v. EXPERIMENTAL RESULTS.
The tests have been carried out controlling the DC-link
voltage at 400V and circulating variable power from a small
variable voltage source simulating a battery pack.
Fig. 16 reports the two common-mode currents (nearly
Fig. 12 PGA-based development PCB with evidenced lay-out.
opposite) by circulating 3kW at 250V input battery voltage.
814
It can be noted each power step represents a voltage-loop
disturbance, due to magnetic energy variation with current.
However the DC-link voltage response is nicely good in
spite of a very low DC-link capacitance value.
VI. CONCLUSIONS.
The FPGA properties have been applied searching for
novel digital control concepts and performances.
A suitable comparative analysis points out how the DSP
PWM control constraints can be overcome.
New breakthrough concepts and performances have been
defined and implemented in a low-cost FPGA development
Fig. 16 Common mode currenu Il.5NdivI and DC-link voltage PCB, realized and presented for the first time.
[SOV/div]: I = 20pddiv. A hard experimental test-bench has been adopted, based
on coupled H-Bridge D O C converters requiring different
One -I-Bridge control response to circulating power PWM current-loop properties and small-capacitance DC-
steps are reported in Fig. 17 and Fig. 18 (battery voltage link voltage control.
290V). The proportional gain is set to a practical maximum The experimental results are completely successful,
value, achieving slightly underdamped step responses. The confirming the capabilities of the novel PWM control
differential-mode current loop response is completely not concepts.
affected by, obviously excluding the PWM ripple Their application to other power conversion structures is
waveform. under development, like for 3@ PWM VSI.
These very satisfactory responses are obtained even
without dynamic compensations or dead-beat control, which vn. REFERENCFS
can be superimposed to cancel any overshoot.
E. Monmasson, and Y . A Chapuis, Contributions of FPGAs to the
Control of Electrical Systems, a Review, IES Newsletter, vol. 49,
no. 4, 2002, pages 8-15.
S-H.Song, J-W. Choi, and S-K. Sul, Current Measurements in
Digitally Controlled AC Drives, IEEE Indusrry Applications Mugu-
zine. luly/August 2000. pages 51-62.
A. de Casun, P. Zumel, 0. Garcia, T. Riesgo, and J. Uceda,
Concurrent and Simple Digital Controller of an AC/DC Converter
Wiih Power Fkctor Correction Based on an FPGA, IEEE Trunsac-
rims on Power Elecrronics, vol. 18, no. I , January 2003, pages 334-
343
[41 A Fratta, P. Gugtielmi, F. Villara, A. Vagati, Efficiency and EOSI-
effectiveness of AC drives for electric vehicles improved by a novel
boost DC-DC conversion structure, 1998 IEEE Workshop on
Power Electronics in Trunsportarion (WPET98), pages 11-19.
[51 A. Fratta, P. Gugliehi, G.M.Pellepo, E Scapino, F. Villa@
Efficient Modulation Tecnique and NL Control of H-bridge Boost
Converters for Battery-Supplied AC Motor Drives, IEEE Inremu-
fiond Symposium on Iduslnal E~ectronics(ISIE 99). 1999, pages
Ag.17 Convener P positive currenl step response; Lm {2.5Aldiv], & 8068 12.
[lAldivI, Vc [IOV/div], offset Vc = 400V; t = 1OOpJdiv. A. Fratta, G.Griffero, S. Nieddu, G.M.Pellegrino, F. Villata, New
Hybrid kon-Femte-Core Coupling Reactors Upgrade Effectiveness
of H-Bridge-Based Power Conversion Structures, 2002 Inrema-
tionaE Symposium on Industrial Electronics (IEEE-ISIE 20021, July
8-1I , 2002, LAquila, Italy,vo1.3, pages 8 8 4 8 8 9 .
A. Fratta, G, Griffem, S, Nieddu, G.M.Pellegino, E Villata,
Inductive Three-Level V.-Supplied conversion Cell by new Hybrid
Coupling Reactor Family , IEEE-IAS Annual Meeting, Pittsburgh
(USA) October 13-18. 2002. vol. 4, pages 2378-2385.
A. Fratta, G. Griffem, S. Nieddu. Comparative Analysis among
DSP and FPGA-based Control Capabilities in PWM Power
Conveners, The 30th A n n u l Conference of the IEEE Induslrial
Elecrronics Society (IECONWJ, Busan, Korea, November 2-6,
2004.
815