Fault diagnosis and fault-tolerant control method and device for engine temperature sensor and medium
By building a virtual temperature sensor model and combining redundant control methods, the accuracy and adaptability of engine temperature sensor fault diagnosis and fault-tolerant control are solved, and more efficient fault diagnosis and fault-tolerant processing are achieved, and the engine operation stability is improved. and performance.
Patent Information
- Application Number
- CN202411116920.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art cannot accurately diagnose the fault type of engine temperature sensors, and the fault-tolerant control lacks adaptability and flexibility, resulting in a degradation of engine performance.
By constructing a virtual temperature sensor model, combining the temperature sensor acquisition value and predicted value, determining the fault type, and using a combination of physical redundancy and digital redundancy control for fault tolerance, including physical redundancy control and digital redundancy control.
It improves the accuracy and accuracy of engine temperature sensor fault diagnosis, enhances the efficiency and flexibility of fault-tolerant control, and ensures the stability and reliability of engine operation.
Smart Images

Figure CN119021797A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of diesel engine electronic control, and in particular to a method, device and medium for fault diagnosis and fault-tolerant control of an engine temperature sensor. Background Art
[0002] The engine temperature reflects the current working state of the engine and plays a key role in engine control. In addition, when the engine is working abnormally, the electronic control system can take self-protection measures based on the temperature signal, so the normal operation of the temperature sensor and the handling measures after the failure are particularly important.
[0003] Fault diagnosis: (1) There are many types of engine temperature sensor faults. Traditional fault diagnosis methods can usually only detect short circuit faults and open circuit faults, and cannot specifically diagnose the specific fault type of the engine temperature sensor; (2) With the continuous changes in engine operating conditions and the increasing number of temperature sensor types, fault diagnosis becomes more difficult, and higher requirements are placed on the timeliness and accuracy of fault diagnosis.
[0004] In terms of fault-tolerant control: (1) After an engine sensor fails, the traditional solution is to directly limit the engine power output. This method causes engine performance to decline and is unable to make different fault-tolerant control methods for different types of temperature sensor failures; (2) During engine operation, in order to ensure normal engine control, it is necessary to perform appropriate fault-tolerant control on the temperature sensor after the failure, which places higher requirements on the adaptability and accuracy of fault-tolerant control. Summary of the invention
[0005] The purpose of this application is to provide an engine temperature sensor fault diagnosis and fault-tolerant control method, device and medium, which can improve the accuracy and speed of temperature sensor fault diagnosis for engine monitoring, while improving the efficiency and flexibility of fault-tolerant control.
[0006] To achieve the above objectives, this application provides the following solutions:
[0007] In a first aspect, the present application provides an engine temperature sensor fault diagnosis and fault-tolerant control method, wherein the engine temperature sensor fault diagnosis and fault-tolerant control method is applied to an engine system, wherein the engine system comprises:
[0008] Engine, electronic control unit and multi-channel temperature sensor mechanism;
[0009] The multiple temperature sensor mechanisms are all connected to the engine; the multiple temperature sensor mechanisms are all connected to the electronic control unit; the multiple temperature sensor mechanisms all obtain the temperature sensor collection value at the engine;
[0010] The electronic control unit is used to generate a control signal according to the temperature sensor acquisition value at the engine obtained by the operating temperature sensor mechanism; at the same time, only one temperature sensor mechanism among the multiple temperature sensor mechanisms is the operating temperature sensor mechanism; all the temperature sensor mechanisms other than the operating temperature sensor mechanism are backup temperature sensor mechanisms;
[0011] The engine temperature sensor fault diagnosis and fault tolerance control method comprises:
[0012] Based on the operating parameters of the engine, construct a virtual temperature sensor model;
[0013] Obtaining a temperature sensor acquisition value obtained by the operating temperature sensor mechanism;
[0014] Get the temperature sensor prediction value output by the virtual temperature sensor model;
[0015] Determining a fault type of an operating temperature sensor mechanism based on the temperature sensor collected value and the temperature sensor predicted value;
[0016] Based on the fault type, fault-tolerant control is performed on the engine system.
[0017] Optionally, determining the fault type of the operating temperature sensor mechanism based on the temperature sensor collected value and the temperature sensor predicted value includes:
[0018] Determine that the ratio of the temperature sensor acquisition value at the current moment to the temperature sensor acquisition value at the previous moment is the signal change rate at the current moment;
[0019] When the signal change rate at the current moment is equal to the first preset signal change rate threshold, determine whether the duration of the signal change rate before the current moment being equal to the first preset signal change rate threshold reaches a preset duration, and obtain a first determination result;
[0020] If the first judgment result is yes, determining that the fault type of the operating temperature sensor mechanism is a failure fault;
[0021] If the first judgment result is no, determining the difference between the temperature sensor prediction value at the current moment and the temperature sensor collection value at the current moment as the residual at the current moment;
[0022] When the residual at the current moment exceeds the preset residual range, determine whether the duration for which the residual before the current moment exceeds the preset residual range reaches a preset duration, and obtain a second determination result;
[0023] If the second judgment result is yes, determining that the fault type of the operating temperature sensor mechanism is a deviation fault;
[0024] If the second judgment result is no, then when the signal change rate at the current moment is less than the second preset signal change rate threshold, obtain the frequency of the signal change rate within the first preset time period before the current moment being less than the second preset signal change rate threshold;
[0025] Determine whether the frequency is greater than a first preset frequency threshold, and obtain a third determination result;
[0026] If the third judgment result is yes, then determining that the fault type of the operating temperature sensor mechanism is a virtual connection fault;
[0027] If the second judgment result is no, it is determined that the operating temperature sensor mechanism operates normally.
[0028] Optionally, the failure fault is a short circuit fault or an open circuit fault.
[0029] Optionally, the first preset signal change rate threshold is 1;
[0030] The second preset signal change rate threshold is 0.8.
[0031] Optionally, based on the fault type, performing fault-tolerant control on the engine system includes:
[0032] When there is a fault in the operating temperature sensor mechanism, physical redundancy control is performed; the physical redundancy control is to switch any backup temperature sensor mechanism to the operating temperature sensor mechanism;
[0033] Digital redundant control is performed when all temperature sensor mechanisms fail.
[0034] Optionally, the digital redundancy control includes:
[0035] When the fault type of the operating temperature sensor mechanism is a sudden change signal fault, the temperature sensor acquisition value at the previous moment is input into the electronic control unit as the temperature sensor acquisition value at the current moment until the sudden change signal fault elimination condition is met;
[0036] When the fault type of the operating temperature sensor mechanism is a non-mutation fault, a gradient slow change replacement method is used to take the temperature sensor prediction value as the temperature sensor collection value until the non-mutation fault elimination condition is met.
[0037] Optionally, the mutation signal fault includes a virtual connection fault;
[0038] The non-mutation faults include short circuit faults, open circuit faults and deviation faults.
[0039] Optionally, the condition for eliminating the sudden change signal fault is: the frequency of the signal change rate being less than the second preset signal change rate threshold within the second preset time period is 0;
[0040] The non-mutation fault elimination conditions include: failure fault elimination conditions and deviation fault elimination conditions;
[0041] The failure elimination condition is: the frequency of the signal change rate not equal to the first preset signal change rate threshold within the preset time length reaches the second preset frequency threshold;
[0042] The deviation fault elimination condition is: whether the duration of the residual being within the preset residual range reaches a preset duration.
[0043] In a second aspect, the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the above-mentioned engine temperature sensor fault diagnosis and fault-tolerant control method.
[0044] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-mentioned engine temperature sensor fault diagnosis and fault-tolerant control method.
[0045] According to the specific embodiments provided in this application, this application discloses the following technical effects:
[0046] The present application provides an engine temperature sensor fault diagnosis and fault-tolerant control method, device and medium, which is applied to an engine system, and includes: constructing a virtual temperature sensor model based on the engine's operating parameters. Obtaining the temperature sensor acquisition value acquired by the operating temperature sensor mechanism; obtaining the temperature sensor prediction value output by the virtual temperature sensor model; determining the fault type of the operating temperature sensor mechanism based on the temperature sensor acquisition value and the temperature sensor prediction value; performing fault-tolerant control on the engine system based on the fault type; improving the real-time and accuracy of the engine temperature sensor fault diagnosis and the adaptability and accuracy of the fault-tolerant control.
[0047] By using this fault diagnosis algorithm, four types of engine temperature sensor faults can be accurately diagnosed, and two types of faults, virtual connection fault and deviation, can be expanded to realize four types of fault diagnosis, namely open circuit fault, short circuit fault, deviation fault and virtual connection fault; for open circuit fault, short circuit fault and deviation fault, a continuous fault counting method is adopted, that is, the fault continues to occur for a period of time; for virtual connection fault, a time period fault counting method is adopted, that is, the fault is counted within a period of time. By combining the two fault counting methods, the accuracy of fault diagnosis is greatly improved and the false alarm rate is reduced; the fault diagnosis priority is set. When the engine temperature sensor fails, multiple fault types may be diagnosed. By making priority judgments on different fault types, it is ensured that a temperature sensor will eventually have only one fault type. By judging the priority of the fault type, the accuracy of fault diagnosis is further improved.
[0048] Digital redundancy is added. By using a fault-tolerant control method that combines physical redundant control and digital redundant control, faulty sensors are fault-tolerantly controlled at the hardware level and software level respectively, thereby improving the efficiency and flexibility of fault-tolerant control. From the perspective of temperature signal changes, common temperature sensor faults are subdivided into mutation faults and non-mutation faults. Non-mutation faults are processed by replacing the predicted value, while for mutation faults, the temperature sensor collected value before the mutation is used as the substitute temperature value input into the ECU. Digital redundant control adopts different replacement schemes for different temperature sensor fault types, thereby improving the adaptability of fault-tolerant control. In the process of switching the predicted value of digital redundant control, a gradient slow-changing replacement method is proposed to make the temperature signal gradient approach the predicted value, prevent the engine control signal from changing suddenly, and improve the stability and reliability of engine operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0050] Figure 1 This is a flow chart of a method for fault diagnosis and fault-tolerant control of an engine temperature sensor in one embodiment of the present application;
[0051] Figure 2 A schematic diagram of resource environment for a method for fault diagnosis and fault-tolerant control of an engine temperature sensor in one embodiment of the present application;
[0052] Figure 3 This is a schematic diagram of a method for fault diagnosis and fault-tolerant control of an engine temperature sensor in one embodiment of the present application;
[0053] Figure 4 This is a schematic diagram of a fault-tolerant control method in an embodiment of the present application;
[0054] Figure 5 A schematic diagram of the structure of a computer device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0055] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0056] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0057] In an exemplary embodiment, an engine temperature sensor fault diagnosis and fault-tolerant control method is applied to an engine system, and the engine system includes: an engine, an electronic control unit, and a multi-channel temperature sensor mechanism. The multi-channel temperature sensor mechanism is connected to the engine. The multi-channel temperature sensor mechanism is connected to the electronic control unit. The multi-channel temperature sensor mechanism obtains the temperature sensor acquisition value at the engine. The electronic control unit is used to generate a control signal according to the temperature sensor acquisition value at the engine obtained by the operating temperature sensor mechanism. At the same time, only one temperature sensor mechanism in the multi-channel temperature sensor mechanism is an operating temperature sensor mechanism. All temperature sensor mechanisms other than the operating temperature sensor mechanism are backup temperature sensor mechanisms.
[0058] like Figure 1 , an engine temperature sensor fault diagnosis and fault-tolerant control method, comprising:
[0059] Step 101: Construct a virtual temperature sensor model based on the operating parameters of the engine.
[0060] Step 102: Obtain the temperature sensor acquisition value obtained by the operating temperature sensor mechanism.
[0061] Step 103: Obtain the temperature sensor prediction value output by the virtual temperature sensor model.
[0062] Step 104: Determine the fault type of the operating temperature sensor mechanism based on the temperature sensor collected value and the temperature sensor predicted value.
[0063] Step 105: Based on the fault type, perform fault-tolerant control on the engine system.
[0064] The resource environment of engine temperature sensor and fault-tolerant control method is as follows Figure 2 As shown, the virtual temperature sensor model 2 is used to calculate the predicted value of the temperature sensor 3 online, which is used as a reference value in the fault diagnosis strategy and a substitute value in the fault-tolerant control. The parameters of the virtual temperature sensor model are derived from the engine 1. The temperature sensor 3 includes an oil temperature sensor, a fuel temperature sensor, a coolant temperature sensor, an intake temperature sensor and an exhaust temperature sensor, which are used to receive the temperature from the engine 1 and output the collected value of the temperature sensor 3. The fault diagnosis algorithm 4 calculates the predicted value of the virtual temperature sensor model 2 and the collected value of the temperature sensor 3, and combines the characteristics of the temperature signal to determine the sensor fault type 5, including four types of faults: open circuit fault 8, short circuit fault 9, deviation fault 10, and virtual connection fault 11. Open circuit fault 8 and short circuit fault 9 refer to faults in which the collected value of the temperature sensor 3 remains constant under normal driving conditions. At this time, the temperature sensor 3 has lost its temperature collection capability. This type of fault is manifested as a constant output, which is easier to detect and identify. Deviation fault 10 refers to the difference between the collected value of temperature sensor 3 and the normal value, which increases with the increase of running time. When the difference increases, it will exceed the over-temperature alarm value, which will affect the running state of engine 1. Virtual connection fault 11 refers to the connection between temperature sensor 3 and wiring harness is not firm enough, which causes the temperature sensor 3 to work unstably, and then return to normal after a short period of large fluctuations. Virtual connection fault 11 causes the temperature value obtained by ECU7 to change dramatically in a short period of time, affecting the stable operation of engine 1 and the triggering of protection strategy.
[0065] Fault-tolerant control 6 includes two aspects. The first aspect is physical redundancy control 12, which means backing up multiple mechanisms with the same functions for one operating mechanism. When a mechanism fails, the backup mechanism will replace it for execution. The redundancy of hardware backup can tolerate performance degradation and accurately improve system reliability. For example, the sensors of key parts of the engine generally include two channels. When one sensor fails, another normal sensor can be used to replace it to achieve physical redundancy fault control; the second aspect is digital redundancy control 13. When only one temperature sensor 3 fails or multiple temperature sensors 3 fail, digital redundancy control 13 is used. This method is based on fault diagnosis and separation (FDD) technology. In view of the characteristics of slow and small changes in temperature sensor 3, from the perspective of temperature signal change rate, the fault forms of temperature sensor 3 are mainly divided into two categories, mutation signal fault (virtual connection fault 11) and non-mutation fault (short circuit fault 9, open circuit fault 8, deviation fault 10). When the temperature sensor 3 has a virtual connection fault 11, the temperature signal changes rapidly and significantly, the temperature is intermittent, and the temperature signal can quickly return to normal after the significant change. Therefore, after the fault diagnosis algorithm 4 determines that the temperature sensor 3 has a virtual connection fault 11, if the temperature signal suddenly changes again, the collected value of the temperature sensor 3 before the sudden change is selected as the temperature this time and used for the calculation of other modules in the electronic control unit (Electronic Control Unit, ECU) 7 program until the virtual connection fault 11 is cleared. For the fault form of non-mutation signal, such as short circuit fault 9, open circuit fault 8 and deviation fault 10, in the early stage of the fault, the collected value signal of the temperature sensor 3 often deviates slowly until the residual of the collected value of the temperature sensor 3 and the predicted value of the virtual temperature sensor model 2 exceeds the normal threshold, and the signal seriously deviates from the normal range. When the fault diagnosis algorithm 4 determines that the temperature sensor 3 has such a fault, the predicted value of the virtual temperature sensor model 2 replaces the collected value of the temperature sensor 3 as the input signal controlled by the ECU7.
[0066] When using the predicted value of the sensor virtual temperature sensor model 2 to replace the collected value of the temperature sensor 3, the virtual temperature sensor model has a certain error and it takes some time to confirm the deviation fault. Therefore, in the replacement process after confirming the fault, the temperature signal often has a large difference with the predicted value of the sensor virtual temperature sensor model 2, and direct replacement affects the stability of ECU control. Therefore, the replacement process adopts gradient slow change replacement 14.
[0067] The present application completes engine temperature sensor fault diagnosis and fault-tolerant control based on physical redundancy or digital redundancy, wherein physical redundancy is the mutual detection and substitution between temperature sensors, digital redundancy is the virtual temperature sensor model in the software, and fault-tolerant control is a control substitution method to ensure that the engine can still work normally after a temperature sensor fails, including both physical redundancy control and digital redundancy control.
[0068] Figure 3 This is a schematic diagram of an engine temperature sensor fault diagnosis and fault tolerance control method in one embodiment of the present application. Figure 3 As shown, the engine temperature sensor fault diagnosis and fault tolerance control method includes:
[0069] S201: According to the engine performance simulation model, determine the specific parameters that affect the sensor temperature and build a virtual temperature sensor model. The influence of the operating parameters of the engine performance simulation model on the engine temperature is studied and analyzed, and the circulating oil volume, air flow, air-fuel ratio, altitude, speed, etc. are used as input parameters of the temperature virtual temperature sensor model to build a virtual temperature sensor model.
[0070] S202: Calculate the received virtual temperature sensor model prediction value and the temperature sensor acquisition value. Calculate the residual between the virtual temperature sensor model prediction value and the temperature sensor acquisition value and the ratio of the current acquisition value to the previous acquisition value (signal change rate), which are used in the subsequent fault diagnosis algorithm to determine the sensor fault type.
[0071] S203: Determine the specific fault type of the temperature sensor according to the fault diagnosis algorithm, which specifically includes a short circuit fault, an open circuit fault, a deviation fault, and a virtual connection fault.
[0072] The residual calculated in S202 is diagnosed for faults. Specifically, when the residual of the virtual temperature sensor model prediction value and the temperature sensor acquisition value exceeds the set normal threshold value range for a certain number of times in a continuous period of time, it is used as a basis for judging the temperature sensor deviation fault; the acquisition value signal change rate calculated in S202 is diagnosed for faults. Specifically, when the ratio of the current acquisition value of the temperature sensor to the previous acquisition value is constant at 1 for a certain number of times in a continuous period of time, it is used as a basis for judging the short circuit fault and open circuit fault of the temperature sensor; when the ratio of the current acquisition value of the temperature sensor to the previous acquisition value is less than 0.8 for a certain number of times in a continuous period of time, it is used as a basis for judging the virtual connection fault of the temperature sensor. After the fault occurs, the fault clearance judgment is performed. If the fault clearance conditions are met, the corresponding fault is cleared.
[0073] S204: Perform fault-tolerant control for specific fault types, first perform physical redundancy control, and perform digital redundancy control if the physical redundancy control conditions are not met. When a sensor failure occurs, determine whether the engine has redundant sensors. If so, perform physical redundancy control and use the temperature signal of another redundant sensor; if there is no physical redundancy or both redundant temperature sensors fail, perform digital redundancy control and use the temperature signal before the mutation or the predicted value of the virtual temperature sensor model to replace the original fault signal.
[0074] S205: Input the sensor temperature signal replaced by the fault-tolerant control into the ECU to control the engine.
[0075] Specifically, step 104 includes: step 104-1 to step 104-10.
[0076] Step 104 - 1 : Determine the ratio of the temperature sensor collection value at the current moment to the temperature sensor collection value at the previous moment as the signal change rate at the current moment.
[0077] Step 104-2: When the signal change rate at the current moment is equal to the first preset signal change rate threshold, determine whether the duration of the signal change rate before the current moment being equal to the first preset signal change rate threshold reaches a preset duration, and obtain a first determination result. The first preset signal change rate threshold is 1.
[0078] Step 104-3: If the first judgment result is yes, determine that the fault type of the operating temperature sensor mechanism is a failure fault. The failure fault is a short circuit fault or an open circuit fault.
[0079] Step 104 - 4 : If the first judgment result is no, then determine that the difference between the temperature sensor prediction value at the current moment and the temperature sensor acquisition value at the current moment is the residual at the current moment.
[0080] Step 104 - 5 : When the residual at the current moment exceeds the preset residual range, determine whether the duration for which the residual before the current moment exceeds the preset residual range reaches a preset duration, and obtain a second determination result.
[0081] Step 104 - 6 : If the second judgment result is yes, determine that the fault type of the operating temperature sensor mechanism is a deviation fault.
[0082] Step 104-7: If the second judgment result is no, then when the signal change rate at the current moment is less than the second preset signal change rate threshold, obtain the frequency of the signal change rate less than the second preset signal change rate threshold in the first preset time period before the current moment. The second preset signal change rate threshold is 0.8.
[0083] Step 104 - 8 : Determine whether the frequency is greater than a first preset frequency threshold, and obtain a third determination result.
[0084] Step 104 - 9 : If the third judgment result is yes, determine that the fault type of the operating temperature sensor mechanism is a virtual connection fault.
[0085] Step 104 - 10: If the second judgment result is no, it is determined that the operating temperature sensor mechanism operates normally.
[0086] The fault diagnosis method described in step 104 of the present application uses a fault diagnosis method based on an analytical model. This method is real-time and can perform online detection of engine temperature sensor faults. This method builds a virtual temperature sensor model in the software, takes the residual between the virtual temperature sensor model prediction value and the sensor acquisition value as the key research object, analyzes the distribution law of the residual and sets the normal threshold range of the residual, and based on this, combined with the characteristics of the temperature signal itself, realizes short circuit, open circuit, drift, and virtual connection fault diagnosis, thereby improving the real-time and accuracy of fault diagnosis.
[0087] According to the fault type and fault manifestation, an active fault-tolerant control algorithm is formulated to adjust the control signal online. The active fault-tolerant control algorithm includes two aspects: physical redundancy control and digital redundancy control. A gradient slow-changing replacement method is used for the temperature signal after digital redundancy control, so that the temperature value is replaced with a gradient slow-changing replacement over time, thereby improving the stability and reliability of the system operation. The active fault-tolerant control algorithm described in step 105 includes: step 105-1 to step 105-2.
[0088] Step 105 - 1 : When the operating temperature sensor mechanism fails, physical redundancy control is performed. The physical redundancy control is to switch any backup temperature sensor mechanism to the operating temperature sensor mechanism.
[0089] Step 105 - 2 : When all temperature sensor mechanisms fail, perform digital redundant control.
[0090] The digital redundancy control includes: step 105-2-1 to step 105-2-2.
[0091] Step 105-2-1: When the fault type of the operating temperature sensor mechanism is a sudden signal fault, the temperature sensor acquisition value at the previous moment is input into the electronic control unit as the temperature sensor acquisition value at the current moment until the sudden signal fault elimination condition is met. The sudden signal fault includes a virtual connection fault. The sudden signal fault elimination condition is: the frequency of the signal change rate within the second preset time period being less than the second preset signal change rate threshold is 0.
[0092] Step 105-2-2: When the fault type of the operating temperature sensor mechanism is a non-mutation fault, a gradient slow change substitution method is used to use the temperature sensor prediction value as the temperature sensor collection value until the non-mutation fault elimination condition is met. Non-mutation faults include short circuit faults, open circuit faults and deviation faults. Non-mutation fault elimination conditions include: failure fault elimination conditions and deviation fault elimination conditions. The failure fault elimination condition is: the frequency of the signal change rate within the preset time length that is not equal to the first preset signal change rate threshold reaches the second preset frequency threshold. The deviation fault elimination condition is: whether the duration of the residual within the preset residual range reaches the preset duration.
[0093] like Figure 4 As shown, the fault-tolerant control method includes:
[0094] S301: Receive a residual between a virtual temperature sensor model prediction value and a temperature sensor acquisition value and a signal change rate of the temperature sensor acquisition value.
[0095] Specifically: the residual is the difference between the temperature sensor acquisition value and the predicted value of the sensor virtual temperature sensor model, and the signal change rate is the ratio of the current temperature sensor acquisition value to the previous temperature sensor acquisition value.
[0096] S302: Determine whether a deviation fault occurs based on whether the residual exceeds a normal threshold range for a certain number of times for a period of time, and perform deviation fault clearing processing.
[0097] Specifically: different threshold ranges are set according to different temperature sensors to determine whether the residual of the predicted value and the collected value exceeds the threshold range. When the residual exceeds the normal threshold range, the timing is triggered. If it continues to exceed the threshold for more than 20 seconds, the deviation fault is confirmed. After the fault is confirmed, when the residual returns to within the threshold, the timing is triggered. If it continues to return to within the threshold for more than 20 seconds, the deviation fault is cleared.
[0098] S303: According to whether the signal change rate is constantly 1 for a certain period of time and a certain number of times, it is determined that a circuit break fault or a short circuit fault occurs, and a fault clearing process is performed.
[0099] Specifically: when the signal change rate is 1, the timing is triggered. If the signal change rate is 1 for 20 seconds, the open circuit fault or short circuit fault is confirmed. After the fault is confirmed, when the signal change rate is not 1, the timing is triggered. If the number of times the signal change rate is not 1 for 20 seconds exceeds 15 times, the open circuit fault or short circuit fault is cleared.
[0100] S304: Determine whether a false connection fault occurs based on whether the signal change rate is less than 0.8 for a certain number of times for a period of time, and perform a false connection fault clearing process.
[0101] Specifically: when the signal change rate is less than 0.8, the timing is triggered. If the signal change rate is less than 0.8 for 4 times within 30 seconds, the false connection fault is confirmed. After the fault is confirmed, the timing starts. When the number of times the signal change rate is less than 0.8 within 40 seconds is 0, the false connection fault can be cleared.
[0102] S305: Determine the priority of the sensor fault type.
[0103] Specifically: the judgment conditions of different faults may be met at the same time under certain conditions, and multiple faults may occur at the same time. Therefore, the specific fault types of the sensor are prioritized, and failure faults (short circuit faults and open circuit faults) are set to the highest first priority; virtual connection faults have a smaller impact and are set to the lowest third priority; deviation faults are set to the second priority.
[0104] S306: Receive specific fault type of the sensor.
[0105] Specifically: the specific fault type of the sensor is determined according to the sensor fault priority. For example, if a virtual connection fault and a deviation fault occur at the same time, since the deviation fault has a second priority higher than the virtual connection fault's third priority, the sensor fault is determined to be a deviation fault.
[0106] S307: Perform physical redundancy control and use another temperature sensor signal to replace the faulty sensor signal.
[0107] Specifically: when a temperature sensor fails, a physical redundancy judgment is performed. If there is another identical temperature sensor, the signal of the other temperature sensor is used to replace the signal of the failed sensor. If there is only one temperature sensor, the physical redundancy control is skipped.
[0108] S308: Perform digital redundancy control.
[0109] Specifically: when a temperature sensor fails and physical redundant control cannot be performed, that is, only one temperature sensor or multiple temperature sensors fail, digital redundant control is performed. Temperature sensor failure types can be divided into two categories: sudden signal failure (virtual connection failure) and non-sudden failure (short circuit failure, open circuit failure, deviation failure). When a temperature sensor has a sudden signal failure, that is, a virtual connection failure, the temperature sensor acquisition value before the sudden change is selected as the current temperature until the virtual connection failure is cleared; when a non-sudden signal failure occurs, such as a short circuit failure, open circuit failure, or deviation failure, the sensor virtual temperature sensor model prediction value is used to replace the sensor acquisition value.
[0110] S309: The sensor fault signal after digital redundant control is replaced by a gradient slow change.
[0111] Specifically: Since the predicted value of the sensor virtual temperature sensor model has a certain error, and it takes some time to confirm the fault. Therefore, in the replacement process after confirming the fault, the temperature signal often has a large difference with the predicted value of the sensor virtual temperature sensor model. Direct replacement affects the stability of ECU control. Therefore, the replacement process adopts gradient slow-changing replacement. The gradient slow-changing replacement is based on the predicted value of the sensor virtual temperature sensor model, the difference between the collected value and the predicted value of the virtual temperature sensor model as the gradient basis, and the unit approach time is set. The sum of the virtual temperature sensor model predicted value and the set unit approach value (less than the gradient) is used as the temperature signal input to the ECU until the gradient is 0 and completely switched to the sensor virtual temperature sensor model predicted value input. For example, the temperature sensor is determined to be a deviation fault. At this time, the gradient is 60℃, the unit approach time is set to 6s, and the unit approach value is 10℃. At this time, the temperature signal approaches the sensor sensor predicted value at a gradient of 10℃ per second from the collected value until the gradient is 0, and it is completely switched to the sensor sensor predicted value.
[0112] S310: Output the replaced temperature signal to the ECU.
[0113] Specifically: if the sensor has physical redundancy, the value collected by another sensor is directly output to the ECU as a substitute value; if the sensor cannot be physically redundantly controlled, the temperature signal after digital redundant control is output to the ECU as a substitute value.
[0114] The present application also provides an application scenario, which applies the above-mentioned engine temperature sensor fault diagnosis and fault-tolerant control method. Specifically: The engine temperature sensor fault diagnosis and fault-tolerant control method provided in this embodiment can be applied in large-scale equipment monitoring scenarios. Large-scale equipment monitoring scenarios include sensor deployment links, operating status monitoring links, and equipment control links; the engine temperature sensor fault diagnosis and fault-tolerant control method provided in this embodiment belongs to the engine pre-control data monitoring link in the operating status monitoring link.
[0115] In an exemplary embodiment, a computer device is provided. The computer device may be a server or a terminal. The internal structure diagram thereof may be as follows: Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for fault diagnosis and fault-tolerant control of an engine temperature sensor is implemented.
[0116] Those skilled in the art will understand that Figure 5 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components. In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0117] In an exemplary embodiment, a computer-readable storage medium is provided, storing a computer program, and when the computer program is executed by a processor, the steps in the above method embodiments are implemented.
[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0119] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM may be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0120] The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. The non-relational database may include a distributed database based on blockchain, etc., but is not limited thereto. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but is not limited thereto.
[0121] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0122] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.
Claims
1. A method for fault diagnosis and fault-tolerant control of engine temperature sensor, It is characterized in that The engine temperature sensor fault diagnosis and fault tolerance control method is applied to an engine system, and the engine system includes: Engine, electronic control unit and multi-channel temperature sensor mechanism; The multiple temperature sensor mechanisms are all connected to the engine; the multiple temperature sensor mechanisms are all connected to the electronic control unit; the multiple temperature sensor mechanisms all obtain the temperature sensor collection value at the engine; The electronic control unit is used to generate a control signal according to the temperature sensor acquisition value at the engine obtained by the operating temperature sensor mechanism; at the same time, only one temperature sensor mechanism among the multiple temperature sensor mechanisms is the operating temperature sensor mechanism; all the temperature sensor mechanisms other than the operating temperature sensor mechanism are backup temperature sensor mechanisms; The engine temperature sensor fault diagnosis and fault tolerance control method comprises: Based on the operating parameters of the engine, construct a virtual temperature sensor model; Obtaining a temperature sensor acquisition value obtained by the operating temperature sensor mechanism; Get the temperature sensor prediction value output by the virtual temperature sensor model; Determining a fault type of an operating temperature sensor mechanism based on the temperature sensor collected value and the temperature sensor predicted value; Based on the fault type, fault-tolerant control is performed on the engine system.
2. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 1, It is characterized in that Determining a fault type of an operating temperature sensor mechanism based on the temperature sensor collected value and the temperature sensor predicted value includes: Determine that the ratio of the temperature sensor acquisition value at the current moment to the temperature sensor acquisition value at the previous moment is the signal change rate at the current moment; When the signal change rate at the current moment is equal to the first preset signal change rate threshold, determine whether the duration of the signal change rate before the current moment being equal to the first preset signal change rate threshold reaches a preset duration, and obtain a first determination result; If the first judgment result is yes, determining that the fault type of the operating temperature sensor mechanism is a failure fault; If the first judgment result is no, determining the difference between the temperature sensor prediction value at the current moment and the temperature sensor collection value at the current moment as the residual at the current moment; When the residual at the current moment exceeds the preset residual range, determine whether the duration for which the residual before the current moment exceeds the preset residual range reaches a preset duration, and obtain a second determination result; If the second judgment result is yes, determining that the fault type of the operating temperature sensor mechanism is a deviation fault; If the second judgment result is no, then when the signal change rate at the current moment is less than the second preset signal change rate threshold, obtain the frequency of the signal change rate within the first preset time period before the current moment being less than the second preset signal change rate threshold; Determine whether the frequency is greater than a first preset frequency threshold, and obtain a third determination result; If the third judgment result is yes, then determining that the fault type of the operating temperature sensor mechanism is a virtual connection fault; If the second judgment result is no, it is determined that the operating temperature sensor mechanism operates normally.
3. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 2, It is characterized in that The failure fault is a short circuit fault or an open circuit fault.
4. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 2, It is characterized in that The first preset signal change rate threshold is 1; The second preset signal change rate threshold is 0.
8.
5. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 2, It is characterized in that Based on the fault type, fault-tolerant control is performed on the engine system, including: When there is a fault in the operating temperature sensor mechanism, physical redundancy control is performed; the physical redundancy control is to switch any backup temperature sensor mechanism to the operating temperature sensor mechanism; Digital redundant control is performed when all temperature sensor mechanisms fail.
6. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 5, It is characterized in that The digital redundancy control comprises: When the fault type of the operating temperature sensor mechanism is a sudden change signal fault, the temperature sensor acquisition value at the previous moment is input into the electronic control unit as the temperature sensor acquisition value at the current moment until the sudden change signal fault elimination condition is met; When the fault type of the operating temperature sensor mechanism is a non-mutation fault, a gradient slow change replacement method is used to take the temperature sensor prediction value as the temperature sensor collection value until the non-mutation fault elimination condition is met.
7. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 6, It is characterized in that The mutation signal fault includes a virtual connection fault; The non-mutation faults include short circuit faults, open circuit faults and deviation faults.
8. The engine temperature sensor fault diagnosis and fault tolerance control method according to claim 7, It is characterized in that The condition for eliminating the sudden signal fault is: the frequency of the signal change rate being less than the second preset signal change rate threshold within the second preset time period is 0; The non-mutation fault elimination conditions include: failure fault elimination conditions and deviation fault elimination conditions; The failure elimination condition is: the frequency of the signal change rate not equal to the first preset signal change rate threshold within the preset time length reaches the second preset frequency threshold; The deviation fault elimination condition is: whether the duration of the residual being within the preset residual range reaches a preset duration.
9. A computer device, include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the engine temperature sensor fault diagnosis and fault-tolerant control method described in any one of claims 1 to 8.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the engine temperature sensor fault diagnosis and fault-tolerant control method described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Intelligent temperature transmitter fault diagnosis method, system, equipment and medium
CN121048790A
