automated testing of battery management system€¦ · bms system requirements system architecture...
TRANSCRIPT
CATL Confidential
Automated Testing of Battery Management System
May 3, 2019
2019/5/3CATL Confidential Page 2
Agenda
➢ CATL BMS business and testing overview
➢ Virtual testing environment
➢ Multiple project variants management
➢ Controlling ETAS device with CANoe+vTESTstudio
2019/5/3CATL Confidential Page 3
CATL BMS business
2019/5/3CATL Confidential Page 4
BMS Validation process and toolchain
BMS System
requirements
System
architecture
SW/HW
requirements
Software
architecture
Implemen
tation
Software integration
test
Software test
Hardware test
System integration
test
System test
Pack
requirements
Acceptance
test
SYS Test: System
Requirement Verification
SYS int. Test: System
Architecture Verification
SW/HW Test: SW/HW
Requirement Verification
SW int. Test: Software
Architecture Verification
Pack/Vehicle Test:
Pack Requirement Validation
Unit TestSW Unit Test: Software
Unit Design Verification
Validated Product
Validation
Verification
Verification
Verificatio
n
Verification
2019/5/3CATL Confidential Page 5
BMS Testing challenges
➢ Multiple subprojects fast iterative test and delivery
➢ Multiple subprojects lifecycle management, especially requirements and test case
2019/5/3CATL Confidential Page 6
Virtual testing environment
Testing architecture based on CANoe+vTESTstuidio
➢ Easy switch between both setups for SW test and System test
➢ Reuse the test case suit across the phases
HW Device
HW Drive
HW Emulation
Configuration
Device/Project
HW Access API
Plant Model
Variable AccessFunction Lib
Test Case
Test Automation Tool
Variation
A
BC
SUT/BMS SUT/DLL
2019/5/3CATL Confidential Page 7
BMS System
requirements
System
architecture
SW/HW
requirements
Software
architecture
Implementation
Software
integration test
Software testHardware test
System
integration test
System test
Verification
Verification
Verification
Verification
A Sample or pre A Sample B Sample or after B Sample
Test Base on VTT with vTESTstudio
Test Base on
VTT/ETAS with
vTESTstudio
Test case script
➢ Software and system test based on early stage
➢ Debug system testcase before transferring to system test
Plat Form
Virtual testing environment
2019/5/3CATL Confidential Page 8
SWC
A
SWC
B
SWC
C
RTE
BSW
VTT
MCAL
Real
MCAL
VTT
OS
HW
OS
SPI
Emulator
Complex
Driver
Microcontroller
VTT Test Scope
Target Board
Test Scope
Test scope based on VTT
• Logical function
• Software strategy
System test scope(Target Board)
• System function base hardware
• Real fault injection
• Sampling;
• Time running ;
• Stress and Robustness
Virtual testing environment
2019/5/3CATL Confidential Page 9
HW Emulator
Abstract test interface variable and HW emulation
➢Share the same test interface variable between SW test and system test
➢Emulate the HW function and peripheral electrical architecture
Abstract Interface
VT
HVIL Emulator
BMS
aricon
BMS
Motor assemble
PACK
MCU
Variation A
KL30 KL31
Te_HVIL_STB
Te_HVIL_STG
Te_HVIL_OPN
Virtual testing environment
2019/5/3CATL Confidential Page 10
Multiple project variants management
CANoe and vTESTstuidio support management of multiple project
➢ CANoe and vTESTstudio share the same configuration parameters from variation
➢ vTESTstudio supports variation choice by variant dependencies
Variation A
BC
Subproject
Cfg_Parameter
Variation A
Variation B
Variation C
Test Result
Test Script Management
2019/5/3CATL Confidential Page 11
Test Script
Test CaseALM
Automatic
Generation
Branch
vtuexecompile
Test Section
Automatic
Commit
Multiple project variants management
vTESTstudio and ALM support the project management
➢ Test Script directly generates test cases and then be submitted to ALM to trace related
requirements
➢ Automatically submitted to ALM and generated test section by test result
Test Case Management
2019/5/3CATL Confidential Page 12
Multiple project variants management
System Validation
SystemIntegration
Test
SWTest
SWIntegration
Test
SWImplementation
System Requirement
System architecture
SW
requirements
Software
architecture
System Validation
SystemIntegration
Test
SWTest
SWIntegration
Test
SWImplementation
System Requirement
System architecture
SW
requirements
Software
architecture
Traceability
Traceability
Configuration
parameter Branch
Customer
Requirement
export
vTESTstudio and ALM support the
project management
➢ Subproject test case can be
branched from platform test library
by variant parameter
➢ Support same configuration of test
environment, requirement and test
case
Requirements Management
2019/5/3CATL Confidential Page 13
Original situation
➢Tool chain confusion
➢Test case management confusion
Controlling ETAS device with CANoe+vTESTstudio
ECU TEST LABCAR OPERATOR ETAS HIL Platform
CANoevTESTstudioVT System
2019/5/3CATL Confidential Page 14
CANoe+vTESTstudio solution for unifying tool chain
➢ One-click generation test interface variable
Controlling ETAS device with CANoe+vTESTstudio
LCO
vTESTstudio CANoe
Model Access Port
LCO HIL API
Configuration Tool
Model Access Port
LCO HIL API
2019/5/3CATL Confidential Page 15
Q&A
感谢聆听Web: http://www.catlbattery.com
E-mail: [email protected]