a hardware-in-the-loop (hil) bench test of a gt-power … · a hardware-in-the-loop (hil) bench...

20
A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER FAST RUNNING MODEL (FRM) FOR RAPID CONTROL PROTOTYPING (RCP) VERIFICATION Hai Wu, Meng-Feng Li, General Motors Key Words: FRM - Fast Running Model H I L - Hardware-in-the-loop RCP - Rapid Control Prototyping

Upload: others

Post on 15-Mar-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER FAST RUNNING MODEL (FRM) FOR RAPID CONTROL PROTOTYPING (RCP) VERIFICATION

Hai Wu, Meng-Feng Li, General Motors

Key Words:

FRM - Fast Running Model

H I L - Hardware-in-the-loop

RCP - Rapid Control Prototyping

Page 2: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

• Objective

• Hard/Soft-ware Setup

• Model Conversion

• Co-Simulation

• Test Results

• Conclusion

Outline

2

Page 3: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Engine System Models for HIL Test

• PDE Model, Mean Value model, ODE Model

• GT-POWER is a PDE based 1D modeling tool

• Availability and reusability from the upstream

Challenges

3

Challenges in HIL Simulation

• Reusing the available models

• Tuning parameters

• Keeping consistency

• Having real-time capability

Map

Mean Value

1-D Fast Running Model (FRM)

1-D Detail

X Real-time0.1 1 10 100

Comple

xity

Har

dw

are

HIL

ECU

PC

3-D Model

Page 4: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Mean Value, Map Based, ODE Model

• No breathing or combustion predictions

• Air flow, piston work, and exhaust energy

imposed via neural networks

Advantages of GT-POWER Model

• Fidelity, availability, tailoring flexibility, extendibility

• Co-simulation verification

Advantages of FRM

4

Fast Running Model (FRM)

• It is a speed-tuned version of a standard,

detailed GT-POWER model

• Time-step level of detail can be adjusted by user

• Easy to convert (Combine Volume Wizard, FRM

Converter)

• Fully predictive solution

Map

Mean Value

1-D Fast Running Model (FRM)

1-D Detail

X Real-time0.1 1 10 100

Comple

xity

Har

dw

are

HIL

ECU

PC

3-D Model

Page 5: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

GT-POWER Model Conversion

• Volume size and discretization

• Optimization and parameterization

• Simulation comparisons by steps

Co-simulation with Matlab/Simulink

• Simulink S-function

• Controller designed and verified within Simulink

Hardware

• FRM on dSPACE Simulator (DS1006)

• RCP HIL for real-time capability test

• Comparison with GT model results

Process and Setup

5

GT-POWER

FRM Simulink

HIL RCP

Procedure

• Convert GT detailed model into FRM

• Test FRM on HIL for real-time capability

• Comparison results of HIL and GT model

Page 6: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

GT-POWER Detailed

6

5-10 times of RT

Page 7: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Detailed Model to FRM

7

1 2

3

3 54

Page 8: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

8

1 2

33 54

Consider:Highest fluctuations in velocities causes restrictions to the time step• Reduce Volume number, • Discretization size, Procedure: Starting from the Exhaust Ports/Runners, then move outwardCombine volumes: • Exhaust Ports and Runners (not including Manifold) • Exhaust Ports, Runners, and Manifold (depending on the Accuracy vs. Run Time goal) • Exhaust Pipes after Turbine • Intake Pipes before Compressor Perform calibration:Calibrating an Orifice Diameter is the most common way to calibrate pressure lossCalibrating the Heat Transfer Multiplier is the most common way to calibrate Temperature in a certain location (e.g. Turbine Inlet Temperature) Completion:when the desired compromise of Run Time and Accuracy is achieved.

Detailed Model to FRM

Page 9: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

FRM Converter Tool

9

Key Variables

• BMEP

• BSFC

• Vol-eff

• etc.

Parameter Tuning

• Optimize pressure and

Temp for data

Different Steps

• Management

• Comparison

HIL Goal

• Reduce run-time

• Keep accuracy

Page 10: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

FRM – Fast Running Model

10

Page 11: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Results Comparison

11

Page 12: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Co-simulation

12

Replace Feedback Controllers

• Turbo Changer control

• A/F Ratio

• BMEP/Torque Control

GT-POWER S-function

• Sensors (signal Input )

• Actuators (signal Output )

Control Design in Simulink

• PID

• Model based Control

Page 13: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

HIL Simulator with DS1006

13

Controller

Real-time solver

Offline solver

Page 14: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Test Results: BMEP

14

Page 15: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Test Results: BMEP and Throttle

15

Page 16: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

16

Test Results: Spark Timing on P_cyl

Page 17: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

17

Test Results: 20 deg ATDC

Page 18: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

• The Advantages: align HIL with R&P

Model is available and reusable

• Conversion Process and Tool

Easy in conversion and tuning with optimization

• Control Design and verification with Co-simulation

Be capable of Engine and ECU simulation

• HIL tests

FRM runs on dSPACE DS 1006 successfully

• Comparison with GT-POWER Simulation

Agree well both in steady and transient

• GT-POWER-FRM-HIL is applicable & extendable

Inherit models, convert seamlessly, and run in real-time

Summary and Conclusion

18

Page 19: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

The authors would like to express their appreciations to

• Gamma Technology

Iakovos Papadimitriou

Miles Melka

Kevin Roggendorf

19

Acknowledgements

• General Motors R&D

Orgun A Guralp

Jonathan Dawson

Xiaofeng Yang

Page 20: A HARDWARE-IN-THE-LOOP (HIL) BENCH TEST OF A GT-POWER … · a hardware-in-the-loop (hil) bench test of a gt-power fast running model (frm) for rapid control prototyping (rcp) verification

Thank you for your attention!

Published in SAE: 2016-01-0549

20