|
|
—— Overview
Based on mature HIL test equipment, accurate vehicle physical model and rich test experience of the team, we provide HIL test service for VCU and BMS. The controller requirement analysis, function verification, code coverage test and test report generation are implemented.
—— Service Content
• Make test plan according to the input of test requirement;
• Build HIL software and hardware test environment;
• Physical model development of pure electric vehicle, and physical model development of battery cell, battery pack, charger, etc;
• Test cases are designed according to the controller functional requirement documents;
• HIL system debugging, vehicle model and controller closed-loop test;
• Controller function verification, automatic test and coverage analysis;
• Verification of vehicle physical model accuracy;
• Automatic test and generate test report;
• Real vehicle condition recurrence, fault analysis and location.
—— Vehicle Physical Model
The vehicle physical model is built based on MATLAB / Simulink. All modules are open source and will run in real-time system. The overall solution step is less than or equal to 1ms.
—— Demand Input Analysis
Test requirements are usually based on development requirements. Through the refinement and analysis of development requirements, testable content is formed.
—— Test Case Design
VCU test cases cover but are not limited to the following major functions.
• Power on and power off management of the system
• Vehicle gear management
• Vehicle driver demand management
• Vehicle operation mode management
• Energy optimization management
• Driving mode management |
• Vehicle creep management
• Management of anti sliding slope
• Management of reversing speed limit
• Taxiing energy feedback
• Braking energy feedback
• Constant speed cruise |
• Limp home
• High voltage interlock detection
• Fault diagnosis and treatment
• Gateway function
• Vehicle accessories management
• Fault diagnosis management |
BMS test cases cover but are not limited to the following major functions.
Awaken sleep function
Low voltage power supply
Power on and power off of the whole vehicle
Slow charging
Quick charging
Thermal management
SOC |
SOP
SOE
SOH
Relay adhesion
The relay is open
Relay drive
|
High voltage interlock
Collision detection
Passive / active equalization
SOC feeding and storage
Fault diagnosis
Fault injection of FIU hardware
|
Test case design method mainly includes the methods defined and covered by functional safety in iso26262:
• Demand analysis
• Interface analysis
• Equivalence class analysis
• Boundary value analysis
• Wrong guess method based on knowledge or experience
• Environmental conditions and operation analysis
• On site experience analysis
• Fault injection
We will provide test case template and all test cases. Test cases mainly include test purpose, test ID, requirement ID, test case library ID, test case design method, preconditions (initialization action), test steps, expected results, test results and test problem description corresponding to the results.
—— Automated Testing
The automatic test software TestStand is used for automatic test. TestStand is an automatic test software supporting Ni system, which can quickly develop automatic test and verification system. Through TestStand, we can develop, manage and run test cases, record data and generate test reports automatically.
Develop test cases
Executing test cases
Automatic test report generation
—— Automated Testing Using Scripts
Using Python script based on Xil API for automatic test execution and management is a more efficient, flexible and extensible method.
Automated testing based on script
—— Typical Cases
Project: VCU HIL test:
Project: BMS HIL test:
|