Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter
Open Access
Abstract
This paper presents a Python-based simulation technique that can be used to predict the behavior of switch-mode non-isolated (SMNI) DC-DC converters operating in closed loop. The proposed technique can be implemented in an open-source numerical computation software, such as Scilab, Octave or Python, which makes it versatile and portable. The software that will be used to implement the proposed technique is Python, since it is an open-source programming language, unlike MATLAB, which is one of most-used programming and numeric computing platforms to simulate this type of system. The proposed technique requires the discretization of the equations that govern the open-loop operation of the converter, as well as the discretization of the transfer function of the controller. To simplify the implementation of the simulation technique, the code must be subdivided into different modules, which together form a package. The converter under analysis will be a buck converter operating in CCM. The proposed technique can be extended to any other SMNI DC-DC converter. The validation of the proposed technique will be carried out by comparing it with the results obtained in LTspice.Keywords
Funding Information
- European Regional Development Fund (POCI-01-0145-FEDER-029494, PTDC/EEI-EEE/29494/2017, UIDB/04131/2020, UIDP/04131/2020)
- FCT—Portuguese Foundation for Science and Technology (POCI-01-0145-FEDER-029494, PTDC/EEI-EEE/29494/2017, UIDB/04131/2020, UIDP/04131/2020)
This publication has 24 references indexed in Scilit:
- Modeling, Simulation, and Characterization of a Supercapacitor in Automotive ApplicationsIEEE Transactions on Industry Applications, 2022
- Effect of Coupling on Discontinuous Conduction Mode of Coupled Inductor SIDO Boost ConverterIEEE Transactions on Power Electronics, 2021
- Modified LUO High Gain DC-DC Converter With Minimal Capacitor Stress for Electric Vehicle ApplicationIEEE Access, 2021
- Data-Driven Model Predictive Control of DC-to-DC Buck-Boost ConverterIEEE Access, 2021
- An Ultra-Low Quiescent Current Tri-Mode DC-DC Buck Converter With 92.1% Peak Efficiency for IoT ApplicationsIEEE Transactions on Circuits and Systems I: Regular Papers, 2021
- A Transferrable Data-Driven Method for IGBT Open-Circuit Fault Diagnosis in Three-Phase InvertersIEEE Transactions on Power Electronics, 2021
- A Model-Data-Hybrid-Driven Diagnosis Method for Open-Switch Faults in Power ConvertersIEEE Transactions on Power Electronics, 2020
- Dynamic Modeling and Analysis of Buck Converter Based Solar PV Charge Controller for Improved MPPT PerformanceIEEE Transactions on Industry Applications, 2019
- A Novel Fault Diagnostic Approach for DC-DC Converters Based on CSA-DBNIEEE Access, 2017
- A Simple Offline Technique for Evaluating the Condition of Aluminum–Electrolytic–CapacitorsIEEE Transactions on Industrial Electronics, 2009