Promoting excellence in mobility engineering

  1. FISITA Store
  2. Technical Papers

Automatic Generation of Production Quality Code for Embedded Automotive Control
eaec99/sta99p307

Authors

Herbert Hanselmann - dSPACE GmbH
Ulrich Kiffmeier - dSPACE GmbH
Lutz Köster - dSPACE GmbH
Martin Meyer - dSPACE GmbH

Abstract

This paper describes a new production code generator which meets both the requirements of code developers for efficient and reliable production code, and requests of system engineers to establish a control design process based on executable simulation models that double as ECU software specification. The production code generator supports automatic variable scaling, generates optimized fixed-point C code for microcontrollers like the Motorola 683xx, Siemens C16x, and Hitachi SH-2, and produces ASAP2 [1] calibration information. Benchmark results reveal that the efficiency of autogenerated code correponds with or even exceeds what is attained by typical handcrafted production code. Code reliabilty is assured by comprehensive tests including automatic comparisons of reference simulations with results obtained with autogenerated code executed on target microcontrollers.

Add to basket