S1118 of 55
0 XP
  1. Hook
  2. Play
  3. Predict
  4. Name it
  5. Check
  6. Explain

S11 · Lesson 18 · Designing the voltage-mode controller

Choosing the crossover frequency, type II and type III compensators built around an error amplifier, placing their zeros at the LC resonance and their poles near half the switching frequency, and a complete design for a voltage-mode buck

A voltage-mode buck with ceramic capacitors is a hard plant: a lightly damped LC resonance swings its phase from 0° to nearly −180°, and with no ESR zero nothing brings it back. Any crossover above the resonance meets almost −180° of plant phase, so the compensator must supply phase lead on top of the integrator's −90°. The standard answer is the type III compensator: an integrator, two zeros near the resonance to cancel it, and two poles at high frequency to roll off noise. This lesson designs one.

  • The loop gain of the 12 V to 3.3 V buck (L = 10 µH, C = 22 µF ceramic, a 1.65 Ω load, a 1 V PWM ramp and 0.8 V reference) with a type III compensator: integrator gain ωI, a double zero at fz and a double pole at fp.
  • The defaults cross over at 50 kHz, a tenth of the 500 kHz switching frequency, with 54° of phase margin.
  • Move the zeros above the resonance and watch the phase margin collapse; lower ωI and the crossover drops.

Predict

The buck's plant has −175° of phase at 50 kHz. A type III compensator with an integrator, two zeros at 8 kHz and two poles at 250 kHz adds how much phase there?

Name it

Choosing the crossover

The averaged model is only valid well below fs, and the PWM adds delay, so crossover is usually placed at fs/10 to fs/5. A boost or buck-boost must also stay well below its RHP zero (a fifth of it or less).

Compensator types (built around an op-amp error amplifier)

  • Type I: an integrator, ωI/s. Enough only for very slow loops.
  • Type II: integrator plus one zero and one pole, ωIs1+s/ωz1+s/ωp, giving up to nearly 90° of boost. Suits plants that look first-order near crossover: current-mode control (lesson 23) or capacitors with a low ESR zero.
  • Type III: integrator plus two zeros and two poles, up to nearly 180° of boost. Needed for voltage-mode control with ceramic capacitors.

Type III placement

  1. Put the two zeros at or a little below the LC resonance f0, to cancel its −180°.
  2. Put the two poles near fs/2 (or at the ESR zero), to attenuate switching noise.
  3. Choose ωI so |T|=1 at the target crossover.
  4. Check the phase margin (aim for 45 to 60°) and the gain margin, and simulate a load step.

The phase margin at crossover is 180°+∠GvdH/VM+∠Gc.

Worked example

Complete the type III design for the buck.

Show the solution
  1. The plant. GvdH/VM has a DC gain of G0=12×0.2424/1=2.91 with its resonance at 10.73 kHz and Q = 2.45.
  2. Integrator gain. With zeros at 8 kHz and poles at 250 kHz, making |T| = 1 at 50 kHz takes ωI=58300rad/s
  3. Margins. The loop crosses at exactly 50 kHz with a 54.5° phase margin, and its phase reaches −180° at 238 kHz, where the gain margin is 19.4 dB.
  4. Step response. The closed-loop reference step overshoots 16% and settles within 2% in 85 µs.

Answer ωI = 58,300 rad/s gives a 50 kHz crossover with 54.5° of phase margin and 19.4 dB of gain margin; a reference step overshoots 16% and settles in 85 µs.

Worked example

Why not put the zeros exactly on the resonance?

Show the solution
  1. What happens at the resonance. The plant phase is changing fastest there, and its Q depends on the load, which varies.
  2. Placing the zeros a little below. That keeps their phase boost fully developed by the crossover and tolerates resonance shifts, at the cost of a small gain bump.
  3. The numbers here. With zeros at 10.7 kHz instead of 8 kHz, the phase margin falls to 48°.

Answer zeros a little below the resonance keep their phase boost fully developed at crossover and tolerate a shifting resonance; zeros on the resonance would cut the margin here to 48°.

Worked example

A current-mode buck looks like a single pole near its 30 kHz target crossover. A type II compensator puts its zero at 6 kHz and its pole at 150 kHz. How much phase does it give back at crossover?

Show the solution
  1. The integrator. It costs 90°.
  2. The zero–pole pair. ϕ=tan−1⁡(30/6)−tan−1⁡(30/150)=78.7°−11.3°=67.4°
  3. Why that's the most it can give. 30 kHz is the geometric mean of 6 and 150 kHz, so this is the pair's maximum: sin−1⁡150−6150+6=67.4°
  4. The margin. With the plant's own −90° from its pole, the loop keeps a margin near 67°, which is why current mode rarely needs type III.

Answer the pair gives back 67.4°, leaving a phase margin near 67°.

Check

A type III compensator has an integrator, two zeros at 8 kHz and two poles at 150 kHz. What phase does it contribute at 60 kHz?

Check

A second-order plant 1/(1+s/Qω0+s2/ω02) with Q = 1. What's its phase at 4 times f0?

Check

A plant's magnitude is 3 (flat) near the crossover, and the compensator is a pure integrator ωI/s. What ωI puts the crossover at 20 kHz?

Write units the way you normally would: 1.5 rad/s and 1500 mrad/s are the same answer.

Check

At crossover the plant's phase is −160° and the compensator adds 20°. What's the phase margin?

Check

A boost at D = 0.6 with L = 22 µH feeds 40 Ω. By the one-fifth rule, how high may its crossover be set?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Check

A type II compensator's zero is at 2 kHz and its pole at 50 kHz. What's the most phase boost its zero–pole pair gives?

Check

A type II compensator has its zero at 5 kHz and its pole at 50 kHz.

(a)

How much phase does the zero–pole pair add at 40 kHz?

(b)

At what frequency is that boost largest?

Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.

Check

A zero at z and a pole at p (p > z) in a compensator.

Step 1

Where is their phase boost largest?

Type it the way you would write it, like 3sin(2πft) or 3*sin(2*pi*f*t). Angles can be in radians or carry a degree sign, like 45°.

Explain why

Why does a voltage-mode buck with ceramic output capacitors need a type III compensator?

Practice

Keep practicing

10 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.