This content is not included in
your SAE MOBILUS subscription, or you are not logged in.
Model-based Development for Event-driven Applications using MATLAB: Audio Playback Case Study
Technical Paper
2007-01-0783
ISSN: 0148-7191, e-ISSN: 2688-3627
Annotation ability available
Sector:
Language:
English
Abstract
Audio playbacks are mechanisms which read data from a storage medium and produce commands and signals which an audio system turns into music. Playbacks are constantly changed to meet market demands, requiring that the control software be updated quickly and efficiently. This paper reviews a 12 month project using the MATLAB/Simulink/Stateflow environment for model-based development, system simulation, autocode generation, and hardware-in-the-loop (HIL) verification for playbacks which read music CDs or MP3 disks. Our team began with a “clean slate” approach to playback architecture, and demonstrated working units running production-ready code. This modular, layered architecture enables rapid development and verification of new playback mechanisms, thereby reducing the time needed to evaluate playback mechanisms and integrate into a complete infotainment system. A system simulation environment which included a real-time operating system supports generic mechanism and behavior models, to account for functional differences in playback mechanism from different suppliers. The execution of HIL system simulation required the design and implementation of a communication protocol device which transceives command messages passed between the system environment and the playback mechanism. With this harness, either a generic mechanism model or a hardware unit can be tested, allowing development of mechanism control software before production system hardware platforms are available. Specification-derived test vectors are used as functional tests during development and results have been used during the verification of auto-generated production software against the model. A comprehensive application of executable specs to audio playbacks is successfully demonstrated, including important considerations such as configuration management, model library management, and requirements traceability. Limitations and benefits of this approach are described, along with lessons learned in the implementation of model-based design in the field of automotive electronics.
Recommended Content
Authors
Topic
Citation
Schubert, P., Vitkin, L., and Braun, D., "Model-based Development for Event-driven Applications using MATLAB: Audio Playback Case Study," SAE Technical Paper 2007-01-0783, 2007, https://doi.org/10.4271/2007-01-0783.Also In
SAE 2007 Transactions Journal of Passenger Cars: Electronic and Electrical Systems
Number: V116-7; Published: 2008-08-15
Number: V116-7; Published: 2008-08-15
References
- “Model Based Systems Development in Automotive,” Mutz M. Huhn M. Goltz U. Kromke C. SAE World Congress 2002, paper 03B-128
- “Model-Based Tools Update,” The Hansen Report on Automotive Electronics June 2001 14 5
- “Incorporating Autocode Technology into Software Development Process” Vitkin L. Jestin T.K. ICSE 2004 51 57
- “Managing the Challenges of Automotive Embedded Software Development Using Model-Base Methods for Design and Specification” Yeaton M SAE 2004-01-0720
- “Automotive Software development: A model Based Approach” Rappl M. Braun P. von der Beek M. Schroder C. SAE 2002-01-0875