current mode compensation article - texas...

12
Confidential Final Peak Current-Mode DC-DC Converter Stability Analysis Timothy Hegarty (email: [email protected] ) Principal Engineer, Infrastructure Power Division (IPD), National Semiconductor, Tucson AZ I. Introduction The popularity and perceived advantages of current-mode control (CMC) have made it de rigueur as a loop control architecture with many power management IC manufacturers and power supply vendors. Also known as multi- loop control, an external voltage loop and a wide-bandwidth inner current loop are standard. Peak, valley, average, hysteretic, constant on-/off-time, and emulated (sample- and-hold) current-mode techniques are realizable. But each technique, like being the most famous golfer in the world, has upsides and downsides. Top of the agenda is usually peak current-mode control (PCMC) with slope compensation. Notable advantages of PCMC include automatic input line feedforward, inherent cycle-by-cycle overload protection, and current sharing capability in multi-phase converters. Acute shortcomings are current loop noise sensitivity and switch minimum on- time limitations, particularly in high step-down ratio, non-isolated converter applications. The emulated architecture [1,5] largely alleviates these shortcomings, however, while preserving the benefits of PCMC. Loop stability in fixed switching frequency, naturally-sampled, peak current-mode controlled, buck-derived DC-DC converters 1 is the basis for this discussion. Section II. underpins the peak current-mode architecture operating principles while section III. presents the small-signal model, including control-to-output transfer function, of the current-mode buck converter. Design of the current loop, including condition for slope compensation, is pursued in section IV.. Section V. provides insight into the compensator transfer function using an error amplifier with finite gain-bandwidth characteristic. The reader solely interested in current-mode control loop compensation can read the abridged version of this article by proceeding directly to section VI. where low entropy, understandable expressions are derived from the context of the small-signal model and from which an intuitive compensator design procedure for a PCMC buck converter is illustrated. The simplicity and expediency of the 1 Valley current-mode control has been eschewed given its slope compensation implementation difficulties and poor line feed-forward characteristic. Hysteretic current-mode control has excellent transient response but requires variable switching frequency. Average current- mode control, widely used in low THD PFC boost pre-regulators, benefits from elimination of the external ramp, increased low frequency current loop gain, and improved noise immunity. The present discussion concentrates on fixed frequency DC-DC applications where PCMC is the prevalent control architecture. Draft Article Final Rev 2/18/2010 Page 1 of 12

Upload: trinhkhanh

Post on 09-May-2018

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

Peak Current-Mode DC-DC Converter Stability Analysis

Timothy Hegarty (email: [email protected])Principal Engineer, Infrastructure Power Division (IPD), National Semiconductor, Tucson AZ

I. IntroductionThe popularity and perceived advantages of current-mode control (CMC) have made it de rigueur as a loop control architecture with many power management IC manufacturers and power supply vendors. Also known as multi-loop control, an external voltage loop and a wide-bandwidth inner current loop are standard. Peak, valley, average, hysteretic, constant on-/off-time, and emulated (sample-and-hold) current-mode techniques are realizable. But each technique, like being the most famous golfer in the world, has upsides and downsides. Top of the agenda is usually peak current-mode control (PCMC) with slope compensation. Notable advantages of PCMC include automatic input line feedforward, inherent cycle-by-cycle overload protection, and current sharing capability in multi-phase converters. Acute shortcomings are current loop noise sensitivity and switch minimum on-time limitations, particularly in high step-down ratio, non-isolated converter applications. The emulated architecture[1,5]

largely alleviates these shortcomings, however, while preserving the benefits of PCMC.

Loop stability in fixed switching frequency, naturally-sampled, peak current-mode controlled, buck-derived DC-DC converters1 is the basis for this discussion. Section II underpins the peak current-mode architecture operating principles while section III presents the small-signal model, including control-to-output transfer function, of the current-mode buck converter. Design of the current loop, including condition for slope compensation, is pursued in section IV. Section V provides insight into the compensator transfer function using an error amplifier with finite gain-bandwidth characteristic. The reader solely interested in current-mode control loop compensation can read the abridged version of this article by proceeding directly to section VI where low entropy, understandable expressions are derived from the context of the small-signal model and from which an intuitive compensator design procedure for a PCMC buck converter is illustrated. The

1Valley current-mode control has been eschewed given its slope compensation implementation difficulties and poor line feed-forward characteristic. Hysteretic current-mode control has excellent transient response but requires variable switching frequency. Average current-mode control, widely used in low THD PFC boost pre-regulators, benefits from elimination of the external ramp, increased low frequency current loop gain, and improved noise immunity. The present discussion concentrates on fixed frequency DC-DC applications where PCMC is the prevalent control architecture.

simplicity and expediency of the procedure renders it viable for everyday use by the practicing power electronics engineer. A design example based on a commercially available PWM controller is offered in section VII while SIMPLIS simulation is outlined in section VIII to qualify the theoretical analysis.

II. Peak Current-Mode Control and Slope Compensation Review

The converter in Figure 1 is that representing a single-phase buck topology operating in continuous conduction mode (CCM), and whose duty cycle, D, is determined by recourse to the principles of PCMC. Note that the parasitic resistances of the filter inductor and output capacitor are denoted explicitly. Other buck-derived power stage topologies – including isolated forward, full-bridge, voltage-fed push-pull – could also be inserted here, while retaining a similar loop configuration (feedback isolation excepted).

Figure 1: DC-DC synchronous buck converter schematic of power train, driver stage and peak current-mode PWM control loop structure with

transconductance error amplifier

In a peak current-mode architecture, the state of the inductor current is naturally sampled by the PWM comparator. The outer voltage loop employs a type-II

Draft Article Final Rev 2/18/2010 Page 1 of 8

Page 2: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

voltage compensation circuit and a conventional transconductance type error amplifier (EA) is shown with its inverting input, labeled the feedback (FB) node, connected to feedback resistors Rfb1 and Rfb2. A compensated error signal appears at the EA output, labeled COMP, the outer voltage loop thus providing the reference command for the inner current loop. COMP effectively represents the programmed inductor current level.

The current loop converts the inductor into a quasi-ideal voltage-controlled current source, effectively removing the inductor from the outer loop dynamics, at least at DC and low frequencies. In fact, the current loop acts as a lossless damping resistor by splitting the complex conjugate poles of the LC filter into two real poles – one pole appears at low frequency and is related to the output capacitor and load resistance; the other pole reappears at high frequency when the inductor impedance equals the current loop gain[1].

The current sensing location in Figure 1 is shown schematically after the inductor. The implementation could be a discrete shunt resistor, or losslessly using inductor DCR current sense or MOSFET on-state resistance[2]. Alternatively, a current sense transformer can be exploited but only if the current sense location is such that the current waveform is zero for part of the switching period to allow transformer reset, e.g. in series with the high-side FET. In any event, the equivalent linear amplifying multiple is given by

where Gi is the current sense amplifier gain (if used) and Rs is the current sensor gain given by one of

A perfect current-mode converter relies only on the DC or average value of inductor current. In practice, a peak-to-average error exists in a PCMC implementation and this error can manifest itself as a sub-harmonic oscillation of the current loop in the time domain at duty cycles above 50%. Slope compensation is the well-known technique of adding a ramp to the sensed inductor current to obviate the risk of this sub-harmonic oscillation. Figure 2 illustrates how a turn-on command is activated when the clock edge sets the PWM latch. A

turn-off command is imposed when the sensed inductor current peak plus slope compensation ramp reaches the COMP level and the PWM comparator resets the latch. This is known as trailing edge modulation. Se, earmarked in Figure 2, is the external slope compensation ramp slope and Sn and Sf are the on-time and off-time slopes of the sensed current signal, respectively. is the duty cycle complement.

Figure 2: Time sequence diagram of the peak current-mode modulator waveforms

III. CMC Small-Signal Analysis Review

The analytical nexus around which a small-signal dynamic model is based on Middlebrook and Cuk’s famous state space averaging (SSA) technique or Vorpérian’s PWM switch model. An intuitive model of the small-signal current-mode system is illustrated in the block diagram format of Figure 3[1].

Draft Article Final Rev 2/18/2010 Page 2 of 8

Page 3: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

Figure 3: Simplified small-signal control loop block diagram of a buck converter with peak current-

mode control

Modulator gain KM is the gain from the duty cycle to the switch node voltage. Contingent upon the load characteristic, Ro represents the small-signal AC load resistance given by

whereas R represents the DC operating point of the load. The component Rdc in Figure 3 is the cumulative series resistance attributed to the inductor DCR, MOSFET on-state resistance, and PCB trace resistance

From Figure 3, the small-signal AC variation of the switch node and output voltages are written as

Thus

This describes the small-signal behavior of the modulator and power stage when the small-signal input voltage variation is zero. The expressions for impedances Zo(s) and ZL(s) can be substituted into to obtain the pole/zero form of the control-to-output transfer function as

H(s), the high-frequency extension in the control-to-output transfer function to model the modulator sampling gain, is discussed in more detail in the next section. The relevant gain coefficients can be derived as

The dominant filter pole and capacitor ESR zero frequencies are given respectively by

A typical control-to-output transfer function frequency response is elucidated in Figure 4. The pole and zero locations are denoted by and o symbols, respectively.

Figure 4: Typical control-to-output small-signal frequency response

Draft Article Final Rev 2/18/2010 Page 3 of 8

Page 4: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

IV. Modulator Sampling Gain and Optimum Slope Compensation

A current-mode control system is a sampled system, the sampling frequency of which is equal to the switching frequency (except hysteretic). A traditional low-frequency averaged model can be modified to include the sampling effect in the current loop by one of two generally accepted methods:

1. Include a complex RHP double zero term, , in the current feedback path as advised by Ridley[3]

and included in Figure 3

This is represented in the control-to-output transfer function as a pair of complex RHP poles such that

For any converter, the quality factor, Q, is

with the slope compensation parameter defined as

2. Insert a real pole of frequency in series with the modulator gain block as averred by Tan and Middlebrook[4] such that

where Q is also defined by .

For single-cycle damping of an inductor current perturbation, the baseline requirement is that the slope

compensation ramp should equal the inductor down-slope[1], i.e.

Accordingly, a perturbed inductor current will return to its original value in one switching cycle and the resultant Q factor, calculated from , is equal to 2/ or 0.637. Even though most PCMC implementations exploit a fixed slope compensation ramp amplitude, the ideal slope compensation level is proportional to output voltage. Note that excessive slope compensation increases mc, decreases Q, and reduces the current loop gain and bandwidth. This portends additional phase lag in the voltage loop and stymies the maximum attainable crossover frequency. The load pole and sampling-gain pole converge and the system is inherently tilted towards voltage-mode control. Conversely, insufficient slope compensation decreases mc and increases Q, causing peaking in the current loop gain and ultimately voltage loop instability as duty cycles exceeds 50%.

V. Compensator Transfer FunctionA type II compensator using an EA with transconductance, gm, is shown in Figure 5. The dominant pole of the EA open-loop gain is set by the EA output resistance, REAout, and effective bandwidth-limiting capacitance, Cbw, as follows

The influence of any EA high frequency parasitic poles is neglected in the above expression. The compensator transfer function from output voltage to COMP, including the gain contribution from the feedback resistor divider network, is given by

with

and the feedback attenuation factor is

Draft Article Final Rev 2/18/2010 Page 4 of 8

Page 5: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

Figure 5: Transconductance EA small-signal representation; the components representing two

poles and one zero are circled

Evaluating gives an expression of the form

As and are well separated in frequency, the low Q approximation applies and becomes

where

Typically, and

the approximations set forth in are valid. The components creating the two compensator poles and

one compensator zero are circled in Figure 5. The typical frequency response of the open-loop EA and the compensator is given in Figure 6.

Figure 6: Open-loop EA and compensator small-signal frequency response

Here, the feedback attenuation is unity and the EA has open-loop DC gain of 50dB and 5MHz single-pole gain-bandwidth characteristic. Again, the poles and zeros are denoted with and o symbols, respectively, and a + symbol indicates the EA bandwidth. Note that the 180 phase lag related to the EA in the inverting configuration is not included in the phase plots.

Compensator pole pEA1 appears at very low frequency and can be superseded by an integrator term. simplifies to

The integrator gain term, Ac, is given by

Note that both feedback resistors, Rfb1 and Rfb2, factor into the control loop gain when a transconductance type EA is used. In contrast, if an op-amp type EA is employed, the FB node is effectively at AC ground and Rfb2 bears no influence on the loop dynamics.

Draft Article Final Rev 2/18/2010 Page 5 of 8

Page 6: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

VI. CMC Compensator DesignA frequently employed, yet corrigible, compensation strategy is to equate the control-to-output transfer function to the compensator transfer function term by term to attain a single-pole –20dB/decade roll-off of the loop response. To demonstrate, consider

one compensator pole, pEA1, positioned to provide high gain in the low frequency range, minimizing output steady state error for better load regulation;

one compensator zero located to offset the dominant load pole, zEA = p. Typically, the minimum load resistance (maximum load current) condition is used;

one compensator pole positioned to cancel the output capacitor ESR zero, pEA2 = esr;

The loop gain is expressed as the product of the control-to-output and compensator transfer functions. Substituting and , the loop gain is

The crossover frequency, c = 2fc, where the loop gain is 0dB, is usually selected between one tenth and one fifth of the switching frequency. If zEA = p and pEA = esr, the loop gain reduces to

Assuming a well designed current loop as described in section IV (Q = 0.637), the sampling-gain pole is located at 20-30% of switching frequency. This assumption precludes the case where too much slope compensating ramp is added. The magnitude of the loop gain at the dominant pole frequency is

Using basic bode plot principles, it is apparent that

A straight-forward solution for the crossover frequency is thus derived as

Finally, compensator component values can be calculated sequentially as

An initial value is selected for Rfb2 based on a practical minimum current level flowing in the divider chain. Note that the compensation zero frequency represents the dominant time constant in a load transient response characteristic. A large Ccomp capacitor is thus antithetical to a fast transient response settling time. Ccomp can be reduced, however, to tradeoff phase margin and settling time. A phase margin target of 50 to 60 is ideal. It is found that the compensator zero is optimally located above the load pole but below the power stage resonant frequency, , so that

Furthermore, a smaller compensation capacitance is advantageous when the transconductance EA has a low output drive current capability.

VII. CMC Compensator Design Example

The circuit operating conditions, key component values and control circuit parameters of a buck converter based on one channel of a LM5642X dual-channel synchronous buck PWM controller are specified in Table 1.

Vin 24V fs 375kHz Cbw 11pF

Vo 5.0V Rdc 5m Vslope 0.25V

Io 5A Resr 5m Se 94mV/s

Draft Article Final Rev 2/18/2010 Page 6 of 8

Page 7: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

D 0.208 Rs 20m Sn 353mV/s

L 5.6H Gi 5.2 mc 1.266

Co 50F gm 720-1 Q 0.634

Table 1: LM5642X buck converter parameters

The relevant gains and power stage corner frequencies are calculated using expressions through as follows:

The compensation component values, assuming a desired crossover frequency of 60kHz, are found using and as

Figure 7 shows a Mathcad derived loop gain and phase plot of the exemplified converter. The equivalent plots with an ideal EA are also shown. The phase margin, M, is the difference between the loop phase and –180 (EA inversion phase lag notwithstanding). Note that if Chf is not installed, the EA itself provides high-frequency attenuation by virtue of its finite gain-bandwidth.

Figure 7: LM5642X based buck converter loop gain and phase plot

VIII. SIMPLIS SimulationUsing a LM5642X PWM controller in a buck converter configuration per Table 1, a SIMPLIS switching mode circuit simulation is used to substantiate the analysis

Draft Article Final Rev 2/18/2010 Page 7 of 8

Page 8: Current Mode Compensation Article - Texas Instrumentse2e.ti.com/cfs-file/__key/communityserver-discussions... · Web viewPeak Current-Mode DC-DC Converter Stability Analysis Timothy

Confidential Final

heretofore. The SIMPLIS schematic is presented in Figure 8.

Figure 8: LM5642 based buck converter SIMPLIS AC analysis simulation schematic

The loop gain T(s) of the system is measured by breaking the loop at the upper feedback divider resistor, injecting a variable frequency oscillator signal, and analyzing the frequency response. The element with reference designator X1 in Figure 8 is the SIMPLIS clock edge trigger to find the circuit periodic operating point (POP) before running the AC analysis. The AC source with reference designator Vosc is the input stimulus for the AC sweep. Figure 9 illustrates the bode plot simulation result that aligns closely with the analytical result in Figure 7.

Figure 9: Bode plot simulation result

Using a SIMPLIS transient analysis, load-on and load-off transient responses are obtained using high (3.7nF) and low (1.5nF) compensation capacitor values chosen so that the compensator zero is located directly at the load pole and the power stage resonant frequencies, respectively. The load step is from 50% to 100% full load at 1A/s. It is evident that the lower compensation capacitance imputes a much more favorable settling time. Interestingly, this is achieved with very little

relative change in the bode plot: approximately 1kHz decrease in crossover frequency and 4 less phase margin using the 1.5nF capacitor.

Figure 10: Load step transient response simulation with two values of compensation capacitance

IX. Further Reading[1] R. Sheehan, National Semiconductor, ‘Current-Mode Modeling – Reference Guide’, http://www.national.com/analog/power/conference_paper_design_ideas

[2] National Semiconductor LM5642 High Voltage, Dual Synchronous Buck Converter with Oscillator Synchronization from the PowerWise® Family, http://www.national.com/pf/LM/LM5642.html

[3] R. B. Ridley, ‘A New, Continuous-Time Model for Current-Mode Control’, IEEE Transactions on Power Electronics, Vol. 6, No. 2, April 1991, pp. 271-280.

[4] F. D. Tan, R. D. Middlebrook, ‘A Unified Model for Current-Programmed Converters’, IEEE Transactions on Power Electronics, Vol. 10, No. 4, July 1995, pp. 397-408.

[5] National Semiconductor LM3000 Dual Synchronous Emulated Current-Mode Controller from PowerWise® Family, http://www.national.com/pf/LM/LM3000.html

Draft Article Final Rev 2/18/2010 Page 8 of 8