Vehicle anomaly detection method and device, electronic equipment and storage medium
By obtaining component information and performing centralized fault detection when the vehicle is powered on, it solves the problem in the existing technology of being unable to quickly and accurately detect multiple pressure sensors at the same time, and improves the efficiency of abnormal detection of vehicle pressure sensors.
Patent Information
- Application Number
- CN202410700781.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-31
AI Technical Summary
Existing pressure sensor anomaly detection methods are unable to quickly, accurately and comprehensively diagnose multiple pressure sensors at the same time, resulting in low efficiency in abnormality detection of vehicle pressure sensors.
By obtaining the information of each component when the vehicle changes from a stopped state to a powered-on state, it is determined whether the centralized fault detection conditions are met, and centralized fault detection is performed based on the measurement values of all pressure sensors, and fault detection information is generated and displayed to the user.
It achieves fast, accurate and comprehensive abnormality detection of multiple pressure sensors, saves time and resources, and improves the efficiency of abnormality detection of vehicle pressure sensors.
Smart Images

Figure CN118689192A
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the technical field of vehicle safety detection, and in particular to a vehicle abnormality detection method, device, electronic device and storage medium. Background Art
[0002] The automotive electronic control system is a general term for the electronic system used to control various functions inside the vehicle. It consists of hardware and software and is responsible for managing and regulating multiple key functions of the vehicle. Pressure sensors in automotive electronic control systems are mainly used to monitor and regulate the pressure of multiple key systems. These sensors can sense the physical changes in different pressures and convert these physical changes into electrical signals for processing by the electronic control unit of the vehicle. Pressure sensors in automotive electronic control systems are important components for monitoring and controlling the engine and other vehicle systems. In order to ensure that these sensors can accurately perform their functions, it is very necessary to monitor their rationality.
[0003] In the existing abnormality detection of pressure sensors, most of them perform abnormality detection on different pressure sensors separately. For example, under the condition of full throttle, the measured value of the intake pressure sensor and the measured value of the boost pressure sensor are compared with the preset threshold value respectively, and the comparison result is used to determine whether there is a fault. For example, when the exhaust flow rate changes, the exhaust pressure sensor is detected for abnormality to determine whether there is a fault. However, most of the current electronic control systems include many pressure sensors. This method cannot perform centralized abnormality detection on multiple pressure sensors at the same time. It can only perform abnormality detection on the corresponding pressure sensors under different specific working conditions. It is impossible to quickly, accurately and comprehensively diagnose whether each pressure sensor has a fault, which reduces the abnormality detection efficiency of the vehicle's pressure sensor. Summary of the invention
[0004] Embodiments of the present invention provide a vehicle abnormality detection method, device, electronic device and storage medium, which can simultaneously perform fast, accurate and comprehensive centralized abnormality detection on multiple pressure sensors in a driving cycle, saving time and resources while improving the abnormality detection efficiency of the vehicle's pressure sensors.
[0005] In a first aspect, an embodiment of the present invention provides a vehicle abnormality detection method, comprising:
[0006] When the vehicle changes from a stopped state to a powered-on state, obtaining information of various components of the vehicle, and determining whether the vehicle meets a centralized fault detection condition based on the information of various components of the vehicle;
[0007] When the vehicle meets the centralized fault detection condition, obtaining measurement values of each pressure sensor;
[0008] Performing centralized fault detection on each pressure sensor based on the measured values of all pressure sensors to obtain a fault detection result of each pressure sensor;
[0009] Fault detection information is generated based on the fault detection result of each pressure sensor, and the fault detection information is presented to a user.
[0010] In a second aspect, an embodiment of the present invention provides a vehicle abnormality detection device, the device comprising:
[0011] An information determination module, used for obtaining information of various components of the vehicle when the vehicle changes from a stopped state to a powered-on state, and determining whether the vehicle meets a centralized fault detection condition based on the information of various components of the vehicle;
[0012] An information acquisition module, used for acquiring measurement values of each pressure sensor when the vehicle meets the centralized fault detection condition;
[0013] A fault detection module, used for performing centralized fault detection on each pressure sensor based on the measured values of all pressure sensors to obtain a fault detection result of each pressure sensor;
[0014] The information display module is used to generate fault detection information based on the fault detection result of each pressure sensor and display the fault detection information to the user.
[0015] In a third aspect, an embodiment of the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a vehicle abnormality detection method as described in any one of the embodiments of the present invention is implemented.
[0016] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a vehicle abnormality detection method as described in any one of the embodiments of the present invention.
[0017] In an embodiment of the present invention, when the vehicle changes from a stopped state to a powered-on state, information of various components of the vehicle is obtained, and based on the information of various components of the vehicle, it is determined whether the vehicle meets the centralized fault detection conditions; when the vehicle meets the centralized fault detection conditions, the measurement values of various pressure sensors are obtained; centralized fault detection is performed on each pressure sensor based on the measurement values of all pressure sensors to obtain the fault detection results of each pressure sensor; fault detection information is generated based on the fault detection results of each pressure sensor, and the fault detection information is displayed to the user. That is, in an embodiment of the present invention, when the vehicle meets the centralized fault detection conditions, the measurement values of multiple pressure sensors can be obtained, and each pressure sensor can be simultaneously subjected to rapid, accurate and comprehensive centralized anomaly detection based on these measurement values, which saves time and resources while improving the abnormality detection efficiency of the vehicle's pressure sensors. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A first flow chart of a vehicle abnormality detection method provided by an embodiment of the present invention;
[0020] Figure 2 A schematic diagram of the structure of various components of a vehicle provided in an embodiment of the present invention;
[0021] Figure 3 A second flow chart of a vehicle abnormality detection method provided by an embodiment of the present invention;
[0022] Figure 4 A schematic diagram of a vehicle abnormality detection device provided by an embodiment of the present invention
[0023] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0024] 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.
[0025] Figure 1This is the first flow chart of a vehicle abnormality detection method provided by an embodiment of the present invention. The method of the embodiment of the present invention can simultaneously perform fast, accurate and comprehensive centralized abnormality detection on multiple pressure sensors in a driving cycle, saving time and resources while improving the abnormality detection efficiency of the vehicle's pressure sensors. The method can be executed by a vehicle abnormality detection device provided by an embodiment of the present invention, and the device can be implemented in software and / or hardware. The following embodiments will be described by taking the device integrated in an electronic device as an example. The electronic device can be a vehicle controller. Figure 1 , the method may specifically include the following steps:
[0026] Step 101: When the vehicle changes from a stopped state to a powered-on state, information of various components of the vehicle is obtained, and based on the information of various components of the vehicle, it is determined whether the vehicle meets the centralized fault detection conditions.
[0027] Among them, the stop state means that the vehicle's electronic control system is in an inactive and closed state, and the power-on state means that the vehicle's electronic control system is activated and ready to start. The information of each component is the information of each component of the vehicle when the vehicle is started, and each component includes the engine, battery, battery and controller. In this solution, the information of each component at least includes the engine shutdown time before power-on, the engine status at the current moment, and the battery voltage. The centralized fault detection condition is a pre-set condition to determine whether centralized fault detection can be performed on each pressure sensor of the vehicle.
[0028] For example, Figure 2 The schematic diagram of the structure of each component of the vehicle provided by the embodiment of the present invention. Figure 2 As shown, the vehicle includes an intake pressure sensor, a boost pressure sensor, an exhaust gas recirculation system (EGR) downstream pressure sensor, an EGR upstream pressure sensor, a particulate trap upstream pressure sensor, a particulate trap downstream pressure sensor and an ambient pressure sensor. The intake pressure sensor is arranged between the engine and the throttle; the boost pressure sensor is arranged between the intercooler and the compressor; the EGR downstream pressure sensor is arranged between the EGR mixing valve and the EGR valve, and the EGR upstream pressure sensor is arranged between the EGR cooler and the EGR valve. The turbine is connected to the three-way catalytic converter, the particulate trap upstream pressure sensor and the particulate trap downstream pressure sensor are arranged at both ends of the particulate trap respectively, and the ambient pressure sensor is arranged in the engine controller.
[0029] Specifically, when the vehicle changes from a stopped state to a powered-on state, it indicates that the user may need to start the vehicle, and at this time the electronic control system is in an activated state. When the electronic control system is activated, the controller obtains the engine shutdown time before the vehicle is powered on, the engine state at the current moment, and the battery voltage. If the engine shutdown time before power-on is greater than the preset time, and the engine state at the current moment is a shutdown state, and the battery voltage is greater than the preset voltage value, it indicates that the user started the vehicle normally, and it is determined that the vehicle meets the centralized fault detection conditions. If the engine shutdown time before power-on is less than or equal to the preset time, or the engine state at the current moment is not a shutdown state, or the battery voltage is less than or equal to the preset voltage value, it indicates that the user did not start the vehicle normally, and it is further determined that the vehicle does not meet the centralized fault detection conditions.
[0030] Step 102: When the vehicle meets the centralized fault detection condition, obtain the measurement value of each pressure sensor.
[0031] Among them, the pressure sensor in the vehicle's electronic control system is mainly used to monitor and adjust the corresponding pressure. The pressure sensor can sense different pressure changes and convert the pressure changes into electrical signals so that the controller can process them. The electronic control system mainly includes piezoresistive pressure sensors, capacitive pressure sensors and piezoelectric pressure sensors. The various pressure sensors in this solution include intake pressure sensors, boost pressure sensors, ambient pressure sensors, exhaust gas recirculation system pressure sensors and exhaust pressure sensors. Specifically, different pressure sensors are set at different positions, and each pressure sensor is used to measure the pressure at the corresponding position. Each pressure sensor is connected to the controller via a signal line, or is wirelessly connected to the controller. When it is determined that the vehicle meets the centralized fault detection conditions, the controller obtains the measurement values of each pressure sensor so that each pressure sensor can be subsequently subjected to centralized fault detection.
[0032] Step 103: Perform centralized fault detection on each pressure sensor based on the measurement values of all pressure sensors to obtain a fault detection result of each pressure sensor.
[0033] Among them, centralized fault detection refers to centralized processing of the measured values of all pressure sensors, and judging whether each pressure sensor has a fault according to the centralized processing result. In an optional embodiment, after obtaining the measured value of each pressure sensor, if the number of all pressure sensors that send the measured value to the controller is less than 3, it is not necessary to perform centralized fault detection on it. Therefore, when the controller obtains the measured value sent by 1 or 2 pressure sensors, the controller can perform fault detection on each pressure sensor separately. For example, the controller obtains the measured value sent by pressure sensor 1 and pressure sensor 2, and the controller can compare the measured value of pressure sensor 1 with the detection threshold corresponding to the pre-set pressure sensor 1. If the measured value of pressure sensor 1 is greater than the detection threshold corresponding to pressure sensor 1, it is determined that the fault detection result of pressure sensor 1 is that there is a device fault. At the same time, the measured value of pressure sensor 2 can be compared with the detection threshold corresponding to the pre-set pressure sensor 2, and the fault detection result of pressure sensor 2 can be determined according to the comparison result. If the number of all pressure sensors that send the measured value to the controller is greater than or equal to 3, the controller can perform centralized processing on the measured values of all pressure sensors. For example, the average value or median of the measured values of all pressure sensors is calculated, and the measured values of each pressure sensor are compared with the average value or median. If the measured value of a certain pressure sensor differs greatly from the average value or median, the fault detection result of the pressure sensor is determined to be faulty.
[0034] In an optional implementation, after obtaining the measurement values of each pressure sensor, for each pressure sensor, if the measurement value of the current pressure sensor is not within a preset range, it is determined that the fault detection result of the current pressure sensor is a device fault. If the measurement value of the current pressure sensor is within a preset range, the current pressure sensor is determined to be a candidate sensor; the moment when the number of candidate sensors is determined to be greater than the preset number is determined as the start moment of the current cycle, and the measurement values of each candidate sensor are obtained at preset time intervals within the current cycle; the fault detection value corresponding to each time interval is determined based on the measurement values of all candidate sensors corresponding to each time interval; the difference between the measurement value and the fault detection value of each candidate sensor in each time interval is calculated; the average value of the difference corresponding to each candidate sensor in all time intervals is determined; for each candidate sensor, if the average value of the difference corresponding to the current candidate sensor is greater than the preset high fault difference, the fault detection result of the current candidate sensor in the current cycle is determined to be a high fault; if the average value of the difference corresponding to the current candidate sensor is less than the preset low fault difference, the fault detection result of the current candidate sensor in the current cycle is determined to be a low fault; if the average value of the difference corresponding to the current candidate sensor is less than or equal to the preset high fault difference and greater than or equal to the preset low fault difference, the fault detection result of the current candidate pressure sensor in the current cycle is determined to be no fault; wherein the preset high fault difference is greater than the preset low fault difference.
[0035] Step 104: Generate fault detection information based on the fault detection result of each pressure sensor, and display the fault detection information to the user.
[0036] The fault detection information includes information such as the measurement value of each pressure sensor and the fault detection result of each pressure sensor. Specifically, after the fault detection result of each pressure sensor is obtained, the fault detection information is generated according to the identification, measurement value and abnormal detection result of the faulty pressure sensor. The fault detection information is displayed to the user through the vehicle display screen or voice announcer.
[0037] The technical solution of this embodiment is to obtain information about each component of the vehicle when the vehicle changes from a stopped state to a powered-on state, and determine whether the vehicle meets the centralized fault detection conditions based on the information about each component of the vehicle; when the vehicle meets the centralized fault detection conditions, obtain the measurement values of each pressure sensor; perform centralized fault detection on each pressure sensor based on the measurement values of all pressure sensors to obtain the fault detection results of each pressure sensor; generate fault detection information based on the fault detection results of each pressure sensor, and display the fault detection information to the user. The technical solution of this embodiment is to obtain the measurement values of multiple pressure sensors when the vehicle meets the centralized fault detection conditions, and perform fast, accurate and comprehensive centralized anomaly detection on each pressure sensor simultaneously based on these measurement values, saving time and resources while improving the abnormality detection efficiency of the vehicle's pressure sensors.
[0038] Figure 3 The second flow chart of a vehicle abnormality detection method provided by an embodiment of the present invention is a refinement of the above embodiment. The specific method can be as follows Figure 3 As shown, the method may include the following steps:
[0039] Step 301: When the vehicle changes from a stopped state to a powered-on state, information of various components of the vehicle is obtained, and based on the information of various components of the vehicle, it is determined whether the vehicle meets the centralized fault detection conditions.
[0040] Step 302: When the vehicle meets the centralized fault detection condition, obtain the measurement value of each pressure sensor.
[0041] Step 303: for each pressure sensor, if the measurement value of the current pressure sensor is within a preset range, determine the current pressure sensor as a candidate sensor.
[0042] The preset range is a value range determined based on vehicle specification information and domain big data, and is used to determine whether the pressure sensor has a circuit fault or an equipment fault with an obviously abnormal value. The candidate sensor is a pressure sensor without equipment fault.
[0043] Specifically, after obtaining the measurement value of each pressure sensor, it is necessary to perform preliminary equipment fault detection on each pressure sensor according to the preset range to determine whether each pressure sensor itself is normal. For example, when the measurement value of the pressure sensor is 0, it means that the line or device of the pressure sensor itself has a fault. For example, if the preset range is 10-20, and the measurement value of the pressure sensor received by the controller is 30, it is determined that the pressure sensor has an obviously abnormal value, and further determines that the pressure sensor is a sensor of equipment failure. If the measurement value of the pressure sensor is within the preset range, the pressure sensor is determined to be a candidate pressure sensor. In this way, pressure sensors with abnormal equipment can be preliminarily excluded to avoid the measurement value of the pressure sensor affecting the results of subsequent centralized anomaly detection, thereby improving the accuracy of the centralized anomaly detection results.
[0044] Step 304: When the number of candidate sensors is greater than a preset number, the time when the number of candidate sensors is determined to be greater than the preset number is determined as the start time of the current cycle, and the measurement value of each candidate sensor is obtained at a preset time interval in the current cycle.
[0045] Specifically, centralized fault detection refers to the centralized processing of the measurement values of all pressure sensors, and judging whether each pressure sensor has a fault based on the centralized processing results of the measurement values of all pressure sensors. When the number of candidate pressure sensors is less than or equal to the preset number, it means that it is impossible to perform centralized fault detection on the candidate pressure sensors, or it is not necessary to perform centralized fault detection on the candidate pressure sensors. Therefore, when the number of candidate sensors is greater than the preset number, centralized fault detection is performed on each candidate sensor.
[0046] In this solution, when determining to perform centralized fault detection on each candidate sensor, the measurement values of each candidate sensor corresponding to multiple time intervals are obtained according to preset time intervals. The fault detection results of each candidate sensor are determined based on the measurement values of each candidate sensor at multiple time intervals. In an optional implementation, the moment when the number of candidate sensors is determined to be greater than the preset number is determined as the start moment of the current cycle, and the measurement values of each candidate sensor are obtained at preset time intervals within the current cycle. The cycle duration and the duration of the preset time interval can be pre-set based on vehicle specification information and field big data. The cycle duration and the duration of the preset time interval can also be zero, that is, this solution can also be to obtain the measurement values of each candidate sensor in real time, and perform centralized fault detection on each candidate sensor in real time based on the measurement values of each candidate sensor.
[0047] Step 305: Determine the fault detection value corresponding to each time interval based on the measurement values of all candidate sensors corresponding to each time interval.
[0048] The fault detection value may be the median or average of the measurement values of each candidate sensor at all time intervals, etc. At the end of the current cycle, the fault detection value corresponding to each time interval is determined based on the measurement values of each candidate sensor at all time intervals in the current cycle.
[0049] Exemplarily, the current cycle is 0.5 milliseconds, and the preset time interval is 0.1 milliseconds. The candidate sensors include candidate sensor 1, candidate sensor 2, candidate sensor 3, candidate sensor 4, and candidate sensor 5. The matrix composed of the measurement values of each candidate sensor obtained by the controller at 0.1 milliseconds is: The first 3 is the measurement value of pressure sensor 1, the second 3 is the measurement value of pressure sensor 2, the third 3 is the measurement value of pressure sensor 3, 2 is the measurement value of pressure sensor 4, and the fifth 3 is the measurement value of pressure sensor 5. The matrices composed of the measurement values of each candidate sensor obtained by the controller at 0.2 milliseconds, 0.3 milliseconds, 0.4 milliseconds, and 0.5 milliseconds are respectively: If the fault detection value is the median of the measurement values of each candidate sensor, the fault detection value of the first time interval of the current cycle can be determined to be: 3. The fault detection value of the second time interval of the current cycle is: 3. The fault detection value of the third time interval of the current cycle is: 3. The fault detection value of the fourth time interval of the current cycle is: 3, and the fault detection value of the fifth time interval of the current cycle is: 3. If the fault detection value is the average of each candidate sensor, the fault detection value of the first time interval of the current cycle can be determined to be: 2.8. The fault detection value of the second time interval of the current cycle is: 3.8. The fault detection value of the third time interval of the current cycle is: 2.8. The fault detection value of the fourth time interval of the current cycle is: 2.4, and the fault detection value of the fifth time interval of the current cycle is: 3.4.
[0050] Step 306: Determine the detection result of each candidate sensor in the current cycle based on the fault detection values corresponding to each time interval.
[0051] Specifically, after obtaining the fault detection values corresponding to each time interval, the detection result of each candidate sensor in the current cycle is determined according to the fault detection values corresponding to each time interval and the measurement values of each candidate sensor. In this solution, the detection result of each candidate sensor in the current cycle is determined based on the fault detection values corresponding to each time interval, including the following steps A1-A2:
[0052] Step A1: Calculate the difference between the measurement value and the fault detection value of each candidate sensor in each time interval, and determine the average value of the difference corresponding to each candidate sensor in all time intervals.
[0053] Specifically, the difference between the fault detection value corresponding to each time interval and the measurement value of the candidate sensor can reflect whether the measurement value of the candidate sensor is normal. Therefore, after obtaining the fault detection value corresponding to each time interval, the difference between the measurement value and the fault detection value of each candidate sensor in each time interval is calculated, and the average value of the difference corresponding to each candidate sensor in all time intervals is determined, so that the fault detection result of each candidate sensor can be determined later according to the average value of the difference corresponding to each candidate sensor.
[0054] For example, the fault detection value of the first time interval of the current cycle is: 3. The fault detection value of the second time interval of the current cycle is: 3. The fault detection value of the third time interval of the current cycle is: 3. The fault detection value of the fourth time interval of the current cycle is: 3, and the fault detection value of the fifth time interval of the current cycle is: 3. Then the matrices composed of the difference values corresponding to each candidate sensor at 0.1 milliseconds, 0.2 milliseconds, 0.3 milliseconds, 0.4 milliseconds and 0.5 milliseconds are respectively: Furthermore, the average value of the difference values corresponding to each candidate sensor in all time intervals of the current cycle is determined as:
[0055] Step A2: For each candidate sensor, if the average value of the difference corresponding to the current candidate sensor is greater than the preset high fault difference, the fault detection result of the current candidate sensor in the current cycle is determined to be a high fault; if the average value of the difference corresponding to the current candidate sensor is less than the preset low fault difference, the fault detection result of the current candidate sensor in the current cycle is determined to be a low fault; if the average value of the difference corresponding to the current candidate sensor is less than or equal to the preset high fault difference and greater than or equal to the preset low fault difference, the fault detection result of the current candidate pressure sensor in the current cycle is determined to be no fault.
[0056] Among them, the preset high fault difference is greater than the preset low fault difference. The preset high fault difference is used to determine whether the measurement value of the candidate sensor has a fault of too high a value, and the preset low fault difference is used to determine whether the measurement value of the candidate sensor has a fault of too low a value. The preset high fault difference and the preset low fault difference can be set according to the domain big data and the fault detection value. For example, when the fault detection value is the mean and the median of the fault detection value, different high fault differences and preset low fault differences correspond to each other.
[0057] In an optional embodiment, after determining the difference corresponding to each candidate sensor in the current cycle, the difference corresponding to each candidate sensor is compared with a preset high fault difference and a preset low fault difference. If the difference corresponding to the candidate sensor is greater than the preset high fault difference, the centralized fault detection result of the measurement value of the candidate sensor is determined to be a high fault. If the difference corresponding to the candidate sensor is less than the preset high fault difference, the centralized fault detection result of the measurement value of the candidate sensor is determined to be a low fault. If the average value of the difference corresponding to the candidate sensor is less than or equal to the preset high fault difference and greater than or equal to the preset low fault difference, the fault detection result of the candidate pressure sensor is determined to be no fault.
[0058] Exemplarily, the average value of the difference values corresponding to each candidate sensor in all time intervals of the current cycle is: If the preset high fault difference is 1 and the preset low fault difference is -1, it can be determined that the fault detection result of candidate sensor 1 is a high fault. The fault detection results of candidate sensor 2, candidate sensor 3, candidate sensor 4, and candidate sensor 5 are no fault. If the preset high fault difference is 0.5 and the preset low fault difference is -0.5, it can be determined that the fault detection result of candidate sensor 1 is a high fault, the fault detection result of candidate sensor 3 is a low fault, and the fault detection results of candidate sensor 2, candidate sensor 4, and candidate sensor 5 are no fault.
[0059] In the above steps, the fault detection value can be accurately determined, and whether each candidate sensor has a fault can be determined based on the fault detection value. The specific fault type (high fault or low fault) of the faulty candidate sensor can be determined based on the preset high fault value and the preset low fault value, thereby improving the practicality and efficiency of centralized anomaly detection.
[0060] Step 307: for each pressure sensor, if the measurement value of the current pressure sensor is not within the preset range, determine that the fault detection result of the current pressure sensor is a device fault.
[0061] Specifically, after obtaining the measurement values of each pressure sensor, it is necessary to perform preliminary equipment fault detection on each pressure sensor according to the preset range to determine whether each pressure sensor itself is normal. For example, when the measurement value of the pressure sensor is 0, it means that the line or device of the pressure sensor itself is faulty. For example, if the preset range is 10-20, and the measurement value of the pressure sensor received by the controller is 30, it is determined that the pressure sensor has a significant abnormal value, and further determines that the pressure sensor is a sensor of equipment failure.
[0062] Step 308: Generate fault detection information based on the fault detection result of each pressure sensor, and display the fault detection information to the user.
[0063] In the technical solution of this embodiment, when the vehicle changes from a stopped state to a powered-on state, the information of each component of the vehicle is obtained, and based on the information of each component of the vehicle, it is determined whether the vehicle meets the centralized fault detection condition. When the vehicle meets the centralized fault detection condition, the measurement value of each pressure sensor is obtained. For each pressure sensor, if the measurement value of the current pressure sensor is within a preset range, the current pressure sensor is determined to be a candidate sensor. When the number of candidate sensors is greater than the preset number, the moment when the number of candidate sensors is determined to be greater than the preset number is determined as the start time of the current cycle, and the measurement values of each candidate sensor are obtained according to the preset time intervals in the current cycle; the fault detection value corresponding to each time interval is determined based on the measurement values of all candidate sensors corresponding to each time interval; and the detection result of each candidate sensor in the current cycle is determined based on the fault detection value corresponding to each time interval. If the measurement value of the current pressure sensor is not within the preset range, it is determined that the fault detection result of the current pressure sensor is a device fault. Fault detection information is generated based on the fault detection result of each pressure sensor, and the fault detection information is displayed to the user. The technical solution of this embodiment determines whether the vehicle meets the centralized fault detection condition based on the information of each component of the vehicle, avoiding meaningless fault detection of the vehicle when the vehicle does not meet the centralized detection condition. According to the measurement values of the candidate sensors at all time intervals, the fault detection value corresponding to each time interval is determined, and whether each pressure sensor has a fault can be accurately determined according to the fault detection value, thereby improving the accuracy of centralized fault detection.
[0064] Figure 4 Schematic diagram of the structure of a vehicle abnormality detection device provided by an embodiment of the present invention, the device is suitable for executing a vehicle abnormality detection method provided by an embodiment of the present invention. Figure 4 As shown, the device may specifically include:
[0065] An information determination module 401, configured to obtain information of various components of the vehicle when the vehicle changes from a stopped state to a powered-on state, and determine whether the vehicle meets a centralized fault detection condition based on the information of various components of the vehicle;
[0066] An information acquisition module 402, configured to acquire measurement values of each pressure sensor when the vehicle meets the centralized fault detection condition;
[0067] A fault detection module 403 is used to perform centralized fault detection on each pressure sensor based on the measurement values of all pressure sensors to obtain a fault detection result of each pressure sensor;
[0068] The information display module 404 is used to generate fault detection information based on the fault detection result of each pressure sensor, and display the fault detection information to the user.
[0069] Optionally, the information of each component includes at least the engine shutdown time before power-on, the engine status at the current moment and the battery voltage; the information determination module 401 is specifically used for: if the engine shutdown time before power-on is greater than the preset time, and the engine status at the current moment is the shutdown state, and the battery voltage is greater than the preset voltage value, then it is determined that the vehicle meets the centralized fault detection conditions.
[0070] Optionally, the fault detection module 403 is specifically configured to: for each pressure sensor, if the measurement value of the current pressure sensor is within a preset range, determine that the current pressure sensor is a candidate sensor;
[0071] When the number of the candidate sensors is greater than a preset number, centralized fault detection is performed on all candidate sensors to obtain a detection result of each candidate sensor.
[0072] Optionally, the fault detection module 403 is further used to: determine the moment when the number of candidate sensors is determined to be greater than a preset number as the start moment of the current cycle, and obtain the measurement value of each candidate sensor at a preset time interval in the current cycle;
[0073] Determine a fault detection value corresponding to each time interval based on the measurement values of all candidate sensors corresponding to each time interval;
[0074] The detection result of each candidate sensor in the current cycle is determined based on the fault detection values corresponding to each time interval.
[0075] Optionally, the fault detection module 403 is further used to: calculate the difference between the measurement value of each candidate sensor and the fault detection value at each time interval;
[0076] Determine the average of the differences corresponding to each candidate sensor at all time intervals;
[0077] The fault detection results of each candidate sensor in the current cycle are determined based on the average value of the difference values corresponding to each candidate sensor, a preset high fault difference value and a preset low fault difference value; wherein the preset high fault difference value is greater than the preset low fault difference value.
[0078] Optionally, the fault detection module 403 is further configured to: for each candidate sensor, if the average value of the difference corresponding to the current candidate sensor is greater than the preset high fault difference, determine that the fault detection result of the current candidate sensor in the current cycle is a high fault;
[0079] If the average value of the difference corresponding to the current candidate sensor is less than the preset low fault difference, determining that the fault detection result of the current candidate sensor in the current cycle is a low fault;
[0080] If the average value of the difference corresponding to the current candidate sensor is less than or equal to the preset high fault difference and greater than or equal to the preset low fault difference, it is determined that the fault detection result of the current candidate pressure sensor in the current cycle is no fault.
[0081] Optionally, the fault detection module 403 is further used to: if the measurement value of the current pressure sensor is not within a preset range, determine that the fault detection result of the current pressure sensor is the equipment fault.
[0082] The vehicle abnormality detection device provided in the embodiment of the present invention can execute the vehicle abnormality detection method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. The contents not described in detail in this embodiment can refer to the description in any method embodiment of the present invention.
[0083] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, referring to Figure 5 , Figure 5 The electronic device 12 shown is only an example and should not limit the functions and scope of use of the embodiments of the present application. Figure 5 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that connects various system components (including the system memory 28 and the processing unit 16).
[0084] Bus 18 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 architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0085] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0086] The system memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 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, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical medium) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 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 various embodiments of the present application.
[0087] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in system memory 28, such program modules 42 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. Program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0088] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), may communicate with one or more devices that enable a user to interact with the electronic device 12, and / or may communicate with any device that enables the electronic device 12 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 22. Furthermore, the electronic device 12 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 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 via the bus 18. It should be understood that although Figure 5 Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0089] The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing a vehicle abnormality detection method provided in an embodiment of the present invention: when the vehicle changes from a stopped state to a powered-on state, obtaining information of various components of the vehicle, and determining whether the vehicle meets the centralized fault detection conditions based on the information of various components of the vehicle; when the vehicle meets the centralized fault detection conditions, obtaining the measurement values of various pressure sensors; performing centralized fault detection on each pressure sensor based on the measurement values of all pressure sensors to obtain a fault detection result for each pressure sensor; generating fault detection information based on the fault detection result of each pressure sensor, and displaying the fault detection information to a user.
[0090] An embodiment of the present invention provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, a vehicle abnormality detection method provided by all the embodiments of the present invention is implemented: when the vehicle changes from a stopped state to a powered-on state, information of each component of the vehicle is obtained, and whether the vehicle meets the centralized fault detection condition is determined based on the information of each component of the vehicle; when the vehicle meets the centralized fault detection condition, the measurement value of each pressure sensor is obtained; centralized fault detection is performed on each pressure sensor based on the measurement values of all pressure sensors to obtain the fault detection result of each pressure sensor; fault detection information is generated based on the fault detection result of each pressure sensor, and the fault detection information is displayed to the user. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium may be, for example, but not limited to, an electronic device, device or device of electrical, magnetic, optical, electromagnetic, infrared, or semiconductor, or any combination thereof. More specific examples of computer-readable storage media (a non-exhaustive list) include: an electrical connection with one or more conductors, 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 that contains or stores a program that can be used by or in conjunction with an instruction-executing electronic device, apparatus, or device.
[0091] 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-executing electronic device, apparatus, or device.
[0092] The program code embodied on the 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.
[0093] Computer program code for performing the operations 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 a separate 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 through 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).
[0094] 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 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 vehicle abnormality detection method, characterized in that: The method comprises: When the vehicle changes from a stopped state to a powered-on state, obtaining information of various components of the vehicle, and determining whether the vehicle meets a centralized fault detection condition based on the information of various components of the vehicle; When the vehicle meets the centralized fault detection condition, obtaining measurement values of each pressure sensor; Performing centralized fault detection on each pressure sensor based on the measured values of all pressure sensors to obtain a fault detection result of each pressure sensor; Fault detection information is generated based on the fault detection result of each pressure sensor, and the fault detection information is presented to a user.
2. The method according to claim 1, characterized in that The information of each component at least includes the engine shutdown time before power-on, the engine status at the current moment and the battery voltage; Determining whether the vehicle meets a centralized fault detection condition based on information of each component of the vehicle includes: If the engine shutdown time before power-on is greater than the preset time, and the engine state at the current moment is the shutdown state, and the battery voltage is greater than the preset voltage value, it is determined that the vehicle meets the centralized fault detection condition.
3. The method according to claim 1, characterized in that: Centralized fault detection is performed on each pressure sensor based on the measured values of all pressure sensors to obtain the fault detection results of each pressure sensor, including: For each pressure sensor, if the measurement value of the current pressure sensor is within a preset range, determine the current pressure sensor as a candidate sensor; When the number of the candidate sensors is greater than a preset number, centralized fault detection is performed on all candidate sensors to obtain a detection result of each candidate sensor.
4. The method according to claim 3, characterized in that When the number of candidate sensors is greater than a preset number, centralized fault detection is performed on all candidate sensors to obtain a detection result of each candidate sensor, including: Determining the moment when it is determined that the number of the candidate sensors is greater than a preset number as the start moment of the current cycle, and obtaining the measurement value of each candidate sensor at a preset time interval within the current cycle; Determine a fault detection value corresponding to each time interval based on the measurement values of all candidate sensors corresponding to each time interval; The detection result of each candidate sensor in the current cycle is determined based on the fault detection values corresponding to each time interval.
5. The method according to claim 4, characterized in that The detection result of each candidate sensor in the current cycle is determined based on the fault detection values corresponding to each time interval, including: Calculate the difference between the measurement value and the fault detection value of each candidate sensor at each time interval; Determine the average of the differences corresponding to each candidate sensor at all time intervals; The fault detection results of each candidate sensor in the current cycle are determined based on the average value of the difference values corresponding to each candidate sensor, a preset high fault difference value and a preset low fault difference value; wherein the preset high fault difference value is greater than the preset low fault difference value.
6. The method according to claim 5, characterized in that The fault detection result includes a high fault, a low fault, or no fault. Based on the average value of the difference values corresponding to each candidate sensor, a preset high fault difference value, and a preset low fault difference value, the fault detection result of each candidate sensor in the current cycle is determined, including: For each candidate sensor, if the average value of the difference corresponding to the current candidate sensor is greater than the preset high fault difference, determining that the fault detection result of the current candidate sensor in the current cycle is a high fault; If the average value of the difference corresponding to the current candidate sensor is less than the preset low fault difference, determining that the fault detection result of the current candidate sensor in the current cycle is a low fault; If the average value of the difference corresponding to the current candidate sensor is less than or equal to the preset high fault difference and greater than or equal to the preset low fault difference, it is determined that the fault detection result of the current candidate pressure sensor in the current cycle is no fault.
7. The method according to claim 3, characterized in that The fault detection result also includes a device fault, and the method further includes: If the measurement value of the current pressure sensor is not within the preset range, it is determined that the fault detection result of the current pressure sensor is the device fault.
8. A vehicle abnormality detection device, characterized in that: include: An information determination module, used for obtaining information of various components of the vehicle when the vehicle changes from a stopped state to a powered-on state, and determining whether the vehicle meets a centralized fault detection condition based on the information of various components of the vehicle; An information acquisition module, used for acquiring measurement values of each pressure sensor when the vehicle meets the centralized fault detection condition; A fault detection module, used for performing centralized fault detection on each pressure sensor based on the measured values of all pressure sensors to obtain a fault detection result of each pressure sensor; The information display module is used to generate fault detection information based on the fault detection result of each pressure sensor and display the fault detection information to the user.
9. An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, a vehicle abnormality detection method as described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, a vehicle abnormality detection method as described in any one of claims 1 to 7 is implemented.
Citation Information
Patent Citations
Environmental pressure detection system and method for vacuum boosting system of electric vehicle
CN113635883A
Failure omen detection system, vehicle, failure omen detection method, and computer-readable storage medium
CN115047844A
Vehicle fault state detection method and device
CN115096604A
Fault detection method, device and equipment of differential pressure sensor and storage medium
CN115265907A
Vehicle fault detection method, vehicle and storage medium
CN116788177A
