Test system and test method of vehicle body controller

The body controller test system simulates environmental stress and faults, and solves the problem of inability to verify the compatibility and reliability of the body controller in the prior art, and achieves a comprehensive verification of the body controller functions.

CN119105460APending Publication Date: 2024-12-10ZHEJIANG GEELY HLDG GRP CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411327539.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-23
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The prior art cannot fully verify the compatibility and reliability of the body controller and the system architecture, and it is difficult to detect functional failure mechanisms, and it is impossible to simulate scenario applications and working conditions.

Method used

It provides a test system for body controllers, including a temperature box, a vibration table, a top computer, a simulated load, a fault simulator and a collector. By simulating environmental stress and fault injection, the compatibility and reliability of the body controller is verified.

Benefits of technology

By simulating environmental stress and fault injection, the compatibility and reliability of the body controller and the system architecture can be fully verified, and the functional failure mechanism can be discovered, which improves the authenticity and effectiveness of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105460A_ABST
    Figure CN119105460A_ABST
Patent Text Reader

Abstract

The invention provides a test system and a test method of a vehicle body controller, the test system of the vehicle body controller comprises a temperature box, a vibration table, an upper computer, a simulation load, a fault simulator, a collector and a test controller, the temperature box and the vibration table are used for simulating environmental stress when the vehicle body controller works; the upper computer is used for simulating various functions of the vehicle body controller and generating corresponding input signals to the vehicle body controller, so that the vehicle body controller generates output signals according to the input signals. The simulation load is connected with the load output end of the vehicle body controller. The fault simulator is used for simulating a voltage transient interruption fault of the vehicle body controller. The collector is connected with the load output end and used for collecting output signals. And the test controller is used for determining that the vehicle body controller fails if the output signal is different from the set expected output signal. Through simulation of environmental stress and simulation of fault injection, scene application and working condition switching can be carried out, and compatibility and reliability of the vehicle body controller and a system architecture are fully verified.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle body controller testing, and in particular to a testing system and a testing method for a vehicle body controller. Background Art

[0002] The body controller is an electronic control unit used to control the body electrical system in the vehicle. The body controller is responsible for managing the vehicle's power system, including battery charging, discharging, and voltage regulation to ensure the normal operation of the vehicle. The body controller also controls various electrical devices on the vehicle, such as electric windows, electric rearview mirrors, air conditioners, headlights, turn signals, wipers, washers, door locks, etc. By automatically controlling these devices, driving convenience and safety are improved.

[0003] With the development of automobile technology, the body controller has more and more functions, and the interaction with other devices is becoming more and more complex. The requirements for vehicle safety performance and comfort are also constantly improving. Therefore, the body controller must have high reliability.

[0004] Currently, the tests on the body controller include component-level tests and vehicle integration tests, but it is impossible to switch between scenario applications and working conditions. Therefore, it is impossible to fully verify the compatibility and reliability of the body controller with the system architecture, and it is not easy to discover the functional failure mechanism of the body controller. Summary of the invention

[0005] The present application provides a vehicle body controller testing system and testing method to solve at least some of the problems in the related art.

[0006] On one hand, the present application provides a test system for a vehicle body controller, comprising:

[0007] A temperature box, used for placing the body controller, wherein the temperature parameters of the temperature box are adjustable, and a variety of test temperature environments are provided for the body controller;

[0008] A vibration table, used to drive the body controller to vibrate, wherein the vibration parameters of the vibration table are adjustable, and a variety of test vibration environments are provided for the body controller;

[0009] A host computer connected to the signal input interface of the vehicle body controller, the host computer is used to simulate various functions of the vehicle body controller, generate corresponding input signals to the vehicle body controller, and enable the vehicle body controller to generate output signals according to the input signals;

[0010] A simulated load connected to a load output terminal of the vehicle body controller and operating in response to the output signal;

[0011] A fault simulator, connected to the vehicle body controller, for simulating a voltage transient fault of the vehicle body controller;

[0012] a collector, connected to the load output terminal, for collecting the output signal; and

[0013] The test controller is used to: determine that the vehicle body controller is faulty if the output signal is different from a set expected output signal.

[0014] Optionally, the fault simulator includes a programmable power supply, which is connected to the voltage input terminal of the vehicle body controller to supply power to the vehicle body controller, and the programmable power supply is used to simulate a voltage interruption fault of the vehicle body controller;

[0015] The test controller is used to obtain the recovery time of the vehicle body controller according to the output signal, and if the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

[0016] Optionally, the test system further includes a power supply, the power supply supplies power to the vehicle body controller, the fault simulator includes a first switch; the first switch is connected between the power supply and the vehicle body controller, and the host computer is configured to: control the on-off of the first switch to control the on-off between the power supply and the vehicle body controller to simulate a voltage transient fault of the vehicle body controller;

[0017] The test controller is used to obtain the recovery time of the vehicle body controller according to the output signal, and if the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

[0018] Optionally, the signal input interface is connected to the host computer via a signal line, and the fault simulator further includes a second switch, which is arranged on the signal line;

[0019] The host computer is configured to control the on-off of the second switch to control the on-off of the signal line to simulate a signal line circuit breaker fault of the vehicle body controller.

[0020] Optionally, the test system further includes a power port, and the fault simulator further includes a third switch, one end of the third switch is connected to the signal line, and the other end is connected to the power port;

[0021] The host computer is configured to control the on-off of the third switch to control the on-off between the signal line and the power port to simulate a short-circuit fault of the signal line of the vehicle body controller.

[0022] Optionally, the load output end is connected to the simulated load via a load connection line, and the fault simulator further comprises a fourth switch, one end of the fourth switch is connected to the load connection line, and the other end is connected to the power port;

[0023] The host computer is configured to control the on-off of the fourth switch to control the on-off between the load connecting line and the power port to simulate a load short-circuit fault of the vehicle body controller.

[0024] On the other hand, the present application provides a method for testing a vehicle body controller, the testing method comprising:

[0025] adjusting the temperature of the test space where the vehicle body controller is located according to the value of the received temperature parameter;

[0026] Vibrate according to the received value of the vibration parameter to drive the vehicle body controller to vibrate;

[0027] Simulating various functions of the vehicle body controller, generating input signals to the vehicle body controller, and causing the vehicle body controller to generate output signals;

[0028] In the process of simulating various functions of the body controller, simulating a voltage interruption fault of the body controller;

[0029] collecting the output signal;

[0030] If the output signal is different from the set expected output signal, it is determined that the vehicle body controller is faulty.

[0031] Optionally, simulating a voltage transient fault of the vehicle body controller includes:

[0032] Simulating a voltage interruption fault of the vehicle body controller by means of a program-controlled power supply;

[0033] If the output signal is different from the set expected output signal, determining that the vehicle body controller is faulty includes:

[0034] determining a recovery time of the vehicle body controller according to the output signal;

[0035] If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

[0036] Optionally, simulating a voltage transient fault of the vehicle body controller includes:

[0037] Controlling the on and off of a first switch connected between a power source and a voltage input terminal of the vehicle body controller to simulate a voltage interruption fault of the vehicle body controller;

[0038] If the output signal is different from the set expected output signal, determining that the vehicle body controller is faulty includes:

[0039] determining a recovery time of the vehicle body controller according to the output signal;

[0040] If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

[0041] Optionally, the testing method further includes:

[0042] The on-off of the second switch connecting the signal input interface of the vehicle body controller and the host computer is controlled to simulate a circuit breaker fault of the signal line of the vehicle body controller.

[0043] Optionally, the testing method further includes:

[0044] The on-off of a third switch connecting the signal input interface and the power port of the vehicle body controller is controlled to simulate a short circuit fault of the signal line of the vehicle body controller.

[0045] Optionally, the testing method further includes controlling the on / off connection of a load output terminal and a power interface connected to the vehicle body controller to simulate a load short circuit fault of the vehicle body controller.

[0046] Compared with the related art, the vehicle body controller test system provided by the present application simulates the environmental stress of the vehicle body controller during actual operation through a temperature chamber and a vibration table. The host computer simulates the various functions of the vehicle body controller and generates corresponding input signals to the vehicle body controller, so that the vehicle body controller generates output signals according to the input signals. The fault simulator can simulate the voltage transient fault of the vehicle body controller, and the collector collects the output signals.

[0047] If the output signal is different from the expected output signal, the test controller determines that the body controller is faulty. By simulating environmental stress and simulating fault injection, the scene application and working condition can be switched to fully verify the compatibility and reliability of the body controller and the system architecture, and discover the functional failure mechanism of the body controller. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0049] Figure 1 A structural block diagram of a vehicle body controller test system shown in an embodiment;

[0050] Figure 2 A structural block diagram of a vehicle body controller test system shown in another embodiment;

[0051] Figure 3 A structural block diagram of a vehicle body controller test system shown in yet another embodiment;

[0052] Figure 4 is a structural block diagram of a vehicle body controller test system shown in yet another embodiment;

[0053] Figure 5 A structural block diagram of a vehicle body controller test system shown in another embodiment;

[0054] Figure 6 A flowchart of a method for testing a vehicle body controller is provided according to an embodiment.

[0055] Figure numerals: test system 10, temperature box 11, vibration table 12, host computer 13, simulated load 14, fault simulator 20, collector 15, test controller 16, body controller 30, load output terminal 31, load connecting line 32, signal input interface 33, signal line 34, programmable power supply 21, power supply 17, voltage input terminal 35, first switch 22, second switch 23, third switch 24, fourth switch 25, power port 26. DETAILED DESCRIPTION

[0056] The present application provides a test system and a test method for a vehicle body controller. The test system and the test method for a vehicle body controller of the present application are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the features of the following embodiments and implementations can be combined with each other.

[0057] On the one hand, an embodiment of the present application provides a test system for a body controller, and the test system for the body controller includes: a temperature box for placing the body controller, the temperature parameters of the temperature box are adjustable, and a variety of test temperature environments are provided for the body controller; a vibration table, used to drive the body controller to vibrate, the vibration parameters of the vibration table are adjustable, and a variety of test vibration environments are provided for the body controller; a host computer, connected to the signal input interface of the body controller, the host computer is used to simulate various functions of the body controller, generate corresponding input signals to the body controller, and enable the body controller to generate output signals according to the input signals; a simulated load, connected to the load output terminal of the body controller, and operates in response to the output signal; a fault simulator, connected to the body controller, and used to simulate a voltage interruption fault of the body controller; a collector, connected to the load output terminal, and used to collect the output signal; a test controller, used to: if the output signal is different from the set expected output signal, determine that the body controller is faulty.

[0058] The test system of the vehicle body controller provided in this application simulates the environmental stress of the actual working of the vehicle body controller through a temperature box and a vibration table. The host computer simulates the various functions of the vehicle body controller and generates corresponding input signals to the vehicle body controller, so that the vehicle body controller generates output signals according to the input signals. The fault simulator can simulate the voltage interruption fault of the vehicle body controller, and the collector collects the output signal.

[0059] If the output signal is different from the expected output signal, the test controller determines that the body controller is faulty. By simulating environmental stress and simulating fault injection, the scene application and working condition can be switched to fully verify the compatibility and reliability of the body controller and the system architecture, and discover the functional failure mechanism of the body controller.

[0060] Please refer to Figure 1 , Figure 1 The structure block diagram of the test system 10 of the vehicle body controller 30 shown in an embodiment. The test system 10 of the vehicle body controller 30 includes a temperature box 11, a vibration table 12, a host computer 13, a simulated load 14, a fault simulator 20, a collector 15 and a test controller 16. The temperature box 11 is used to place the vehicle body controller 30. The temperature parameters of the temperature box 11 are adjustable, providing a variety of test temperature environments for the vehicle body controller 30. The vibration table 12 is used to drive the vehicle body controller 30 to vibrate. The vibration parameters of the vibration table 12 are adjustable, providing a variety of test vibration environments for the vehicle body controller 30.

[0061] In the present application, the components included in the test system 10 of the vehicle body controller 30 may be separate components, or the components may be integrated with each other, and the present application does not limit this. For example, the temperature box 11 and the vibration table 12 may be two separate components, or they may be integrated into one component, and the integrated component may have both the functions of temperature adjustment and vibration. The collector 15 and the test controller 16 may be two separate components, or they may be integrated into one component, and the integrated component may have both the functions of the collector 15 and the functions of the test controller 16.

[0062] In the embodiment of the present application, a temperature box 11 is provided, and the temperature box 11 is used to place the body controller 30, and the temperature box 11 is used to simulate the temperature of the body controller 30 when it is working. A vibration table 12 is also provided, and the vibration state of the body controller 30 when it is working can be simulated by driving the body controller 30 to vibrate through the vibration table 12. By setting the temperature box 11 and the vibration table 12, the environmental stress of the body controller 30 when it is working can be fully simulated, making the test environment more realistic. Moreover, the temperature parameters of the temperature box 11 are adjustable, and the vibration parameters of the vibration table 12 are adjustable, so that the temperature and vibration in the test environment of the body controller 30 can be changed by adjusting the temperature parameters of the temperature box 11 and the vibration parameters of the vibration table 12, so as to simulate the performance of the body controller 30 under different working conditions.

[0063] In some embodiments, the length, width and height of the temperature box 11 are all 1000mm, which can accommodate the body controller 30. The temperature range of the temperature box 11 is -40℃-+120℃, the humidity range is 20-98%RH, the temperature fluctuation is ≤±0.5℃, the heating and cooling rate is ≥2℃ / min, and 0.5℃-5℃ can be adjusted arbitrarily. The temperature box 11 has an input button or an input interface, and the temperature parameters of the temperature box 11 can be input through the input button or the input interface. The temperature parameters include parameters such as the minimum temperature, the maximum temperature, the minimum temperature maintenance time, the maximum temperature maintenance time, the temperature change point, the temperature change rate between different temperature change points, and the total running time. The temperature box 11 adjusts the temperature of the test space where the body controller 30 is located according to the value of the received temperature parameter, and circulates according to the temperature change law until the total running time ends. The temperature box 11 also includes a display screen, through which the target temperature and humidity, the current temperature and humidity, the current stage, the running time, etc. can be observed. In some specific embodiments, the temperature parameters of the temperature box 11 are obtained based on the ambient temperature when the body controller 30 is working. The ambient temperature when the body controller 30 is working is collected by the vehicle thermal management system, which can more truly reflect the ambient temperature when the body controller 30 is running.

[0064] In some embodiments, the length and width of the table top of the vibration table 12 are 2500mm and 2000mm respectively, and the temperature box 11 can be placed. In other embodiments, the length and width of the table top of the vibration table 12 are smaller than the length and width of the temperature box 11, and the vibration source of the vibration box is located at the center of the vibration table 12, and the vibration source of the vibration table 12 is located in the temperature box 11. The vibration table 12 includes an input button or an input interface, and vibration parameters can be input through the input button or the input interface. Vibration parameters include frequency and power spectrum density, and the power spectrum density can describe the power distribution of vibration at different frequencies. The vibration table 12 provided in the embodiment of the present application has a programmable function, and multiple vibration programs can be preset, each vibration program has its frequency and power spectrum density, and the running time of each vibration program is set to realize the cyclic detection function.

[0065] The vibration parameter setting of the body controller 30 can be determined according to its installation position. The values ​​of the vibration parameters are different when the body controller 30 is installed in different positions. Specifically, when the vibration table 12 is installed in the passenger car cab, in the split cab of a commercial vehicle, and on the elastomer of a commercial vehicle, the values ​​of the vibration parameters of the vibration table 12 are different. In some specific embodiments, the vibration parameters of the vibration table 12 are set according to the vibration environment when the body controller 30 is working, and the environmental vibration when the body controller 30 is working is obtained by analyzing the actual road spectrum of the whole vehicle. In this way, the environmental vibration when the body controller 30 is working can be more realistically reflected.

[0066] The host computer 13 is connected to the signal input interface 33 of the vehicle body controller 30 . The host computer 13 is used to simulate various functions of the vehicle body controller 30 , generate corresponding input signals to the vehicle body controller 30 , and enable the vehicle body controller 30 to generate output signals according to the input signals.

[0067] Specifically, the host computer 13 can be a computer with data computing functions and used for testing, such as a desktop or laptop computer. For example, the host computer 13 can be installed with ControlDesk test software and AutomationDesk test software. The host computer 13 is provided with a test program. When the test program is running, the host computer 13 generates an input signal and sends it to the body controller 30 for response, which can simulate various functions of the body controller 30.

[0068] The simulated load 14 is connected to the load output terminal 31 of the vehicle body controller 30 and operates in response to the output signal. In some implementations, the simulated load 14 can be replaced by a real load. The simulated load 14 generally includes a lamp load, a wiper load, a washing motor load, a seat heating load, a defrosting load, a rearview mirror adjustment load, etc. The use of the simulated load 14 can construct the actual peripheral circuit when the vehicle body controller 30 is installed on the vehicle, which can better simulate the environment when the vehicle body controller 30 is working.

[0069] The fault simulator 20 is connected to the vehicle body controller 30 to simulate a voltage transient fault of the vehicle body controller. The collector 15 is connected to the load output terminal 31 to collect output signals. The test controller 16 is used to determine that the vehicle body controller 30 is faulty if the output signal is different from the set expected output signal.

[0070] During the running of the test program, the collector 15 collects the output signal in real time and transmits the collected output signal to the test controller 16. In some embodiments, the test controller 16 is connected to the host computer 13 to obtain the current input signal. The test controller 16 is preset with the expected output signal corresponding to each input signal. The test controller 16 compares the collected output signal with the set expected output signal corresponding to the input signal. If the output signal is different from the set expected output signal, it is determined that the body controller 30 is faulty.

[0071] The test system 10 of the body controller 30 provided in the present application includes a fault simulator 20, which can simulate a voltage interruption fault in the body controller when the body controller 30 runs a test program. The collector 15 collects the output signal after the simulated voltage interruption fault, and determines whether the body controller 30 is faulty based on the output signal and the set expected output signal.

[0072] Please refer to Figure 2 , Figure 2FIG. 1 is a structural block diagram of a test system 10 for a vehicle body controller 30 shown in another embodiment. Figure 2 In the illustrated embodiment, the fault simulator 20 includes a programmable power supply 21, which is connected to the voltage input terminal 35 of the vehicle body controller 30 to supply power to the vehicle body controller 30. The programmable power supply 21 is used to simulate a voltage interruption fault of the vehicle body controller. The programmable power supply 21 is a programmable power supply, and the voltage characteristics of the programmable power supply 21 can be determined by programming. In this embodiment, a voltage characteristic line with a voltage discontinuity point is set inside the programmable power supply 21 by programming. When the voltage is output to the voltage discontinuity point according to the voltage characteristic line, the voltage of the programmable power supply 21 is interrupted, and the voltage of the programmable power supply 21 is restored after passing the voltage discontinuity point.

[0073] The test controller 16 is used to obtain the recovery time of the vehicle body controller 30 according to the output signal. If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller 30 is faulty.

[0074] The collector 15 collects the output signal in real time and transmits the output signal to the test controller 16. The controller determines the recovery time of the body controller 30 according to the change of the output signal, and compares the recovery time with the set expected recovery time. If the recovery time is greater than the set expected recovery time or the body controller 30 is not recovered, it is determined that the body controller 30 is faulty. Only when the recovery time of the body controller 30 is less than or equal to the set expected recovery time, it is determined that the body controller 30 is not faulty. The set expected recovery time is determined according to the parameters of the body controller 30 or according to the test standard executed by the body controller 30. Different body controllers 30 may execute different test standards, and the expected recovery time of the body controller 30 is different in different test standards.

[0075] The voltage transient fault simulation of the vehicle body controller is mainly to simulate the failure of the vehicle generator regulator or the failure of the DC converter of the vehicle. The voltage transient fault simulation of the vehicle body controller is mainly to observe the power failure recovery capability of the body controller 30. The power failure recovery capability of the body controller 30 is the ability of the body controller 30 to re-establish the connection, restore the control function, and ensure the stable operation of the vehicle systems after the vehicle system encounters a sudden power failure or failure. This capability is crucial to ensure vehicle safety and improve the driving experience.

[0076] Please refer to Figure 3 , Figure 3 FIG. 1 is a structural block diagram of a test system 10 for a vehicle body controller 30 shown in yet another embodiment. Figure 3In the illustrated embodiment, the test system 10 further includes a power supply 17, which supplies power to the vehicle body controller 30, and the power supply 17 is connected to the voltage input terminal 35 of the vehicle body controller 30. The fault simulator 20 includes a first switch 22. The first switch 22 is connected between the power supply 17 and the voltage input terminal 35 of the vehicle body controller 30. In some embodiments, the first switch 22 is a relay. The host computer 13 is configured to control the on-off of the first switch 22 to control the on-off between the power supply 17 and the vehicle body controller 30 to simulate the voltage transient fault of the vehicle body controller. In some embodiments, a voltage transient fault injection program is provided in the host computer 13. When the voltage transient fault injection program is running, the host computer 13 can control the on-off of the first switch 22. Among them, the first switch 22 is in a normally closed state, so that the power supply 17 supplies power to the vehicle body controller 30 normally. When the voltage transient fault program is running, the host computer 13 controls the first switch 22 to be opened and then closed, so that the voltage of the vehicle body controller 30 is restored after a transient interruption.

[0077] The test controller 16 is used to obtain the recovery time of the body controller 30 according to the output signal. If the recovery time is greater than the set expected recovery time, it is determined that the body controller 30 is faulty. Among them, the collector 15 collects the output signal in real time and transmits the output signal to the test controller 16. The controller determines the recovery time of the body controller 30 according to the change of the output signal, and compares the recovery time with the set expected recovery time. If the recovery time is greater than the set expected recovery time or the body controller 30 is not recovered, it is determined that the body controller 30 is faulty. Only when the recovery time of the body controller 30 is less than or equal to the set expected recovery time, it is determined that the body controller 30 is not faulty. The set expected recovery time is determined according to the parameters of the body controller 30 or according to the test standard executed by the body controller 30. The test standards executed by different body controllers 30 may be different, and the expected recovery time of the body controller 30 in different test standards is different.

[0078] The present application provides two methods of simulating voltage interruption failure of a vehicle body controller, one of which is to directly simulate while supplying power through a programmable power supply 21, and the other is to control the on-off of the first switch 22 by the host computer 13 to control the on-off between the power supply 17 and the vehicle body controller 30.

[0079] Please refer to Figure 4 , Figure 4 FIG. 1 is a structural block diagram of a test system 10 for a vehicle body controller 30 shown in yet another embodiment. Figure 4 The embodiments shown and Figure 3 The embodiments shown are basically the same, except that Figure 4In the illustrated embodiment, the signal input interface 33 is connected to the host computer 13 via a signal line 34, and the fault simulator 20 further includes a second switch 23, which is arranged on the signal line 34. In some embodiments, the second switch 23 is a relay. The host computer 13 is configured to control the on-off of the second switch 23 to control the on-off of the signal line 34 to simulate the signal line disconnection fault of the vehicle body controller 30. In some embodiments, a signal line 34 disconnection fault injection program is provided in the host computer 13, and when the signal line 34 disconnection fault injection program is running, the host computer 13 can control the on-off of the second switch 23. Among them, the second switch 23 is in a normally closed state, so that the vehicle body controller 30 can receive the input signal transmitted by the host computer 13 under normal circumstances. When the signal line 34 disconnection fault injection program is running, the host computer 13 controls the second switch 23 to be disconnected, thereby disconnecting the signal line 34 between the host computer 13 and the vehicle body controller 30, so that the vehicle body controller 30 cannot receive the input signal sent by the host computer 13.

[0080] It can be understood that the body controller 30 includes multiple signal input interfaces 33, each signal input interface 33 is connected to the host computer 13 through a signal line 34, the body controller 30 receives different input signals through different signal input interfaces 33, and the number of second switches 23 is also multiple. When simulating a circuit break of a certain signal line 34 of multiple signal lines 34, the host computer 13 controls the second switch 23 corresponding to the signal line 34 to be disconnected, and the second switches 23 corresponding to other signal lines 34 remain in a closed state. The second switches 23 corresponding to different signal lines 34 are controlled to be disconnected in turn. The second switches 23 corresponding to multiple signal lines 34 can also be controlled to be disconnected at the same time. In this way, various situations of circuit breakage of the signal line 34 of the body controller 30 can be simulated, and the fault types can be exhaustively enumerated as much as possible to increase the integrity of the test conditions.

[0081] The collector 15 collects the output signal in real time, and compares the output signal with the expected output signal corresponding to the working condition. If the output signal is different from the expected output signal, it is determined that the body controller 30 is faulty. This exposes the problem that the body controller 30 may fail when the signal line 34 is broken, which is convenient for optimizing the body controller 30 and strengthening the inspection of the working condition for the optimized body controller 30.

[0082] Please refer again Figure 4 ,exist Figure 4In the illustrated embodiment, the test system 10 further includes a power port 26, and the fault simulator 20 further includes a third switch 24, one end of the third switch 24 is connected to the signal line 34, and the other end is connected to the power port 26. The third switch 24 may be a relay. In this embodiment, the third switch 24 is a single relay. In other embodiments, the third switch 24 and the second switch 23 may be two different contact groups in the same relay, the second switch 23 is the first contact group in the relay, and the third switch 24 is the second contact group in the relay, so that the number of relays can be reduced.

[0083] The power port 26 can be a positive power port or a ground power port. When the signal line 34 transmitted in the signal line 34 is a low-level signal, the power port 26 corresponding to the signal line 34 is a positive power port. When the third switch 24 is turned on, the signal line 34 is short-circuited to the positive power port. When the signal transmitted in the signal line 34 is a high-level signal, the power port 26 corresponding to the signal line 34 is a ground power port. When the third switch 24 is turned on, the signal line 34 is short-circuited to the ground.

[0084] The host computer 13 is configured to control the on-off of the third switch 24 to control the on-off between the signal line 34 and the power port 26 to simulate a signal line short circuit fault of the vehicle body controller 30. In some embodiments, a signal line short circuit fault injection program is provided in the host computer 13. When the signal line short circuit fault injection program is running, the host computer 13 can control the on-off of the third switch 24, thereby controlling the on-off between the signal line 34 and the power port 26.

[0085] Among them, the third switch 24 is in a normally open state, so that the body controller 30 can receive the input signal transmitted by the host computer 13 under normal circumstances. When simulating a signal line short-circuit failure of the body controller 30, the host computer 13 controls the third switch 24 to be turned on, so that the host computer 13 is connected to the power port 26, and then the signal line 34 between the host computer 13 and the body controller 30 is short-circuited, so that the body controller 30 cannot receive the input signal sent by the host computer 13.

[0086] The collector 15 collects the output signal in real time, and compares the output signal with the expected output signal corresponding to the working condition. If the output signal is different from the expected output signal, it is determined that the vehicle body controller 30 is faulty.

[0087] Please refer to Figure 5 , Figure 5 FIG. 1 is a structural block diagram of a test system 10 for a vehicle body controller 30 shown in yet another embodiment. Figure 5 The embodiments shown and Figure 3 The embodiments shown are basically the same, except that Figure 5In the illustrated embodiment, the load output terminal 31 is connected to the simulated load 14 via a load connection line 32, and the fault simulator 20 further includes a fourth switch 25, one end of the fourth switch 25 is connected to the load connection line 32, and the other end is connected to the power port 26. The fourth switch 25 may be a relay. The power port 26 may be a power positive port or a power ground port.

[0088] The host computer 13 is configured to control the on-off of the fourth switch 25 to control the on-off between the load connection line 32 and the power port 26 to simulate the load short-circuit fault of the vehicle body controller 30. In some embodiments, a load short-circuit fault injection program is provided in the host computer 13. When the load short-circuit fault injection program is running, the host computer 13 can control the on-off of the fourth switch 25, thereby controlling the on-off of the simulated load 14 and the load output terminal 31 of the vehicle body controller 30.

[0089] The fourth switch 25 is in a normally closed state, so that under normal circumstances, the body controller 30 can output the output signal to the simulated load 14. When the load of the simulated body controller 30 short-circuits, the upper computer 13 controls the fourth switch 25 to be disconnected, thereby short-circuiting the load connection line 32 between the load output terminal 31 of the body controller 30 and the simulated load 14, so that the simulated load 14 cannot receive the output signal, causing the simulated load 14 to work abnormally.

[0090] It can be understood that the body controller 30 has multiple load output terminals 31, and the body controller 30 is connected to multiple load simulators through the load output terminals 31. Each load output terminal 31 is connected to the simulated load 14 through a load connection line 32. The number of fourth switches 25 is also multiple. When simulating a load failure among multiple loads, the host computer 13 controls the fourth switch 25 corresponding to the simulated load 14 to be disconnected, and the fourth switches 25 corresponding to other loads remain closed. The fourth switches 25 corresponding to different simulated loads 14 can be controlled to be disconnected in turn, and the fourth switches 25 corresponding to multiple loads can also be controlled to be disconnected at the same time. In this way, the working condition of short circuit of multiple loads controlled by the body controller 30 can be simulated, and the fault types can be exhaustively listed as much as possible to increase the integrity of the test working condition.

[0091] The collector 15 collects the output signal in real time, and compares the output signal with the expected output signal corresponding to the working condition. If the output signal is different from the expected output signal, it is determined that the vehicle body controller 30 is faulty.

[0092] On the other hand, the present application provides a method for testing the vehicle body controller 30. Figure 6 FIG. 1 is a flow chart of a method for testing a vehicle body controller 30 provided in an embodiment. Figure 6 As shown, the testing method 40 includes steps 41-16.

[0093] Step 41: According to the received value of the temperature parameter, adjust the temperature of the test space where the vehicle body controller 30 is located.

[0094] Step 42: Vibrate according to the received vibration parameter value to drive the vehicle body controller 30 to vibrate.

[0095] Step 43: Simulate various functions of the vehicle body controller 30, generate input signals to the vehicle body controller 30, and make the vehicle body controller 30 generate output signals.

[0096] Step 44: During the process of simulating various functions of the vehicle body controller 30 , a voltage interruption fault of the vehicle body controller is simulated.

[0097] Step 45: Collect the output signal.

[0098] Step 46: If the output signal is different from the set expected output signal, determine that the body controller 30 is faulty. The test method of the body controller 30 provided in the embodiment of the present application adjusts the temperature of the test space where the body controller 30 is located by the value of the received temperature parameter, and vibrates according to the value of the received vibration parameter to drive the body controller 30 to vibrate, simulating the environmental stress when the body controller 30 is working. In this way, the diversity of the test environment when the body controller 30 is tested can be increased. By simulating the voltage interruption fault of the body controller in the process of simulating the various functions of the body controller 30 and performing fault injection, the scene application and working condition can be switched, the compatibility and reliability of the body controller 30 with the system architecture can be fully verified, and the functional failure mechanism of the body controller 30 can be discovered.

[0099] In some embodiments, the fault simulator 20 includes a programmable power supply 21, which is connected to the voltage input terminal 35 of the body controller 30 to supply power to the body controller 30. The programmable power supply 21 is used to simulate a voltage interruption fault of the body controller.

[0100] Step 44 simulates a voltage interruption fault of the vehicle body controller, including: simulating a voltage interruption fault of the vehicle body controller by using the program-controlled power supply 21 .

[0101] Step 46 determines that the vehicle body controller 30 is faulty if the output signal is different from the set expected output signal, including:

[0102] The recovery time of the vehicle body controller 30 is determined according to the output signal.

[0103] If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller 30 is faulty.

[0104] In other embodiments, the test system 10 further includes a power supply 17, the power supply 17 supplies power to the vehicle body controller 30, and the power supply 17 is connected to a voltage input terminal 35 of the vehicle body controller 30. The fault simulator 20 includes a first switch 22, and the first switch 22 is connected between the power supply 17 and the voltage input terminal 35 of the vehicle body controller 30.

[0105] Step 44 simulates a voltage interruption fault of the vehicle body controller, including: controlling the on-off of the first switch 22 connected between the power supply 17 and the voltage input terminal 35 of the vehicle body controller 30 to simulate the voltage interruption fault of the vehicle body controller.

[0106] Step 46 determines that the vehicle body controller 30 is faulty if the output signal is different from the set expected output signal, including:

[0107] If the output signal is different from the set expected output signal, it is determined that the vehicle body controller 30 is faulty, including:

[0108] The recovery time of the vehicle body controller 30 is determined according to the output signal.

[0109] If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller 30 is faulty.

[0110] In some embodiments, the signal input interface 33 is connected to the host computer 13 via a signal line 34 , and the fault simulator 20 further includes a second switch 23 , which is disposed on the signal line 34 .

[0111] The testing method further includes: controlling the on-off of the signal input interface 33 connecting the vehicle body controller 30 and the second switch 23 of the host computer 13 to simulate a signal line disconnection fault of the vehicle body controller 30 .

[0112] In some embodiments, the test system 10 further includes a power port 26, and the fault simulator 20 further includes a third switch 24, one end of the third switch 24 is connected to the signal line 34, and the other end is connected to the power port 26. The test method further includes: controlling the on and off of the third switch 24 connecting the signal input interface 33 of the vehicle body controller 30 and the power port 26 to simulate a short circuit fault of the signal line of the vehicle body controller 30.

[0113] In some embodiments, the load output terminal 31 is connected to the simulated load 14 via a load connection line 32, and the fault simulator 20 further includes a fourth switch 25, one end of the fourth switch 25 is connected to the load connection line 32, and the other end is connected to the power port 26. The test method further includes: controlling the on-off of the load output terminal 31 connected to the body controller 30 and the power supply 17 interface to simulate a load short circuit fault of the body controller 30.

[0114] It can be understood that there is no order of precedence for simulating the voltage interruption fault of the body controller, simulating the signal line open circuit fault of the body controller 30, simulating the signal line short circuit fault of the body controller 30, and simulating the load short circuit fault of the body controller 30. They can be performed sequentially or simultaneously, and the present application does not impose any restrictions on this.

[0115] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the application disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0116] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A test system for a vehicle body controller, It is characterized in that include: A temperature box, used for placing the body controller, wherein the temperature parameters of the temperature box are adjustable, and a variety of test temperature environments are provided for the body controller; A vibration table, used to drive the body controller to vibrate, wherein the vibration parameters of the vibration table are adjustable, and a variety of test vibration environments are provided for the body controller; A host computer connected to the signal input interface of the vehicle body controller, the host computer is used to simulate various functions of the vehicle body controller, generate corresponding input signals to the vehicle body controller, and enable the vehicle body controller to generate output signals according to the input signals; A simulated load connected to a load output terminal of the vehicle body controller and operating in response to the output signal; A fault simulator, connected to the vehicle body controller, for simulating a voltage transient fault of the vehicle body controller; A collector, connected to the load output terminal, for collecting the output signal; and The test controller is used to: determine that the vehicle body controller is faulty if the output signal is different from a set expected output signal.

2. The vehicle body controller test system according to claim 1, It is characterized in that The fault simulator comprises a programmable power supply, which is connected to a voltage input terminal of the vehicle body controller to supply power to the vehicle body controller, and is used to simulate a voltage interruption fault of the vehicle body controller; The test controller is used to obtain the recovery time of the vehicle body controller according to the output signal, and if the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

3. The vehicle body controller test system according to claim 1, It is characterized in that The test system further includes a power supply, the power supply supplies power to the vehicle body controller, the fault simulator includes a first switch; the first switch is connected between the power supply and the vehicle body controller, and the host computer is configured to: control the on-off of the first switch to control the on-off between the power supply and the vehicle body controller to simulate a voltage transient fault of the vehicle body controller; The test controller is used to obtain the recovery time of the vehicle body controller according to the output signal, and if the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

4. The vehicle body controller test system according to claim 3, It is characterized in that The signal input interface is connected to the host computer via a signal line, and the fault simulator further comprises a second switch, which is arranged on the signal line; The host computer is configured to control the on-off of the second switch to control the on-off of the signal line to simulate a signal line circuit breaker fault of the vehicle body controller.

5. The vehicle body controller test system according to claim 4, It is characterized in that The test system further includes a power port, and the fault simulator further includes a third switch, one end of the third switch is connected to the signal line, and the other end is connected to the power port; The host computer is configured to control the on-off of the third switch to control the on-off between the signal line and the power port to simulate a short-circuit fault of the signal line of the vehicle body controller.

6. The vehicle body controller test system according to claim 5, It is characterized in that The load output end is connected to the simulated load via a load connection line, and the fault simulator further comprises a fourth switch, one end of the fourth switch is connected to the load connection line, and the other end is connected to the power port; The host computer is configured to control the on-off of the fourth switch to control the on-off between the load connecting line and the power port to simulate a load short-circuit fault of the vehicle body controller.

7. A method for testing a vehicle body controller, It is characterized in that The test method includes: adjusting the temperature of the test space where the vehicle body controller is located according to the value of the received temperature parameter; Vibrate according to the received value of the vibration parameter to drive the vehicle body controller to vibrate; Simulating various functions of the vehicle body controller, generating input signals to the vehicle body controller, and causing the vehicle body controller to generate output signals; In the process of simulating various functions of the body controller, simulating a voltage interruption fault of the body controller; collecting the output signal; If the output signal is different from the set expected output signal, it is determined that the vehicle body controller is faulty.

8. The vehicle body controller testing method according to claim 7, It is characterized in that The simulating of a voltage transient fault of the vehicle body controller comprises: Simulating a voltage interruption fault of the vehicle body controller by means of a program-controlled power supply; If the output signal is different from the set expected output signal, determining that the vehicle body controller is faulty includes: determining a recovery time of the vehicle body controller according to the output signal; If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

9. The vehicle body controller testing method according to claim 7, It is characterized in that The simulating of a voltage transient fault of the vehicle body controller comprises: Controlling the on and off of a first switch connected between a power source and a voltage input terminal of the vehicle body controller to simulate a voltage interruption fault of the vehicle body controller; If the output signal is different from the set expected output signal, determining that the vehicle body controller is faulty includes: determining a recovery time of the vehicle body controller according to the output signal; If the recovery time is greater than the set expected recovery time, it is determined that the vehicle body controller is faulty.

10. The vehicle body controller testing method according to claim 9, It is characterized in that The test method also includes: The on-off of a second switch connecting the signal input interface of the vehicle body controller and the host computer is controlled to simulate a circuit breaker fault of the signal line of the vehicle body controller.

11. The vehicle body controller testing method according to claim 10, It is characterized in that The test method also includes: The on-off of a third switch connecting the signal input interface and the power port of the vehicle body controller is controlled to simulate a short circuit fault of the signal line of the vehicle body controller.

12. The vehicle body controller testing method according to claim 10, It is characterized in that The testing method further includes controlling the on / off of a load output terminal and a power interface connected to the vehicle body controller to simulate a load short circuit fault of the vehicle body controller.