Model-Based Design From Rapid Prototyping to Production 基于模型的设计 从快速原型到产品 Paul Smith Director Consulting Services MathWorks 2014 The MathWorks, Inc. 1
Prototyping to Production 原型到产品 Production Code Generation 产品级代码生成 Requirements Based Verification and Validation 基于需求的测试验证 Organization and Process Formalization 组织架构于流程正规化 3
Adoption Path to Production 产品化路径 4
Model-Based Design 基于模型的设计 5
Model-Based Design 基于模型的设计 Requirement Capturing System Test Specification Integration & Functional Test Design Unit Test Implementation 6
Model-Based Design Maturity Framework 基于模型的设计成熟度架构 7
Model-Based Design Maturity Framework TM 基于模型设计的成熟度架构 Key Features Perform comprehensive measurement of capabilities Independently measure each capability Apply to any level of expertise or domain 8
Modeling pillar details 模型核心具体细节 Pillar Process Groups Requirements Modeling Language Modeling Standards Architecture Algorithm Modeling Environment/ Plant Modeling 9
Modeling pillar details 模型核心具体细节 Pillar Process Groups Requirements Process Attributes Modeling Language Modeling Standards Architecture Algorithm Modeling Environment/ Plant Modeling Partitioning Size Hierarchy Interfaces Data Modeling Data Management Scheduling Testability 10
Structure of the Model-Based Design Maturity Framework TM 基于模型设计成熟度架构 Pillars Process Groups Process Attributes Maturity determined by rating: 6 Pillars, 32 Process Groups, 200+ Process Attributes 11
Auto Industry Maturity: Leaders (Top 20%) 汽车行业成熟度 : 某领先汽车企业 ( 前 20%) Modeling 100 Enterprise Management 80 60 40 20 0 Simulation and Analysis Process, Tools and Infrastructure Implementation Verification and Validation 12
Maturity Phased approach to building in-house competency 建立自主研发能力途径 Deploy application Deploy enterprise-wide Deploy component Deploy Full Application Deploy Component Proof of concept Prototyping Proof of Conc ept Production Phase 1 3-6 mo Phase 2 5-9 mo Phase 3 1-3 years Phase 4 3-5 years Time 13
Phase 1: Prototyping - Proof of concept 第 1 阶段 : 原型 - 概念论证 Activities: Form a team Develop models Use simulation to refine requirements Execute generated code on prototype controller Enterprise Management Process, Tools and Infrastructure Modeling 100 80 60 40 20 0 Simulation and Analysis Implementation Verification and Validation Code generation 14
The Move to Production 向产品方向转变 15
Phase 2: Deploy a Component 第 2 阶段 : 零部件实施 Modeling 100 80 New Activities Enterprise Management 60 40 Simulation and Analysis Simulation and analysis to refine and optimize design 20 0 Integration with production code build, configuration management, data dictionary, etc. Process, Tools and Infrastructure Verification and Validation Implementation Introduce Model-Based Verification & Validation Process initial definition, automation, and metrics 16
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 Enterprise Management Process, Tools and Infrastructure Modeling 100 80 60 40 20 0 Verification and Validation Simulation and Analysis Implementation 17
Full Model-Based V&V 完整的基于模型的测试与验证 R E Q U I R E M E N T S Design Verification & Validation Test Environment Design Verification Integration Testing Testing (HIL) Controller Code Verification Implementation Embedded Software C, C++ MCU DSP 18
Model-Based Design Formal Process Establishment 基于模型的设计正规流程的建立 Include details about: Organization Projects targeted for adoption Process Tools Infrastructure Training Automation Metrics Constraints Standards Regulations, etc. 19
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 20
Weichai Power Develops ECU Software for High- Pressure Common-Rail Diesel Engine In-House Challenge Build a production engine control and embedded software team, establish in-house development capability, and complete the first production program in 36 months Solution Use 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 A high-pressure common-rail diesel engine from Weichai Power. 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 Link to user story 21
Automotive Industry Current Trends 汽车工业当前趋势 Plant modeling to support controls development ISO 26262 certification with Model-Based Design Further automation of V&V tasks AUTOSAR 22
Maturity Phase 4: Deploy enterprise-wide MAC 2015 第 4 阶段 : 公司范围内实施 -- MAC2015 Continuous Improvement Plan Deploy application Deploy enterprise-wide Assess Execute Deploy component Deploy Full Application Deploy Component Proof of concept Proof of Conc ept Assess other site requirements Refine objectives & capabilities Combine and optimize processes Time 23
Thank You 24