Intelligent four-wheel drive control unit test method, system and vehicle

By sending fault data to the intelligent four-wheel drive control unit and comparing the detection signal, verifying its fault detection function, the problem of difficulty in verifying the test effect of the intelligent four-wheel drive control unit in the existing technology is solved, and the effectiveness of its fault detection function is achieved verify.

CN116027768BActive Publication Date: 2025-02-18CHINA FAW CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310114862.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-14
Publication Date
2025-02-18
Estimated Expiration
2043-02-14

AI Technical Summary

Technical Problem

The prior art is difficult to verify whether the intelligent four-wheel drive control unit can conduct comprehensive testing of faults.

Method used

By sending vehicle-end fault data to the intelligent four-wheel drive control unit, obtaining its detection signal for fault detection of these data, and testing it based on the detection signal and expected signal, the test results are obtained to verify whether its fault detection function is normal.

Benefits of technology

It realizes effective verification of the fault detection function of the intelligent four-wheel drive control unit to ensure that it can correctly identify and respond to faults, and solves the problem of difficulty in verifying the test effect.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116027768B_ABST
    Figure CN116027768B_ABST
Patent Text Reader

Abstract

The present invention discloses a test method, system and vehicle for an intelligent four-wheel drive control unit. The method comprises: sending vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; obtaining a detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on the vehicle-side fault data; testing the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data. The present invention solves the technical problem in the related art that it is difficult to verify the test effect of the intelligent four-wheel drive control unit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicles, and in particular to a testing method, system and vehicle for an intelligent four-wheel drive control unit. Background Art

[0002] In today's era, intelligent connected cars are developing rapidly, and intelligent four-wheel drive control units play an important role in the power system. Intelligent four-wheel drive transfer case (Torque On Demand, referred to as TOD) is an active four-wheel drive system controller that adjusts the clutch according to the front and rear axle speed difference information transmitted by the sensor and distributes torque to the front drive.

[0003] The intelligent four-wheel drive transfer case, that is, the intelligent four-wheel drive control unit includes a fault diagnosis function, that is, when a functional failure occurs in the controller, the fault can be tested through the intelligent four-wheel drive control unit. However, it is currently difficult to verify whether the intelligent four-wheel drive control unit can perform comprehensive tests on the fault.

[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0005] The embodiments of the present invention provide a method, system and vehicle for testing an intelligent four-wheel drive control unit, so as to at least solve the technical problem in the related art that it is difficult to verify the test effect of the intelligent four-wheel drive control unit.

[0006] According to one aspect of an embodiment of the present invention, a testing method for an intelligent four-wheel drive control unit is provided, comprising: sending vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; obtaining a detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on the vehicle-side fault data; testing the intelligent four-wheel drive control unit based on the detection signal and an expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0007] Optionally, before sending the vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle, the method also includes: acquiring the vehicle-side data; injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data.

[0008] Optionally, the preset fault includes: an electrical fault, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: injecting an electrical fault into the vehicle-side data to obtain the vehicle-side fault data, wherein the electrical fault includes at least one of the following: the vehicle's four-wheel drive clutch coil is open, the four-wheel drive clutch coil is short-circuited to the power supply, the four-wheel drive clutch is short-circuited to the ground, the vehicle's system voltage is less than a first preset voltage, and the vehicle's system voltage is greater than a second preset voltage.

[0009] Optionally, the preset fault also includes: an over-temperature fault, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: injecting an over-temperature fault into the vehicle-side data to obtain the vehicle-side fault data, wherein the over-temperature fault is used to indicate that the temperature of the vehicle's four-wheel drive system is greater than the preset temperature.

[0010] Optionally, the preset fault also includes: a communication failure, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: injecting a communication fault into the vehicle-side data to obtain the vehicle-side fault data, wherein the communication failure includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

[0011] Optionally, before sending the vehicle-side data to the intelligent four-wheel drive control unit of the vehicle, the method also includes: establishing a simulation model of the vehicle; and generating the vehicle-side data based on the simulation model.

[0012] Optionally, the intelligent four-wheel drive control unit is tested based on the detection signal and the expected signal to obtain test results, including: in response to the detection signal and the expected signal being the same, determining that the fault detection function of the intelligent four-wheel drive control unit is normal; in response to the detection signal and the expected signal being different, determining that the fault detection function of the intelligent four-wheel drive control unit is abnormal.

[0013] According to one aspect of an embodiment of the present invention, a testing method for an intelligent four-wheel drive control unit is provided, comprising: receiving vehicle-side fault data sent by a host computer of a vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; performing fault detection on the vehicle-side fault data using the intelligent four-wheel drive control unit of the vehicle to obtain a detection signal; and sending the detection signal to the host computer, wherein the host computer tests the intelligent four-wheel drive control unit based on the detection signal and an expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0014] According to one aspect of an embodiment of the present invention, a test system for an intelligent four-wheel drive control unit is provided, comprising: a host computer, used to generate vehicle-side fault data, and send the vehicle-side fault data to the intelligent four-wheel drive control unit, wherein the vehicle-side fault data is used to represent data obtained by fault injection into the vehicle-side data of the vehicle; an intelligent four-wheel drive control unit, used to perform fault detection on the vehicle-side fault data to obtain a detection signal, and send the detection signal to the host computer; the host computer is also used to test the intelligent four-wheel drive control unit based on the detection signal and an expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0015] According to one aspect of an embodiment of the present invention, a vehicle is provided, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors execute the testing method of the intelligent four-wheel drive control unit described in any one of the above embodiments.

[0016] Through the above steps, the vehicle-side fault data is first sent to the vehicle's intelligent four-wheel drive control unit, wherein the vehicle-side fault data is used to represent the data obtained by fault injection into the vehicle-side data of the vehicle, and then the detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on the vehicle-side fault data is obtained; the intelligent four-wheel drive control unit is tested based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data, thereby achieving the purpose of detecting the intelligent four-wheel drive control unit. It is easy to notice that by comparing the detection signal obtained by the intelligent four-wheel drive control unit with the expected signal, it is possible to test whether the fault test effect of the intelligent four-wheel drive control unit meets expectations, thereby solving the technical problem in the related art that it is difficult to verify the test effect of the intelligent four-wheel drive control unit. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0018] Figure 1 is a flow chart of a testing method of an intelligent four-wheel drive control unit according to an embodiment of the present invention;

[0019] Figure 2is a schematic diagram of a fault injection according to an embodiment of the present application;

[0020] Figure 3 is a schematic diagram of signal interaction during a test process according to an embodiment of the present application;

[0021] Figure 4 is a flow chart of a testing method of an intelligent four-wheel drive control unit according to Embodiment 2 of the present application;

[0022] Figure 5 is a schematic diagram of a test system for an intelligent four-wheel drive control unit according to Embodiment 3 of the present invention;

[0023] Figure 6 is a schematic diagram of a testing device for an intelligent four-wheel drive control unit according to Embodiment 4 of the present invention;

[0024] Figure 7 Schematic diagram of a testing device for an intelligent four-wheel drive control unit according to Embodiment 5 of the present invention. DETAILED DESCRIPTION

[0025] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] Example 1

[0028] According to an embodiment of the present invention, an embodiment of a testing method for an intelligent four-wheel drive control unit is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0029] Figure 1 is a flow chart of a testing method of an intelligent four-wheel drive control unit according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0030] Step S102, sending vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle.

[0031] Among them, the vehicle-side fault data is used to represent the data obtained by injecting faults into the vehicle-side data of the vehicle.

[0032] The above-mentioned intelligent four-wheel drive control unit may be a TOD. It should be noted that the intelligent four-wheel drive control unit may be a hardware part of the vehicle, that is, an intelligent four-wheel drive control unit in a real scenario.

[0033] The above vehicle-side data may be vehicle-side data of a vehicle obtained in a simulation environment. The above vehicle-side fault data may be data obtained after a fault is injected into the vehicle-side data in a simulation environment.

[0034] The above-mentioned vehicle-side data can be relevant parameters of the vehicle, or it can be driving data of the vehicle during driving.

[0035] In an optional embodiment, fault injection may be performed on the vehicle-side data to obtain vehicle-side fault data, wherein the fault injection may be to perform fault processing on the data corresponding to some functions in the vehicle-side data so that the data corresponding to the function is in a faulty processing state, thereby obtaining the vehicle-side fault data.

[0036] It should be noted that fault injection can be electrical fault processing in vehicle-side data, over-temperature fault processing in vehicle-side data, or communication fault processing in vehicle-side data. The type of fault injection is not limited here.

[0037] In a real vehicle environment, the TOD controller receives the vehicle speed and four wheel speed signals from the anti-lock brake system (ABS); receives the temperature signal from the ATC air conditioning controller, receives the torque signal, throttle signal, engine enable signal, and speed signal from the engine management system (EMS); receives the TOD clutch disconnect request and TOD torque limit signal from the ESC controller; receives the gear position signal from the TCU, and the shutdown time and other signals from the gateway.

[0038] Step S104, obtaining a detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on vehicle-side fault data.

[0039] In an optional embodiment, the vehicle-side fault data is sent to the intelligent four-wheel drive control unit, and the intelligent four-wheel drive control unit can be used to perform fault detection on the vehicle-side fault data, thereby obtaining a detection signal detected by the intelligent four-wheel drive control unit. It should be noted that fault detection can be performed on various types of faults; fault detection can also be performed on any one or more types of faults.

[0040] Step S106, testing the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result.

[0041] Among them, the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0042] The above-mentioned expected signal may be a fault signal that appears when the vehicle-side fault data is generated in an actual environment.

[0043] In an optional embodiment, the detection signal and the expected signal can be compared. If the detection signal and the expected signal are consistent, it means that the fault detection result of the intelligent four-wheel drive control unit is relatively accurate. At this time, the test result is used to indicate that the fault detection function of the intelligent four-wheel drive control unit is normal. If the detection signal and the expected signal are inconsistent, it means that the fault detection result of the intelligent four-wheel drive control unit is inaccurate. At this time, the test result is used to indicate that the fault detection function of the intelligent four-wheel drive control unit is abnormal.

[0044] The functions of the intelligent four-wheel drive control unit include fault diagnosis, that is, when a functional failure occurs in the controller, the controller itself has the ability to diagnose the fault and use a certain limp mode to enable the controller to maintain certain basic functions. The current related test methods have the following problems: (1) Most of the related test methods test the mechanical structure and assembly structure of the power system components, and there are few test schemes for the electronic and electrical fault diagnosis function of the controller. In the related diagnostic function test scheme, the test process and use cases are not fully presented, and the test case coverage for electronic and electrical functions is insufficient. (2) The related test schemes are divided into bench tests and real vehicle tests. For bench tests: some signals are missing, and it is difficult to cover all signal requirements of the controller; the test cycle is long, and newly designed parts are tested at the same time, which affects the progress of part development; different wiring harnesses need to be replaced at each stage. For real vehicle tests: extreme working conditions are difficult to test repeatedly and are more dangerous; road tests are all random tests, and it is difficult to cover all functions of the module; the verification time needs to wait for the vehicle to be installed, which is short.

[0045] This application can conduct a complete test and analysis of the fault diagnosis capability of the intelligent four-wheel drive control unit by sending fault signals through hardware-in-the-loop simulation, and check whether the controller's reaction capability and reaction mode are in line with expectations when a fault occurs. This application can provide a comprehensive testing method, including how to implement the test under a hardware-in-the-loop test system. The hardware-in-the-loop system can create communication faults, electrical faults, etc. in real time. At the same time, since this test method is implemented in a simulation environment, it can ensure the coverage of multiple extreme working conditions, exposing more potential problems of the test parts. Compared with real vehicle testing, it is more convenient and the test case coverage is wider; compared with bench testing, the device is more reusable and the test environment is closer to the real vehicle.

[0046] Through the above steps, the vehicle-side fault data is first sent to the vehicle's intelligent four-wheel drive control unit, wherein the vehicle-side fault data is used to represent the data obtained by fault injection into the vehicle-side data of the vehicle, and then the detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on the vehicle-side fault data is obtained; the intelligent four-wheel drive control unit is tested based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data, thereby achieving the purpose of detecting the intelligent four-wheel drive control unit. It is easy to notice that by comparing the detection signal obtained by the intelligent four-wheel drive control unit with the expected signal, it is possible to test whether the fault test effect of the intelligent four-wheel drive control unit meets expectations, thereby solving the technical problem in the related art that it is difficult to verify the test effect of the intelligent four-wheel drive control unit.

[0047] Optionally, before sending the vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle, the method also includes: acquiring the vehicle-side data; injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data.

[0048] The above-mentioned preset fault may be one or more types of pre-set fault data. The above-mentioned preset fault may also be a change in the data of the relevant function in the vehicle-side data, so that the data corresponding to the function belongs to the fault data.

[0049] In an optional embodiment, vehicle-side data obtained through simulation may be acquired, and preset faults may be injected into the vehicle-side data in a simulation environment to obtain vehicle-side fault data.

[0050] Optionally, the preset fault includes: an electrical fault, injecting a preset fault into the vehicle-side data to obtain vehicle-side fault data, including: injecting an electrical fault into the vehicle-side data to obtain vehicle-side fault data, wherein the electrical fault includes at least one of the following: the vehicle's four-wheel drive clutch coil is open, the four-wheel drive clutch coil is short-circuited to the power supply, the four-wheel drive clutch is short-circuited to the ground, the vehicle's system voltage is less than a first preset voltage, and the vehicle's system voltage is greater than a second preset voltage.

[0051] The first preset voltage and the second preset voltage may be preset voltages, and the second preset voltage is greater than the first preset voltage.

[0052] In an optional embodiment, an electrical fault is injected into the vehicle-side data to obtain vehicle-side fault data. Testing the vehicle-side fault data may be testing the electrical fault diagnosis function to determine whether the intelligent four-wheel drive control unit can detect the electrical fault in the vehicle-side fault data.

[0053] The above electrical faults include open circuit of four-wheel drive clutch coil, short circuit of four-wheel drive clutch coil to power supply, short circuit of four-wheel drive clutch coil to ground, system voltage out of range (low voltage), and system voltage out of range (high voltage).

[0054] The four-wheel drive clutch coil open circuit failure is usually caused by a clutch coil failure or a wiring harness failure. The test method uses hardware-in-the-loop system fault injection.

[0055] Fault injection module: A switch matrix connected in series to the controller and the real-time system IO harness, used to control some faults on the simulated controller lead harness, such as short circuit, open circuit, etc. Fault injection is an important part of hardware in the loop (Hardware in the Loop, referred to as HIL) testing, which can test the controller's response in the event of a fault. The fault injection test software sends an open circuit command, and the fault injection board disconnects the input or output of the load clutch coil through the switch matrix.

[0056] The observation indicators are (1) whether the clutch coil current is 0 (2) if the TOD is working at this time, it is necessary to observe whether the TOD stops distributing torque after the coil open circuit fault is activated (3) whether the open circuit fault code is displayed on the test interface software, and whether the fault content is consistent with the fault instruction. The test method and observation indicators for the four-wheel drive clutch coil short circuit to power supply and the four-wheel drive clutch coil short circuit to ground fault are consistent with the above. For the system voltage out of range (low voltage) and system voltage out of range (high voltage) faults, the program-controlled power supply voltage can be adjusted by running the test interface software on the host computer, and the program-controlled power supply voltage value can be gradually modified from 12V to below 5V to observe whether the system reports a low voltage fault and record the voltage when the low voltage fault is reported. This voltage is the low voltage fault threshold voltage. If the low voltage fault code is not displayed after the message is lost, the system has a diagnostic problem and a log is recorded at this time. Similarly, the program-controlled power supply voltage value can be gradually modified from 12V to above 20V to observe whether the system reports an overvoltage fault and record the voltage when the overvoltage fault is reported. This voltage is the overvoltage fault threshold voltage. If the voltage is increased until the message is lost and no overvoltage fault code appears, then there is a diagnostic problem in the system and a log is recorded.

[0057] Optionally, the preset fault also includes: an over-temperature fault, injecting a preset fault into the vehicle-side data to obtain vehicle-side fault data, including: injecting an over-temperature fault into the vehicle-side data to obtain vehicle-side fault data, wherein the over-temperature fault is used to indicate that the temperature of the vehicle's four-wheel drive system is greater than the preset temperature.

[0058] The above-mentioned preset temperature can be a pre-set temperature and can be set according to actual conditions.

[0059] Over-temperature fault occurs when the all-wheel drive (AWD) system overheats. At this time, the system will disconnect the four-wheel drive system clutch coil to protect the four-wheel drive system. At this time, the electromagnetic coil current output is 0, the fault light is on, and the two-wheel drive and four-wheel drive mode switching is prohibited.

[0060] At this time, the vehicle speed can be set to 20km / h, the gear signal is D3, the front and rear wheel speed difference is 10km / h, that is, the front wheel speed is 20km / h, and the rear wheel speed difference is 30km / h. The throttle opening signal is set to 100%. This working condition occurs when the rear wheel slips severely and the vehicle speed is fast. TOD is urgently needed to distribute large torque. The electromagnetic coil current is too large. At this time, the coil temperature will rise rapidly. The observation indicators at this time are (1) whether the clutch coil current is 0; (2) after the coil overtemperature fault is activated, whether TOD stops distributing torque; (3) whether the overtemperature fault code is displayed on the test interface software, and whether the fault content is consistent with the fault instruction.

[0061] Optionally, the preset fault also includes: a communication failure, injecting a preset fault into the vehicle-side data to obtain vehicle-side fault data, including: injecting a communication failure into the vehicle-side data to obtain vehicle-side fault data, wherein the communication failure includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

[0062] Communication failure refers to the loss of nodes or incorrect message content of the gateway, EMS, electronic stability controller (ESC), instrument control unit, air conditioning control unit, and driving mode control unit that communicate with TOD, as well as the loss of bus communication due to chassis bus errors.

[0063] To simulate the chassis bus (CAN) shutdown fault, you can short CAN_H to the battery, or short CAN_H to CAN_L, or you can disable all messages sent to TOD on the chassis CAN bus. The first way is to physically short CAN_H and CAN_L on the hardware-in-the-loop cabinet. At this time, the CAN bus is wrong, and observe whether the CAN bus error fault code is reported. The second way is to disable all messages received by TOD from the chassis CAN bus through the host computer test interface software, such as ABS, Electronic Stability Program (ESP), ATC, Engine Management System (EMS), Transmission Control Unit (TCRU), Integrated Circuit Card (IC), Gateway (GW), Driver Monitoring System (DMS), and the system will report the fault code of each node loss and the bus (CAN) error fault code.

[0064] In addition to CAN bus errors, the controller message node loss fault can be realized by prohibiting the messages sent by this controller to TOD. For example, to create an EMS node loss fault, all EMS_1, EMS_2, and EMS_3 messages sent by EMS to TOD can be prohibited, which is equivalent to the loss of messages sent by EMS to TOD. The host computer prohibits the sending of messages, and the IO board channel on the device is closed at the same time. At this time, the TOD controller cannot receive the signal simulated by the board card, which is equivalent to the message stop of other controllers. Controllers (ESC, EMS, IC, TCU, ATC) that have a communication relationship with TOD can use this method to create node loss faults. After the fault is created, the test interface software can be used to observe whether the corresponding fault code is reported. Communication faults also include content errors in messages sent and received between controllers. The manufacturing method is to modify the life signal (live counter) and checksum (checksum) sending cycle through the host computer. After the modification, the test interface software should immediately report the message content fault error.

[0065] Optionally, before sending the vehicle-side data to the intelligent four-wheel drive control unit of the vehicle, the method also includes: establishing a simulation model of the vehicle; and generating the vehicle-side data based on the simulation model.

[0066] The above simulation model can be for the vehicle, or for a class of vehicles of the same type. Optionally, the parameters of the simulation model can be set according to the actual parameters of the vehicle.

[0067] In an optional embodiment, a simulation model of the vehicle may be established, and vehicle-side data of the vehicle may be generated based on the simulation model.

[0068] Optionally, the intelligent four-wheel drive control unit is tested based on the detection signal and the expected signal to obtain test results, including: in response to the detection signal and the expected signal being the same, determining that the fault detection function of the intelligent four-wheel drive control unit is normal; in response to the detection signal and the expected signal being different, determining that the fault detection function of the intelligent four-wheel drive control unit is abnormal.

[0069] In an optional embodiment, the detection signal and the expected signal are the same, and the detection signal obtained at this time is consistent with the expected signal of the fault, which indicates that the fault detection function of the intelligent four-wheel drive control unit is normal; the detection signal and the expected signal are different, and the detection signal obtained at this time is inconsistent with the expected signal of the fault, which indicates that the intelligent four-wheel drive control unit has failed to detect the fault or the detection result is inaccurate, which indicates that the fault detection function of the intelligent four-wheel drive control unit is abnormal.

[0070] The present application provides a testing method for an intelligent four-wheel drive control unit, which is mainly a testing method for the fault diagnosis function of the intelligent four-wheel drive control unit. The present application intends to simulate the environment required for signal interaction of the intelligent four-wheel drive control unit by using hardware-in-the-loop tools and simulation test software, simulate communication faults, electrical faults, etc. through the hardware-in-the-loop mode, and monitor signal changes through simulation test software to test whether the electronic and electrical fault diagnosis function of the control unit meets expectations.

[0071] Figure 2 is a schematic diagram of a fault injection according to an embodiment of the present application, such as Figure 2 As shown in the figure, the test system includes PDU AC power management, program-controlled power supply, signal conditioning power supply, resistor simulation board, 24V power supply, real-time system, input / output wiring layer (I / O wiring layer), fault injection board, electronic load unit, and ODU connector. The series AC on-off switch (PDU) is used to distribute and protect the internal AC power of the equipment; the program-controlled power supply: supplies power to the controller and load to make the voltage continuously controllable; the signal conditioning power supply: supplies power to internal boards such as signal conditioning and fault injection board; the real-time system: real-time operation of the simulation model (such as Simu link), real-time data interaction with the host computer test software, online parameter adjustment and monitoring, output the signals required by the controller through various input / output (IO) boards and collect all signals sent by the controller; fault injection: create open circuit, short circuit and other electrical faults for hard-wired signals; signal conditioning: realize the level conversion between the controller and the real-time system board. The test device is connected to the tester through the interface test software to perform test project management. The test software includes resource management: configuring analog, digital, and bus interface resources; model management: importing vehicle simulation models or control algorithms; interaction management: managing the correspondence between models and hardware resources; interface management: detecting and controlling the status of system operation.

[0072] Figure 3 is a schematic diagram of signal interaction during a test process according to an embodiment of the present application, such as Figure 3As shown in the figure, the test steps are as follows: (1) Modify the electromagnetic coil open circuit request signal value sent by ESC to TOD through the host computer, and set the clutch to accept external request signal. After the above conditions are met, observe whether the clutch is quickly disengaged (the electromagnetic coil current is 0, and the torque value is no longer output). If the clutch is disengaged, it proves that ESC can control the clutch disengagement. Otherwise, this function is not implemented. At this time, a log should be recorded to analyze possible problems. After the clutch responds to the ESC disengagement control, set the clutch to accept external request signal to 0, and observe whether TOD returns to the original working state at this time; (2) Set the clutch torque output limit sent by ESC to a certain value N. You can set the emergency start or front wheel slip condition. At this time, TOD will distribute a certain amount of torque to the front wheel. Observe whether the torque value increase is limited to N at this time. If it is limited to N, this function is activated. Otherwise, this function is not activated. (3) Modify the handbrake signal sent by ESC through the host computer, set EPB to the locked state, and set the vehicle speed to be greater than a certain limit A. Observe whether the clutch electromagnetic coil is disengaged at this time. Disengagement proves that this function is activated, otherwise it is not activated. Set the handbrake signal to 0, and the clutch should return to the original working state. Figure 3 As shown, GW interacts with TOD to realize network interconnection of TOD, EMS is used to manage the engine, and ABS is used to control TOD.

[0073] Example 2

[0074] According to an embodiment of the present invention, an embodiment of a method for testing an intelligent four-wheel drive control unit is also provided. Figure 4 is a flow chart of a testing method of an intelligent four-wheel drive control unit according to Embodiment 2 of the present application, such as Figure 4 As shown, the method comprises the following steps:

[0075] Step S402, receiving vehicle-side fault data sent by the vehicle's host computer.

[0076] Among them, the vehicle-side fault data is used to represent the data obtained by injecting faults into the vehicle-side data of the vehicle.

[0077] Step S404, using the vehicle's intelligent four-wheel drive control unit to perform fault detection on the vehicle-side fault data to obtain a detection signal.

[0078] Step S406: Send a detection signal to the host computer.

[0079] Among them, the upper computer tests the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result. The test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal. The expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0080] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0081] Example 3

[0082] According to an embodiment of the present invention, a testing system for an intelligent four-wheel drive control unit is also provided. The system can execute the testing method for the intelligent four-wheel drive control unit in the above embodiment. The specific implementation method and preferred application scenario are the same as those in the above embodiment and will not be repeated here.

[0083] Figure 5 is a schematic diagram of a test system for an intelligent four-wheel drive control unit according to Embodiment 3 of the present invention. Figure 5 As shown, the system includes:

[0084] The upper computer 502 is used to generate vehicle-side fault data and send the vehicle-side fault data to the intelligent four-wheel drive control unit, wherein the vehicle-side fault data is used to represent data obtained by injecting faults into the vehicle-side data of the vehicle;

[0085] The intelligent four-wheel drive control unit 504 is used to perform fault detection on the vehicle-side fault data to obtain a detection signal, and send the detection signal to the host computer;

[0086] The host computer 502 is also used to test the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0087] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0088] Example 4

[0089] According to an embodiment of the present invention, a testing device for an intelligent four-wheel drive control unit is also provided. The device can execute the testing method for the intelligent four-wheel drive control unit in the above embodiment. The specific implementation method and preferred application scenario are the same as those in the above embodiment and will not be repeated here.

[0090] Figure 6 is a schematic diagram of a test device for an intelligent four-wheel drive control unit according to Embodiment 4 of the present invention, such as Figure 6 As shown, the device 600 includes: a sending module 602 , an acquiring module 604 , and a testing module 606 .

[0091] A sending module 602 sends vehicle-side fault data to an intelligent four-wheel drive control unit of the vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle;

[0092] An acquisition module 604 acquires a detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on vehicle-side fault data;

[0093] The test module 606 tests the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0094] Optionally, the device also includes: an injection module.

[0095] Among them, the acquisition module is also used to obtain vehicle-side data; the injection module is used to inject preset faults into the vehicle-side data to obtain vehicle-side fault data.

[0096] Optionally, the preset faults include: electrical faults, and the injection module is also used to inject electrical faults into the vehicle-side data to obtain vehicle-side fault data, wherein the electrical faults include at least one of the following: the vehicle's four-wheel drive clutch coil is open, the four-wheel drive clutch coil is short-circuited to the power supply, the four-wheel drive clutch is short-circuited to the ground, the vehicle's system voltage is less than a first preset voltage, and the vehicle's system voltage is greater than a second preset voltage.

[0097] Optionally, the preset fault also includes: an over-temperature fault, and the injection module is also used to inject an over-temperature fault into the vehicle-side data to obtain vehicle-side fault data, wherein the over-temperature fault is used to indicate that the temperature of the vehicle's four-wheel drive system is greater than the preset temperature.

[0098] Optionally, the preset fault also includes: communication failure, and the injection module is also used to inject communication failure into the vehicle-side data to obtain vehicle-side fault data, wherein the communication failure includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

[0099] Optionally, the device also includes: an establishment module and a generation module.

[0100] Among them, the establishment module is used to establish a simulation model of the vehicle; the generation module is used to generate vehicle-side data based on the simulation model.

[0101] Optionally, the test module is also used to determine that the fault detection function of the intelligent four-wheel drive control unit is normal in response to the detection signal and the expected signal being the same; the test module is also used to determine that the fault detection function of the intelligent four-wheel drive control unit is abnormal in response to the detection signal and the expected signal being different.

[0102] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0103] Example 5

[0104] According to an embodiment of the present invention, another testing device for an intelligent four-wheel drive control unit is also provided. The device can execute the testing method for the intelligent four-wheel drive control unit in the above embodiment. The specific implementation method and preferred application scenario are the same as those in the above embodiment and will not be repeated here.

[0105] Figure 7 is a schematic diagram of a test device for an intelligent four-wheel drive control unit according to Embodiment 5 of the present invention, such as Figure 7 As shown, the device 700 includes: a receiving module 702 , a detecting module 704 , and a sending module 706 .

[0106] Among them, the receiving module is used to receive vehicle-side fault data sent by the vehicle's host computer, wherein the vehicle-side fault data is used to represent the data obtained by fault injection into the vehicle-side data of the vehicle; the detection module is used to perform fault detection on the vehicle-side fault data using the vehicle's intelligent four-wheel drive control unit to obtain a detection signal; the sending module is used to send a detection signal to the host computer, wherein the host computer tests the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, and the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data.

[0107] It should be noted that the preferred implementation scheme involved in the above embodiments of the present application is the same as the scheme provided in Example 1, as well as the application scenario and implementation process, but is not limited to the scheme provided in Example 1.

[0108] Example 6

[0109] According to an embodiment of the present invention, a non-volatile storage medium is also provided, the non-volatile storage medium includes a stored program, wherein when the program is running, the processor of the device where the program is located is controlled to execute the test method of the intelligent four-wheel drive control unit in the above embodiment.

[0110] Example 7

[0111] According to an embodiment of the present invention, a vehicle is also provided, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by one or more processors, the one or more processors execute the testing method of the intelligent four-wheel drive control unit in the above embodiment.

[0112] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0113] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0114] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0115] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0116] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0117] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0118] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A test method for an intelligent four-wheel drive control unit, characterized in that: include: Sending vehicle-side fault data to an intelligent four-wheel drive control unit of the vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; Acquire a detection signal obtained by the intelligent four-wheel drive control unit performing fault detection on the vehicle-side fault data; Testing the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data; Wherein, before sending the vehicle-side fault data to the intelligent four-wheel drive control unit of the vehicle, the method further includes: Acquire the vehicle-side data, wherein the vehicle-side data is vehicle-side data of the vehicle obtained in a simulation environment; In a simulation environment, preset faults are injected into the vehicle-side data to obtain the vehicle-side fault data, wherein the preset faults include: electrical faults, over-temperature faults, and communication faults. The over-temperature fault is used to indicate that the temperature of the four-wheel drive system of the vehicle is greater than a preset temperature. When the over-temperature fault occurs in the intelligent four-wheel drive control unit, the intelligent four-wheel drive control unit disconnects the four-wheel drive clutch coil to protect the intelligent four-wheel drive control unit, and the electromagnetic coil current output is zero. The simulation environment is an environment required for signal interaction of the intelligent four-wheel drive control unit, which is simulated using hardware-in-the-loop tools and simulation test software. The communication fault includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

2. The method according to claim 1, characterized in that: The preset fault includes: an electrical fault, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: An electrical fault is injected into the vehicle-side data to obtain the vehicle-side fault data, wherein the electrical fault includes at least one of the following: the four-wheel drive clutch coil of the vehicle is open-circuited, the four-wheel drive clutch coil is short-circuited to the power supply, the four-wheel drive clutch is short-circuited to the ground, the system voltage of the vehicle is less than a first preset voltage, and the system voltage of the vehicle is greater than a second preset voltage.

3. The method according to claim 1, characterized in that The preset fault also includes: over-temperature fault, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: An over-temperature fault is injected into the vehicle-side data to obtain the vehicle-side fault data, wherein the over-temperature fault is used to indicate that the temperature of the four-wheel drive system of the vehicle is greater than a preset temperature.

4. The method according to claim 1, characterized in that: The preset fault also includes: communication fault, injecting a preset fault into the vehicle-side data to obtain the vehicle-side fault data, including: A communication fault is injected into the vehicle-side data to obtain the vehicle-side fault data, wherein:

5. The method according to claim 1, characterized in that Before sending the vehicle-side data to the intelligent four-wheel drive control unit of the vehicle, the method further includes: Establishing a simulation model of the vehicle; Based on the simulation model, the vehicle-side data is generated.

6. The method according to claim 1, characterized in that The intelligent four-wheel drive control unit is tested based on the detection signal and the expected signal to obtain a test result, including: In response to the detection signal being the same as the expected signal, determining that the fault detection function of the intelligent four-wheel drive control unit is normal; In response to the detection signal being different from the expected signal, it is determined that the fault detection function of the intelligent four-wheel drive control unit is abnormal.

7. A method for testing an intelligent four-wheel drive control unit, characterized in that: include: Receiving vehicle-side fault data sent by a host computer of the vehicle, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; Using the intelligent four-wheel drive control unit of the vehicle to perform fault detection on the vehicle-side fault data to obtain a detection signal; Sending the detection signal to the host computer, wherein the host computer tests the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data; Among them, the vehicle-side fault data is obtained by injecting a preset fault into the vehicle-side data under a simulation environment, and the vehicle-side data is the vehicle-side data of the vehicle obtained under a simulation environment. The preset faults include: electrical faults, over-temperature faults, and communication faults. The over-temperature fault is used to indicate that the temperature of the four-wheel drive system of the vehicle is greater than the preset temperature. When the over-temperature fault occurs in the intelligent four-wheel drive control unit, the intelligent four-wheel drive control unit disconnects the four-wheel drive clutch coil to protect the intelligent four-wheel drive control unit, and the electromagnetic coil current output is zero. The simulation environment is an environment required for signal interaction of the intelligent four-wheel drive control unit simulated by using hardware-in-the-loop tools and simulation test software. The communication fault includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

8. A test system for an intelligent four-wheel drive control unit, characterized in that: include: The host computer is used to generate vehicle-side fault data and send the vehicle-side fault data to the intelligent four-wheel drive control unit, wherein the vehicle-side fault data is used to represent data obtained by performing fault injection on the vehicle-side data of the vehicle; An intelligent four-wheel drive control unit, used for performing fault detection on the vehicle-side fault data to obtain a detection signal, and sending the detection signal to the host computer; The host computer is further used to test the intelligent four-wheel drive control unit based on the detection signal and the expected signal to obtain a test result, wherein the test result is used to indicate whether the fault detection function of the intelligent four-wheel drive control unit is normal, and the expected signal is a fault signal corresponding to at least one fault data in the vehicle-side fault data; Wherein, the host computer is also used to obtain the vehicle-side data, wherein the vehicle-side data is the vehicle-side data of the vehicle obtained in a simulation environment; a preset fault is injected into the vehicle-side data in the simulation environment to obtain the vehicle-side fault data, wherein the preset fault includes: electrical fault, over-temperature fault, communication fault, the over-temperature fault is used to indicate that the temperature of the four-wheel drive system of the vehicle is greater than the preset temperature, when the intelligent four-wheel drive control unit has the over-temperature fault, the intelligent four-wheel drive control unit disconnects the four-wheel drive clutch coil to protect the intelligent four-wheel drive control unit, and the electromagnetic coil current output is zero, the simulation environment is an environment required for signal interaction of the intelligent four-wheel drive control unit simulated by using hardware-in-the-loop tools and simulation test software, and the communication fault includes at least one of the following: node loss between any two communication modules in the vehicle, abnormal message content between any two communication modules in the vehicle, and bus function failure of the vehicle.

9. A vehicle, characterized in that: include: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors execute the testing method of the intelligent four-wheel drive control unit as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Hardware-in-loop test system of intelligent driving controller

    CN111399480A

  • Whole vehicle fault diagnosis test system

    CN112859817A

  • Automobile CAN communication fault test system, method and device and storage medium

    CN113259209A