Radar infrared fusion detection method
By dynamically adjusting the detection threshold of the PIR sensor in smart homes and setting the timeout wake-up timer, combined with the self-test and calibration mechanism of the radar sensor, the problem of high error detection rate of PIR sensors in high temperature environments is solved, reducing the power consumption of the radar sensor , extends the working time of the system.
Patent Information
- Application Number
- CN202411145611.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-20
- Publication Date
- 2024-11-08
AI Technical Summary
In smart home applications, existing radar infrared fusion detection methods frequently misdetect PIR sensors in high temperature environments lead to excessive startup of radar sensors, resulting in excessive system power consumption.
After detecting the target through the PIR sensor, the detection threshold is raised. If the radar sensor does not detect the target, the PIR sensor will continue to detect it. The timeout wake-up timer is set to dynamically adjust the detection threshold of the PIR sensor, combining the discrete and real threshold adjustment mechanisms, and the radar The sensor's self-test and calibration mechanism reduces the error detection rate and power consumption.
It effectively reduces the frequency of PIR sensor error detection, reduces the number of false wake-up times of radar sensor, reduces overall power consumption, and extends the working time of the battery-powered system.
Smart Images

Figure CN118915053A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of intelligent devices, and in particular to a radar infrared fusion detection method. Background Art
[0002] In the human activity detection scenario in the direction of smart home applications, the detection rate of the product affects the final user experience of the product. In order to achieve a higher detection rate, a common method is to use a high radar frame rate to ensure that the human body is detected as soon as it appears. The detection solution using a single radar with a high frame rate can bring a higher detection rate, but the power consumption is also high, which is unrealistic in the direction of smart home, especially in the scenario of using dry battery power supply.
[0003] Since the pyroelectric infrared (PIR) sensor has lower power consumption than the radar sensor, the PIR sensor can be used as the first level of the detection method. When the PIR sensor detects a target, it wakes up and uses the radar sensor for the second level of detection. When the radar sensor detects a target, the controller considers that the target is detected and sends a control instruction to the controlled device. This detection method that combines the PIR sensor with the radar sensor achieves lower power consumption by reducing the working time of the radar sensor, and at the same time compensates for the low accuracy of the PIR sensor through the secondary detection of the radar sensor. However, in some scenarios, such as in high temperature environments in summer, this fusion method has the problem of excessive system power consumption caused by frequent false detections of the PIR sensor and frequent activation of the radar sensor. Summary of the invention
[0004] In order to reduce the false detection probability of the PIR sensor in the fusion detection method, the present application provides a radar infrared fusion detection method.
[0005] The technical solution adopted by the present invention to solve the above problems is:
[0006] The radar infrared fusion detection method includes: a PIR sensor detects a target. When the PIR sensor detects the target, a controller wakes up the radar sensor from a dormant state and performs detection. If the radar sensor does not detect the target, a detection threshold of the PIR sensor is increased, and the PIR sensor is used to continue to detect the target.
[0007] Further, the method of increasing the detection threshold is a discrete threshold adjustment mechanism or a real number threshold adjustment mechanism;
[0008] The discrete threshold adjustment mechanism means: a detection threshold gear table is pre-set, and different gears correspond to different detection thresholds. The higher the gear, the higher the corresponding detection threshold.
[0009] The real number threshold adjustment mechanism refers to: obtaining the current environment background infrared radiation intensity A, and taking A+B or kA as the detection threshold; wherein B is a redundant value and k is a coefficient.
[0010] Furthermore, the radar sensor is also provided with a timeout wake-up timer. When the timeout wake-up timer reaches a preset time and the PIR sensor does not detect a target, the detection threshold of the PIR sensor is lowered.
[0011] Furthermore, when the timeout wake-up timer reaches a preset time, the PIR sensor is also detected. If the PIR sensor works normally and no target is detected, the detection threshold of the PIR sensor is lowered; if the PIR sensor works abnormally, the radar sensor is used to perform detection alone until the PIR sensor works normally.
[0012] Furthermore, the larger the detection threshold of the PIR sensor is, the smaller the preset time of the timeout wake-up timer is; and the smaller the detection threshold of the PIR sensor is, the larger the preset time of the timeout wake-up timer is.
[0013] Furthermore, after the radar sensor is awakened, it first performs a self-test. If the self-test fails, it performs a calibration, otherwise it directly performs a radar test.
[0014] Furthermore, the self-check is specifically as follows: if the drift of the temperature or voltage of the radar chip itself exceeds a preset threshold, calibration is performed, and radar detection is performed after the calibration is completed; otherwise, radar detection is performed directly.
[0015] Furthermore, the radar sensor stores the current calibration information before going into sleep mode, and resumes the working state according to the stored information when awakened next time.
[0016] Furthermore, the steps of radar sensor detection are:
[0017] The radar sensor sends two frames continuously, processes the echo signal to obtain a range spectrum, and performs target detection in the obtained range spectrum; or
[0018] The radar sensor sends several frames continuously, processes the echo signal to obtain the range Doppler spectrum, and performs target detection in the obtained range Doppler spectrum.
[0019] Furthermore, after the radar sensor is awakened, the PIR sensor goes into sleep mode; after the PIR sensor is awakened, the radar sensor goes into sleep mode.
[0020] Compared with the prior art, the present invention has the following beneficial effects: the detection threshold of the PIR sensor is dynamically adjusted based on the radar detection result, so that the frequency of infrared false detection is reduced, thereby reducing the frequency of false radar wake-up, thereby reducing the overall power consumption and extending the system working time in the scenario of using batteries. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is the structural diagram of the fusion detection system;
[0022] Figure 2 This is the flow chart of radar infrared fusion detection method. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0024] The fusion detection system consists of a PIR sensor, a radar sensor and a controller. The system structure is as follows: Figure 1 The product also includes controlled devices, such as lights, cameras, etc., which are not limited here.
[0025] like Figure 2 As shown, the radar infrared fusion detection method includes:
[0026] After cold starting from the shutdown state, the controller will first initialize the configuration of the PIR sensor and radar sensor, including the detection range of the radar, the frequency and frame rate of the radar, the detection threshold of the PIR sensor, etc. After the configuration is completed, it enters the detection mode. The detection mode means that the radar sensor is in a dormant state and the PIR sensor is in a working state. When the PIR sensor detects a target, it wakes up the radar sensor for detection and adjusts the detection threshold of the PIR sensor according to the detection result of the radar sensor. In order to ensure the detection accuracy, after a cold start, the detection threshold of the PIR sensor is configured to the lowest value, at which time the PIR sensor is most sensitive.
[0027] In the detection mode, the PIR sensor detects the infrared radiation intensity in the environment in real time and compares it with the detection threshold. When the infrared radiation intensity in the environment is higher than the threshold, it is determined that there is a detection target in the environment, such as a moving human body, and reported to the controller. After receiving the event, the controller wakes up the radar sensor for detection. In order to ensure the detection accuracy of the radar sensor, the radar sensor needs to enter the calibration process after being awakened, and radar detection starts after the calibration is completed. In order to improve the calibration efficiency, calibration can be performed again based on the historical calibration information. The specific method is: store the previous calibration related information, read the historical information after the radar sensor is awakened and restore the historical working state, and then measure the temperature and voltage values of the radar sensor at this time, and compare them with the temperature and voltage values at the last calibration. If the temperature / voltage changes greatly, a calibration process is required, and radar detection starts after the calibration is completed; otherwise, the calibration process is skipped and radar detection is performed directly. In the calibration process, temperature drift and pressure drift information are first collected, and a series of algorithms and circuit actions are executed to finally obtain a set of suitable working parameters. At this time, the radar sensor has better performance; the specific calibration process is a prior art and will not be repeated here.
[0028] Typically, during a radar detection process, the radar sensor sends two frames continuously, and the echo signal is processed to obtain a range spectrum; in another typical case, during a radar detection process, the radar sensor sends several frames continuously, and the echo signal is processed to obtain a range Doppler (RD) spectrum. Finally, target detection is performed in the obtained range spectrum or RD spectrum to obtain a judgment on whether the target is detected. The steps of processing the echo signal to obtain the range spectrum or RD spectrum and the method of performing target detection in the obtained range spectrum or RD spectrum are both prior arts and will not be repeated here.
[0029] In the above radar detection process, if a target is detected, the controller sends a control instruction to the controlled device and waits for feedback from the controlled device; or, the controller controls the radar sensor to enter a dormant state, turns on the PIR sensor, and re-enters the detection mode. The controlled device can be the fusion detection system itself, for example, sending instructions to the radar sensor to require it to track a moving target; the controlled device can also be other devices outside the fusion detection system, for example, controlling the switch of a light. Other subsequent steps can also be adopted according to actual needs, and are not limited here.
[0030] If the target is not detected, it is considered a false detection. To avoid continuous false detection caused by interference in the environment, the controller will increase the detection threshold of the PIR sensor, making it more difficult for the PIR sensor to determine that the target is detected, thereby avoiding false detection. To reduce the power consumption of the device, after the radar sensor completes the detection, the controller will control the radar sensor to enter the sleep state again, increase the detection threshold of the PIR sensor, and then reopen the PIR sensor for infrared detection.
[0031] This application provides two ways to adjust the detection threshold of the PIR sensor.
[0032] Method 1: Use a discrete threshold adjustment mechanism. Specifically, a detection threshold gear table of the PIR sensor is pre-set. Different gears correspond to different thresholds. The higher the gear, the higher the corresponding detection threshold. When the fusion detection system is turned on, or when the radar detects a moving target, the gear is set to the lowest gear, that is, the detection threshold is the lowest, and the system is most sensitive at this time. When the PIR sensor detects a target and wakes up the radar sensor, the radar detection cannot detect the target, then it is considered that a false detection has occurred. The false detection may be due to the presence of interference sources in the environment that exceed the infrared detection threshold. At this time, if the detection threshold of the PIR sensor is increased by one gear, it is possible to eliminate this interference. If false detection continues to occur afterwards, continue to increase the threshold until this interference is eliminated. If false detection still occurs when the maximum gear is reached, it can be considered that the PIR sensor is working abnormally, and the system will adopt the radar sensor working mode alone.
[0033] Method 2: Use a real number threshold adjustment mechanism. Specifically, the system obtains the real-time infrared radiation intensity in the environment through an analog circuit, and calculates the ambient background infrared radiation intensity in a window before the current time point by integration or sampling and taking a sliding average as the current ambient infrared background intensity. When the PIR sensor detects a target and wakes up the radar sensor, but the radar detection fails to detect the target, it is considered that a false detection has occurred, and the ambient infrared background intensity at this time is added with a certain redundancy value B, or multiplied by a coefficient k as the detection threshold of the PIR sensor. This mechanism can better track the ambient background intensity, but correspondingly, more hardware support is required. The specific values of the redundancy value and coefficient can be set according to actual needs, and there is no restriction here.
[0034] To ensure detection accuracy, the radar sensor is also equipped with a timeout wake-up timer to periodically wake up the radar for detection. The radar detection initiated by this timer has nothing to do with the PIR detection result. Low-frequency periodic detection serves as a backup to avoid the problem of PIR sensor blind spots.
[0035] When the radar sensor is awakened by the timer cycle, the PIR sensor should be tested first to ensure that the PIR sensor is working properly. The PIR sensor has not awakened the radar sensor for a long time because there is no target in the environment, not because of hardware abnormality. If the test result shows that the PIR sensor is in normal state, the radar test is performed; if the test result shows that the PIR sensor is in abnormal state, the abnormality should be reported to the controller, and the controller no longer trusts the PIR sensor and switches to the single radar sensor working mode until the abnormality is cleared.
[0036] If the radar detection started by the radar timeout wake-up timer detects a target, it means that the detection threshold of the PIR sensor is too high and the PIR sensor cannot correctly identify the target. Therefore, the detection threshold of the PIR sensor needs to be lowered. The adjustment method is similar to the adjustment method mentioned above and will not be repeated here. If no target is detected, it is determined that there is indeed no target of interest in the environment and no adjustment is required. In addition, whenever the detection threshold of the PIR sensor changes, the controller will also reset the timing of the radar timeout timer.
[0037] Furthermore, the period of the radar timeout wake-up timer can be adjusted dynamically and changes with the detection threshold of the PIR sensor. In general, when the detection threshold of the PIR sensor is higher, the period of the timer should be smaller; when the detection threshold of the PIR sensor is lower, the period of the timer should be larger. The specific logic is that when the PIR sensor is more sensitive, the probability of a target appearing but not being detected by the PIR sensor is low, so there is no need to frequently start the radar sensor as a backup; on the contrary, the probability of the target's infrared radiation being filtered out becomes higher, and the PIR sensor has a greater probability of missing detection. At this time, the radar sensor should be frequently started to reduce overall missed detection.
Claims
1. Radar infrared fusion detection method, include: The PIR sensor detects the target. When the PIR sensor detects the target, the controller wakes up the radar sensor from a sleep state and performs detection. The feature is that if the radar sensor does not detect the target, the detection threshold of the PIR sensor is increased, and the PIR sensor is used to continue to detect the target.
2. The radar infrared fusion detection method according to claim 1, It is characterized in that The method of increasing the detection threshold is a discrete threshold adjustment mechanism or a real number threshold adjustment mechanism; The discrete threshold adjustment mechanism means: a detection threshold gear table is pre-set, and different gears correspond to different detection thresholds. The higher the gear, the higher the corresponding detection threshold. The real number threshold adjustment mechanism refers to: obtaining the current environment background infrared radiation intensity A, and taking A+B or kA as the detection threshold; wherein B is a redundant value and k is a coefficient.
3. The radar infrared fusion detection method according to claim 1, It is characterized in that The radar sensor is also provided with a timeout wake-up timer. When the timeout wake-up timer reaches a preset time and the PIR sensor does not detect a target, the detection threshold of the PIR sensor is reduced.
4. The radar infrared fusion detection method according to claim 3, It is characterized in that When the timeout wake-up timer reaches the preset time, the PIR sensor is also tested. If the PIR sensor works normally and no target is detected, the detection threshold of the PIR sensor is lowered; if the PIR sensor works abnormally, the radar sensor is used for detection alone until the PIR sensor works normally.
5. The radar infrared fusion detection method according to claim 3, It is characterized in that The larger the detection threshold of the PIR sensor, the smaller the preset time of the timeout wake-up timer; the smaller the detection threshold of the PIR sensor, the larger the preset time of the timeout wake-up timer.
6. The radar infrared fusion detection method according to claim 1, It is characterized in that After the radar sensor is awakened, it first performs a self-test. If the self-test fails, it performs a calibration. Otherwise, it directly performs a radar test.
7. The radar infrared fusion detection method according to claim 6, It is characterized in that The self-check is specifically as follows: if the drift of the temperature or voltage of the radar chip itself exceeds a preset threshold, calibration is performed, and radar detection is performed after the calibration is completed; otherwise, radar detection is performed directly.
8. The radar infrared fusion detection method according to claim 6, It is characterized in that The radar sensor stores the current calibration information before it goes into sleep mode, and resumes working state based on the stored information the next time it is awakened.
9. The radar infrared fusion detection method according to claim 1, It is characterized in that The steps of radar sensor detection are: The radar sensor sends two frames continuously, processes the echo signal to obtain a range spectrum, and performs target detection in the obtained range spectrum; or The radar sensor sends several frames continuously, processes the echo signal to obtain the range Doppler spectrum, and performs target detection in the obtained range Doppler spectrum.
10. The radar infrared fusion detection method according to any one of claims 1 to 9, It is characterized in that After the radar sensor is awakened, the PIR sensor goes into sleep mode; after the PIR sensor is awakened, the radar sensor goes into sleep mode.
Citation Information
Cited By
Camera awakening method, monitoring system, electronic device and storage medium
CN119485009A
