Unlock instant, AI-driven research and patent intelligence for your innovation.

Software test method for realizing reproduction of actual working conditions based on CAN (controller area network) bus

A working condition and bus technology, which is applied in the field of software testing by reproducing real working conditions, can solve problems that cannot be completely simulated, and achieve the effect of improving work efficiency

Active Publication Date: 2013-11-27
SHANGHAI AEROSPACE POWER TECH
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Artificial test case design often cannot completely simulate all possible on-site working conditions, and needs to be tested in combination with real operating conditions; therefore, how to reproduce the real working conditions more accurately and test the working conditions in the target system Become the focus of battery management system testing

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Software test method for realizing reproduction of actual working conditions based on CAN (controller area network) bus
  • Software test method for realizing reproduction of actual working conditions based on CAN (controller area network) bus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] like figure 1 As shown, the software architecture of the battery management system BMS adopts a layered software architecture, which is divided into a driver layer, a virtual function bus layer, and an application layer. Among them, the driver layer completes the acquisition and processing of analog signals and digital signals, and transmits them to the application layer through the virtual function bus. After the application layer receives the required data from the virtual function bus, it performs strategy and algorithm operations, and transmits the execution command to the driver layer through the virtual function bus, and the driver layer executes the command, and completes the system operation data through the first bus channel CAN 1 ( important parameters in the virtual function bus) to send work. When the battery pack system is running, the communication data on the CAN 1 channel is recorded through the CAN tool (that is, the bus analysis configuration tool). ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a software test method for realizing reproduction of actual working conditions based on a CAN (controller area network) bus, which is applied to a battery management system with a hierarchical software architecture. The method comprises the following steps of enabling a driving layer to collect the parameters of the actual running of a battery pack system, and enabling an application layer to send a corresponding executing command to the driving layer after required data is received through a virtual function bus for strategic calculation; in addition, storing the data which is recorded with the actual working conditions and is sent from a channel CAN1 in the driving layer; after an executing strategy of the application layer is optimized, temporarily stopping to collect data from the battery pack system, enabling the application layer to receive the playback actual working condition data from a channel CAN2 of the driving layer, and then reproducing a previous working condition site; and through the calculation of the application layer, sending an optimized processing strategy result through the channel CAN1, recording, and then comparing previous working condition records and subsequent working condition records, so as to analyze the difference before and after software optimizing. The method has the advantages that the actual working condition can be effectively reproduced on a target system, and the test efficiency of software is obviously improved.

Description

technical field [0001] The invention relates to the technical field of embedded software testing, in particular to a technology for realizing software testing by reproducing real working conditions. Background technique [0002] The power lithium battery pack system is gradually being applied in fields such as electric vehicles and large energy storage systems. As a key component of the battery pack system, the battery management system (BMS)'s software control strategy and algorithm will directly affect the safety, life and user experience of the product. Therefore, it is very important to conduct a comprehensive verification of BMS software to find potential vulnerabilities. Artificial test case design often cannot completely simulate all possible on-site working conditions, and needs to be tested in combination with real operating conditions; therefore, how to reproduce the real working conditions more accurately and test the working conditions in the target system Beco...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36
Inventor 叶磊那伟宋苏
Owner SHANGHAI AEROSPACE POWER TECH