Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter
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,...
Main Authors: | , |
---|---|
Format: | Article |
Language: | English |
Published: |
MDPI AG
2022-05-01
|
Series: | Signals |
Subjects: | |
Online Access: | https://www.mdpi.com/2624-6120/3/2/20 |
_version_ | 1827656570029211648 |
---|---|
author | Acacio M. R. Amaral Antonio J. Marques Cardoso |
author_facet | Acacio M. R. Amaral Antonio J. Marques Cardoso |
author_sort | Acacio M. R. Amaral |
collection | DOAJ |
description | 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. |
first_indexed | 2024-03-09T22:31:13Z |
format | Article |
id | doaj.art-bc29bbcd96a34b9ba75d1c71c4a89b3b |
institution | Directory Open Access Journal |
issn | 2624-6120 |
language | English |
last_indexed | 2024-03-09T22:31:13Z |
publishDate | 2022-05-01 |
publisher | MDPI AG |
record_format | Article |
series | Signals |
spelling | doaj.art-bc29bbcd96a34b9ba75d1c71c4a89b3b2023-11-23T18:57:45ZengMDPI AGSignals2624-61202022-05-013231332510.3390/signals3020020Using Python for the Simulation of a Closed-Loop PI Controller for a Buck ConverterAcacio M. R. Amaral0Antonio J. Marques Cardoso1CISE—Department of Informatics and Systems, Polytechnic Institute of Coimbra, ISEC, Quinta da Nora, P-3030-199 Coimbra, PortugalCISE—Electromechatronic Systems Research Center, University of Beira Interior, Calçada Fonte do Lameiro, P-6201-001 Covilhã, PortugalThis 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.https://www.mdpi.com/2624-6120/3/2/20simulationpythonbuck converterCCM |
spellingShingle | Acacio M. R. Amaral Antonio J. Marques Cardoso Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter Signals simulation python buck converter CCM |
title | Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter |
title_full | Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter |
title_fullStr | Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter |
title_full_unstemmed | Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter |
title_short | Using Python for the Simulation of a Closed-Loop PI Controller for a Buck Converter |
title_sort | using python for the simulation of a closed loop pi controller for a buck converter |
topic | simulation python buck converter CCM |
url | https://www.mdpi.com/2624-6120/3/2/20 |
work_keys_str_mv | AT acaciomramaral usingpythonforthesimulationofaclosedlooppicontrollerforabuckconverter AT antoniojmarquescardoso usingpythonforthesimulationofaclosedlooppicontrollerforabuckconverter |