Power Hardware-in-the-Loop with Grid Simulator: Introduction, Key Specifications and Functions that Matter for Programmable Power Testing Platform
This application note introduces the latest industry preference for PHIL integration when conducting grid compatibility and adaptability testing for inverters, power conversion systems and miscellaneous grid-following grid-forming power conversion equipment with grid simulators.
Following some fundamental explanations to what is power hardware-in-the-loop and its functional principles, the note extends the discussion to how PHIL integrated grid simulator, regenerative AC power supply, and grid emulation solutions by ActionPower empower your testing application respectively for these scenarios.
| Version | 1.0.0 |
|---|---|
| Categories | Power Hardware-in-the-Loop |
| Download | Download Application Note |
| Download Count | 9 |
| Page Views | 1754 |
| Size | 1.03 MB |
| Create Date | 18/02/2026 |
| Last Updated | 04/11/2026 |
| Author | Zhiwei Bao |
| Reviewed | Sen Wang |
Introduction to Power Hardware-in-the-Loop and its Essentialness for Modern Grid Simulators
Setting up a hardware power testing platform requires programmable power and emulation system to connected the EUT’s both input and output bus together with measuring and control interfaces implemented to conduct the monitor the testing automation sequences, which represents a harmonized and synchronized testing application with both hardware and software.
For example, a conventional power hardware test system illustrated as below in Fig 1. for PV inverter or PCS (Power Conversion System) typically employs a programmable solar array simulator that provides controlled DC power to the former by reproducing configurable I-V characteristics meanwhile a grid simulator emulates the AC grid by supplying programmable voltage, frequency, and fault conditions and absorbing the power injected by the inverter.
However, in such a conventional setup, the grid simulator operates based on predefined voltage profiles or programmed test sequences and does not respond dynamically to a real-time simulation model of the surrounding power system. To put it alternatively, the interaction between the DUT and the simulated grid remains unidirectional and lacks the closed-loop dynamic behaviour present in real power systems. [1]

Fig 1. Conventional Power Hardware Test Topology with TITAN Grid Simulator
Before it is answered why such a unidirectional power testing interaction is considered a drawback, we extend firstly the topic to what is Power Hardware-in-the-Loop (PHIL).
Power Hardware-in-the-Loop (PHIL) testing, compared to conventional power hardware testing, integrates a real-time simulation model with a power interface – typically implemented using a grid simulator acting as a power amplifier driven by the real-time simulator. The integrated architecture enables the grid simulator to reproduce grid conditions dynamically based on the simulation model while simultaneously responding to the electrical behaviour of the Equipment Under Test (EUT), thereby forming a closed-loop interaction between the simulated grid and the physical hardware.
In a word, grid simulator in PHIL test application becomes a part of a closed-loop physical control system. As a result, the EUT operates within a dynamically evolving virtual grid environment, or say, both the grid simulator and tested equipment are operating in a dynamic and synchronized way against each other that significantly providing higher fidelity for validating transient behaviour, stability, and grid interaction performance.

Fig 2. Grid Simulator in Power HIL Testing
Drawbacks of Open-Loop Testing Application
While conventional programmable power testing and profile emulation rely on predefined voltage profiles, lookup tables, or internally generated waveforms, such open-loop approaches do not fully represent the dynamic nature of modern power conversion systems. In real-world operation, grid-connected converters continuously interact with the surrounding power system, where voltage, frequency, and impedance conditions evolve in response to the converter’s own behaviour.Predefined test profiles can reproduce specific steady-state or transient scenarios, but they cannot emulate the bidirectional and continuously evolving interaction between the power converter and the grid. As a result, open-loop testing lacks the ability to capture dynamic feedback effects, system-level interactions, and stability-related behaviours that emerge from real-time coupling between the grid and power electronic hardware.
This limitation becomes particularly significant in applications involving weak grids, fast transient events, or advanced control strategies, where converter behaviour is strongly influenced by real-time grid response. Without a dynamically coupled grid model, conventional open-loop testing cannot fully replicate the operating conditions encountered in actual power systems, potentially limiting the accuracy of system validation and dynamic performance assessment.

Introduction to Essential Devices and Components in Power Hardware-in-the-Loop (PHIL) Testing
Power Hardware-in-the-Loop replies on a series of specific devices and systems to realize the additional power interaction which is missing in conventional hardware-in-the-loop testing where only signal interaction is conducted. The power response from the EUT is injected back to the testing and emulation loop to form a closed-loop control and testing application, for which purpose the following devices are integrated.
Real-Time Simulator
Real-time simulator (RTS) is the core computational component for PHIL system which executes detailed electrical modes of the grid, power network or application environment in real time typically following time steps at microsecond range. Based on the simulation model, the RTS continuously generates reference signals representing grid voltage, frequency, phase angle, impedance, and disturbance conditions.

Fig 3. Speedgoat Real-Time Simulators
Reference signals generated by RTS are then transmitted to the power interface – usually an power interface or power amplifier – which converts the signals into physical electrical outputs. Meanwhile when the signal transmission takes place, measurement feedback from the EUT is returned to the RTS that the simulation model will constantly, successively and dynamically respond to the actual electrical behaviour of the hardware.
Typical commercial real-time simulators used in PHIL platforms include systems from OPAL-RT Technologies, Typhoon HIL, and RTDS Technologies [2], which provide high-speed simulation capabilities and flexible interface options for integration with external power hardware.
| Applications | Advantages of Real-Time Simulator |
| Multiple Factor Modelling | Real-time modelling of grid conditions, weak grid, SCR, load conditions, mechanical or electrical stress and temperature emulation of DUT’s operation condition… |
| Dynamic and Closed-Loop Interaction | Signal exchange and power interaction between power interface and DUTs. |
| Fault Injection | Complementary fault reproduction functions in addition to the built-in capability of programmable power source and emulators |
| Versatile Modelling Capability | Mathematic modelling for various testing environments: wind power, energy storage systems, powertrain, weak grid… |
| Cross-System-Coupling | Cross-RTS emulation for micro-grid forming and complex coupling conditions modelling |
Table 1. Key Applications of Real-Time Simulator (RTS)
Power Interface and Amplifier
Power interface can be either a power amplifier or an advanced programmable power supply such as PHIL-ready grid simulator that serves as the physical link between the RTS and power hardware under test. It converts the low-power reference signals generated by the real-time simulator into high-power electrical waveforms that can drive the EUT.
Unlike programmable power sources used in conventional testing and open-loop scenarios, power interface in PHIL should be of significant high bandwidth and fast transient response to minimize latency and achieve accuracy for closed-loop operation. A later chapter will discuss why high bandwidth is essential for Power HIL testing.

Fig 4. PHIL-Ready AC Power Supply as Power Amplifier
Control Host and Work Station
The control host and workstation provide system-level configuration, control, and monitoring for the PHIL platform. They are used to develop and deploy simulation models to the real-time simulator, configure test scenarios, and supervise system operation.
In addition, the workstation enables real-time data acquisition, visualization, and analysis of electrical waveforms and performance metrics. It also coordinates communication between the real-time simulator, power interface, and measurement systems, ensuring synchronized operation and stable closed-loop interaction throughout the PHIL testing process.
Key Specifications that Matter for Power Hardware-in-the-Loop Testing: Bandwidth and Dynamic Response
It is mentioned in the previous context that bandwidth is a critical specification for a programmable power source to be integrated into Power HIL application. Here we extend the discussion to cover why this matters.The bandwidth is a parameter that defines the power interface’s capability, typically a programmable power source or grid simulator, to track and reproduce the real-time reference signals generated by the real-time simulator (RTS). Unlike conventional programmable power testing, where output waveforms are predefined, PHIL requires the grid simulator to continuously follow dynamically evolving reference signals that represent simulated grid conditions. The chart diagram alongside here represents the closed-loop signal and power interaction in a PHIL platform.
The grid simulator receives a real-time reference voltage \(v_{ref}(t)\) from the RTS and generates a physical output voltage \(v_{out}(t)\). Ideally:
\[
v_{out}(t) \approx v_{ref}(t)\quad \text{for frequencies } f < f_{bw}
\]
where \(f_{bw}\) is the control bandwidth of the grid simulator. When the reference contains frequency components beyond the bandwidth limit, the output exhibits amplitude attenuation and phase delay, reducing fidelity in closed-loop operation.

Why PHIL Requires Much Higher Bandwidth Than Conventional Grid Testing
Conventional hardware power testing follows a much simpler control sequence where the programmable power only follows the predefined profile for its output, usually configured by control software, to drive the DUT and independent of the latter’s response. Such an open-loop relation can be simplified by the below chart:
\[ \text{Predefined Profile} \rightarrow \text{Grid Simulator} \rightarrow \text{DUT} \]
where no electrical feedback interaction exists nor the grid simulator has to dynamically respond to the DUT, which suppose basically no strict requirements on the programmable power’s bandwidth.
In contrast, PHIL systems form a closed-loop interaction between the real-time simulator, grid simulator, and equipment under test:
\[ \text{RTS} \rightarrow \text{Grid Simulator} \rightarrow \text{EUT} \rightarrow \text{RTS} \]
In this architecture, the grid simulator functions as a real-time power interface whose dynamic behavior directly influences the overall system response. From a control system perspective, the closed-loop transfer function can be described as
\(G(s)=G_{RTS}(s)\cdot G_{GS}(s)\cdot G_{EUT}(s)\), where the grid simulator transfer function \(G_{GS}(s)\) becomes a critical component determining system stability.

Fig 5. Common Topology for Power Hardware-in-the-Loop where Signal from DUT is Returned to RTS
Limited bandwidth introduces phase delay, which increases with frequency according to the relationship
\(\phi(f)=-\tan^{-1}\left(\frac{f}{f_{bw}}\right)\). As the bandwidth decreases, phase delay increases, reducing the stability margin and distorting the reproduced grid behaviour.
Higher bandwidth allows the grid simulator to respond rapidly to dynamic reference signals from the real-time simulator, ensuring accurate reproduction of transient events such as grid faults, load changes, and converter-driven disturbances.
Typical Bandwidth Requirements for PHIL Applications
Traditional AC sources and programmable grid simulators intended for conventional testing commonly provide control bandwidth in the range of:
\[
50~\text{Hz} \;\text{to}\; 200~\text{Hz}
\]
PHIL-capable grid simulators typically require substantially higher control bandwidth:
\[
1~\text{kHz} \;\text{to}\; 5~\text{kHz} \quad \text{or higher}
\]
A practical design condition is:
\[
f_{dynamic} \ll f_{bw}
\]
where \(f_{dynamic}\) represents the dominant frequency range of the system dynamics that must be faithfully reproduced in the closed-loop PHIL interaction.

Fig 6. CORTEX AC Programmable Power Supply is PHIL Ready
Impact of Insufficient Bandwidth on PHIL Testing
If the bandwidth [3] of the power interface is insufficient, the grid simulator cannot accurately track the reference signal generated by the real-time simulator, resulting in tracking error defined as \[e(t)=v_{ref}(t)-v_{out}(t)\].
This error directly affects the fidelity of the emulated grid. The dynamic response delay of the grid simulator is inversely proportional to its bandwidth, approximately following:
\[
\tau \approx \frac{1}{2\pi f_{bw}}
\]
Lower bandwidth results in longer response delay, preventing the grid simulator from reproducing fast transient events accurately.
This limitation becomes particularly critical during transient scenarios such as Low Voltage Ride Through testing, where the reference voltage may drop from \(V_{nom}\) to \(0.2V_{nom}\) within milliseconds. If the grid simulator cannot follow this change instantaneously, the EUT experiences a distorted electrical condition, leading to inaccurate validation of control performance and protection response.
Conversely, higher bandwidth allows the grid simulator to closely track the reference signal, ensuring realistic grid emulation and stable closed-loop operation.
Key Grid Simulator Functions Required for Accurate PHIL Simulation
Grid simulators deployed in a PHIL platform is supposed to assume sophisticated profile emulation capabilities beyond simply generating predefined voltage profiles, meanwhile responding to both the reference signals from the real-time simulator and the instantaneous current drawn or injected by the Equipment Under Test (EUT).
Supposing when an inverter connected to a wind-driven induction generator experiences power feedback and simultaneous grid voltage disturbance, the grid voltage must adjust in real time according to both the simulation model and the electrical interaction with the hardware. Implied by this use case is the essentialness of fast response and accurate emulation combined under a closed-loop power testing scenario for grid impedance emulation, fast disturbance response, and precise real-time control of voltage, frequency, and phase. [4]
Grid Impedance Emulation for Weak Grid Simulation
In real electrical grids, the power system is never an ideal voltage source. Every grid has a finite impedance determined by transmission lines, transformers, and network topology. This grid impedance directly influences how voltage behaves when current is injected by connected equipment such as inverters, converters, or power supplies.
For example, in a weak grid condition, even a small current change from the converter can result in noticeable voltage fluctuation. These voltage variations affect converter stability, synchronization, and control performance.
Regenerative Grid Simulators are with Integrated RLC-Circuit for Emulating Real-Time Grid Impedance.
Read ActionPower’s Technical Article to Discover How Grid Simulators Replicate Dynamic Impedance
In a PHIL system, the real-time simulator defines the electrical characteristics of the grid, including its equivalent impedance. The grid simulator must then reproduce this behaviour physically by adjusting its output voltage in response to the current drawn or injected by the EUT. This interaction can be expressed as:
\[
v_{out}(t)=v_{ref}(t)-Z_{grid}\cdot i_{EUT}(t)
\]
This capability allows the PHIL platform to accurately emulate weak grid conditions and enables engineers to evaluate how equipment behaves under realistic grid strength scenarios, including voltage stability and control interaction.
Without proper impedance emulation, the grid simulator would behave as an ideal voltage source, masking real-world instability risks and leading to overly optimistic test results.
Fast and Accurate Grid Fault Simulation (LVRT, Frequency Disturbance)
Another critical requirement in PHIL testing is the accurate reproduction of grid disturbances, such as voltage faults and frequency deviations.
In real power systems, grid faults occur suddenly and propagate within milliseconds. Equipment connected to the grid must detect and respond to these events immediately. To reproduce such scenarios, the real-time simulator generates fault conditions that the grid simulator must follow without delay.


Fig 7. LVRT & HVRT Waveforms Generated by ActionPower’s Grid Simulators
For example, during Low Voltage Ride Through (LVRT) testing, the simulated grid voltage may drop abruptly:
\[
V_{nom}\rightarrow 0.2V_{nom}
\]
If the grid simulator responds too slowly, the EUT does not experience the correct fault condition. This can result in incorrect validation of protection mechanisms, fault ride-through capability, or control stability. A grid simulator designed for PHIL applications must therefore be capable of reproducing fast voltage transitions, frequency deviations, and transient events with minimal delay, ensuring that the equipment under test is exposed to realistic electrical conditions.
Accurate Emulation of Grid Voltage, Frequency, and Phase
Beyond fault conditions, the grid simulator must continuously reproduce the fundamental electrical parameters of the simulated grid, including voltage magnitude, frequency, and phase angle.
These parameters are constantly evolving in a real power system, particularly in weak grids, microgrids, or systems with high penetration of power electronic converters.
The output voltage can be represented as:
\[
v(t)=V(t)\sin\left(2\pi f(t)t+\theta(t)\right)
\]
where voltage magnitude \(V(t)\), frequency \(f(t)\), and phase angle \(\theta(t)\) may all vary dynamically.
The grid simulator must track these parameters in real time to ensure proper interaction with the EUT. Accurate reproduction of these quantities is essential for validating synchronization performance, converter stability, and system-level control behaviour.
Without precise voltage, frequency, and phase control, the PHIL system would not accurately represent real grid behaviour, reducing the validity of the testing results.
Engineering Considerations When Selecting Grid Simulator for PHIL
Selecting a grid simulator for power hardware-in-the-loop testing imposes more challenges from engineering considerations compared to simply deploying a programmable power source for conventional open-loop testing bench.
Apart from standard specifications to review and go through including voltage, power, current, precision and accuracy for programming, the grid simulator should be able to coordinate and synchronize the specifications and parameters of RTS integrated for the PHIL test bench. More concerns should be bore in mind during evaluating the system’s capability and technical parameters. The table below should get you a quick glance over what to consider:
| Engineering Parameter | Why It Matters in PHIL Applications | Engineering Impact | Recommended for PHIL |
|---|---|---|---|
| Control Bandwidth | Determines how quickly and accurately the grid simulator can track reference signals from the real-time simulator. | Higher bandwidth enables accurate reproduction of fast transient events such as voltage sag, grid faults, and converter-driven grid interaction. | ≥ 1 kHz control bandwidth (recommended 1–5 kHz or higher) |
| Response Latency | Represents the delay between the simulation reference signal and the physical output of the grid simulator. | Lower latency minimizes phase delay, improves closed-loop stability, and prevents oscillations in the PHIL system. | ≤ 100 μs control loop latency (lower preferred) |
| Transient Tracking Capability | Defines the ability to reproduce rapid voltage, frequency, and current changes without distortion. | Ensures accurate validation of equipment behavior during dynamic events such as LVRT, frequency disturbances, and sudden load changes. | Fast transient response (< 1 ms), high slew rate, real-time reference tracking |
| Grid Impedance Emulation | Allows the grid simulator to reproduce realistic grid strength conditions defined by the real-time simulation model. | Enables accurate simulation of weak grid scenarios and realistic converter-grid interaction. | Full support for programmable impedance (R, L, and RLC emulation) |
| Voltage, Frequency, and Phase Accuracy | Ensures precise reproduction of grid parameters during steady-state and transient operation. | Maintains correct synchronization and ensures realistic testing of converter control performance. | High resolution control, precise phase tracking, real-time frequency adjustment |
| Closed-Loop Stability Performance | Determines the ability of the grid simulator to operate reliably under continuous real-time feedback conditions. | Prevents instability, oscillations, and tracking errors that could invalidate PHIL testing results. | Stable operation under dynamic feedback, PHIL-compatible control architecture |
Wrap-Up
Power Hardware-in-the-Loop testing enables realistic validation of modern power conversion systems by introducing closed-loop interaction between real hardware and simulated grid environments. In this architecture, the grid simulator becomes a critical component and power interface that directly determines the stability, fidelity, and accuracy of the testing platform. Key engineering characteristics such as control bandwidth, response latency, transient tracking capability, and grid impedance emulation must be carefully considered when selecting a grid simulator for PHIL applications. High-performance programmable grid simulators ensure stable closed-loop operation and enable accurate reproduction of real-world grid dynamics.
To learn more about PHIL-capable grid simulation solutions and how they can support your testing requirements, explore ActionPower’s grid simulator platforms or contact our engineering team for application guidance.
Bibliography
- [1] Dynamic Grid Stability in Low Carbon Power Systems with Minimum Inertia, Renewable Energy, Volume 210, 2023,Pages 486-506, ISSN 0960-1481, Link
- [2] OPAL-RT Technologies Inc – System Integration Services, Mathworks, Link
- [3] M. Fischer, P. Kemper, J. Herbold, D. Epping and F. Puschmann, “High-Bandwidth Power Hardware-in-the-Loop for Motor and Battery Emulation at High Voltage Levels,” 2022 24th European Conference on Power Electronics and Applications (EPE’22 ECCE Europe), Hanover, Germany, 2022, pp. 1-9., Link
- [4] Grid Emulator – PHIL Testing & Grid Simulation, Impedyme, Link

Zhiwei Bao
Zhiwei Bao holds 20+ patents in the field of mechanical engineering and is keen on industrial automation and product marketing. His interdisciplinary background, along with his passion and initiative for learning, has led him to a profound understanding of power electronics. He manages the technical copywriting for programmable power and testing topics at ActionPower through product-marketing-driven approaches.
About Zhiwei Bao





