Professional Documents
Culture Documents
Digitally - Controlled - Low Frequency - Square Wave HPS Light PDF
Digitally - Controlled - Low Frequency - Square Wave HPS Light PDF
electronic ballast
with resonant ignition and power loop
Abstract— The paper proposes a digital controller for a low lamp gas that then presents more resonant modes. Square-wave
frequency square wave (LFSW) electronic ballast implemented in electronic ballast is an alternative to resonant converters and,
a dsPIC30F2010 microcontroller that includes: the ignition theoretically, is a solution to prevent the acoustic resonance
sequence, a double control loop and the selection of the positive provided that the lamp power has no ac component. Standard
and negative operation modes. The whole ballast is a two stage solutions for square-wave high-intensity discharge (HID) lamp
circuit, where the first stage is a power factor correction (PFC) drivers over 100 W require three stages: (1) a power factor
stage and the second is a full-bridge converter (FB) used for both correction (PFC) stage, (2) a current mode controlled dc-dc
ignition and square wave drive. Ignition is achieved by converter and (3) a full bridge (FB) inverter, in addition to an
approaching the resonant frequency of the LC filter when the
external lamp ignition circuit [2-3]. In this paper we propose
lamp is in the off-state and the FB is working as a resonant
the digital control of a simple square-wave electronic ballast in
inverter. After ignition the converter operates as a LFSW
inverter by controlling the FB to act alternately as a Buck
which, stages (2), (3) and the ignition circuit are integrated in a
converter supplying positive or negative current. While ignition single stage, as is depicted in Fig. 1. The use of a
occurs at the LC filter resonance (fo=25kHz), the Buck converter microcontroller with a suitable digital control allows the FB to
switching frequency (fsw=200kHz) is selected significantly higher work as a resonant inverter during the start-up and warm-up of
than fo to attenuate high frequency harmonics and avoid exciting the lamp and as a LFSW inverter during the steady state of the
acoustic resonance. Lamp stability is achieved by controlling the lamp.
inductor current of the LC filter, and power mode control is
Electronic ballast should also meet the IEC 61000 3-2 class
achieved adjusting the average current and voltage supplied by
C focused on lighting electronic equipment [4]. For high power
the PFC stage. A SEPIC converter operating in the continuous
conduction mode (CCM) is used for the PFC stage. The lamps a PFC stage is commonly used to meet the utility
microcontroller selects the different operation modes of the FB standard and to reject the utility disturbance to a certain degree,
converter according to the lamp requirements. and the Boost converter is commonly used. However the boost
output DC voltage has to be set to be greater than the input line
Keywords-Sepic converter; Buck converter; Low frequncy peak voltage (normal greater than 400V). In some applications
square wave; Metal halide lamp; acoustic resonance. where an intermediate output voltage level is required,
converter with step-up and step-down conversion ratio is
I. INTRODUCTION needed. In this way, the ballast system has a Single-Ended
Primary Inductance Converter (SEPIC) configured as a non-
The illumination industry is looking for new solutions to isolated high power factor preregulator in continuous
avoid excitation of acoustic resonances [1] in discharged conduction mode (CCM).
lamps, especially in metal halide lamps (MHL). This kind of
lamp has become very popular as a practical light source for This paper describes the design of amplitude-modulated
general and specific applications for its high efficacy control of the electronic ballast using the PFC stage to regulate
(measured in lumens per watt) and for the creation of compact the power supplied by the utility line while the LFSW
lamps with superior color rendering properties. The frequencies stabilizes lamp current. In comparison to [5] no extra sensor is
at which acoustic resonance appears depend on the size of the required to achieve power mode control because the output
arc tube, gas pressure and its composition. The elements that voltage is required for PFC action.
compose the gas enclosed in the vessel determine the lamp The control law used during normal lamp operation to
chromatic rendering; in this way, a more complete spectrum of generate the FB duty cycle d and the PFC reference current Iin
the source light requires a more complex composition of the
is depicted in the functional block diagram in Fig. 2. System frequency, fo, of the LC filter (see Fig. 1) when the lamp is off
stability in short-term, i.e. ballast action, and long-term power and gradually approaches fo, where the voltage gain is high
control, including dimming capability, are achieved with a enough to produce the discharge. One benefit of sweeping the
double control: a fast control that provides stability to the lamp, frequency for ignition is that the capacitive coupling induces
controlling the average inductor current, i, and adjusts the duty current through the lamp gas and reduces the required over
cycle, d (D in steady-state). The second low-speed control is a voltage to achieve ignition [7-8].
power-mode control that regulates the average power, <Pg>
Part of the lamp warm-up is also carried out using the high
supplied by PFC stage. Both control loops use the same sensor
resistor Rg, for sampled current, and power loop use Rvd for frequency inverter mode. During ignition and initial warm-up
the duty cycle control is disabled and the converter operates as
sampled of Vg, see Fig. 1.
a traditional full-bridge resonant inverter.
Stage 1 Stage 2 with igniter
ig Then, the control circuit enters in LFSW mode, where the
S3 bridge converter is driven alternately as a positive and negative
S1 D1 D3 Buck converter. The inverter switching frequency, fisw, is in this
+ Rvi + v - mode a constant low frequency. The square wave oscillator
220Vac ~
50Hz
PFC i L C
imposes 50% of the low frequency period Ti = 1/fisw to change
Vg
from, positive to negative mode and vice versa. On the other
-
Rlamp
hand, the Buck converter switching frequency, fsw = 1/T >> fo,
Rvd S2 D2 D4 S4 is also constant. Control signals of the FB transistors for the
Buck operation modes are defined in Fig. 3. In the LFSW
Rg
mode, the duty cycle, d=ton/T, is regulated to control the
inductor current, i, and stabilize the lamp current in the short
Fig. 1. Square-wave electronic ballast. Stage 1 is a Power Factor Corrector term, and to regulate <Pg> in the long term for power
stage, and stage 2 is a full bridge that works as a resonant inverter or low
frequency square wave inverter according to the state of the lamp.
adjustment and dimming control if required.
In LFSW operation, the inductor L and the capacitor C
z −1
define the converter low pass filter that limits the ac component
of the lamp power below the level that can excite acoustic
Rs i Vsen Ig kp I in resonances. Current mode control is achieved by regulating
-
ADC + 1 − z −1
DAC
inductor current i, which is the PFC output current ig during
Pg,ref DT, sensed by Rg. The inductor current, i, circulates as is
Vgsen
showed in Fig. 4; with continuous line during dT time, and
ADC discontinuous line during (1-d)T time. Also, Fig. 4 shows the
d
1
Reqd
Iref
+- kc Buck operation mode: above the positive Buck (positive lamp
current) and below negative Buck (negative lamp current). On
the other hand, power mode control is achieved multiplying the
PFC average output current, <ig>, and voltage, Vg.
Fig. 2. Block diagram of the proposed digital control: power loop and inductor
current loop. Since the Buck converter input current, ig, is discontinuous,
the sampled inductor current, i*, is multiplied by d to obtain the
II. LFSW ELECTRONIC BALLAST sampled average input current <ig*>. The inner high-speed
current loop provides the ballast action since it stabilizes the
A front-end PFC stage supplies constant dc voltage, Vg, to
lamp current, which is assumed to be equal to the averaged
the FB converter, and operates in voltage mode, with
inductor current, <i>, resulting in high output impedance for
maximum Vg, when the lamp is off and during the start-up and
the inverter. The outer power loop provides the current
warm-up time, until the target power is achieved. Then PFC
reference, iref, to the inductor current loop to achieve the
stage operates in power mode supplying constant power, Pg.
designed lamp power, Plamp. The power sample data is
The microcontroller selects the operation mode of the PFC
Pg*=Vg*<ig*>. The power mode control [9] does not
stage.
necessitate high-speed performance in the controller.
Also, the microcontroller imposes different operation
To simplify the current loop design with no influence on
modes on the bridge converter to operate initially as a resonant
the measured current conditioner, the generation of open-loop
igniter, and then as a positive and negative Buck converter. The
transitions from positive to negative current through the lamp
bridge converter, inductor L and capacitor C form a parallel
and vice-versa is proposed. If the duty cycle does not change
resonant inverter before the lamp ignition, where the control
during the transition from positive to negative output voltage
circuit defines a soft start-up ignition sequence by performing a
and vice versa, the transition response depends on the quality
frequency sweep towards parallel resonance [6].
factor of the filter loaded with the lamp. The control circuit
During the ignition sequence, resonant inverter operation is should detect the end of the transition to retake control of the
obtained since the transition from positive to negative and vice current and power mode
versa in the converter output voltage is carried out at high
frequency. This frequency is called the inverter switching
frequency, fisw, which, in this mode, is higher than the resonant
vGS1
vGS1
UC3854, Vff is the feedforward voltage from vin, and Imo
ON OFF
represents the input line current to control, i.e. output of the
t t
UC3854 multiplier. The sample of output voltage is defined by
vGS2 vGS2
Rvd . (2)
OFF ON OFF ON OFF
Vgsen = Vg
t
t Rvd + Rvi
vGS3 vGS3
OFF ON
The PFC stage works as limited output voltage source, Vg =
t t 380 Vdc, of the FB during the start-up and warn-up of the lamp,
vGS4
vGS4
and then works as power source during the steady state..
OFF
OFF OFF L1
ON ON CC D
DT T t DT T t
+
220Vac Rvi
Fig. 3. Control signals of the FB transistors. Left: for positive lamp current 50Hz
(positive Buck). Right: for negative lamp current (negative Buck). Cin
M
L2 Cg
+
Vg
ig Rvd
-
S3 Rs
S1 D1 D3 Vgsen
+ + v - Iin
DAC dsPIC
220Vac PFC L
i C
~ Vg Rmo Rci
Rpk2
50Hz
Rlamp Rcz Cpk
-
S2 D2 D4 Rvf
S4 Ccz
Rff1 Rvac Cvf Rpk1
Ccp
18Vdc
Rg
1u
100u 150k 157 54 32 9
10
ig 11 UC3854A 16
S3 Rff2 6
8 13 14 12 1
120
S1 D1 D3 D1N5818
33k Ct
Cff2 Css
+ v -
Rset
+ Cff1 Rff3
220Vac PFC L
i C
~ Vg
50Hz
Rlamp Fig. 5. Scheme of the SEPIC converter controlled by UC3854A
-
S2 D2 D4 S4
Rg iac CC iD
iC1
Fig. 4. Input (ig) and inductor (i) current direction. In continuous line during L1 iQ i2 iC2 Ig +
DT time, and discontinuous line during (1-D)T time. Above, positive Buck.
+
Below, negative Buck. L2
vin Cg Req Vg
- M
Rs -
III. PFC STAGE: SEPIC CONVERTER
For practical implementation, in this work the SEPIC
Rvi
converter operating in CCM is the chosen PFC stage, whose Iin dsPIC +
implementation under voltage and power mode control is using UC3854A +
the circuit UC3854A. The complete scheme of the SEPIC Vgsen
converter controlled by UC3854A is shown in Fig.5 DAC Rvd
-
The PFC controller requires sensing of the input current, iin,
input voltage, vin, and output voltage, Vg. The SEPIC control Fig. 6. SEPIC converter with necessary sensor for power control.
circuit and its sampled signals are summarized in Fig.6. for the
digital power mode controller requires sampling of the output IV. CURRENT MODE AND POWER MODE OPERATION
current and voltage, Ig and Vg respectively. The first is obtained
from the current loop, <ig*>, and the sample of output voltage, The implementation of a suitable regulation of the lamp
Vgsen, is necessary for operation of UC3854A. The equation that should result in a double actuation. On the one hand, the ballast
defines the operation mode of the controller is needs to stabilize the lamp in the short term, and on the other
hand, it needs to have the capacity to fix the power of the lamp
in medium and long term.
I AC (Vvea − 1) . (1) Here it is proposed use a fast current mode control [10-11]
I mo = that stabilizes the lamp and power mode control that fixes the
V ff2
nominal lamp power and implements dimming control when
Where IAC is the instant input voltage sampled as a current required.
signal, Vvea is the output of the voltage error amplifier of
In LFSW mode, i = ig during DT (on time), the inductor iˆ V 1 + sCzlamp (6)
current can be captured at Rg (see Fig. 1) for the current loop. Gid (s ) = = g
As mentioned above, power mode control is implemented by dˆ zlamp 1 + s L + s 2 LC
taking a sample of Vg, Vgsen from Fig. 6, and multiplying by zlamp
<ig*>, that is the sample of <ig> and is calculated by Where zlamp is the lamp incremental impedance. The gain
multiplying the sampled inductor current, i*, by the duty cycle, and phase of the transfer function given in (6) is represented by
d. Therefore, the power control variable is the PFC output a continuous line in Fig. 7. The model (6) is valid in this case
power, Pg. in a rather restricted range of frequencies. Because of the
The two control variables of a PFC plus FB converter nature of the averaged model maximum valid frequency is half
systems are: the command signal of the PFC outer loop that the switching frequency and due to the lamp behavior the
regulates the amplitude of the PFC input current, Iin, i.e. line frequency where zlamp behaves as positive impedance has a
current, and the control signal of the FB converter that results minimum. For the case presented it is consider that Gid in (6) is
in the duty cycle, d, of the switching period, as is presented in valid from 1 kHz to 100 kHz. The desired cross-over frequency
Figs. 1 and 2. is going to be fixed in a range from 3 kHz to 10 kHz. To obtain
the plots in Fig. 7, zlamp is considered a positive resistance of
In order to achieve that the FB converter emulates an around 30 Ω [12-13] at the frequency of interest,. From this
equivalent resistance load, Req, for the PFC section the duty result, a suitable compensator can be designed.
cycle command is obtained from a high speed current loop,
Bode Diagram
where the input current reference, Iref, is defined as Vg/Req by 25
the control system. Therefore, the low frequency ac load for the 20
Magnitude (dB)
15
does not require the zero error specification and provides the 5
system with the required stability even for very irregular load, 0
processor. A single sensor, Rg, samples the average value of the -45
inductor current during the on time, for both the PFC and FB
converter control loops and a voltage divider samples the PFC
output voltage, Vgsen. -90
2 3 4 5
10 10 10 10
If it is assumed that the ripple of the PFC output voltage, Frequency (Hz)
Vg, is negligible, then the averaged model equation is described Fig. 7. Estimated Bode plot of Gid(s). Above: gain in dB. Below: phase.
by
dVg − v . (3) Power mode control is easily implemented since
Ts
= i Ts
sL Plamp = ηlfsw ⋅ Vg ⋅ < ig >= ηlfsw ⋅ Pg , (7)
and
The average inductor current <i> is the variable to control for
the current mode control. The resulting averaged small signal ig = d i , (8)
model is given by
Vg
ˆ − vˆ
dV = Req , (9)
g
= iˆ (4) ig
sL
where ηlfsw is the efficiency of the LFSW converter and the
Equation (4) can be used to analyze the effects of the
reference for the average inductor current, Iref, (see Fig. 2) is
perturbations of the duty cycle and output voltage on the
the variable under control for power mode operation.
inductor current, i. The desired small-signal control transfer
function from duty cycle to inductor current can then be In Fig. 8, the transistor drive signal, vgs, the input current, ig,
derived including (5) in (4) and is given by (6) and its sample, Rgig=vsen, are shown. The buck converter is
working in continuous conduction mode and ∆i is small, so that
zlamp (5) one sample during DT is valid to obtain the average inductor
vˆ = iˆ
1 + sCzlamp current with small enough error.
Vsen
load, rL, is negative. In Fig. 9 Iˆg is the perturbation of the
current supplied to the PFC output filter and load averaged
DT T t
over the utility line period, ro = −Vˆg Iˆg is the output
impedance and Cg the filter capacitor. For a constant power
i
load if the input voltage of that stage is reduced it will react by
g
∆i increasing the current, in order to maintain the output power
<ig> constant. In this case rL will cancel with r0 and will yield:
DT T t Vˆg 1 (12)
=
ˆI sCg
Vgs g
+
DT T t
δ Ig ro Cg
rL δ Vg
Fig. 8. Top: measured input current, Vsen=igRg. Middle: input current, ig.
Bottom: transistor drive signal, vgs.
-
Start
Modify Iin
No
Yes
No
Lamp ON?
Modify d
No Vsen<Vmin?
d[n]=kcec
Yes
Soft start-up
sequence
Yes
RI at constant
Lamp ON? frequency
LFSW
mode
Delay
No
Increase ignition
No
counter
Counter=0?
No Yes
Count max?
Stop
End