This content is not included in
your SAE MOBILUS subscription, or you are not logged in.
Automatic Code Generation and Platform Based Design Methodology: An Engine Management System Design Case Study
Technical Paper
2005-01-1360
ISSN: 0148-7191, e-ISSN: 2688-3627
Annotation ability available
Sector:
Language:
English
Abstract
The design of a complex real-time embedded system requires the specification of its functionality, the design of the hardware and software architectures, the implementation of hardware and software components and finally the system validation. The designer, starting from the specification, refines the solution trying to minimize the system cost while satisfying functional and non functional requirements. The automatic code generation from models and the introduction of the platform-based design methodology can drastically improve the design efficiency of the software partition, while maintaining acceptable the cost overhead of the final system. In this approach, both top-down and bottom-up aspects are considered and solutions are found by a meet-in-the-middle approach that couples model refinement and platform modeling. In more details, given a model of the implementation platform, which describes the available services and data types, the algorithms captured by models are refined and then automatically translated to software components. These components are integrated with handwritten (e.g. legacy) software modules together with the software platform. A final validation phase on the real target is performed to finally validate the functionality and to guarantee that the performance constraints are met.
The methodology described in this paper has proven in the years of deployment its validity and maturity level. The effective results are the improvement of the time-to-market and the capability to cope with the complexity of modern embedded controllers for power-train. The selected automatic code generation environment (the model compiler) has been instrumental in implementing our model based design methodology.
In the future, the platform based design methodology will allow an easy accommodation of the new automotive software architecture standard promoted by the AUTOSAR consortium.
Recommended Content
Authors
Citation
Ferrari, A., Gaviani, G., Gentile, G., Stefano, M. et al., "Automatic Code Generation and Platform Based Design Methodology: An Engine Management System Design Case Study," SAE Technical Paper 2005-01-1360, 2005, https://doi.org/10.4271/2005-01-1360.Also In
Automotive Electronics on CD-ROM from the SAE 2005 World Congress
Number: SP-1980CD; Published: 2005-04-11
Number: SP-1980CD; Published: 2005-04-11
SAE 2005 Transactions Journal of Passenger Cars: Electronic and Electrical Systems
Number: V114-7; Published: 2006-02-01
Number: V114-7; Published: 2006-02-01
References
- ASAM-MCD 2MC 2000
- Balluchi A et al. 1999 Functional and Architectural Specification for Power-train Control System Design
- Balarin F. 1997 The POLIS Approach In Hardware-Software Co-Design of Embedded Systems Kluwer Academic Publishers
- Burch J. R et al 2002 Modeling Techniques in Design-by-Refinement Methodologies In Integrated Design and Process Technology
- dSPACE 2002 http://www.dspace.de
- Hanselmann, H. Kiffmeier Köster U. Meyer L. 1999 Automatic Generation of Production Quality Code for ECUs SAE Technical Paper 99P-12
- TheMathworks 2002 http://www.mathworks.com
- TheMetropolisProject http://www.gigascale.org/metropolis
- MISRA 1998 Guidelines for the Use of the C Language
- OSEK/VDX Operating System 2001
- Pontoppidan, M. Gaviani, G. 1997 Direct Fuel Injection, a Study of Injector Requirements for Different Mixture Preparation Concepts SAE Paper, 970628
- Thomsen T Stracke R Köster L. 2001 Connecting Simulink to OSEK: Automatic Code Generation for Real-Time Operating Systems with TargetLink SAE Technical Paper 01PC-117
- Thomsen T 2002 Integration of International Standards for Production Code Generation SAE Technical Paper 2003-01-0855
- Sangiovanni Vincentelli A. Ferrari A. 1999 System Design: Traditional concepts and new paradigms Proceedings of ICCD
- AUTOSAR www.autosar.org
- Ferrari A. Gaviani G. Gentile G. Stara G. Romagnoli L. Thomsen T. From Conception to Implementation: a Model Based Design Approach IFAC Symposium on Advances in Automotive Control (IFAC-AAC'04) April 2004
- ASCET-SD www.etas.de