When it comes to understanding currentmode control, one thing becomes painfully obvious: nine out of ten experts do not agree. For fixedfrequency operation, the vast majority of theory and modeling has focused on the classic peak currentmode method with a fixedslope compensating ramp. Some theory has been developed for average currentmode control but little exists for other methods.
Of the newer architectures developed, emulated peak currentmode control solves the problem of large stepdown ratios (high input voltage to low output voltage) while maintaining good noise immunity. While the classic peak currentmode theory can be used for design analysis with reasonable results, it doesn't explain all aspects of currentmode operation. A fresh approach to modeling fixedfrequency continuous conductionmode, currentmode control provides the solution for any peak or valleyderived architecture, including the emulated method.
In the first part of this twopart article, the basic operation of currentmode control is broken down into component parts, allowing a greater intuitive understanding for the practical designer. A comparison of the modulator gain is made with voltagemode operation. A simple analogy allows the optimal slopecompensation requirement to be met without any complicated equations.
In the second part of this article, which will appear in the June 2007 issue, a unified model using general gain parameters is developed, along with simplified design equations. An indepth treatment of the analysis and theory is presented for the advanced reader. This general modeling technique explains how previous models can coexist and complement each other on various aspects of the currentmode control theory.
CurrentMode Control Fundamentals
There are a great deal of misconceptions and misinformation about currentmode control within the power electronics industry. Papers on the topic that have been written at the graduate or Ph.D. level are hard to understand, and many of the concepts introduced are difficult to put into practical use. This article aims to demystify currentmode control, and cut through the myths and misconceptions of its operation.
For currentmode control, there are three factors to consider. First, an ideal currentmode converter is only dependent on the dc or average inductor current. The inner current loop turns the inductor into a voltagecontrolled current source, effectively removing the inductor from the outer voltage control loop at dc and low frequency.
The second factor to consider is modulator gain, which is dependent on the effective slope of the ramp presented to the modulating comparator input. Each operating mode will have a unique characteristic equation for the modulator gain.
The third consideration is slope compensation. The requirement for slope compensation is dependent on the relationship of the average current to the value of current at the time the sample is taken. For fixedfrequency operation, if the sampled current were equal to the average current, there would be no requirement for slope compensation.
CurrentMode Operation
Whether the currentmode converter uses the peak, valley, average or sampleandhold method is of secondary importance to the operation of the current loop. As long as the dc current is sampled, currentmode operation is maintained. The currentloop gain splits the complexconjugate pole of the output filter into two real poles, so that the characteristics of the output filter are set by the capacitor and load resistor. Only when the impedance of the output inductor equals the currentloop gain does the inductor pole reappear at higher frequencies.
To understand how this works, voltagemode operation is first examined. The basic concept of pulsewidth modulation (PWM) is used to establish the criteria for the modulator gain. This allows a linear model to be developed, illustrating the dc and acgain characteristics.
Having established the basic modulator concept, the current loop is added by sensing the inductor current and feeding the sensed signal back to the modulator. For simplicity, the buck regulator is used to illustrate the operation.
VoltageMode Control
Fig. 1 shows a voltagemode PWM circuit. It uses a comparator to modulate the duty cycle (D). The fixedfrequency operation of this circuit is shown in Fig. 2, where a sawtooth voltage ramp (VRAMP) is presented to the inverting input. The control or error voltage is applied to the noninverting input. The modulator gain (FM) is defined as the change in control voltage (VC), which causes the duty cycle to go from 0% to 100%:
The modulator voltage gain (KM), which is the gain from the control voltage to the switch voltage (VSW), is defined as:
where VIN is the voltage applied to S1 in Fig. 3.
For voltagemode operation, the controltooutput transfer function is found by multiplying the modulator voltage gain by the outputfilter response. With VIN = 10 V and VRAMP = 1 V, KM = 10, which is 20 dB. Figs. 3, 4 and 5 show the schematic, the linear model and the frequency response plot for a voltagemode buck regulator, respectively. The complexconjugate pole of the LC output filter is clearly seen, with the resulting 180degree phase shift occurring at approximately 8 kHz.
Current Mode
The same PWM function occurs for currentmode control, except that monitoring the inductor current creates the ramp. This signal is comprised of two parts: the acripple current and the dc or average value of the inductor current. The output of the currentsense amplifier is summed with an external ramp (VSLOPE) to produce VRAMP at the inverting input of the comparator.
In Fig. 6, the effective VRAMP = 1 V, which was used for the voltagemode modulator. With VIN = 10 V, the modulator voltage gain KM = 10.
The linear model for the current loop is an amplifier (Fig. 7), which feeds back the dc value of the inductor current, creating a voltagecontrolled current source. This is what makes the inductor disappear at dc and low frequencies (Fig. 8) while the acripple current sets the modulator gain.
The currentsense gain (RI) is usually expressed as the product of the currentsense amplifier gain (GI) and the resistance of the sense resistor (RS):
RI = GI × RS.
The currentsense gain is an equivalent resistance, the units of which are V/A. The currentloop gain is the product of the modulator voltage gain and the currentsense gain, which is also in units of V/A. The modulator voltage gain is reduced by the equivalent divider ratio of the load resistor (ROUT) and the currentloop gain KM × RI. This sets the dc value of the controltooutput gain. Neglecting the dc loss of the sense resistor:
This is usually written in factored form:
The dominant pole in the transfer function (ωP) appears when the impedance of the output capacitor (COUT) equals the parallel impedance of the load resistor and the currentloop gain:
The inductor pole (ωL) appears when the impedance of the inductor equals the currentloop gain:
The current loop creates the effect of a lossless damping resistor, splitting the complexconjugate pole of the output filter into two real poles. For currentmode control, the ideal steadystate modulator gain may be modified, depending on whether the external ramp is fixed or is proportional to some combination of input and output voltage. Further modification of the gain is realized when the input and output voltages are perturbed to derive the effective smallsignal terms. However, the concepts remain valid despite smallsignal modification of the ideal steadystate value.
CurrentMode Slope Compensation
The difference between the average inductor current and the dc value of the sampled inductor current can cause instability for certain operating conditions. This instability is known as subharmonic oscillation, which occurs when the inductor ripple current does not return to its initial value by the start of the next switching cycle. Subharmonic oscillation is normally characterized by observing alternating wide and narrow pulses at the switch node. Adding an external ramp (slope compensation) to the currentsense signal prevents this oscillation.
Formal derivation of the criteria for slope compensation is covered in reference 1. For the purpose of this analysis, a discussion of feedforward techniques and some illustrations will suffice.
For the buck regulator, the modulator voltage gain (KM) was found to be VIN / VRAMP. For voltagemode operation, the gain varies with VIN. Feedforward techniques are often employed to stabilize the gain. This is typically done by generating VRAMP with a voltagecontrolled current source or a fixed resistor charging a capacitor from VIN.
Peak currentmode control is often referred to as having inherent line feed forward. While basically true, this is not quite ideal. The sensed inductor upslope — which is used as VRAMP / T for the modulator, where T is the switching period — is equal to (VIN  VO) × (RI / L). In order to stabilize the gain, an external ramp of VSLOPE / T = VO × (RI / L) must be added to the currentsense signal. The result is VRAMP / T = VIN × (RI / L).
Fig. 9a and 9b shows the underdamped condition, where subharmonic oscillation occurs with a duty cycle greater than 50%. The relationship of Q as shown in the graphs is defined in reference 1. To demonstrate the underdamped condition, VSLOPE / T = (0.1) × VO × (RI / L). By adding a compensating ramp equal to the downslope of the inductor current, any tendency toward subharmonic oscillation is damped within one switching cycle. These conditions are shown in Fig. 9c and 9d.
For peak currentmode control, when the slope of the compensating ramp is equal to onehalf the downslope of the inductor current, infinite line rejection is achieved. Though a desirable operating point, this represents a special case. As the theoretical limit for stability of the current loop, the tendency toward subharmonic oscillation increases as the duty cycle approaches unity. To ensure stability of the current loop, the optimal compensating slope remains equal to one times the downslope of the inductor current.
For valley current mode, the downslope of the inductor current is presented to the modulator, which is VO × (RI / L). This transposes the function of the external ramp. It is now necessary to use slope compensation equal to the upslope of the inductor current, so VSLOPE / T = (VIN  VO) × (RI / L). Again, the result is VRAMP / T = VIN × (RI / L).
For emulated peak current mode, the valley current is sampled on the downslope of the inductor current. This is used as the dc value of current to start the next cycle. A slopecompensating ramp is added to produce VRAMP at the modulator input.
The primary application for emulated peak current mode is high input voltage to low output voltage operating at a narrow duty cycle. In any practical design, device capacitance and wiring inductance may cause a significant leadingedge spike on the currentsense waveform, followed by an extended period of ringing. By sampling the inductor current at the end of the switching cycle and adding an external ramp, the minimum on time can be significantly reduced, without the need for blanking or filtering, which is normally required for peak currentmode control.
To determine the correct slope compensation, the most salient feature is the absence of any ramp from the inductor, since only the dc value of the valley current is sampled. Formal derivation in reference 1 has shown the optimal compensation to be VSLOPE / T = VRAMP / T = VIN × (RI / L). This is consistent with the results for both peak and valley buck regulators.
Since the slope compensation requirement is independent of the duty cycle, an interesting observation can be made. If the slope of the ramp is made less than (0.5) × VIN × (RI / L), the circuit will exhibit subharmonic oscillation at any duty cycle.
General SlopeCompensation Criteria
For any mode of operation (peak, valley or emulated), the optimal slope of the ramp presented to the modulating comparator input is equal to the sum of the absolute values of the inductor upslope and downslope scaled by the currentsense gain. This will cause any tendency toward subharmonic oscillation to damp in one switching cycle.
For the buck regulator, this is equivalent to a ramp whose slope is VIN × (RI / L).
Upslope = (VIN  VO) × (RI / L)
Downslope = VO (RI / L).
For the boost regulator, this is equivalent to a ramp whose slope is VO × (RI / L).
Upslope = VIN × (RI / L)
Downslope = (VO  VIN) × (RI / L).
For the buckboost regulator, this is equivalent to a ramp whose slope is (VIN + VO) × (RI / L).
Upslope = VIN × (RI / L)
Downslope = VO × (RI / L).
To avoid confusion, VIN and VO represent the magnitude of the input and output voltages as a positive quantity. By identifying the appropriate sensed inductor slope, it is easy to find the correct slopecompensating ramp.
Rethinking Assumptions
The basic currentmode buck regulator linear model has been developed with gain terms that can be related directly to the model. The three main considerations for currentmode control can be summarized as follows: First, for currentmode operation, the dc or average value of the inductor current must be sampled. Second, the modulator gain is set by the effective slope of the ramp presented to the modulating comparator input. Third, the requirement for slope compensation is dependent upon the relationship of the sampled current to the average value of the inductor current.
Previous researchers have assumed a fixed ramp for the slope compensation to simplify the analysis. When analyzing the peak currentmode buck with a fixedslope compensating ramp, the dcmodulator gain and the highfrequency criteria for slope compensation are identical. This result has been used to form conclusions about currentmode operation in general. Since the optimal slope of the compensating ramp for this mode is proportional to the downslope of the inductor current, the preferred method should be to make the compensating ramp proportional to VO.
Though seemingly trivial, the consequence of doing this is profound. In the second part of this article, general gain parameters and sampling gain terms will be introduced. The effect of proportional ramp terms and new operating modes identify limitations of existing models, which provides direction for further research.
Reference

Sheehan, Robert. “Emulated Current Mode Control for Buck Regulators Using Sample and Hold Technique,” 2006 Power Electronics Technology Exhibition and Conference. (An updated version of this paper, including complete appendix material, is available from National Semiconductor.)