Click to edit Master title style SECRET Model Based Design in a Seamless Embedded Software Process Craig Stephens Chief Engineer Controls Ford Motor Company 1
Click to edit Master title style SECRET Success in Implementation of MBD Industry is broadly successful in deploying MBD at a feature level or for Rapid Prototyping, HIL, etc. This success now drives a focus on the Enterprise view of MBD in the context of a broader Model Based Systems Engineering Process. 2
Current State and Future Opportunity Click to edit Master title style SECRET Model Based Design is sufficiently widespread to consider it the norm. Results show tremendous opportunity for delivering complex advanced functions with higher quality and without compromising on expected automotive delivery schedules. Deployment of MBD in large organisations and distributed systems continues to be challenging. The bigger opportunity lies in the integration of MBD Controls and SW Design into a fully integrated CAE Process MBD Tools and Process still need work but the value added upfront far outweighs the risks. 3
Click to edit Master title style SECRET Application of the Capability and Maturity Model Integration to MBD Optimised All aspects of process measured and optimised with respect to organisational objectives. Initial Managed Ref: CMMI Institute: http://cmmiinstitute.com/ Defined Quantitatively Managed Standardised processes used even under times of stress. Whole organisation capable of repeatably producing the same output on time. Depends on the competence and heroics of the people. Inability to repeat successes Quality and process performance understood in statistical terms Process consistently applied across projects. Detailed measures of the process and work products. Increase MBD Capability: Adaptation of SW Engineering Tools/Methods to fit MBD. Reduce variation in output. Add process/product measurement capability. 4
Click to edit Master title style SECRET MBD to Model Based Systems Engineering Control Design with Simulation. Optimised Individual Success Model Based Rapid Prototyping Model Based Design with Autocode Managed Optimised Defined Quantitatively Managed Model Based Systems Engineering Initial Managed Enterprise Systems Engineering Initial Enterprise Success 5
Click to edit Master title style SECRET MBD for Production 6
Complex and Complicated! Click to edit Master title style SECRET Engine ECU (Per Model-Year ) 35 APPLICATIONS 150 FEATURES 200 DEVELOPERS 10,000 SIGNALS 30,000 CAL PARAMS and with changing Architecture, Interfaces, New Functions, Variant Functions..
MBD Click System to edit V Master Process Map title Overview style SECRET 1 Create Change Request 2 Startup FAME 6 Application Functional Testing Release Unit Functional / Coverage Testing 3 6.1 Develop Feature Requirements & DVP Simulink Testing (MIL) 4.3 Inputs 4.4 4 Outputs Ctl Mdl Proc Doc Blocksets Feature Control Model Development Parameter Mgmt Lib Utils Model 4.1 (Unit) Documentation 6.2 4.2 Architecture Style Guide Test Vectors Parameter Mgmt Create / Modify Create / Modify SW Installation Guide VMAPS.-Calibration Control Plant Model MBD Checklist for Testing Variant Mgmt Strategists (MIL) Architecture Style Guide Code to Model Compliance Report MBD Checklist for Strategists Phase II Phase I No Yes Integrated Application Functional Testing 8 Fail Generate Code 7 MBD Checklist for Strategists Completed Phase III Fail 9 Examine Generated Code ECUSIM Testing (MIL) 10 Unit Back 2 Back Testing Requirements and DVP 6.3 11 Unit Static Analysis (e.g. Polyspace) Rapid Prototype Module 12.1 Simulink Testing (MIL / SIL) 5 Fail / Enhance Fail / Enhance Phase V Fail / Enhance 12 Unit Integrated w / App Functional Testing 12.2 12.3 VMAPS Testing (MIL / SIL) ECUSIM Testing ( MIL / TIL) 22 Bookshelf & Release SW App 19 PCM / ECM / TCM Application Functional Testing 19.1 19.2 Submit Model Change Request Browse Model Vehicle/Dyno HIL Testing Testing Yes Model 20 Issue w / 18 Fail / Enhance Feature Model Create Strategy Book Phase Development VI 17 Application Functional Testing 16 Calibration Check AppBld Checker Tool Results Fail Phase VIII 17.1 17.2 VMAPS Testing (SIL) Fail / Enhance 15 MBD Feature Files Build Application Model Files => 4.mat Workspace Files => Code Generation 4.1 Test Vectors & Results => 4.4 14 SW Installation Guide => 4.4 Check-in & Style Guide Compliance Report => 4.4 Label Files MBD Checklist for Strategists => 4.4 M-Scripts => 8 13.c &.h Files => 8 Generate Model pdf of Models => 13 Documentation DocGen Report => 13 Phase IV ECUSIM Testing (TIL) Phase VII 21 Annotate.pdf No Fail Fail Fail Fail Fail 8
Click to edit MBD Workstreams Master title style SECRET Documentation Version Control Change Control Architecture Blocksets Library Utilities Style Guide Parameter Management Calibration Variant Management Control Model Development Code Generation DV Testing Application Build RAM/ROM/ Chrono/Tasking User Environment Code to Model Conversion Plant Modeling Management & Training MBD Core Team drives common processes and practices across Ford 9
Click to edit Master title style SECRET User Environment 10
Click Ford Automotive edit Master Modeling title Environment style SECRET A Ford Custom Tool that sits on top of Matlab. Part of a standard MBD SW load. Controls the use of approved Library Blocks Maintains a consistency of models across the program or multiple programs Automate model compliancy checking Integration to configuration control system Set up of environment achieves generation of efficient C code Allows for integration of specialized API s Interfaces to other software Plug-ins for auto-test programs FAME provides a consistent environment for the whole team that can eliminate common mistakes and provide automation for tedious, common or difficult tasks 11
Click to edit Master title style SECRET Parameter Management 12
Click to edit Master title style SECRET UniPhi: Complexity Visualization VISUALIZE WHAT I HAVE ANY WAY I NEED TO SEE IT UniPhi Server e.g. What are all dependencies for this signal?
UniPhi Summary Click to edit Master title style SECRET Centralized data management Version control Recreate history of objects, releases Interoperability: Share data across tools Centralized system architecture design and management Visualization of complexity Rule checking Roles & Permissions Support for C-code as well as models PLM interface UniPhi provides a consistent enterprise-wide collaborative development environment
MBD Challenges Click to edit Master title style SECRET Integration with the supply base: Interface management (AUTOSAR) Requirements & validation cascade. Building and maintaining plant models. Scalability and integration of MBD tools in large extended teams. Total process support (documentation, parameter management..) Support for different business models across the across our enterprise (outsourced vs. insourced, fixed vs. floating point, etc.). Validating new versions of the MBD Tools and planning migration. Autocode improvements: Quick response to issues with both Interim Containment Actions and Permanent Corrective Actions 15
Click to edit Master title style SECRET MBD in Context 16
Beyond Controls Click to edit Master title style SECRET Source: wiki.hsc.com, Google images Source: Wikipedia MODEL BASED SYSTEMS ENGINEERING 17
Model Based Systems Engineering Click to edit Master title style SECRET Directly connects the development engineers to Customer Experience and Vehicle Attributes. Moves from a component Design and Release focus to a process around system dynamics. Enables the Controls Engineer to interact upfront with the hardware engineers. Facilitates data migration, integration and integrity. Provides necessary visibility and access to relevant data. 18
Vehicle Software and Electrical Management Click to edit Master title style SECRET 19
Tying it all Together Click to edit Master title style SECRET 20
Click to edit Summary Master title style SECRET A state of efficient Model Based Design with Autocode is in sight. Entering an exciting phase that will enable future complex systems by: Maturing the MBD Controls & SW Process. Connecting Engineering information across Mechanical, Electrical, Control & Software. Connecting engineers in distributed organisations. Allowing all the stakeholders to contribute to successful system execution. 21
Click to edit Master title style SECRET Thank You! 22