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

A hardware-in-the-loop testing method and system

A test method and hardware technology, applied in the direction of test/monitoring control system, transmission system, general control system, etc., can solve the problems of delayed test progress, time-consuming and manpower, functional errors, etc., to ensure integrity and improve the overall Efficiency, the effect of improving test efficiency

Inactive Publication Date: 2017-10-10
BEIJING BORGWARD AUTOMOBILE CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] During the test, the environment model responds improperly due to a certain part of the VCU’s function going wrong. It is necessary to wait until the VCU model is re-modified before testing. In addition, the environment model is relatively large and involves the engine, battery, motor, BMS, MCU, EMS, etc. , during the test process, due to improper transmission of a certain signal of the environmental model, it is necessary to wait until the environmental model is modified, then recompile, and then download it into the test equipment to continue the test, which will consume a lot of time and manpower, and delay the test progress

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
  • A hardware-in-the-loop testing method and system
  • A hardware-in-the-loop testing method and system
  • A hardware-in-the-loop testing method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] In this embodiment, a hardware-in-the-loop testing method is provided, and the flow chart is as follows figure 1 shown, including the following steps:

[0053]First, acquire several test signals and set switches for each test signal. The test signal here comes from the test system. For example, in the test system, the test signal comes from the virtual engine controller ECU, and the test signal is input into the running support environment RTI of the test system for testing. In this step, a switch is set for part or all of the signals from the engine controller ECU. The function of this switch is to turn off the signal. After the signal is turned off, it will not be able to be input into the running support environment RTI. However, However, the signal can be reassigned manually.

[0054] As other alternative implementation manners, the test signal for setting the switch here may be a CAN signal, an IO signal and any other signal that needs to be tested during the te...

Embodiment 2

[0059] On the basis of the foregoing embodiment 1, this embodiment provides a specific manner of acquiring several test signals and setting a switch for each test signal. The test signals selected here are selected according to the needs. For which signals you want to manually assign values, configure for which signals. In this embodiment, a configuration method for CAN signals and a configuration method for IO signals are provided. In other implementation manners, the CAN signal or the IO signal may be configured separately, or both may be configured simultaneously. Which signals are configured, which signals can be manually turned off and assigned later.

[0060] The process of configuring for CAN signals is as follows:

[0061] First, obtain the CAN protocol standard file, that is, the DBC file, which is the database file with the suffix DBC. The information in the DBC file includes the number of controllers in the CAN network, which controllers are there, which messages...

Embodiment 3

[0070] In this embodiment, a specific application example of the hardware-in-the-loop test method is provided. The test system is constructed by setting up an environment model. In the construction, an interface module needs to be set. The calls to automatically generate modules, which are then applied to the environment model.

[0071] In the interface module, the switch of the CAN signal and the switch of the IO signal can be automatically generated, the process is as follows figure 2 As shown, the automatic generation program writing includes the following steps:

[0072] 1) Implement dbc file parsing. Import the dbc file and extract the information in the DBC file, including the number of controllers in the CAN network, which controllers are there, which messages are there, which controllers each message belongs to, and which signals are in the messages. Use M language to write a program to extract dbc file information, find the length of dbc, filter useful information,...

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 present invention provides a hardware-in-the-loop test method and system. Firstly, a plurality of test signals are obtained, and a switch is set for at least one test signal; Close the test signal, truncate the abnormal signal, and reassign the test signal to continue testing. In this scheme, a switch is configured for each test signal. During the test, if a test signal is abnormal, the test signal is turned off, the abnormal signal is cut off, and an appropriate value is re-assigned for testing. In this way, it avoids the problem in the prior art that the download test needs to be performed again after the abnormal signal is resolved. By manually assigning values, the influence of the abnormal signal on the test is temporarily closed, and other signals are tested. The abnormal signal Follow-up testing is possible, which improves the overall efficiency of testing.

Description

technical field [0001] The invention relates to the field of new energy vehicle controller testing, in particular to a method and system for hardware-in-the-loop testing. Background technique [0002] With the development and popularization of automobile technology, more and more automobiles are owned, and the environmental problems caused by them are becoming more and more prominent. New energy vehicles are widely considered to be one of the main ways to solve problems such as vehicle exhaust pollution and oil energy shortage. The power system of a new energy vehicle mainly includes a power battery, a power battery management system (BMS, Battery Management System), a drive motor, a motor controller (MCU, Motor Control Unit), a vehicle controller (VCU, Vehicle Control Unit), Composed of engine and engine controller (ECU, Electronic Control Unit). With the rapid development of new energy vehicles, the product performance and reliability requirements of the core components ...

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 Patents(China)
IPC IPC(8): G05B23/02H04L29/06
CPCG05B23/0278H04L67/00
Inventor 荀野
Owner BEIJING BORGWARD AUTOMOBILE CO LTD
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