Fault handling method, device, electronic equipment and storage medium
By setting a counter at the fault detection point of the automobile motor to record the number of fault occurrences, and determining the fault level for processing based on the fault information, the problem of inaccurate and untimely fault diagnosis of automobile motors in the existing technology is solved, and fast and convenient fault diagnosis is achieved. Diagnostics and security.
Patent Information
- Application Number
- CN202011564127.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-25
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-12-25
AI Technical Summary
Existing automotive motor fault diagnosis methods rely on manual diagnosis, which suffers from poor real-time diagnosis, high cost, and large error in results, making it impossible to diagnose automotive motor faults in a timely and accurate manner.
By setting a counter at the fault detection point of the automobile motor, the number of fault occurrences is recorded. If the preset trigger number threshold is reached, the fault is determined, and the fault level is determined based on the fault information for processing, achieving fast, convenient and accurate fault diagnosis.
It achieves timely and accurate diagnosis of automobile motor faults, improves maintenance efficiency, ensures the safety of the entire vehicle, and avoids greater harm.
Smart Images

Figure CN112798951B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of electronic technology, and in particular to a fault handling method, device, electronic equipment, and storage medium. Background Art
[0002] With the continuous development of the automobile industry, cars have brought convenience to people's lives, and people are paying more and more attention to the safety of cars. In order to improve the safety of cars, the fault diagnosis of automobile motors has become very important.
[0003] Most of the existing automobile motor fault diagnosis is to diagnose the automobile motor fault through the knowledge and experience of automobile fault diagnosis technicians to diagnose the potential faults of the automobile.
[0004] When using manual diagnosis of automobile motors, there are problems such as poor real-time diagnosis, high labor costs, and large errors in diagnostic results, which make it impossible to diagnose automobile motor faults in a timely and accurate manner. Summary of the invention
[0005] The present invention provides a fault handling method, device, electronic device and storage medium to achieve faster, more convenient and accurate diagnosis of automobile motor faults, thereby accurately locating motor faults, improving maintenance efficiency, ensuring the safety of the entire vehicle, and avoiding greater hazards.
[0006] In a first aspect, an embodiment of the present invention provides a fault handling method, the method comprising:
[0007] Based on the counters of the fault detection points of the components to be detected set at the target detection object, the number of fault occurrences of each of the fault detection points is recorded respectively;
[0008] If it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point;
[0009] Target fault information of a fault detection point where a fault occurs is obtained, a target fault level is determined based on the target fault information, and fault processing is performed according to the target fault level.
[0010] In a second aspect, an embodiment of the present invention further provides a fault handling device, the device comprising:
[0011] A fault occurrence number recording module, used to record the fault occurrence number of each fault detection point based on a counter set at the fault detection point of the component to be detected of the target detection object;
[0012] A fault confirmation module determines that a fault occurs at the fault detection point if it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period;
[0013] The fault processing module is used to obtain target fault information of a fault detection point where a fault occurs, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0015] one or more processors;
[0016] A storage device is used to store one or more programs. When the program is executed by the processor, the processor implements the fault handling method provided by any embodiment of the present invention.
[0017] In a fourth aspect, an embodiment of the present invention further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to perform a fault handling method as provided in any embodiment of the present invention.
[0018] The technical solution of the embodiment of the present invention records the number of fault occurrences of each fault detection point based on a counter of the fault detection point of the component to be detected set at the target detection object, and obtains the number of fault occurrences of each fault detection point. If the detected number of fault occurrences reaches a preset trigger number threshold within a preset fault confirmation time period, it is determined that a fault has occurred at the fault detection point. The number of fault occurrences recorded by the counter of each fault detection point and the preset confirmation time period and the preset trigger number threshold are used to quickly, conveniently and accurately determine the fault of the target detection object, obtain target fault information of the fault detection point where the fault occurs, determine the target fault level based on the target fault information, and perform fault processing according to the target fault level, thereby solving the technical problem of inaccurate and untimely fault diagnosis of the target detection object, achieving timely and accurate determination of the fault of the target detection object, and better ensuring the technical effect of the safety of the target detection object. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions of the exemplary embodiments of the present invention, the following briefly introduces the drawings required to describe the embodiments. Obviously, the drawings introduced are only drawings of a part of the embodiments to be described in the present invention, rather than all the drawings. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0020] Figure 1 This is a flowchart of a fault handling method provided by Embodiment 1 of the present invention;
[0021] Figure 2This is a schematic diagram of a fault handling method provided in Embodiment 2 of the present invention;
[0022] Figure 3 This is a flowchart of a fault handling method provided by Embodiment 3 of the present invention;
[0023] Figure 4 This is a schematic diagram of a fault handling device module provided by Embodiment 4 of the present invention;
[0024] Figure 5 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0025] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0026] Embodiment 1
[0027] Figure 1 This is a flow chart of a fault handling method provided in the first embodiment of the present invention. This embodiment can be applied to the situation where a counter is set at a fault detection point, and the fault is determined according to the count value of the counter, so as to handle the fault. The method can be executed by a fault handling device, and the fault handling device can be implemented by software and / or hardware. The fault handling device can be integrated in electronic devices such as computers or servers.
[0028] like Figure 1 As shown, the method of this embodiment includes:
[0029] S110 , based on a counter of a fault detection point of the component to be detected set on the target detection object, respectively record the number of fault occurrences of each of the fault detection points.
[0030] Among them, the target detection object can be a device that needs to be detected. The type of device can be various, for example, a car, an air conditioner, and a washing machine, etc., which are not specifically limited here. The component to be detected can be a component of the target detection object, which is composed of several parts assembled together. The detection point can be the position to be detected of the component to be detected, and the fault detection point can be understood as a position to be detected set on the component to be detected for detecting whether the component to be detected has a fault. The fault detection point can be determined based on the fault to be detected.
[0031] Among them, the relationship between the target detection object and the component to be detected can be a one-to-many relationship or a one-to-one relationship, that is, the target detection object can include one, two or more components to be detected. Similarly, the relationship between the component to be detected and the fault detection point can be a one-to-many relationship, that is, the component to be detected can include one, two or more fault detection points. The relationship between the fault detection point and the counter is a one-to-one relationship or a one-to-many relationship. For example, each fault detection point can be provided with only one counter, or two or more counters. When the fault detection point is provided with two or more counters, one counter can be enabled as the main counter, and the remaining counters can be used as backup counters to be used when the main counter fails.
[0032] Specifically, a counter may be set at the fault detection point of the component to be detected of the target detection object, and the number of times the fault occurs at the fault detection point may be recorded by the counter of the fault detection point. Optionally, a fault detection point may detect one fault or multiple faults, and one fault corresponds to one counter.
[0033] In one embodiment, counters 1, 2 and 3 are respectively set at the positions of fault detection point 1, fault detection point 2 and fault detection point 3 of the to-be-detected part 1 of the target detection object, and counters 1, 2 and 3 are used to respectively record the number of times faults 1, 2 and 3 occur at fault detection point 1, fault detection point 2 and fault detection point 3.
[0034] In another embodiment, counter 1, counter 2 and counter 3 are set at fault detection point 1 of component 1 to be detected corresponding to target detection, and counter 1 records the number of occurrences of fault 1, fault 2 and fault 3 corresponding to fault detection point 1 respectively.
[0035] S120: If it is detected that the number of fault occurrences reaches a preset triggering number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point.
[0036] Among them, the fault confirmation time can be a time length set based on experience, for example, 500 milliseconds. Different fault detection points can correspond to the detection of different faults, and the same fault can also be detected through different fault detection points, such as fault detection point 1 corresponds to fault 1, and fault detection point 2 corresponds to fault 2. It can be understood that the setting of the fault confirmation time period for different faults can be the same or different, for example, the fault confirmation time length of fault 1 is 600 milliseconds, and the confirmation time length of fault 2 is 800 milliseconds.
[0037] The triggering number threshold may be a threshold set based on experience, for example, 127 times. The triggering number threshold may be a threshold set based on the type of fault.
[0038] Specifically, the fault detection condition of each fault detection point can be pre-set according to the physical characteristics of each fault occurrence (for example, voltage, current, temperature, etc.). The number of fault occurrences recorded by the counter of each fault detection point is determined according to the fault detection condition and the fault confirmation time period of each fault detection point. When it is detected that the physical characteristics of the fault detection point reach the detection condition of the fault detection point within the fault confirmation time period, the number of fault occurrences recorded by the counter of the fault detection point is increased by 1.
[0039] Exemplarily, every time the voltage at fault detection point 1 exceeds 5V within 500 milliseconds, the number of fault occurrences in the counter of fault detection point 1 is increased by 1. For example, within 500 milliseconds from 8:10:30 to 8:10:30, the value recorded by the counter of fault detection point 1 at 8:10:30 is 0; when the voltage at fault detection point 1 exceeds 5V at 100 milliseconds at 8:10:30, the value recorded by the counter of fault detection point 1 is 0+1=1; when the voltage at fault detection point 1 exceeds 5V at 200 milliseconds at 8:10:30, the value recorded by the counter of fault detection point 1 is 1+1=2.
[0040] Specifically, whether a fault occurs at a fault detection point is determined based on a preset fault confirmation time period, a preset trigger number threshold, and the number of fault occurrences recorded by a counter of each fault detection point. Specifically, when the number of fault occurrences recorded by a counter of a detected fault detection point reaches a preset trigger threshold, the fault detection point fails; when the number of fault occurrences recorded by a counter of a detected fault detection point does not reach the preset trigger threshold, the fault detection point does not fail.
[0041] Exemplarily, based on experience, the voltage thresholds for the occurrence of fault 1, fault 2 and fault 3 of fault detection point 1, fault detection point 2 and fault detection point 3 of component 1 are respectively preset to 5V, 4.5V and 4V. Based on experience, the fault confirmation time of fault 1, fault 2 and fault 3 is preset to 500 milliseconds, 600 milliseconds and 700 milliseconds respectively. Based on experience, the threshold for the number of times the triggering of the fault is preset to 127 times. The number of times the voltage at fault detection point 1 exceeds 5V within 500 milliseconds is 90 times, and the number of times the counter of fault detection point 1 records the occurrence of faults is 90. The number of times the voltage at fault detection point 2 exceeds 4.5V within 600 milliseconds is 100 times, and the number of times the counter of fault detection point 2 records the occurrence of faults is 100. The voltage at fault detection point 3 exceeds 4V 127 times within 700 milliseconds, so the number of fault occurrences recorded by the counter of fault detection point 3 is 127. The number of fault occurrences recorded by fault detection point 3 reaches the fault triggering occurrence threshold, that is, the number of fault occurrences recorded by the counter of fault detection point 3 reaches 127 times, then it is determined that fault 1 occurs at fault detection point 1.
[0042] S130: Obtain target fault information of the fault detection point where the fault occurs, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level.
[0043] The target fault information may include the fault name, fault code, and fault description. The fault level may be a level of the fault set in advance according to the urgency of the fault. The corresponding relationship between the fault information and the counter may be one fault information corresponding to one counter, or one fault information corresponding to one, two, or more than two counters.
[0044] In the embodiment of the present invention, the target fault information is a fault code. Specifically, when a fault is detected at a fault detection point, the fault code of the fault detection point where the fault occurs is obtained. According to the mapping relationship between the preset fault code and the fault level, the fault level corresponding to the fault code of the fault detection point where the fault occurs is determined. According to the high and low levels of the preset fault level, the target fault level is determined. According to the fault level and the processing method corresponding to the fault level, the processing method corresponding to the target fault level is determined, and the fault occurring at the fault detection point is processed according to the processing method corresponding to the preset target fault level.
[0045] Exemplarily, the target fault information of fault detection point 1 is fault code 1, the target fault information of fault detection point 2 is fault code 2, the fault level corresponding to fault code 1 is level 2 fault, the fault level corresponding to fault code 2 is level 3 fault, the fault level of level 3 fault is higher than level 2 fault, so the target fault level is level 3 fault, and according to the fault handling method corresponding to level 3 fault, the fault occurring at fault detection point 2 is handled. It should be noted that fault detection point 1 and fault detection point 2 are detection points of different components.
[0046] Optionally, the fault confirmation time period and the triggering number threshold corresponding to the fault information of each fault detection point are determined respectively.
[0047] Specifically, the corresponding relationship between the fault information of each fault detection point and the fault confirmation time is preset, and the corresponding relationship between the fault information of each fault detection point and the triggering number threshold is preset. According to the preset corresponding relationship between the fault information of each fault detection point and the fault confirmation time, the fault confirmation time corresponding to the fault information of each fault detection point is determined. According to the preset corresponding relationship between the fault information of each fault detection point and the triggering number threshold, the triggering number threshold corresponding to the fault information of each fault detection point is determined.
[0048] On this basis, optionally, the fault detection point is provided with at least two counters; accordingly, if the fault occurrence frequency is detected to reach a preset trigger frequency threshold within a preset fault confirmation time period, it also includes: determining a target counter that reaches the preset trigger frequency threshold, and clearing the counters of the fault detection point except the target counter. The advantage of such a setting is to avoid reporting multiple fault information of the same component, thereby causing inaccurate fault location.
[0049] Exemplarily, the fault detection point 1 sets counter 1, counter 2 and counter 3 to respectively record the number of occurrences of fault 1, fault 2 and fault 3. The voltage thresholds for the occurrence of fault 1, fault 2 and fault 3 are preset to be 5V, 4.5V and 4V. Based on experience, the triggering occurrence thresholds of fault 1, fault 2 and fault 3 are all set to 127 times.
[0050] When the preset confirmation time for faults 1, 2, and 3 is the same (e.g., 900 milliseconds), the counter that first reaches the preset fault trigger occurrence threshold is used as the target counter. The fault occurring at the fault detection point is determined based on the correspondence between the counter and the fault. For example, at 500 milliseconds, the value of counter 1 reaches 127, while the values of counter 2 and counter 3 do not reach 127, which means that fault 1 is triggered first, i.e., fault 1 occurs at fault detection point 1. At the same time, the counters corresponding to faults 2 and 3 at fault detection point 1 are cleared.
[0051] The technical solution of the embodiment of the present invention obtains the number of fault occurrences of each fault detection point by recording the number of fault occurrences of each fault detection point based on the counter of the fault detection point of the component to be detected set at the target detection object. If the number of fault occurrences detected reaches the preset trigger number threshold within the preset fault confirmation time period, it is determined that a fault has occurred at the fault detection point, and the fault of the target detection object is quickly, conveniently and accurately determined by the number of fault occurrences recorded by the counter of each fault detection point and the preset confirmation time period and the preset trigger number threshold. The target fault information of the fault detection point where the fault occurs is obtained, the target fault level is determined based on the target fault information, and the fault is processed according to the target fault level, which solves the technical problem of inaccurate and untimely fault diagnosis of the target detection object, realizes timely and accurate determination of the fault of the target detection object, and better ensures the technical effect of the safety of the target detection object.
[0052] Embodiment 2
[0053] Figure 2 It is a flow chart of a fault handling method provided in Embodiment 2 of the present invention. Based on the foregoing embodiment, optionally, the fault handling method of this embodiment may further include: if it is detected that the number of fault occurrences does not reach the preset number threshold within the fault confirmation time period, then reducing the number of fault occurrences recorded by the counter; when the count value of the counter reaches the preset lower limit threshold, it is determined that the fault detection point has resumed normal working state.
[0054] like Figure 2 As shown, the method of this embodiment may specifically include:
[0055] S210 , based on a counter of a fault detection point of the component to be detected set on the target detection object, respectively record the number of fault occurrences of each of the fault detection points.
[0056] S220: If it is detected that the number of occurrences of the fault reaches a preset triggering number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point.
[0057] S230: Acquire target fault information of the fault detection point where the fault occurs, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level.
[0058] S240: If it is detected that the number of fault occurrences does not reach the preset number threshold within the fault confirmation time period, reduce the number of fault occurrences recorded by the counter.
[0059] Here, reducing the number of fault occurrences recorded by the counter can be understood as reducing the number of fault occurrences recorded by the counter corresponding to the fault by 1 or clearing it to zero.
[0060] Specifically, according to the preset fault detection conditions and fault confirmation time period of each fault, when it is detected that the physical characteristics of the fault do not meet the detection conditions of the fault, the number of fault occurrences recorded in the counter corresponding to the fault is reduced by 1 or cleared.
[0061] In one implementation, when it is detected that the number of occurrences of the fault at the current moment does not reach the preset number threshold within the preset confirmation time period, and the fault detection result obtained by detecting the fault detection point at the current moment does not meet the corresponding fault detection condition, the number of fault occurrences recorded by the counter corresponding to the fault is reduced. Furthermore, if the number of fault occurrences corresponding to faults other than the fault in the fault detection point corresponding to the fault reaches the preset number threshold, the value of the counter corresponding to the fault is cleared.
[0062] In another embodiment, when it is detected that the number of fault occurrences at the current moment does not reach the preset number threshold within the preset fault confirmation time, and the fault detection result obtained by detecting the fault detection point at the current moment does not meet the corresponding fault detection condition, the number of fault occurrences recorded by the counter corresponding to the fault can remain unchanged.
[0063] For example, the preset number threshold is 127, and the preset detection point condition of fault 1 is: fault 1 occurs when the voltage exceeds 5V, the number of fault occurrences recorded by the counter corresponding to fault 1 at 8:10:31 is 5, and when it is detected that the voltage of fault 1 does not exceed 5V within 8 seconds, the number of fault occurrences recorded by the counter corresponding to fault 1 is reduced. If the number of fault occurrences recorded by the counter corresponding to fault 1 reaches the preset number threshold, fault 1 is reported.
[0064] It should be noted that the fault detection result of not satisfying the corresponding fault detection condition can be understood as determining based on the fault detection condition that the fault detection point is in a normal operating state at the current moment.
[0065] S250: When the count value of the counter reaches a preset lower limit threshold, it is determined that the fault detection point has recovered to a normal working state.
[0066] The preset lower limit threshold may be set based on experience, and its specific value is not limited here.
[0067] Specifically, when the count value of the counter of the fault detection point reaches a preset lower limit threshold (for example, the lower limit threshold is -128), it indicates that the fault detection point may be restored to a normal working state.
[0068] Exemplarily, the preset lower limit threshold is -128, and when the count value of the counter of the fault detection point 1 reaches -128, it indicates that the counter of the fault detection point 1 is restored to a normal working state.
[0069] It should be noted that the above numbers are merely examples of the order in which the steps of this embodiment are executed, and are not limitations.
[0070] The technical solution of the present embodiment records the number of fault occurrences of each fault detection point based on a counter of the fault detection point of the component to be detected set at the target detection object, and obtains the number of fault occurrences of each fault detection point. If the detected number of fault occurrences reaches a preset trigger number threshold within a preset fault confirmation time period, it is determined that a fault has occurred at the fault detection point. The fault of the target detection object is quickly, conveniently and accurately determined by the number of fault occurrences recorded by the counter of each fault detection point, the preset confirmation time period and the preset trigger number threshold. If the detected number of fault occurrences does not reach the preset number threshold within the fault confirmation time period, the number of fault occurrences recorded by the counter is reduced. When the count value of the counter reaches the preset lower limit threshold, it is determined that the fault detection point has resumed normal working state, which solves the technical problems of inaccurate, untimely and erroneous fault diagnosis of the target detection object, and achieves the technical effect of timely and accurate determination of the fault of the target detection object and better ensuring the safety of the target detection object.
[0071] Embodiment 3
[0072] Figure 3 It is a flow chart of a fault handling method provided in Embodiment 3 of the present invention. Based on the foregoing embodiments, optionally, the target detection object includes a hybrid vehicle; the hybrid vehicle is provided with a motor to be detected; the target fault information of the fault detection point where the fault occurs is obtained, and the target fault level is determined based on the target fault information, including: obtaining a target fault code of the fault detection point where the fault occurs based on the fault detection point, and determining the target fault level based on the target fault code.
[0073] like Figure 3 As shown, the method of this embodiment may specifically include:
[0074] S310 , based on a counter of a fault detection point of a component to be detected set on a target detection object, respectively record the number of fault occurrences of each of the fault detection points.
[0075] The target detection object may be a hybrid vehicle, which is provided with a motor to be detected, wherein the motor to be detected may be a gearbox motor generator (GMG).
[0076] The component to be detected may be a gearbox electric generator or a part constituting the motor to be detected. For example, the component to be detected may include but is not limited to a power sensor, a voltage sensor, a phase current sensor, and a temperature sensor.
[0077] Exemplarily, a fault detection point can detect multiple fault information. Taking the fault detection point as a position sensor detection point as an example, the position sensor detection point can detect but is not limited to the following fault information: the position sensor short circuit to the power supply fault, the position sensor short circuit to the ground fault, the position sensor open circuit fault, the position sensor beyond the upper limit of the range fault, the position sensor beyond the lower limit of the range fault, and the position sensor stuck fault, etc.
[0078] Exemplarily, a counter is set at each fault detection point of the position sensor of the hybrid vehicle provided with the motor to be detected. Specifically, counter 1 is set at the fault detection point where the position sensor is short-circuited to the power supply, counter 2 is set at the fault detection point where the position sensor is short-circuited to the ground, counter 3 is set at the fault detection point where the position sensor is open-circuited, counter 4 is set at the fault detection point where the position sensor exceeds the upper limit of the range, counter 5 is set at the fault detection point where the position sensor exceeds the lower limit of the range, and counter 6 is set at the fault detection point where the position sensor is stuck. Counter 1, counter 2, counter 3, counter, counter 4, counter 5, counter 6 and counter 6 respectively record the number of fault occurrences of the fault detection point where the position sensor is short-circuited to the power supply, the fault detection point where the position sensor is short-circuited to the ground, the fault detection point where the position sensor is open-circuited, the fault detection point where the position sensor exceeds the upper limit of the range, the fault detection point where the position sensor exceeds the lower limit of the range, and the fault detection point where the position sensor is stuck.
[0079] S320: If it is detected that the number of occurrences of the fault reaches a preset triggering number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point.
[0080] Specifically, according to the physical characteristics of each fault of the motor to be detected in the hybrid vehicle, the detection conditions of the fault detection points corresponding to each fault are pre-set. For example, the fault of the position sensor is detected by detecting the magnitude of the phase voltage as a detection condition, the fault of the phase current sensor is detected by detecting the magnitude of the phase current as a detection condition, the open circuit fault of the PCB temperature sensor is detected by detecting the voltage of the PCB as a detection condition, the fault of the PCB temperature sensor exceeding the high range, the fault of the temperature sensor exceeding the upper limit or the rationality fault is detected by detecting the temperature of the PCB as a detection condition, the CAN communication loss fault is detected by detecting whether the key signal of the vehicle controller cannot be received as a detection condition, and the CAN bus shutdown fault is detected by detecting whether the communication with the vehicle controller is shut down as a detection condition, etc.
[0081] Specifically, according to the detection conditions of the fault detection points corresponding to each fault of the motor to be detected in the hybrid vehicle, when the number of fault occurrences recorded by the counter of each fault detection point of each component of the motor to be detected in the hybrid vehicle reaches a preset trigger number threshold, it is determined that the component to be detected corresponding to the counter of the motor to be detected has a fault.
[0082] It should be noted that the embodiment of the present invention is described by taking the position sensor of the motor to be detected of the hybrid vehicle as the component to be detected, but the component to be detected is not limited thereto.
[0083] Exemplarily, when the voltage of the fault detection point of the preset position sensor short circuit to the power supply exceeds 5V, the position sensor short circuit to the power supply fault is triggered. When the voltage of the fault detection point of the preset position sensor short circuit to the ground exceeds 4.5V, the position sensor short circuit to the ground fault is triggered. When the voltage of the fault detection point of the preset position sensor open circuit exceeds 4.3V, the position sensor open circuit fault is triggered. When the voltage of the fault detection point of the preset position sensor exceeding the upper limit of the range exceeds 4.1V, the position sensor exceeding the upper limit of the range fault is triggered. When the voltage of the fault detection point of the preset position sensor exceeding the lower limit of the range exceeds 3.8V, the position sensor exceeding the lower limit of the range fault is triggered. The confirmation time of the preset position sensor short circuit to the power supply is 600 milliseconds, the confirmation time of the position sensor open circuit fault is 700 milliseconds, the confirmation time of the position sensor exceeding the upper limit of the range fault is 800 milliseconds, the confirmation time of the position sensor short circuit to the ground fault is 400 milliseconds, and the confirmation time of the position sensor exceeding the lower limit of the range fault is 500 milliseconds. The preset triggering number threshold is 127. The count values of the counters of the fault detection points of the position sensor short circuit to the power supply, the fault detection points of the position sensor short circuit to the ground, the fault detection points of the position sensor open circuit, the fault detection points of the position sensor exceeding the upper limit of the range, and the fault detection points of the position sensor exceeding the lower limit of the range are 127, 102, 124, 101, and 30, respectively. When the count value of the counter of the fault detection point where the position sensor short circuit to the power supply is detected reaches a preset triggering number threshold, for example, when the count value of the counter where the position sensor short circuit to the power supply is detected reaches 127, it is determined that the fault of the position sensor is the position sensor short circuit to the power supply fault corresponding to the fault detection point where the position sensor short circuit to the power supply is detected.
[0084] S330. Acquire a target fault code of the fault detection point where the fault occurs based on the fault detection point, determine a target fault level based on the target fault code, and perform fault processing according to the target fault level.
[0085] Specifically, according to the association between the fault detection point and the fault, and the association between the fault and the fault code, the fault code corresponding to the fault detection point where the fault occurs is determined. According to the mapping relationship between the fault code and the fault level, the fault level of the fault code corresponding to the fault detection point where the fault occurs is determined, and the fault is processed according to the level of the fault level. It can be understood that the fault level is generally used to indicate the urgency and / or severity of the fault processing.
[0086] Exemplarily, the fault code corresponding to the position sensor open circuit fault is fault code 1, fault code 1 corresponds to a level 4 fault, and a level 4 fault corresponds to a level 4 fault processing method. The position sensor open circuit fault is processed according to the level 4 fault processing method.
[0087] Exemplarily, the relationship table between fault level and fault information can be shown in Table 1, Table 2 and Table 3. Among them, Table 1 is a fault information table corresponding to a level 4 fault, Table 2 is a fault information table corresponding to a level 3 fault, and Table 3 is a fault information table corresponding to a level 2 fault. A level 1 fault can be a temperature change rate signal GMGTRate of a GMG motor. If 100%<=GMGTRate<120%, the motor starts to reduce power output.
[0088] Table 1 Fault information table corresponding to level 4 faults
[0089]
[0090] Table 1
[0091]
[0092] Table 2 Fault information table corresponding to level 3 faults
[0093]
[0094] Table 3 Fault information table corresponding to secondary faults
[0095] Chinese name English name English full name CAN communication loss fault CAN COM Lost CAN communication lost CAN bus shutdown fault CAN Busoff Fault CAN bus off fault
[0096] Optionally, the fault processing according to the target fault level includes at least one of the following: the motor to be detected enters an active short-circuit mode, lights up a fault light on the instrument panel, generates a first prompt message, and displays the first prompt message; the motor to be detected enters a stator bridge open-circuit mode, lights up a fault light on the instrument panel, generates a second prompt message, and displays the second prompt message; the motor to be detected enters a zero-torque mode, lights up a fault light on the instrument panel, generates a third prompt message, and displays the third prompt message; the motor to be detected enters a power reduction mode.
[0097] The prompt information may be the first prompt information, the second prompt information and the third prompt information. The prompt information may be expressed in various forms, such as sound, vibration and prompt element display. The sound form may include voice or buzzer. Correspondingly, the prompt information may be displayed in the form of voice playback, vibration, flashing indicator light or display in a preset color. In this embodiment, the prompt information and the specific method of displaying the prompt information are not limited, as long as they can prompt the driver to repair the car as soon as possible.
[0098] It should be noted that the “first”, “second” and “third” in the first prompt information, the second prompt information and the third prompt information are only used to distinguish the prompt information corresponding to different fault levels, but not to limit the order or content of the prompt information.
[0099] The active short-circuit mode may be to disconnect all upper bridge arm MOSFETs on the stator drive side, close all lower bridge arm MOSFETs on the stator drive side, and at the same time, disconnect the shaft connecting the gearbox and the motor to be tested. The first prompt information may be a prompt information indicating that the motor to be tested has a very serious fault.
[0100] The stator bridge open circuit mode may be to disconnect all MOSFETs on the stator drive side, and the vehicle limits the speed of the motor to be tested to below a certain speed. The second prompt information may be a prompt information that a major fault occurs in the motor to be tested.
[0101] The zero torque mode can be understood as a mode in which the output torque of the motor to be detected is zero. The third prompt information can be a prompt information that a communication failure occurs in the motor to be detected.
[0102] The power reduction mode may be understood as the output power of the motor to be detected being limited, and the power reduction mode may be the vehicle controller reducing the power requested of the motor to be detected.
[0103] Optionally, the fault processing according to the target fault level includes: if at least two types of target fault information are obtained, and at least two target fault levels are determined based on the at least two types of target fault information, the fault is processed according to the priority of the target fault level. Exemplarily, the fault code corresponding to the position sensor open circuit fault is fault code 1, and the fault code corresponding to the radiator temperature sensor open circuit fault is fault code 2. Fault code 1 corresponds to a level 4 fault, and fault code 2 corresponds to a level 3 fault. When faults of different levels exist at the same time, the fault with the higher level is processed, that is, the fault processing is performed according to the level 4 fault corresponding to fault code 1.
[0104] The technical solution of this embodiment is to obtain the number of fault occurrences of each fault detection point by recording the number of fault occurrences of each fault detection point based on the counter of the fault detection point of the corresponding component to be detected on the motor to be detected of the hybrid vehicle. If it is detected that the number of fault occurrences reaches the preset trigger number threshold within the preset fault confirmation time period, it is determined that the fault detection point has a fault, and the fault of the motor to be detected of the hybrid vehicle is quickly, conveniently and accurately determined by the number of fault occurrences recorded by the counter of each fault detection point, the preset confirmation time period and the preset trigger number threshold. The target fault code of the fault detection point where the fault occurs is obtained based on the fault detection point, the target fault level is determined based on the target fault code, and the fault is processed according to the target fault level, which solves the technical problem of inaccurate and untimely fault diagnosis of the target detection object, realizes timely and accurate determination of the fault of the target detection object, and better ensures the technical effect of the safety of the target detection object.
[0105] Embodiment 4
[0106] Figure 4 4 is a schematic diagram of a fault handling device module provided in Embodiment 4 of the present invention. The present invention provides a fault handling device, including: a fault occurrence frequency recording module 410, a fault confirmation module 420 and a fault handling module 430.
[0107] Among them, the fault occurrence count recording module 410 is used to record the fault occurrence count of each fault detection point based on the counter of the fault detection point of the component to be detected set at the target detection object; the fault confirmation module 420 is used to determine that a fault has occurred at the fault detection point if it is detected that the fault occurrence count reaches a preset trigger count threshold within a preset fault confirmation time period; the fault processing module 430 is used to obtain target fault information of the fault detection point where the fault has occurred, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level.
[0108] The technical solution of this embodiment is to use a fault occurrence number recording module to record the number of fault occurrences of each fault detection point based on the counter of the fault detection point of the component to be detected set at the target detection object, so as to obtain the number of fault occurrences of each fault detection point. If the number of fault occurrences detected reaches the preset trigger number threshold within the preset fault confirmation time period, it is determined that the fault detection point has a fault, and the fault of the target detection object can be quickly, conveniently and accurately determined by the number of fault occurrences recorded by the counter of each fault detection point, the preset confirmation time period and the preset trigger number threshold. The target fault information of the fault detection point where the fault occurs is obtained through the fault processing module, the target fault level is determined based on the target fault information, and the fault processing is performed according to the target fault level, which solves the technical problem of inaccurate and untimely fault diagnosis of the target detection object, realizes timely and accurate determination of the fault of the target detection object, and better ensures the technical effect of the safety of the target detection object.
[0109] Optionally, the device also includes: a fault recovery module 440, which is used to reduce the number of fault occurrences recorded by the counter if it is detected that the number of fault occurrences does not reach the preset number threshold within the fault confirmation time period; when the count value of the counter reaches a preset lower limit threshold, it is determined that the fault detection point has returned to normal working state.
[0110] Optionally, the fault recovery module 440 is used to reduce the number of fault occurrences recorded in the counter corresponding to the fault if it is detected that the number of fault occurrences at the current moment has not reached a preset number threshold within a preset confirmation time period, and the fault detection result obtained by detecting the fault detection point at the current moment does not meet the corresponding fault detection condition.
[0111] Optionally, the component to be detected includes at least two fault detection points; accordingly, the device may also include: a fault confirmation module 420, which is used to clear the counters of the fault detection points of the component to be detected except the fault detection point where the fault occurs, after it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period.
[0112] Optionally, the target detection object includes a hybrid vehicle; the hybrid vehicle is provided with a motor to be detected; and the fault processing module 430 is used to obtain a target fault code of the fault detection point where the fault occurs based on the fault detection point, and determine a target fault level based on the target fault code.
[0113] Optionally, the fault handling module 430 is used to perform fault handling according to the target fault level, including at least one of the following: the motor to be tested enters an active short-circuit mode, lights up the fault light on the instrument panel, generates a first prompt message, and displays the first prompt message; the motor to be tested enters a stator bridge open-circuit mode, lights up the fault light on the instrument panel, generates a second prompt message, and displays the second prompt message; the motor to be tested enters a zero-torque mode, lights up the fault light on the instrument panel, generates a third prompt message, and displays the third prompt message; the motor to be tested enters a power reduction mode.
[0114] Optionally, the fault processing module 430 is used to process the fault according to the priority of the target fault level if at least two types of target fault information are obtained and at least two target fault levels are determined based on the at least two types of target fault information.
[0115] The above-mentioned device can execute the fault handling method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the fault handling method.
[0116] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present invention.
[0117] Embodiment 5
[0118] Figure 5 It is a structural schematic diagram of an electronic device provided in Embodiment 5 of the present invention. Figure 5 A block diagram of an exemplary apparatus 50 suitable for use in implementing exemplary embodiments of the present invention is shown. Figure 5 The device 50 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0119] like Figure 5 As shown, the device 50 is in the form of a general-purpose computing device. The components of the device 50 may include, but are not limited to: one or more processors or processing units 501, a system memory 502, and a bus 503 connecting different system components (including the system memory 502 and the processing unit 501).
[0120] Bus 503 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.
[0121] The device 50 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the device 50, including volatile and non-volatile media, removable and non-removable media.
[0122] System memory 502 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 504 and / or cache memory 505. Device 50 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 506 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 503 via one or more data medium interfaces. The memory 502 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the embodiments of the present invention.
[0123] A program / utility 508 having a set (at least one) of program modules 507 may be stored, for example, in the memory 502, such program modules 507 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 507 generally perform the functions and / or methods of the embodiments described herein.
[0124] The device 50 may also communicate with one or more external devices 509 (e.g., keyboards, pointing devices, displays 510, etc.), may communicate with one or more devices that enable a user to interact with the device 50, and / or may communicate with any device that enables the device 50 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed via an input / output (I / O) interface 511. Furthermore, the device 50 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 512. As shown, the network adapter 512 communicates with the other modules of the device 50 via the bus 503. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with device 50, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0125] The processing unit 501 executes various functional applications and data processing by running the programs stored in the system memory 502, such as implementing the fault handling method provided in the embodiment of the present invention.
[0126] Embodiment 6
[0127] Embodiment 6 of the present invention further provides a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute a fault handling method when executed by a computer processor.
[0128] The method includes:
[0129] Based on the counters of the fault detection points of the components to be detected set at the target detection object, the number of fault occurrences of each of the fault detection points is recorded respectively;
[0130] If it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point;
[0131] Target fault information of a fault detection point where a fault occurs is obtained, a target fault level is determined based on the target fault information, and fault processing is performed according to the target fault level.
[0132] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.
[0133] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0134] Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0135] Computer program code for performing the operation of embodiments of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as an independent software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0136] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for troubleshooting, characterized in that: include: Based on the counters of the fault detection points of the components to be detected set at the target detection object, the number of fault occurrences of each of the fault detection points is recorded respectively; If it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period, it is determined that a fault occurs at the fault detection point; Acquire target fault information of a fault detection point where a fault occurs, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level; If it is detected that the number of fault occurrences does not reach the preset trigger number threshold within the fault confirmation time period, reducing the number of fault occurrences recorded by the counter; When the count value of the counter reaches a preset lower limit threshold, it is determined that the fault detection point has returned to a normal working state; If it is detected that the number of fault occurrences does not reach the preset trigger number threshold within the fault confirmation time period, reducing the number of fault occurrences recorded by the counter includes: If it is detected that the number of occurrences of the fault at the current moment does not reach the preset trigger number threshold within the preset confirmation time period, and the fault detection result obtained by detecting the fault detection point at the current moment is that the corresponding fault detection condition is not met, then the number of fault occurrences recorded in the counter corresponding to the fault is reduced; The fault detection point is provided with at least two counters; Correspondingly, after the fault occurrence frequency is detected to reach a preset trigger frequency threshold within a preset fault confirmation time period, the method further includes: A target counter that reaches a preset triggering number threshold is determined, and counters of the fault detection point other than the target counter are cleared.
2. The method according to claim 1, characterized in that The target detection object includes a hybrid vehicle; the hybrid vehicle is provided with a motor to be detected; The step of acquiring target fault information of a fault detection point where a fault occurs, and determining a target fault level based on the target fault information includes: A target fault code of a fault detection point where a fault occurs is acquired based on the fault detection point, and a target fault level is determined based on the target fault code.
3. The method according to claim 2, characterized in that The performing fault processing according to the target fault level includes at least one of the following: The motor to be detected enters an active short-circuit mode, a fault light on the instrument panel is turned on, a first prompt message is generated, and the first prompt message is displayed; The motor to be tested enters the stator bridge open circuit mode, lights up the fault light on the instrument panel, generates a second prompt message, and displays the second prompt message; The motor to be tested enters a zero torque mode, a fault light on the instrument panel is turned on, a third prompt message is generated, and the third prompt message is displayed; The motor to be detected enters the power reduction mode.
4. The method according to claim 1, characterized in that The performing fault processing according to the target fault level includes: If at least two types of target fault information are acquired and at least two target fault levels are determined based on the at least two types of target fault information, the faults are processed according to the priorities of the target fault levels.
5. A fault handling device, characterized in that: include: A fault occurrence number recording module, used to record the fault occurrence number of each fault detection point based on a counter set at the fault detection point of the component to be detected of the target detection object; A fault confirmation module is used to determine that a fault occurs at the fault detection point if it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period; A fault processing module, used to obtain target fault information of a fault detection point where a fault occurs, determine a target fault level based on the target fault information, and perform fault processing according to the target fault level; A fault recovery module, configured to reduce the number of fault occurrences recorded by the counter if it is detected that the number of fault occurrences does not reach the preset trigger number threshold within the fault confirmation time period; When the count value of the counter reaches the preset lower limit threshold, it is determined that the fault detection point has resumed normal working state; wherein, if it is detected that the number of occurrences of the fault at the current moment does not reach the preset trigger number threshold within the preset confirmation time period, and the fault detection result obtained by detecting the fault detection point at the current moment does not meet the corresponding fault detection condition, then the number of fault occurrences recorded by the counter corresponding to the fault is reduced; The component to be detected includes at least two fault detection points; The fault confirmation module is also used to clear the counters of the fault detection points of the component to be detected except the fault detection point where the fault occurs, if it is detected that the number of occurrences of the fault reaches a preset trigger number threshold within a preset fault confirmation time period.
6. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the program is executed by the processor, the processor implements the fault handling method as described in any one of claims 1-4.
7. A storage medium containing computer executable instructions, characterized in that: When the computer executable instructions are executed by a computer processor, they are used to perform the fault handling method as described in any one of claims 1-4.
Citation Information
Patent Citations
Hybrid electric vehicle failure diagnosis and management method
CN106608257A
Fault diagnosis and management system and method for hybrid automobile
CN107128312A
Vehicle breakdown control method, motor controller and vehicle
CN107487230A
Method for determining whether exhaust temperature sensor of turbocharged diesel engine is abnormal or not and diagnosing fault
CN107503854A
Fault monitoring
EP0799541A1
