Model-based Development for Event-driven Applications using MATLAB: Audio Playback Case Study
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.