RHPZ, A Two Way Control Path
RHPZ, A Two Way Control Path
RHPZ, A Two Way Control Path
Christophe BASSO ON Semiconductor 14, rue Paul Mespl BP53512 - 31035 TOULOUSE Cedex 1 - France
The small-signal analysis of power converters reveals the presence of poles and zeros in the transfer functions of interest, e.g. the control to the output variable. The zeros occur in the numerator of the expression whereas the poles are located in the denominator. The stability analysis of the transfer function consists in looking at the position these poles and zeros occupy in the s-plane. For a stable converter, one condition is that both the zeros and the poles reside in the left half portion of the plane: we are talking about negative roots. For a pole, a position in the left plane implies an exponentially decaying temporal response, hence asymptotically stable. To the opposite, when placed on the right side in the s-plane, a step response will lead to a diverging response as the associated exponential term exhibits a positive exponent: this is a positive root. For some converter architectures, a zero can sometimes be the positive root to the numerator of the control-to-output transfer function. How can this happen and what are the consequences of such a positive zero also called a RightHalf-Plane Zero (RHPZ), this is the object of the present paper. A two-step conversion process Figure 1 represents a classical boost converter where two switches appear. A power switch SW, usually a MOSFET, and a diode D, sometimes called a catch diode. In the Continuous Conduction Mode of operation (CCM), the inductor current IL flows in the power switch SW during the on time or DTsw. During the off time, or (1-D)Tsw, the power switch is open and the inductor current goes to the output diode, further feeding an output network made of the capacitor and the load. Regardless of the control method, voltage or currentmode, this configuration assumes that energy is first stored in the inductor during the on time and then transferred to the output during the off time. In Figure 2 appears an equivalent representation of the boost converter where the switch/diode network has been replaced by a single pole double throw switch which alternatively routes the inductor current in the two different branches: the power switch or the output diode. If a designer would observe the currents circulating in the output diode, he would see Figure 3 typical waveforms. Our boost converter is designed to deliver power to a given load. The variable of interest, in our case, is thus the available output current Iout. This current is actually made of a dc portion on which is superimposed a switching ripple. In theory, the ripple goes into the capacitor and the dc current circulates in the load. The dc current delivered by the boost converter is nothing else than the diode average current Id. Mathematically, this current can be expressed by:
I out = I d = I L (1 D )
where Id is the average diode current also equal to the dc output current Iout and D is the duty cycle.
(1)
L D Vin C SW
Vout
Rload
L
IL
1-D D
ID
Vout
ISW
Vin
Rload
Figure 2: a single pole double throw switch represents the combined operations of the diode and the power switch. The diode current In Figure 3, on the left side, we can see the current in the diode jumping to the peak inductor current as soon as the switch opens. Then, the current decays with a slope imposed by the voltage across the inductor during the off time. The diode average current in the left picture is Id0 and obeys Eq. (1). Now, on the right picture, the duty cycle has slightly increased. The inductor current peaks a little higher but, given the reduction of the (1 D ) term in Eq. (1) due to the increase of D, the average current Id1 is lower than before.
Id(t) IL0
Vin L
Id(t) IL1
Vin L
IL(t)
IL(t) Id1
d
t D1Tsw Tsw
Figure 3: the current observed in the output diode with two different duty cycles. As one can see from Eq. (1), if D suddenly increases to correct a perturbation, then, to let Iout followup, we need an immediate increase in the inductor current IL as well. The problem relates to the average inductor current which is limited in slew rate. If the inductor average current change change
dD , then the output current Iout goes down immediately until the inductor current builds-up and dt
eventually catches-up with the set point imposed by the loop. However, if Iout goes down, so does Vout, immediately sensed by the feedback loop. The controller increases the duty cycle and sees a decrease in the
voltage, the reverse of what the loop polarity is supposed to be: this is the physical effect of the right-half-plane zero located in the control-to-output transfer function. What is the pace at which the average inductor current can change? Lenzs law instructs us that the instantaneous current change rate in an inductor obeys the following formula:
dI L ( t ) VL ( t ) = dt L
On average, it simply follows:
(2)
dI L VL = dt L
(3)
where IL and VL respectively represent the average inductor current and voltage values. The exercise now consists in calculating the average value across our inductor. By considering the weighted period of time during which Vin or VoutVin are applied across L, we have:
(4)
With a 58.3% duty cycle, the converter delivers 24 V. Now suppose that the duty cycle jumps to D1 = 59% or a difference of 0.7%. What is the inductor average current slope in this case? Considering a large output capacitor, the output voltage stays constant during the duty cycle change. Applying Eq. (4) gives a transient average inductor voltage of:
(5)
dI L VL 160m = = = 160 A s dt L 1m
a rather low value. When the duty cycle changes from 58.3% to 59%, it implies an output voltage change of:
(6)
Vout =
(7)
With a constant 240- load, the output current will increase to:
I out =
(8)
Brought back to the inductor change, the output current variation given by Eq. (8) must be accompanied by an average inductor current variation of:
I L =
Vin Rload
Given an average inductor slope 160 A/s, this current variation will only be possible within a timeframe of:
dt =
(10)
If the duty cycle is swept from 58.3% to 59% in much less time than 42.8 s, the inductor current will not buildup at a sufficient pace to make the output current rise at the same speed. As an immediate result, the output current drops rather than increases. On the contrary, if the duty cycle sweep is slow enough, the current can increase in the inductor at sufficient speed to compensate the reduction in (1D): the output voltage goes up. This is the reason why a reduction in the available loop bandwidth naturally limits the duty cycle slew rate and gives time for the inductor current to build up. An average model to visualize the effects Figure 4 depicts a voltage mode boost converter modelled using the newly derived auto-toggling model Ref. [1] based on the PWM switch model. In this figure, we will sweep the duty cycle from 58.3% to 59% at different speeds and then observe the pertinent waveforms:
VL
L1 1m
11
Iout vout
PWM switch VM
IL1
Vout
R10 70m
16
X3 PWMVM L = 1m Fs = 100k
Vin 10V
R11 240 C5 1m
Vduty V5 unknown
Figure 4: a boost converter using an average model is a good tool to observe the RHPZ effects. The results appear in Figure 5 and Figure 6. In Figure 5, the duty-cycle is slowly swept in 200 s and one can see that the output voltage rises up without any negative portion: the inductor current can keep up with the duty cycle change and the converter responds, in time, to the step. The situation differs in Figure 6 where the sweep time is reduced to 10 s. In this particular case, the inductor average current cannot positively answer the required change and the output current drops. The same occurs in the output voltage and, if a voltage loop would be involved, an oscillation would take place.
2 590m 24.000 1
200 s
588m plot1 vduty in volts 23.996 vout in volts
59% Vout(t)
d(t)
586m
23.992
584m
23.988
582m
23.984
58.3%
4 3 139m 318m
IL(t) Iout(t)
119m
278m
109m
258m
99.0m
Figure 5: when the duty cycle is slowly swept, the output voltage stays positive and the control law works in the right direction.
1 590m 24.000
10 s
59%
588m plot1 vduty in volts 23.996 vout in volts
d(t)
Vout(t)
586m
23.992
584m
23.988
582m
23.984
58.3%
Vout drops!
3 4
139m
318m
IL(t) Iout(t)
119m
278m
109m
258m
99.0m
238m 100u
Iout drops!
300u 500u time in seconds 700u 900u
Figure 6: if the duty cycle is quickly swept, the average inductor current limits the output current slew rate and the output voltage drops until the current builds-up. During a short time, the control law is reversed! Based on the above observations, we can state that:
In CCM, the average inductor current is limited in slew rate by the available voltage during the duty cycle change. A large inductor worsens the situation, a small inductor improves it. If the duty cycle change imposed by the feedback loop tries to set an output current variation beyond the inductor slew rate capabilities, the output voltage drops and oscillations occurs. On the contrary, slower duty cycle changes will correctly propagate to the output without endangering the loop stability. As a preliminary conclusion, if we limit the duty cycle slew rate or simply truncate the available loop bandwidth, we have a means to fight the control-to-output RHPZ inherent to the CCM boost converter.
Now that we have physically observed the potential instability, let us try to develop a small-signal model. Small signal study Equation 1 represents a non-linear large signal expression. To deal with a small-signal ac equation in which poles and zeros could appear, we need to apply a linearization process around an operating point. There are two ways to do it: 1. Perturb all dc terms with a small ac modulation. That is to say, replace all terms susceptible to change by a static value plus an ac modulation:
out = I L + i L 1 D + d I out + i
)( (
))
(11)
DI + i Di out = I L dI L di L I out + i L L L
(12)
Collect and sort dc terms and ac terms to form two different equations. Get rid of the ac cross products as they are of negligible contribution (small by small leads to a smaller result):
I out = I L DI L = I L (1 D )
(13) (14)
out = i L (1 D ) dI i L
We now have a dc equation which gives us the bias point of our boost converter. The ac equation is the small-signal response of the output current to a perturbation in the inductor current and the duty cycle. This is the equation we are looking for. The second method deals with partial derivative. In some cases, the individual variable perturbations can lead to complicated expressions where the final sort of dc and ac equations represents a tedious exercise. When the bias point is already known, it is faster to use partial derivatives. A partial derivative actually evaluates the sensitivity of a function to its individual variables. The result is then the ac equation we are looking for, without dc terms and without neglecting ac cross products. Applying the method to Eq. 1, we have:
2.
(15)
L appears. What is the expression of an ac inductor current? Simply In Eqs. (14) or (15), the ac inductor current i
the ac inductor voltage divided by the inductor impedance. Let us find the expression of the ac inductor voltage by first deriving its average large signal expression, what we already did with Eq. (4). On average, when the converter is at the equilibrium, this equation gives zero. However, under an ac excitation, the average inductor voltage is also ac modulated across zero. By using the partial derivative option, we can see that the ac inductor voltage, in this case, is expressed by:
L = v out ( D 1) + dV v out
(16)
From Eq. (4), we can see that the input term Vin has disappeared since the input voltage is considered constant during the ac analysis. Furthermore, if we consider a large output capacitor, its impedance at the ac excitation can be considered close to zero, helping to further simplify the expression to:
L dV v out
Having the ac inductor voltage, it is easy to obtain the ac inductor current we are looking for:
(17)
L ( s ) = vL ( s ) = d ( s ) Vout i ZL sL
Substituting Eq. (18) into Eq. (15) gives the final ac output current expression:
(18)
(19)
The average inductor current IL is the source current Iin. Considering a 100% efficiency power conversion, we can write:
Vout 2 R
(20)
I in = I L =
(21)
(22)
s 1 z2 = s
(23)
0 =
Vout D ' L
(24)
Rload D '2 z2 = L
(25)
From the above expression, we can see a pole at the origin given by the inductor L and a zero featuring a positive root: this is the RHPZ z2 we are looking for. Please note that both depend on the duty cycle and are moving in relationship to the input/output conditions. Applying the boost converter numerical values from our previous example, we have the following positions:
f 0 = 1.6 kHz
(26) (27)
f z2 = 6.6 kHz
In the low frequency domain, for s << z2 , the ac output current is dominated by the inductor pole and the phase lags to 90. The gain drops with a 1 slope until it crosses the 0-dB axis at
0 . It then continues
to further drop until the RHPZ kicks-in. With a LHP zero, the slope would brake from 1 to zero, as it does, but the phase would return to 90 when the frequency further increases. Given the negative sign in Eq. (23), the phase will further lag by 90, reaching a total of 180 in higher frequencies. We can easily calculate the asymptotic phase limits using Eq. (23):
tan 1 ( )
(28)
(s) i 1 1 lim arg out = tan ( 0 ) tan ( ) = 90 s 0 d (s) (s) i 1 1 lim arg out = tan ( ) tan ( ) = 90 90 = 180 s d (s)
(29)
(30)
Our average model from Fig. 4 lends itself very well to plotting Eq. (23). To further check the resulting curves, we have entered this equation into Mathcad and superimposed both results. As Figure 7 confirms, they are equivalent, showing the phase lag to 180 at high frequency.
40 40 20
phase
(s) i arg out d (s)
100
90
20 log( G0( 1i 2 f)
module
20 40 40 100 100 1 .10
3
140
2
Figure 7: in high frequency, the 90 phase rotation brought by the RHPZ cumulates with that from the origin pole, bringing the total phase rotation to 180.
The compensation of a system featuring such RHPZ is almost impossible given the phase stress as the crossover frequency approaches the RHPZ position. The only solution is to reduce the bandwidth to 20-30% of the worse case RHPZ position where the total phase stress remains manageable. By reducing the crossover frequency, the resulting duty cycle slew rate stays within acceptable boundaries where the inductor current can always keep up with the demand. Current mode control In current mode control, the controller does not directly drive the duty cycle but the inductor peak current. However, as the overall structure of the converter does not change, Eq. (15) remains the same. Since the duty cycle is now a consequence of the inductor peak current set point imposed by the control voltage Vc, let us rework Eq. (18) to extract the duty cycle as a function of the inductor current:
( s ) = sL i L ( s ) d Vout
If now substitute the above equation in Eq. (19), we obtain:
(31)
(32)
c L = v i Rsense
If we substitute Eq. (33) in Eq. (32) and re-arrange the result, we have:
(33)
(34)
G0 =
D' Rsense
(35)
Rload D '2 z2 = L
(36)
Unlike the voltage-mode equation (Eq. (23)), Eq. (34) teaches us the presence of a static gain G0 independent from the frequency below the RHPZ location. This is the consequence of the current mode technique whose inner current loop removes the inductor pole present in voltage mode control. One immediate comment concerns the RHPZ which is still there in current mode and occupies a same location as with the voltage mode case. Figure 8 depicts the same boost converter as before but now using a peak current mode controller, also described in Ref. [1]. This new average mode is capable of modelling sub-harmonic instabilities and can toggle between DCM and CCM modes. The control voltage is adjusted to deliver 24 V and it corresponds to a similar duty cycle as before: 58.3%. Applying the boost converter numerical values, the static gain G0 reaches 7.6 dB. Again, we have entered Eq. (34) in Mathcad and the resulting calculations are plotted in Figure 9 together with the SPICE-simulated waveforms. The agreement is fairly good until the sub-harmonic poles kick-in at half the switching frequency and further degrades the phase response.
VL
L1 1m
11
10.0V
X1 PWMCM L = 1m Fs = 100k Ri = -1 Se = 0
Iout
24.0V
7 6
583mV
3
duty-cycle
10.0V
PWM switch CM
IL1
Vout
24.0V
dc Vin 10V
R10 70m
24.0V
16
vc
269mV
1
Vduty
Vc 0.269
Figure 8: the voltage mode model is now replaced by the current mode sub circuit.
20
Sub-harmonic peaking
10 20 log( G3( i 2 f)
20
)
0
40
arg( G3( i 2 f) )
180
60
module
10 10 100 1 .10 f
3
80 1 .10
4
1 .10
Figure 9: the resulting ac SPICE simulation shows the peaking brought by the sub-harmonic poles. Here, the ramp compensation level is 50% of the inductor current downslope. Reference [2] offers another interesting way to evaluate the RHPZ position in a boost converter. Using the high-frequency small-signal response of the converter, the author calculates the temporal response of the
out ( s ) v transfer function to a duty cycle transient step. In a separate paragraph, he graphically calculates the (s) d
output voltage variation related to the average output current change engendered by a similar abrupt duty cycle change. As both voltages should be equal, the RHPZ is further unveiled in a unique way. Reference [3] also documents the RHPZ aspects and is worthwhile to consult. Conclusion Converters implementing an indirect energy transfer type of conversion suffer from the presence of a right-half-plane zero when operated in CCM. These converters must first store the energy in the inductor during a certain time before dumping it into the output capacitor during the rest of the cycle. If the duty cycle quickly changes in response to a perturbation, the inductor naturally limits the current slew rate and the output voltage drops. A way to limit the vicious effects of the RHPZ is to limit the available loop bandwidth to 20-30% of the worse case RHPZ position. That way, the duty cycle slew rate is limited and remains always slower than the minimum inductor slew rate. The calculations show that the RHPZ exists in CCM fixed-frequency voltage mode and current mode techniques, occupying a similar position. In a next article, we will show how to compensate a converter featuring a RHPZ with the help of SPICE models.
References 1. 2. 3. C. Basso, Switch Mode Power Supplies: SPICE Simulations and Practical Designs, McGraw-Hill, 2008 V. Vorprian, Fast Analytical techniques for ELECTRICAL and ELECTRONIC CIRCUITS, CAMBRIGE, 0-521-62442-8 L. Dixon, The right-half-plane zero a simplified explanation, Unitrode seminars SEM-500