SDG Electronics

Converter loop compensation

Type II/III op-amp or OTA synthesis with plant, compensator and loop Bode plots and actual rounded-component margins.

Development preview. Check the assumptions below before relying on a result. Calculations run in your browser.

Loading calculator…

How it calculates

Compensator: HC(s) = K/s × (1+s/ωz1)/(1+s/ωp1) × [Type III: (1+s/ωz2)/(1+s/ωp2)]

Assumptions

  • Op-amp network: Zfeedback = (R2 + 1/sC1) || 1/sC3; input is R1, or R1 || (R3 + 1/sC2) for Type III. Op-amp sign is included in the negative-feedback convention.
  • OTA Type III adds R3 in series with C2 across the upper divider resistor R1; R4 is the lower divider. Its second pole/zero ratio must be below 1/beta. The exact loaded divider is recalculated after component rounding.
  • OTA Type II uses feedback-divider ratio × gm × Zfeedback. Op-amp mode includes the upper divider resistor directly and does not multiply by the OTA divider ratio.
  • Current-mode plants use an ideal inner current loop and user-entered control-to-current gain; current-sampling poles, slope compensation, delays and finite error-amplifier bandwidth are omitted.
  • Margins are computed from the actual rounded network below fs/2. A Bode result from this reduced model does not replace injection measurement.

Worked example

These are the calculator's default inputs. Change any input above to recalculate.

Inputs

CCM power-stage approximation
buck-current
Error amplifier network
ii-opamp
Input voltage
12 V
Output voltage
5 V
Output load current
1 A
Inductance
0.000047 H
Effective output capacitance
0.0001 F
Output ESR
0.03 Ω
Switching frequency
300000 Hz
PWM ramp amplitude
1 V
Control-to-inductor-current gain
2 A/V
OTA transconductance
0.001 S
OTA feedback divider ratio
0.2
Target crossover
10000 Hz
First compensator zero
500 Hz
First compensator high-frequency pole
100000 Hz
Type III second zero
2000 Hz
Type III second pole
8000 Hz
Op-amp input / upper-divider R1
10000 Ω
Component rounding
E24

Results

First actual unity-gain crossover
9624.62 Hz
Minimum phase margin at swept crossovers
93.7625 °
Minimum gain margin at phase crossings
No −180° phase crossing below fs/2 dB
CCM right-half-plane zero
Not present in buck model Hz
R1
10000 Ω
OTA lower-divider R4
OTA modes only Ω
Feedback / compensation resistor R2
30000 Ω
Series compensation capacitor C1
1e-8 F

All electronics calculators