The HIL Platform for Power Electronics
The RT Box is a real-time simulator specially designed for power electronics applications. With numerous analog and digital input/output channels and FPGA-embedded CPU cores, it is a versatile processing unit for both real-time hardware-in-the-loop (HIL) testing and rapid control prototyping. The RT Box is available in a number of variants with different performance levels. The technical specifications are listed in a comparison table.
RT Box CE
RT Box 1
RT Box 2
RT Box 3
When the RT Box is used for HIL testing it typically emulates the power stage of a power electronic system. The power stage could be a simple DC/DC converter, an AC drive system or a complex multi-level inverter system. The device under test (DUT) is the control hardware that will be connected to the RT Box. In such a setup, the complete controller can be tested without the real power stage.
The inputs of a controller are mostly analog signals coming from voltage and current sensors. In an HIL simulation, these signals are provided by the analog output channels of the RT Box. Other inputs of the controller might be digital, such as speed measurements with Hall effect sensors. Those controller inputs would be connected to the digital output channels of the RT Box.
In power electronic applications, the controller generates numerous PWM signals to control the individual power semiconductors. The PWM signals can be captured by the digital inputs of the RT Box with a time resolution of less than 10 ns. Using the captured input data, the RT Box simulates the power stage and provides the simulation results a few microseconds later at its analog outputs. With such a low I/O latency, the controller in fact "thinks" it is controlling a real converter system.
Rapid Control Prototyping
Alternatively, the RT Box can be used as a controller for the power stage. In this case, the voltage and current sensors will be connected to the analog inputs of the RT Box. The digital outputs are used to generate high-fidelity PWM signals for the power semiconductors. As the RT Box has more analog and digital channels than most MCUs, as well as higher sampling rates and a faster CPU, you will benefit from substantially higher performance compared to a more integrated controller solution.
If you have two RT Boxes you can connect them back-to-back for full system testing. One RT Box would simulate the power stage and the other one would function as the controller.
For fast and easy connection of external hardware, a set of breakout boards and interface cards is available:
The Analog Breakout Board makes the analog inputs and outputs individually accessible via BNC sockets.
The Digital Breakout Board makes all digital inputs and outputs accessible via terminal blocks and pin headers.
The LaunchPad-Nucleo Interface facilitates a simple connection of the RT Box with LaunchPad development kits from Texas Instruments or Nucleo-64 development boards from STMicroelectronics.
The ControlCard Interface allows to connect various ControlCards from Texas Instruments with the RT Box.
Inside the RT Box
At the heart of the RT Box operates a Xilinx Zynq system-on-chip that consists of an FPGA and multiple CPU cores. The tight integration between the FPGA and CPU allows for ultra-low latency when moving data between the I/O channels and the CPU. One of the CPU cores performs communication with the user while the remaining cores are used for the real-time simulation.
The ADCs and DACs in the RT Box both feature 16-bit resolution with simultaneous sample and update. The inputs and outputs can be adjusted to common industrial voltage ranges. All I/Os are protected against ESD, short-circuiting, and accidentally applied overvoltages.
The analog inputs are differential to suppress common mode EMI. If needed, they can be operated in a single-ended manner.
The digital I/Os are typically used for high-fidelity PWM capture and PWM generation, but can also provide general-purpose functionality or special low-level communication. Such communication currently includes SPI master and incremental encoder. The digital I/Os are compatible with 5 V and 3.3 V signal levels.
The RT Box operates hand-in-hand with a host computer running PLECS Standalone or PLECS Blockset and the PLECS Coder. The PLECS Coder translates a PLECS model into real-time capable C code to be compiled for running on the RT Box. The original PLECS model on the host computer can be connected to the simulation on the RT Box using an External Mode. This allows the user to visualize simulation results from the RT Box in the PLECS Scope and to tune parameters on the fly.
A collection of videos will assist you with setting up and operating the RT Box.