Failure warning method and device for temperature and pressure sensor
By diagnosing the voltage signal of the temperature pressure sensor and counting the abnormal signal, combined with the failure risk evaluation model, an accurate warning of sensor failure is achieved, and the problem of low control accuracy in the existing technology is solved, and the sensor is improved reliability.
Patent Information
- Application Number
- CN202410322070.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-03-20
AI Technical Summary
The prior art fails to effectively warn of the failure of the temperature pressure sensor, resulting in low engine intake and exhaust control accuracy.
By obtaining the voltage signal of the temperature pressure sensor, performing fault diagnosis and signal abnormality counting, and combining the failure risk assessment model to perform failure warning to ensure the reliability of the sensor during use.
Accurate early warning of temperature pressure sensor failure is achieved, its reliability during use is improved, and the problem of low control accuracy caused by failure is avoided.
Smart Images

Figure CN118226163B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature and pressure sensor diagnosis, and in particular to a failure warning method and device for a temperature and pressure sensor. Background Art
[0002] With the rapid growth of automobile production and ownership in recent years, the environmental pollution caused by motor vehicles has received widespread attention. Increasingly stringent emission regulations and fuel consumption standards have prompted automobile manufacturers to seek advanced engine auxiliary units and electronic control technologies to achieve energy conservation and emission reduction.
[0003] The commonly used method is to confirm the operating status of the engine system by accurately measuring the temperature and pressure of each system of the engine, so as to accurately control the engine intake and exhaust to achieve the purpose of energy saving and emission reduction. The research in the prior art is mostly focused on improving the detection accuracy of the temperature and pressure sensor to achieve accurate control of the engine intake and exhaust. However, it does not take into account how to give early warning when the temperature and pressure sensor fails due to the increase in service life or other factors, so as to avoid the technical problem of low control accuracy of the engine intake and exhaust caused by the use of the failed temperature and pressure sensor.
[0004] There is an urgent need to provide a failure warning method and device for a temperature and pressure sensor to solve the above technical problems. Summary of the invention
[0005] In view of this, it is necessary to provide a failure warning method and device for a temperature and pressure sensor to solve the technical problem in the prior art that the failure of the temperature and pressure sensor cannot be warned, resulting in low accuracy of engine intake and exhaust control.
[0006] On the one hand, in order to solve the above technical problems, the present invention provides a failure warning method of a temperature and pressure sensor, comprising:
[0007] Acquire a voltage signal collected by a temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal;
[0008] filtering the voltage signal to obtain a filtered signal, and determining a signal abnormality count based on the voltage signal and the filtered signal;
[0009] When the fault diagnosis count and the signal abnormality count are both greater than zero, a failure warning is issued for the temperature and pressure sensor based on the constructed failure risk assessment model.
[0010] In a possible implementation, determining a fault diagnosis count based on the voltage signal includes:
[0011] determining whether the voltage signal satisfies a fault condition;
[0012] When the voltage signal meets the fault condition, the accumulated fault diagnosis count is acquired, and the accumulated fault diagnosis count is incremented by one to obtain the fault diagnosis count.
[0013] In a possible implementation, the fault condition includes a voltage limit and a preset anti-shake time; then the step of determining whether the voltage signal satisfies the fault condition includes:
[0014] Determining whether the voltage value of the voltage signal is greater than the voltage limit;
[0015] When the voltage value is greater than the voltage limit, recording the duration of the voltage value being greater than the voltage limit, and determining whether the duration is greater than the preset anti-shake time;
[0016] When the duration is greater than the preset anti-shake time, the voltage signal meets the fault condition.
[0017] In a possible implementation manner, determining a signal abnormality count based on the voltage signal and the filtered signal includes:
[0018] Determine a difference between the voltage signal and the filtered signal, and determine whether an absolute value of the difference is greater than a preset difference;
[0019] When the absolute value of the difference is greater than the preset difference, the accumulated signal abnormality count is acquired, and the accumulated signal abnormality count is incremented by one to obtain the signal abnormality count.
[0020] In a possible implementation, the failure risk assessment model is:
[0021] S=(A*Num1+B*Num2)*C
[0022] Where S is the current failure risk score of the temperature and pressure sensor; A is the fault diagnosis weight coefficient; B is the signal abnormality weight coefficient; C is the failure risk coefficient; Num1 is the fault diagnosis count; and Num2 is the signal abnormality count.
[0023] In a possible implementation, before the failure risk assessment model is used to perform a failure warning on the temperature and pressure sensor, the method further includes:
[0024] Acquire historical failure data of the temperature and pressure sensor;
[0025] Determine the total number of faults and the number of electrical faults in the historical fault failure data, and determine the fault diagnosis weight coefficient based on the number of electrical faults and the total number of faults;
[0026] Acquire a constraint relationship between the fault diagnosis weight coefficient and the signal abnormality weight coefficient, and determine the signal abnormality weight coefficient based on the constraint relationship and the fault diagnosis weight coefficient;
[0027] Obtaining the frequency of occurrence of the electrical fault on the current vehicle model, and determining the failure risk coefficient based on the frequency of occurrence;
[0028] The failure risk assessment model is constructed based on the fault diagnosis weight coefficient, the signal abnormality weight coefficient and the failure risk coefficient.
[0029] In a possible implementation, the failure warning of the temperature and pressure sensor based on the constructed failure risk assessment model includes:
[0030] Determine the primary failure risk value, the intermediate failure risk value, and the high failure risk value;
[0031] determining a current failure risk score of the temperature and pressure sensor based on the failure risk assessment model, the fault diagnosis count, and the signal anomaly count;
[0032] A failure risk level of the temperature and pressure sensor is determined based on the current failure risk score, the primary failure risk value, the intermediate failure risk value, and the high failure risk value.
[0033] In a possible implementation, the failure risk level includes low risk, medium risk and high risk; the method further includes:
[0034] When the failure risk level is the low-level risk, an early warning is issued based on the primary risk early warning strategy;
[0035] When the failure risk level is the medium risk, an early warning is issued based on the medium risk early warning strategy;
[0036] When the failure risk level is the high-level risk, a warning is issued based on a high-level risk warning strategy.
[0037] In a possible implementation, the method further includes:
[0038] When the voltage signal meets the fault condition, determining whether the signal abnormality count is greater than zero;
[0039] When the signal abnormality count is greater than zero, the temperature and pressure sensor reports a fault.
[0040] On the other hand, the present invention also provides a failure warning device for a temperature and pressure sensor, comprising:
[0041] a fault diagnosis count determination unit, configured to obtain a voltage signal collected by the temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal;
[0042] a signal abnormality count determining unit, configured to filter the voltage signal to obtain a filtered signal, and determine a signal abnormality count based on the voltage signal and the filtered signal;
[0043] A failure warning unit is used to issue a failure warning to the temperature and pressure sensor based on a constructed failure risk assessment model when the fault diagnosis count and the signal abnormality count are both greater than zero.
[0044] The beneficial effect of the present invention is that the failure warning method of the temperature and pressure sensor provided by the present invention can realize failure warning of the temperature and pressure sensor based on fault diagnosis counts, signal abnormality counts and a constructed failure risk evaluation model, thereby ensuring the reliability of the temperature and pressure sensor during use.
[0045] Furthermore, the present invention uses the determined fault diagnosis count and signal abnormality count as the premise of failure warning, thereby avoiding the problem of unreliable failure warning results caused by failure warning of the temperature and pressure sensor only by fault diagnosis count or only by signal abnormality count, that is, based on the constructed failure risk assessment model, thereby achieving accurate failure warning and further improving the reliability of the temperature and pressure sensor during use. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0047] Figure 1 A schematic flow chart of an embodiment of a failure warning method for a temperature and pressure sensor provided by the present invention;
[0048] Figure 2 A schematic diagram of a flow chart of an embodiment of the present invention for determining whether a voltage signal meets a fault condition;
[0049] Figure 3 A schematic diagram of a flow chart of an embodiment of determining signal abnormality counts provided by the present invention;
[0050] Figure 4 A schematic diagram of an embodiment of the process of constructing a failure risk assessment model provided by the present invention;
[0051] Figure 5 For the present invention Figure 1A schematic flow chart of an embodiment of step S103;
[0052] Figure 6 A schematic flow chart of an embodiment of a temperature and pressure sensor reporting a fault provided by the present invention;
[0053] Figure 7 A schematic structural diagram of an embodiment of a failure warning device for a temperature and pressure sensor provided by the present invention;
[0054] Figure 8 A schematic structural diagram of an embodiment of the temperature and pressure sensor detection equipment provided by the present invention. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0056] It should be understood that the schematic drawings are not drawn to scale. The flowchart used in the present invention shows the operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present invention, can add one or more other operations to the flowchart, and can also remove one or more operations from the flowchart. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor systems and / or microcontroller systems.
[0057] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0058] The present invention provides a failure warning method and device for a temperature and pressure sensor, which are respectively described below.
[0059] Figure 1 A schematic flow chart of an embodiment of a failure warning method for a temperature and pressure sensor provided by the present invention is shown in FIG. Figure 1 As shown, the failure warning method of the temperature and pressure sensor includes:
[0060] S101, acquiring a voltage signal collected by a temperature and pressure sensor, and determining a fault diagnosis count based on the voltage signal;
[0061] S102, filtering the voltage signal to obtain a filtered signal, and determining a signal abnormality count based on the voltage signal and the filtered signal;
[0062] S103: When the fault diagnosis count and the signal abnormality count are both greater than zero, a failure warning is issued for the temperature and pressure sensor based on the constructed failure risk assessment model.
[0063] The temperature and pressure sensor in step S101 may collect voltage signals according to a preset sampling step, and each voltage signal represents a current sampling point, that is, a voltage signal at the current moment.
[0064] The filtering method in step S102 may be any one of moving average filtering, median filtering, Kalman filtering and infinite impulse response filtering methods. The specific filtering method may be selected and adjusted according to the actual application scenario.
[0065] It should be noted that: after the temperature and pressure sensor is installed and used, the fault diagnosis count and signal abnormality count are continuously accumulated. When the temperature and pressure sensor is maintained or replaced, the fault diagnosis count and signal abnormality count need to be reset.
[0066] Compared with the prior art, the failure warning method of the temperature and pressure sensor provided in the embodiment of the present invention can realize failure warning of the temperature and pressure sensor based on fault diagnosis counts, signal abnormality counts and a constructed failure risk assessment model, thereby ensuring the reliability of the temperature and pressure sensor during use.
[0067] Furthermore, the embodiment of the present invention uses the determined fault diagnosis count and signal abnormality count as the premise of failure warning, thereby avoiding the problem of unreliable failure warning results caused by failure warning of the temperature and pressure sensor only by fault diagnosis count or only by signal abnormality count, that is, based on the constructed failure risk assessment model, thereby achieving accurate failure warning and further improving the reliability of the temperature and pressure sensor during use.
[0068] In some embodiments of the present invention, determining a fault diagnosis count based on a voltage signal includes:
[0069] Determine whether the voltage signal meets the fault condition; when the voltage signal meets the fault condition, obtain the accumulated fault diagnosis count, and add one to the accumulated fault diagnosis count as the fault diagnosis count.
[0070] The accumulated fault diagnosis count represents whether there is a fault in the pressure signal sampled by the temperature and pressure sensor at the previous sampling point.
[0071] In some embodiments of the present invention, the fault condition includes a voltage limit and a preset anti-shake time; Figure 2 As shown, judging whether the voltage signal meets the fault condition includes:
[0072] S201, determining whether the voltage value of the voltage signal is greater than the voltage limit;
[0073] S202, when the voltage value is greater than the voltage limit, record the duration of the voltage value being greater than the voltage limit, and determine whether the duration is greater than a preset anti-shake time;
[0074] S203: When the duration is greater than the preset anti-shake time, the voltage signal meets the fault condition.
[0075] It should be understood that: the voltage limit value includes a voltage upper limit value and a voltage lower limit value, and the voltage value being greater than the voltage limit value in step S202 means: the voltage value is less than the voltage lower limit value or the voltage value is greater than the voltage upper limit value.
[0076] It should be noted that the voltage upper limit value, the voltage lower limit value and the preset anti-shake time can be set or adjusted according to the actual application scenario and are not specifically limited here.
[0077] In some embodiments of the present invention, Figure 3 As shown, determining the signal abnormality count based on the voltage signal and the filtered signal in step S102 includes:
[0078] S301, determining a difference between a voltage signal and a filtered signal, and judging whether an absolute value of the difference is greater than a preset difference;
[0079] S302: When the absolute value of the difference is greater than the preset difference, the accumulated signal abnormality count is obtained, and the accumulated signal abnormality count is increased by one to be used as the signal abnormality count.
[0080] The accumulated signal anomaly count represents whether there is a signal anomaly in the pressure signal sampled by the temperature pressure sensor at the previous sampling point.
[0081] It should be understood that the preset difference should be reasonably set or adjusted according to the actual application scenario, and no specific limitation is made here.
[0082] In a specific embodiment of the present invention, the failure risk assessment model is:
[0083] S=(A*Num1+B*Num2)*C
[0084] Where S is the current failure risk score of the temperature and pressure sensor; A is the fault diagnosis weight coefficient; B is the signal abnormality weight coefficient; C is the failure risk coefficient; Num1 is the fault diagnosis count; and Num2 is the signal abnormality count.
[0085] To ensure the accuracy of the failure risk assessment model, in some embodiments of the present invention, Figure 4 As shown, before step S103, it also includes:
[0086] S401, obtaining historical failure data of temperature and pressure sensors;
[0087] S402, determining the total number of faults and the number of electrical faults in the historical fault failure data, and determining a fault diagnosis weight coefficient based on the number of electrical faults and the total number of faults;
[0088] S403, obtaining a constraint relationship between a fault diagnosis weight coefficient and a signal abnormality weight coefficient, and determining the signal abnormality weight coefficient based on the constraint relationship and the fault diagnosis weight coefficient;
[0089] S404, obtaining the frequency of occurrence of electrical faults on the current vehicle model, and determining a failure risk coefficient based on the frequency of occurrence;
[0090] S405: construct a failure risk assessment model based on the fault diagnosis weight coefficient, the signal abnormality weight coefficient and the failure risk coefficient.
[0091] The embodiment of the present invention constructs a failure risk assessment model based on historical fault failure data, thereby improving the accuracy and reliability of the constructed failure risk assessment model.
[0092] The historical fault failure data in step S401 may be obtained by statistics from a cloud big data platform, or may be obtained based on statistics from offline historical fault records.
[0093] The fault diagnosis weight coefficient in step S402 is the ratio of the number of electrical faults to the total number of faults.
[0094] The constraint relationship in step S403 is: the sum of the fault diagnosis weight coefficient and the signal abnormality weight coefficient is 0. Therefore, after obtaining the fault diagnosis weight coefficient, the signal abnormality weight coefficient can be directly determined according to the constraint relationship.
[0095] It should be noted that the corresponding relationship between the occurrence frequency and the failure risk level in step S404 can be calibrated according to actual conditions.
[0096] In some embodiments of the present invention, Figure 5 As shown, step S103 includes:
[0097] S501, determining a primary failure risk value, a medium failure risk value, and a high failure risk value;
[0098] S502, determining a current failure risk score of the temperature and pressure sensor based on a failure risk assessment model, a fault diagnosis count, and a signal abnormality count;
[0099] S503 : Determine the failure risk level of the temperature and pressure sensor based on the current failure risk score, the primary failure risk value, the intermediate failure risk value, and the high failure risk value.
[0100] The embodiment of the present invention can refine the failure risk level by determining the primary failure risk value, the intermediate failure risk value, the advanced failure risk value and the current failure risk score, thereby realizing the monitoring of the failure process of the temperature and pressure sensor.
[0101] In a specific embodiment of the present invention, the primary failure risk value is less than the intermediate failure risk value, and the intermediate failure risk value is less than the advanced failure risk value. The primary failure risk value, the intermediate failure risk value, and the advanced failure risk value can be set or adjusted according to actual application scenarios, such as actual vehicle models, and are not specifically limited here.
[0102] In a specific embodiment of the present invention, the failure risk level includes low-level risk, medium-level risk and high-level risk, and step S503 is specifically as follows: when the current failure risk score is less than the primary failure risk value, there is no risk; when the current failure risk score is greater than or equal to the primary failure risk value but less than the high-level failure risk value, the failure risk level is primary risk; when the current failure risk score is greater than or equal to the medium failure risk value but less than the high-level failure risk value, the failure risk level is medium risk; when the current failure risk score is greater than the high-level failure risk value, the failure risk level is high-level risk.
[0103] In order to enable the staff to intuitively know the current failure level of the temperature and pressure sensor, in some embodiments of the present invention, the failure warning method of the temperature and pressure sensor further includes:
[0104] When the failure risk level is low, an early warning is issued based on the primary risk early warning strategy;
[0105] When the failure risk level is medium risk, an early warning is issued based on the medium risk early warning strategy;
[0106] When the failure risk level is a high risk, an early warning is issued based on the high-level risk early warning strategy.
[0107] Among them, the primary risk warning strategy and the intermediate risk warning strategy are both light warnings, specifically: the primary risk warning strategy is: turn on the yellow light, and the intermediate risk warning strategy is to turn on the red light. The advanced risk warning strategy is sound and light warning, specifically: when the red light is on, a warning sound is issued through the buzzer, so that the staff can know the current failure level of the temperature and pressure sensor, and when the current failure level is a high risk, the staff is immediately reminded to repair or replace the temperature and pressure sensor.
[0108] The fault detection process of the traditional temperature and pressure sensor is: determine whether the voltage value of the voltage signal is greater than the voltage limit; when the voltage value is greater than the voltage limit, and the duration of the voltage value greater than the voltage limit is greater than the preset anti-shake time, determine that a fault has occurred at this time. However, this fault detection method has the following technical problems: when the vehicle is running under vibration conditions, false alarms are very likely to occur, that is, there will be technical problems such as inaccurate fault detection.
[0109] In order to solve the above technical problems, in some embodiments of the present invention, Figure 6 As shown, the failure warning method of the temperature and pressure sensor also includes:
[0110] S601, when the voltage signal meets the fault condition, determine whether the signal abnormality count is greater than zero;
[0111] S602: When the signal abnormality count is greater than zero, the temperature and pressure sensor reports a fault.
[0112] Compared with the prior art, the present invention does not report a fault when the voltage signal meets the fault condition, but judges the signal abnormality count on the premise that the voltage signal meets the fault condition. When the signal abnormality count is greater than zero, the temperature and pressure sensor reports a fault, thereby improving the accuracy and reliability of fault reporting.
[0113] Take the EGR temperature sensor in a certain engine as an example. When the engine is running normally, the temperature of the EGR after cooling is about 220°C, and the voltage feedback is about 2.4V. Before the temperature sensor fails completely, the voltage feedback from the temperature sensor after the EGR is cooled will jump, and the highest voltage will reach about 3.5V. At this time, the sensor signal abnormality will be identified, and the signal abnormality count will begin to accumulate. However, the voltage of 3.5V will not trigger the temperature sensor voltage exceeding the upper and lower limits, so the fault diagnosis count will not accumulate. The failure risk assessment model is not triggered at this time. When the voltage of the temperature sensor exceeds the upper and lower limits, the failure risk assessment model will be triggered to determine the failure risk level, and the failure risk level will be evaluated and warned.
[0114] In order to better implement the failure warning method of the temperature and pressure sensor in the embodiment of the present invention, based on the failure warning method of the temperature and pressure sensor, the embodiment of the present invention also provides a failure warning device of the temperature and pressure sensor, such as Figure 7 As shown, the failure warning device 700 of the temperature and pressure sensor includes:
[0115] A fault diagnosis count determination unit 701 is used to obtain a voltage signal collected by a temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal;
[0116] A signal abnormality count determining unit 702 is used to filter the voltage signal to obtain a filtered signal, and determine a signal abnormality count based on the voltage signal and the filtered signal;
[0117] The failure warning unit 703 is used to issue a failure warning to the temperature and pressure sensor based on the constructed failure risk assessment model when the fault diagnosis count and the signal abnormality count are both greater than zero.
[0118] The failure warning device 700 for the temperature and pressure sensor provided in the above embodiment can implement the technical solution described in the above embodiment of the failure warning method for the temperature and pressure sensor. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above embodiment of the failure warning method for the temperature and pressure sensor, which will not be repeated here.
[0119] like Figure 8 As shown, the present invention also provides a temperature and pressure sensor detection device 800. The temperature and pressure sensor detection device 800 includes a processor 801, a memory 802 and a display 803. Figure 8 Only some components of the temperature and pressure sensor detection device 800 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0120] In some embodiments, the processor 801 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 802, such as the failure warning method of the temperature and pressure sensor in the present invention.
[0121] In some embodiments, the processor 801 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 801 may be local or remote. In some embodiments, the processor 801 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.
[0122] In some embodiments, the memory 802 may be an internal storage unit of the temperature and pressure sensor detection device 800, such as a hard disk or memory of the temperature and pressure sensor detection device 800. In other embodiments, the memory 802 may also be an external storage device of the temperature and pressure sensor detection device 800, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc., equipped on the temperature and pressure sensor detection device 800.
[0123] Furthermore, the memory 802 may include both an internal storage unit of the temperature and pressure sensor detection device 800 and an external storage device. The memory 802 is used to store application software installed in the temperature and pressure sensor detection device 800 and various data.
[0124] In some embodiments, the display 803 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 803 is used to display information of the temperature and pressure sensor detection device 800 and to display a visual user interface. The components 801-803 of the temperature and pressure sensor detection device 800 communicate with each other through a system bus.
[0125] In one embodiment, when the processor 801 executes the failure warning program of the temperature and pressure sensor in the memory 802, the following steps may be implemented:
[0126] Acquire a voltage signal collected by a temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal;
[0127] filtering the voltage signal to obtain a filtered signal, and determining a signal abnormality count based on the voltage signal and the filtered signal;
[0128] When the fault diagnosis count and signal abnormality count are both greater than zero, a failure warning is issued for the temperature and pressure sensor based on the constructed failure risk assessment model.
[0129] It should be understood that: when the processor 801 executes the failure warning program of the temperature and pressure sensor in the memory 802, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.
[0130] Furthermore, the embodiment of the present invention does not specifically limit the type of the temperature and pressure sensor detection device 800 mentioned. The temperature and pressure sensor detection device 800 can be a portable temperature and pressure sensor detection device such as a mobile phone, a tablet computer, a personal digital assistant (PDA), a wearable device, a laptop computer (laptop), etc. Exemplary embodiments of portable temperature and pressure sensor detection devices include but are not limited to portable temperature and pressure sensor detection devices equipped with IOS, Android, Microsoft or other operating systems. The above-mentioned portable temperature and pressure sensor detection device may also be other portable temperature and pressure sensor detection devices, such as a laptop computer (laptop) with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, the temperature and pressure sensor detection device 800 may not be a portable temperature and pressure sensor detection device, but a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0131] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, it can implement the steps or functions of the failure warning method of the temperature and pressure sensor provided in the above-mentioned method embodiments.
[0132] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0133] The above is a detailed introduction to the failure warning method and device of the temperature and pressure sensor provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A failure warning method for a temperature and pressure sensor, It is characterized in that include: Acquire a voltage signal collected by a temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal; filtering the voltage signal to obtain a filtered signal, and determining a signal abnormality count based on the voltage signal and the filtered signal; When the fault diagnosis count and the signal abnormality count are both greater than zero, a failure warning is issued to the temperature and pressure sensor based on the constructed failure risk assessment model; The failure risk assessment model is: In the formula, is the current failure risk score of the temperature and pressure sensor; is the fault diagnosis weight coefficient; is the signal anomaly weight coefficient; is the failure risk factor; Count for fault diagnosis; Counts signal anomalies; The failure risk assessment model based on the constructed failure risk assessment model is used to provide a failure warning for the temperature and pressure sensor, including: Determine the primary failure risk value, the intermediate failure risk value, and the high failure risk value; determining a current failure risk score of the temperature and pressure sensor based on the failure risk assessment model, the fault diagnosis count, and the signal anomaly count; A failure risk level of the temperature and pressure sensor is determined based on the current failure risk score, the primary failure risk value, the intermediate failure risk value, and the high failure risk value.
2. The failure warning method of the temperature and pressure sensor according to claim 1, It is characterized in that The determining of a fault diagnosis count based on the voltage signal comprises: determining whether the voltage signal satisfies a fault condition; When the voltage signal meets the fault condition, the accumulated fault diagnosis count is acquired, and the accumulated fault diagnosis count is incremented by one to obtain the fault diagnosis count.
3. The failure warning method of the temperature and pressure sensor according to claim 2, It is characterized in that The fault conditions include voltage limit and preset anti-shake time; Then, determining whether the voltage signal meets the fault condition includes: Determining whether the voltage value of the voltage signal is greater than the voltage limit; When the voltage value is greater than the voltage limit, recording the duration of the voltage value being greater than the voltage limit, and determining whether the duration is greater than the preset anti-shake time; When the duration is greater than the preset anti-shake time, the voltage signal meets the fault condition.
4. The failure warning method of the temperature and pressure sensor according to claim 1, It is characterized in that The determining of a signal abnormality count based on the voltage signal and the filtered signal comprises: Determine a difference between the voltage signal and the filtered signal, and determine whether an absolute value of the difference is greater than a preset difference; When the absolute value of the difference is greater than the preset difference, the accumulated signal abnormality count is acquired, and the accumulated signal abnormality count is incremented by one to obtain the signal abnormality count.
5. The failure warning method of the temperature and pressure sensor according to claim 1, It is characterized in that Before the failure risk assessment model is used to provide a failure warning for the temperature and pressure sensor, the method further includes: Acquire historical failure data of the temperature and pressure sensor; Determine the total number of faults and the number of electrical faults in the historical fault failure data, and determine the fault diagnosis weight coefficient based on the number of electrical faults and the total number of faults; Acquire a constraint relationship between the fault diagnosis weight coefficient and the signal abnormality weight coefficient, and determine the signal abnormality weight coefficient based on the constraint relationship and the fault diagnosis weight coefficient; Obtaining the frequency of occurrence of the electrical fault on the current vehicle model, and determining the failure risk coefficient based on the frequency of occurrence; The failure risk assessment model is constructed based on the fault diagnosis weight coefficient, the signal abnormality weight coefficient and the failure risk coefficient.
6. The failure warning method of the temperature and pressure sensor according to claim 1, It is characterized in that The failure risk levels include low risk, medium risk and high risk; the method further includes: When the failure risk level is the low-level risk, an early warning is issued based on the primary risk early warning strategy; When the failure risk level is the medium risk, an early warning is issued based on the medium risk early warning strategy; When the failure risk level is the high-level risk, a warning is issued based on a high-level risk warning strategy.
7. A failure warning device for a temperature and pressure sensor, It is characterized in that include: a fault diagnosis count determination unit, configured to obtain a voltage signal collected by the temperature and pressure sensor, and determine a fault diagnosis count based on the voltage signal; a signal abnormality count determining unit, configured to filter the voltage signal to obtain a filtered signal, and determine a signal abnormality count based on the voltage signal and the filtered signal; A failure warning unit, configured to provide a failure warning for the temperature and pressure sensor based on a constructed failure risk assessment model when the fault diagnosis count and the signal abnormality count are both greater than zero; The failure risk assessment model is: In the formula, is the current failure risk score of the temperature and pressure sensor; is the fault diagnosis weight coefficient; is the signal anomaly weight coefficient; is the failure risk factor; Count for fault diagnosis; Counts signal anomalies; The failure risk assessment model based on the constructed failure risk assessment model is used to provide a failure warning for the temperature and pressure sensor, including: Determine the primary failure risk value, the intermediate failure risk value, and the high failure risk value; determining a current failure risk score of the temperature and pressure sensor based on the failure risk assessment model, the fault diagnosis count, and the signal anomaly count; A failure risk level of the temperature and pressure sensor is determined based on the current failure risk score, the primary failure risk value, the intermediate failure risk value, and the high failure risk value.
