File Exchange

image thumbnail

Closed-Loop Input and Output Impedance of DC/DC Power Converters (Voltage or Current Mode)

version 1.0 (5.68 KB) by

Calculates closed-loop impedances and converter trasnfer functions for a power converter



View License

This code calculates all the transfer functions as well as closed-loop input and output impedances for the buck, boost, and buck-boost converters with the option to include any of the parasitic values in the calculations. Additionally, the readers can enter the A1, B1, C1, D1, A2, B2, C2, D2 matrices for any desired converter into the code and run the code to find all the transfer functions for their converter. Also, using this code the readers can substitute the values of the converter parameters into the symbolic transfer functions in order to find the actual transfer functions in ZPK domain in MATLAB. The transfer functions in ZPK domain can be used directly in MATLAB for stability analysis, controller design and etc.

Comments and Ratings (4)


Reza (view profile)


You are right about the parameters.See this paper for more info,


David (view profile)

I might be expected to understand the following but it would be nice if it told me for sure:
%Comment any of the parasitic values below to consider that value in the
%transfer function calculations

Is ron RDS(on) of switch?
Is rc ESR of output capacitor?
Is rL DC resistance of the inductor?

I have no idea whats going on in this script and have just begun learning about this stuff, I might be very novice and to some this maybe self-explanatory but not for me anyway.

I hope this will be most useful to me though, many thanks.


Huang (view profile)

MATLAB Release
MATLAB 7.11.1 (R2010bSP1)

Inspired: DC-DC converter small signal modelling

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Win prizes and improve your MATLAB skills

Play today