Contenu principal

Analyze Stability of Switching Power Supply with Input Filter

R2026b

This example demonstrates how to apply the stability criteria for the circuit diagram of a switching power supply with an input filter. Stability criteria are used to determine whether the circuit design is stable. In addition, the input filter design can be further improved based on the frequency-domain curves, including output impedance of the input filter and input admittance of the switching power supply.

Boost Converter Model

This example uses a model based on the boost converter model scdboostconverter. The original model is modified for these measurements as follows.

  • The boost converter is modeled using the average-value fidelity level, excluding switching behavior and functioning based on power balance. The averaged-switch models are also suitable for linearization about an operating point.

  • A Probe block is added to measure the input current. To estimate the frequency response model for input admittance, the model contains Input Perturbation and Output Measurement linear analysis points at the input voltage and input current, respectively.

  • A Controlled Current Source block is added in parallel with the load. To estimate the frequency response model for output impedance, the model contains Input Perturbation and Output Measurement linear analysis points at the current source and output voltage, respectively.

Open the model.

mdl = "scdboostconverterMeasureZoutYinLinearize";
open_system(mdl)

Measure Input Admittance

The analysis of boost converter needs to consider the voltage control feedback loop that regulate its output voltage. A linear system object of the closed-loop boost converter can be obtained through linearization at the command line. To obtain input admittance, first specify the input and output linear analysis points from the model.

io_Yin(1) = linio(strcat(mdl,"/Vin Value"),1,"input");
io_Yin(2) = linio(strcat(mdl,"/Rate Transition1"),1,"output");

To properly handle delays in the feedback loop, create a linearizeOptions option set and specify the UseExactDelayModel option.

opt = linearizeOptions(...
    UseExactDelayModel=true);
opt.RateConversionOptions.Method = "tustin";
opt.RateConversionOptions.ThiranOrder = 3;

Linearize the model at a snapshot time of 0.0745 sec.

linsysYin = linearize(mdl,io_Yin,0.0745);

Measure Output Impedance

To obtain output impedance, you can use the workflow described in the previous section, with slightly different settings of linear analysis points.

io_Zout(1) = linio(strcat(mdl,"/Constant"),1,"input");
io_Zout(2) = linio(strcat(mdl,"/Rate Transition2"),1,"output");

Linearize the model again at a snapshot time of 0.0745 sec.

linsysZout = linearize(mdl,io_Zout,0.0745);

Analytical Transfer Functions

An analytical transfer functions can be derived based on component parameters for the openloop system, i.e. without a controller. Use the following parameters from the Simscape model.

L = 20e-6;
C = 1480e-6;
R = 6;
rC = 8e-3;
rL = 1.8e-3;
Vo = 18;

To compute the openloop analytical transfer function, you require the actual duty cycle value. For this boost converter, use the logged duty cycle at the operating point.

D = 0.734785;
d = 1-D;

Define the analytical transfer functions for input admittance and output impedance, which are based on [1], using the component parameters in the boost converter model.

Yin = tf([C*(R+rC) 1], ...
        [L*C*(R+rC) L+C*rL*(R+rC)+C*R*rC-R*D*C*rC R+rL-R*D-R^2*D*d/(R+rC)]);
Zout = tf(R*[C*rC*L L+C*rC*(rL+R*D*rC*d/(R+rC)) rL+R*D*rC*d/(R+rC)], ...
        [L*C*(R+rC) L+C*rL*(R+rC)+C*R*rC-R*D*C*rC R+rL-R*D-R^2*D*d/(R+rC)]);
Gvd = tf(-Vo/(1+rL/R/d-R*D/(R+rC))*...
        [2*L*C*rC 2*L+3*C*rC*rL+(R*C*rC^2*d-R^2*C*rC*d^2)/(R+rC) 3*rL+(R*rC*d-R^2*d^2)/(R+rC)],...
        [L*C*(R+rC) L+C*rL*(R+rC)+C*R*rC-R*D*C*rC R+rL-R*D-R^2*D*d/(R+rC)]);
Gvg = tf([R*d*C*rC R*d], ...
        [L*C*(R+rC) L+C*rL*(R+rC)+C*R*rC-R*D*C*rC R+rL-R*D-R^2*D*d/(R+rC)]);
Gind = tf(Vo/(1+rL/R/d-R*D/(R+rC))*...
        [d*R*C+C*rC-C*rL*(R+rC)/R/d 1-rL/R/d+R*(2*d-D)/(R+rC)],...
        [L*C*(R+rC) L+C*rL*(R+rC)+C*R*rC-R*D*C*rC R+rL-R*D-R^2*D*d/(R+rC)]);

For a more accurate description, account for the half-period delay due to PWM signal in the transfer function Yin.

N = 0.5;
Ts = 5e-6;
iodelay = N*Ts;
Yin.IODelay = iodelay;

To obtain the closed-loop transfer functions, the PID controller needs to be modeled in feedback loop.

Kp = 1/240;
Ki = 2;
Gc = d2c(tf([Kp Ki*5e-6-Kp],[1 -1 0],5e-6),"tustin");

Compare Linearization Result to Analytical Transfer Function

Compared to the openloop transfer functions, the closed-loop transfer functions demonstrated negative incremental impedance behavior at low-frequency range within the controller bandwidth. This negative incremental impedance is critical in power converter stability analysis and can be demonstrated by the 180 degree phase shift in frequency-domain. Because of the voltage controller, both the input admittance and output impedance are modified.

Compare input admittance results. The low-frequency phase angle changes from 0 in openloop case to 180 degrees in closed-loop case.

Yin_CL = (Yin+Gc*Gvd*Yin-Gind*Gc*Gvg)/(1+Gc*Gvd);
figure
bodeplot(Yin_CL,"r--",linsysYin,"k-",{10,1e6})
legend("Analytical result","Linearization result",...
    Location="best")
title("Input Admittance")
grid on

MATLAB figure

Compare output impedance results. Both magnitude and phase angle are modified by the voltage controller in the output impedance result.

Zout_CL = Zout/(1+Gc*Gvd);
figure
bodeplot(Zout_CL,'r--',linsysZout,'k-',{10,1e6})
legend("Analytical result","Linearization result",...
    Location="best")
title("Output Impedance")
grid on

MATLAB figure

As shown in the Bode plots, the linearization results match the analytical transfer functions well. The negative incremental impedance behavior is also obvious from the Bode plots above.

Switching Power Supply Circuit Diagram with Input Filter

Obtain input admittance and output impedance information of the switching power supply by linearizing the boost converter. Create a input filter and calculate its output impedance for stability analysis.

Inductor L has a value of 33 uH and its resistance is 0.03 Ohm.

Lf = 33e-6;
Rf = 0.03;

Capacitor C has a value of 47 uF and its resistance is 0.15 Ohm.

Cf = 47e-6;
RCf = 0.15;

Directly calculate output impedance of the input filter:

Zf = tf([Lf*RCf*Cf Rf*RCf*Cf+Lf Rf],[Lf*Cf RCf*Cf+Rf*Cf 1]);

Use Middlebrook Criterion on Minor Loop Gain

Create Nyquist plot of the minor loop gain and determine whether the overall system is stable based on the Middlebrook Criterion [2].

figure
np_MLG = nyquistplot(Zf*d2c(linsysYin));
np_MLG.ShowNegativeFrequencies = "off";

MATLAB figure

Based on the Middlebrook stability criterion, the connected system is stable because the minor loop gain curve does not encircle the critical (-1, j0) point at all. In addition, the minor loop gain curve demonstrates a phase margin of around 48 degrees.

Use Passivity-Based Stability Criterion on Impedance In-Parallel

Passivity generally refers to a system property where dynamic systems do not generate energy. Passive systems are intrinsically stable, and interconnecting them guarantees closed-loop stability [3]. Because of this, the passivity-based stability criterion is more powerful in determining stability. For the above circuit with input filter, the overall impedance is the result of putting Zf and Zin in parallel. As a result, the total impedance is:

Zbus=11Zf+1Zin=11Zf+Yin=Zf1+ZfYin

Examine the poles of the impedance in-parallel to make sure that there are no RHP poles.

pole(Zf/(1+Zf*d2c(linsysYin)))
ans = 8×1 complex
106 ×

  -0.0027 + 0.0252i
  -0.0027 - 0.0252i
  -1.6387 + 0.0000i
  -0.0062 + 0.0409i
  -0.0062 - 0.0409i
  -0.0003 + 0.0009i
  -0.0003 - 0.0009i
  -0.0001 + 0.0000i

Use Nyquist plot, the overall circuit is passive because (1) Zbus(s) has no right half plane (RHP) poles, (2) Re{Zbus(jw)}>=0 for all frequencies.

figure
np_Passivity = nyquistplot(Zf/(1+Zf*d2c(linsysYin)));
np_Passivity.ShowNegativeFrequencies = "off";

MATLAB figure

In the Nyquist plot of Zbus, the bus impedance is passive because its Nyquist contour lays entirely in the RHP. Using the same approach, circuit stability can also be easily determined for cascade-connected power converters.

References

[1] Ahmadi, Reza, and Mehdi Ferdowsi. “Modeling Closed-Loop Input and Output Impedances of DC-DC Power Converters Operating inside Dc Distribution Systems.” In 2014 IEEE Applied Power Electronics Conference and Exposition - APEC 2014, 1131–38, 2014. https://doi.org/10.1109/APEC.2014.6803449.

[2] Middlebrook, R.D., "Input Filter Considerations in Design and Application of Switching Regulators," IEEE IAS Annual Meeting, 1976.

[3] Riccobono, A.; Santi, E.; , "A novel Passivity-Based Stability Criterion (PBSC) for switching converter DC distribution systems," Applied Power Electronics Conference and Exposition (APEC), 2012 Twenty-Seventh Annual IEEE , vol., no., pp.2560-2567, 5-9 Feb. 2012.

See Also