Access sensing method of infrared human body sensor
By detecting electrical signals and identifying waveforms using an infrared human body sensor, the system can distinguish between user entry and exit states, solving the problem of misjudgment by existing infrared human body sensors and enabling accurate control of the equipment and security applications.
Patent Information
- Application Number
- CN202411074314.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-05
AI Technical Summary
Existing infrared human body sensors are prone to misjudging a person as being unoccupied when they are not moving, and lack imaging capabilities and signal range detection, resulting in poor lighting control performance.
The device detects electrical signals using an infrared human body sensor, and uses a signal amplification and processing module and a main control module to identify waveforms, distinguishing between the user's entry and exit states, and recording the number of times each state occurs. The device is activated only when the user enters for the first time and deactivated when the user leaves.
It improves the detection accuracy of infrared human body sensors, avoids misjudgments when the human body is not moving, and ensures that the equipment starts and stops correctly when people enter and exit. It is suitable for lighting and security intelligent detection.
Smart Images

Figure CN118897332A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of sensors, and in particular to an entry and exit sensing method of an infrared human body sensor. Background Art
[0002] The existing infrared human body sensor detects whether there is a person by detecting the strength of the infrared signal emitted by the moving human body. It is easy to misjudge that there is no one when the human body is not moving. At the same time, it does not have the function of determining whether there is someone in the room. The reason for using the method of detecting the moving human body is to avoid judging the thermal radiation of an object as a human body, such as judging a cabinet heated by sunlight as a human body, or judging a working electronic device as a human body.
[0003] Commonly used ordinary infrared human body sensors do not have imaging and signal range detection functions. Therefore, they cannot judge whether it is a human body through the outline formed by the signal range like a thermal imager, nor can they collect temperature data very accurately to reduce the chance of misjudgment.
[0004] With the development of the Internet of Things and intelligent control technology, lighting control in various areas can be achieved through networking in lighting control, and home appliances can also be controlled. Wireless intelligent controllers can be used with sensors to achieve the effect of turning on the light when people are present and turning it off when people leave, and can also be used for intelligent security detection. However, existing infrared human body sensors are prone to misjudging the current state as no one is present when the detected person is not moving, making it difficult to achieve the effect of turning on the light when people are present and turning it off when people leave.
[0005] Therefore, there is an urgent need for an entry and exit sensing method of an infrared human body sensor that can solve one or more of the above problems. Summary of the invention
[0006] In order to solve one or more problems existing in the prior art, the present invention provides an entry and exit sensing method of an infrared human body sensor. The technical solution adopted by the present invention to solve the above problems is: an entry and exit sensing method of an infrared human body sensor, which includes: the sensor performs detection and outputs a detection electrical signal to a signal amplification processing module when a user passes by;
[0007] The signal amplification processing module amplifies the input detection electrical signal and outputs the amplified signal to the main control module;
[0008] The main control module performs waveform recognition on the amplified signal and determines a detection state according to a result of the waveform recognition, wherein the detection state includes: a user entry state and a user exit state;
[0009] The waveforms of the detection electrical signals corresponding to the user entering state and the user exiting state are different.
[0010] In some embodiments, the main control module counts and records the number of times the user enters a state and the number of times the user exits a state;
[0011] When the number of times the user enters the state is 1, the main control module outputs an open signal to the controlled device end;
[0012] When the statistical result shows that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module outputs an off signal to the controlled device end.
[0013] In some embodiments, when the number of times the user enters the state is N, the main control module does not output an open signal to the controlled device end, where N is a positive integer and N>1.
[0014] In some embodiments, when the statistical result is that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module resets the recorded number of times the user enters a state and the number of times the user exits a state.
[0015] In some embodiments, the main control module outputs a signal to the controlled device via a wireless communication module.
[0016] In some embodiments, in the waveform recognition, the main control module determines the detection state by comparing the waveform of the amplified signal.
[0017] Furthermore, in the waveform recognition, the main control module compares the input amplified signal with a preset amplified signal for similarity;
[0018] If the similarity is within the preset confidence interval, it is determined that the type of the input amplified signal is consistent with the type of the preset amplified signal.
[0019] Furthermore, the preset amplified signal includes: a one-user-entry amplified signal, a one-user-exit amplified signal, a multi-user simultaneous entry amplified signal, a multi-user simultaneous exit amplified signal, and a multi-user simultaneous entry and exit amplified signal.
[0020] Further, the one user entering the amplification signal corresponds to one time that the user enters the state, and the one user exiting the amplification signal corresponds to one time that the user exits the amplification signal;
[0021] The multi-user simultaneous entry amplification signal is provided with a plurality of signals, and each of the multi-user simultaneous entry amplification signal is set with a corresponding number of times the user enters the state;
[0022] The multi-user simultaneous outgoing amplification signal is set to a plurality of times, and each of the multi-user simultaneous outgoing amplification signals is set to a corresponding number of times the user is in an outgoing state;
[0023] There are several multi-user simultaneous entry and exit amplification signals, and each of the multi-user simultaneous entry and exit amplification signals is set with the corresponding number of times the user enters a state and the number of times the user exits a state.
[0024] Furthermore, in the waveform recognition, the main control module performs waveform comparison and determines the number of times the user enters a state and the number of times the user exits a state corresponding to the input amplified signal according to the comparison result.
[0025] The technical effect achieved by the present invention is that the sensor determines which side the user passes through by distinguishing the waveform of the electrical signal generated when the user enters and exits, and then determines whether the user enters or exits, and records and counts the number of times the user enters and exits, so that no matter how many users enter, the corresponding controlled device (such as lighting, ventilation fan, etc.) is only started when the first user enters, and the corresponding controlled device is only turned off when the last user exits, so that the controlled device can be started when the person is present and turned off when the person leaves; compared with detecting the strength of the infrared signal emitted by the moving human body, the method of the present application avoids the error of misjudgment that there is no person when the human body is not moving; compared with the traditional infrared human body sensor, the technical solution of the present application effectively avoids the situation where the controlled device is turned off prematurely due to misjudgment;
[0026] Furthermore, sensors can also be used in intelligent security detection. For example, by detecting the entry and exit of personnel, the personnel status of each room can be determined. If connected to relevant departments such as the fire department, if a fire occurs, there is no need to search every room, but to directly enter the room where someone is located to rescue, thus buying precious time for rescue and thus saving more lives. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a schematic block diagram of an infrared human body sensor of the present invention;
[0028] Figure 2 This is the waveform generated by the sensor when the user enters;
[0029] Figure 3 This is the waveform generated by the sensor when the user goes out. DETAILED DESCRIPTION
[0030] In order to make the above-mentioned objects, features and advantages of the present invention more understandable, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from this description, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0031] The invention discloses an in-and-out sensing method of an infrared human body sensor, Figure 1 As shown, it includes: the sensor performs detection and outputs a detection electrical signal to a signal amplification processing module when a user passes by;
[0032] The signal amplification processing module amplifies the input detection electrical signal and outputs the amplified signal to the main control module;
[0033] The main control module performs waveform recognition on the amplified signal and determines a detection state according to a result of the waveform recognition, wherein the detection state includes: a user entry state and a user exit state;
[0034] The waveforms of the detection electrical signals corresponding to the user entering state and the user exiting state are different.
[0035] It should be noted that the purpose of the waveform recognition is to distinguish the waveform of the electrical signal generated when the user enters and exits, and the methods can be time domain analysis (such as: waveform feature extraction, edge detection), frequency domain analysis (such as: Fourier transform to analyze the frequency component and phase of the signal, power spectrum density analysis to analyze the energy distribution of the signal at different frequencies), time-frequency analysis (such as: short-time Fourier transform, wavelet transform), pattern recognition methods (such as: template matching, i.e. comparison to obtain similarity, template classification algorithm), feature recognition, etc.
[0036] Specifically, the main control module counts and records the number of times the user enters a state and the number of times the user exits a state;
[0037] When the number of times the user enters the state is 1, the main control module outputs an open signal to the controlled device end;
[0038] When the statistical result shows that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module outputs an off signal to the controlled device end;
[0039] When the number of times the user enters the state is N, the main control module does not output an open signal to the controlled device end, where N is a positive integer and N>1;
[0040] When the statistical result shows that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module resets the recorded number of times the user enters a state and the number of times the user exits a state;
[0041] Combination Figure 1 As shown, the main control module outputs signals to the controlled device end through the wireless communication module, and the sensor and other modules are electrically connected to the power supply and voltage stabilization module.
[0042] It should be noted that, combined with Figure 1As shown, the main control module includes a high-speed single-chip microcomputer and a main computing and processing chip. The input amplified signal is first detected and processed by the high-speed single-chip microcomputer, and then the high-speed single-chip microcomputer outputs the result to the main computing and processing chip for identification and judgment processing. The high-speed single-chip microcomputer controls the device according to the identification and judgment results.
[0043] Furthermore, by adjusting the detection angle, detection range and layout of the sensor, the waveform of the detection electrical signal corresponding to the user entering state and the user exiting state can be made more different, thereby improving the detection efficiency and accuracy.
[0044] Specifically, in the waveform recognition, the main control module determines the detection state by comparing the waveform of the amplified signal;
[0045] For example, in the waveform recognition, the main control module compares the waveform similarity of the input amplified signal with the preset amplified signal; if the similarity is within a preset confidence interval, it is determined that the type of the input amplified signal is consistent with the type of the preset amplified signal, and the type of the preset amplified signal corresponds to the user entering the state or the user exiting the state, and finally the corresponding state and the number of states are obtained;
[0046] Combination Figure 2 , Figure 3 As shown, the waveforms corresponding to the user entering state and the user exiting state are different, and their trough values and peak values that appear in chronological order are very different. Detection and judgment can be achieved by comparing the numerical values and the order of appearance of the trough values and the peak values. The specific numerical detection interval and detection order can be adjusted according to the actual situation.
[0047] Furthermore, in the waveform recognition, the main control module performs waveform comparison and determines the number of times the user enters a state and the number of times the user exits a state corresponding to the input amplified signal according to the comparison result, thereby obtaining accurate number records and statistics.
[0048] Specifically, the detection range of some sensors can only allow a single person, and the detection range of some sensors can accommodate many people. Among them, the sensors that can only allow a single person can be deployed in multiple combinations to achieve accurate entry and exit times judgment and recording. However, in special circumstances, there are still situations where multiple users pass through the sensors that can only allow a single person. Therefore, the preset amplified signal includes: one user entry amplified signal, one user exit amplified signal, multiple users simultaneously enter amplified signal, multiple users simultaneously exit amplified signal and multiple users simultaneously enter and exit amplified signal.
[0049] The multi-user simultaneous entry amplification signal may be a signal corresponding to two, three or four users entering at the same time, the multi-user simultaneous exit amplification signal may be a signal corresponding to two, three or four users leaving at the same time, and the multi-user simultaneous entry and exit amplification signal may be a signal corresponding to one user entering and one exiting, one user entering and two exiting, etc.;
[0050] Furthermore, the one user entering the amplification signal corresponds to one time that the user enters the state, and the one user exiting the amplification signal corresponds to one time that the user exits the amplification signal;
[0051] There are several multi-user simultaneous entry amplification signals, each of which is set with a corresponding number of times the user enters the state, such as: the number of times the user enters the state corresponding to the first multi-user simultaneous entry amplification signal is 2;
[0052] The multi-user simultaneous outgoing amplification signal is set to a plurality of times, and each of the multi-user simultaneous outgoing amplification signals is set with a corresponding number of times the user is in the outgoing state, such as: the number of times the user is in the outgoing state corresponding to the first multi-user simultaneous outgoing amplification signal is 3;
[0053] There are several multi-user simultaneous entry and exit amplification signals, and each of the multi-user simultaneous entry and exit amplification signals is set with a corresponding number of times the user enters a state and the number of times the user exits a state, such as: the number of times the user enters a state and the number of times the user exits a state corresponding to the first multi-user simultaneous entry and exit amplification signal are 1 and 2 respectively.
[0054] Specifically, a plurality of the sensors may be arranged in a sensing system, and the detection status obtained by each sensor is summarized to the main control of the system, which performs overall statistics, records and analysis, and then controls the terminal device according to the analysis results, thereby adapting to the overall control scenario with multiple entrances and exits, multiple detection points, and multiple types of terminal devices.
[0055] In summary, the sensor determines which side the user passes through by distinguishing the waveform of the electrical signal generated when the user enters and exits, and then determines whether the user enters or exits, and records and counts the number of times the user enters and exits, so that no matter how many users enter, the corresponding controlled device (such as lighting, ventilation fan, etc.) is only started when the first user enters, and the corresponding controlled device is only turned off when the last user exits, so that the controlled device can be started when the person is present and turned off when the person leaves; compared with detecting the strength of the infrared signal emitted by the moving human body, the method of the present application avoids the error of misjudgment that there is no person when the human body is not moving; compared with the traditional infrared human body sensor, the technical solution of the present application effectively avoids the situation where the controlled device is turned off prematurely due to misjudgment;
[0056] Furthermore, it can also be applied to intelligent security detection. For example, by detecting the entry and exit of personnel, the personnel status of each room can be determined. For example, by connecting with relevant departments such as the fire department, if a fire occurs, there is no need to search every room, and you can directly enter the room where someone is to rescue, thus buying precious time for rescue and saving more lives.
[0057] The above-described embodiments only express one or more implementation modes of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the patent of the present invention. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the attached claims.
Claims
1. An infrared human body sensor entry and exit sensing method, characterized in that: The sensor performs detection and outputs a detection electrical signal to the signal amplification processing module when a user passes by; The signal amplification processing module amplifies the input detection electrical signal and outputs the amplified signal to the main control module; The main control module performs waveform recognition on the amplified signal and determines a detection state according to a result of the waveform recognition, wherein the detection state includes: a user entry state and a user exit state; The waveforms of the detection electrical signals corresponding to the user entering state and the user exiting state are different.
2. The infrared human body sensor entry and exit sensing method according to claim 1, characterized in that: The main control module counts and records the number of times the user enters a state and the number of times the user exits a state; When the number of times the user enters the state is 1, the main control module outputs an open signal to the controlled device end; When the statistical result shows that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module outputs an off signal to the controlled device end.
3. The infrared human body sensor entry and exit sensing method according to claim 2, characterized in that: When the number of times the user enters the state is N, the main control module does not output an open signal to the controlled device end, where N is a positive integer and N>1.
4. The infrared human body sensor entry and exit sensing method according to claim 2, characterized in that: When the statistical result shows that the number of times the user enters a state is equal to the number of times the user exits a state, the main control module resets the recorded number of times the user enters a state and the number of times the user exits a state.
5. The infrared human body sensor entry and exit sensing method according to claim 2, characterized in that: The main control module outputs signals to the controlled device end through the wireless communication module.
6. The infrared human body sensor entry and exit sensing method according to claim 1, characterized in that: In the waveform recognition, the main control module determines the detection state by comparing the waveform of the amplified signal.
7. The infrared human body sensor entry and exit sensing method according to claim 6, characterized in that: In the waveform recognition, the main control module compares the input amplified signal with a preset amplified signal for similarity; If the similarity is within the preset confidence interval, it is determined that the type of the input amplified signal is consistent with the type of the preset amplified signal.
8. The infrared human body sensor entry and exit sensing method according to claim 7, characterized in that: The preset amplified signal includes: a one-user-entry amplified signal, a one-user-exit amplified signal, a multi-user simultaneous entry amplified signal, a multi-user simultaneous exit amplified signal, and a multi-user simultaneous entry and exit amplified signal.
9. The infrared human body sensor entry and exit sensing method according to claim 8, characterized in that: The one user entering amplification signal corresponds to one number of times the user enters the state, and the one user exiting amplification signal corresponds to one number of times the user exits the amplification signal; The multi-user simultaneous entry amplification signal is provided with a plurality of signals, and each of the multi-user simultaneous entry amplification signal is set with a corresponding number of times the user enters the state; The multi-user simultaneous outgoing amplification signal is set to a plurality of times, and each of the multi-user simultaneous outgoing amplification signals is set to a corresponding number of times the user is in an outgoing state; There are several multi-user simultaneous entry and exit amplification signals, and each of the multi-user simultaneous entry and exit amplification signals is set with the corresponding number of times the user enters a state and the number of times the user exits a state.
10. The infrared human body sensor entry and exit sensing method according to claim 7, characterized in that: In the waveform recognition, the main control module performs waveform comparison and determines the number of times the user enters a state and the number of times the user exits a state corresponding to the input amplified signal according to the comparison result.
