When developing production software for fixed-point Engine Control Units (ECUs), it is important to consider the transition from floating-point to fixed-point algorithms. Systems engineers frequently design algorithms in floating-point math, usually double precision. This represents the ideal algorithm behavior without much concern for its final realization in production software and hardware. Software engineers and suppliers in mass production environments, however, are concerned with production realities and often need to convert these algorithms to fixed-point math for their integer-only hardware.A key task is to design scale factors that maximize code efficiency by minimizing the bytes used, while also minimizing quantization effects such that the fixed-point algorithms match the floating-point results within an acceptable numerical margin. This floating- to fixed-point conversion task is tedious, labor intensive, error-prone, and often requires multiple iterations between system and software engineers.Model-Based Design simplifies fixed-point development by providing tools and workflows that help the conversion process. System engineers doing on-target rapid prototyping for fixed-point ECUs often benefit from automated scaling and workflow assistance to support their initial fixed-point design. Production software engineers benefit from automated scaling as well, but they also require fine grain control over fixed data specification in their modeling environment to work with accumulator word sizes and target-specific optimizations. In addition to providing automated scaling and fine grain data modeling features, Model-Based Design capabilities for fixed-point verification and validation continue to evolve. One example is bit-accurate, fixed-point simulation with automated comparison to embedded software results using processor-in-the-loop testing.This paper presents Model-Based Design capabilities and tools that support development and verification of fixed-point ECU software used in mass production vehicles.


    Access

    Check access

    Check availability in my library

    Order at Subito €


    Export, share and cite



    Title :

    Fixed-Point ECU Development with Model-Based Design


    Additional title:

    Sae Technical Papers


    Contributors:

    Conference:

    SAE World Congress & Exhibition ; 2008



    Publication date :

    2008-04-14




    Type of media :

    Conference paper


    Type of material :

    Print


    Language :

    English




    Fixed-Point ECU Development with Model-Based Design

    Erkkinen, T. / Society of Automotive Engineers | British Library Conference Proceedings | 2008


    Fixed-Point Model Development Assistant Tool

    Kakade, Rupesh Sonu / Basu, Sushovan | SAE Technical Papers | 2016


    Fixed-Point Model Development Assistant Tool

    Kakade, Rupesh Sonu / Basu, Sushovan | British Library Conference Proceedings | 2016



    Fixed-point ECU code optimization and verification with Model-Based Design

    Erikkinen,T. / The Mathworks,GB | Automotive engineering | 2009