MCU Programming for Power Electronics Control Applications
Introduction to Microcontroller Programming for Power Electronics Control Applications
This repository contains the MATLAB/Simulink source codes to reproduce the experiments presented in the book: "Introduction to Microcontroller Programming for Power Electronics Control Applications" M.Rossi, N.Toscani, M.Mauri, F.Castelli-Dezza.
The book covers the mathematical modeling, parameters estimation, control scheme design and related real-time implementation for selected power electronic-based applications. These concepts are illustrated by adopting a C2000 LaunchPad MCU from Texas Instruments and the MathWorks automatic code generation tool able to translate Simulink schemes into executable files.
If you find this repository helpful for your activities/publications, please consider citing our book:
M. Rossi, N. Toscani, M. Mauri, F. Castelli-Dezza, "Introduction to Microcontroller Programming for Power Electronics Control Applications: Coding with MATLAB and Simulink". Boca Raton, USA: CRC Press, 2021. https://doi.org/10.1201/9781003196938
and put a star ⭐ to keep an eye on future commits.
🎉 Here a book review published on How2Power newsletter (April 2023) from Dennis Feucht (Innovatia Laboratories)
Running experiments
Experiments (simulations and implementations) are split in root folders referring to the book chapters. The m-files including the parameters initialization have to be executed before each simulation or code generation.
Required:
MATLAB 2018b or newer
Embedded Coder Support Package for TI C2000 (or C2000 Microcontroller Blockset)
TI controlSUITE (or C2000Ware) and Code Composer Studio v6 or newer
check MathWorks webpage or Texas Instruments webpage
Feedback
This material is currently adopted for exercises and laboratory activities at "Politecnico di Milano (Italy)", "University of Nebraska-Lincoln (USA)", "Istanbul Technical University (Turkey)", and "Tongji University - Department of Urban Rail and Railway Engineering (China)".
📌 If you are interested in the HW kits, feel free to contact me ✉️
📌 Looking forward to hearing your success stories.... (feel free to reach out 👋)
Copyright© 2021
The book has been sponsored by:
Politecnico di Milano, Texas Instruments, Wuerth Elektronik, MathWorks and ePEBBs.
⚡Contributors over the years (students/researchers/professors):
Mattia Rossi, Nicola Toscani, Francesco Castelli-Dezza, John Kluza, Antonin Ancelle
Marco Mauri, Matteo Sposito, Andrea Polastri, Luca Grittini, Alessandro Grittini,
Luigi Piegari, Antonio Faggio, Angelo Strati, Andrea De Gruttola, Giuseppe Ballarin,
Marco Gerosa, Alberto Paolini, Khaled ElShawarby, Paolo Panarese
Cite As
Rossi, Mattia, et al. Introduction to Microcontroller Programming for Power Electronics Control Applications. CRC Press, 2021, doi:10.1201/9781003196938.
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
chapter15-OpenLoop_PMDC/code/Full-Bridge
chapter15-OpenLoop_PMDC/code/Half-Bridge
chapter15-OpenLoop_PMDC/simulation
chapter16-Shunt_Current_Sense
chapter17-CurrentControl_RL/code
chapter17-CurrentControl_RL/simulation
chapter18-VoltageControl_RLC/code
chapter18-VoltageControl_RLC/simulation
chapter19-ClosedLoop_PMDC/code
chapter19-ClosedLoop_PMDC/simulation
chapter20-PIL_ExternalMode
chapter10-SCI_peripheral
chapter11-GPIO_peripheral
chapter12-ADC_peripheral
chapter13-PWM_peripheral
chapter14-eQEP_peripheral
chapter15-OpenLoop_PMDC/code/Full-Bridge
chapter15-OpenLoop_PMDC/code/Half-Bridge
chapter15-OpenLoop_PMDC/simulation
chapter16-Shunt_Current_Sense
chapter17-CurrentControl_RL/code
chapter17-CurrentControl_RL/simulation
chapter18-VoltageControl_RLC/code
chapter18-VoltageControl_RLC/simulation
chapter19-ClosedLoop_PMDC/code
chapter19-ClosedLoop_PMDC/simulation
chapter20-PIL_ExternalMode
Version | Published | Release Notes | |
---|---|---|---|
1.0 | |||
0.0 | See release notes for this release on GitHub: https://github.com/ThunderMat/Introduction-to-MCU-Programming-for-Power-Electronics-Control-Applications/releases/tag/v0.0 |