cvt control software testing - synopsys · 2019-11-25 · globalcrown technology co., ltd. lionel...
TRANSCRIPT
![Page 1: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/1.jpg)
GlobalCrown Technology Co., Ltd.
Lionel Belmon, Liu Fei – Global Crown Technology, Beijing
Zeng Weihua - Jianglu Rongda, Changsha
CVT control software testing
![Page 2: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/2.jpg)
议程
1• Motivation
2• Vehicle plant modeling
3• TCU embedded software
4• Simulation validation
5• TCU Testing
![Page 3: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/3.jpg)
GlobalCrown Technology Co., Ltd.
Motivation
![Page 4: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/4.jpg)
Develop and test TCU control software
High quality vehicle model
Realistic simulation
Interaction road - vehicle - hydraulics - TCU
Cover large number of test cases
Motivation and objectives
![Page 5: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/5.jpg)
Vehicle plant model
![Page 6: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/6.jpg)
GlobalCrown Technology (BeiJing) Co., Ltd.
Vehicle model overview
BOB
use
ctr1
ctr2
diff_inertia
ctrR1
ctrR2
Prim
Sec
KpKs_Offset
variator
SideShaftInput
grade_percent
rm_RoadCurve
vehicle
ctr1
ctr2
FinalDrive
ctrPC
ctrS
DR
DNR
ctrP
ctrTLC_force
TC
ctr1
xPLock
HYD
ctr1
to_D
to_R pri
sec
shaft
current
force
hyd_sys
ctr1 ctr2
PumpRatio
ctr1starter_signal
ignition
om
inj
brake
starter_torque
CAN
engine
ctr1
ctr2
in1
starter
position
starter
ignition
StarteKey
Mau
inj
driver
hap
Mau
driver
BrakeTorque
hbr
Mau
prnd
spo
CAN
EMS
EngSpd_MAXLimt_Value
EngSpd_MAXLmit_RQTorque_NCCLU_Value
Torque_ShortTermRe_Value
CAN
TCU
prnd
D_BOB
N_BOB
P_BOB
R_BOB
fpo
BOB
npm
BOB
nse
BOB
ntu
FL
FR
wheel_speed
BOB
pdc
BOB
prc
BOB
ptc
pri
sf
BOB
upm
Driver
speedprofile
realspeed
brake
accel
mode
driver
f(x)x
y
car_speed
f(x)x
y
speed_profile_kmh
Driver CAN Hydraulics
Longitudinal
Vehicle dynamics
with left/right tyre
slip
Variator
BeltEngine/EMS
Torque
converter
RND clutch
Platform : SimulationX
![Page 7: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/7.jpg)
Hydraulic module
Main flow pressure dynamics
Spool valves characteristics
Solenoid valve - pilot pressures
Torque converter lock-up
Primary /
Secondary
pistons for
variator
Extraction of CAD parameters
RND clutches
Solenoid pilot valves
![Page 8: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/8.jpg)
GlobalCrown Technology Co., Ltd.
Hydraulic Unit tests and validation
Primary cylinder pressure
Solenoid current
Adjustment of solenoid characteristics
![Page 9: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/9.jpg)
Variator belt model concept
secsec
sec2
cos
AR
TP
pri
pri
mx
=
)( *pripriprii FFnK
dt
di−=
Variator ratio change by controlling
primary/secondary pressure
Max torque limit depends on pressure !
steady-state force required
Actual force
![Page 10: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/10.jpg)
Adjustment of hydraulic volumes and mechanical stiffness
Fixed-step solver – 0.5 ms
~80 ODE state variables
~200 inputs/outputs variables (CAN, sensors, actuators)
Code generation from SimulationX to FMU cosimulation
Execution in QTronic Silver
Real-time simulation
![Page 11: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/11.jpg)
TCU embedded software
![Page 12: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/12.jpg)
TCU software generation process
Functional requirements
ETAS ASCET model
Embedded c-codeA2L and
calibration data
ECU hardware
ETAS INCA
![Page 13: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/13.jpg)
Virtual TCU with Silver
Functional requirements
ETAS ASCET model
Embedded c-codeA2L and
calibration data
Silver virtual ECU
ETAS INCA
![Page 14: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/14.jpg)
Virtual TCU platform
![Page 15: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/15.jpg)
Validation of vehicle simulation
![Page 16: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/16.jpg)
~20 test drive cases to test various model characteristics :
10% pedal acceleration – coasting
30% pedal acceleration – coasting
…
Lever position changes : N-R-N-D-N-R-P-R-N…
Heavy braking with ABS
Tip-in , Tip-off
…
Test cases for simulation validation
![Page 17: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/17.jpg)
GlobalCrown Technology Co., Ltd.
Example of test drive validation
car speed :
measurement - simulationengine speed :
measurement - simulation
turbine speed :
measurement - simulation
Hydraulic primary – secondary pressures
![Page 18: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/18.jpg)
TCU embedded software testing
![Page 19: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/19.jpg)
Usual test drive cases
NEDC, 100km/h acceleration…
Calibration parameters
Software functions activation/deactivation
Various environment conditions :
- slope, snow/water…
Fault monitoring and reaction
Test requirements
![Page 20: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/20.jpg)
Fault insertion
Solenoid and hyd faults
bus faults
Wheel sensor faults
Speed sensors faultsTemperature sensors faults
![Page 21: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/21.jpg)
Fault insertion – how it works
TCU application
software
Vehicle modelTarget current
Example on solenoid valve fault
Feedback current
TCU Basic software
Fault flag
![Page 22: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/22.jpg)
Fault insertion – how it works
TCU
application software
Vehicle model
Current
target
Example on solenoid valve fault
Current
feedback Pyth
on
Fault mode selection
Short to GND
Short to UBat
Open line
TCU BS emulation
python
Fault flag from BS
![Page 23: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/23.jpg)
Fault insertion – how it works
TCU ASW Vehicle model
Current
target
Example on solenoid valve fault
Current
feedback Pyth
on
Fault mode selection
Short to GND
Short to UBat
Open line
TCU BS emulation
python
Fault flag from BS
=0
=0
=3
![Page 24: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/24.jpg)
- Formal requirements monitoring
- Hand written test scripts
- Automatic test cases generation
- Automatic test report generation
Use of QTronic TestWeaver
![Page 25: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/25.jpg)
ABS simulation example
Belt slip
Clutch locked + Strong braking → Wheel block → strong engine deceleration
→ Transmission torque exceeded → belt Slip !
Vehicle speed
Wheel speed
Belt slip ratio
→ Belt slips are reported automatically in TestWeaver reports
![Page 26: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/26.jpg)
Test case generation
Low mu high mu
High traction force
Wheel slip
Belt slip
QTronic TestWeaver automatically generates drive sequences
Example of Belt Slip found by TestWeaver
Vehicle speed
Wheel speed
![Page 27: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/27.jpg)
MC/DC coverage
Code coverage with CTC++
![Page 28: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/28.jpg)
Conclusion
![Page 29: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/29.jpg)
Vehicle model + TCU + calibration :
validated simulation , reproduce very well the actual
execution of TCU in the real vehicle
Fault insertion and validation of TCU fault management
Automatic generation and evaluation of test cases
TestWeaver + requirements modeling
Very efficient support for TCU development and testing !
Realistic simulation – complex scenarios
![Page 30: CVT control software testing - Synopsys · 2019-11-25 · GlobalCrown Technology Co., Ltd. Lionel Belmon, Liu Fei –Global Crown Technology, Beijing Zeng Weihua - Jianglu Rongda,](https://reader033.vdocuments.us/reader033/viewer/2022041918/5e6ab743bd190440891a442a/html5/thumbnails/30.jpg)
GlobalCrown Technology Co., Ltd.
谢谢!Thank you !