TECHNOLOGY

Hardware-in-the-loop Simulation

With the widespread application of power electronic devices in life, such as renewable energy power generation, flexible DC transmission, motor drive, electrified transportation, etc., the power and complexity of power and power electronic systems that engineers need to study are also increasing, Simulation tools have been widely and deeply applied in a series of processes such as auxiliary system research, device development and product testing.

 

However, when people contacting simulation tools, since most of the related products come from abroad, people are often unclear about the concepts and terms related to various power electronic simulation tools. In order to answer people’s puzzles, the editor specially invites our senior engineers to help you solve your puzzles from the perspective of power system and power electronics professional technology and the current situation of the industry.


1.Full-physical Experiment Test



In the research of power and power electronic systems, the traditional way is to integrate the controller into a physical test platform for verification and testing after the controller is designed. The advantage of this method is that the physical process of various phenomena can be directly observed, and it is convenient to accurate test data. The disadvantage is that the construction of the platform requires a relatively high investment in site, capital, time and personnel.


202111241001.png

2. Digital Simulation Test



With the rapid development of computer technology, computer-based digital simulation technology has been widely applied due to its flexibility and diversity advantages. Digital simulation mainly uses mathematical modeling and calculation to simulate the operating characteristics of the objects in the system, and its core is mathematical modeling and calculation. According to the speed of simulation calculation and operation, digital simulation technology is divided into offline simulation (non-real-time) and real-time simulation.


2.1 Offline Simulation

Offline simulation is that the response speed of digital simulation model is slower than that of the actual system, that is, observing the operation state of the model for about 1s, and the simulation calculation time is often far more than 1s. Offline simulation software generally runs on ordinary computers, and the time required for its simulation operation is much longer than that of the actual system. The reason is that on the one hand, the operating system and hardware capabilities of the ordinary computer itself are insufficient, and on the other hand, On the other hand, there is no optimization based on real-time operation during modeling and calculation, which leads to poor time certainty. In the field of power and power electronic systems, our commonly used offline simulation software includes PSCAD/EMTDC, MATLAB/Simulink, etc.


2.2 Real-Time Simulation

Real-time simulation is that the response speed of the digital simulation model is the same as that of the actual system, that is, 1s of the model simulation running corresponds to 1s of the actual time. Due to the large amount of calculation of power and power electronic system models, it is often necessary to use powerful multi-core CPU or FPGA hardware to perform calculations, and then perform some equivalents and optimizations on real-time simulation modeling and calculations to realize real-time simulation systems. Therefore, in the real-time simulation system, the simulator is an important part, and the simulation scale and computing power of the real-time simulation system are determined by the hardware resources of the simulator. In digital simulation, because the system can generally be disassembled into the control side and the controlled object side, and the focus of different research topics is different, the part of the system that uses real-time technology will be different, which has derived the concepts of HIL simulation, hardware-in-the-loop (HIL), Rapid Control Prototyping (RCP) and so on.


3. Hardware-In-the-Loop/HIL Simulation



Hardware in the loop simulation, also known as HIL, is an application of a closed-loop test system composed of a real-time simulator and a controller, as shown in the following figure:


202111241002.png


The real-time simulator simulates their operating characteristics by running the mathematical models of physical objects in real time. At the same time, the real-time simulator is equipped with an IO board, which interacts with the controller through IO channels. The "hardware" in hardware-in-the-loop simulation means that the control part is no longer a control block diagram in pure software simulation, but a real controller.   

           

In many Chinese literatures, hardware-in-the-loop simulation is often referred to as "HIL simulation", where "physical object" refers to the real controller in the system, because the real-time simulator in this system is not an actual physical device, therefore, we usually call this system "HIL".


4. Rapid Control Prototyping/RCP



Rapid Control Prototyping, also known as RCP, which refers to the process of debugging and calibrating the control algorithm on the prototype hardware with powerful computing function and IO interface, as shown in the following figure:

 

 202111241003.png


The rapid control prototyping platform provides a fast and convenient method to import control algorithms. Its main value is that it can directly run control algorithms built in some advanced graphical environments (such as Simulink), provide ready-made verified control hardware, and shorten the development cycle.

Hot content
Hot content

WeChat Official Accounts

Tel:(+86) 021-65011357
Email:info@modeling-tech.com
Address(Shanghai):2nd Floor, Building 6, No.619 LongChang Road(City Concept),Yangpu, Shanghai, China
Address(Wuhan):Room 906, Building A, 2008 New Changjiang Plaza, No. 2 Friendship Avenue, Wuchang District, Wuhan