Averaged buck converter

power.averaged_buck

Step-down DC-DC converter averaged over one switching period, in continuous conduction. The switch and diode are replaced by their averages, so the inductor sees d times the input voltage: L iL' = d v1 - vC and C vC' = 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 times the input. 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

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) - vC
C * der(vC) = iL + p2.i