Boost Converter Control


Boost Converter Control

Simon
Let’s pick up with the basic boost-converter model. Its two state variables are the inductor current, I L, and the capacitor voltage, V out. The switch is controlled by q of t, or, in an averaged model, by its duty ratio. A voltage controller compares the output with a reference, processes the error, and uses that to decide the duty ratio.

Anna
And when we linearize around an operating point, we get a small-signal transfer function from changes in duty ratio to changes in output voltage. But that model comes with some complications: the converter’s dynamics depend on its operating conditions, and the transfer function can be difficult to control.

Simon
Exactly. Many converters are nonlinear, though not all of them are. In this case, the inductor and capacitor exchange energy, creating second-order oscillations, while the load resistance damps them. The switching or modulation mediates those dynamics, and its steady-state value depends on the input and output voltages. So changing the operating voltages can change the small-signal dynamics too.

Anna
The pole-zero picture adds two more challenges. There’s a right-half-plane zero, which comes from the converter’s underlying energy-processing behavior—not from a mathematical trick. And the two poles associated with the inductor, capacitor, and load can be very lightly damped, with the damping depending on the load resistance.

Simon
That combination makes controller design awkward. One option is to alter the plant: add a resistor and capacitor so the capacitor acts like a short near the oscillation frequency, letting the added resistor provide damping. That can improve the pole locations, but it means buying and adding hardware.

Anna
So instead of changing the hardware, we can change what we feed back. The general control idea is to feed back all the states in a controllable system. For a converter, that leads us to current-mode control: use a fast inner loop to control inductor current, and a slower outer loop to regulate output voltage.

Simon
Right. The outer voltage loop compares V out with its reference and uses a compensator to generate a current reference, often called I peak. The inner loop compares the sensed inductor current with that command and determines the switching. The current-mode idea has roots in the 1960s; the version we’re discussing became popular in the late 1970s and is widely used in DC-to-DC converter control chips.

Anna
What makes the loops fast and slow? The outer compensator works with averaged behavior, so it shouldn’t try to change its command rapidly within a switching cycle. The inner loop, by contrast, acts cycle by cycle: turn the switch on at the start of each cycle, then turn it off when the current reaches a threshold.

Simon
That threshold comes from a peak-current command with a ramp subtracted from it. During a cycle, the command is roughly constant, but the compensating ramp slopes downward. The inductor current rises with slope M1 while the switch is on. When it crosses the ramp-adjusted command, the switch turns off; the current then falls with slope M2 until the next cycle.

Anna
For a boost converter, those current slopes are M1 equals the input voltage divided by L, and M2 equals the output voltage minus the input voltage, divided by L. The same kind of switching picture applies to other converter types, though their slope formulas differ.

Simon
This is called peak current-mode control because the switch turns off based on the peak current. It gives cycle-by-cycle control of the inductor current and can limit how much current the converter processes. That’s a useful protection against excessive current and overheating, provided the converter is operating in a condition where the switch can actually control that current.

Anna
The boost-converter short-circuit case is an important qualification. If the output is shorted, the switch can’t control the inductor current in the same way. But while the output voltage is greater than the input voltage, the peak-current command can limit the current the converter processes.

Simon
The current command also responds to load changes through the outer loop. If the output voltage falls below its reference, the voltage error grows, the compensator raises the peak-current command, and the inductor carries more current. That transfers more energy to the output and helps bring its voltage back up. In that sense, the voltage loop indirectly controls input power, since input power depends on input voltage times input current.

Anna
How do we analyze the dynamics of this arrangement? Directly averaging and linearizing the switching behavior can get mathematically difficult. A useful workaround is to start with the existing averaged converter model, where duty ratio is the control input, and derive a relationship between duty ratio and the peak-current command.

Simon
The key approximation is geometric. Over one switching cycle, treat the local average inductor current as approximately the average of the triangular current waveform across that cycle. It’s not exactly the local average at every instant, but it’s a practical approximation for building the model.

Anna
Then we can calculate that average from the peak command and the areas of the triangles. If d is the duty ratio and T is the switching period, the approximation is: I L bar is about I peak, minus M c times d T, minus one-half d squared T times M1, minus one-half one-minus-d squared T times M2.

Simon
Those last two terms subtract the areas under the rising and falling triangular portions of the waveform, divided by the period. For a boost converter, we substitute M1 equals input voltage over L and M2 equals output voltage minus input voltage over L, then linearize around the operating point.

Anna
That gives a small-signal relationship between changes in duty ratio, peak current, inductor current, input voltage, and output voltage. In the notation from the model, with D prime equal to one minus D, the duty-ratio change is approximately the peak-current change minus the inductor-current change, divided by M c T, minus a term proportional to the input-voltage change, minus a term proportional to the output-voltage change.

Simon
More explicitly, the input-voltage term is minus the quantity D squared minus D-prime squared, divided by two L M c, times the input-voltage variation. The output-voltage term is minus D-prime squared, divided by two L M c, times the output-voltage variation. That lets us substitute for duty ratio in the converter’s existing linearized state-space equations.

Anna
And after that substitution, the peak-current command replaces duty ratio as the control input. We can form a new transfer function, H2 of s, from peak-current variation to output-voltage variation, and then design the outer voltage loop around that model.

Simon
The right-half-plane zero is still there. A change in the peak-current command still produces the converter’s characteristic counterintuitive initial output behavior, because that zero comes from how the converter processes energy. But the poles are generally much more helpful: instead of two very lightly damped poles, we tend to get one dominant, lower-frequency pole and another pole at a much higher frequency.

Anna
That makes the system easier to compensate, even though it’s still a second-order system—not literally first order. A useful rough picture is that the inner loop makes the current respond to our command, while the dominant pole reflects how that inductor current charges and discharges the output capacitor.

Simon
There’s one catch: using only the peak-current threshold, with no compensating ramp, can cause ripple instability. The current may not settle into the same waveform each switching cycle. It can alternate between different duty ratios, producing a subharmonic oscillation, and in some cases the behavior can become chaotic.

Anna
Even if the outer voltage loop still regulates, that irregular switching is undesirable. The current ripple can become much larger, the control can jitter, and lower-frequency ripple can show up at the output. The usual fix is the compensating ramp we’ve been discussing: subtract a ramp from the peak-current command so the cycle-to-cycle behavior settles down.

Simon
We can see why by comparing the actual current at the start of a cycle with its periodic steady-state value. Call the difference delta I n. After one cycle, the difference becomes delta I n plus one. For the sloped current-mode scheme, the ratio from one cycle to the next is delta I n plus one over delta I n equals the quantity M c minus M2 divided by M c plus M1.

Anna
So the initial error decays if the magnitude of that ratio is less than one. Increasing M c makes the ratio smaller in magnitude; if M c equals M2, this idealized error disappears in one cycle. In practice, we choose a ramp large enough to make the ripple settle in a reasonable number of cycles, perhaps aiming for a ratio magnitude below something like 0.5 or 0.7.

Simon
For a boost converter with no compensating ramp, M c equals zero, so the ratio’s magnitude is M2 over M1. That becomes greater than one above a duty ratio of one-half, which is why a boost converter can develop subharmonic oscillation near or above 50 percent duty ratio without slope compensation.

Anna
But more ramp isn’t always better. M c also appears in the averaged small-signal model, so changing it changes the converter’s dynamics. A small ramp can give the more favorable dominant-pole and high-frequency-pole behavior; making the ramp too large can move the poles in an undesirable direction and make the response resemble duty-ratio control more closely.

Simon
So the practical choice is a balance: use enough slope compensation to tame the cycle-to-cycle ripple instability, but don’t make it unnecessarily large. Designers can analyze the current slopes, choose a suitable ramp, and then use that same value in the averaged model to design the outer voltage compensator.

Anna
And the demonstration makes the effect visible. With the compensating ramp, the converter switches in a mostly repeatable pattern each cycle. Turn the ramp off, and the duty ratio jumps around from cycle to cycle; turn it back on, and the steady ripple returns.

Simon
The amount of instability also depends on operating conditions: at a lower boost ratio, it may disappear even without the ramp, while a higher boost ratio can bring out the irregular behavior. That’s another reminder that converter dynamics depend on the operating point.

Anna
So the big picture is: current-mode control adds an inner cycle-by-cycle current loop and keeps the outer loop focused on voltage regulation. It improves the pole behavior, provides useful current limiting, and—when paired with an appropriately chosen compensating ramp—avoids troublesome subharmonic ripple. The right-half-plane zero remains, but the resulting controller-design problem is usually much more manageable.

Ask anything
We've read this whole study set, so questions about it get the best answers.