Averaged buck-boost converter

power.averaged_buck_boost

Inverting DC-DC converter averaged over one switching period, in continuous conduction: L iL' = d v1 + (1 - d) vC and C vC' = -(1 - d) iL - i2, where d from 0 to 1 is the duty cycle and i2 the output current. The input draws d iL. In steady state the output is -d / (1 - d) times the input, so it is negative. p1 is the input, p2 the output, n the common return. Ripple and discontinuous conduction are not modeled.

Ports

NameDomainDirection
p1electrical
p2electrical
nelectrical
dsignalin

Parameters

NameUnitDefaultRangeDescription
LH0.00010 to ∞Inductance
CF0.00010 to ∞Output capacitance
iL0A0Inductor current at the start
vC0V0Output voltage at the start

Variables

NameUnitStartDescription
iLAiL0Average inductor current
vCVvC0Average output voltage, negative in normal use

Equations

0 = p1.i + p2.i + n.i
p1.i = d * iL
vC = p2.v - n.v
L * der(iL) = d * (p1.v - n.v) + (1 - d) * vC
C * der(vC) = -(1 - d) * iL + p2.i