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

Developing Controller Software with RCP Systems

In-vehicle test systems for hybrid electric vehicles

Application Areas

  • Validating the overall control strategy
  • Integrating the controller functions into distributed ECU networks
  • Testing different control strategies

Key Points

  • Comprehensive I/O including CAN, CAN FD, LIN, K-Line/L-Line, FlexRay, Ethernet, and bypass interfaces
  • Easy access to all variables as well as I/O and bus signals of the real-time application during run time with ControlDesk®
  • Fast iteration by implementing Simulink models automatically on the RCP hardware at the click of a button
  • Large set of easy-to-configure, comprehensive I/O functions

The control functions for an electric or hybrid electric powertrain are often spread over a distributed network of ECUs. To enable you to test these functions, MicroAutoBox II is available in different variants that support all major automotive bus systems like CAN, CAN FD, FlexRay, Ethernet, LIN, and K-/L-Line. 

The DS1553 AC Motor Control Module is an I/O piggyback module that is optimized for controlling various electric drives. It provides interfaces for Hall, incremental encoder, resolver, EnDat and SSI sensors, and can be installed in MicroAutoBox II 1401/1511/1514 and 1401/1513/1514. There are two use cases:

Use Case 1: User-Specific FPGA Programming
The DS1553 provides I/O interfaces for the user-programmable FPGA of MicroAutoBox II. The XSG AC Motor Control Library enables the implementation of controller functionalities in both the CPU and the FPGA. With the board’s ready-to-use, configurable elements for common electric drives control, you do not have to deal with complex signal preprocessing and can fully concentrate on developing new control algorithms.

Use Case 2: AC Motor Control Solution
The MicroAutoBox II AC Motor Control Solution uses the DS1553 module in conjunction with a dedicated FPGA firmware and provides a comprehensive and easy-to-use RTI blockset for controlling various electric drives. All modeling is performed on the processor via MATLAB/Simulink – no FPGA programming by the user is required.

Further I/O modules for the MicroAutoBox are the DS1552 Multi-I/O Module, which offers a wide range of powerful I/O, and the DS1554 Engine Control I/O Module for the advanced control of combustion engines.

After validating the new functions with the RCP platform, production code has to be generated. With TargetLink®, you can generate C code straight from the graphical development environment of MATLAB/Simulink/Stateflow®.

TargetLink also provides native AUTOSAR support. Developers can specify AUTOSAR structure elements, such as runnables, ports, and communication interfaces, simply at model level. Hence model-based designs are directly implemented in the form of AUTOSAR-compliant production code.

Further Information