Vehicle fault detection method and related device

By collecting multiple pressure values ​​in the vehicle and calculating the duration of the fault pressure value, the problem of low fault detection accuracy in the prior art is solved, and more accurate pressure sensor fault identification is achieved.

CN119803771APending Publication Date: 2025-04-11SAIC MOTOR
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311316855.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-11
Publication Date
2025-04-11

Smart Images

  • Figure CN119803771A_ABST
    Figure CN119803771A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle fault detection method and a related device, and the method comprises the steps: collecting a plurality of pressure values through a pressure sensor in a target window interval for a target window, determining a pressure value which does not accord with a normal pressure interval from the plurality of pressure values, namely a fault pressure value, and obtaining the duration of the fault pressure value; and obtaining a duration ratio according to a ratio of the duration to the total duration of the target window interval. And if the duration ratio is greater than a preset ratio threshold value, indicating that the accumulated fault duration of the pressure sensor is relatively long, and determining that the pressure sensor has a fault. Therefore, whether the pressure sensor breaks down or not is not determined through the duration of occurrence of one fault, but through the duration of occurrence of multiple faults in a period of time, that is, whether the pressure sensor breaks down or not is determined through the frequency of occurrence of the faults, fault missed recognition caused by accidental fluctuation is avoided, and the accuracy of fault recognition is improved. And the fault identification accuracy of the pressure sensor is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a vehicle fault detection method and related devices. Background Art

[0002] For transmissions with clutches in vehicles, such as hydraulic automatic transmissions, dual-clutch transmissions, and hybrid transmissions, the oil pressure generated by the hydraulic system is needed to push the clutch to engage and keep it locked during the transmission control process. The clutch engagement performance directly affects the power and comfort of the vehicle, so it is necessary to add a pressure sensor to collect the oil pressure value of the clutch cavity in real time and optimize the clutch engagement performance through closed-loop regulation.

[0003] See also Figure 1 , which is a schematic diagram of a closed-loop adjustment to optimize clutch engagement performance provided by an embodiment of the present application. Figure 1 In the process, the pressure sensor is immersed in the oil in the clutch cavity, and the collected oil pressure value is transmitted to the automatic transmission control unit (TCU) as the controller through a wiring harness (such as a wire), thereby optimizing the clutch engagement performance through closed-loop regulation.

[0004] However, because the pressure sensor and the controller are connected by wires and use analog electrical signals to transmit information (i.e., oil pressure values), the analog electrical signals may become abnormal during use due to factors such as wire harness breakage, poor contact, and electromagnetic interference. Therefore, it is necessary to perform fault detection on the pressure sensor in the transmission, but the fault detection method for the pressure sensor in the related art has low detection accuracy. Summary of the invention

[0005] In response to the above problems, the present application provides a vehicle fault detection method and related devices for improving the fault detection accuracy of a pressure sensor.

[0006] Based on this, the embodiments of the present application disclose the following technical solutions:

[0007] On the one hand, an embodiment of the present application provides a vehicle fault detection method, the method comprising:

[0008] In a target window interval for a target window, a plurality of pressure values ​​are collected by a pressure sensor, the target window being one of the plurality of windows, and the target window interval being an interval consisting of a start time and an end time of the target window;

[0009] According to the multiple pressure values, obtaining a duration of a fault pressure value within the target window interval, wherein the fault pressure value is a pressure value that does not conform to a normal pressure interval;

[0010] The duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval, and the total duration of the target window interval is the time length of the target window interval;

[0011] If the duration ratio is greater than a preset ratio threshold, it is determined that the pressure sensor is faulty.

[0012] Optionally, the method further includes:

[0013] confirming the power supply of the vehicle's controller, the power supply of the line between the pressure sensor and the controller, and the running speed of the engine;

[0014] If the power supply of the controller is normal, the power supply of the line is normal, and the operating speed of the engine is within the normal operating area, the current time is determined as the start time for the target window interval.

[0015] Optionally, the method further includes:

[0016] Acquiring a pressure value collected by the pressure sensor;

[0017] If the pressure value does not conform to the normal pressure interval, the current time is determined as the start time for the target window interval.

[0018] Optionally, the method further includes:

[0019] Determining the current time as the start time for the target window interval, and determining the current time as the start time for the duration;

[0020] The step of obtaining the duration of the fault pressure value within the target window interval according to the multiple pressure values ​​includes:

[0021] Determine the multiple pressure values ​​as target pressure values ​​respectively, and if the target pressure value meets the normal pressure range, temporarily stop timing the duration;

[0022] If the target pressure value does not conform to the normal pressure range, the duration continues to count.

[0023] Optionally, if the duration ratio is greater than a preset ratio threshold, determining that the pressure sensor is faulty includes:

[0024] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is greater than the preset ratio threshold, it is determined that the pressure sensor is faulty;

[0025] If the window duration of the target window is less than or equal to the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, then executing the step of collecting multiple pressure values ​​by using a pressure sensor;

[0026] If the window duration of the target window is greater than the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed.

[0027] Optionally, the target window interval is determined based on one or more combinations of the type of the pressure sensor, the life span and the tolerance of the pressure sensor.

[0028] Optionally, the window intervals of the multiple windows do not overlap.

[0029] On the other hand, the present application provides a vehicle fault detection device, the device comprising: a collection unit, a duration determination unit, a duration ratio determination unit and a fault determination unit;

[0030] The acquisition unit is used to acquire multiple pressure values ​​through a pressure sensor within a target window interval for a target window, wherein the target window is one of the multiple windows, and the target window interval is an interval consisting of a start time and an end time of the target window;

[0031] The duration determination unit is used to obtain a duration of a fault pressure value within the target window interval according to the multiple pressure values, wherein the fault pressure value is a pressure value that does not conform to a normal pressure interval;

[0032] The duration ratio determination unit is used to obtain the duration ratio according to the ratio of the duration to the total duration of the target window interval, where the total duration of the target window interval is the time length of the target window interval;

[0033] The fault determination unit is used to determine that the pressure sensor is faulty if the duration ratio is greater than a preset ratio threshold.

[0034] Optionally, the device further comprises a timing opening unit, which is used to:

[0035] confirming the power supply of the vehicle's controller, the power supply of the line between the pressure sensor and the controller, and the running speed of the engine;

[0036] If the power supply of the controller is normal, the power supply of the line is normal, and the operating speed of the engine is within the normal operating area, the current time is determined as the start time for the target window interval.

[0037] Optionally, the device further comprises a timing opening unit, which is used to:

[0038] Acquiring a pressure value collected by the pressure sensor;

[0039] If the pressure value does not conform to the normal pressure interval, the current time is determined as the start time for the target window interval.

[0040] Optionally, the device further comprises a timing start unit, configured to determine the current time as the start time for the target window interval, and determine the current time as the start time for the duration;

[0041] The duration determination unit is specifically used to:

[0042] Determine the multiple pressure values ​​as target pressure values ​​respectively, and if the target pressure value meets the normal pressure range, temporarily stop timing the duration;

[0043] If the target pressure value does not conform to the normal pressure range, the duration continues to count.

[0044] Optionally, the fault determination unit is specifically configured to:

[0045] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is greater than the preset ratio threshold, it is determined that the pressure sensor is faulty;

[0046] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed through the timing start unit;

[0047] If the window duration of the target window is greater than the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed by the collection unit 701.

[0048] Optionally, the target window interval is determined based on one or more combinations of the type of the pressure sensor, the life span and the tolerance of the pressure sensor.

[0049] Optionally, the window intervals of the multiple windows do not overlap.

[0050] In another aspect, the present application provides a computer device, the device comprising a processor and a memory:

[0051] The memory is used to store program code and transmit the program code to the processor;

[0052] The processor is used to execute the method described in the above aspects according to the instructions in the program code.

[0053] On the other hand, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method described in the above aspects.

[0054] On the other hand, an embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method described in the above aspects.

[0055] The advantages of the above technical solution of this application are:

[0056] In the target window interval for the target window, multiple pressure values ​​are collected by the pressure sensor, and the pressure value that does not conform to the normal pressure interval, that is, the fault pressure value, is determined from the multiple pressure values, and the duration of the fault pressure value is obtained. That is to say, in the target window interval, the duration of the pressure value where the fault occurs is calculated, and the duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval. The duration ratio can reflect the cumulative time of the pressure value where the fault occurs in a window. If the duration ratio is greater than the preset ratio threshold, it means that the cumulative duration of the fault of the pressure sensor is longer, and the pressure sensor is determined to be faulty. Therefore, it is no longer determined whether the pressure sensor is faulty by the duration of a single fault, but by the duration of multiple faults within a period of time, that is, whether the pressure sensor is faulty is determined by the frequency of the fault, so as to avoid the missed identification of occasional fluctuations and improve the accuracy of fault identification for the pressure sensor. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0058] Figure 1 A schematic diagram of a closed-loop regulation to optimize clutch engagement performance provided in an embodiment of the present application;

[0059] Figure 2 A fault schematic diagram provided for an embodiment of the present application;

[0060] Figure 3 A flow chart of a vehicle fault detection method provided in an embodiment of the present application;

[0061] Figure 4 A schematic diagram of a pressure value provided in an embodiment of the present application;

[0062] Figure 5 A schematic diagram of a fault detection provided in an embodiment of the present application;

[0063] Figure 6 A schematic diagram comparing two fault detection methods provided in an embodiment of the present application;

[0064] Figure 7 A schematic diagram of a vehicle fault detection device provided in an embodiment of the present application;

[0065] Figure 8 A structural diagram of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0067] In the related art, in order to prevent misjudgment, when performing fault detection on the pressure sensor, the duration of the fault of the pressure signal (i.e. the oil pressure value mentioned above) is collected. If the duration exceeds the threshold, the fault is confirmed. However, vehicles are generally in dynamic operation, and the fault state of the pressure sensor will appear Figure 2 See also Figure 2 , which is a schematic diagram of a fault provided in an embodiment of the present application. Figure 2 The actual pressure will be continuously lower than the target pressure, but not continuously. If the method in the related art is adopted, it is easy to cause the above-mentioned occasional fluctuation faults to be missed, resulting in low recognition accuracy.

[0068] Based on this, the embodiment of the present application provides a vehicle fault detection method and related devices. In the target window interval for the target window, a plurality of pressure values ​​are collected by a pressure sensor, and the pressure value that does not conform to the normal pressure interval, that is, the fault pressure value, is determined from the plurality of pressure values, and the duration of the fault pressure value is obtained. That is to say, in the target window interval, the duration of the pressure value where the fault occurs is calculated, and the duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval. The duration ratio can reflect the cumulative time of the pressure value where the fault occurs in a window. If the duration ratio is greater than the preset ratio threshold, it means that the duration of the accumulated fault of the pressure sensor is long, and the pressure sensor is determined to be faulty. Therefore, it is no longer determined whether the pressure sensor is faulty by the duration of a single fault, but by the duration of multiple faults within a period of time, that is, the pressure sensor is determined to be faulty by the frequency of the fault, so as to avoid the missed identification of occasional fluctuation faults and improve the accuracy of fault identification for the pressure sensor.

[0069] Combine the following Figure 3 , a vehicle fault detection method provided in an embodiment of the present application is introduced. Figure 3 The method shown in the embodiment can be executed by an electronic control unit (ECU) included in a vehicle, for example. Figure 3 , this figure is a flow chart of a vehicle fault detection method provided in an embodiment of the present application, and the method may include S301-S304.

[0070] S301: In a target window interval for a target window, a plurality of pressure values ​​are collected by a pressure sensor.

[0071] The present application divides the pressure values ​​collected into multiple windows, and then determines whether the pressure sensor is faulty based on the duration of the faulty pressure values ​​in each window. For ease of explanation, the present application embodiment uses one window among multiple windows, namely the target window, as an example for explanation.

[0072] The target window interval is an interval consisting of the start time and the end time of the target window, and the total duration of the target window interval is the time length between the start time and the end time of the target window interval. As a possible implementation, the window intervals of multiple windows do not overlap to reduce resource usage. As a possible implementation, the target window interval is determined based on one or more combinations of the type of pressure sensor, the life of the pressure sensor, and the tolerance, thereby selecting a suitable window interval. The tolerance is the tolerance of the vehicle system to the fault delay judgment.

[0073] See also Figure 4, which is a schematic diagram of a pressure value provided in an embodiment of the present application. In the process of collecting pressure values, a target window is set, and the start time of the target window is T 0 , the end time of the target window is T 0 +T win The target window area is the interval framed in the figure, and the total duration of the target window interval is T Win .

[0074] The embodiment of the present application does not specifically limit the start time of the target window area, and those skilled in the art can set it according to actual needs.

[0075] As a possible implementation, the power supply of the vehicle controller, the power supply of the line between the pressure sensor and the controller, and the running speed of the engine can be confirmed. If the power supply of the controller is normal, the line power supply is normal, and the running speed of the engine is within the normal operation range, the current time is determined as the start time for the target window interval.

[0076] Among them, the power supply of the controller can determine whether the Adaptive Cruise Control (ACC) and KL15 (used for the engine ignition signal and the signal for starting the vehicle) hard line are pulled up. If they are pulled up, the power supply of the controller is normal. If the power supply of the controller is normal, it means that there is no problem with the controller. In addition, the engine speed is within the normal operating range, which means that there is no problem with the collected pressure value. If the line power supply is normal, it means that there is no problem with the line. Then, by connecting the controller and the pressure sensor through the line, it is possible to identify whether the pressure sensor is faulty and start timing for the target window.

[0077] As a possible implementation method, the pressure value collected by the pressure sensor can be obtained. If the pressure value does not conform to the normal pressure range, the current time is determined as the start time for the target window range. Since the pressure sensor does not always fail, in order to reduce resource usage, the timing for the target window can be started after the first failure.

[0078] S302: Obtain, according to the multiple pressure values, a duration of the fault pressure value within the target window interval.

[0079] There are faulty pressure values ​​and non-faulty pressure values ​​among the collected multiple pressure values. Among them, the faulty pressure value is not a faulty pressure value, that is, a pressure value that does not conform to the normal pressure range. The non-faulty pressure value is a pressure value that conforms to the normal pressure range.

[0080] The embodiments of the present application do not specifically limit the normal pressure range, and those skilled in the art can set it according to actual needs. For example, -0.2 bar-20 bar is a normal pressure range, and pressure values ​​below -0.2 bar and above 20 bar are not fault pressure values.

[0081] As a possible implementation manner, if timing starts for the target window after the first failure occurs, timing for the duration can also be started at this time, that is, both timings start at the same time.

[0082] Furthermore, multiple pressure values ​​can be determined as target pressure values ​​respectively, such as determining multiple pressure values ​​as target pressure values ​​in the order of collection time. If the target pressure value meets the normal pressure interval, the duration will be temporarily stopped; if the target pressure value does not meet the normal pressure interval, the duration will continue to start. In other words, after the duration starts to be counted, if a fault pressure value appears, the timing will continue. If the fault is restored in a short time, the timing of the duration will be suspended, so as to obtain the duration within the target window interval. Figure 4 The duration is obtained by the continuous accumulation of the fault pressure value.

[0083] S303: Obtain a duration ratio according to a ratio of the duration to the total duration of the target window interval.

[0084] The total duration of the target window interval is the time length of the target window interval.

[0085] For example, set the total duration of the target window interval to T win If a fault pressure value appears during this window, the duration of the fault pressure value is accumulated to obtain the duration T error Otherwise, keep the accumulated value at the previous moment. The duration ratio can be expressed as n, as shown in the following formula:

[0086]

[0087] S304: If the duration ratio is greater than a preset ratio threshold, it is determined that the pressure sensor is faulty.

[0088] The embodiment of the present application does not specifically limit the size of the preset ratio threshold, and those skilled in the art can set it according to actual needs. If the duration ratio is greater than the preset ratio threshold, it means that the pressure sensor may have a long intermittent fault time, and the pressure sensor is determined to be faulty.

[0089] See also Figure 5 , which is a schematic diagram of a fault detection provided by an embodiment of the present application. Figure 5 There are 4 complete windows, and the total duration of each window interval is Twin In the target window, if the actual pressure (pressure value) is less than the target pressure, the pressure value does not meet the normal pressure range. The pressure value is the fault pressure value, and the duration is accumulated. If the duration ratio is greater than the preset ratio threshold, the pressure sensor is determined to be faulty, and the detection result changes from FALSE to TRUE.

[0090] In other words, the vehicle fault detection method provided in the embodiment of the present application can better detect occasional fluctuation faults, inform the system of faults in advance, and avoid further damage to system components.

[0091] As a possible implementation method, if the window duration for the target window is less than or equal to the total duration of the target window interval, it means that one window has not been met, and the duration ratio is greater than a preset ratio threshold, then it is determined that the pressure sensor is faulty.

[0092] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is executed, so that if the pressure value does not conform to the normal pressure interval, the current time is determined as the start time for the target window interval.

[0093] If the window duration of the target window is greater than the total duration of the target window interval, and the proportion of the duration is less than or equal to the preset proportion threshold, S301 is executed.

[0094] It can be seen from the above technical solution that within the target window interval for the target window, multiple pressure values ​​are collected by the pressure sensor, and the pressure value that does not conform to the normal pressure interval, that is, the fault pressure value, is determined from the multiple pressure values, and the duration of the fault pressure value is obtained. That is to say, within the target window interval, the duration of the pressure value where the fault occurs is calculated, and the duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval. The duration ratio can reflect the cumulative time of the pressure value where the fault occurs within a window. If the duration ratio is greater than the preset ratio threshold, it means that the duration of the accumulated fault of the pressure sensor is longer, and the pressure sensor is determined to be faulty. Therefore, it is no longer determined whether the pressure sensor is faulty by the duration of a single fault, but by the duration of multiple faults within a period of time, that is, whether the pressure sensor is faulty is determined by the frequency of the fault, so as to avoid the missed identification of occasional fluctuations and improve the accuracy of fault identification for the pressure sensor.

[0095] In order to make the technical solution provided by the embodiment of the present application clearer, the vehicle fault detection method provided by the embodiment of the present application is explained below with an example.

[0096] S601: Confirm the power supply status of the vehicle controller, the power supply status of the line between the pressure sensor and the controller, and the operating speed of the engine.

[0097] S602: Determine whether the power supply of the controller is normal, whether the line power supply is normal, and whether the engine operating speed is within the normal operating range. If so, execute S603; if not, continue to determine whether the power supply of the controller is normal, whether the line power supply is normal, and whether the engine operating speed is within the normal operating range.

[0098] S603: If the power supply of the controller is normal, the line power supply is normal, and the engine speed is within the normal operating range, the default duration timer is reset to 0, the duration timer of the target window interval of the target window is 0, and the pressure sensor is fault-free.

[0099] S604: Collect pressure values ​​through a pressure sensor.

[0100] S605: Determine whether the collected pressure value is a fault pressure value. If so, execute S606; if not, the pressure sensor is not faulty.

[0101] S606: When the fault pressure value is detected for the first time, a timer for the duration and a timer for the duration of the target window interval of the target window start timing simultaneously.

[0102] S607: If during the timing process, the collected pressure value meets the normal pressure range, the duration is temporarily stopped; if the collected pressure value does not meet the normal pressure range, the duration continues to start timing.

[0103] S608: Obtain a duration ratio according to a ratio of the duration to the total duration of the target window interval.

[0104] S609: Determine whether the window duration of the target window is less than or equal to the total duration of the target window interval, and whether the duration ratio is greater than a preset ratio threshold. If so, the pressure sensor is faulty; if not, execute S610.

[0105] S610: Determine whether the window duration of the target window is less than or equal to the total duration of the target window interval. If so, execute S607; if not, execute S603.

[0106] See also Figure 6 , which is a comparative schematic diagram of two fault detection methods provided in an embodiment of the present application. Figure 6In the present invention, a comparison is made between the fault detection method provided in the embodiment of the application and the prior art method of determining whether a pressure sensor is faulty by the duration of a fault. It can be seen that under the same fault state, the fault detection method provided in the embodiment of the application can complete the fault diagnosis ΔT time in advance, and thus can remind each subsystem to enter the fault protection mode earlier.

[0107] In addition to the vehicle fault detection method provided in the embodiment of the present application, a vehicle fault detection device is also provided, such as Figure 7 As shown, it includes: a collection unit 701, a duration determination unit 702, a duration ratio determination unit 703 and a fault determination unit 704;

[0108] The collecting unit 701 is used to collect multiple pressure values ​​in a target window interval for a target window through a pressure sensor, the target window is one of the multiple windows, and the target window interval is an interval consisting of a start time and an end time of the target window;

[0109] The duration determination unit 702 is used to obtain a duration of a fault pressure value within the target window interval according to the multiple pressure values, wherein the fault pressure value is a pressure value that does not conform to the normal pressure interval;

[0110] The duration ratio determination unit 703 is used to obtain the duration ratio according to the ratio of the duration to the total duration of the target window interval, where the total duration of the target window interval is the time length of the target window interval;

[0111] The fault determination unit 704 is configured to determine that the pressure sensor is faulty if the duration ratio is greater than a preset ratio threshold.

[0112] It can be seen from the above technical solution that within the target window interval for the target window, multiple pressure values ​​are collected by the pressure sensor, and the pressure value that does not conform to the normal pressure interval, that is, the fault pressure value, is determined from the multiple pressure values, and the duration of the fault pressure value is obtained. That is to say, within the target window interval, the duration of the pressure value where the fault occurs is calculated, and the duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval. The duration ratio can reflect the cumulative time of the pressure value where the fault occurs within a window. If the duration ratio is greater than the preset ratio threshold, it means that the duration of the accumulated fault of the pressure sensor is longer, and the pressure sensor is determined to be faulty. Therefore, it is no longer determined whether the pressure sensor is faulty by the duration of a single fault, but by the duration of multiple faults within a period of time, that is, whether the pressure sensor is faulty is determined by the frequency of the fault, so as to avoid the missed identification of occasional fluctuations and improve the accuracy of fault identification for the pressure sensor.

[0113] As a possible implementation, the device further includes a timing start unit, which is used to:

[0114] confirming the power supply of the vehicle's controller, the power supply of the line between the pressure sensor and the controller, and the running speed of the engine;

[0115] If the power supply of the controller is normal, the power supply of the line is normal, and the operating speed of the engine is within the normal operating area, the current time is determined as the start time for the target window interval.

[0116] As a possible implementation, the device further includes a timing start unit, which is used to:

[0117] Acquiring a pressure value collected by the pressure sensor;

[0118] If the pressure value does not conform to the normal pressure interval, the current time is determined as the start time for the target window interval.

[0119] As a possible implementation manner, the device further includes a timing start unit, configured to determine the current time as the start time for the target window interval, and determine the current time as the start time for the duration;

[0120] The duration determination unit 702 is specifically configured to:

[0121] Determine the multiple pressure values ​​as target pressure values ​​respectively, and if the target pressure value meets the normal pressure range, temporarily stop timing the duration;

[0122] If the target pressure value does not conform to the normal pressure range, the duration continues to count.

[0123] As a possible implementation manner, the fault determination unit 704 is specifically configured to:

[0124] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is greater than the preset ratio threshold, it is determined that the pressure sensor is faulty;

[0125] If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed through the timing start unit;

[0126] If the window duration of the target window is greater than the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed by the collection unit 701.

[0127] As a possible implementation manner, the target window interval is determined according to one or more combinations of the type of the pressure sensor, the life span and the tolerance of the pressure sensor.

[0128] As a possible implementation manner, the window intervals of the multiple windows do not overlap.

[0129] The present application also provides a computer device, see Figure 8 , which shows a structural diagram of a computer device provided in an embodiment of the present application, such as Figure 8 As shown, the device includes a memory 810 and a processor 820:

[0130] The memory 810 is used to store program codes and transmit the program codes to the processor;

[0131] The processor 820 is used to execute any vehicle fault detection method provided in the above embodiments according to the instructions in the program code.

[0132] An embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store a computer program, and the computer program is used to execute any one of the vehicle fault detection methods provided in the above embodiments.

[0133] The embodiment of the present application also provides a computer program product or a computer program, which includes a computer instruction stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the vehicle fault detection method provided in various optional implementations of the above aspects.

[0134] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.

[0135] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0136] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0137] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0138] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A vehicle fault detection method, characterized in that: The method comprises: In a target window interval for a target window, a plurality of pressure values ​​are collected by a pressure sensor, the target window being one of the plurality of windows, and the target window interval being an interval consisting of a start time and an end time of the target window; According to the multiple pressure values, obtaining a duration of a fault pressure value within the target window interval, wherein the fault pressure value is a pressure value that does not conform to a normal pressure interval; The duration ratio is obtained according to the ratio of the duration to the total duration of the target window interval, and the total duration of the target window interval is the time length of the target window interval; If the duration ratio is greater than a preset ratio threshold, it is determined that the pressure sensor is faulty.

2. The method according to claim 1, characterized in that The method further comprises: confirming the power supply of the vehicle's controller, the power supply of the line between the pressure sensor and the controller, and the running speed of the engine; If the power supply of the controller is normal, the power supply of the line is normal, and the operating speed of the engine is within the normal operating area, the current time is determined as the start time for the target window interval.

3. The method according to claim 1, characterized in that The method further comprises: Acquiring a pressure value collected by the pressure sensor; If the pressure value does not conform to the normal pressure interval, the current time is determined as the start time for the target window interval.

4. The method according to claim 3, characterized in that: The method further comprises: Determining the current time as the start time for the target window interval, and determining the current time as the start time for the duration; The step of obtaining the duration of the fault pressure value within the target window interval according to the multiple pressure values ​​includes: Determine the multiple pressure values ​​as target pressure values ​​respectively, and if the target pressure values ​​meet the normal pressure range, temporarily stop timing the duration; If the target pressure value does not conform to the normal pressure range, the duration continues to count.

5. The method according to claim 4, characterized in that If the duration ratio is greater than a preset ratio threshold, determining that the pressure sensor is faulty includes: If the window duration for the target window is less than or equal to the total duration of the target window interval, and the duration ratio is greater than the preset ratio threshold, it is determined that the pressure sensor is faulty; If the window duration of the target window is less than or equal to the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, then the step of collecting multiple pressure values ​​by using a pressure sensor is performed; If the window duration of the target window is greater than the total duration of the target window interval, and the duration ratio is less than or equal to the preset ratio threshold, the step of collecting multiple pressure values ​​through the pressure sensor is performed.

6. The method according to any one of claims 1 to 5, characterized in that: The target window interval is determined according to one or more combinations of the type of the pressure sensor, the life span and the tolerance of the pressure sensor.

7. The method according to any one of claims 1 to 5, characterized in that: The window intervals of the multiple windows do not overlap.

8. A vehicle fault detection device, characterized in that: The device comprises: a collection unit, a duration determination unit, a duration ratio determination unit and a fault determination unit; The acquisition unit is used to acquire multiple pressure values ​​through a pressure sensor within a target window interval for a target window, wherein the target window is one of the multiple windows, and the target window interval is an interval consisting of a start time and an end time of the target window; The duration determination unit is used to obtain a duration of a fault pressure value within the target window interval according to the multiple pressure values, wherein the fault pressure value is a pressure value that does not conform to a normal pressure interval; The duration ratio determination unit is used to obtain the duration ratio according to the ratio of the duration to the total duration of the target window interval, where the total duration of the target window interval is the time length of the target window interval; The fault determination unit is used to determine that the pressure sensor is faulty if the duration ratio is greater than a preset ratio threshold.

9. A computer device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the method according to any one of claims 1 to 7 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store a computer program, and the computer program is used to execute the method according to any one of claims 1 to 7.