File Exchange

image thumbnail

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

version (5.68 KB) by Reza
Calculates closed-loop impedances and converter trasnfer functions for a power converter


Updated 26 Jun 2013

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.

Cite As

Reza (2021). Closed-Loop Input and Output Impedance of DC/DC Power Converters (Voltage or Current Mode) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (4)

Debili narimene



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


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.


MATLAB Release Compatibility
Created with R2010b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Inspired: DC-DC converter small signal modelling


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!