Relay adhesion detection method and device, heating equipment and storage medium
By monitoring the ambient temperature of the heating equipment and activating heat dissipation when it exceeds the relay's shut-off temperature, combined with preset temperature and duration criteria, the problem of accurately identifying relay sticking faults is solved, enabling real-time, automated detection and safety protection of the heating equipment.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-18
- Publication Date
- 2026-03-31
AI Technical Summary
In the existing technology, relay sticking faults are difficult to identify accurately, resulting in continuous abnormal conduction of heating equipment, making it impossible to effectively distinguish between normal and abnormal states, and posing a risk of overheating.
By monitoring the ambient temperature of the heating equipment, the heat dissipation device is activated to assist in cooling when the temperature exceeds the relay's shut-off temperature. Based on the relationship between the current temperature and the preset temperature, the system automatically determines whether the relay is stuck, and uses the duration of the sticking as a criterion to achieve real-time and automated detection.
It enables real-time, automated detection of relay status during continuous equipment operation, timely fault detection, prevention of overheating risks, improvement of equipment safety and reliability, reduction of false alarms, reduction of energy consumption, extension of heat dissipation device life, and provision of proactive safety protection.
Smart Images

Figure CN121763073A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electrical safety control technology, specifically to a method, apparatus, heating device, and storage medium for detecting relay adhesion. Background Technology
[0002] Relays, as commonly used electronic switching components, are widely used in heating products such as household electric heaters to control the on / off state of heating circuits. However, a fault known as "sticking" can occur in relays during actual use, where the contacts fail to effectively separate after receiving a disconnect command, resulting in continuous abnormal conduction of the circuit. Current technologies for monitoring relay status often focus on feedback from the energization status of the drive coil or on detecting current in the load circuit to determine circuit continuity. However, these methods often fail when physical sticking occurs in the relay; the load circuit remains conductive due to the abnormal contact connection, making it difficult to distinguish from normal "heating" status based solely on electrical control signals or circuit current. Therefore, effectively and reliably identifying whether a relay has physically stuck has become a pressing problem. Summary of the Invention
[0003] This invention provides a method, apparatus, heating device, and storage medium for detecting relay adhesion, in order to solve the problem of low accuracy in identifying physical adhesion of relays in related technologies.
[0004] In a first aspect, the present invention provides a relay adhesion detection method applied to a heating device, the heating device comprising: a relay, a heating device, and a heat dissipation device, wherein the relay is connected to the heating device and is used to control the start and stop of the heating device according to the ambient temperature of the heating device, the method comprising: During the operation of the heating equipment, the current ambient temperature of the heating equipment is monitored; When the current ambient temperature reaches a first preset temperature, the heat dissipation device is activated to dissipate heat, and the first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off. Based on the relationship between the current ambient temperature and the second preset temperature, the adhesion detection result of the relay is determined, wherein the second preset temperature is greater than the target ambient temperature and less than the first preset temperature.
[0005] This invention monitors the ambient temperature of the heating equipment and activates a cooling device to assist in cooling when the temperature reaches a first preset temperature higher than the relay's shut-off temperature. It also automatically determines whether the relay has stuck based on the relationship between the current temperature and a second preset temperature. This method enables real-time, automated relay status detection during continuous equipment operation, requiring no additional hardware and relying on existing temperature control and cooling systems for diagnosis. This helps to promptly detect relay faults, prevent overheating risks caused by continuous operation of the heating device due to sticking, improve equipment safety and reliability, and enhance the user experience.
[0006] In one optional implementation, determining the sticking detection result of the relay based on the relationship between the current ambient temperature and the second preset temperature includes: When the current ambient temperature is greater than the second preset temperature, start recording the duration for which the current ambient temperature is greater than the second preset temperature; If the duration reaches a preset threshold, the relay adhesion detection result is determined to be adhesion. This invention introduces duration as a key criterion, with the detection logic monitoring the continuous process of temperature anomalies. This effectively filters out false alarms that may be caused by ambient temperature fluctuations or brief system malfunctions, making the judgment more consistent with the system's thermal inertia physical characteristics and improving the accuracy and reliability of the detection. Simultaneously, the flexibly configurable preset duration threshold parameter enhances the adaptability and intelligence of the method, ensuring a high fault identification rate while further guaranteeing the stability of equipment operation.
[0007] In an optional implementation, the method further includes: If the current ambient temperature is not greater than the second preset temperature before the duration reaches the preset threshold, the sticking detection result of the relay is determined to be no sticking.
[0008] This invention significantly improves detection efficiency and real-time performance by implementing a dynamic interruption detection mechanism. During continuous monitoring, once the temperature drops below the safety threshold, the system immediately determines that the relay is not stuck, without waiting for the preset time to end. This not only significantly speeds up the confirmation of normal operation and reduces unnecessary waiting time, but also further enhances the system's anti-interference capability, enabling timely identification and elimination of disturbances caused by brief temperature fluctuations.
[0009] In one optional implementation, the method further includes: When the sticking detection result of the relay is determined to be no sticking, the heat dissipation device is controlled to shut down, and the process returns to the step of monitoring the current ambient temperature of the heating equipment.
[0010] This invention improves the system's energy efficiency and sustainable operation by introducing a closed-loop control and state reset mechanism. Once the relay is confirmed to be free of adhesion, the system immediately shuts down the heat dissipation device, avoiding energy consumption, reducing operating costs, and minimizing wear on the heat dissipation device, thus extending its lifespan. By automatically returning to the ambient temperature monitoring step, the system achieves a complete closed-loop and intelligent cycle of the detection process, enabling continuous status monitoring and diagnostics, preparing for the next potential adhesion detection.
[0011] In an optional implementation, the method further includes: When the relay adhesion detection result indicates that adhesion has occurred, the heating device is powered off and a relay adhesion alarm is triggered.
[0012] This invention establishes a complete safety closed loop for detection, judgment, and handling by directly linking detection results with proactive protection measures. Once relay sticking is detected, the system immediately cuts off the power to the equipment, fundamentally eliminating the risk of continuous heating and achieving proactive safety protection. This effectively prevents serious consequences such as equipment damage or fires that may result from overheating. Simultaneously, the automatic triggering of a sticking alarm ensures that the fault status is reported immediately and clearly, alerting users to intervene promptly and supporting remote monitoring and rapid fault location. This transforms intelligent diagnosis into concrete safety actions, enhancing the safety and reliability of the equipment.
[0013] In an optional implementation, the method further includes: When the sticking detection result of the relay is determined to be sticking, the sticking protection status of the heating device relay is updated to protection status; After the heating device is powered on again, the relay sticking protection status of the heating device is detected; If the relay sticking protection state of the heating device is detected to be in the protection state, a relay sticking alarm will be issued, and user operation of the heating device will be blocked.
[0014] This invention achieves seamless continuity of safety protection during the critical stage of device restart after power failure by introducing a state memory and restart protection mechanism. After determining that the device is stuck, the system persistently saves the fault state; when the device is powered on again, by reading this protection state, it can proactively identify and prevent dangerous restarts before the fault is resolved. This avoids secondary risks that may be caused by users unknowingly restarting the device, and eliminates the possibility of accidental operation by shielding user input.
[0015] In an optional implementation, the method further includes: In response to the relay adhesion reset operation, the relay adhesion protection status of the heating device is updated to a non-protection status.
[0016] This invention introduces a controllable protection state reset mechanism, effectively restoring the availability and maintainability of equipment while ensuring safety. Once the relay sticking fault is resolved, the user can reset the system protection state through a clear reset operation. This not only allows the equipment to safely resume normal operation, avoiding equipment idleness caused by protection state lock-up, but also prevents unverified arbitrary restorations by isolating reset permissions from regular user operations.
[0017] Secondly, the present invention provides a relay adhesion detection device for a heating device, the heating device comprising: a relay, a heating element, and a heat dissipation device, wherein the relay is connected to the heating element and is used to control the start and stop of the heating element according to the ambient temperature of the heating device, the device comprising: The first processing module is used to monitor the current ambient temperature of the heating equipment during its operation. The second processing module is used to control the heat dissipation device to start heat dissipation when the current ambient temperature reaches the first preset temperature, wherein the first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off. The third processing module is used to determine the adhesion detection result of the relay based on the relationship between the current ambient temperature and the second preset temperature, wherein the second preset temperature is greater than the target ambient temperature and less than the first preset temperature.
[0018] Thirdly, the present invention provides a heating device, the heating device comprising: a relay, a heating element, and a heat dissipation element, the relay being connected to the heating element and used to control the start and stop of the heating element according to the ambient temperature of the heating device, the heating device further comprising a controller, the controller comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the computer instructions to perform the method of the first aspect or any corresponding embodiment described above.
[0019] Fourthly, the present invention provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0020] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0021] Figure 1 This is a schematic diagram of a heating device according to an embodiment of the present invention; Figure 2 This is a schematic flowchart of the first method for detecting relay adhesion according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the second process of the relay adhesion detection method according to an embodiment of the present invention; Figure 4 This is a schematic diagram of the overall working process of relay adhesion detection according to an embodiment of the present invention; Figure 5 This is a structural block diagram of a relay adhesion detection device according to an embodiment of the present invention; Figure 6 This is a schematic diagram of the controller hardware structure of the heating device according to an embodiment of the present invention. Detailed Implementation
[0022] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0023] It is understood that before using the technical solutions disclosed in the various embodiments of the present invention, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in the present invention and their authorization should be obtained in accordance with relevant laws and regulations through appropriate means.
[0024] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0025] Figure 1 This is a structural diagram of the heating equipment, such as... Figure 1As shown, the heating device includes a relay 101, a heating element 102, and a heat dissipation device 103. The relay 101 is connected to the heating element 102, and the relay 101 controls the start and stop of the heating element 102 according to the ambient temperature of the heating device. The controller 104 is used to execute the relay adhesion detection method. The process of the controller 104 executing the relay adhesion detection method is detailed in the relevant description of the method embodiment below, and will not be repeated here. This embodiment of the invention provides a relay adhesion detection method that monitors the relationship between the current ambient temperature of the heating device and a preset temperature threshold, records the duration for which the current ambient temperature is higher than the preset temperature, and controls the heat dissipation device to start for heat dissipation. This method can effectively and reliably identify whether the relay has physically adhered, ensuring the normal and stable operation of the heating device and improving the user experience.
[0026] Specifically, the aforementioned heating device is a desktop all-in-one unit, which includes heating and safety protection functions. For example, this desktop all-in-one unit is an existing desktop electric heater with heating and safety protection functions. This heater incorporates a small fan cooling system, integrating safety protection, heating, and cooling functions into one unit.
[0027] The desktop all-in-one heating device provided in this embodiment has heating, heat dissipation, and safety protection functions, which meet the user's needs for heating function and improve the overall user experience of the desktop all-in-one computer.
[0028] According to an embodiment of the present invention, a relay adhesion detection method is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0029] This embodiment provides a relay adhesion detection method, which can be used in the controller of the aforementioned heating equipment, such as a microcontroller or MCU. Figure 2 This is a flowchart of a relay adhesion detection method according to an embodiment of the present invention, as follows: Figure 2 As shown, the process includes the following steps: Step S201: During the operation of the heating equipment, monitor the current ambient temperature of the heating equipment.
[0030] Specifically, during the operation of the heating equipment, the system monitors the current ambient temperature in real time using an installed temperature sensor. The system compares the monitored temperature value with a target ambient temperature, and the internal controller controls a relay to open or close, thus turning the heating equipment on or off. For example, if the target ambient temperature is set to T1, when the internal temperature sensor detects that the current ambient temperature is lower than the target ambient temperature T1-a, the internal controller opens the relay to start heating. When the current ambient temperature is higher than the target ambient temperature T1+a, the relay closes to stop heating, thus maintaining the ambient temperature within the range of the target ambient temperature ±a, where 'a' can be set to 1 degree Celsius.
[0031] Step S202: When the current ambient temperature reaches the first preset temperature, control the heat dissipation device to start heat dissipation.
[0032] The first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off.
[0033] When the ambient temperature is detected to have reached a preset first temperature value, the system will automatically activate the cooling device to dissipate heat. The first preset temperature is typically set to a safe value to ensure the ambient temperature does not become excessively high. Specifically, the preset first temperature value is set to T1+b, where b is, for example, 20 degrees Celsius, to prevent equipment malfunction due to overheating. Activating the cooling device can lower the ambient temperature through the fan system, thereby protecting the normal operation of the heating equipment.
[0034] Step S203: Based on the relationship between the current ambient temperature and the second preset temperature, determine the sticking detection result of the relay.
[0035] The second preset temperature is greater than the target ambient temperature but less than the first preset temperature.
[0036] Specifically, a second preset temperature is set to T1+c, where c is a value between a and b, for example, c is 15 degrees Celsius. The system determines whether the relay has stuck by comparing the current ambient temperature with the second preset temperature. The second preset temperature is between the target ambient temperature and the first preset temperature. The system determines whether the relay has stuck based on whether the ambient temperature exceeds this value and for how long. If the ambient temperature remains above the second preset temperature for an extended period, the system will determine that the relay may have stuck and trigger corresponding alarms and protection measures.
[0037] Specifically, this embodiment monitors the ambient temperature of the heating equipment. When the ambient temperature reaches a first preset temperature higher than the relay's shut-off temperature, a heat dissipation device is activated to assist in cooling. Based on the relationship between the current temperature and a second preset temperature, it automatically determines whether the relay has stuck. This method enables real-time, automated relay status detection during continuous equipment operation, requiring no additional hardware and relying on existing temperature control and heat dissipation systems for diagnosis. This helps to promptly detect relay faults, prevent overheating risks caused by the heating device continuing to operate due to sticking, improve equipment safety and reliability, and enhance the user experience.
[0038] This embodiment provides a relay adhesion detection method, which can be used in the controller of the aforementioned heating equipment, such as a microcontroller or MCU. Figure 3 This is a flowchart of a relay adhesion detection method according to an embodiment of the present invention, as follows: Figure 3 As shown, the process includes the following steps: Step S301: During the operation of the heating equipment, monitor the current ambient temperature of the heating equipment. See details below. Figure 2 The relevant descriptions of step S201 shown will not be repeated here.
[0039] Step S302: When the current ambient temperature reaches the first preset temperature, control the heat dissipation device to start heat dissipation.
[0040] The first preset temperature is higher than the target ambient temperature at which the relay is turned off. See details below. Figure 2 The relevant descriptions of step S202 shown will not be repeated here.
[0041] Step S303: Based on the relationship between the current ambient temperature and the second preset temperature, determine the sticking detection result of the relay.
[0042] The second preset temperature is greater than the target ambient temperature but less than the first preset temperature.
[0043] Specifically, step S303 above includes: Step S3031: When the current ambient temperature is greater than the second preset temperature, start recording the duration for which the current ambient temperature is greater than the second preset temperature.
[0044] For example, the current ambient temperature is detected by a temperature sensor installed in the system, and the time when the current ambient temperature exceeds a second preset temperature is recorded by a timer inside the system.
[0045] In this example, when the system detects that the current ambient temperature exceeds the second preset temperature, the controller does not immediately conclude that the relay is stuck. Instead, it activates internal timing logic to start recording the duration of the temperature exceeding the second preset temperature. In this way, the system can distinguish between brief temperature fluctuations and sustained temperature increases caused by a relay failing to disconnect. This timing mechanism further ensures the rigor and stability of the judgment, forming a clear monitoring trajectory in the temperature control logic.
[0046] Step S3032: If the duration reaches the preset duration threshold, the sticking detection result of the relay is determined to be sticking.
[0047] Specifically, the preset time threshold can be flexibly set according to the detection accuracy requirements of the relay. The smaller the preset time threshold, the more sensitive the detection. The larger the preset time threshold, the higher the recognition accuracy. If the time when the ambient temperature is higher than the second preset temperature T1+c is greater than L (within 10 minutes), the relay detection result is determined to be adhesion. For example, the preset time threshold is 10 min or 3 min.
[0048] This embodiment introduces duration as a key criterion, with the detection logic monitoring the continuous process of temperature anomalies. This effectively filters out false alarms that may be caused by ambient temperature fluctuations or brief system malfunctions, making the judgment more consistent with the thermal inertia physical characteristics of the system and improving the accuracy and reliability of the detection. Simultaneously, the flexibly configurable preset duration threshold parameter enhances the adaptability and intelligence of the method, ensuring a high fault identification rate while further guaranteeing the stability of equipment operation.
[0049] Step S3033: If the current ambient temperature is not greater than the second preset temperature before the duration reaches the preset duration threshold, the sticking detection result of the relay is determined to be no sticking.
[0050] Specifically, when the temperature sensor installed in the system detects that the current ambient temperature is lower than the second preset temperature T1+c and the timer inside the system records that the current ambient temperature is lower than the second preset temperature T1+c for less than the preset duration threshold L, the system determines that the current relay detection result has not resulted in sticking.
[0051] This embodiment significantly improves detection efficiency and real-time performance by implementing a dynamic interruption judgment mechanism. During continuous monitoring, once the temperature drops below the safety threshold, the system can immediately determine that the relay is not stuck, without waiting for the preset time to end. This not only significantly speeds up the confirmation of normal status and reduces unnecessary waiting time, but also further enhances the system's anti-interference capability, enabling timely identification and elimination of disturbances caused by brief temperature fluctuations.
[0052] Step S304: When the sticking detection result of the relay is determined to be no sticking, the heat dissipation device is shut down, and the process returns to the step of monitoring the current ambient temperature of the heating equipment.
[0053] Specifically, when the system determines that no adhesion has occurred in the detection result, the controller inside the system controls the heat dissipation device to shut down. For example, the controller inside the system controls the fan inside the system to shut down, while the temperature sensor inside the system continues to monitor the current ambient temperature.
[0054] This embodiment improves the system's energy efficiency and sustainable operation by introducing a closed-loop control and state reset mechanism. Once the relay is confirmed to be free of adhesion, the system immediately shuts down the heat dissipation device, avoiding energy consumption, reducing operating costs, and minimizing wear on the heat dissipation device, thus extending its lifespan. By automatically returning to the ambient temperature monitoring step, the system achieves a complete closed-loop and intelligent cycle of the detection process, enabling continuous status monitoring and diagnosis of the equipment, preparing for the next potential adhesion detection.
[0055] Step S305: When the relay adhesion detection result is determined to be adhesion, the heating equipment is powered off and a relay adhesion alarm is triggered.
[0056] Specifically, when the system determines that the relay detection result indicates that sticking has occurred, it will issue a relay sticking protection warning. For example, the user can be prompted to stop using the relay by flashing lights and / or activating a buzzer.
[0057] This embodiment establishes a complete safety closed loop for detection, judgment, and handling by directly linking detection results with proactive protection measures. Once relay sticking is detected, the system immediately cuts off the power to the equipment, fundamentally eliminating the risk source of continuous heating and achieving proactive safety protection. This effectively prevents serious consequences such as equipment damage or fire caused by overheating. Simultaneously, the automatic triggering of a sticking alarm ensures that the fault status is reported immediately and clearly, alerting users to intervene promptly and supporting remote monitoring and rapid fault location. This transforms intelligent diagnosis into concrete safety actions, enhancing the safety and reliability of the equipment.
[0058] Step S306: When the sticking detection result of the relay is determined to be sticking, the sticking protection status of the heating equipment relay is updated to protection status.
[0059] Specifically, after the system enters the relay adhesion protection state, the internal storage medium of the system will remember this state and save it inside the system. Turn off the system power and stop using it. For example, it can be updated by setting the flag bit of the relay adhesion protection state. For example, when it is determined that the relay adhesion detection result is adhesion, the flag bit is updated to 1; otherwise, the flag bit is 0 by default. In this example, when the system determines that a relay has stuck based on a second preset temperature and its duration threshold, the controller not only immediately takes immediate protective measures such as power off and alarms, but also simultaneously updates the internal relay sticking protection status to the protected state. This makes the entire fault handling process continuous, traceable, and more secure.
[0060] Step S307: After the heating equipment is powered on again, the relay sticking protection status of the heating equipment is detected.
[0061] Specifically, when the system is powered on again, the internal controller immediately reads and checks whether the relay sticking protection command is stored in the storage medium. For example, the relay sticking protection status is detected by checking the specific value of the flag bit indicating the relay sticking protection status. When the flag bit is detected as 1, the relay sticking protection status is determined to be in a protected state; when the flag bit is detected as 0, the relay sticking protection status is determined to be in a non-protected state.
[0062] Through this state update, the system can retain the memory of the fault upon subsequent power-up, preventing the heating equipment from being forcibly restarted before the fault is resolved. This avoids the risk of uncontrolled heating due to the relay sticking, and transforms the real-time detection results into a continuously trackable safety indicator.
[0063] Step S308: If the relay sticking protection state of the heating equipment is detected to be in the protection state, a relay sticking alarm is issued and the user's operation of the heating equipment is blocked.
[0064] Specifically, if the system reads the instruction from the storage medium as a relay sticking protection state, the system will continue to issue an alarm. For example, the light will flash and the buzzer will sound, and the various function buttons on the heating device will become inoperable.
[0065] This embodiment achieves seamless continuity of safety protection during the critical stage of device power failure and restart by introducing a state memory and restart protection mechanism. After determining that the device is stuck, the system persistently saves the fault state; when the device is powered on again, by reading this protection state, it can proactively identify and prevent dangerous restarts before the fault is resolved. This avoids the secondary risks that may be caused by users restarting the device unknowingly, and eliminates the possibility of accidental operation by shielding user operation.
[0066] In step S309, in response to the relay sticking reset operation, the relay sticking protection state of the heating device is updated to a non-protection state.
[0067] Specifically, when the user operates the relay reset, the system's internal storage medium updates the current system state from the relay sticking protection state to a non-protected state. When the system detects that the relay sticking protection state has been updated to a non-protected state, the internal temperature sensor continues to monitor the current ambient temperature, and monitors the ambient temperature of the equipment in real time. Based on the monitored temperature value compared with the set target ambient temperature value, the system controls the relay to close or close, controlling the start and stop of the heating equipment. For example, the relay reset is a reset operation set at the factory for the heating equipment. If a single function button is inoperable, a specific combination of keys can be used as a reset button to reset the heating equipment. Alternatively, a separate reset button can be provided on the heating equipment. When the user's operation on the heating equipment is blocked, only the user's operation on the reset button is responded to. This invention is not limited to these limitations.
[0068] This embodiment introduces a controllable protection state reset mechanism, effectively restoring the availability and maintainability of the equipment while ensuring safety. Once the relay sticking fault is resolved, the user can reset the system protection state through a clear reset operation. This not only allows the equipment to safely resume normal operation and avoids equipment idleness caused by protection state lock-up, but also prevents unverified arbitrary restorations by isolating reset permissions from regular user operations.
[0069] The following will provide a detailed description of the specific working process of the relay adhesion detection method provided in this embodiment of the invention, using a specific application example.
[0070] Frequent operation of the switch accelerates the aging of the relay, causing it to stick together. When the relay contacts fail to separate when they should, the circuit remains open and cannot be shut off. In products with heating elements, this inability to shut off will result in continuous heating, leading to a sustained increase in temperature and potentially causing combustion.
[0071] To avoid such phenomena, the current temperature will be monitored in real time. When the temperature rise curve is found to be significantly different from the temperature change under normal operating logic, the relay adhesion protection detection logic will be activated.
[0072] The specific working principle is as follows: 1. When the ambient temperature is lower than the set target ambient temperature T1, the relay is turned on to start heating. When the ambient temperature reaches the set target ambient temperature T1+a, the relay is turned off to stop heating. When the ambient temperature drops to the set target ambient temperature T1-a, the relay is turned on to start heating, and so on.
[0073] 2. If the relay is stuck, when the ambient temperature reaches the set target ambient temperature T1+a, the relay cannot be turned off and will continue to heat up. When the ambient temperature reaches the first preset temperature T1+b, the fan will be turned on at its maximum setting to blow air and dissipate heat.
[0074] 3. When the ambient temperature is detected to be lower than the second preset temperature T1+c, the relay is considered to have recovered. If the ambient temperature is continuously detected to be higher than the second preset temperature T1+c for a duration exceeding the preset duration threshold L, the relay sticking protection will be activated, the indicator light will flash, and the buzzer will sound, prompting the user to stop using the device. Once the relay sticking protection state is entered, it will be remembered. Upon power-on, the relay sticking protection state will be immediately read, and the indicator light will flash and the buzzer will sound again, while the buttons will be inoperable.
[0075] This invention provides a method and protection scheme for determining whether a relay is stuck based on real-time temperature changes. It is mainly applied to heating equipment such as electric heaters that include relays, heating devices, and heat dissipation devices. The main steps can be summarized as follows: During equipment operation, the ambient temperature is first monitored in real time. When the temperature rises above a first preset threshold exceeding the relay's normal shut-off temperature, the heat dissipation device (such as a fan) is activated in advance to assist in cooling. Simultaneously, a second preset temperature, between the shut-off temperature and the first threshold, is introduced as a diagnostic criterion. The duration for which the current temperature exceeds this second preset value is used to diagnose whether the relay has malfunctioned and stuck. If the temperature continues to exceed the preset duration, it is determined to be stuck, and a series of protective actions are executed, including power-off, alarm activation, and locking the equipment's safety status. If the temperature drops within the specified time, it is determined to be normal, and the heat dissipation is shut off, while monitoring continues cyclically. This method and related devices / equipment aim to achieve early warning and automatic safety protection against sticking. The process is as follows: Figure 4 As shown.
[0076] This embodiment also provides a relay adhesion detection and control device, which is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0077] This embodiment provides a relay adhesion detection and control device, such as... Figure 5 As shown, it includes: The first processing module 501 is used to monitor the current ambient temperature of the heating equipment during its operation.
[0078] The second processing module 502 is used to control the heat dissipation device to start heat dissipation when the current ambient temperature reaches the first preset temperature, wherein the first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off.
[0079] The third processing module 503 is used to determine the sticking detection result of the relay based on the relationship between the current ambient temperature and the second preset temperature, wherein the second preset temperature is greater than the target ambient temperature and less than the first preset temperature.
[0080] In some alternative implementations, the third processing module 503 includes: The first processing unit is used to start recording the duration for which the current ambient temperature is greater than the second preset temperature when the current ambient temperature is greater than the second preset temperature.
[0081] The second processing unit is used to determine that the sticking detection result of the relay is sticking if the duration reaches a preset duration threshold.
[0082] In some optional implementations, the third processing module 503 further includes: The third processing unit is used to determine that the relay adhesion detection result is no adhesion if the current ambient temperature is not greater than the second preset temperature before the duration reaches the preset duration threshold.
[0083] In some optional implementations, the third processing module 503 further includes: The fourth processing unit is used to control the heat dissipation device to shut down and return to the step of monitoring the current ambient temperature of the heating equipment when the sticking detection result of the relay is determined to be no sticking.
[0084] In some optional implementations, the third processing unit includes: The first processing subunit is used to control the heating equipment to cut off power and issue a relay adhesion alarm when the adhesion detection result of the relay is determined to be adhesion. The second processing subunit is used to update the relay adhesion protection status of the heating equipment to the protection status when the adhesion detection result of the relay is determined to be adhesion.
[0085] The third processing subunit is used to detect the relay sticking protection status of the heating equipment after the heating equipment is powered on again.
[0086] The fourth processing subunit is used to issue a relay sticking alarm if the relay sticking protection state of the heating equipment is detected to be in the protection state, and to block the user from operating the heating equipment.
[0087] The fifth processing subunit is used to update the relay sticking protection status of the heating equipment to a non-protection status in response to the relay sticking reset operation.
[0088] The relay adhesion detection device provided in this embodiment of the invention can execute the relay adhesion detection method provided in any embodiment of the invention, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as in the corresponding embodiments described above, and will not be repeated here.
[0089] Figure 6 This is a schematic diagram of the structure of a controller for a heating device provided in an embodiment of the present invention.
[0090] The following is a detailed reference. Figure 6 The diagram illustrates a structural schematic suitable for implementing a controller in an embodiment of the present invention. The controller may include a processor (e.g., a central processing unit, graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 602 or a program loaded from memory 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for controller operation. The processor 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0091] Typically, the following devices can be connected to I / O interface 605: input devices 606 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 607 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 608 including, for example, magnetic tapes, hard disks, etc.; and communication devices 609. Communication device 609 allows the controller to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 6 A controller with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and may alternatively implement or have more or fewer devices.
[0092] In particular, according to embodiments of the present invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present invention include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 609, or installed from a memory 608, or installed from a ROM 602. When the computer program is executed by the processor 601, it performs the functions defined in the relay adhesion detection method of the embodiments of the present invention.
[0093] Figure 6The controller shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0094] This invention also provides a computer-readable storage medium. The methods described above according to embodiments of the invention can be implemented in hardware or firmware, or implemented as computer code that can be recorded on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the relay adhesion detection method shown in the above embodiments is implemented.
[0095] A portion of this invention can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to the invention through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0096] Although embodiments of the invention have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A method for detecting relay adhesion, applied to a heating device, the heating device comprising: The system comprises a relay, a heating device, and a heat dissipation device, wherein the relay is connected to the heating device and is used to control the start and stop of the heating device according to the ambient temperature of the heating device, characterized in that the method includes: During the operation of the heating equipment, the current ambient temperature of the heating equipment is monitored; When the current ambient temperature reaches a first preset temperature, the heat dissipation device is activated to dissipate heat, and the first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off. Based on the relationship between the current ambient temperature and the second preset temperature, the adhesion detection result of the relay is determined, wherein the second preset temperature is greater than the target ambient temperature and less than the first preset temperature.
2. The method according to claim 1, characterized in that, The determination of the relay adhesion detection result based on the relationship between the current ambient temperature and the second preset temperature includes: When the current ambient temperature is greater than the second preset temperature, start recording the duration for which the current ambient temperature is greater than the second preset temperature; If the duration reaches a preset duration threshold, the sticking detection result of the relay is determined to be sticking.
3. The method according to claim 2, characterized in that, The method further includes: If the current ambient temperature is not greater than the second preset temperature before the duration reaches the preset threshold, the sticking detection result of the relay is determined to be no sticking.
4. The method according to claim 3, characterized in that, The method further includes: When the sticking detection result of the relay is determined to be no sticking, the heat dissipation device is controlled to shut down, and the process returns to the step of monitoring the current ambient temperature of the heating equipment.
5. The method according to claim 1, characterized in that, The method further includes: When the relay adhesion detection result indicates that adhesion has occurred, the heating device is powered off and a relay adhesion alarm is triggered.
6. The method according to claim 1, characterized in that, The method further includes: When the sticking detection result of the relay is determined to be sticking, the sticking protection status of the heating device relay is updated to protection status; After the heating device is powered on again, the relay sticking protection status of the heating device is detected; If the relay sticking protection state of the heating device is detected to be in the protection state, a relay sticking alarm will be issued, and user operation of the heating device will be blocked.
7. The method according to claim 6, characterized in that, The method further includes: In response to the relay adhesion reset operation, the relay adhesion protection status of the heating device is updated to a non-protection status.
8. A relay adhesion detection device, applied to a heating device, the heating device comprising: A relay, a heating device, and a heat dissipation device, wherein the relay is connected to the heating device and is used to control the start and stop of the heating device according to the ambient temperature of the heating device, characterized in that the device includes: The first processing module is used to monitor the current ambient temperature of the heating equipment during its operation. The second processing module is used to control the heat dissipation device to start heat dissipation when the current ambient temperature reaches the first preset temperature, wherein the first preset temperature is greater than the target ambient temperature corresponding to the relay being turned off. The third processing module is used to determine the adhesion detection result of the relay based on the relationship between the current ambient temperature and the second preset temperature, wherein the second preset temperature is greater than the target ambient temperature and less than the first preset temperature.
9. A heating device, the heating device comprising: The system includes a relay, a heating device, and a heat dissipation device. The relay is connected to the heating device and is used to control the start and stop of the heating device according to the ambient temperature of the heating device. The heating device further includes a controller, which comprises: The memory and the processor are interconnected and communicate with each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the method of any one of claims 1 to 7.
10. The heating device according to claim 9, characterized in that, The heating device is an electric heater, and / or the heat dissipation device is a fan.
11. A computer-readable storage medium, characterized in that, The computer-readable storage medium has computer program instructions that are used to cause a computer to perform the method of any one of claims 1 to 7.