System and method for controlling state of infrared induction equipment

By introducing a control box and a universal signal platform, active monitoring and intelligent fault diagnosis of infrared sensing devices are achieved, solving the problems of passive control and insufficient emergency handling in existing infrared sensing devices. This improves the intelligence and emergency handling capabilities of the devices, extends their service life, and reduces maintenance costs.

CN121348927AActive Publication Date: 2026-01-16GUANGDONG HUANGPAI CUSTOM HOME FURNISHING GRP CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202511926720.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-19
Publication Date
2026-01-16
Estimated Expiration
2045-12-19

AI Technical Summary

Technical Problem

The control methods of infrared sensing devices in existing smart doors and windows are passive, lack flexibility, and have insufficient emergency response capabilities, resulting in decreased device sensitivity, shortened lifespan, and inability to handle emergencies in a timely manner.

Method used

By introducing a control box and a universal signal platform, active monitoring and intelligent fault diagnosis of infrared sensing devices are achieved through power connection cables and signal cables. The RS485 bus ensures data transmission stability, and a smart screen provides user interaction, enabling active control of the status of infrared sensing devices and fault alerts.

Benefits of technology

It improves the intelligence and reliability of infrared sensing devices, extends their service life, enhances system flexibility and emergency response capabilities, reduces maintenance costs, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121348927A_ABST
    Figure CN121348927A_ABST
Patent Text Reader

Abstract

The invention provides a system and a method for controlling the state of infrared induction equipment, which are applied to the technical field of intelligent door and window control, and are characterized in that when the infrared induction equipment fails, a universal signal platform can send a test instruction to a control box, and judges whether a communication fault, an equipment body fault or a connection line fault occurs according to a response condition; and a corresponding prompt is sent out. The problem that in the prior art, when infrared induction equipment fails, effective processing cannot be conducted in time is effectively solved, the dilemma that a user can only wait for maintenance personnel to conduct on-site processing is avoided, and the emergency processing capacity and user experience of the system are greatly improved. Besides, the system can turn on or turn off a power supply of the infrared induction equipment through a universal signal platform, so that the limitation that the working state of the infrared induction equipment cannot be actively adjusted according to actual requirements in the prior art is solved, the service life of the equipment is prolonged, and the flexibility and controllability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent door and window control technology, and in particular to a system and method for controlling the status of infrared sensing devices. Background Technology

[0002] Currently, with the increasing demand for electric doors and windows and the desire for smart devices, electric doors and windows are integrating various intelligent control sensors, such as wind and rain sensors, wind and light sensors, and infrared sensors. The application of these sensors has greatly enriched the functionality of electric doors and windows. This application mainly focuses on the control upgrade of infrared sensing devices on electric doors and windows.

[0003] In existing technology, infrared sensors are typically installed on both sides of window railings, emitting infrared rays at one end and receiving them at the other. When an object enters the detection range of the infrared sensor and blocks the infrared rays from being received by the receiver, the sensor triggers a signal. Upon receiving this signal, the control box sends a stop command to the window, thus stopping its operation. The operation of such infrared sensors usually relies on passive triggering.

[0004] However, this passive control method has some limitations. First, the system lacks flexibility and cannot proactively adjust the operating status of the infrared sensor according to actual needs. For example, during specific time periods, it may be necessary to forcibly shut down the infrared sensor to prevent false triggering, but the existing system cannot achieve this. Second, in passive triggering mode, the infrared sensor must remain in standby mode even without triggering. Prolonged power supply can impair its sensitivity, thus shortening its lifespan. Furthermore, harsh environments can also cause varying degrees of damage to the device. Finally, the existing system performs poorly in emergency handling. If the infrared sensor malfunctions, the window may not be able to lower properly, leaving the user with no choice but to wait for maintenance personnel, unable to address the emergency promptly and effectively.

[0005] To address the aforementioned issues, existing technologies urgently need improvement. Summary of the Invention

[0006] In view of the shortcomings of the prior art, this application provides a system and method for controlling the status of infrared sensing devices, aiming to solve the problems of passive, inflexible and insufficient emergency response capabilities of the control methods of infrared sensing devices in existing smart doors and windows.

[0007] In a first aspect, a system for controlling the state of an infrared sensing device is characterized in that the system includes at least a control box and a general signal platform; The control box, the general signal platform, and the infrared sensing device are connected in pairs; The control box is used to receive the real-time operating status of the infrared sensing device and transmit the real-time operating status to the general signal platform; The general signal platform is used to send a test command to the control box and receive the response of the control box to the test command when the real-time working status reflects that the infrared sensing device is malfunctioning. If the response is not received, a reminder that the control box has a communication failure is issued. If the response is received, the output port of the general signal platform is controlled to turn off the power of the infrared sensing device; then the detection information fed back by the control box is received, the detection information includes the power voltage detection result of the infrared sensing device and the signal line output status; if the power voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before the power failure, then a reminder that the infrared sensing device itself is faulty is issued. If the power supply voltage detection result indicates that the power is not turned off, a warning will be issued indicating a fault in the connection line between the control box and the infrared sensing device.

[0008] This technical solution enables the system to proactively detect the malfunction of infrared sensing devices and make intelligent judgments and alerts based on the type of fault. This solves the problem of the inability to handle the malfunction of infrared sensing devices in a timely and effective manner in existing technologies, thereby improving the intelligence and reliability of the system.

[0009] Furthermore, the control box, the general signal platform, and the infrared sensing device are connected via a power connection cable, which includes a positive wire and a negative wire. The positive line is electrically connected to the output port of the general signal platform, the power input terminal of the infrared sensing device, and the power voltage detection terminal of the control box. It is used for the general signal platform to supply power to the infrared sensing device by adjusting the voltage of the output port, and for the control box to detect the voltage on the positive line. The negative line is electrically connected to the ground terminal of the infrared sensing device and the ground terminal of the control box.

[0010] This technical solution enables the system to actively control the power supply of infrared sensing devices by controlling the output voltage of a general signal platform. This solves the problem in existing technologies where the operating status of infrared sensing devices cannot be actively adjusted according to actual needs, thus improving the system's flexibility and controllability.

[0011] Furthermore, the control box is electrically connected to the infrared sensing device via a signal line, which is used to transmit the real-time operating status of the infrared sensing device to the control box.

[0012] This technical solution ensures the accurate transmission of the real-time operating status of the infrared sensing device, providing a reliable data foundation for subsequent fault diagnosis and control.

[0013] Furthermore, the control box is electrically connected to the general signal platform via an RS485 bus, which is used to enable communication between the control box and the general signal platform.

[0014] This technical solution provides a stable and reliable communication method for the RS485 bus, ensuring the efficiency and accuracy of data transmission between the control box and the general signal platform, and further improving the overall performance of the system.

[0015] Furthermore, the system also includes a smart screen, which is electrically connected to the general signal platform; The smart screen is used to receive the real-time operating status of the infrared sensing device uploaded by the universal signal platform, and to receive control commands issued by the user based on the real-time operating status. The screen then sends the control commands to the universal signal platform, which responds to the control commands and controls the operating status of the infrared sensing device. Secondly, a method for controlling the state of an infrared sensing device, the method being applied to a system as described in any of the preceding claims, the method comprising: S1: The general signal platform receives the real-time operating status of the infrared sensing device transmitted by the control box; S2: When the real-time working status indicates that the infrared sensing device is malfunctioning, the general signal platform sends a test command to the control box and receives the response of the control box to the test command. If the response is not received, a reminder that the control box has a communication failure is issued. S3: If the general signal platform receives the response, it controls the output port of the general signal platform to turn off the power of the infrared sensing device; S4: The general signal platform receives the detection information fed back by the control box. The detection information includes the power supply voltage detection result of the infrared sensing device after power failure and the signal line output status. If the power supply voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before power failure, a reminder is issued that the infrared sensing device itself has a fault. If the power supply voltage detection result indicates that the power is not off, a reminder is issued that the connection line between the control box and the infrared sensing device has a fault.

[0016] Furthermore, the method also includes: S5: Generate a first control command based on the real-time working status; S6: Receive a second control command issued by the user through the smart screen; both the first control command and the second control command are used to control the working status or power-off / on of the infrared sensing device; S7: Compare the first control instruction with the second control instruction. If there is a conflict between the first control instruction and the second control instruction, execute the second control instruction and suspend the execution of the first control instruction during the execution of the second control instruction. When the execution of the second control instruction ends, resume the execution of the first control instruction.

[0017] Furthermore, step S7 includes: S71: Compare the first control command with the second control command. If there is a conflict between the first control command and the second control command, determine whether the first control command is a safety protection command. The safety protection command is a stop command triggered by the infrared sensing device detecting an obstacle. S72: If the first control command is the security protection command, and the second control command conflicts with the security protection command, then a security warning message is displayed on the smart screen, and a confirmation command issued by the user through the smart screen is received; S73: If the confirmation instruction is received, the second control instruction is executed, and the execution of the first control instruction is suspended during the execution of the second control instruction; S74: If the confirmation instruction is not received, the execution of the security instruction shall continue; S75: If the first control instruction is not the security protection instruction, and there is a conflict between the first control instruction and the second control instruction, then the second control instruction is executed, and the execution of the first control instruction is suspended during the execution of the second control instruction; S76: When the execution of the second control instruction ends, the execution of the first control instruction resumes.

[0018] Furthermore, step S1 includes: S11: Receive the initial working status of the infrared sensing device from the control box; S12: Based on the preliminary working state and the current movement state of the electric doors and windows, determine whether there is any abnormality in the status of the infrared sensing device; S13: If an abnormality is detected, a test command is sent to the control box. The test command is used to shut down the transmitter of the infrared sensing device. S14: Receive the receiver status of the infrared sensing device during the period when the transmitter is turned off, as fed back by the control box; S15: Based on the status of the receiving end, determine whether the infrared sensing device is subject to environmental interference; S16: If it is determined that the infrared sensing device is subject to environmental interference, the preliminary working state of the infrared sensing device is corrected to obtain the real-time working state.

[0019] Furthermore, step S16 includes: S161: Obtain information on the degree of environmental interference; S162: Adjust the trigger threshold or sensitivity of the infrared sensing device for detecting obstacles based on the information about the degree of environmental interference; S163: Based on the adjusted trigger threshold or sensitivity, the initial working state of the infrared sensing device is corrected to obtain the real-time working state.

[0020] Beneficial Effects: This application proposes a system and method for controlling the status of infrared sensing devices. By introducing a control box and a universal signal platform, it achieves proactive monitoring and intelligent fault diagnosis of the infrared sensing device's status. When the infrared sensing device malfunctions, the universal signal platform can send test commands to the control box and determine whether the malfunction is due to a communication failure, a device malfunction, or a connection line failure based on the response, issuing corresponding alerts. This proactive fault diagnosis mechanism effectively solves the problem of inability to promptly and effectively handle infrared sensing device malfunctions in existing technologies, avoiding the predicament of users having to wait for maintenance personnel to come to the site, and greatly improving the system's emergency response capabilities and user experience. Furthermore, the system can also control the voltage at the output port of the universal signal platform to turn the power supply of the infrared sensing device on or off, thereby overcoming the limitation of existing technologies that cannot proactively adjust the operating status of the infrared sensing device according to actual needs, extending the device's lifespan, and improving the system's flexibility and controllability. Attached Figure Description

[0021] Figure 1 This is a structural diagram of a system for controlling the state of an infrared sensing device as proposed in this application.

[0022] Figure 2 This is a flowchart of a method for controlling the state of an infrared sensing device proposed in this application. Detailed Implementation

[0023] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. The components of the embodiments of this application described and marked in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0024] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0025] Please refer to Figure 1 A system for controlling the status of an infrared sensing device, the system comprising at least a control box and a general signal platform; The control box, general signal platform, and infrared sensing device are connected in pairs; The control box is used to receive the real-time operating status of the infrared sensing device and transmit the real-time operating status to the general signal platform. The general signal platform is used to send test commands to the control box when the infrared sensing device malfunctions in real-time operation, and to receive the control box's response to the test commands. If no response is received, it will issue a reminder that the control box has a communication failure. If a response is received, the output port of the general signal platform is controlled to turn off the power of the infrared sensing device; then the detection information fed back by the control box is received, including the power voltage detection result of the infrared sensing device and the signal line output status; if the power voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before the power is cut off, then a reminder that there is a fault in the infrared sensing device itself is issued. If the power supply voltage detection result indicates that the power is not turned off, a warning will be issued indicating a fault in the connection line between the control box and the infrared sensing device.

[0026] Infrared sensors are sensors that detect the presence of objects by emitting and receiving infrared light. They are commonly used in electric doors and windows to achieve anti-pinch functionality. The control box is an intermediate device in the system responsible for receiving data from the infrared sensors, executing control commands, and communicating with the general signal platform. The general signal platform is the core of the system, responsible for receiving data uploaded from the control box, performing fault diagnosis, sending test commands, and issuing fault alerts. Real-time operating status refers to the operational status of the infrared sensors at a specific moment, including whether they are working properly and whether they have detected obstacles.

[0027] A malfunction indicates that the infrared sensor cannot perform its detection function normally. The test command is a command sent from the general signal platform to the control box to verify the communication status of the control box or the power control capability of the infrared sensor. The response is the confirmation information returned by the control box to the general signal platform after receiving the test command. The status information is data about the power status and operating status of the infrared sensor that the control box feeds back to the general signal platform after turning off the infrared sensor.

[0028] Specifically, the control box, general signal platform, and infrared sensing equipment can be connected via wires, such as using standard cables for physical connection, to ensure the stability of signal transmission.

[0029] The control box receives the real-time operating status of the infrared sensor and transmits it to a general-purpose signal platform. The control box can receive the real-time operating status of the infrared sensor in various ways. For example, the infrared sensor can output its operating status via digital signals, which the control box can directly read through the GPIO interface. Alternatively, the infrared sensor can output analog signals, which the control box can convert into digital signals for processing via an ADC module. The control box can also use an RS48 bus to transmit the real-time operating status to the general-purpose signal platform.

[0030] The general signal platform can determine whether an infrared sensor is malfunctioning by setting a threshold. This threshold represents the maximum time the infrared sensor is allowed to output abnormal signals, or the maximum number of times it is allowed to output abnormal signals within a preset time period. If the infrared sensor continuously outputs abnormal signals for a period of time (e.g., continuously outputting a signal indicating an obstacle when there is no obstacle, or continuously outputting a signal indicating no obstacle when there is an obstacle) exceeding this threshold, it is considered malfunctioning. The presence of an obstacle is determined by the position sensor built into the electric door / window itself. If the position sensor indicates that the electric door / window has moved to its destination (i.e., fully open or fully closed) and maintained this position for a preset time, it is considered that there is no obstacle. However, if the position sensor indicates that the electric door / window stops midway during movement, blocking the infrared sensor, it is considered that there is an obstacle. The general signal platform can send test commands to the control box via a preset communication protocol, encapsulating the test commands into data packets and sending them to the control box. The control box's response to the test commands can be a confirmation code, indicating that it has received and processed the test commands.

[0031] The general signal platform can determine whether a response has been received by setting a timeout timer. If no response is received from the control box within a preset time after sending the test command, it is considered that no response has been received. A communication failure alert for the control box can be issued by displaying a warning message on the smart screen, or by notifying relevant maintenance personnel via SMS, email, or other means.

[0032] If a response is received, the power supply to the infrared sensor is turned off. After turning off the infrared sensor, the status information of the infrared sensor is received from the control box. The general signal platform turns off the infrared sensor by setting its output port to a high level, thus completing the conduction of the positive line and allowing current to flow to the infrared sensor. When it is necessary to turn off the power, the general signal platform sends a command to the control box to turn off the infrared sensor, and then its output port is set to a low level or disconnected, thereby cutting off the current in the connection line between the general signal platform and the infrared sensor, thus turning off the power. This design highly integrates power control and signal transmission control, simplifying the hardware structure. After receiving the command to turn off the infrared sensor, the control box reads the power status (e.g., through a voltage detection circuit) and operating status of the infrared sensor again, and packages this information to send to the general signal platform.

[0033] The difference between this method and existing technologies is that when the power of the infrared sensing device is turned off, the control box does not participate in the command sending process. Instead, it actively controls the power to be turned off through the general signal platform. The role of the control box in this process is to monitor the power supply voltage and signal status of the infrared sensing device in real time using its internal detection circuit after receiving the command from the general signal platform, and transmit it to the general signal platform so that the general signal platform can determine whether there is a fault in the infrared sensing device itself.

[0034] Furthermore, the control box, general signal platform and infrared sensing device are connected by a power connection cable, which includes a positive wire and a negative wire; The positive wire is electrically connected to the output port of the general signal platform, the power input terminal of the infrared sensing device, and the power voltage detection terminal of the control box. It is used by the general signal platform to power the infrared sensing device by adjusting the voltage of the output port, and by the control box to detect the voltage on the positive wire. The negative wire is electrically connected to the ground terminal of the infrared sensing device and the ground terminal of the control box.

[0035] Specifically, the positive wire forms the power supply and monitoring link of the system. One end of the positive wire is connected to the output port of the general signal platform, serving as the power source; the other end of the positive wire branches to the positive power terminal (VCC) of the infrared sensing device and the voltage detection interface of the control box, respectively.

[0036] This connection method forms the following circuit logic: when the output port of the general signal platform outputs a high level (such as 12V / 24V), the current is transmitted to the infrared sensing device through the positive line to make it work, and the control box can detect the high level at the same time; when the general signal platform outputs a low level or is disconnected, the infrared sensing device loses power, and the control box detects the voltage drop.

[0037] The negative wire connects the negative terminal (GND) of the infrared sensor to the common ground of the control box, forming a complete current loop. Compared to the existing technology where the control box is directly powered, this solution transfers power supply control to a general signal platform, while the control box retains the ability to monitor the voltage of the power supply line, thereby realizing the aforementioned power outage fault diagnosis function.

[0038] Furthermore, the control box is electrically connected to the infrared sensing device via a signal line, which is used to transmit the real-time operating status of the infrared sensing device to the control box.

[0039] The signal line can be understood as a physical medium specifically for data transmission, designed to ensure that the operating status of the infrared sensing device can be accurately and promptly acquired by the control box. In practical applications, the signal line can take various forms; for example, it can be a cable composed of one or more conductors for transmitting digital or analog signals. As a preferred embodiment, the signal line can be a twisted pair, coaxial cable, or optical fiber to adapt to different transmission distances, anti-interference requirements, and data rate demands. In this way, real-time information detected by the infrared sensing device, such as the presence of obstacles and whether the device is operating normally, can be stably transmitted to the control box via the signal line, providing a data foundation for subsequent command generation and device control.

[0040] Furthermore, the control box is electrically connected to the general signal platform via an RS485 bus, which is used to enable communication between the control box and the general signal platform.

[0041] Specifically, the RS485 bus is a serial communication standard characterized by its differential signal transmission method, which provides strong noise immunity and long-distance transmission capability. In practical applications, the RS485 bus typically supports multi-point communication, allowing multiple devices to connect to the same bus for data exchange. This effectively simplifies wiring and improves communication efficiency for complex systems that require connecting multiple control boxes or general signal platforms. The control box is configured as an RS485 master or slave, and the general signal platform is configured as an RS485 slave or master. Both send and receive data frames via the RS485 protocol, ensuring the accuracy and integrity of data transmission.

[0042] Furthermore, the system also includes a smart screen, which is electrically connected to a universal signal platform; The smart screen is used to receive the real-time operating status of the infrared sensing device uploaded by the general signal platform, and to receive the control commands issued by the user based on the real-time operating status. The screen then sends the control commands to the general signal platform, which responds to the control commands and controls the operating status of the infrared sensing device.

[0043] The smart screen receives real-time operating status data from the infrared sensors uploaded by the general signal platform. This means the general signal platform transmits real-time operating status information received from the control box, such as device operating status, fault status, and power status, to the smart screen for display. The purpose is to allow users to intuitively understand the current operating status of the infrared sensors.

[0044] In addition, the smart screen is also used to receive control commands issued by the user based on the real-time operating status. For example, the user can issue commands on the smart screen to turn the infrared sensing device on or off, or adjust its operating mode, via touch, buttons, or other input methods. The purpose is to provide users with a way to manually intervene and control the infrared sensing device.

[0045] Subsequently, the smart screen sends the received control commands to the universal signal platform. Upon receiving these commands, the universal signal platform parses them and executes the corresponding actions. For example, if the control command is a shutdown command, the universal signal platform directly adjusts the voltage at its output port to cut off the power to the infrared sensor; if the control command is a parameter adjustment command, the universal signal platform can communicate with the control box to adjust the detection logic. In this way, users can actively manage the infrared sensor through the smart screen. In practical applications, control commands can be power switch commands, mode switching commands, etc., allowing users to perform fine-grained management of the infrared sensor remotely or locally via the smart screen.

[0046] In some preferred embodiments, it is assumed that the infrared sensor is used in a smart door and window system to detect obstacles and prevent pinching injuries. When the infrared sensor is working normally, its real-time operating status (e.g., "normal operation") is received by the control box and transmitted to the universal signal platform, which then displays it on the smart screen. The user can clearly see on the smart screen that the door and window area is free of obstacles and the infrared sensor is in standby mode. If the user wishes to temporarily disable the infrared sensor for cleaning or maintenance, they can issue a "turn off infrared sensor" control command through the smart screen. This command is sent to the universal signal platform, which then cuts off the power to the infrared sensor. The smart screen will then simultaneously display the infrared sensor's status as "off". After maintenance is completed, the user can again issue a "turn on infrared sensor" command through the smart screen to restore the device's normal operation. This approach allows users to flexibly manage the infrared sensor according to their actual needs, rather than simply passively receiving fault alerts.

[0047] Please refer to Figure 2 A method for controlling the state of an infrared sensing device, the method being applied to any of the systems described above, the method comprising: S1: Control the general signal platform to receive the real-time operating status of the infrared sensing device transmitted by the control box; S2: When the infrared sensing device malfunctions in real-time operation, the general signal platform sends a test command to the control box and receives the control box's response to the test command. If no response is received, a reminder that the control box has a communication failure is issued. S3: If the general signal platform receives a response, control the output port of the general signal platform to turn off the power of the infrared sensing device; S4: The general signal platform receives the detection information fed back by the control box. The detection information includes the power supply voltage detection result of the infrared sensor after power failure and the signal line output status. If the power supply voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before power failure, a reminder is issued that the infrared sensor itself is faulty. If the power supply voltage detection result indicates that the power is not off, a reminder is issued that the connection line between the control box and the infrared sensor is faulty.

[0048] Specifically, in step S1, the system receives signals from the infrared sensing device transmitted by the control box through the general signal platform. These signals reflect information such as whether the infrared sensing device is currently working properly and whether there is obstacle detection. For example, when the infrared sensing device is working normally, it will periodically send status signals. When it malfunctions, it may manifest as signal interruption or signal abnormality.

[0049] In step S2, the test command aims to verify whether the communication link between the control box and the general signal platform is normal. After receiving the test command, the control box should send a response signal to the general signal platform. If the general signal platform does not receive the response within a preset time, it can be determined that the control box has a communication failure and issue a corresponding reminder.

[0050] In step S3, if the general signal platform receives the response within a preset time, it turns off the power to the infrared sensing device to determine whether there is a fault in the infrared sensing device itself or a fault in the connection line between the control box and the infrared sensing device.

[0051] In step S4, the logic for verifying the fault of the infrared sensing device relies on the detection of signal residual after power failure. Specifically, if a short circuit occurs in the internal circuitry of the infrared sensing device (e.g., the output terminal is broken down, resulting in a continuous high level), even if the external power supply is cut off, its signal line may still maintain an abnormal level, or exhibit electrical characteristics different from those of a normal power failure during the power supply voltage drop.

[0052] To accurately capture this instantaneous state and ensure timing coordination, the following communication timing is used between the general signal platform and the control box: The first step is for the general signal platform to send a power-off test preparation command to the control box. Upon receiving this command, the control box activates its internal voltage detection circuit (ADC) and signal line monitoring program, and sends a ready response to the general signal platform.

[0053] When the second general signal platform receives the ready response, it immediately pulls down the voltage of the output port connected to the positive line (e.g., sets it to 0V or an open circuit state), thereby cutting off the power supply to the infrared sensing device at the source.

[0054] The third step involves the control box continuously sampling the voltage at the power input terminal of the infrared sensing device and simultaneously reading the level status of the signal line within a preset time window after the power-off action is performed on the general signal platform (e.g., from 0ms to 500ms after the power-off).

[0055] The fourth step is result feedback: The control box packages the monitored actual power supply voltage value and the signal line status after power failure to generate status information, and sends it back to the general signal platform via RS485 bus.

[0056] Based on the above feedback information, the general signal platform makes the following judgment: If the actual power supply voltage value shown by the feedback has dropped to 0V (or below the low level threshold), it means that the power supply has been successfully cut off. If the signal line status after power failure still shows a high level signal with an obstacle / fault (i.e., the status is not reset with power failure), it is determined that there is a fault in the infrared sensing device itself (such as internal short circuit or lock-up).

[0057] In step S4, if the actual power supply voltage value shown by the feedback still shows a high level (no change), it means that although the platform has performed a power-off, the line voltage has not dropped. In this case, it is determined that there is a fault in the connection line between the control box and the infrared sensing device (for example, the line is short-circuited to another power source, or the platform output port is damaged).

[0058] This application's solution achieves accurate assessment of the status of infrared sensing devices and their related components through a phased, multi-dimensional fault diagnosis process. First, by continuously acquiring the real-time operating status of the infrared sensing devices, initial signs of device malfunction can be detected promptly. Second, when a malfunction is detected, the system does not directly determine if the device itself is faulty. Instead, it first sends a test command to the control box and waits for a response to rule out communication failures between the control box and the general signal platform. This step-by-step verification allows the system to distinguish between communication problems and issues with the device itself. Based on this, if communication is normal, the system further controls the power switch of the infrared sensing device and observes changes in its power status to determine whether the fault originates from the infrared sensing device itself or its connection to the control box. This layer-by-layer diagnostic mechanism effectively avoids misjudgments and improves the accuracy of fault location.

[0059] Compared to existing technologies that require disassembling the infrared sensor for testing when it malfunctions, this application chooses to additionally connect to a universal signal platform to actively control the power supply of the infrared sensor, thus enabling fault diagnosis without removing the device. Furthermore, if the infrared sensor is damaged and continuously triggered for some reason, preventing the window from closing properly, the window can be restored to normal operation by controlling the universal signal platform through the smart screen to shut down the infrared sensor, thus deactivating it and restoring normal smart window control.

[0060] Therefore, this application effectively reduces the maintenance cost of infrared sensing equipment and has a strong emergency response capability.

[0061] Furthermore, step S2 includes: S5: Generate the first control command based on the real-time working status; S6: Receives a second control command issued by the user through the smart screen; both the first and second control commands are used to control the working status of the infrared sensing device or to turn the power on or off. S7: Compare the first control instruction with the second control instruction. If there is a conflict between the first control instruction and the second control instruction, execute the second control instruction and suspend the execution of the first control instruction during the execution of the second control instruction. When the execution of the second control instruction ends, resume the execution of the first control instruction.

[0062] Specifically, during system operation, the control box continuously acquires the real-time operating status of the infrared sensing device and uploads it to a general signal platform, ultimately displaying it on the smart screen. Based on this real-time operating status, the system can automatically generate a first control command. This command aims to control the operating status of the infrared sensing device according to preset logic or environmental conditions, such as adjusting its sensitivity, turning the power on or off, etc. Simultaneously, the user can directly issue a second control command through the smart screen. This command is also used to control the operating status of the infrared sensing device or to turn its power on or off. For example, the user can manually force the infrared sensing device to turn on or off, or adjust its specific parameters.

[0063] The specific process of generating the first control command based on the real-time working status is as follows: First, the control box receives the real-time operating status of the infrared sensor. This real-time status includes at least obstacle detection status (e.g., presence / absence of obstructions), device health status (e.g., whether the infrared sensor's signal is interrupted or continuously outputting abnormal signals), and environmental interference status (e.g., background noise level or interference signal strength). Then, the real-time operating status is matched against preset logic. For example: if the real-time status displays "obstacle detected" and doors / windows are closing, the logic determines this as a dangerous situation and matches the "safety assurance command" strategy; if the real-time status displays "high level of environmental interference" (e.g., direct sunlight), the logic determines that sensitivity needs adjustment and matches the "parameter adjustment command" strategy; if the real-time status displays "no activity for a long time" or "in night mode," the logic determines this as an idle state and matches the "power off command." Once the logic match is successful, the corresponding first control command is generated.

[0064] When the system detects a conflict between the first and second control commands—for example, the first command instructs the infrared sensor to turn off, while the second command instructs it to turn on—the system will prioritize executing the second command. During the execution of the second command, the execution of the first command will be paused. This means that user intervention will temporarily override the system's automated control. Once the second command is executed, such as when the user cancels the manual operation or the manual operation reaches its preset duration, the system will automatically resume the execution of the first command, returning the infrared sensor to automated control mode.

[0065] In some preferred embodiments, a specific example is given below. Assume a smart access control system is equipped with an infrared sensor to detect obstacles and control the opening and closing of motorized doors and windows. Based on the real-time operating status of the infrared sensor, the system automatically generates a first control command; for example, when no obstacle is detected, the motorized door or window is instructed to close. At this time, if a user observes a child approaching the motorized door or window through the smart screen and manually issues a second control command, requesting the motorized door or window to stop closing or open immediately, the system will immediately compare these two conflicting commands. Since the second control command was manually issued by the user, the system will prioritize executing the second control command, stopping the motorized door or window from closing or opening, while pausing the automatically generated closing command. Once the child has safely passed and the user cancels the manual command, the system will resume executing the previously paused first control command, allowing the motorized door or window to continue closing.

[0066] Furthermore, step S7 includes: S71: Compare the first control command with the second control command. If there is a conflict between the first control command and the second control command, determine whether the first control command is a safety protection command. The safety protection command is a stop command triggered by the infrared sensing device detecting an obstacle. S72: If the first control command is a security protection command and the second control command conflicts with the security protection command, then a security warning message is displayed on the smart screen, and a confirmation command issued by the user through the smart screen is received. S73: If a confirmation command is received, the second control command is executed, and the execution of the first control command is suspended during the execution of the second control command; S74: If no confirmation instruction is received, continue the execution of the security assurance instruction; S75: If the first control instruction is not a safety protection instruction, and there is a conflict between the first control instruction and the second control instruction, then the second control instruction shall be executed, and the execution of the first control instruction shall be suspended during the execution of the second control instruction; S76: When the second control instruction finishes execution, resume the execution of the first control instruction.

[0067] Specifically, in step S71, the first control command and the second control command are compared to identify whether there is a conflict between them. When a conflict is detected, the system will further determine the nature of the first control command. The safety assurance command can be understood as a stop command automatically triggered by the infrared sensing device after detecting an obstacle, its purpose being to prevent the device from colliding with the obstacle and ensure operational safety.

[0068] Furthermore, in step S72, if it is confirmed that the first control command is a safety assurance command and conflicts with the second control command issued by the user, the system will not immediately execute the second control command. Instead, to ensure that the user clearly understands the potential risks, a safety warning message will be displayed on the smart screen, such as "An obstacle has been detected. Forced execution may be risky. Do you want to continue?" Simultaneously, the system will wait for the user to issue a confirmation command through the smart screen, indicating that the user understands the risks and still wishes to execute the second control command.

[0069] In step S73, once the user's confirmation command is received, the system executes the second control command and suspends the execution of the security assurance command during its execution. This allows the user to temporarily override the automatic security mechanism with full knowledge.

[0070] However, in step S74, if the system does not receive confirmation from the user within a certain period of time, or if the user explicitly chooses not to confirm, the system will maintain the execution of the security instruction to ensure that the security mechanism is not bypassed by unauthorized or careless operations.

[0071] Furthermore, in step S75, if the first control command is not a safety-assurance command and conflicts with the second control command, the system will directly execute the second control command and suspend the first control command during its execution. This applies to non-safety-critical command conflict scenarios, prioritizing direct user operations.

[0072] Finally, in step S76, regardless of whether the second control command is executed by force or by normal means, the system will resume the execution of the first control command after its execution is completed, ensuring that the automation control logic of the equipment can continue to operate normally.

[0073] This application's solution addresses the security risks inherent in traditional solutions that rely on simple instruction overriding by introducing a judgment on the nature of the first control command, particularly distinguishing whether it is a safety-protection command. When the system identifies a conflicting first control command as a safety-protection command, it no longer directly executes the second control command but instead issues a safety warning to the user via the smart screen and requests confirmation. This mechanism ensures that during safety-critical operations, the user must be clearly informed and actively confirm before the automatic safety stop command triggered by the infrared sensor can be temporarily overridden. This prevents accidental bypassing of safety protection measures due to misoperation or improper operation, significantly improving system security. Simultaneously, for conflicts involving non-safety-protection commands, the system can still flexibly respond to user commands, maintaining operational convenience.

[0074] In some preferred embodiments, an electric door and window system is assumed to be equipped with an infrared sensor to detect obstacles in the closing path of the door or window. When the electric door or window is closing, the infrared sensor detects an obstacle (such as a child's hand) below the door or window, triggering a first control command, a safety instruction, instructing the electric door or window to immediately stop closing and open in the reverse direction. At this point, the user may issue a second control command, such as a "force close" command, via a smart screen.

[0075] According to the solution in this application, the system first compares the two instructions and finds a conflict between the first control instruction (stop shutting down and reverse turning on) and the second control instruction (force shutdown). Since the first control instruction is identified as a safety instruction triggered by an obstacle detected by the infrared sensor, the system will not immediately execute the forced shutdown instruction. Instead, a safety warning message will be displayed on the smart screen, such as "Obstacle detected. Forced shutdown may be risky. Continue?".

[0076] If the user clicks the "Confirm" button on the smart screen after seeing the warning, the system will receive a confirmation command and execute the second control command, which will forcibly close the electric doors and windows while suspending the execution of the safety protection command. During this period, the doors and windows will continue to close even if the infrared sensor still detects an obstacle. After the forced closure command is completed, the system will resume monitoring of the first control command, meaning that if an obstacle is detected again, the safety protection command will still be triggered.

[0077] Conversely, if the user does not click "Confirm" or selects "Cancel", the system will maintain the execution of the safety instruction, and the electric doors and windows will stop closing and open in the opposite direction, thereby avoiding the potential risk of pinching.

[0078] In contrast, if the first control command is not a safety-assurance command, such as a "slow close" command that conflicts with the user's "fast close" command, the system will directly execute the user's "fast close" command and pause the "slow close" command during its execution, resuming execution only after the "fast close" command is complete. In this case, resuming the execution of the first control command means resuming the command at the command level, rather than having the motor execute it. Once the electric doors and windows have closed quickly, the first control command resumes, the system checks that the electric doors and windows are closed, the goal of the first control command has been achieved, and it will not be executed again.

[0079] In some embodiments described above in this application, methods for controlling the state of infrared sensing devices have been proposed. However, in practical applications, infrared sensing devices may malfunction or fail, and the basic control methods fail to provide an effective fault diagnosis mechanism. This makes it difficult to quickly locate the fault source when the device malfunctions, thereby affecting the reliability and maintenance efficiency of the system. Therefore, this application further proposes a diagnostic method for infrared sensing device malfunctions to effectively locate the fault source, thereby improving the reliability and maintainability of the system.

[0080] Furthermore, step S1 includes: S11: Receive the initial working status of the infrared sensing device from the control box; S12: Based on the initial working status and the current movement status of the electric doors and windows, determine whether there is any abnormality in the status of the infrared sensing device; S13: If an abnormality is detected, a test command is sent to the control box. The test command is used to shut down the transmitter of the infrared sensing device. S14: Receiver status of the infrared sensing device during the period when the transmitter is turned off, as fed back by the control box; S15: Determine whether the infrared sensing device is affected by environmental interference based on the receiver status; S16: If it is determined that the infrared sensing device is subject to environmental interference, the initial working state of the infrared sensing device is corrected to obtain the real-time working state.

[0081] Specifically, in step S11, the control box is responsible for collecting the operating data of the infrared sensing device and feeding it back as a preliminary operating status to the general signal platform or smart screen for processing. This preliminary operating status may include information such as the detection signal, operating mode, and fault indication of the infrared sensing device.

[0082] Furthermore, in step S12, the system comprehensively analyzes the received preliminary operating status and the current motion status of the electric doors and windows. For example, if the infrared sensing device continues to detect obstacle signals even when the electric doors and windows are fully closed, or frequently triggers them in the absence of obvious obstacles, it may be judged as an anomaly. The current motion status of the electric doors and windows can be provided by their own sensors (such as position sensors and speed sensors) to help determine the rationality of the feedback from the infrared sensing device.

[0083] When an anomaly is detected, in step S13, the system sends a specific test command to the control box. The purpose of this test command is to temporarily shut down the transmitter of the infrared sensor, causing it to stop emitting infrared signals. This is intended to eliminate interference that may be caused by the infrared sensor's own signal emission, in order to more accurately detect external environmental interference.

[0084] Subsequently, in step S14, the system receives feedback from the control box regarding the receiver status of the infrared sensing device during the period when the transmitter is off. During this period, since no infrared signal is actively transmitted, the receiver should theoretically be in a no-signal reception state, unless there is external environmental interference.

[0085] Based on the receiver status, in step S15, the system determines whether the infrared sensing device is subject to environmental interference. For example, if the receiver still detects a signal when the transmitter is off, it indicates that external infrared light sources, strong light reflections, or other environmental factors are interfering with the infrared sensing device.

[0086] Finally, if it is determined that the infrared sensing device is affected by environmental interference, in step S16, the system will correct the initial operating state to eliminate or mitigate the impact of environmental interference, thereby obtaining a more accurate real-time operating state. Correction methods may include, but are not limited to, adjusting the detection threshold and sensitivity. Specifically, the detection threshold can be dynamically adjusted based on the degree of environmental interference. For example, if direct sunlight causes increased background infrared radiation, reflecting an increased degree of environmental interference, the system will raise the detection threshold to avoid false alarms. Sensitivity can be adjusted based on the type of environmental interference. For example, if electromagnetic interference of a specific frequency exists, the system will reduce the sensitivity within that frequency range to reduce the impact of interference signals.

[0087] Furthermore, step S16 includes: S161: Obtain information on the degree of environmental interference; S162: Adjust the trigger threshold or sensitivity of the infrared sensing device for detecting obstacles based on the degree of environmental interference. S163: Based on the adjusted trigger threshold or sensitivity, correct the initial working state of the infrared sensing device to obtain the real-time working state.

[0088] Specifically, in step S161, the information on the degree of environmental interference can be understood as a quantitative assessment of the strength of unexpected signals received by the infrared sensing device's receiver. This information can be analyzed based on the receiver state of the infrared sensing device during the period when the transmitter is off, as received in step S14 above. For example, it can be obtained by measuring the background noise level of the receiver when there is no transmitted signal or the strength of interference signals at a specific frequency. The purpose is to provide accurate input data for subsequent adaptive adjustments.

[0089] In step S162, the trigger threshold or sensitivity of the infrared sensing device for detecting obstacles is dynamically adjusted based on the acquired information about the degree of environmental interference. The trigger threshold refers to the minimum signal change or signal strength required for the infrared sensing device to determine the presence of an obstacle. Sensitivity reflects the infrared sensing device's ability to respond to weak signals. When the level of environmental interference is high, the trigger threshold can be appropriately increased, or the sensitivity can be appropriately decreased, to avoid false detection; conversely, when the level of environmental interference is low, the trigger threshold can be appropriately decreased, or the sensitivity can be appropriately increased, to improve the accuracy and timeliness of detection. In practical applications, this adjustment can be achieved through a preset lookup table, the purpose of which is to ensure that the infrared sensing device maintains optimal detection performance under different interference environments. The preset lookup table contains multiple mapping relationships between environmental interference levels and corresponding trigger threshold or sensitivity adjustment parameters. When the level of environmental interference is low, the preset lookup table instructs the control box to decrease the trigger threshold or increase the sensitivity. After receiving these adjustment parameters, the control box applies them to the data processing logic of the infrared sensor.

[0090] Furthermore, in step S163, after the trigger threshold or sensitivity is adjusted, the initial operating state of the infrared sensing device will be reassessed and corrected based on these new parameters. This means that the initial operating state, previously determined based on fixed parameters, will now be calibrated in conjunction with the adjusted threshold or sensitivity, resulting in a more accurate and reliable real-time operating state. For example, if an initial assessment indicates an anomaly, but after adjusting the threshold, the strength of the abnormal signal is found to be lower than the new threshold, it may be corrected to a normal state; conversely, the same applies. The purpose is to ensure that the real-time operating state output by the infrared sensing device accurately reflects its actual operating condition in the current environment.

[0091] This application's solution addresses the issue of insufficient precision in the aforementioned basic solutions by introducing a quantitative assessment of environmental interference levels and adaptively adjusting key detection parameters (trigger threshold or sensitivity) of the infrared sensing device based on this assessment. Specifically, when the infrared sensing device detects environmental interference, the system first acquires information about the interference intensity. Given that interference intensity is dynamic, the system intelligently adjusts the infrared sensing device's response standard to obstacle signals based on the actual level of interference. For example, in a strong interference environment, increasing the trigger threshold or decreasing the sensitivity can effectively filter out false signals caused by interference, avoiding false alarms; while in a weak interference environment, the trigger threshold can be decreased or the sensitivity increased to ensure timely and accurate detection of real obstacles. It is precisely this dynamic and adaptive parameter adjustment that enables the infrared sensing device to always operate in an optimized state, allowing for more precise correction of the initial operating state and ultimately achieving a highly reliable real-time operating state.

[0092] The above description is merely an embodiment of this application and is not intended to limit the scope of protection of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application.

Claims

1. A system for controlling the state of an infrared sensing device, characterized by The system includes at least a control box and a general signal platform; The control box, the general signal platform, and the infrared sensing device are connected in pairs; The control box is used to receive the real-time operating status of the infrared sensing device and transmit the real-time operating status to the general signal platform; The general signal platform is used to send a test command to the control box and receive the response of the control box to the test command when the real-time working status reflects that the infrared sensing device is malfunctioning. If the response is not received, a reminder that the control box has a communication failure is issued. If the response is received, the output port of the general signal platform is controlled to turn off the power of the infrared sensing device; then the detection information fed back by the control box is received, the detection information includes the power voltage detection result of the infrared sensing device and the signal line output status; if the power voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before the power failure, then a reminder that the infrared sensing device itself is faulty is issued. If the power supply voltage detection result indicates that the power is not turned off, a warning will be issued indicating a fault in the connection line between the control box and the infrared sensing device.

2. The system for controlling the state of an infrared sensing device according to claim 1, wherein, The control box, the general signal platform, and the infrared sensing device are connected by a power connection cable, which includes a positive wire and a negative wire. The positive line is electrically connected to the output port of the general signal platform, the power input terminal of the infrared sensing device, and the power voltage detection terminal of the control box. It is used for the general signal platform to supply power to the infrared sensing device by adjusting the voltage of the output port, and for the control box to detect the voltage on the positive line. The negative line is electrically connected to the ground terminal of the infrared sensing device and the ground terminal of the control box.

3. The system for controlling the state of an infrared sensing device according to claim 1, wherein, The control box is electrically connected to the infrared sensing device via a signal line, which is used to transmit the real-time operating status of the infrared sensing device to the control box.

4. The system for controlling the state of an infrared sensing device according to claim 3, characterized in that, The control box and the general signal platform are electrically connected via an RS485 bus, which is used to enable communication between the control box and the general signal platform.

5. The system for controlling the state of an infrared sensing device according to claim 1, characterized in that, The system also includes a smart screen, which is electrically connected to the general signal platform; The smart screen is used to receive the real-time operating status of the infrared sensing device uploaded by the universal signal platform, and to receive control commands issued by the user based on the real-time operating status. The screen then sends the control commands to the universal signal platform, which responds to the control commands and controls the operating status of the infrared sensing device.

6. A method for controlling the state of an infrared sensing device, characterized in that, The method is applied to the system as described in any one of claims 1-5, and the method comprises: S1: Control the general signal platform to receive the real-time operating status of the infrared sensing device transmitted by the control box; S2: When the real-time working status indicates that the infrared sensing device is malfunctioning, the general signal platform sends a test command to the control box and receives the response of the control box to the test command. If the response is not received, a reminder that the control box has a communication failure is issued. S3: If the general signal platform receives the response, it controls the output port of the general signal platform to turn off the power of the infrared sensing device; S4: The general signal platform receives the detection information fed back by the control box. The detection information includes the power supply voltage detection result of the infrared sensing device after power failure and the signal line output status. If the power supply voltage detection result indicates that the power is off, but the signal line output status still maintains the fault signal output before power failure, a reminder is issued that the infrared sensing device itself has a fault. If the power supply voltage detection result indicates that the power is not off, a reminder is issued that the connection line between the control box and the infrared sensing device has a fault.

7. The method for controlling the state of an infrared sensing device according to claim 6, characterized in that, The method further includes: S5: Generate a first control command based on the real-time working status; S6: Receive a second control command issued by the user through the smart screen; both the first control command and the second control command are used to control the working status or power-off / on of the infrared sensing device; S7: Compare the first control instruction with the second control instruction. If there is a conflict between the first control instruction and the second control instruction, execute the second control instruction and suspend the execution of the first control instruction during the execution of the second control instruction. When the execution of the second control instruction ends, resume the execution of the first control instruction.

8. A method for controlling the state of an infrared sensing device according to claim 7, characterized in that, Step S7 includes: S71: Compare the first control command with the second control command. If there is a conflict between the first control command and the second control command, determine whether the first control command is a safety protection command. The safety protection command is a stop command triggered by the infrared sensing device detecting an obstacle. S72: If the first control command is the security protection command, and the second control command conflicts with the security protection command, then a security warning message is displayed on the smart screen, and a confirmation command issued by the user through the smart screen is received; S73: If the confirmation instruction is received, the second control instruction is executed, and the execution of the first control instruction is suspended during the execution of the second control instruction; S74: If the confirmation instruction is not received, the execution of the security instruction shall continue; S75: If the first control instruction is not the security protection instruction, and there is a conflict between the first control instruction and the second control instruction, then the second control instruction is executed, and the execution of the first control instruction is suspended during the execution of the second control instruction; S76: When the execution of the second control instruction ends, the execution of the first control instruction resumes.

9. A method for controlling the state of an infrared sensing device according to claim 6, characterized in that, Step S1 includes: S11: Receive the initial working status of the infrared sensing device from the control box; S12: Based on the preliminary working state and the current movement state of the electric doors and windows, determine whether there is any abnormality in the status of the infrared sensing device; S13: If an abnormality is detected, a test command is sent to the control box. The test command is used to shut down the transmitter of the infrared sensing device. S14: Receive the receiver status of the infrared sensing device during the period when the transmitter is turned off, as fed back by the control box; S15: Based on the status of the receiving end, determine whether the infrared sensing device is subject to environmental interference; S16: If it is determined that the infrared sensing device is subject to environmental interference, the preliminary working state of the infrared sensing device is corrected to obtain the real-time working state.

10. A method for controlling the state of an infrared sensing device according to claim 9, characterized in that, Step S16 includes: S161: Obtain information on the degree of environmental interference; S162: Adjust the trigger threshold or sensitivity of the infrared sensing device for detecting obstacles based on the information about the degree of environmental interference; S163: Based on the adjusted trigger threshold or sensitivity, the initial working state of the infrared sensing device is corrected to obtain the real-time working state.

Citation Information

Patent Citations

  • Mine self-diagnosis methane sensor and self-diagnosis method

    CN102944580A

  • Test circuit and test method of infrared induction signal processing system

    CN115127682A

  • Magnetic suspension door control system and control method thereof

    CN118029819A

  • Intelligent parking lock remote control and fault self-checking system

    CN119182815A

  • Fail-safe testing of an infrared sensor arrangement

    US5151682A