Access Official Technical PDF

Share Summary:LinkedInEmail

As electrical drives spread across energy, automotive and aerospace applications, validating their controllers is becoming more demanding. Engineers need to assess complex control strategies alongside fast-switching converters and electrical machines. Real-time simulation of electrical drives offers one way to test these systems without relying exclusively on physical converter and machine prototypes.

In a hardware-in-the-loop (HIL) setup, the controller under test connects to simulated power-conversion and machine models. The controller is real; the electrical plant it controls is represented in real time. This approach can help engineering teams evaluate drive behavior, adjust circuit configurations and explore operating conditions before committing to hardware tests.

Why electrical drive validation is challenging

Electrical drives combine control electronics, power converters and electrical machines. Changes to a converter topology or machine model can affect how the controller behaves, making it important to test the complete control loop rather than evaluate components in isolation. The challenge grows when designs use fast-switching converters or more demanding control strategies.

Physical prototypes remain useful, but they can be costly to build and may be at risk during tests that involve faults or undesirable operating conditions. A simulated electrical circuit provides another option: engineers can test a controller against a model and reconfigure that model as a project evolves, without exposing the actual converter or machine to the same test conditions.

How real-time simulation of electrical drives works

The HIL approach described here brings together CPU and FPGA processing. The FPGA handles the computation needed to simulate electrical circuits at very short time steps, while the simulation environment gives engineers a way to describe the circuit. The goal is to connect a real controller to simulated converters and electrical machines quickly enough to examine closed-loop behavior.

A key element is the electrical Hardware Solver, or eHS. Its third generation is designed to let system engineers implement electrical-circuit models directly on an FPGA without requiring them to write FPGA code. Instead of choosing only from fixed, predefined circuit models, users can describe their own topology and specify individual circuit elements, including switches, resistances, capacitors and inductances.

That flexibility matters when the test model needs to match a particular design. The simulation can represent inverter arrangements such as two-level, three-level or N-level topologies, as well as other AC/DC and DC/DC converter configurations. It can also be coupled with one or multiple electrical machines, including permanent-magnet synchronous, induction and switched-reluctance machines.

What engineers can test with a configurable HIL model

Controller behavior in a closed loop

Connecting the controller to simulated electrical hardware allows engineers to assess the interaction between control logic and the modeled power stage. The system can be configured for a project or for variations within a project, allowing the same simulation environment to serve different circuit arrangements.

Fault conditions as well as normal operation

Validation is not limited to expected operating conditions. The simulation approach can represent open- and short-circuit faults at different points in the electrical circuit. This gives teams a way to investigate controller response and other effects of undesirable conditions without deliberately creating those faults in physical power hardware.

Different converter and machine combinations

Because the circuit model is configurable, engineers can examine different converter topologies and machine types within the same general workflow. This can support comparisons across design alternatives and reduce the need to create a separate physical prototype for every configuration being assessed.

Practical benefits and engineering considerations

For engineering teams, ease of setup is an important consideration. A simulation workflow intended for system engineers can make it possible to implement an electrical circuit without requiring specialist FPGA coding skills. The stated workflow is designed to move from circuit description to deployment quickly, with initial closed-loop results possible within hours.

Simulation performance also matters. The solver is described as supporting sub-microsecond time steps, with high simulation speed, low latency and accuracy intended to bring controller tests closer to real operating conditions. These characteristics are particularly relevant when engineers need to examine fast-switching power electronics. They do not remove the need to validate models and results against the requirements of a specific application, but they can make detailed controller testing more practical.

A further benefit is reuse. Since the electrical circuit is implemented in software, the simulation setup can be reconfigured for another topology or project. This may reduce the need for repeated physical builds and can help teams broaden the range of use cases included in validation. It also avoids the risk of damaging the simulated converters and machines during tests, though the controller and the overall test setup still require appropriate engineering safeguards.

Choosing a simulation workflow

When considering HIL simulation for an electrical drive, teams should define the circuits and machine models they need to represent, the controller interfaces to be tested and the operating or fault conditions that matter. They should also consider the required simulation time step and whether the modeling workflow lets the engineers responsible for the drive configure and revise circuits efficiently.

It is equally important to treat the simulated circuit as part of the validation process, not as a substitute for sound model development. The usefulness of test results depends on how well the modeled converter and machine represent the intended system and on whether the selected tests address the project’s engineering requirements.

Conclusion

Real-time simulation of electrical drives can give engineering teams a configurable way to connect real controllers with simulated converters and machines. By combining CPU and FPGA processing, enabling detailed circuit definition and supporting fault-condition testing, HIL simulation can extend controller validation while reducing dependence on physical power-stage prototypes. For engineers and system integrators, the practical priority is to select a workflow that matches the drive’s topology, machine models and test objectives—and to use it as a disciplined part of the wider validation strategy.

Access Official Technical PDF

About The Author