Hardware-in-the-Loop (HIL) for PV Inverter Design
Typhoon HIL, Inc.
Engineer and promote environmentally sustainable power technologies that scale.
Have you ever wondered how engineers test and perfect the control systems behind photovoltaic inverters? This blog article, written by the Chief Technology Officer at Fimer S.p.A. dives into the world of Hardware-in-the-Loop (HIL) systems, a powerful tool that creates a safe and controlled environment to simulate real-world scenarios for inverter control boards. HIL systems not only accelerate development cycles but also ensure the robustness and reliability of these critical components. Read the blog article below to learn how HIL systems are used to test everything from normal operations to extreme grid conditions, ultimately contributing to the success of the final product.
For many years now, simulation has been a fundamental aspect of our control board design work used in inverters at Fimer. One of the first steps that significantly improved the development, debugging, and testing phase was undoubtedly the introduction of Hardware-in-the-Loop (HIL) systems.
A HIL system is a widely used simulation and testing technology in the fields of electrical engineering, electronics, and automation. This approach involves integrating real components, such as sensors, actuators, and controllers, with a virtual mathematical model of the system. This allows for simulating the entire system behavior within a controlled and reproducible environment.
The use of HIL systems enables real-time simulation, allowing for testing the operation of control boards by running embedded code without the need for a complete hardware system of the controlled plant. This enables testing abnormal or error situations, which could potentially cause hardware damage if the development code does not align with the required specifications.
A C-HIL (or Controller-HIL) simulation includes the emulation of sensors and actuators (current probes, switches, relays, IGBTs, etc.). These emulations serve as an interface between the plant simulation and the embedded system under test. The value of each electrically emulated sensor is controlled by the plant simulation and read by the system under test (feedback). Similarly, the system under test implements its control algorithms by sending actuator control signals. Changes in the control signals result in changes to variable values in the plant simulation, leading to changes in feedback.
For many years, our choice has fallen on Typhoon HIL systems, which offer a good combination of computing power, ease of use, the number of I/O, and flexibility. Typhoon HIL simulators are based on a heterogeneous multiprocessor architecture, including FPGA, system CPU, and user CPU, enabling accurate and complete system simulation.
The integration of photovoltaic inverter control logic with HIL systems has become an integral and deeply rooted part of our company's DNA. From the early stages of developing a new product, we define the corresponding HIL interface, designing a controller-HIL interface board to achieve a setup that allows analyzing the behavior of control boards and verifying the maximum number of functionalities.
To analyze the behavior of control boards and verify the maximum number of functionalities, the optimal choice is to design an interface board between the controller and the HIL system. This process takes place from the early project stages, in parallel with the definition of the controller itself. The interface board must be carefully designed to enable a complete system simulation, going beyond providing analog feedback to the inverter or receiving PWM signals. It must also accommodate additional elements such as relay commands, meters, chargers (in the case of Energy Storage Systems or ESS), and other relevant components.
A crucial aspect in setting up the system is the scaling and assignment of analog signals output from the HIL, which constitute feedback for the control board. The quality of feedback is essential to ensure accurate and reliable simulation of the system. To achieve the best quality of feedback, two main elements can be considered:
The following image shows a typical setup of an Energy Storage System (ESS); the system uses an HIL604 and is capable of simulating a 3-phase inverter connected to up to 3 independent battery packs.
The next image shows another inverter setup, this time implemented with an HIL602.
The advantage of this approach is evident:
领英推荐
Points 2 and 6 can be well represented by real situations encountered in the development and verification phases of our systems, particularly for high-low voltage ride-through (HLVRT) and anti-islanding (AI) tests.
An HLVRT test on a medium/large-sized inverter (several tens/hundreds of kW) requires expensive and bulky equipment that demands significant investments in terms of infrastructure and human resources. These tests must be conducted on the machine to demonstrate compliance with regulatory requirements. However, using these setups during the development phase is complicated and requires the collaboration of multiple people and a considerable amount of time.
Using HIL systems in this design phase immediately simplifies the process, as it only requires a simple model enriched with a few lines of script (Fig. 7) using the APIs provided by the tool, which easily automate the execution of any fault condition, defining its magnitude and duration.
Another example is anti-islanding tests; setting up test environments in this case can also require significant investments (Fig. 8).
Preliminary verification, on the other hand, can be performed "on the bench" simply by modifying the HIL model and inserting the resonant loads (Fig. 9).
In conclusion, the use of HIL systems has proven to significantly simplify and improve the development and verification process of control boards for photovoltaic inverters. It enables faster, safer, and more reliable design, providing a solid foundation for the success of the final product.
Additional Resources
Credits
This blog article was originally published as a LinkedIn article by Giovanni Manchia , Chief Technology Officer at FIMER S.p.A., available here, and it is being republished with the author's permission on Typhoon HIL blog, available here.