For a better experience on, enable JavaScript in your browser. Thank you!

HIL Tests for the Power Equipment of Electric Trains

Testing controllers for grid interfaces, electric drives, and power electronics

Electric trains are characterized by a broad range of components and systems. The number of electric drives and other power equipment components depends on the number of electric railcars and varies considerably. Typical train applications require a high amount of I/O channels to enable a complete virtual test environment. Adaptable testing solutions are needed to fulfill the requirements of scalability and timing. Due to the complexity of the systems and the limited commissioning time, executing the majority of the tests in the more comfortable laboratories is a great advantage.

Application Areas

  • Traction converters
  • Auxiliary converters (on-board power supplies)
  • Battery chargers
  • Mains connection including main transformer, rectifier and energy distribution

Key Benefits

  • Test system adaptation to individual components
  • Scalable from single components to a virtual train
  • Support of several parallel motors
  • Integration of a large amount of power electronics
  • Multicore applications for large simulation models
  • Large amount of I/O channels
  • Very short cycle times in the processor-based simulation by FPGA preprocessing and optimization of I/O access
  • Interaction of FPGA-based and processor-based simulation platforms
  • Simulation of power equipment by drawing electric circuits
  • Design of I/O boards with customer-specific I/O configurations thanks to the I/O functions library of the XSG Utils Library and the flexible I/O of the DS2655 FPGA Base Board 

Support of Multiprocessor Systems

To increase the computational power for large test systems, two or more SCALEXIO Processing Units can be coupled. The systems are coupled via IOCNET to ensure sufficiently large bandwidths. For convenient modeling, you still have just one overall project in the configuration software, ConfigurationDesk.

Adjustable I/O Scale

For comprehensive I/O requirements, the DS2655 FPGA Base Board can be extended with I/O modules. The example simulator setup on the right includes six DS2655 with 30 I/O modules and three Processing Units. Altogether, the system provides more than 500 I/O channels that are available via Hypertac connectors. The computation performance and the outstanding IOCNET I/O access let you run the complete simulation with sample times of less than 20 µs (input-to-output latency of less than 2x sample time). The SCALEXIO system can be adapted to all project requirements by dSPACE Engineering Services.

Controlling and Simulating Electric Motors

The new DS2655M2 Digital I/O Module adds 32 digital I/O channels to the DS2655 FPGA Base Board, letting you capture or generate more digital signals, e.g., for position sensors. Furthermore, the I/O channels can be configured as senders or receivers for RS232- and RS485-based communication. With the appropriate FPGA-based programming, you can thus simulate protocol-based position sensors (such as SSL, EnDat, and HIPERFACE) and digital encoders (such as incremental encoders). The FPGA is programmed for each case via Xilinx® System Generator. The FPGA application generated by the dSPACE FPGA Programming Blockset is then easy to import into dSPACE ConfigurationDesk to configure the entire SCALEXIO system graphically. The DS2655 FPGA Base Board can be connected with up to five I/O modules via a ribbon cable, offering a highly flexible number of available channels.


Due to the short sample times, jitter effects have to be reduced as far as available. Depending on the I/O channel requirements, different synchronization methods are possible. To minimize the jitter between two or more DS2655 FPGA Base Boards, including their modules, for gate driver capturing, the stacks are synchronized with each other via the appropriate I/O channels. This lets you synchronize multiple boards with a jitter of two FPGA clocks.

The SCALEXIO EMH Solution provides a ready-to-use FPGA application with a comprehensive I/O library for processor-based HIL simulation of electric motors. You can use it to configure the simulation of up to two electric motors on one DS2655 FPGA Base Board from within ConfigurationDesk. Thanks to the predefined function blocks, you no longer have to program or generate FPGA code. The fast I/O of the DS2655M1 Multi-I/O Module and the integrated angular processing unit (APU) with a resolution of 8 ns let you use high-resolution I/O to measure applications in the areas of pulse width modulation (PWM) and position sensor simulation (PSS). The variable I/O channel mapping and the flexible support of up to five DS2655M1 Multi-I/O Modules let you tap the hardware’s full potential. You do not have to replace hardware to switch from processor-based simulation to FPGA-based simulation. You can simply continue to use the existing hardware system.

Flexible Adaptation

Controlled electric drives are a key technology in numerous engineering applications. Therefore, handling a large number of applications requires a high degree of flexibility, especially for servo controllers in industrial automation. And with all the possible configuration options for the servo controller software, there is a high number of variants, entailing an enormous testing workload. As the necessary controlled systems and real parts can be replaced by simulation models, setups and changes of the test scenario can be done quickly. With automated testing on a HIL simulator, these tests are then accelerated significantly. In addition to the servo controller, you can also test the energy management system if a regenerative unit is part of your system. For this, dSPACE offers simulation models for grid simulation.

Main Functions

  • Position Sensor
  • Simulation (PSS)
  • Resolver Out
  • Sine Encoder Out
  • Incremental
  • Encoder Out
  • Hall Encoder Out
  • Analog Wavetable
  • Encoder Out
  • Digital Wavetable
  • Encoder Out
  • Pulse Width Modulation 
  • Six-Channel PWM In
  • Single-Channel PWM In
  • Single-Channel PWM Out
  • Basic I/O Functions 
  • Multi-Bit In
  • Multi-Bit Out
  • Multi-Voltage In
  • Multi-Voltage Out