26
1 ã TATA MOTORS LTD. POWERTRAIN CONTROL FEATURE DEVELOPMENT THROUGH MODEL BASED DESIGN

Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

  • Upload
    lethien

  • View
    218

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

1ã TATA MOTORS LTD.

POWERTRAIN CONTROL FEATUREDEVELOPMENT THROUGH MODEL

BASED DESIGN

Page 2: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

2ã TATA MOTORS LTD.

• Introduction to Powertrain

• Powertrain feature – Clutch Control

• Requirements

• Function Development

• Model verification

• Design verification & Coverage analysis

• Software in loop checking

• Auto code generation

• Concluding points

Page 3: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

3ã TATA MOTORS LTD.

Outline• This presentation describes how Model Based Design

(MBD) concept is successfully deployed to address

problem and challenges associated in designing

complex powertrain control system

Engine T/C

Fluid Coupler

Transmission Drive Axle

Clutch + Gear

Page 4: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

4ã TATA MOTORS LTD.

Engine Electronics Interfaces

ECU

*

Actuators

Sensors

Aux SystemsEOL

DiagnosticsProgramming

Communication

Vehicle ElectricalSystems

Vehicle ECUs

Page 5: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

5ã TATA MOTORS LTD.

Integrated Powertrain Control

Engine Management system

Transmission control system

Integration

GPS

Page 6: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

6ã TATA MOTORS LTD.

Control Design Challenges• Powertrain requires to deliver best - performance,

emission, Fuel economy, drivability, safety etc.

• Capable of handling Multi-domain tasking

• Respond to tight coupling of powertrain components

• Manage lot of interdependencies and exchange of huge

no. of parameters

• Ensure reliable working under all operating scenarios

Page 7: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

7ã TATA MOTORS LTD.

Approach• Conventional design approach has limitations in terms of

analysis, testing, risk mitigation & confidence building• MBD provides platform for quick building of control design

and verification• Support step by step design integrated with testing

throughout the development cycle• Provide ease of modification to refine algorithm to build

optimum system• Tools used

• Matlab, Simulink, Stateflow • Embedded Coder

• Simulink Design Verifier• Model Advisor

Page 8: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

8ã TATA MOTORS LTD.

MBDS & Test technologiesModel advisor checksSLDV

Function realization

Function/HW/SW Verification Field trials

Page 9: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

9ã TATA MOTORS LTD.

Powertrain Control feature-Clutch Control

Page 10: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

10ã TATA MOTORS LTD.

Key Challenges• Auto Clutch control is combination of Manual and

Automated actions• Critical success factors

• To be in sync & respond near real time basis

• Clutch actuation trigger with driver input

• Require continuous motoring of clutch movement & act accordingly

• Fault management & safety

• Any mismatch in timing may cause component damage and affect

drivability

• Need to incorporate self learning & neural logic to build right control

mechanism

Page 11: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

11ã TATA MOTORS LTD.

Requirements• Stateflow and Simulink are used for gap analysis• Multiple iterations of review and discussions were

performed• Requirements were in the form of text / diagrams• Referencing of interfacing inputs and feedbacks• Some High level requirement examples –

• While changing gear clutch should be disengaged• While Brake pedal pressed for time-T, then Clutch Should be

Disengaged

• User can select reverse gear ONLY when vehicle speed is zero• Current gear & next gear should be identified and clutch shift

timings to be varied accordingly

Page 12: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

12ã TATA MOTORS LTD.

Requirement Reviews & Discussions

Initial requirements in text

Modeling & Requirement refinements

• Added tuning parameters(timing, calibration parameter)

• While modeling missing parameters, relationships, interfaces were identified

and corrected.

• Stateflow enabled to define transition, conditions and actions in the control

logic

Page 13: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

13ã TATA MOTORS LTD.

Derived Control Logic

Sample time = T m sec

Page 14: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

14ã TATA MOTORS LTD.

Inputs simulation

Page 15: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

15ã TATA MOTORS LTD.

Function developement

Page 16: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

16ã TATA MOTORS LTD.

Design Verification• Requires to check following

• Individual function

• Possible real time failure

• Impact of calibration limits

• Diagnostics

• Safety functions

• Following tools were used as part of design verification:

• Model Advisor

• Simulink Design Verification

• Software in Loop

Page 17: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

17ã TATA MOTORS LTD.

Model Analysis• Following standard guideline checks were performed:

• MATHWORKS Automotive Advisor Board• MISRA 2004• ISO 26262

• IEC 61582

Page 18: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

18ã TATA MOTORS LTD.

Model Advisor-Report

Warnings are Corrected after analysis(e.g.)• Identify signal labels that are not correct for C variable names.

• Check Simulink block or Stateflow objects that do not link to a requirement

documents

• Identify mismatches between names of Stateflow ports and the associated signals.

Page 19: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

19ã TATA MOTORS LTD.

Design verification

Page 20: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

20ã TATA MOTORS LTD.

SLDV - Results• Dead Logic Detection

• Division by zero

• Integer Overflow

• Check Specified Intermediate Minimum and Maximum Values

• Out of bound Array

Page 21: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

21ã TATA MOTORS LTD.

• Generated Input data

• Coverage Report

Model Coverage Analysis

Page 22: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

22ã TATA MOTORS LTD.

Software in Loop• Results of SIL are compared with Model test results • Same test cases can be used• Test source code on development computer

Page 23: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

23ã TATA MOTORS LTD.

Auto code Generation

Page 24: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

24ã TATA MOTORS LTD.

Concluding pointsü Automotive Electronics has become competitive

necessity to stay ahead of competitors

ü Increased risk of product defects due to Complex E/E architecture ,large number of ECU & seamless networking

ü Test & development strategies to ensure flawless functioning of individual and all ECU’s together

ü Way forward is to deploy robust development process, In depth testing, V&V

ü Use of qualified and proven tools & services

Page 25: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

25ã TATA MOTORS LTD.

Thanks for your attention

Page 26: Powertrain Control Feature Development Through · PDF fileãTATA MOTORS LTD. 18 Model Advisor-Report ... • Evolved model around 10 times to reach final ... Powertrain Control Feature

26ã TATA MOTORS LTD.

Summary• As on now, attempt is made to check proof of concept• Require thorough checking on testbed & on vehicle to

firm up control strategies• Important benefit derived is identifying gaps while

modeling and same were addressed and verified• Evolved model around 10 times to reach final

executable requirements• Realized: Timings, State transition sequence is a key

parameter to achieve synchronization• Need to incorporate self learning & neural logic to

build right control mechanism