Simulation Models

Simulink models

Simulink has for a long time been the de-facto standard modeling environment for HIL models and RCP development, etc. Fengco and dSPACE offers a comprehensive set of Simulink-based simulation models for the automotive industry, collectively referred to as ASM – Automotive Simulation Models. ASM offers substantial and comprehensive simulations for simulating complete vehicular environments, including combustion engines, electrical components, vehicle dynamics, traffic environments and much more. 

The ASM Vehicle Dynamics Model is an excellent basis for developing and testing vehicle dynamics ECUs, such as ESP, steering and active damping ECUs. They are ideal for vehicle dynamics investigations in early development phases. Models for passenger vehicles, trucks and trailers are available. A user interface lets users configure the vehicles and define maneuvers and roads graphically. 

Vehicle electrical systems, electric drives and inverters, as well as starter batteries and high-voltage batteries, are all virtualized precisely by the simulation model for electric components. The model supports tasks such as developing and testing hybrid ECUs, battery management systems and indicator light controls. Users can parameterize the modeled components graphically to fit the real controlled system exactly. 

A comprehensive traffic model with road users and environmental objects is available for developing and testing driver assistance systems. The various sensor models in the simulated test vehicle detect the other road users as well as the static and dynamic objects in the virtual environment. The traffic scenarios and the environment are easily defined graphically. 

The ASM engine models are ideal for developing and testing engine and exhaust gas aftertreatment ECUs. They simulate a combustion engine, including all the necessary components, as a controlled system for the ECUs. There are models for diesel and gasoline engines with different injection systems and exhaust gas aftertreatment systems. The real-time simulations can be performed with mean-value models or with physical models. 

FPGA-models

Utilization of FPGAs, Application of FPGA

The need for a fast control loop is an increasing issue in the development of automotive ECUs, which always have more requirements for fast, complex, and highly reactive control circuits. In situations where standard implementations cannot solve a task, FPGAs can be used. The processor board is the core of a dSPACE system. When the processor board cannot calculate a model in the necessary time, we must move a part of the model to an FPGA. FPGA: s has a slower clock rate than processors, but they are able to perform numerous tasks much faster. This is because its logic elements work in parallel, and this often more than compensates for the lower clock rate. Additionally, because FPGA boards are directly connected to I/O, the entire bandwidth of converters can be utilized with minimum latencies, and very fast control loops can be implemented. 

 dSPACE FPGA Boards are user-programmable (using Simulink blocks) and can be used for simulations of motors and other applications that require ultra-high-speed calculations. The FPGA boards work together closely with application specific XSG model libraries. dSPACE offers RTI FPGA Programming Blockset and a set of libraries, such as XSG Utils, XSG Electric Components Library, and XSG AC Motor Control Library for effortless model implementations. Those components are implemented and developed via Xilinx® System Generator Blockset. You can test the program in offline simulation before implementing it on real-time hardware. As a result, you can react flexibly to new requirements, such as new interfaces or accelerated sub-model execution. 

Significant Advantages for Electrified Powertrains

Powertrain electrification is a fast-growing area. The mechanically coupled auxiliary aggregates (such as hydraulics and cooling water pumps) are being replaced by electrical aggregates that only run when needed and consume no energy otherwise. In order to develop controllers for these electric drives, we must support different interfaces flexibly. Interfaces include those for position sensors, such as resolvers and encoders, and for addressing power stages, such as block and sine-commutation stages. When ECU tests are run on a HIL simulator, parts of the electric drive model have to be implemented on the FPGA. Otherwise, the high dynamics requirements cannot be met. In electric drives, the ECU controls the power flow directly. Modeling the highly dynamic effects at the power stages with sufficient precision requires cycle times considerably lower than one microsecond. We can only achieve this by using FPGAs, with at least the motor current calculation running on an FPGA board. 

The other models

Are you looking for models for sensor simulation of camera, radar and lidar? Please head over to our information page about them.

Except for supporting ASM and other Simulink-based models that the users can model themselves, our simulators can also run a long list of other formats. We combine the high system performance and reliability you expect with the flexibility you need. In addition to providing modular and versatile hardware, we rely on standardized interfaces that do not compromise system performance and reliability, while still providing the flexibility you need to easily execute various applications on our systems. 

In addition to the direct integration of Simulink, you benefit from a wide selection of simulation software and models to create your application. You can choose the best-in-class tool for each application field and still run an integrated, high-performance simulation of the entire system on the dSPACE real-time hardware. Even a combination of models or model parts from different vendors is easy to handle. 

We proactively support the Functional Mock-up Interface (FMI) as an established, tool-independent standard for both the exchange and co-simulation of models.