摘要: |
For theVCU system function test project of BJEV' s BEV,we present a intelligent test method based on virtual ECU.BJEV has developed BMS,VCU and MCU controller using Matlab/Simulink,and built the plant model by Matlab/Simulink as well.In the SiL test stage,we need to integrate the complete ECU software and the plant model.We need to simulate the network nodes of the rest controllers,the bottom functions of the controller under test and also the EEPROM function for the controller hardware.In ad-dition,we need to complete the function requirement test,the code coverage test and need a large number of random scenarios test.In order to achieve these goals,we use Silver tools to set up the SiL test environment,use TestWeaver to generate a large number of test scenarios automatically and intelligently,and use CTC++to check the code coverage.Based on this method,even the function require-ment document can not describe the complete code function,we still can make the test coverage reach a high level,and ensure the soft-ware quality. |