View License

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

» Watch video

Highlights from
Configurable Simulink Model for DC-DC Converters with PWM PI Control

4.1 | 22 ratings Rate this file 181 Downloads (last 30 days) File Size: 715 KB File ID: #18833 Version: 1.2
image thumbnail

Configurable Simulink Model for DC-DC Converters with PWM PI Control


Yi Cao (view profile)


19 Feb 2008 (Updated )

A Simulink model configurable to buck, boost and buck-boost DC-DC converters with PWM PI control

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

This package includes a configurable Simulink model for three different types of DC-DC converters (Buck, Boost and Buck-Boost converters) with a PWM PI controller. The example provided shows a case to boost voltage from 5 volts to 25 volts. It can be used to learn DC-DC converters and their control. The model itself also provides an example how to mask a subsystem in Simulink. A HTML and a pdf files are provided to explain the principles of the unform Simulink model for three different types of DC-DC converters. The model does not require other Simulink blocks, such as SimPowerSystems.

Required Products Simulink
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (31)
08 Apr 2016 Jacob Godi

10 Oct 2014 Abdelhedi Riadh

How can you reach 4000 seconds in simulation !!!
i want to introduce Supercapacity models but i can not reach more than 5 second in simulation because its becames veryy slowly :/
thanks for your help :)

Comment only
09 Jan 2014 Al Dodson

Al Dodson (view profile)

Default values for C and L are 440 and 20, respectively. I'm assuming the units are Farad and Henry. The default sampling frequency for the PWM is 0.2Hz. These are very odd values for a DC-DC converter. I changed components to 470microFarads and 22microHenries and changed PWM frequency to 25kHz. The results are not good.

26 Dec 2013 Neethu

Neethu (view profile)

22 May 2012 bijeta Chakraborty

08 Feb 2012 Tony Lennon

This is a helpful model. If you are looking for more resources about pulse width modulation (PWM), please visit this web page.

06 Oct 2010 Dick Benson

Dick Benson (view profile)

Nice job, thanks for your efforts.

05 May 2010 Manjunath Matam

Prof Yi Cao Sir,

MTech Student
NIT Warangal University

Respected Sir,

I am grateful and thanking you much for uploading DC DC converter Mathematical and MATLAB Simulink model that are simulated in your hands for public accessing and specially for students.

From your model, I am one of the such kind where received much technical information for my Uninterruptible Power Supply project . In which , your model helps me a lot regarding design of DC DC chopper and battery charger circuit.

Thanking you Sir

Yours Sincerely

Mr.Matam Manjunath

09 Dec 2009 ramkumar pasumarthi

at present i am working on this project "Digital Combination of Buck and Boost Converters
to Control a Positive Buck–Boost Converter and
Improve the Output Transients" can you help with the code or documentation i need simlink for pwm can please reply my mail id is

Comment only
21 Nov 2009 zhang caizhi

Hi,Dr. Cao
Thanks for your excellent work!
I don't understand the PWMPID controler, Could you tell me why did you design the controler like that?

Comment only
13 May 2009 colhano colhn

05 Apr 2009 V. Poor

03 Apr 2009 Yi Cao

Yi Cao (view profile)


Could you detail what improvement you are willing to see?


Comment only
02 Dec 2008 Mehran Ali

give me subsystem oof converter plz

Comment only
08 Sep 2008 mona sayed

25 Aug 2008 Sanjay Karndhar

07 Jul 2008 Theodosios Tziomakas

17 Jun 2008 boudjaltia hamid


Comment only
29 May 2008 Steve DeMers

I was wondering if there is any way to use this DC-DC converter with some of the electric drives in the SimPowerSystems library?

25 May 2008 chita samir


Comment only
25 May 2008 Andres Vermeire

19 May 2008 hak jfk

19 May 2008 halis çiçek

20 Apr 2008 fifi loulou


Comment only
16 Apr 2008 kolli fateh

16 Apr 2008 houari azeddine

27 Mar 2008 srinivasan seenu

you are giving models this will be helpful for our project

26 Mar 2008 Yi Cao


Thanks for suggestions. A pdf file has been added to the zip file to explain the model and general priniples of DC-DC converters. Please let me know if you find any error of the document.

Comment only
26 Mar 2008 CyberWalker IRIS

Excellent work! I've sent you an email regarding an electronic schematic on this project.

25 Mar 2008 zhor hassar

21 Feb 2008 SAFA GUN

31 Mar 2009 1.1

Update description with a HTML presentation.

01 Apr 2009 1.2

For some reason, the zip file was not updated. Now this is updated zip file.

Contact us