Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Software testing method and system of electronic control unit prototype

A software testing method and technology of electronic control units, applied in the direction of electrical testing/monitoring, comprehensive factory control, etc., can solve the problems of long development cycle, multiple business trips of testers, high development cost, etc., achieve less demand and reduce development cost and development cycle effects

Pending Publication Date: 2022-08-09
DONGFENG CUMMINS ENGINE
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This test method requires a lot of resources. In addition to vehicle resources, it also requires various support personnel and power sources. Testers need to travel many times.
In addition, in the process of software testing and iteration, these resources need to be used many times, resulting in high development costs and long development cycles

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 testing method and system of electronic control unit prototype
  • Software testing method and system of electronic control unit prototype
  • Software testing method and system of electronic control unit prototype

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] figure 1 , figure 2 A schematic structural diagram of the software testing system of the electronic control unit prototype provided by the preferred embodiment of the present application is shown. For the convenience of description, only the parts related to this embodiment are shown, and the details are as follows:

[0056] The VCU software is the tested object of the present invention. It is loaded into the RCP for testing. It includes parameter set, control variable set, state variable set, message sending program, message receiving program and control program. The parameter set contains several parameters, and the variable set contains several variables, all of which are processed by the software of the VCU. The control program performs mathematical and logical operations on parameters, control variables and state variables, and then assigns the operation results to the control variables and state variables. The message sending program sends the values ​​of the c...

Embodiment 2

[0070] like image 3 As shown, this embodiment provides the best embodiment of the software testing method of the electronic control unit prototype, and the process is as follows:

[0071] S100: Use visual programming tools, such as Simulink, to build the software model of the VCU under test according to the design requirements, build the software model of each simulated ECU in the VCU simulation running environment according to the functions of the real ECU on the vehicle, and compile the model into C language code.

[0072] S200: Compile the C language code into machine code with the compiling and downloading tool in the upper computer PC.

[0073] S300: Download the machine code to the rapid control prototype RCP with the compile and download tool in the host computer PC.

[0074] S400: Use the human-computer interaction panel HMI in the upper computer PC to manually set the values ​​of the control variables of the VCU and the simulation ECU. The VCU and the simulation ECU ...

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 the technical field of electronic measurement and control, in particular to a software testing method and system for an electronic control unit prototype. A software model of the VCU and a software model of each simulation ECU in the VCU simulation operation environment are built; compiling the software model into a machine code, and writing the machine code into a rapid control prototype RCP; values of control variables of the VCU and the simulation ECU are set, the VCU and the simulation ECU in the rapid control prototype RCP carry out operation according to the control variable value at the current moment, the value of the state variable at the previous moment and the parameter value and a control program, and operation results are assigned to the current control variable and the state variable; according to the values and waveforms of the state variables of the VCU and the simulation ECU, whether software of the VCU meets the design requirement or not is judged, if the software of the VCU does not meet the design requirement, a software model of the VCU is modified, and the steps are repeated till the test result meets the design requirement. The method can reduce the test cost and test period of the rapid control prototype.

Description

technical field [0001] The invention relates to the technical field of electronic measurement and control, in particular to a software testing method and system for an electronic control unit prototype. Background technique [0002] There are many electronic control unit ECUs on contemporary vehicles. Each ECU is responsible for a dedicated function. These ECUs form a network through a bus (such as CAN bus). Each ECU has more or less connections with other ECUs. Send messages to and receive messages from other ECUs. The development of the electronic control unit ECU starts with its prototype. For the convenience of expression, the tested ECU in the bus network is named as VCU, and other ECUs are still called ECUs, such as ECU1 to ECUn. These ECUs constitute the operation and testing environment of the VCU. [0003] After the user has developed the control algorithm related to the prototype of the electronic control unit, even if the algorithm has been preliminarily tested ...

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
IPC IPC(8): G05B23/02
CPCG05B23/0213G05B2219/24065Y02P90/02
Inventor 孙卫军杨光马毅
Owner DONGFENG CUMMINS ENGINE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products