44
1 © 2015 The MathWorks, Inc. Simulink Test를 이용한 Powertrain Blockset 기반의 동적 검증 홍혁기

session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

1© 2015 The MathWorks, Inc.

Simulink Test를이용한 Powertrain Blockset기반의동적검증

홍혁기

Page 2: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

2

Agenda

HEV P2 Model

Requirement Management in the Simulink Enviornment

How to implement VnV Activities using Simulink Test with HVE P2 Model– Case1 : HVE P2 Performance

– Case2 : HVE P2 Fuel Economy

Page 3: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

3

Nomenclature for HEV Topology

P0 P1 P2 P3

P2 Clutch

P# = Electric machine locations P2 parallel HEV

Page 4: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

4

HevP2Reference Application

Page 5: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

5

HevP2Reference Application

Page 6: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

6

HevP2Reference Application

Page 7: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

7

HevP2Reference Application

Page 8: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

8

HevP2Reference Application

Page 9: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

9

HevP2Reference Application

Page 10: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

10

Powertrain Blockset / Simulink Test Collaboration

Plus– Provide starting point for engineers to build good plant / controller models

– Provide open and documented models

– Provide very fast-running models that work with popular HIL systems

Needs– Systematic V&V workflow using Powertrain Blockset

– Repeatable and Automatic Process

Page 11: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

11

Model Based Design for Powertrain Blockset

Simulink Requirement– Test Requirement Authoring

– Test and Modeling Status Check

Simulink Test– Test Authoring and Automation

– Execution and Report Generation

Powertrain Blockset– Vehicle modeling

– Simulation

Page 12: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

12

Model Based Design for Powertrain Blockset

Traceable

Page 13: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

13

Author Requirements in Simulink

Author

Track

Manage

Page 14: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

14

Import and Export with External Tools

External Requirements

Requirements Managements

Tools

Import

Update

Export

Change'Unlock

Edit/Supplement

Change

Page 15: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

15

Import External Requirements

Page 16: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

16

HEV P2 Test Requirement

Page 17: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

17

HEV P2 Test RequirementHEV P2 Test Requirement

Test Suite

Page 18: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

18

1.1

Page 19: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

19

1.2

Page 20: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

20

1.3

Page 21: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

21

2

Page 22: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

22

2.1

Page 23: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

23

2.2

Page 24: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

24

2.3

Page 25: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

25

2.4

Page 26: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

26

Simulink Test

Page 27: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

27

Baseline Testing : Regression Test

Test Case Templates

Simulation Testing

Equivalence Testing

Temporal Assessment

Page 28: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

28

Simulink Test Configuration

TraceabilityModel and Harness

Simulation Iteration with Parameter Change

Simulation Input : Excel/MatMeasurement

Criteria checkMCDC, Condition…

Page 29: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

29

Dynamic Test 1 - Performance

Requirement– The time to reach 60 MPH for the WOT drive cycle shall be less than 20 seconds.

– The time to accelerate from 40 to 60 MPH in the WOT drive cycle shall be less than 5 seconds.

– Two types of variants should be applied. (Variant1 : 3.0 / Variant1 : 3.32)

Configuration– Test Template

Page 30: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

30

Dynamic Test 1 - Performance

Requirement– The time to reach 60 MPH for the WOT drive cycle shall be less than 20 seconds.

– The time to accelerate from 40 to 60 MPH in the WOT drive cycle shall be less than 5 seconds.

– Two types of variants should be applied. (Variant1 : 3.0 / Variant1 : 3.32)

Configuration– Test Template

– Test Measurement Target Speed

Actual Speed

– Parameter Variant Control Parameter Override

Page 31: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

31

Dynamic Test 1 – Performance : Criteria

Requirement : Zero to Sixty

Requirement : Passing Time

Page 32: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

32

Dynamic Test for HevP2Reference Application

Page 33: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

33

Temporal Assessment

Page 34: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

34

Temporal Requirement Change

Page 35: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

35

Temporal Requirement Change

10.6 seconds.

Page 36: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

36

Zero to Sixty

The time to reach 60 MPH for the WOT drive cycle shall be less than 10.6 sec

Zero to Sixty

The speed shall at least reach 60MPH after 10.6 sec passes

Test Assessments: Formalize and execute requirements

Page 37: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

37

Temporal Assessment

At any point of time, if tv>0 becomes true and stays true for at least 10.6 seconds then, starting from end of min-time, with no delay,actual_speed > 60 must be true

Page 38: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

38

Temporal Assessment

Expected Behavior Actual Result Explanation

Page 39: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

39

Dynamic Test for HevP2Reference Application

Page 40: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

40

Dynamic Test 1 - Fuel Economy

Requirement– The average fuel economy at the end of the drive profile shall be 32 MPG.

– The battery state of charge shall be greater than 20% and less than 90% for the entire drive cycle.

– The absolute value of the difference between the battery state of charge at the start of the drive profile and the end of the drive cycle shall be less than 1%.

– The actual vehicle speed shall be no more than 2 mph greater than the scheduled vehicle speed within 1 second of the given time.

Configuration– Test Template

– Test Measurement Target Speed

Actual Speed

SOC

MPG

Page 41: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

41

Requirement : Average fuel economy

Requirement : SOC Min/Max

Requirement : SOC delta

Printed at the Test Report as Test Case Title

Page 42: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

42

Dynamic Test for HevP2Reference Application

Page 43: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

43

Key Takeaway

Verification and Validation Process for Powertrain System

Flexible and Automatic Verification and Validation

Various Range of Applications

Page 44: session9-Simulink Test for Powertrain Blockset · Microsoft PowerPoint - session9-Simulink_Test_for_Powertrain_Blockset.pptx Author: hhong Created Date: 10/28/2019 5:33:54 PM

44

Thank you!