Temperature control method and device based on multi-mode fault tolerance and state recovery
By employing a multimodal fault-tolerant and state recovery temperature control method, the problems of data errors and extreme operating conditions caused by sensor failures were solved, enabling stable operation and safe recovery of the equipment in harsh environments, and improving the robustness and reliability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-26
- Publication Date
- 2026-03-24
AI Technical Summary
Existing temperature control methods are prone to data errors due to sensor failure or interference in harsh environments. They lack fault tolerance mechanisms, leading to control oscillations and equipment damage, and are unable to safely handle extreme operating conditions.
A multimodal fault-tolerant and state recovery temperature control method is adopted. Through periodic data screening and redundant sensor data processing, unreliable data is discarded. Redundancy replacement and safe state maintenance strategies are adopted to achieve multimodal decision-making for heating control and safe recovery under extreme conditions.
This improves the robustness and reliability of the system, ensuring stable operation and safe recovery of the equipment in the event of sensor failure or extreme environments, and avoiding control oscillations and equipment damage.
Smart Images

Figure CN121722189A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present solution relates to the technical field of temperature control, and in particular to a temperature control method and device based on multi-modal fault tolerance and state recovery. BACKGROUND
[0002] Many precision electronic devices need to work continuously for a long time in harsh environments such as outdoors, high altitudes, low temperatures, or the wild. In order to ensure that the electronic components (such as image sensors, processors, storage units, etc.) inside the device can start normally and run stably in a low-temperature environment, a heating system (such as a heating film) is usually required to maintain the internal temperature of the device within a preset working interval.
[0003] The existing temperature control method usually adopts a simple closed-loop threshold control based on one or more temperature sensors. For example, when the controller (such as MCU or FPGA) detects that the temperature is less than a certain set threshold (such as +20℃), the heating film is turned on; when the temperature is higher than another set threshold (such as +30℃), the heating film is turned off.
[0004] However, the above background technology has serious limitations and fundamental technical vulnerabilities when faced with complex practical application scenarios, which are specifically manifested as: 1. Vulnerability of data-decision chain: The traditional method assumes that "sensor data = fact", and lacks effective discrimination of the validity of data itself. In harsh environments, sensors are prone to produce jumping, drifting, or extreme error data beyond the physical range due to aging, physical impact, circuit failure, or strong electromagnetic interference (EMI). If the controller makes decisions based on these error data, it will directly lead to invalid or even disastrous control output (for example, the device loses temperature when it should be heated, or the device overheats and burns when it should stop).
[0005] 2. Lack of fault tolerance and degradation mechanism: When one or more sensors fail, a simple control system usually has no backup solution or smooth degradation strategy, often leading to the collapse of the entire temperature control system logic or entering an unsafe and uncertain state.
[0006] 3. Lack of robust handling of extreme conditions (prone to "control oscillation"): In the process of device cold start (such as the ambient temperature is much lower than -40℃) or encountering extreme high temperature, the simple threshold control logic cannot guarantee the safe and stable transition of the system to the normal working state. For example, during the recovery from deep low temperature, the temperature is prone to fluctuate around the control threshold, which will cause the heating system to produce high-frequency "control oscillation" between "on" and "off", wasting energy and damaging the life of the heating element. SUMMARY
[0007] The present scheme aims to at least solve the technical problems existing in the prior art. To this end, the present application proposes a temperature control method based on multi-modal fault tolerance and state recovery in the first aspect, which comprises: Periodically collecting current temperature values of the target electronic device from a plurality of temperature sensors to obtain a plurality of current temperature values, respectively determining the data reliability of the plurality of current temperature values to obtain reliable temperature values and unreliable temperature values; the plurality of temperature sensors are respectively arranged on the target electronic device; When there are both reliable temperature values and unreliable temperature values in the plurality of current temperature values, the unreliable temperature values are discarded, and the heating film arranged on the target electronic device is controlled according to the conventional control mode according to the reliable temperature values; When there is no reliable temperature value in the plurality of current temperature values, it is determined whether the sensor is in a temperature abnormal state according to the current temperature value; If it is determined that the sensor is in a temperature abnormal state, the heating film is controlled according to the temperature abnormal state, and the temperature abnormal state is released according to the order of the temperature value recovery; If it is determined that the sensor is not in a temperature abnormal state, the control state of the heating film remains unchanged, and the temperature values of the plurality of temperature sensors are periodically collected until the temperature value of any one of the temperature sensors is restored to be reliable.
[0008] Optionally, the method further comprises: determining whether the current temperature value exceeds the effective range of the temperature sensor, if the current temperature value exceeds the effective range, the current temperature value is determined to be an unreliable temperature value; If the current temperature value does not exceed the effective range, a first difference between the current temperature value and the temperature value collected at the last time is calculated, and it is determined whether the first difference satisfies a first condition, the first condition is that the first difference is greater than or equal to a preset first threshold; Calculate the second difference between the current temperature value and the current temperature value of the adjacent reliable sensor, and calculate whether the second difference satisfies a second condition, the second condition is that the second difference is greater than or equal to a preset second threshold; If the current temperature value satisfies the first condition and the second condition at the same time, the current temperature value is determined to be an unreliable temperature value.
[0009] Optionally, after calculating whether the second difference satisfies the second condition, the method further comprises: If the current temperature value does not satisfy the first condition and / or the second condition, it is determined that the current temperature value is a trusted temperature value.
[0010] Optionally, the determining whether the sensor is in a temperature abnormal state according to the current temperature value comprises: When all the current temperature values are less than a preset low-temperature abnormal threshold, it is determined that a low-temperature abnormal state is entered; when all the current temperature values are greater than or equal to a preset high-temperature abnormal threshold, it is determined that a high-temperature abnormal state is entered. The heating control of the heating film according to the temperature abnormal state comprises: When it is determined that the low-temperature abnormal state is entered, all the heating films arranged on the target electronic device are turned on. When it is determined that the high-temperature abnormal state is entered, all the heating films arranged on the target electronic device are turned off.
[0011] Optionally, the releasing the temperature abnormal state according to the order recovery of the temperature value comprises: In the low-temperature abnormal state, the temperature values of the plurality of temperature sensors are periodically acquired; It is determined whether the temperature value of each temperature sensor at each acquisition time point passes through preset first, second and third temperature values in turn; if yes, the low-temperature abnormal state is released, and the all heating films are turned off; the first, second and third temperature values are in a relationship of increasing in turn.
[0012] Optionally, the releasing the temperature abnormal state according to the order recovery of the temperature value comprises: In the high-temperature abnormal state, the temperature values of the plurality of temperature sensors are periodically acquired; It is determined whether the temperature value of each temperature sensor at each acquisition time point passes through preset fourth, fifth and sixth temperature values in turn; if yes, the high-temperature abnormal state is released, and the heating control is performed according to a normal control mode; the fourth, fifth and sixth temperature values are in a relationship of decreasing in turn.
[0013] Optionally, the heating control of the heating film arranged on the target electronic device according to the trusted temperature value according to the normal control mode comprises: It is determined the size relationship between the trusted temperature value and a preset normal low-temperature threshold and a preset normal high-temperature threshold; If the trusted temperature value is less than the normal low-temperature threshold, the heating film controlled by the temperature sensor corresponding to the trusted temperature value is turned on; if the trusted temperature value is greater than or equal to the normal high temperature threshold, then the heating film controlled by the temperature sensor corresponding to the trusted temperature value is turned off; if the trusted temperature value is between the normal low temperature threshold and the normal high temperature threshold, then the state of each heating film is maintained unchanged.
[0014] The second aspect of the present application provides a temperature control device based on multi-modal fault tolerance and state recovery, the device comprising: A first acquisition module is configured to periodically acquire current temperature values of a target electronic device from a plurality of temperature sensors to obtain a plurality of current temperature values, determine data trustworthiness of the plurality of current temperature values respectively, and obtain trusted temperature values and untrusted temperature values; the plurality of temperature sensors are arranged on the target electronic device respectively; A first control module is configured to discard the untrusted temperature values when there are both trusted temperature values and untrusted temperature values in the plurality of current temperature values, and control the heating film arranged on the target electronic device according to a normal control mode according to the trusted temperature values; An abnormality determination module is configured to determine whether the sensor is in a temperature abnormality state according to the current temperature values when there is no trusted temperature value in the plurality of current temperature values; A second control module is configured to control the heating film according to the temperature abnormality state if it is determined that the sensor is in the temperature abnormality state, and to remove the temperature abnormality state according to the order of recovery of the temperature values; A second acquisition module is configured to keep the control state of the heating film unchanged if it is determined that the sensor is not in the temperature abnormality state, and to continue to periodically acquire the temperature values of the plurality of temperature sensors until the temperature values of any one of the temperature sensors are trusted.
[0015] The third aspect of the present application provides an electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the temperature control method based on multi-modal fault tolerance and state recovery as described in the first aspect.
[0016] The fourth aspect of the present application provides a computer readable storage medium, wherein the storage medium stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the temperature control method based on multi-modal fault tolerance and state recovery as described in the first aspect.
[0017] The embodiments of the present application have the following beneficial effects: The temperature control method based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application comprises: periodically collecting current temperature values of a target electronic device from a plurality of temperature sensors to obtain a plurality of current temperature values, respectively determining data reliability of the plurality of current temperature values to obtain reliable temperature values and unreliable temperature values; the plurality of temperature sensors are respectively arranged on the target electronic device; when there are both reliable temperature values and unreliable temperature values in the plurality of current temperature values, the unreliable temperature values are discarded, and a heating film arranged on the target electronic device is controlled according to a conventional control mode according to the reliable temperature values; when there is no reliable temperature value in the plurality of current temperature values, it is determined whether the sensor is in a temperature abnormal state according to the current temperature values; if it is determined that the sensor is in the temperature abnormal state, the heating film is controlled according to the temperature abnormal state, and the temperature abnormal state is released according to the order recovery condition of the temperature values; if it is determined that the sensor is not in the temperature abnormal state, the control state of the heating film remains unchanged, and the temperature values of the plurality of temperature sensors are periodically collected until the temperature value of any one of the temperature sensors is restored to be reliable. The present application ensures that even in the harsh case of temporary failure of part or even all sensors, the system can still maintain the continuous operation of the key function or safely maintain the current state, greatly improving the robustness of the system; and the temperature abnormal state is released according to the order recovery condition of the temperature values, which forcibly requires the temperature to stably and sequentially cross a plurality of recovery checkpoints, thereby ensuring that the device can stably, orderly and non-oscillatingly recover to the normal working area after experiencing extreme environment, thereby constructing a temperature control system with high reliability, robustness and safety self-healing ability under any working condition. BRIEF DESCRIPTION OF DRAWINGS
[0018] Figure 1 A schematic diagram of hardware connection of a temperature control system provided by the embodiment of the present application; Figure 2 A step flowchart of the temperature control method based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application; Figure 3 A logic flowchart of a temperature control method provided by the embodiment of the present application; Figure 4 A structure block diagram of a temperature control device based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application. DETAILED DESCRIPTION
[0019] With reference to the accompanying drawings, the technical solutions in the embodiments of the present application will be clearly and completely described below. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative effort belong to the scope of protection of the present application.
[0020] Hereinafter, the terms "first" and "second" are only used for description purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined with "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the embodiments of the present disclosure, unless otherwise specified, the meaning of "a plurality of" is two or more. In addition, the use of "based on" or "according to" means openness and inclusiveness, because the process, step, calculation or other action "based on" or "according to" one or more stated conditions or values can be based on additional conditions or values beyond the stated values in practice.
[0021] The present application relates to a temperature control method, device and system applied to key electronic modules deployed in unmanned systems, aerospace equipment, field security monitoring and other harsh environments, such as camera devices, laser radars, airborne computing units, etc., for ensuring high reliability operation of the modules under variable or extreme working conditions.
[0022] The main purpose of the present application is to overcome the defects of the background art, such as the weak "data-decision" chain, the lack of fault-tolerant mechanism and the inability to safely handle extreme working conditions (especially the "control oscillation" problem), and to provide a high-reliability temperature control method, device and system. The present application aims to solve the core technical problems of how to effectively identify sensor data, how to make multi-modal fault-tolerant decisions when data fails, and how to safely recover from extreme working conditions to normal working conditions.
[0023] The method is applied to an electronic device temperature control system comprising a controller, at least one (preferably multiple) temperature sensor and at least one heating film.
[0024] Figure 1 A schematic diagram of the hardware connection of the temperature control system according to an embodiment of the present application is shown.
[0025] As shown in Figure 1 The temperature control system according to the present embodiment is deployed in a camera device. The system comprises an FPGA (Field Programmable Gate Array) as a controller, three temperature sensors (which generate temperature readings of points 1, 2 and 3, respectively), four heating films (heating films 1, 2, 3 and 4) and an RS485 serial communication interface.
[0026] Wherein, the controller (FPGA): is the physical carrier of the temperature control device based on multi-modal fault tolerance and state recovery, the logic burned in the controller is used to execute the temperature control method; the sensor (temperature points 1, 2, 3): is arranged at different key positions in the equipment to provide redundant temperature data; the actuator (heating film 1-4): is a physical unit for heating; the control relationship (asymmetric): the reading of temperature point 1 is used to control heating film 1 and heating film 4; the reading of temperature point 2 is used to control heating film 2; the reading of temperature point 3 is used to control heating film 3; the communication interface (RS485): is used to send the real-time state (temperature, heating film switching state, abnormal flag, etc.) of the current temperature control system to the upper level image controller (main control unit).
[0027] It can be understood that, Figure 1 This is only an application deployment example of the present application, and the embodiment of the present application can be applied to all electronic equipment including temperature sensors, heating films, controllers, and communication interfaces, and the temperature control software running in the controller executes the temperature control method described in the present application.
[0028] Hereinafter, the temperature control system described in the foregoing will be taken as an example to make a detailed description of the whole temperature control method. Figure 1
[0029] Figure 2 The step flow chart of the temperature control method based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application.
[0030] As shown in the foregoing, Figure 2 The method comprises: Step 101, periodically collecting current temperature values of the target electronic equipment from a plurality of temperature sensors to obtain a plurality of current temperature values, respectively determining the data reliability of the plurality of current temperature values to obtain reliable temperature values and unreliable temperature values; the plurality of temperature sensors are respectively arranged on the target electronic equipment.
[0031] The controller periodically (for example, every 800 ms) collects current temperature values from the plurality of temperature sensors (for example, temperature points 1, 2, 3). Before making any control decision, the controller first executes “data validity and reliability discrimination” on each collected current temperature value to determine whether it is a “reliable temperature value” or an “unreliable temperature value”.
[0032] As an optional embodiment, the step of respectively determining the data reliability of the plurality of current temperature values in step 101 to obtain reliable temperature values and unreliable temperature values comprises: Step 1011, determining whether the current temperature value exceeds the preset effective range of the temperature sensor, if the current temperature value exceeds the effective range, determining that the current temperature value is an unreliable temperature value.
[0033] determining whether the current temperature value exceeds a preset physical valid range of the sensor (for example, -55℃ to +125℃), and if so, determining that the temperature value is an untrusted temperature value.
[0034] Step 1012, if the current temperature value does not exceed the valid range, calculating a first difference between the current temperature value and a temperature value collected at a previous time, and determining whether the first difference satisfies a first condition, the first condition being that the first difference is greater than or equal to a preset first threshold.
[0035] determining whether the difference between the current temperature value and the temperature value collected at the previous time by the sensor itself is greater than the preset first threshold. The first threshold can be set according to requirements, for example, 10℃.
[0036] This step is essentially to determine the rate of change of the temperature value in the time dimension.
[0037] Step 1013, calculating a second difference between the current temperature value and a current temperature value of a neighboring trusted sensor, and determining whether the second difference satisfies a second condition, the second condition being that the second difference is greater than or equal to a preset second threshold.
[0038] determining whether the difference between the current temperature value and the temperature value of the neighboring trusted sensor is greater than the preset second threshold. The second threshold can be set according to requirements, for example, 15℃.
[0039] The neighboring trusted sensor refers to a sensor that is adjacent to the current sensor and has a trusted temperature value. This step is essentially to determine the neighborhood consistency of the temperature value in the spatial dimension.
[0040] Step 1014, if the current temperature value satisfies both the first condition and the second condition, determining that the current temperature value is an untrusted temperature value.
[0041] When the above two conditions are satisfied at the same time, the temperature value is determined to be a sudden jump, marked as an “untrusted temperature value”, and the system enters a data jump abnormal state. The current temperature value of the sensor is continuously collected, and when the second difference between the current temperature value and the current temperature value of the neighboring trusted sensor is less than the second threshold, the data jump abnormal state is exited.
[0042] The comprehensive judgment logic of the first condition and the second condition is one of the key technical differences of the present application, and the purpose of the application is to accurately distinguish between “real physical changes” and “sensor faults”, thereby solving the decision-making errors caused by false data in the background art.
[0043] The defect of using time dimension alone (easy to misjudge): if only the first condition is used, the controller will misjudge it as a sensor failure during the normal and rapid physical heating or cooling process of the device (for example, the cold start just starts heating or the external environment temperature changes suddenly), resulting in control logic errors.
[0044] The defect of using space dimension alone (easy to misjudge): if only the second condition is used, the controller will misjudge it as a sensor failure when there is a "stable and legal" large temperature difference between different areas inside the device (for example, near the heat source and the edge of the device).
[0045] The invention creatively proposes that the above two conditions must be met at the same time, which can indicate with a very high probability that the sensor violates both its time continuity and its neighborhood consistency in physical space. This is physically extremely unlikely (i.e. real physical changes cannot fail in two ways at the same time), so the controller can highly reliably determine it as a sudden failure of the sensor itself or strong electromagnetic interference, and mark it as "untrusted", thereby starting the subsequent fault-tolerant mode. This fundamentally avoids misjudgment of "real physical changes" and is a significant improvement over the prior art.
[0046] As an optional embodiment, after calculating whether the second difference value meets the second condition in step 1013, it further includes: If the current temperature value does not meet the first condition and / or the second condition, it is determined that the current temperature value is a trusted temperature value.
[0047] Step 102: When there are both untrusted temperature values and trusted temperature values in the plurality of current temperature values, the untrusted temperature values are discarded, and the heating film arranged on the target electronic device is controlled according to the trusted temperature values in the conventional control mode.
[0048] The controller enters the corresponding "multi-modal control decision" logic based on the results of step 101: (a) Conventional control mode: if the temperature value is judged as a "trusted temperature value", the controller controls the working state of the heating film based on the trusted temperature value and the preset conventional temperature threshold (for example, heating is started below +20℃ and heating is stopped above +30℃).
[0049] (b) Fault-tolerant control mode: when one or more temperature values are judged as "untrusted temperature values", the controller executes the preset multi-level fault-tolerant control strategy.
[0050] Among them, the fault-tolerant control mode includes two cases: Case one: there are both untrusted temperature values and trusted temperature values in the plurality of current temperature values.
[0051] At this time, the controller discards the untrusted temperature value and uses the remaining one or more trusted temperature values as the basis for controlling the corresponding heating film of the sensor. Specifically, when there are multiple trusted temperature values, the average of the multiple trusted temperature values can be used, or a preset temperature value can be used, as the basis for controlling the corresponding heating film of the sensor.
[0052] For example, the temperature value of temperature point 1 is determined to be untrusted, and the average of temperature points 2 or 3 or a preset temperature value is used to replace the reading of temperature point 1 to control heating films 1 and 4.
[0053] As an optional embodiment, the step 102 of heating controlling the heating films arranged on the target electronic device according to the trusted temperature value in the conventional control mode comprises: Step 1021, determining the size relationship between the trusted temperature value and a preset normal low temperature threshold and a preset normal high temperature threshold; Step 1022, if the trusted temperature value is less than the normal low temperature threshold, turning on the heating film controlled by the temperature sensor corresponding to the trusted temperature value; Step 1023, if the trusted temperature value is greater than or equal to the normal high temperature threshold, turning off the heating film controlled by the temperature sensor corresponding to the trusted temperature value; Step 1024, if the trusted temperature value is between the normal low temperature threshold and the normal high temperature threshold, maintaining the state of each heating film unchanged.
[0054] In steps 1021-1024, if the current temperature value is determined to be a "trusted temperature value", the system enters the conventional control mode.
[0055] The controller performs a conventional threshold judgment on the "trusted temperature value" to determine the size relationship between the trusted temperature value and a preset normal low temperature threshold and a preset normal high temperature threshold.
[0056] For example, the normal low temperature threshold and the normal high temperature threshold are +20℃ and +30℃, respectively.
[0057] If the temperature value of temperature point 1 is greater than +30℃, the heating film controlled by temperature point 1 is turned off, i.e., heating films 1 and 4 are turned off; if the temperature value is less than +20℃, the heating film controlled by temperature point 1 is turned on, i.e., heating films 1 and 4 are turned on. Similarly, temperature point 2 controls heating film 2, and temperature point 3 controls heating film 3.
[0058] Step 103, when there is no trusted temperature value in the plurality of current temperature values, determining whether the sensor is in a temperature abnormal state according to the current temperature values.
[0059] Case 2: there is no reliable temperature value in the plurality of current temperature values, i.e. all the temperature values are unreliable temperature values.
[0060] At this time, it is determined according to the current temperature values whether the unreliable temperature values are in a temperature abnormal state. The temperature abnormal state is divided into a low-temperature abnormal state and a high-temperature abnormal state. When it is determined that the sensor is in the low-temperature abnormal state or the high-temperature abnormal state, an "extreme working condition safety guarantee and recovery mechanism" is executed.
[0061] As an optional embodiment, the determination of whether the sensor is in the temperature abnormal state according to the current temperature values in step 103 comprises: when all the current temperature values are less than a preset low-temperature abnormal threshold, it is determined that the low-temperature abnormal state is entered; and when all the current temperature values are greater than or equal to a preset high-temperature abnormal threshold, it is determined that the high-temperature abnormal state is entered.
[0062] In the embodiment of the application, when all the sensor temperatures are lower than the low-temperature abnormal threshold, the low-temperature abnormal state is entered. The low-temperature abnormal threshold may be, for example, -55℃.
[0063] When all the sensor temperatures are higher than the high-temperature abnormal threshold, the high-temperature abnormal state is entered. The high-temperature abnormal threshold may be, for example, +125℃.
[0064] For example, when the temperature values of the three temperature sensors are all lower than -55℃, the system enters the low-temperature abnormal state, and the controller forcibly opens all the heating films (1, 2, 3, 4) to fully heat, at which time the conventional control mode is suspended.
[0065] When the temperature values of the three temperature sensors are all higher than +125℃, the system enters the high-temperature abnormal state, and all the heating films are forcibly closed to prevent the equipment from burning, at which time the conventional control mode is suspended.
[0066] In step 104, if it is determined that the sensor is in the temperature abnormal state, the heating films are controlled according to the temperature abnormal state, and the temperature abnormal state is removed according to the order of recovery of the temperature values.
[0067] If it is determined that the sensor is in the temperature abnormal state, the "extreme working condition safety guarantee and recovery mechanism" is executed. The mechanism comprises a forced control strategy (for example, forcibly opening all the heating films in the low-temperature abnormal state) and a preset "order recovery logic" for safely exiting the state (for example, sequentially confirming that the temperature rises / descends through a plurality of different recovery thresholds), until the conventional control mode is safely recovered.
[0068] As an optional embodiment, the heating control of the heating films according to the temperature abnormal state comprises: Step 1041, when determining to enter the low-temperature abnormal state, turn on all the heating films arranged on the target electronic device; Step 1042, when determining to enter the high-temperature abnormal state, turn off all the heating films arranged on the target electronic device.
[0069] In steps 1041-1042, when entering the low-temperature abnormal state, all the heating films are forcibly turned on; when entering the high-temperature abnormal state, all the heating films are forcibly turned off.
[0070] As an optional embodiment, the temperature abnormal state is released according to the sequential recovery of the temperature values, including: Step 1043, periodically acquire the temperature values of the plurality of temperature sensors in the low-temperature abnormal state; Step 1044, determine whether the temperature values of each temperature sensor at each acquisition time pass through preset first, second and third temperature values in sequence; if yes, release the low-temperature abnormal state and turn off all the heating films; the first, second and third temperature values are in a sequentially increasing relationship.
[0071] In steps 1043-1044, in the low-temperature abnormal state, the recovery logic is not simply exited when higher than -55℃, but must be sequentially determined to pass through the first, second and third temperature values in a rising order, wherein the first, second and third temperature values are in a sequentially increasing relationship. For example, the first temperature value is +10℃, the second temperature value is +20℃, and the third temperature value is +30℃.
[0072] Only after all the above recovery states are completed irreversibly, the controller releases the low-temperature abnormal state. According to the conventional logic, at this time, the temperature is >30℃, all the heating films can be turned off, and the conventional control mode is entered.
[0073] As an optional embodiment, the temperature abnormal state is released according to the sequential recovery of the temperature values, including: Step 1045, periodically acquire the temperature values of the plurality of temperature sensors in the high-temperature abnormal state; Step 1046, determine whether the temperature values of each temperature sensor at each acquisition time pass through preset fourth, fifth and sixth temperature values in sequence; if yes, release the high-temperature abnormal state and perform heating control according to the conventional control mode; the fourth, fifth and sixth temperature values are in a sequentially decreasing relationship.
[0074] In steps 1045-1046, in the high-temperature abnormal state, the temperature value must be sequentially determined to decrease and stably pass through the fourth temperature value, the fifth temperature value and the sixth temperature value, wherein the fourth temperature value, the fifth temperature value and the sixth temperature value are in a sequentially decreasing relationship. For example, the fourth temperature value is +40℃, the second temperature value is +30℃, and the third temperature value is +20℃.
[0075] Only after all the above recovery states are completed irreversibly, the controller releases the high-temperature abnormal state, and all the heating films can be turned on to enter the normal control mode.
[0076] This "sequential recovery" design essentially builds a "one-way valve" type state machine. It ensures that only when the temperature truly stably leaves the deep low-temperature zone and safely crosses the entire normal control interval (-10℃~+20℃), the forced heating is allowed to exit. This fundamentally avoids the "repeated start-stop" of the heating film (i.e. "control oscillation" in the background technology) caused by temperature fluctuations near -55℃ or +20℃, which is one of the core points of the invention.
[0077] Step 105, if it is determined that the sensor is not in a temperature abnormal state, the control state of the heating film is kept unchanged, and the temperature values of the plurality of temperature sensors are continuously collected periodically until the temperature value of any one of the temperature sensors is restored to be trusted.
[0078] When there is no trusted temperature value in the plurality of current temperature values, and the determined temperature value does not belong to the low-temperature abnormal state and the high-temperature abnormal state, the "safe state keeping mechanism" is executed.
[0079] The safe state keeping mechanism is that the controller stops all decision-making and keeps the control state of all heating films unchanged at the last moment before entering this "untrusted" state until any sensor is restored to be trusted. The control state includes the on state and the off state, i.e. keeping the on state or the off state of the heating film unchanged.
[0080] Figure 3 A logic flow chart of a temperature control method provided for an embodiment of the application.
[0081] As Figure 3As shown, the current temperature values of the target electronic device are periodically collected from the plurality of temperature sensors, and the reliability of the current temperature values is determined. When a high-temperature abnormal state is determined, the heating film is closed. When a low-temperature abnormal state is determined, the heating film is opened. When a data jump abnormal state is determined, it is determined whether a temperature point is not in an abnormal state. If yes, other reliable temperature values are used for judgment. If no, the heating film state is maintained unchanged, and the temperature values of the plurality of temperature sensors are periodically collected until the temperature values of any one temperature sensor are restored to be reliable.
[0082] When the other reliable temperature values are used for judgment, if the temperature value is greater than 30 degrees, the heating film is closed; if the temperature value is less than 20 degrees, the heating film is opened; and if the temperature value is between 20 degrees and 30 degrees, the heating film state is maintained unchanged.
[0083] Those skilled in the art should understand that the above embodiments are only preferred embodiments of the present application, and are not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. (for example, replacing the FPGA with a high-performance MCU or ASIC, or modifying the specific temperature threshold) made within the spirit and principles of the present application should be included in the protection scope of the present application.
[0084] In summary, the embodiment of the present application combines the three innovative logics of "spatio-temporal joint data discrimination", "multi-modal (normal / alternative / hold) control decision", and "high-low temperature sequential recovery state machine", to build a temperature control system with extremely high reliability, robustness, and safe self-healing ability under any working condition (normal, partial failure, total failure, extreme high and low temperature).
[0085] Compared with the background art, the present application has the following remarkable beneficial effects by the above technical solutions: 1. Prospective and high reliability of decision: The present application no longer passively accepts sensor data, but actively eliminates false data through the "spatio-temporal joint discrimination" logic. The mechanism of "discrimination first, decision second" is creative in that it can accurately distinguish between "real physical changes" and "sensor failures", fundamentally ensuring that the data basis for control decisions is reliable and has foresight, avoiding catastrophic misjudgments.
[0086] 2. Robustness and running continuity of the system: The "multi-modal control decision" of the present application, especially the "redundant alternative" and "safe state holding" strategies, constitutes a strong fault tolerance capability. It ensures that even in the harsh case of partial or even total sensor failure, the system can still maintain the continuous operation of key functions or safely maintain the current state (through degradation), greatly improving the robustness of the system.
[0087] 3. Self-healing and safe recovery capability of the system (eliminate recovery oscillation): The "extreme working condition safety state machine" of the present application is an innovative design, which solves the fundamental pain point of "control oscillation" at the recovery critical point in the background technology. It uses strict and irreversible "sequential recovery logic" (i.e. "one-way valve" state machine) to force the temperature to stably and sequentially cross multiple recovery checkpoints, thereby ensuring that the device can stably, orderly and non-oscillatory "self-heal" and recover to the normal working interval after experiencing extreme environments (such as cold start or overheating), greatly enhancing the safety and reliability of the device throughout its life cycle.
[0088] In summary, the temperature control method based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application comprises: periodically collecting current temperature values of a target electronic device from a plurality of temperature sensors to obtain a plurality of current temperature values, determining data reliability of the plurality of current temperature values respectively to obtain reliable temperature values and unreliable temperature values; the plurality of temperature sensors are respectively arranged on the target electronic device; when there are both reliable temperature values and unreliable temperature values in the plurality of current temperature values, the unreliable temperature values are discarded, and the heating film arranged on the target electronic device is controlled according to a conventional control mode according to the reliable temperature values; when there is no reliable temperature value in the plurality of current temperature values, it is determined whether the sensor is in a temperature abnormal state according to the current temperature value; if it is determined that the sensor is in a temperature abnormal state, the heating film is controlled according to the temperature abnormal state, and the temperature abnormal state is released according to the sequential recovery condition of the temperature value; if it is determined that the sensor is not in a temperature abnormal state, the control state of the heating film is kept unchanged, and the temperature values of the plurality of temperature sensors are periodically collected until the temperature value of any one of the temperature sensors is restored to be reliable. The present application ensures that even in the harsh case of temporary failure of part or even all sensors, the system can still maintain the continuous operation of the key function or safely maintain the current state, greatly improving the robustness of the system; and the temperature abnormal state is released according to the sequential recovery condition of the temperature value, which forces the temperature to stably and sequentially cross multiple recovery checkpoints, thereby ensuring that the device can stably, orderly and non-oscillatory recover to the normal working interval after experiencing extreme environments, thereby constructing a temperature control system with high reliability, robustness and safe self-healing capability under any working condition.
[0089] Figure 4 is a structural block diagram of a temperature control device based on multi-modal fault tolerance and state recovery provided by the embodiment of the present application.
[0090] As Figure 4 shown, the device 200 comprises: The first acquisition module 201 is configured to periodically acquire current temperature values of the target electronic device from a plurality of temperature sensors to obtain a plurality of current temperature values, determine data reliability of the plurality of current temperature values respectively to obtain reliable temperature values and unreliable temperature values, and the plurality of temperature sensors are arranged on the target electronic device respectively. The first control module 202 is configured to discard the unreliable temperature values when there are both reliable temperature values and unreliable temperature values in the plurality of current temperature values, and perform heating control on the heating film arranged on the target electronic device according to the reliable temperature values in a conventional control mode. The abnormality determination module 203 is configured to determine whether the sensor is in a temperature abnormality state according to the current temperature values when there is no reliable temperature value in the plurality of current temperature values. The second control module 204 is configured to perform heating control on the heating film according to the temperature abnormality state if it is determined that the sensor is in the temperature abnormality state, and remove the temperature abnormality state according to a sequence recovery condition of the temperature values. The second acquisition module 205 is configured to keep the control state of the heating film unchanged if it is determined that the sensor is not in the temperature abnormality state, and periodically acquire the temperature values of the plurality of temperature sensors until the temperature values of any one of the temperature sensors are restored to be reliable.
[0091] As to the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.
[0092] Those skilled 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, the processes of the above-mentioned embodiments of the methods can be included. Any reference to memory, storage, databases, or other media in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration but not limitation, RAM is available in many forms such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0093] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the features disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure that are deemed to fall within the general principles of the disclosure and include commonly known or customary practice in the art. The specification and examples are to be considered exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.
[0094] It should be understood that the present disclosure is not limited to the precise structures herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the claims that follow.
Claims
1. A temperature control method based on multimodal fault tolerance and state recovery, characterized in that, The method includes: The current temperature value of the target electronic device is periodically collected from multiple temperature sensors to obtain multiple current temperature values. The data reliability of the multiple current temperature values is determined to obtain reliable temperature values and unreliable temperature values. The multiple temperature sensors are respectively deployed on the target electronic device. When both unreliable and reliable temperature values exist among the multiple current temperature values, the unreliable temperature value is discarded, and the heating film deployed on the target electronic device is heated according to the reliable temperature value in a conventional control mode. When there is no reliable temperature value among the multiple current temperature values, it is determined whether the sensor is in an abnormal temperature state based on the current temperature value. If it is determined that the sensor is in an abnormal temperature state, then the heating film is heated according to the abnormal temperature state, and the abnormal temperature state is lifted according to the recovery of the temperature values in sequence. If it is determined that the sensor is not in an abnormal temperature state, the control state of the heating film remains unchanged, and the temperature values of the multiple temperature sensors are continuously and periodically collected until the temperature value of any one of the temperature sensors recovers to a reliable state.
2. The method according to claim 1, characterized in that, The step of determining the data reliability of the plurality of current temperature values to obtain reliable temperature values and unreliable temperature values includes: Determine whether the current temperature value exceeds the preset effective range of the temperature sensor. If the current temperature value exceeds the effective range, then determine that the current temperature value is an unreliable temperature value. If the current temperature value does not exceed the effective range, then calculate the first difference between the current temperature value and the temperature value collected at the previous moment, and determine whether the first difference satisfies the first condition, wherein the first condition is that the first difference is greater than or equal to a preset first threshold. Calculate the second difference between the current temperature value and the current temperature value of the adjacent trusted sensor, and calculate whether the second difference satisfies the second condition, wherein the second condition is that the second difference is greater than or equal to a preset second threshold. If the current temperature value satisfies both the first condition and the second condition, then the current temperature value is determined to be an unreliable temperature value.
3. The method according to claim 2, characterized in that, After calculating whether the second difference satisfies the second condition, the process also includes: If the current temperature value does not meet the first condition and / or the second condition, then the current temperature value is determined to be a reliable temperature value.
4. The method according to claim 1, characterized in that, The step of determining whether the sensor is in an abnormal temperature state based on the current temperature value includes: When all the current temperature values are less than the preset low temperature anomaly threshold, it is determined that a low temperature anomaly state has been entered; when all the current temperature values are greater than or equal to the preset high temperature anomaly threshold, it is determined that a high temperature anomaly state has been entered. The step of controlling the heating of the heating film according to the abnormal temperature state includes: When it is determined that the low temperature abnormality state has been entered, all heating films installed on the target electronic device are activated. When the abnormal high-temperature state is determined, all heating films installed on the target electronic device are turned off.
5. The method according to claim 4, characterized in that, The step of resolving the abnormal temperature state based on the sequential recovery of the temperature values includes: During the abnormal low temperature state, the temperature values of the multiple temperature sensors are periodically acquired; Determine whether the temperature values of each of the temperature sensors at each acquisition time sequentially pass through a preset first temperature value, a second temperature value, and a third temperature value; if so, then resolve the low temperature abnormality state and turn off all the heating films; the first temperature value, the second temperature value, and the third temperature value are in a sequentially increasing relationship.
6. The method according to claim 4, characterized in that, The step of resolving the abnormal temperature state based on the sequential recovery of the temperature values includes: During the high-temperature abnormality, the temperature values of the multiple temperature sensors are periodically acquired; Determine whether the temperature values of each of the temperature sensors at each acquisition time sequentially pass through the preset fourth, fifth, and sixth temperature values; if so, then the high temperature abnormality state is lifted, and heating control is performed according to the normal control mode; the fourth, fifth, and sixth temperature values are in a decreasing relationship.
7. The method according to claim 1, characterized in that, The heating control of the heating film deployed on the target electronic device according to the reliable temperature value in a conventional control mode includes: Determine the relationship between the reliable temperature value and the preset normal low temperature threshold and the preset normal high temperature threshold; If the reliable temperature value is less than the normal low temperature threshold, then the heating film controlled by the temperature sensor corresponding to the reliable temperature value is activated. If the reliable temperature value is greater than or equal to the normal high temperature threshold, then the heating film controlled by the temperature sensor corresponding to the reliable temperature value is turned off. If the reliable temperature value is between the normal low temperature threshold and the normal high temperature threshold, then the state of each heating film remains unchanged.
8. A temperature control device based on multimodal fault tolerance and state recovery, characterized in that, The device includes: The first acquisition module is used to periodically acquire the current temperature value of the target electronic device from multiple temperature sensors, obtain multiple current temperature values, determine the data reliability of the multiple current temperature values, and obtain reliable temperature values and unreliable temperature values; the multiple temperature sensors are respectively deployed on the target electronic device; The first control module is used to discard the unreliable temperature value when both unreliable and reliable temperature values exist among the multiple current temperature values, and to perform heating control on the heating film deployed on the target electronic device according to the reliable temperature value in a conventional control mode. An anomaly determination module is used to determine whether the sensor is in a temperature anomaly state based on the current temperature value when there is no reliable temperature value among the plurality of current temperature values. The second control module is used to control the heating film according to the abnormal temperature state if it is determined that the sensor is in an abnormal temperature state, and to release the abnormal temperature state according to the sequential recovery of the temperature values. The second acquisition module is used to maintain the control state of the heating film unchanged if it is determined that the sensor is not in an abnormal temperature state, and to continuously and periodically acquire the temperature values of the multiple temperature sensors until the temperature value of any one of the temperature sensors recovers to a reliable state.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the temperature control method based on multimodal fault tolerance and state recovery as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The storage medium stores at least one instruction, at least one program, code set, or instruction set, wherein the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by a processor to implement the temperature control method based on multimodal fault tolerance and state recovery as described in any one of claims 1-7.
Citation Information
Patent Citations
Self-adaptive underwater sound source passive positioning method and system
CN114089276A
Temperature sensor credibility determination method and related assembly
CN114812870A
Temperature control method of board card, program product, electronic equipment and storage medium
CN120315563A
Temperature monitoring method for photovoltaic grid-connected cabinet
CN120507055A