Click to edit Master title style€¦ · Click to edit Master title style SECRET Research &...

22
Click to edit Master title style Click to edit Master title style SECRET Research & Advanced Engineering Model Based Design in a Seamless Embedded Software Process Craig Stephens Chief Engineer Controls Research & Advanced Engineering Ford Motor Company Model Based Design in a Seamless Embedded Software Process Craig Stephens Chief Engineer Controls Research & Advanced Engineering Ford Motor Company 1

Transcript of Click to edit Master title style€¦ · Click to edit Master title style SECRET Research &...

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Model Based Design in a Seamless Embedded Software Process

    Craig StephensChief EngineerControls Research & Advanced EngineeringFord Motor Company

    Model Based Design in a Seamless Embedded Software Process

    Craig StephensChief EngineerControls Research & Advanced EngineeringFord Motor Company

    1

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    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

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Current State and Future Opportunity

    • 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 styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Application of the Capability and Maturity Model Integration to MBD

    Initial

    Managed

    Defined

    Quantitatively

    Managed

    Optimised

    • Depends on the competence and heroics of the people.

    • Inability to repeat successes

    • Standardised processes used even under times of stress.

    • Whole organisation capable of repeatablyproducing the same output on time.

    • Process consistently applied across projects.

    • Detailed measures of the process and work products.

    • Quality and process performance understood in statistical terms

    • All aspects of process measured and optimised with respect to organisational objectives.

    Increase MBD Capability:• Adaptation of SW

    Engineering Tools/Methods to fit MBD.

    • Reduce variation in output.

    • Add process/product measurement capability.

    4

    Ref: CMMI Institute: http://cmmiinstitute.com/

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Managed

    MBD to Model Based Systems Engineering

    Control Design with Simulation.

    Model Based Rapid Prototyping

    Model Based Design with Autocode

    Model Based Systems Engineering

    Enterprise Systems Engineering

    Optimised

    Optimised

    Initial

    Defined

    Initial

    Quantitatively Managed

    Managed

    Individual Success

    Enterprise Success

    5

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    MBD for Production

    6

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Complex and Complicated!

    35 APPLICATIONS

    150 FEATURES

    10,000 SIGNALS

    200 DEVELOPERS

    Engine ECU (Per Model-Year )

    30,000 CAL PARAMS

    … and with changing Architecture,

    Interfaces, New Functions, Variant

    Functions…..

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    MBD System “V” Process Map Overview

    8

    Develop Feature Requirements & DVP

    CreateChange Request

    StartupFAME

    2

    1

    3

    Bookshelf &Release SW App

    22

    No

    Yes

    Browse Model

    Submit Model Change Request

    21

    Annotate .pdf

    Issue w /Feature Model

    20

    VMAPSTesting

    (MIL / SIL)

    Fail

    ECUSIMTesting

    ( MIL / TIL)

    Unit Integrated w / App Functional Testing12

    12.2 12.3

    § § §

    FailFail

    SimulinkTesting(MIL / SIL)

    12.1

    Pass Pass

    Pass

    UnitStatic Analysis(e.g. Polyspace)

    Pass

    UnitBack 2 Back

    Testing

    Fail

    Pass

    Fail

    Pass

    10

    11

    § §

    Pass

    Fail

    Fail

    Generate Code

    8

    Examine Generated

    Code

    9

    VMAPSTesting

    (SIL)

    CreateStrategy Book

    18

    HIL Testing

    ECUSIMTesting

    (TIL)

    Vehicle/DynoTesting

    Pass

    Application Functional Testing

    Pass

    17

    17.1 17.2

    Pass

    Fail / Enhance

    PCM / ECM / TCM Application Functional Testing

    19

    19.1 19.2

    Pass Pass

    Fail / Enhance

    Check-in &Label Files

    Generate ModelDocumentation

    13

    14

    §Fail

    MBD Feature Files

    �Model Files =>

    � .mat Workspace Files =>

    �Test Vectors & Results =>

    �SW Installation Guide =>

    �Style Guide Compliance Report =>

    �MBD Checklist for Strategists =>

    � M-Scripts =>

    � .c & .h Files =>

    �pdf of Models =>

    � DocGen Report =>

    Build Application

    15

    CheckAppBld

    Checker ToolResults

    16

    4

    4.1

    4.4

    4.4

    4.4

    4.4

    8

    8

    13

    13

    Feature Control Model Development(Unit)

    Create / ModifyPlant Model

    Create / Modify Control Model

    VMAPSTesting

    (MIL)

    4

    4.1 4.2

    §

    RapidPrototype Module

    5

    ECUSIMTesting

    (MIL)

    6.3

    6.2

    Outputs

    Parameter Mgmt Architecture Test Vectors SW Installation Guide MBD Checklist for

    Strategists Style Guide

    Compliance Report

    4.4Inputs

    Ctl Mdl Proc Doc Blocksets Lib Utils Style Guide Parameter Mgmt

    .-Calibration Variant Mgmt Architecture Code to Model MBD Checklist for

    Strategists

    4.3

    No

    Fail / Enhance

    MBDChecklist for Strategists Completed

    7

    Pass

    SimulinkTesting

    (MIL)

    Unit Functional / Coverage Testing

    6

    6.1

    Pass

    Pass

    Fail / Enhance

    Fail / Enhance

    Yes

    Phase VIIIPhase I

    Phase III

    Phase IV

    Phase VII

    Phase VI

    Phase V

    Phase II

    Release

    Calibration

    Application Functional Testing

    Model Documentation

    Integrated Application Functional Testing Code Generation

    Model Development

    Requirements and DVP

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    MBD Workstreams

    Documentation Version Control Change Control Architecture Blocksets Library Utilities

    Style GuideParameter

    ManagementCalibration

    Variant Management

    Control Model Development

    Code Generation

    DV TestingApplication

    BuildRAM/ROM/

    Chrono/TaskingUser

    EnvironmentCode to Model

    ConversionPlant Modeling

    Management & Training

    9

    MBD Core Team drives

    common processes and

    practices across Ford

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    User Environment

    10

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Ford Automotive Modeling Environment

    • 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 styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Parameter Management

    12

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    UniPhi: Complexity Visualization

    VISUALIZE WHAT I HAVE

    ANY WAY I NEED TO SEE IT

    e.g. What are all dependencies for this signal?

    UniPhi

    Server

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    UniPhi Summary

    • 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

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    MBD Challenges

    • 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 styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    MBD in Context

    16

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Beyond Controls

    17

    Source: Wikipedia

    Source: wiki.hsc.com, Google images

    MODEL BASED SYSTEMS ENGINEERING

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Model Based Systems Engineering

    • 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

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering19

    Vehicle Software and Electrical Management

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Tying it all Together

    20

  • Click to edit Master title styleClick to edit Master title style SECRET

    Research & Advanced Engineering

    Summary

    • 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 styleClick to edit Master title style SECRET

    Research & Advanced Engineering 22

    Thank You!