A vehicle combination instrument electrical function test device and test method thereof
By using the combination of CANoe module and wire harness opening and breaking box in automotive instrument cluster testing, the rapid update and testing of instrument software is achieved, solving the problem of separation of test system and software updates, and accurately recording message cycles, avoiding alarms The timing is chaotic, which improves testing efficiency and accuracy.
Patent Information
- Application Number
- CN202111429561.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-29
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-11-29
AI Technical Summary
In the existing automotive instrument cluster testing system, the test system and the software update system are separated, and rapid update and testing cannot be achieved. At the same time, the alarm time strategy is not considered in the node loss fault alarm, resulting in the possible alarm timing chaos.
An electrical functional test device for automotive instrument combination is designed, including CANoe module, program-controlled power supply and wire harness on-break box. Bus signal simulation and software control are carried out through CANoe module, and the on-break box realizes a rapid conversion test environment, simulating vehicle power status and alarm Signal, realizes accurate recording of software upgrade and fault alarm time.
It realizes rapid update and testing of instrument software, combines the test system and software update system, ensures the accuracy of alarm timing and avoids the consequences of confusing alarm timing.
Smart Images

Figure CN114113859B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of automobile electrical testing, and in particular relates to an automobile combination instrument electrical function testing device and a testing method thereof. Background Art
[0002] At present, there are two deficiencies in the testing of automobile combination instruments: 1. The test system and software update system are often separated, which cannot realize the rapid update and rapid testing of the instrument software; 2. In the node loss fault alarm test of the instrument, only whether the alarm can be triggered is considered, but the alarm time strategy is not considered, which may result in confusion of alarm timing when the car is in use. Summary of the invention
[0003] The purpose of the present invention is to provide an electrical function test device for an automobile combination instrument and a method for testing the electrical function of an automobile combination instrument in view of the above-mentioned deficiencies in the prior art.
[0004] The objective of the present invention is achieved through the following technical solutions:
[0005] An electrical function test device for an automobile combination instrument, characterized in that it comprises a CANoe module, a program-controlled power supply and a wiring harness on-off box;
[0006] The CANoe module is used to simulate bus signals and control the power supply of the test sample, and acts as a host computer during the Bootloader test process;
[0007] The program-controlled power supply is used to simulate the power status of the vehicle and the pin power supply of the controller during the test;
[0008] The on-off box is located between the instrument cluster and the vehicle wiring harness, can connect each test module, and switch the vehicle wiring harness and the controller wiring harness, and can quickly convert the single system test environment and the real vehicle test environment for all pins.
[0009] Furthermore, the CANoe module is connected to the on-off box, and is used to output the CAN bus test signal of the digital vehicle speed, engine speed, and alarm information of the instrument cluster, and to change the software upgrade and configuration information of the instrument cluster, and to update the software Bootloader and change the configuration information of the instrument cluster.
[0010] Furthermore, the CANoe module is also connected to a power control module for controlling the power supply to the controller.
[0011] Furthermore, on the on-off box, a cable is used to connect the on-off box and the power module / grounding module to output a high / low level test signal for the alarm light switch.
[0012] Furthermore, on the on-off box, the hard-wired vehicle speed signal pin of the instrument is disconnected, and the function generator is connected to the on-off box for analog input of the vehicle speed PWM waveform test signal.
[0013] A testing method for an electrical function testing device of an automobile combination instrument comprises the following steps: controlling a program-controlled power supply through a CANoe module to control the level input of a sample under test and its pins; updating the Bootloader of the software of the sample under test through the CANoe module; performing a simulation test on the sample under test through a signal simulation unit of the CANoe module; after the test is completed, repeatedly updating the Bootloader of the software of the sample under test through the CANoe module to perform a retest.
[0014] Furthermore, the testing method of the electrical function testing device of the automobile combination instrument comprises the following steps:
[0015] A. Output CAN bus test signals of digital vehicle speed, engine speed and bus alarm information through CANoe module;
[0016] B. Output high / low level test signals to control hard-wired alarm lights and alarm sound switches through the power module and grounding module;
[0017] C. Output a PWM waveform test signal simulating vehicle speed through a function generator;
[0018] D. The aforementioned test signal is transmitted to the instrument through the wiring harness switch box for testing;
[0019] E. Implement software upgrade / test and configuration information change of instrument cluster through CANoe module and power control module. Test contents include power-off and re-flash test during program erasure, power-off and re-flash test after program erasure, continuous multiple flash test, error program flash test, error check test, etc. Compare the obtained log file with the preset value and automatically generate Bootloader test report;
[0020] F. Use the IG simulation module in the CANoe module to simulate the node message monitored by the instrument cluster. When the instrument cluster detects that the message is lost for x / x+1 message cycles, the instrument cluster records the node loss and issues a fault alarm. At the same time, read the fault code record of the instrument cluster through the IG simulation module.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] The test device and test method of the present invention can realize the rapid update and rapid test of the instrument software, and realize various test requirements of the combination instrument test: 1. The test system and the software update system are combined to realize the rapid update and rapid test of the instrument software; 2. In the node loss type fault alarm test of the instrument, the message cycle is accurately recorded to avoid the consequences of alarm timing confusion. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 This is the system architecture diagram;
[0025] Figure 2 The following is a flow chart of the test sequence. DETAILED DESCRIPTION
[0026] The present invention will be further described below in conjunction with embodiments:
[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0028] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in the subsequent drawings. At the same time, in the description of the present invention, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0029] The electrical function test device of the automobile combination instrument of the present invention comprises a CANoe module, a programmable power supply and a wiring harness on-off box; the CANoe module is used for simulating bus signals and performing power control on test samples, and at the same time acts as a host computer during a Bootloader test; the programmable power supply is used for simulating the power state of the vehicle and the pin power supply of the controller during the test; the on-off box is located between the combination instrument and the wiring harness of the whole vehicle, can connect various test modules, and switch the vehicle wiring harness and the controller wiring harness, and can respectively realize rapid conversion of a single system test environment and a real vehicle test environment for all pins.
[0030] The CANoe module is connected to the on-off box and is used to output the CAN bus test signals of the digital vehicle speed, engine speed, and alarm information of the instrument cluster, and to update the software and configuration information of the instrument cluster, and to update the software bootloader and change the configuration information of the instrument cluster. The CANoe module is also connected to the power control module to control the power supply of the controller.
[0031] On the on-off box, the on-off box is connected to the power module / grounding module through a cable to output the high / low level test signal of the warning light switch. On the on-off box, the hard-wired vehicle speed signal pin of the instrument is disconnected, and the function generator is connected to the on-off box to simulate the input of the vehicle speed PWM waveform test signal.
[0032] A testing method for an electrical function testing device of an automobile combination instrument comprises the following steps: controlling a program-controlled power supply through a CANoe module to control the level input of a sample under test and its pins; updating the Bootloader of the software of the sample under test through the CANoe module; performing a simulation test on the sample under test through a signal simulation unit of the CANoe module; after the test is completed, repeatedly updating the Bootloader of the software of the sample under test through the CANoe module to perform a retest.
[0033] The specific steps include:
[0034] A. Output CAN bus test signals of digital vehicle speed, engine speed and bus alarm information through CANoe module;
[0035] B. Output high / low level test signals to control hard-wired alarm lights and alarm sound switches through the power module and grounding module;
[0036] C. Output a PWM waveform test signal simulating vehicle speed through a function generator;
[0037] D. The aforementioned test signal is transmitted to the instrument through the wiring harness switch box for testing;
[0038] E. Implement software upgrade / test and configuration information change of instrument cluster through CANoe module and power control module. Test contents include power-off and re-flash test during program erasure, power-off and re-flash test after program erasure, continuous multiple flash test, error program flash test, error check test, etc. Compare the obtained log file with the preset value and automatically generate Bootloader test report;
[0039] F. Use the IG simulation module in the CANoe module to simulate the node message monitored by the instrument cluster. When the instrument cluster detects that the message is lost for x / x+1 message cycles, the instrument cluster records the node loss and issues a fault alarm. At the same time, read the fault code record of the instrument cluster through the IG simulation module.
[0040] The electrical function test device of the automobile combination instrument of the present invention comprises a wiring harness on-off box, which is connected between the combination instrument and the wiring harness of the whole vehicle, separates the instrument wiring harnesses one by one and realizes on-off operation, and can realize rapid conversion of single system test environment and real vehicle test environment for all pins respectively.
[0041] On the on-off box, the corresponding pins of CAN-H and CAN-L of the instrument are disconnected, and the CANoe software is connected to the on-off box through a channel of the CANcase hardware to realize the CAN bus test signal output of the digital vehicle speed, engine speed, and alarm information of the combination instrument, and realize the software upgrade and configuration information change of the combination instrument, and the software Bootloader update and configuration information change of the combination instrument. At the same time, the CANoe software is connected to the power control module through another channel of the CANcase to realize the control of the power supply of the controller.
[0042] On the on-off box, the corresponding pins of the instrument's alarm lights 1 to N are disconnected, and the on-off box is connected to the power module / grounding module through a cable to output a high / low level test signal for the alarm light switch;
[0043] On the on-off box, the hard-wired vehicle speed signal pin of the instrument is disconnected, and the function generator is connected to the on-off box to realize the analog input of the vehicle speed PWM waveform test signal.
[0044] The electrical function testing method of the automobile combination instrument of the present invention comprises the following steps:
[0045] A. Output CAN bus test signals of digital vehicle speed, engine speed and bus alarm information through CANoe module;
[0046] B. Output high / low level test signals to control hard-wired alarm lights and alarm sound switches through the power module and grounding module;
[0047] C. Output a PWM waveform test signal simulating vehicle speed through a function generator;
[0048] D. The aforementioned test signal is transmitted to the instrument for testing via the wiring harness switch box.
[0049] E. Implement software upgrade / test and configuration information change of instrument cluster through CANoe module and power control module. Test contents include power-off and re-rewrite test when program is erased, power-off and re-rewrite test after program is erased, continuous multiple rewrite test, error program rewrite test, error check test, etc. Compare the obtained log file with the preset value and automatically generate Bootloader test report.
[0050] F. Use the IG simulation module in the CANoe module to simulate the node message monitored by the instrument cluster. When the instrument cluster detects that the message is lost for x / x+1 message cycles, the instrument cluster records the node loss and issues a fault alarm. At the same time, read the fault code record of the instrument cluster through the IG simulation module.
[0051] Example 1
[0052] like Figure 1 , Figure 2 As shown in the figure, the test device uses the CANoe module and programmable power supply hardware to upgrade the instrument software Bootloader and change the configuration information. After the instrument software upgrade is completed, the CANoe module can output the CAN bus test signal of the digital vehicle speed, engine speed, and bus alarm information to perform related tests. The programmable power supply controls the input voltage of the hard-wire pin of the alarm light to perform hard-wire signal related tests.
[0053] The IG simulation module in the CANoe module simulates the node message monitored by the instrument cluster. When the instrument cluster detects that the message is lost for x / x+1 message cycles, the instrument cluster records the node loss and issues a fault alarm. At the same time, the CANoe module reads the instrument cluster fault code record to achieve accurate monitoring of the message cycle.
[0054] Example 2
[0055] like Figure 1 , Figure 2 As shown, the test device performs instrument software Bootloader flash test through CANoe module and programmable power hardware. The test contents include power-off and re-flash test during program erasure, power-off and re-flash test after program erasure, continuous multiple flash test, error program flash test, error check test, etc.
[0056] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A test method for an electrical function test device of an automobile combination instrument, characterized in that: The electrical function test device of the automobile instrument cluster includes a CANoe module, a programmable power supply and a wiring harness on-off box; The CANoe module is used to simulate line signals and control the power supply of the test sample, and acts as a host computer during the Bootloader test process; The program-controlled power supply is used to simulate the power status of the vehicle and the pin power supply of the controller during the test; The switch box is located between the instrument cluster and the vehicle wiring harness, and can connect each test module and switch the vehicle wiring harness and the controller wiring harness, and can quickly convert the single system test environment and the real vehicle test environment for all pins; The CANoe module is connected to the on-off box and is used to output the CAN bus test signals of the digital vehicle speed, engine speed, and alarm information of the instrument cluster, and to update the software and configuration information of the instrument cluster, and to update the software Bootloader and change the configuration information of the instrument cluster; The CANoe module is also connected to the power control module to control the power supply to the controller; The on-off box is connected to the power module / grounding module via a cable to output a high / low level test signal for the alarm light switch; On the on-off box, the hard-wired vehicle speed signal pin of the instrument is disconnected, and the function generator is connected to the on-off box for analog input of the vehicle speed PWM waveform test signal; The testing method of the electrical function testing device of the automobile combination instrument comprises the following steps: controlling the program-controlled power supply through the CANoe module to control the level input of the tested sample and its pins; The Bootloader of the software of the sample under test is updated through the CANoe module; the simulation test of the sample under test is performed through the signal simulation unit of the CANoe module; after the completion of this test, the Bootloader of the software of the sample under test is repeatedly updated through the CANoe module for retesting.
2. The testing method of the electrical function testing device of the automobile combination instrument according to claim 1, characterized in that: The test method specifically includes the following steps: A. Output CAN bus test signals of digital vehicle speed, engine speed and bus alarm information through CANoe module; B. Output high / low level test signals to control hard-wired alarm lights and alarm sound switches through the power module and grounding module; C. Output a PWM waveform test signal simulating vehicle speed through a function generator; D. The aforementioned test signal is transmitted to the instrument for testing through the wiring harness switch box; E. Implement software upgrade / test and configuration information change of instrument cluster through CANoe module and power control module. Test contents include power-off and re-flash test during program erasure, power-off and re-flash test after program erasure, continuous multiple flash test, error program flash test, error check test, etc. Compare the obtained log file with the preset value and automatically generate Bootloader test report; F. Use the IG simulation module in the CANoe module to simulate the node message monitored by the instrument cluster. When the instrument cluster detects that the message is lost for x / x+1 message cycles, the instrument cluster records the node loss and issues a fault alarm. At the same time, read the fault code record of the instrument cluster through the IG simulation module.
Citation Information
Patent Citations
Test system and method for circuit board
CN101226224A
A packet loss automatic detection system and a method
CN109005081A
Automobile instrument fault automatic detection system and method
CN109388125A
0.02-level installation-type standard meter, system of using the same for calibration and method
CN110568396A
Vehicle-mounted ECU bus refreshing test system and method
CN112748713A
