Exploring the Limits of Floating-Point Resolution for Hardware-In-the-Loop Implemented with FPGAs

As the performance of digital devices is improving, Hardware-In-the-Loop (HIL) techniques are being increasingly used. HIL systems are frequently implemented using FPGAs (Field Programmable Gate Array) as they allow faster calculations and therefore smaller simulation steps. As the simulation step is reduced, the incremental values for the state variables are reduced proportionally, increasing the difference between the current value of the state variable and its increments. This difference can lead to numerical resolution issues when both magnitudes cannot be stored simultaneously in the state variable. FPGA-based HIL systems generally use 32-bit floating-point due to hardware and timing restrictions but they may suffer from these resolution problems. This paper explores the limits of 32-bit floating-point arithmetics in the context of hardware-in-the-loop systems, and how a larger format can be used to avoid resolution problems. The consequences in terms of hardware resources and running frequency are also explored. Although the conclusions reached in this work can be applied to any digital device, they can be directly used in the field of FPGAs, where the designer can easily use custom floating-point arithmetics.

[1]  Michael Short,et al.  A Microcontroller-Based Adaptive Model Predictive Control Platform for Process Control Applications , 2017 .

[2]  Hayde Peregrina-Barreto,et al.  FPGA-in-the-loop simulation of a grid-connected photovoltaic system by using a predictive control , 2018 .

[3]  M Matar,et al.  Massively Parallel Implementation of AC Machine Models for FPGA-Based Real-Time Simulation of Electromagnetic Transients , 2011, IEEE Transactions on Power Delivery.

[4]  Javier Garrido Salas,et al.  A Comparison of Simulation and Hardware-in-the- Loop Alternatives for Digital Control of Power Converters , 2012, IEEE Transactions on Industrial Informatics.

[5]  Alberto Sanchez,et al.  Comparison of Numerical Methods for Hardware-In-the-Loop Simulation of Switched-Mode Power Supplies , 2018, 2018 IEEE 19th Workshop on Control and Modeling for Power Electronics (COMPEL).

[6]  Javier Garrido,et al.  Single ADC Digital PFC Controller Using Precalculated Duty Cycles , 2014, IEEE Transactions on Power Electronics.

[7]  Jean Mahseredjian,et al.  Setup and performances of the real-time simulation platform connected to the INELFE control system , 2016 .

[8]  Rosario Miceli,et al.  Finite-Difference Time-Domain Simulation of Towers Cascade Under Lightning Surge Conditions , 2015, IEEE Transactions on Industry Applications.

[9]  James Demmel,et al.  IEEE Standard for Floating-Point Arithmetic , 2008 .

[10]  I. Merfert Analysis and application of a new control method for continuous-mode boost converters in power factor correction circuits , 1997, PESC97. Record 28th Annual IEEE Power Electronics Specialists Conference. Formerly Power Conditioning Specialists Conference 1970-71. Power Processing and Electronic Specialists Conference 1972.

[11]  Roger Champagne,et al.  Real-time simulation of electric drives , 2003, Math. Comput. Simul..

[12]  Nik Rumzi Nik Idris,et al.  FPGA based high precision torque and flux estimator of direct torque control drives , 2011, 2011 IEEE Applied Power Electronics Colloquium (IAPEC).

[13]  J. Acero,et al.  Comparing simulation alternatives of FPGA-based controllers for switching converters , 2007, 2007 IEEE International Symposium on Industrial Electronics.

[14]  Isik Cadirci,et al.  On-Line Application of SHEM by Particle Swarm Optimization to Grid-Connected, Three-Phase, Two-Level VSCs with Variable DC Link Voltage , 2018 .

[15]  Masanori Hariyama,et al.  OpenCL-Based FPGA-Platform for Stencil Computation and Its Optimization Methodology , 2017, IEEE Transactions on Parallel and Distributed Systems.

[16]  Michael Short,et al.  Dependable Control for Wireless Distributed Control Systems , 2015 .

[17]  Elias Todorovich,et al.  Resolution Analysis of Switching Converter Models for Hardware-in-the-Loop , 2014, IEEE Transactions on Industrial Informatics.

[18]  G. Aiello,et al.  Failure analysis of AC motor drives via FPGA-based hardware-in-the-loop simulations , 2017 .

[19]  Ó Lucía,et al.  Real-Time FPGA-Based Hardware-in-the-Loop Simulation Test Bench Applied to Multiple-Output Power Converters , 2011, IEEE Transactions on Industry Applications.

[20]  Mario García-Valderas,et al.  HW/SW Co-Simulation System for Enhancing Hardware-in-the-Loop of Power Converter Digital Controllers , 2017, IEEE Journal of Emerging and Selected Topics in Power Electronics.

[21]  V. Dinavahi,et al.  Real-Time Digital Hardware Simulation of Power Electronics and Drives , 2007, 2007 IEEE Power Engineering Society General Meeting.

[22]  I. W. Merfert Stored-duty-ratio control for power factor correction , 1999, APEC '99. Fourteenth Annual Applied Power Electronics Conference and Exposition. 1999 Conference Proceedings (Cat. No.99CH36285).

[23]  Angel de Castro,et al.  Impact of the hardened floating-point cores on HIL technology , 2018 .

[24]  Nicolas Patin,et al.  A Direct Digital Technique Implementation of General Discontinuous Pulse Width Modulation Strategy , 2011, IEEE Transactions on Industrial Electronics.

[25]  E. Bonilla-Huerta,et al.  HIL simulation of the DTC for a three-level inverter fed a PMSM with neutral-point balancing control based on FPGA , 2017, Electrical Engineering.

[26]  Jin Wang,et al.  FPGA based detailed real-time simulation of power converters and electric machines for EV HIL applications , 2013, 2013 IEEE Energy Conversion Congress and Exposition.

[27]  O. Trescases,et al.  A new platform and methodology for system-level design of next-generation FPGA-based digital SMPS , 2012, 2012 IEEE Energy Conversion Congress and Exposition (ECCE).

[28]  Farhad Rachidi,et al.  An automated FPGA real-time simulator for power electronics and power systems electromagnetic transient applications , 2016 .

[29]  Aleksandar Prodic,et al.  High-frequency digital PWM controller IC for DC-DC converters , 2003 .

[30]  Seth R. Sanders,et al.  Architecture and IC implementation of a digital VRM controller , 2003 .

[31]  Luis Ibarra,et al.  Overview of Real-Time Simulation as a Supporting Effort to Smart-Grid Attainment , 2017 .

[32]  Saher Albatran,et al.  Online Optimal Switching Frequency Selection for Grid-Connected Voltage Source Inverters , 2017 .

[33]  Venkata Dinavahi,et al.  FPGA-Based Real-Time Emulation of Power Electronic Systems With Detailed Representation of Device Characteristics , 2011, IEEE Transactions on Industrial Electronics.