Building Embedded Displays Using
Model-Based Design
Jason Moore
Pilot Engineering
© 2015 The MathWorks, Inc.1
Example Target Applications
Instrument Cluster Center Stack
Command/Control
Heads-up display Center
2
Traditional Display Design Process
SPECIFICATIONS
Display
Business Other
Visual Graphics
Logic Application
Design
Embeddable Embeddable Embeddable
Graphical Images
Text
Graphics Algorithms Algorithms
Illustrations
Fonts
Physical Prototypes
• Hardware/drivers not available early
Manual Integration • Low-level designs prevent rapid iteration
• Cumbersome to map components
• Error-prone to keep make changes Hardware
Prototype
Embedded
Software
Traditional Testing
• Design and integration issues found late
INTEGRATION AND TEST
3
Model-Based Design of Displays
Test requirements and analyze
SPECIFICATIONS
behavior of complete design using
simulation on desktop
Verify and validate designs using
testing and error detection through
Display desktop simulation
Business Other
Visual Graphics
Logic Application
Design
Embeddable Embeddable Embeddable
Graphical Images
Text
Graphics Algorithms Algorithms
Illustrations
Fonts
Physical Prototypes
• Hardware/drivers not available early
Manual Integration integration of
Out-of-the-box • Low-level designs prevent rapid iteration
• Cumbersome
businessto mapwith
logic components
graphics
• Error-prone to keep make changes
tools through published API Hardware
Prototype
Embedded
Software
Traditional Testing
• Design and integration issues found late
INTEGRATION AND TEST
INTEGRATION AND TEST
4
DiSTI GL Studio Integration for HMI Applications
Purpose: Demonstrate a workflow that is tailored to developers who focus
on embedded HMI applications
Graphics Application
Typical Automotive Applications
Logic Application (GL Studio/Disti Blockset)
(Stateflow)
Instrument Cluster
Center Stack
Focal point of the demonstration is on early validation and verification in
Simulink for HMI development
5
Key Takeaways
• Co-Simulation/Development Environment in Simulink
• Automated Test Case Execution
Input Vectors Simulink Simulation Expected vs Actual
SDI Signal Comparison
Image Comparison
• Deployment to Target
• Embedded Coder code and GL Studio code can be built into a single
application
• Application can deploy to an embedded target or desktop 6
Existing Automotive Graphic Vendor Integrations
Altia (Altia)
[Link]
DiSTI (GL Studio)
[Link]
Digia Qt (technology)
[Link]
Fujitsu (CGI-Studio)
[Link]