This content is not included in your SAE MOBILUS subscription, or you are not logged in.
Integration of Automatic Code Generation in Model-Based Algorithm Development; Prerequisites, Workflow and the Human Factor
ISSN: 0148-7191, e-ISSN: 2688-3627
Published October 06, 2009 by SAE International in United States
Annotation ability available
Automatic code generation is an established technology in automotive and aerospace industries that is also adopted in commercial vehicle embedded software development. Code generation brings the productivity gains of model-based algorithm design to the next stage of the process – production software development. The technology has matured to the point where it satisfies most technical and usability requirements and the success of code generation depends on judicious deployment, efficient work practices and acceptance by all users involved. It has been demonstrated that model-based software development and code generation in particular can shorten development cycles while staying true to the requirements and maintaining software quality through multiple algorithm iterations. These gains, though, only come as a result of careful combination of tools and methods.
This paper discusses solutions to common organizational and technical challenges of model-based software development. These include workflows to bridge disconnects between algorithm and software development, supplier and OEM, companies and their foreign subsidiaries. In addition to organizational planning, technical infrastructure is needed to provide proper data management, change tracking, merging of parallel versions, integration with legacy software, reuse of test vectors, linking to requirements and enforcing modeling style guidelines. Examples of successful workflows, tool choices and best practices are described. The importance of the human factor is also acknowledged.
CitationStamatov, S., Vitkin, L., Fleischer, D., and Eisemann, U., "Integration of Automatic Code Generation in Model-Based Algorithm Development; Prerequisites, Workflow and the Human Factor," SAE Technical Paper 2009-01-2925, 2009, https://doi.org/10.4271/2009-01-2925.
- Key factors for successful integration of automatic code generation in series production development Beine Michael Eisemann Ulrich Fleischer Dirk Stamatov Stamat 2009 SAE International
- Automatic Code Generation and Platform Based Design Methodology: An Engine Management System Design Case Study Ferrari Alberto et al 2004 SAE International
- Model-Based Development with Automatic Code Generation – Challenges and Benefits in a DCT High-Volume Project Grassl Georg Winkler Gerd VDO Automotive AG SAE Paper 2008-01-0745
- TargetLink Goes Off-Road Thomas H. Pruett Chrysler Jeep & Truck dSPACE News 2 2005
- EmbeddedTester and EmbeddedValidator BTC Embedded Systems AG http://www.btc-es.de
- Reactis, Reactive Systems Inc. http://www.reactive-systems.com/
- PolySpace Model Link TL (for dSPACE TargetLink) The MathWorks Inc. http://www.mathworks.com/products/polyspacemodeltl/
- MTest Classic, Model Engineering Solutions http://www.model-engineers.com/our-products/mtest-classic.html
- Hardware-in-the-Loop Simulation for Hybrid Electric Vehicles: An Overview, Lessons Learned and Solutions Implemented Nagaraj S. Ali S. Dhaliwal A. SAE International 2009
- Control Algorithm Modeling Guidelines Using MATLAB®, Simulink®, and Stateflow®, Version 2.0 MathWorks Automotive Advisory Board (MAAB) July 27th 2007
- Modeling Guidelines for MATLAB/Simulink/Stateflow and TargetLink
- MISRA AC TL: Modeling style guidelines for the application of TargetLink in the context of automatic code generation November 2007
- Model Examiner: Automatic Compliance Checks for Simulink and TargetLink models http://www.modelengineers.com/
- Executable Specs: What Makes One, and How are They Used? Schubert Peter Packer Engineering Vitkin Lev Winters Frank Delphi Electronics & Safety SAE Paper 2006-01-1357
- “Model-Based Design and Beyond: Solutions for Today's Embedded Systems Requirements” Krasner Jerry EMBEDDED MARKET FORECASTERS American Technology International January 2004
- “Best Practices for Establishing a Model-Based Design Culture” Smith Paul F. Prabhu Sameer M. Friedman Jonathon The Mathworks Inc. 2007