Title :
A Comparison of Simulation and Hardware-in-the- Loop Alternatives for Digital Control of Power Converters
Author :
Sanchez, Alberto ; De Castro, Angel ; Garrido, Javier
Author_Institution :
HCTLab Res. Group, Univ. Autonoma de Madrid, Madrid, Spain
Abstract :
Debugging digital controllers for power converters can be a problem because there are both digital and analog components. This paper focuses on debugging digital controllers to be implemented in Field Programmable Gate Arrays or Application Specific Integrated Circuits, which are designed in hardware description languages. Four methods are proposed and described. All of them allow simulation, and two methods also allow emulation-synthesizing the model of the converter to run the complete closed-loop system in actual hardware. The first method consists in using a mixed analog and digital simulator. This is the easiest alternative for the designer, but simulation time can be a problem, specially for long simulations like those necessary in power factor correction or when the controller is very complex, for example, with embedded processors. The alternative is to use pure digital models, generating a digital model of the power converter. Three methods are proposed: real type, float type and fixed point models (in the latter case including hand-coded and automatic-coded descriptions). Float and fixed point models are synthesizable, so emulation is possible, achieving speedups over 20 000. The results obtained with each method are presented, highlighting the advantages and disadvantages of each one. Apart from that, an analysis of the necessary resolution in the variables is presented, being the main conclusion that 32-bit floating point is not enough for medium and high switching frequencies.
Keywords :
closed loop systems; digital control; field programmable gate arrays; hardware description languages; mixed analogue-digital integrated circuits; power convertors; power engineering computing; analog components; application specific integrated circuits; automatic-coded descriptions; closed-loop system; digital components; digital controller debugging; field programmable gate arrays; fixed point models; float point models; hand-coded descriptions; hardware description languages; hardware-in-the- loop alternatives; mixed analog-digital simulator; power converters; power factor correction; simulation; Emulation; Field programmable gate arrays; Hardware; Load modeling; Mathematical model; Regulators; Switches; Debugging; digital control; emulation; field programmable gate arrays; simulation; switching converters;
Journal_Title :
Industrial Informatics, IEEE Transactions on
DOI :
10.1109/TII.2012.2192281