Upload
others
View
3
Download
0
Embed Size (px)
Citation preview
1© 2014 The MathWorks, Inc.
Model-Based Design – From Rapid
Prototyping to Production基于模型的设计– 从快速原型到产品
Paul Smith
Director – Consulting Services
MathWorks
3
Prototyping to Production
原型到产品
Production Code Generation
产品级代码生成
Requirements Based Verification and Validation
基于需求的测试验证
Organization and Process Formalization组织架构于流程正规化
4
Adoption Path to Production 产品化路径
5
Model-Based Design 基于模型的设计
6
Specification
Design
Implementation
Unit Test
Integration &
Functional Test
System TestRequirement
Capturing
Model-Based Design 基于模型的设计
7
Model-Based Design Maturity Framework™基于模型的设计成熟度架构
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
9
Modeling pillar details模型核心具体细节
Modeling Language
Algorithm Modeling
Environment/Plant Modeling
Modeling Standards
Process GroupsPillar
Requirements
Architecture
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
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
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
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
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
15
The Move to Production向产品方向转变
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
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
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
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.
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
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
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
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
24
Thank You