File Exchange

image thumbnail

Developing DC-DC Converter Control in Simulink

version 1.2.0 (29.5 MB) by Vasco Lenzi
Model-Based Design of a DCDC Converter using Simulink, Simscape and Stateflow

124 Downloads

Updated 18 Dec 2020

From GitHub

View Version History

View license on GitHub

This workflow reference covers the design, analysis, and software development for a Single Ended Primary Inductor Converter, commonly known as SEPIC, which is powered by a 12 Volt lithium-ion battery and is converting voltage to 18 Volt to power 36 LEDs divided in 6 module with each 6 LEDs in series. The developed software include a simplified BMS (battery management system) to watch over the battery status, supervisory logic to coordinate mode of operation and two closed-loop controllers (SEPIC voltage and LEDs current).

This project has been deveoped around a Texas instrument LED kit (codename: TMDSDCDCLEDKIT). It uses a F28069 ControlCard.
This application is interesting because:
* The SEPIC is using medium to high switching frequency (100 kHz)
* LEDs are current controlled using 20 kHz switching.
* Filter design plays an important role in getting current and voltage signals as proper inputs to the controllers

Both controllers are PI controllers which were modeled, simulated tuned and verified within the Simulink platform. Because the converter was modeled appropriately, the PI parameters derived in simulation can be used directly on hardware with good results.

Workflow

This demo covers a typical power electronics development workflow, divided in 5 sections:

System Modeling: Model the converter and calculate the most efficient operating region
Thermal Analysis: Determine power losses and the thermal behavior of the converter
Control Design and Tuning: Design control algorithm based on time/frequency domain specification
Logic Design, Verification and Verification: Design supervisory logic and implement unit testing
Embedded Code Generation: Implement power electronic controls on an embedded platform

Cite As

Vasco Lenzi (2021). Developing DC-DC Converter Control in Simulink (https://github.com/mathworks/model-based-design-dc-dc-converter/releases/tag/1.2.0), GitHub. Retrieved .

Comments and Ratings (19)

mehmet

Thanks a lot!

Prauth Daengkhao

Yi

Hyunuk Ha

khadidja hadji

Mohamed Shimal

Ismael Alcalá

Lu Wan

syukri yadin

vinodini bhole

Kumar Chandra

Denis Tonini

earnest philip

p3ngka1

Ziyad Altowerqi

Eloy Oliveira

YUGESWAR REDDY

Respected sir, I have some doubts in modeling control part. kindly give Your contact email address to communicate or my email is yuge_swar@yahoo.co.in. thank You.

MARIMUTHU G

MATLAB Release Compatibility
Created with R2020b
Compatible with R2020b
Platform Compatibility
Windows macOS Linux
Communities

Community Treasure Hunt

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

Start Hunting!