Model-Based Design – From Rapid Prototyping to Production · - test case generation -...
Transcript of Model-Based Design – From Rapid Prototyping to Production · - test case generation -...
![Page 1: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/1.jpg)
1© 2014 The MathWorks, Inc.
Model-Based Design – From Rapid
Prototyping to Production基于模型的设计– 从快速原型到产品
Paul Smith
Director – Consulting Services
MathWorks
![Page 2: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/2.jpg)
3
Prototyping to Production
原型到产品
Production Code Generation
产品级代码生成
Requirements Based Verification and Validation
基于需求的测试验证
Organization and Process Formalization组织架构于流程正规化
![Page 3: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/3.jpg)
4
Adoption Path to Production 产品化路径
![Page 4: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/4.jpg)
5
Model-Based Design 基于模型的设计
![Page 5: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/5.jpg)
6
Specification
Design
Implementation
Unit Test
Integration &
Functional Test
System TestRequirement
Capturing
Model-Based Design 基于模型的设计
![Page 6: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/6.jpg)
7
Model-Based Design Maturity Framework™基于模型的设计成熟度架构
![Page 7: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/7.jpg)
8
Model-Based Design Maturity FrameworkTM
基于模型设计的成熟度架构
Key Features• Perform comprehensive measurement of
capabilities• Independently measure each capability• Apply to any level of expertise or domain
![Page 8: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/8.jpg)
9
Modeling pillar details模型核心具体细节
Modeling Language
Algorithm Modeling
Environment/Plant Modeling
Modeling Standards
Process GroupsPillar
Requirements
Architecture
![Page 9: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/9.jpg)
10
Modeling pillar details模型核心具体细节
Modeling Language
Algorithm Modeling
Environment/Plant Modeling
Modeling Standards
Process GroupsPillar
Requirements
Architecture
Size
Hierarchy
Interfaces
Partitioning
Data Management
Scheduling
Testability
Data Modeling
Process Attributes
![Page 10: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/10.jpg)
11
Structure of the Model-Based Design Maturity FrameworkTM
基于模型设计成熟度架构
Pillars
Process Groups
Process Attributes
Maturity determined by rating:
6 Pillars,
32 Process Groups,
200+ Process Attributes
![Page 11: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/11.jpg)
12
Auto Industry Maturity: Leaders (Top 20%)汽车行业成熟度:某领先汽车企业(前20%)
0
20
40
60
80
100
Modeling
Simulation and Analysis
Implementation
Verification andValidation
Process, Toolsand
Infrastructure
Enterprise Management
![Page 12: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/12.jpg)
13
Proof of Concept
Deploy Component
Deploy FullApplication
Phase 13-6 mo
Phase 25-9 mo
Phase 31-3 years
Phase 43-5 years
Phased approach to building in-house competency建立自主研发能力途径
Matu
rity
Proof ofconcept
Deploy component
Deploy application
Deploy enterprise-wide
Time
Prototyping Production
![Page 13: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/13.jpg)
14
Phase 1: Prototyping - Proof of concept第1 阶段:原型-概念论证
Activities:
Form a team
Develop models
Use simulation to refine requirements
Execute generated code on prototype controller
0
20
40
60
80
100Modeling
Simulation and Analysis
Implementation
Verification andValidation
Process, Toolsand Infrastructure
Enterprise Management
Code
generation
![Page 14: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/14.jpg)
15
The Move to Production向产品方向转变
![Page 15: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/15.jpg)
16
Phase 2: Deploy a Component第2 阶段:零部件实施
New Activities
Simulation and analysis to refine and optimize design
Integration with production code build, configuration management, data dictionary, etc.
Introduce Model-Based Verification & Validation
Process initial definition, automation, and metrics
0
20
40
60
80
100Modeling
Simulation and Analysis
Implementation
Verification andValidation
Process, Toolsand Infrastructure
Enterprise Management
![Page 16: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/16.jpg)
17
Phase 3: Deploy an Application第3 阶段:整体应用上实施
New Activities
Full Model-Based V&V - coverage, SIL, PIL
- standards checking
- test case generation
- requirements linking
- change management
- plant modeling
- system-level simulation
Automated code build
Formal Process establishment
Organizational design
0
20
40
60
80
100
Modeling
Simulation and Analysis
Implementation
Verification andValidation
Process, Toolsand Infrastructure
Enterprise Management
![Page 17: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/17.jpg)
18
Verification & Validation Design
Implementation
Embedded
Software
DSP
C, C++
MCU
R E Q U I R E M E N T S
Testing
(HIL)
Test
Environment
Controller
Full Model-Based V&V完整的基于模型的测试与验证
Design
Verification
Code
Verification
Integration
Testing
![Page 18: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/18.jpg)
19
Model-Based Design Formal Process Establishment基于模型的设计正规流程的建立
Include details about: Organization
Projects targeted for adoption
Process
Tools
Infrastructure
Training
Automation
Metrics
Constraints
Standards
Regulations, etc.
![Page 19: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/19.jpg)
20
Challenges in Deploying MBD实施MBD面临的挑战
Resistance to change– Demonstrate and share success, get people involved, focus on
ROI early
Process and role changes– Clearly define expectations, evolve standards
Managing MBD as a “Hobby”– Full time leadership
It takes time– 1-3 years for Production, incremental advancement
Trying to figure it out on your own– Leverage MathWorks expertise
![Page 20: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/20.jpg)
21
ChallengeBuild a production engine control and embedded
software team, establish in-house development capability,
and complete the first production program in 36 months
SolutionUse Model-Based Design to design, implement, and test
control strategies and ECU software for a common-rail
diesel engine while working with MathWorks consultants
to develop the team’s software development skills and
expertise
Results Development time cut by 40%
Integration testing time halved
60% of design reused
Weichai Power Develops ECU Software for High-
Pressure Common-Rail Diesel Engine In-House
A high-pressure common-rail diesel
engine from Weichai Power.
Link to user story
“Compared with our past
experience with hand-coding,
Model-Based Design enabled us
to reduce labor costs by 30%,
cut testing costs by 20%, and
increase productivity by more
than 30%. We completed ECU
development ahead of schedule
while establishing our in-house
software development team.”
Daming Li
Weichai Power
![Page 21: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/21.jpg)
22
Automotive Industry Current Trends汽车工业当前趋势
• Plant modeling to support controls development
• ISO 26262 certification with Model-Based Design
• Further automation of V&V tasks
• AUTOSAR
![Page 22: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/22.jpg)
23
Proof of Concept
Deploy Component
Deploy FullApplication
Phase 4: Deploy enterprise-wide – MAC 2015第4 阶段:公司范围内实施-- MAC2015
Matu
rity
Plan
ExecuteAssess
Proof ofconcept
Deploy component
Deploy application
Deploy enterprise-wide
ContinuousImprovement
• Assess other site requirements• Refine objectives & capabilities• Combine and optimize processes
Time
![Page 23: Model-Based Design – From Rapid Prototyping to Production · - test case generation - requirements linking - change management - plant modeling - system-level simulation Automated](https://reader034.fdocument.pub/reader034/viewer/2022050207/5f5a712c87fdaa0238019bb5/html5/thumbnails/23.jpg)
24
Thank You