Low power consumption infrared detection device and low power consumption infrared detection method

By introducing preset transmitting and receiving sleep time and wireless communication into the infrared detection device, the problem of inconvenient installation of the existing infrared detection device is solved, low-power infrared detection is achieved, and it is suitable for convenient installation and use in a variety of scenarios. .

CN116486592BActive Publication Date: 2024-10-22GUANGDONG LANSHUIHUA INTELLIGENT ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310345895.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-31
Publication Date
2024-10-22
Estimated Expiration
2043-03-31

AI Technical Summary

Technical Problem

The installation structure of the existing infrared detection device has disadvantages, which makes it inconvenient to use, especially in scenarios such as automatic doors, anti-theft alarms, and human presence detection. Especially when installed near a window or balcony, there is a lack of power supply conditions, which limits its application. scope.

Method used

Uses low-power infrared detection device, including infrared transmitter, infrared receiver and wireless decoder, automatically wakes up and sleeps through the preset transmitting and receiving sleep time, realizes wireless communication, avoids wire connection, and is used under battery power , the wireless decoder is wirelessly connected to the low-power infrared detection device.

Benefits of technology

It avoids wiring connections and improves the convenience of use. It is suitable for a variety of scenarios such as door and window alarms, channel flow detection, wall alarms, etc., and due to its low power consumption, it can be easily installed and used without being connected to the power supply. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116486592B_ABST
    Figure CN116486592B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of infrared detection technology, and particularly relates to a low-power infrared detection device and a low-power infrared detection method, wherein the infrared transmitter goes into sleep mode at a preset transmission sleep time, and transmits an infrared light signal to the infrared receiver within the signal transmission time; the infrared receiver goes into sleep mode at a preset reception sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after sleep; if the infrared receiver does not collect the infrared light signal within a preset number of signal collection times, it is determined that someone is present, and the wireless decoder sends a door opening command to the controlled device host. Through the wireless connection between the wireless decoder and the infrared receiver, the connection and communication between the infrared detection hardware and the controlled device can be achieved by avoiding wiring, and low-power infrared detection is also achieved, thereby improving the convenience of use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of infrared detection technology, and in particular relates to a low-power infrared detection device and a low-power infrared detection method. Background Art

[0002] At present, the application scope of infrared detection of human body is very wide. For example, infrared detection devices may be used in scenes such as automatic door anti-pinch, anti-theft alarm, and human presence detection. In the automatic door scene, the infrared detection device is mainly used to detect whether there is a person standing under the door to prevent the door from pinching people during the automatic closing process. The infrared detection device used by the automatic door includes an infrared transmitter and an infrared receiver. The infrared receiver is wired to the decoder. The decoder is installed next to the automatic door host and is electrically connected to the automatic door host. The decoder is generally installed on the door beam of the automatic door with the automatic door host, and the infrared transmitter and infrared receiver are installed on both sides of the door column of the automatic door, so the construction and wiring will be more troublesome; if you want to add an anti-pinch probe after the construction is completed, you may even need to destroy the door column or wall in order to hide the wiring harness.

[0003] In scenarios such as burglar alarm or human presence detection, when the infrared detection device needs to be installed near a window or balcony, there is not even a condition to connect to the power supply. This greatly limits the application scenarios of infrared and leads to inconvenience in use. Summary of the invention

[0004] The purpose of the present invention is to provide a low-power infrared detection device and a low-power infrared detection method, aiming to solve the technical problem that the installation structure of the infrared detection device in the prior art has drawbacks and causes inconvenience in use.

[0005] To achieve the above-mentioned purpose, an embodiment of the present invention provides a low-power infrared detection device, comprising an infrared transmitter, an infrared receiver and a wireless decoder, wherein the infrared receiver is communicatively connected to the infrared transmitter, the wireless decoder is wirelessly connected to the infrared receiver, and the wireless decoder is connected to a host of a controlled device; wherein,

[0006] The infrared transmitter sleeps for a preset transmission sleep time, wakes up automatically after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time;

[0007] The infrared receiver sleeps for a preset receiving sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after the sleep time;

[0008] If the infrared receiver does not collect the infrared light signal within the preset number of signal collection times, it is determined that there is a person, and a wireless signal of a person is sent to the wireless decoder;

[0009] The wireless decoder sends a door opening instruction to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening instruction.

[0010] Optionally, the infrared transmitter includes an infrared transmitting microcontroller and an infrared transmitting tube, the infrared transmitting tube is connected to the infrared transmitting microcontroller, the infrared transmitting microcontroller goes into sleep mode for a preset transmission sleep time, and automatically wakes up after sleep, and controls the infrared transmitting tube to transmit an infrared light signal to the infrared receiver within the signal transmission time.

[0011] Optionally, the infrared receiver includes an infrared receiving tube, an infrared receiving single chip microcomputer and a wireless transmitting module, the infrared receiving tube is connected to the infrared receiving single chip microcomputer, the infrared receiving single chip microcomputer is connected to the wireless transmitting module, and the wireless transmitting module is also wirelessly connected to the wireless decoder; the infrared receiving single chip microcomputer sleeps at a preset receiving sleep time, and controls the infrared receiving tube to collect the infrared light signal sent by the infrared transmitter within the signal collection time after sleep;

[0012] If the infrared receiving microcontroller controls the infrared receiving tube to fail to collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless transmitting module, and the wireless transmitting module sends the wireless signal indicating that there is a person to the wireless decoder.

[0013] Optionally, a low-power infrared detection method is provided, the detection method being based on the above-mentioned low-power infrared detection device, the method comprising:

[0014] Step S100: the infrared transmitter sleeps for a preset transmission sleep time, wakes up automatically after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time;

[0015] Step S200: the infrared receiver sleeps for a preset receiving sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after the sleep time;

[0016] Step S300: If the infrared receiver does not collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless decoder;

[0017] Step S400: the wireless decoder sends a door opening instruction to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening instruction.

[0018] Optionally, the method further comprises:

[0019] Step S510: the infrared receiving microcontroller collects the signal receiving time length of the infrared receiving tube from the start time of operation to the time when the infrared light signal is received;

[0020] Step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time;

[0021] Step S530: If the answer is yes, increase the receiving sleep time of the infrared receiver.

[0022] Optionally, step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time, and then further includes:

[0023] Step S540: If the judgment is no, further judging whether it is less than the minimum working time, wherein the minimum working time is preset;

[0024] Step S550: If the answer is yes, then the receiving sleep time of the infrared receiver is reduced.

[0025] Optionally, in step S540, it is further determined whether the time is less than the minimum working time, and then the following steps are further included:

[0026] If the judgment is no, the receiving sleep time of the infrared receiver is maintained.

[0027] Optionally, the method further comprises:

[0028] Step S610: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the preset standard length of time, the pre-stored continuous working time is retrieved, wherein the duration of the continuous working time is at least one infrared emission cycle plus a signal emission time, and the infrared emission cycle includes the emission sleep time and the signal emission time;

[0029] Step S620: the infrared receiving microcontroller controls the infrared receiver to operate according to the continuous operating time.

[0030] Optionally, the method further comprises:

[0031] Step S630: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the continuous working time, it is determined that there is a person;

[0032] Step S640: If the infrared receiving microcontroller determines that the infrared light signal is collected within the continuous working time, it is determined that there is no one.

[0033] Optionally, in step S400, the wireless decoder sends a door opening instruction to the controlled device host, specifically including:

[0034] Step S410: the wireless decoder decodes the door opening instruction and generates a decoding control signal;

[0035] Step S420: the wireless decoder sends the decoding control signal to the controlled device host.

[0036] The above one or more technical solutions in the low-power infrared detection device and the low-power infrared detection method provided by the embodiments of the present invention have at least one of the following technical effects:

[0037] The present invention is implemented by the infrared transmitter going into sleep at a preset transmission sleep time, automatically waking up after sleep, and transmitting an infrared light signal to the infrared receiver within the signal transmission time; the infrared receiver goes into sleep at a preset reception sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after sleep; if the infrared receiver does not collect the infrared light signal within a preset number of the signal collection times, it is determined that there is someone, and a wireless signal of someone is sent to the wireless decoder; the wireless decoder sends a door opening command to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening command, and then through the wireless connection between the wireless decoder and the infrared receiver, the connection and communication between the infrared detection hardware and the controlled device can be achieved by avoiding wiring, and low-power infrared detection is also achieved, thereby improving convenience of use.

[0038] On the other hand, in scenarios such as burglar alarms or human presence detection, when the infrared detection device needs to be installed near a window or balcony, there is not even the condition to connect to a power source, which greatly limits the application scenarios of infrared. The low-power infrared detection device of the present invention has the characteristic of low power consumption, so it can be powered by a battery, and a wireless decoder is used to wirelessly connect to the low-power infrared detection device. Therefore, the low-power infrared detection device does not require any wires for connection, thereby achieving the purpose of convenient installation and use in various scenarios such as door and window alarms, channel crowd detection, and wall alarms. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0040] Figure 1 A schematic diagram of the overall structure of a low-power infrared detection device provided by an embodiment of the present invention;

[0041] Figure 2A structural block diagram of an infrared transmitter provided by an embodiment of the present invention;

[0042] Figure 3 A structural block diagram of an infrared receiver provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0043] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the embodiments of the present invention, and should not be construed as limiting the present invention.

[0044] In the description of the embodiments of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" etc., indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the embodiments of the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present invention.

[0045] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0046] In the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific circumstances.

[0047] In one embodiment of the present invention, Figure 1-Figure 3 As shown, a low-power infrared detection device is provided, including an infrared transmitter, an infrared receiver and a wireless decoder.

[0048] The infrared receiver is communicatively connected with the infrared transmitter, the wireless decoder is wirelessly connected with the infrared receiver, and the wireless decoder is connected with the host of the controlled device; wherein the infrared transmitter sleeps for a preset transmission sleep time, and automatically wakes up after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time; the infrared receiver sleeps for a preset reception sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after sleep; if the infrared receiver does not collect the infrared light signal within a preset number of the signal collection times, it is determined that there is a person, and a wireless signal of a person is sent to the wireless decoder;

[0049] The wireless decoder sends a door opening instruction to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening instruction.

[0050] The present invention is implemented by the infrared transmitter going into sleep at a preset transmission sleep time, automatically waking up after sleep, and transmitting an infrared light signal to the infrared receiver within the signal transmission time; the infrared receiver goes into sleep at a preset reception sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after sleep; if the infrared receiver does not collect the infrared light signal within a preset number of the signal collection times, it is determined that there is someone, and a wireless signal of someone is sent to the wireless decoder; the wireless decoder sends a door opening command to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening command, and then through the wireless connection between the wireless decoder and the infrared receiver, the connection and communication between the infrared detection hardware and the controlled device can be achieved by avoiding wiring, and low-power infrared detection is also achieved, thereby improving convenience of use.

[0051] On the other hand, in scenarios such as burglar alarms or human presence detection, when the infrared detection device needs to be installed near a window or balcony, there is not even the condition to connect to a power source, which greatly limits the application scenarios of infrared. The low-power infrared detection device of the present invention has the characteristic of low power consumption, so it can be powered by a battery, and a wireless decoder is used to wirelessly connect to the low-power infrared detection device. Therefore, the low-power infrared detection device does not require any wires for connection, thereby achieving the purpose of convenient installation and use in various scenarios such as door and window alarms, channel crowd detection, and wall alarms.

[0052] In this embodiment, the controlled devices include but are not limited to automatic doors, door and window alarm devices, channel flow detection devices, wall alarm devices

[0053] In one embodiment of the present invention, the infrared transmitter includes an infrared transmitting microcontroller and an infrared transmitting tube, the infrared transmitting tube is connected to the infrared transmitting microcontroller, the infrared transmitting microcontroller goes into sleep mode for a preset transmission sleep time, and automatically wakes up after sleep mode, and controls the infrared transmitting tube to transmit an infrared light signal to the infrared receiver within the signal transmission time.

[0054] In a traditional infrared detection device, an infrared transmitting tube and an infrared receiving tube are always working. The infrared transmitting tube always emits infrared light outward, and the single-chip microcomputer in the infrared receiver also works all the time to detect whether the infrared receiving tube receives infrared rays. In the present invention, by setting the infrared transmitting single-chip microcomputer to sleep at a preset transmitting sleep time, low power consumption of the infrared transmitting single-chip microcomputer and the infrared transmitting tube is achieved.

[0055] In the present invention, in the infrared transmitter, the infrared transmitting single chip microcomputer works intermittently, the infrared transmitting single chip microcomputer is normally in a low-power sleep state, and wakes up at a fixed time; after the infrared transmitting single chip microcomputer wakes up, it drives the infrared transmitting tube to emit infrared light for a short time, and after the emission is completed, the infrared transmitting tube is turned off, and the sleep mode is entered again to complete a working cycle. Among them, the time in the sleep mode is the emission sleep time, and the infrared light emitted for a short time is the infrared light emitted for the signal emission time.

[0056] Specifically, the infrared transmitting microcontroller is in sleep mode and the infrared transmitting tube is turned off; after 65ms, the infrared transmitting microcontroller wakes up, enters the working mode, and controls the infrared transmitting tube to turn on and emit infrared light. After another 0.1ms, the infrared transmitting microcontroller controls the infrared transmitting tube to turn off and enters sleep mode. The above process is repeated during the operation of the infrared transmitter. Among them, 65ms is the transmitting sleep time and 0.1ms is the signal transmitting time.

[0057] From the above examples, it can be seen that the infrared transmitting microcontroller and the infrared transmitting tube are in sleep or off mode most of the time, and are only working for 0.1 / (65+0.1)=0.15% of the time. The current of a traditional infrared transmitter is about 15mA when it is always working. In the present invention, the working current of the infrared transmitter is about (15mA*0.15%)+2uA=25uA; (2uA is the power consumption of the microcontroller in sleep mode). The capacity of a 2032 button battery is about 250mAh, which can work for about 250mA / 25uA=10000h, i.e. 416 days, so its power consumption can meet the battery power supply requirements.

[0058] In one embodiment of the present invention, the infrared receiver includes an infrared receiving tube, an infrared receiving single-chip microcomputer and a wireless transmitting module. The infrared receiving tube is connected to the infrared receiving single-chip microcomputer, the infrared receiving single-chip microcomputer is connected to the wireless transmitting module, and the wireless transmitting module is also wirelessly connected to the wireless decoder.

[0059] The infrared receiving single chip computer sleeps for a preset receiving sleep time, and controls the infrared receiving tube to collect the infrared light signal sent by the infrared transmitter during the signal collection time after the sleep time.

[0060] If the infrared receiving microcontroller controls the infrared receiving tube to fail to collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless transmitting module, and the wireless transmitting module sends the wireless signal indicating that there is a person to the wireless decoder.

[0061] Taking the working process of the above-mentioned infrared transmitter as an example, the infrared transmitter works approximately 15 times per second, and the infrared receiver also works 15 times per second. If the infrared receiver does not receive the infrared light signal for a certain number of consecutive times, for example 5 times, where 5 times is the preset number, then the infrared light path is blocked by a person, and it is judged that there is someone; if the infrared receiver receives the infrared light signal for a certain number of consecutive times, for example 15 times, then the infrared light path is not blocked by a person, and it is judged that there is no person.

[0062] In one embodiment of the present invention, a low-power infrared detection method is provided. The detection method is based on the above-mentioned low-power infrared detection device, and the method includes:

[0063] Step S100: the infrared transmitter sleeps for a preset transmission sleep time, wakes up automatically after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time;

[0064] Step S200: the infrared receiver sleeps for a preset receiving sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after the sleep time;

[0065] Step S300: If the infrared receiver does not collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless decoder;

[0066] Step S400: the wireless decoder sends a door opening instruction to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening instruction.

[0067] In one embodiment of the present invention, the method further comprises:

[0068] Step S510: the infrared receiving microcontroller collects the signal receiving time length of the infrared receiving tube from the start time of operation to the time when the infrared light signal is received;

[0069] Step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time;

[0070] Step S530: If the answer is yes, increase the receiving sleep time of the infrared receiver.

[0071] In the present invention, the infrared receiver needs to enter the working mode when the infrared transmitter emits infrared light to detect whether the light path is blocked, and when the infrared transmitter is dormant, the infrared receiver also enters the dormant mode to save power consumption, that is, the infrared receiving tube needs to work or sleep synchronously with the infrared transmitting tube.

[0072] The infrared receiver needs to be turned on a certain time in advance, and the turn-on time needs to be adjusted continuously to ensure that this time is kept within a standard time range, so as to achieve the purpose of working synchronously with the infrared transmitter.

[0073] In this embodiment, the infrared receiver is set to be turned on 2ms to 3ms before receiving the infrared light signal, wherein 2ms is the minimum working time and 3ms is the maximum working time.

[0074] First, the infrared receiving microcontroller enters the working mode and drives the infrared receiving tube to work at the same time, so as to collect infrared signals through the infrared receiving tube. This is the working start time.

[0075] Next, start timing until the infrared receiving tube receives the infrared light signal, and the timing duration is t, that is, the signal receiving duration t.

[0076] Then, determine whether the signal receiving time t is greater than 3ms. If it is greater, it means that the infrared receiving tube works earlier than the infrared transmitting tube by more than 3ms. In fact, it does not need to exceed 3ms. Therefore, the infrared receiving tube should sleep for a little longer at this time. This can make the power consumption of the infrared receiving tube lower. Therefore, the sleep time of the infrared receiver is increased accordingly to achieve synchronization with the infrared transmitter. The increased sleep time can be set by technicians in this field, which can be the difference between the signal receiving time and the longest working time.

[0077] In one embodiment of the present invention, step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time, and then further includes:

[0078] Step S540: If the judgment is no, further judging whether it is less than the minimum working time, wherein the minimum working time is preset;

[0079] Step S550: If the answer is yes, then the receiving sleep time of the infrared receiver is reduced.

[0080] Next, it is further determined whether the signal receiving time t is less than 2ms. If so, it means that the infrared receiving management should be awakened earlier, so the sleep time of the infrared receiver should be reduced accordingly to achieve synchronization with the infrared transmitter.

[0081] In one embodiment of the present invention, in step S540, it is further determined whether the time is less than the minimum working time, and then the following steps are further included:

[0082] If the judgment is no, the receiving sleep time of the infrared receiver is maintained.

[0083] If t is within 2 to 3 ms, the sleep time of the infrared receiver remains unchanged.

[0084] In one embodiment of the present invention, the method further comprises:

[0085] Step S610: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the preset standard length of time, the pre-stored continuous working time is retrieved, wherein the duration of the continuous working time is at least one infrared emission cycle plus a signal emission time, and the infrared emission cycle includes the emission sleep time and the signal emission time;

[0086] Step S620: the infrared receiving microcontroller controls the infrared receiver to operate according to the continuous operating time.

[0087] In this embodiment, the continuous working time is preset, such as 68ms.

[0088] If the infrared receiver does not receive the infrared light signal within a standard length of time (for example, 3 seconds), in order to eliminate and avoid the failure to receive the infrared light signal caused by the infrared receiver and the infrared transmitter being out of synchronization, the infrared receiver can be set to work continuously for a longer period of time, for example, at least 68ms. At this time, 68ms is the continuous working time, thereby ensuring that the working time range of the infrared receiver can completely cover the two signal transmission times of the infrared transmitter and the interval between them.

[0089] In addition, the method further comprises:

[0090] Step S630: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the continuous working time, it is determined that there is a person;

[0091] If the infrared receiver still does not receive the infrared light signal after 68ms of continuous working, then the infrared light path is blocked by a person, that is, it is judged that there is someone;

[0092] However, since the infrared receiver works for a long time at a time, the power consumption of the single work increases. In order to reduce the average power consumption, the infrared receiver needs to increase the working time interval. For example, the infrared receiver sleeps for 3 seconds and then continues to work for 68ms.

[0093] Step S640: If the infrared receiving microcontroller determines that the infrared light signal is collected within the continuous working time, it is determined that there is no one.

[0094] If the infrared receiver receives the infrared light signal during the continuous operation of less than 68ms, then the infrared light path is not blocked by personnel, and it is determined that there is no one; at the same time, the infrared receiver can resynchronize the working cycle with the infrared transmitter.

[0095] In one embodiment of the present invention, in step S400, the wireless decoder sends a door opening instruction to the controlled device host, specifically including:

[0096] Step S410: the wireless decoder decodes the door opening instruction and generates a decoding control signal;

[0097] Step S420: the wireless decoder sends the decoding control signal to the controlled device host.

[0098] In this embodiment, if the infrared receiver determines that someone is blocking the light path, the wireless transmission module in the infrared transmitter will transmit a wireless signal indicating someone is blocking the light path. After receiving the wireless signal, the wireless decoder will decode the wireless signal and transmit it to the host, which will respond accordingly.

[0099] For example, in the application scenario of the controlled device, if the wireless decoder receives a wireless signal of a person transmitted by the infrared receiver, the wireless decoder will decode the wireless signal and transmit it to the host of the controlled device. The host of the controlled device will then control the controlled device not to close the door to prevent people from being pinched.

[0100] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A low-power infrared detection method, characterized in that: The detection method is based on a low-power infrared detection device; The low-power infrared detection device includes an infrared transmitter, an infrared receiver and a wireless decoder, wherein the infrared receiver is connected to the infrared transmitter for communication, the wireless decoder is wirelessly connected to the infrared receiver, and the wireless decoder is connected to the host of the controlled device; wherein, The infrared transmitter sleeps for a preset transmission sleep time, wakes up automatically after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time; The infrared receiver sleeps for a preset receiving sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after the sleep time; If the infrared receiver does not collect the infrared light signal within the preset number of signal collection times, it is determined that there is a person, and a wireless signal of a person is sent to the wireless decoder; The wireless decoder sends a door opening command to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening command, wherein the controlled device includes but is not limited to automatic doors, door and window alarm devices, channel flow detection devices, and wall alarm devices; The method comprises: Step S100: the infrared transmitter sleeps for a preset transmission sleep time, wakes up automatically after sleep, and transmits an infrared light signal to the infrared receiver within the signal transmission time; Step S200: the infrared receiver sleeps for a preset receiving sleep time, and collects the infrared light signal sent by the infrared transmitter within the signal collection time after the sleep time; Step S300: If the infrared receiver does not collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless decoder; Step S400: the wireless decoder sends a door opening command to the controlled device host, and the controlled device host controls the controlled device to open according to the door opening command; The method further comprises: Step S510: the infrared receiving microcontroller collects the signal receiving time length of the infrared receiving tube from the start time of operation to the time when the infrared light signal is received; Step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time; Step S530: If the answer is yes, increase the receiving sleep time of the infrared receiver.

2. The low-power infrared detection method according to claim 1, characterized in that: The infrared transmitter includes an infrared transmitting single chip microcomputer and an infrared transmitting tube. The infrared transmitting tube is connected to the infrared transmitting single chip microcomputer. The infrared transmitting single chip microcomputer sleeps for a preset transmission sleep time and automatically wakes up after sleep, and controls the infrared transmitting tube to transmit an infrared light signal to the infrared receiver within the signal transmission time.

3. The low-power infrared detection method according to claim 1, characterized in that: The infrared receiver includes an infrared receiving tube, an infrared receiving single chip microcomputer and a wireless transmitting module, wherein the infrared receiving tube is connected to the infrared receiving single chip microcomputer, the infrared receiving single chip microcomputer is connected to the wireless transmitting module, and the wireless transmitting module is also wirelessly connected to the wireless decoder; the infrared receiving single chip microcomputer sleeps at a preset receiving sleep time, and controls the infrared receiving tube to collect the infrared light signal sent by the infrared transmitter within the signal collection time after sleep; If the infrared receiving microcontroller controls the infrared receiving tube to fail to collect the infrared light signal within a preset number of signal collection times, it is determined that there is a person, and a wireless signal indicating that there is a person is sent to the wireless transmitting module, and the wireless transmitting module sends the wireless signal indicating that there is a person to the wireless decoder.

4. The low-power infrared detection method according to claim 1, characterized in that: Step S520: the infrared receiving microcontroller determines whether the signal receiving time is greater than a preset maximum working time, and then further includes: Step S540: If the judgment is no, further judging whether it is less than the minimum working time, wherein the minimum working time is preset; Step S550: If the answer is yes, then the receiving sleep time of the infrared receiver is reduced.

5. The low-power infrared detection method according to claim 4, characterized in that: In step S540, it is further determined whether the time is less than the minimum working time, and then the following steps are further included: If the judgment is no, the receiving sleep time of the infrared receiver is maintained.

6. The low-power infrared detection method according to claim 1, characterized in that: The method further comprises: Step S610: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the preset standard length of time, the pre-stored continuous working time is retrieved, wherein the duration of the continuous working time is at least one infrared emission cycle plus a signal emission time, and the infrared emission cycle includes the emission sleep time and the signal emission time; Step S620: the infrared receiving microcontroller controls the infrared receiver to operate according to the continuous operating time.

7. The low-power infrared detection method according to claim 6, characterized in that: The method further comprises: Step S630: If the infrared receiving microcontroller determines that the infrared light signal is not collected within the continuous working time, it is determined that there is a person; Step S640: If the infrared receiving microcontroller determines that the infrared light signal is collected within the continuous working time, it is determined that there is no one.

8. The low-power infrared detection method according to claim 1, characterized in that: In step S400, the wireless decoder sends a door opening instruction to the controlled device host, which specifically includes: Step S410: the wireless decoder decodes the door opening instruction and generates a decoding control signal; Step S420: the wireless decoder sends the decoding control signal to the controlled device host.