building embedded displays using model-based … embedded displays using model-based design jason...
TRANSCRIPT
1© 2015 The MathWorks, Inc.
Building Embedded Displays Using Model-Based Design
Jason MoorePilot Engineering
3
Display
ImagesText Fonts
SPECIFICATIONS
Graphical Illustrations
VisualDesign
Embedded Software
HardwarePrototype
EmbeddableGraphics
Graphics
Embeddable Algorithms
BusinessLogic
Embeddable Algorithms
OtherApplication
Physical Prototypes • Hardware/drivers not available early• Low-level designs prevent rapid iteration
INTEGRATION AND TEST
Traditional Testing• Design and integration issues found late
Manual Integration• Cumbersome to map components• Error-prone to keep make changes
Traditional Display Design Process
4
Display
ImagesText Fonts
SPECIFICATIONS
Graphical Illustrations
VisualDesign
Embedded Software
HardwarePrototype
EmbeddableGraphics
Graphics
Embeddable Algorithms
BusinessLogic
Embeddable Algorithms
OtherApplication
Physical Prototypes • Hardware/drivers not available early• Low-level designs prevent rapid iteration
INTEGRATION AND TEST
Traditional Testing• Design and integration issues found late
Manual Integration• Cumbersome to map components• Error-prone to keep make changes
Model-Based Design of Displays
Out-of-the-box integration of business logic with graphics tools through published API
Test requirements and analyze behavior of complete design using simulation on desktop
Verify and validate designs using testing and error detection through desktop simulation
INTEGRATION AND TEST
5
DiSTI GL Studio Integration for HMI ApplicationsPurpose: Demonstrate a workflow that is tailored to developers who focus on embedded HMI applications
Instrument Cluster
Center Stack
Typical Automotive ApplicationsLogic Application
(Stateflow)
Graphics Application(GL Studio/Disti Blockset)
Focal point of the demonstration is on early validation and verification in Simulink for HMI development
6
Key Takeaways• Co-Simulation/Development Environment in Simulink• Automated Test Case Execution
Input Vectors Expected vs ActualSDI 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
Simulink Simulation