HIL test automatic execution method

A technology for automatic execution and test cases, applied in the field of automobile testing, which can solve problems such as unfavorable review exchanges, large workload, and inability to carry out work in parallel, so as to facilitate direct discussion and improve efficiency.

Pending Publication Date: 2022-07-29
DONGFENG MOTOR GRP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0014] The present invention aims at the defects that the automated testing tools provided by HIL manufacturers in the prior art cannot work in parallel and have no effective division of labor and cooperation mechanism. However, if the test scripts are written manually, the workload is heavy, it is not intuitive, and it is not conducive to the defects of review and communication. A HIL test automatic execution method

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
  • HIL test automatic execution method
  • HIL test automatic execution method
  • HIL test automatic execution method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0039] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, but not to limit the present invention.

[0040] Definitions of acronyms and key terms:

[0041] HIL testing: an in-lab ECU testing method.

[0042] ActiveX: A software call interface technology.

[0043] HIL automated test software: operating software running on the HIL host computer, mainly responsible for editing test cases and executing tests.

[0044] HIL test configuration software: a software system running on the HIL upper computer and downloaded to the HIL lower computer during execution, mainly responsible for the integration of the HIL system and the configuration of software and hardware.

[0045] Protocol stack: On...

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 discloses an automatic execution method for an HIL test, which comprises the following steps of: formulating an interface interaction specification, specifically setting a consistent variable between a test case file and a test project, and appointing an ECU hardware channel pointed by a test equipment board card for executing the variable; according to the interface interaction specification, a test case file is designed, and the test case file comprises an action type and specific execution content corresponding to a variable in the interface interaction specification; test engineering configuration is completed at the same time, namely, alias mapping associated with the variables in the test case is added, and the alias mapping comprises variable names and hardware channels in the corresponding test engineering; and analyzing and executing the test case, specifically reading the file content of the test case, and calling a corresponding ActiveX read-write function to execute the test case according to the hardware channel in the alias mapping corresponding to the variable in the test case. According to the method, the configuration debugging work and the test case design work of the test equipment can be separated, so that the efficiency is improved.

Description

technical field [0001] The invention relates to the field of automobile testing, in particular to an automatic execution method for HIL testing. Background technique [0002] Hardware-in-the-Loop (HIL) is a development and testing technology for complex equipment controllers. Through HIL testing, the physical part of a machine or system is replaced by an emulator and is widely used in the development of automotive controllers. In the development process of ECU (Electronic Control Unit, that is, on-board computer), the system software and mechanical hardware structure are usually designed in parallel. Test work can only be carried out after integration. If some serious risk security bugs are discovered after integration, there is the potential for personal injury, damaged equipment, and project delays. To reduce the occurrence of these bugs, HIL testing has received extensive attention. [0003] At present, the automotive testing industry mainly realizes automated testing...

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
CPCG06F11/3684G06F11/3688
Inventor 司文奎饶超尤瑞臻张仁泉
Owner DONGFENG MOTOR GRP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products