Sensing range setting method, device, equipment and program product
By collecting and analyzing the behavioral characteristics of microwave radar sensors and automatically setting the sensing radius, the problem of heavy workload in sensor debugging in complex environments is solved, and the installation efficiency and accuracy of sensing monitoring are improved.
Patent Information
- Application Number
- CN202510713944.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-29
- Publication Date
- 2025-09-12
AI Technical Summary
In the existing technology, when debugging and calibrating the sensing range of microwave radar sensors in complex environments such as buildings, the workload is large, the sensors cannot automatically adapt to complex environments, and there is a lack of effective identification and processing of false triggering events, resulting in low installation efficiency.
By collecting the behavioral characteristics of people within the sensor's detection range, determining the behavior category based on the behavioral characteristics, statistically analyzing the trajectory distribution, and automatically setting the sensing radius of the monitoring area, the sensing range is dynamically adjusted to reduce false triggering events.
The sensor can automatically adapt to complex environments, reduce manual debugging costs, improve deployment efficiency and the accuracy of sensing monitoring, and reduce false triggering rates.
Smart Images

Figure CN120632415A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent detection, and in particular to a method, device, equipment and program product for setting a sensing range. Background Art
[0002] By sensing the presence and activity of people, occupancy detection technology enables energy-saving control, safety protection, and space optimization in smart buildings, home security, healthcare, public safety, and industrial scenarios. For example, by detecting occupancy in a conference room, the lights can be turned on when someone enters and automatically turned off when no one is present, effectively improving the user experience.
[0003] Currently, microwave radar is commonly used as a sensor for human detection. Due to its high power and ability to penetrate walls, microwave radar can easily detect people outside the target area. For example, a person outside a meeting room passing by a wall might be mistakenly detected as a person in the target area. Therefore, the detection range must be adjusted based on the size of the target area. However, in scenarios with a large number of target areas, such as hundreds or even thousands of sensors deployed in a single building, staff must debug and calibrate the sensing range based on the size of each area. This labor-intensive debugging and calibration process hinders installation efficiency. Summary of the Invention
[0004] In view of this, the embodiments of the present application provide a sensing range setting method, device, equipment and program product to solve the problem in the prior art that when debugging and calibrating the sensing range, the debugging and calibration workload is large, which is not conducive to improving installation efficiency.
[0005] A first aspect of an embodiment of the present application provides a method for setting a sensing range, the method comprising:
[0006] Collecting behavioral characteristics of people within the sensor detection range;
[0007] Determining the behavior category of the active person based on the correspondence between the value range of the preset behavior characteristics and the behavior category;
[0008] Counting the trajectory distribution of people whose behavior category is entering the monitoring area;
[0009] The sensing radius of the monitoring area is set according to the trajectory distribution, and sensing monitoring is performed on the monitoring area according to the sensing radius.
[0010] In combination with the first aspect, in a first possible implementation manner of the first aspect, after setting the sensing radius of the monitoring area according to the trajectory distribution, the method further includes:
[0011] Determining the probability of a false triggering event occurring in the sensing monitoring of the monitoring area;
[0012] When the probability of the false triggering event is greater than or equal to a preset probability threshold, the trajectory distribution of the active personnel whose behavior category is entering the monitoring area is counted, and the sensing radius of the monitoring area is set according to the trajectory distribution. The monitoring area is sensed and monitored according to the sensing radius until the probability of the false triggering event is less than the probability threshold.
[0013] In conjunction with the first possible implementation of the first aspect, in a second possible implementation of the first aspect, determining the probability of a false triggering event occurring during induction monitoring of the monitoring area includes:
[0014] Determining at least one of a trigger position, a motion trajectory direction, a sensing state before triggering, a trigger frequency, and a spectrum energy of the trigger event in a trigger event obtained by sensing monitoring in the monitoring area;
[0015] determining whether the trigger event is a false trigger event based on at least one of a trigger position, a motion trajectory direction, a sensing state before the trigger, a trigger frequency, and a spectrum energy of the trigger event;
[0016] The probability of the false triggering event occurring is determined according to the false triggering event and the number of triggering events.
[0017] In conjunction with the second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the sensing radius includes an unmanned-to-manned sensing radius and a maintained-manned sensing radius, the unmanned-to-manned sensing radius being smaller than the maintained-manned sensing radius, the unmanned-to-manned sensing radius being a sensing radius within which a switch to a manned state is made upon detecting a person entering a first range from outside the unmanned-to-manned sensing radius, and the maintained-manned sensing radius being a radius within which a manned state is maintained when a person is within a second range determined by the maintained-manned sensing radius;
[0018] Determining whether the trigger event is a false trigger event based on at least one of a trigger position, a motion trajectory direction, a sensing state before triggering, a trigger frequency, and spectrum energy of the trigger event includes:
[0019] When a trigger event is detected within the first range determined by the sensing radius from no one to someone, and no person is detected within the second range determined by the sensing radius before the trigger event, the trigger event is determined to be a false trigger event;
[0020] When a person trigger event is detected within the first range determined by the sensing radius from no one to someone, and before the trigger event, a person is detected within the second range determined by the sensing radius that maintains a person state, and the direction of the person's movement trajectory detected in the second range is different from the entrance direction of the monitoring area, then the trigger event is determined to be a false trigger event;
[0021] When a trigger event is detected within a first range determined by an unmanned to manned sensing radius, and a trigger frequency of the trigger event is greater than a preset first frequency threshold, the trigger event is determined to be a false trigger event;
[0022] When a trigger event is detected within a first range determined by the unmanned to manned sensing radius, and the spectrum energy of the trigger event is greater than a preset first spectrum energy threshold, the trigger event is determined to be a false trigger event.
[0023] In combination with the first aspect, in a fourth possible implementation of the first aspect, the sensing radius includes a no-man to man sensing radius and a man-maintaining sensing radius;
[0024] Performing sensing monitoring on the monitoring area according to the sensing radius includes:
[0025] When a trigger event is detected within the third range, and the direction of the motion trajectory of the trigger event is different from the entrance direction of the monitoring area, the trigger event is determined to be a wall-penetrating interference event. The third range is the range determined by performing an XOR operation on the first range determined by the unmanned to manned sensing radius and the second range determined by the manned sensing radius.
[0026] When a trigger event is detected within the first range, and no person is detected within the second range before the trigger event is detected, determining that the trigger event is a noise interference event;
[0027] When a trigger event is detected within the first range, the trigger frequency of the trigger event is greater than a preset second frequency threshold, and a person is detected within the second range before the trigger event is detected, the trigger event is determined to be a wall-penetrating interference event;
[0028] When a trigger event is detected within the first range and the spectrum energy of the trigger event is greater than a preset second spectrum energy threshold, the trigger event is determined to be an abnormal interference event.
[0029] In combination with the first aspect, in a fifth possible implementation of the first aspect, setting the sensing radius of the monitoring area according to the trajectory distribution includes:
[0030] determining a trajectory density of the monitoring area according to the trajectory distribution;
[0031] Comparing the trajectory density with a preset density threshold to determine a first activity area of the monitoring area;
[0032] The size of the monitoring area is determined according to the first active area, and the sensing radius is determined according to the size of the monitoring area.
[0033] In conjunction with the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, determining the sensing radius according to the size of the monitoring area includes:
[0034] When the monitoring area is rectangular, the maintaining presence sensing radius is determined based on half of the long side of the monitoring area, and the non-person to person sensing radius is determined based on half of the short side of the monitoring area.
[0035] A second aspect of an embodiment of the present application provides a sensing range setting device, the device comprising:
[0036] A behavior feature collection unit, used to collect behavior features of people moving within the detection range of the sensor;
[0037] A behavior category determination unit, configured to determine the behavior category of the active person based on a correspondence between a preset value range of the behavior characteristic and the behavior category;
[0038] a trajectory distribution statistics unit, configured to count the trajectory distribution of persons whose behavior category is entering the monitoring area;
[0039] The sensing radius determining unit is configured to set the sensing radius of the monitoring area according to the trajectory distribution, and perform sensing monitoring on the monitoring area according to the sensing radius.
[0040] A third aspect of an embodiment of the present application provides a sensing range setting device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the sensing range setting device implements the method described in any one of the first aspects.
[0041] A fourth aspect of the embodiments of the present application provides a computer program product, which, when executed on a computer, enables the computer to execute the method in the above-mentioned first aspect or its various implementations.
[0042] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of the first aspects are implemented.
[0043] A sixth aspect of the present application provides a chip for implementing the methods described in each implementation of the first aspect. Specifically, the chip includes a processor configured to retrieve and execute a computer program from a memory, causing a device equipped with the chip to execute the methods described in the first aspect or its implementations.
[0044] Compared to the prior art, the embodiments of the present application have the following advantages: The embodiments of the present application collect behavioral characteristics of people within the sensor detection range, determine behavioral categories based on the behavioral characteristics, calculate the trajectory distribution of people with behavioral categories entering the monitoring area, and automatically set the sensing radius of the monitoring area based on the trajectory distribution, so as to perform sensing monitoring of the monitoring area based on the sensing radius. Because this method can automatically determine the sensing radius based on the trajectory distribution of people with behavioral categories entering the monitoring area, the entire process does not require manual debugging, can automatically adapt to complex environments, and is conducive to improving sensor deployment efficiency and reducing manual debugging costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or descriptions of the prior art. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 Schematic diagram of a sensor structure of a sensing range setting method provided in an embodiment of the present application;
[0047] Figure 2 This is a schematic diagram of an implementation flow of a method for setting a sensing range provided in an embodiment of the present application;
[0048] Figure 3 This is a correspondence table between behavior characteristics and behavior categories provided in an embodiment of the present application;
[0049] Figure 4 This is a schematic diagram of a sensing radius provided in an embodiment of the present application;
[0050] Figure 5 is a schematic diagram of a sensing range setting device provided in an embodiment of the present application;
[0051] Figure 6 Schematic diagram of a sensing range setting device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In the following description, specific details such as specific system structures and techniques are provided for purposes of illustration rather than limitation to facilitate a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid obscuring the description of the present application with unnecessary detail.
[0053] In order to illustrate the technical solution described in this application, specific embodiments are provided below.
[0054] With the rapid development of smart home and IoT technologies, human presence sensors, as a key component of smart home systems, are widely used in scenarios such as lighting control, security monitoring, and energy management. Currently, common human presence sensors on the market primarily utilize passive infrared (PIR), microwave radar, and ultrasonic technologies to detect human activity. Microwave radar sensors, due to their strong penetration, long detection range, and temperature-independent performance, have gained widespread application in indoor human presence detection.
[0055] However, existing human presence sensor technology has the following problems: First, sensors using microwave radar technology, in particular, can easily penetrate walls and detect human activity outside the walls due to their strong penetrating properties. The manually set sensing radius can easily lead to false triggering during testing. Second, the sensing range of traditional sensors usually needs to be manually adjusted according to the size of different areas. When a large number of sensors are deployed, the debugging workload is very large. Third, existing sensors cannot automatically adapt to the area and adjust according to the actual use environment and the characteristics of human activity. Manual repeated debugging is required, which is time-consuming, labor-intensive, and inefficient. Fourth, traditional methods lack an effective recognition and processing mechanism for false triggering events, and cannot dynamically adjust the sensing parameters according to the false triggering situation.
[0056] To solve the above problem, the present invention proposes a method for setting a sensing range. Figure 1This is a schematic diagram of an implementation scenario of a sensing range setting method provided in an embodiment of the present application. The sensor in this implementation scenario includes an antenna array 101, a microwave radar chip 102, a controller 103, and a communication module 104. The antenna array 101 is used to transmit microwave radar signals and receive reflected signals. The microwave radar chip 102 can be used to generate high-frequency signals and transmit them through the antenna. It can also mix and perform analog-to-digital conversion (ADC) on the received reflected signals to output a digital signal containing information such as Doppler frequency shift, signal strength, and phase change. The controller 103 can be used to detect the behavioral characteristics of people in the monitoring area based on the digital signals output by the microwave radar chip 102, determine the behavioral category of the people based on the correspondence between the preset value range of the behavioral characteristics and the behavioral category, calculate the trajectory distribution of people entering the monitoring area with the behavioral category, and set the sensing radius of the monitoring area based on the trajectory distribution for sensing monitoring of the monitoring area. The communication module 104 may include a wireless communication module or a wired communication module, and can be used to transmit monitoring results to other devices or platforms for calculating the sensor's sensing radius. Alternatively, it can be used to send detection results determined based on the sensing radius to other devices to control them. For example, if the monitoring area is a conference room, when someone is detected in the conference room, the conference room equipment can be controlled, including turning on lights and air conditioning, or the detected data can be uploaded to the cloud to dynamically adjust the sensing radius.
[0057] Figure 2 A schematic diagram of an implementation flow of a method for setting a sensing range provided in an embodiment of the present application is described in detail as follows:
[0058] In S201 , behavioral characteristics of people moving within the detection range of the sensor are collected.
[0059] The sensor detection range in the embodiment of the present application may be larger than the range of the monitoring area. For example, if the monitoring area is a space such as a conference room, the sensor detection range may be greater than or equal to half of the longest dimension of the monitoring area.
[0060] In this embodiment, the sensor can be a millimeter-wave radar sensor, or other sensor capable of detecting human activity. The sensor is installed within a monitoring area and monitors human activity in real time. Behavioral characteristics include, but are not limited to, human movement speed, dwell time, signal strength peak, and low-frequency energy ratio.
[0061] Specifically, the sensor detects human activity within the monitoring area by transmitting signals and receiving reflected signals. When a person moves within the monitoring area, the reflected signals received by the sensor change. By analyzing these changes, behavioral characteristics of the person can be extracted. For example, by analyzing the Doppler shift of the reflected signal, the person's movement speed can be determined; by analyzing the intensity changes of the reflected signal, the person's location information and activity frequency can be obtained.
[0062] In the embodiment of the present application, when determining the moving speed of a person by using the Doppler frequency shift of the reflected signal, the Doppler speed calculation formula can be used to determine the speed: Where c is the speed of light, f0 is the center frequency of the microwave radar emission, V is the moving speed of the personnel, and Δf is the Doppler shift.
[0063] The dwell time is the duration that a person remains stationary or moves at a low speed in the monitoring area. Since people may produce slight frequency shifts due to micro-movements (such as breathing and slight shaking), the dwell state can be determined by continuously monitoring the change in target distance (or the duration of speed close to zero).
[0064] The low-frequency energy ratio is the ratio of low-frequency energy to total energy. The total energy can be the sum of low-frequency energy and high-frequency energy. For example, the low-frequency energy ratio can be expressed as: Elow / (Elow + Ehigh), where Elow represents low-frequency energy and Ehigh represents high-frequency energy.
[0065] The signal intensity peak is the maximum amplitude of the reflected signal received by the microwave radar. The signal intensity peak can indicate the distance between the target and the microwave radar.
[0066] In S202, the behavior category of the active person is determined according to the correspondence between the preset value range of the behavior feature and the behavior category.
[0067] In this embodiment, a correspondence between the value range of the behavior feature and the behavior category is pre-established. The behavior categories include but are not limited to entering the monitoring area, staying in the monitoring area, passing through the monitoring area, etc.
[0068] The embodiment of the present application can pre-set the corresponding relationship between the value range of the behavior feature and the behavior category, such as Figure 3 The table shows a correspondence between a behavior category and a value range of a behavior feature provided by an embodiment of the present application. From the table, it can be seen that when the monitored movement speed of a person belongs to the first speed range, the signal strength peak belongs to the first peak range, the dwell time is less than the first duration, and the low-frequency energy ratio is less than the first ratio, for example Figure 3If the monitored person's moving speed is 1.2-2 m / s, the signal strength peak is 60-80 dB, the dwell time is less than 3 seconds, and the low-frequency energy ratio is less than 35%, then the behavior category is determined to be passing through the monitoring area.
[0069] When the monitored moving speed of the person belongs to the second speed range, the signal strength peak belongs to the second peak range, the dwell time is greater than the second duration, and the low-frequency energy ratio is greater than the second ratio, for example Figure 3 If the movement speed of the monitored person is 0-0.3m / s, the signal strength peak is 70-85dB, the residence time is greater than 10 seconds, and the low-frequency energy ratio is greater than 55%, then the behavior category is determined to be the residence monitoring area.
[0070] When the monitored moving speed of a person belongs to the third speed range, the signal intensity peak belongs to the third peak range, the dwell time continues to increase, and the low-frequency energy ratio belongs to the first ratio range, for example Figure 3 If the movement speed of the monitored person is 0.5-1m / s, the signal strength peak is greater than 90dB, the dwell time continues to increase, and the low-frequency energy ratio is 35%-55%, then the behavior category is determined to be entering the monitoring area.
[0071] By comparing the collected behavioral features with pre-set correspondences, the behavioral category of the active person can be determined. For example, if a person's movement speed is detected at 0.8 m / s, the dwell time continues to increase, the signal strength peak is 100 dB, and the low-frequency energy ratio is 50%, the pre-set correspondence determines that the person's behavior category is entering the monitoring area.
[0072] Figure 3 If the detected behavior feature only partially matches the features in the table, the data is considered invalid and the behavior feature is not associated with the behavior type. For example, if the detected behavior feature has a speed range of 1m / s, a peak signal strength of 70dB, a dwell time of 2 seconds, and a low-frequency energy ratio of 50%, the behavior feature is considered invalid because it does not match any of the three behavior types.
[0073] Examples of categories of passing through the monitoring area, staying in the monitoring area, and entering the monitoring area in the embodiments of the present application can be as follows: Figure 4 As shown. Figure 4 In the behavior category diagram shown, two sensing radii are set in the monitoring area, namely, the no-man to man sensing radius r1 and the maintaining man sensing radius r2, and the maintaining man sensing radius r2 is larger than the no-man to man sensing radius r1.
[0074] The first range determined by the unmanned to manned sensing radius (the distance from the microwave radar is less than the unmanned to manned sensing radius) is used to trigger the transition from an unmanned state to a manned state, that is, when a person is sensed within the first range and the previous state was unmanned, the state is triggered to be manned. The maintaining manned sensing radius is used when it is previously sensed that there are people in the monitoring area. If the person enters the second range determined by the maintaining manned sensing radius (the distance from the microwave radar is less than the maintaining manned sensing radius) and does not belong to the first range, it still indicates that the monitoring area is in a manned state. If there was a manned state before, and it is detected that all the people within the second range have left, the manned state is switched to an unmanned state. According to the monitoring results of the maintaining manned sensing radius, after it is detected that all the people have left, that is, after no one is within the second range determined by the maintaining manned sensing radius, corresponding controls can be performed on the electrical equipment in the space, such as turning off lighting equipment.
[0075] for example Figure 4 There are four trajectories in the figure. Trajectory 1 passes through the perimeter of the monitoring area and its corresponding behavior category is passing the monitoring area. Trajectory 2 passes through the perimeter of the monitoring area and stays there, and its behavior categories are passing the monitoring area and staying there, respectively. Trajectory 3 and trajectory 4 pass through the monitoring area and enter the monitoring area, and their behavior categories are passing the monitoring area and entering the monitoring area, respectively.
[0076] In S203 , the trajectory distribution of the active persons whose behavior category is entering the monitoring area is counted.
[0077] In this embodiment, for actions that are determined to be entering the monitoring area, the trajectory distribution of the active person is recorded and counted, and the trajectory distribution that passes through the monitoring area is filtered. The trajectory distribution includes information such as the location where the person enters the monitoring area.
[0078] Specifically, by continuously monitoring and recording the trajectories of people entering the monitoring area, a trajectory distribution database is established. This data can be presented in the form of a heat map, where different colors on the heat map represent the frequency of people's activities or the density of their trajectories.
[0079] In embodiments of the present application, the trajectory density of a monitored area can be determined based on the trajectory distribution. This trajectory density can be expressed as the number of trajectories per unit area, representing the probability of a person appearing at that location in the monitored area. The trajectory density of the monitored area can be compared with a preset density threshold to identify the first activity area with a trajectory density greater than the threshold, i.e., the high-frequency activity area.
[0080] In S204 , a sensing radius of the monitoring area is set according to the trajectory distribution, and sensing monitoring is performed on the monitoring area according to the sensing radius.
[0081] In this embodiment, the sensing radius of the monitoring area is set based on the trajectory distribution obtained by statistics. The sensing radius includes a sensing radius from no-man to man and a sensing radius for maintaining man.
[0082] Specifically, the trajectory density of the monitored area is first determined based on the trajectory distribution. Trajectory density reflects the intensity of human activity; higher trajectory density indicates more frequent human activity. The trajectory density of the monitored area is then compared with a preset density threshold, such as 5%, to determine the primary activity zone within the monitored area. The primary activity zone is defined as an area where the trajectory density exceeds the threshold, indicating frequent human activity.
[0083] Next, the size of the monitoring area is determined based on the first active area, and the sensing radius is determined based on the size of the monitoring area. If the monitoring area is rectangular, the maintaining occupancy sensing radius is determined by half of the long side of the monitoring area, and the occupancy-to-occupancy sensing radius is determined by half of the short side of the monitoring area.
[0084] For example, if the monitoring area is a rectangular area with a length of 6 meters and a width of 4 meters, the sensing radius when someone is present is 3 meters (half of the long side), and the sensing radius when no one is present is 2 meters (half of the short side).
[0085] Finally, the monitoring area is sensed and monitored according to the set sensing radius. For example, when a pedestrian enters the second range determined by the sensing radius of maintaining people, further monitoring is performed to determine whether the pedestrian enters the first range determined by the sensing radius from no one to people. If the pedestrian does not enter the first range, it is determined that the pedestrian has not entered the monitoring area. If the pedestrian enters the first range, it is determined that the pedestrian has entered the monitoring area, and the monitoring area enters the occupied state. The lights, air conditioning and other equipment in the monitoring area can be turned on. During the movement of the pedestrian, it is monitored whether there is anyone in the second range. If so, it is determined that there is still someone in the second range, and the occupied state is maintained, and the equipment is kept on. If there is no one in the second range, it is determined that everyone has left, and the lights, air conditioning and other equipment in the monitoring area can be turned off.
[0086] Since behavioral characteristics can be used to distinguish between people who do not enter the monitoring area and people who enter the monitoring area, the sensing radius determined based on behavioral characteristics can more reliably distinguish between people who do not enter the monitoring area and people who enter the monitoring area, improve the triggering accuracy of the monitoring area, and improve the installation and scheduling efficiency of the sensing equipment.
[0087] In this embodiment, after determining the sensing radius, the probability of a false triggering event occurring during sensing monitoring can be determined. If the probability is greater than or equal to a preset probability threshold, such as greater than or equal to 5%, then continue to collect field data and re-execute. Figure 2The method shown is used to optimize the sensing radius until the probability of a false triggering event is less than the probability threshold. This can continuously optimize the sensing radius of the monitoring area, reduce the probability of a false triggering event, and improve the accuracy and reliability of sensing monitoring.
[0088] It is understandable that the probability of a false trigger event occurring needs to be recalculated after each optimization, until the probability of a false trigger event occurring calculated after optimization is less than the probability threshold.
[0089] A false trigger event means that the sensor mistakenly triggers a signal indicating that someone has entered the monitoring area when no person has entered the monitoring area, or the sensor mistakenly maintains a signal indicating that someone has left the monitoring area.
[0090] Specifically, for trigger events obtained through sensing monitoring in the monitoring area, at least one of the trigger position, motion trajectory direction, sensing state before triggering, trigger frequency, and spectrum energy of the trigger event is determined. Based on this information, it is determined whether the trigger event is a false trigger event.
[0091] When a trigger event is detected within the first range determined by the sensing radius from no one to someone, and no person is detected within the second range determined by the sensing radius before the trigger event, the trigger event is determined to be a false trigger event.
[0092] When a human trigger event is detected within the first range determined by the sensing radius from no one to someone, and before the trigger event, a person is detected within the second range determined by the sensing radius while maintaining a person state, and the direction of the person's movement trajectory detected in the second range is different from the entrance direction of the monitoring area, the trigger event is determined to be a false trigger event.
[0093] If a trigger event is detected within the first range determined by the unmanned-to-occupied sensing radius, and the trigger frequency exceeds a preset first frequency threshold, the trigger event is determined to be a false trigger event. The preset first frequency threshold can be set to 10 Hz, indicating that a false trigger event is determined if the number of triggers detected exceeds 10 within 1 second.
[0094] When a trigger event is detected within a first range determined by the unmanned to manned sensing radius, and the spectrum energy of the trigger event is greater than a preset first spectrum energy threshold, the trigger event is determined to be a false trigger event.
[0095] The probability of a false trigger event occurring is determined based on the number of false trigger events and the number of trigger events. Specifically, the probability of a false trigger event occurring is equal to the number of false trigger events divided by the total number of trigger events. For example, if 5 out of 100 trigger events are determined to be false trigger events, the probability of a false trigger event occurring is 5%.
[0096] In an embodiment of the present application, when sensing and monitoring the monitoring area according to the sensing radius, interference events may be encountered. In this embodiment of the present application, interference events can be identified and filtered.
[0097] Specifically, if a trigger event is detected within the third range and the direction of the trigger event's motion trajectory is different from the entrance direction of the monitoring area, the trigger event is determined to be a wall-penetrating interference event. The third range is the range determined by the first range (defined by the unoccupied to occupied sensing radius) and the second range (defined by the maintained occupied sensing radius) XORed together.
[0098] When a triggering event is detected within the first range, and no person is detected within the second range before the triggering event is detected, the triggering event is determined to be a noise interference event.
[0099] When a trigger event is detected within the first range, the trigger frequency of the trigger event is greater than a preset second frequency threshold, and a person is detected within the second range before the trigger event is detected, the trigger event is determined to be a wall-penetrating interference event.
[0100] When a trigger event is detected within the first range and the spectrum energy of the trigger event is greater than a preset second spectrum energy threshold, the trigger event is determined to be an abnormal interference event.
[0101] Through the above steps, the sensing radius of the monitoring area can be adaptively set according to the actual activities of the personnel, thereby improving the accuracy and efficiency of the sensing monitoring.
[0102] Furthermore, in the embodiments of the present application, the microwave radar's transmission frequency affects its operating energy consumption. Setting the microwave radar's transmission frequency too high increases its operating energy consumption, while reducing it reduces it. However, if the microwave radar's transmission frequency is too low, a person may enter the unmanned-to-manned sensing radius before the manned sensing radius detects a person. To address this issue, the microwave radar's transmission frequency in the embodiments of the present application is adapted to the pedestrian's movement speed. Specifically, the time it takes for a pedestrian to move from the boundary of the second circle (the radius of the second circle is the manned sensing radius) determined by the manned sensing radius to the boundary of the first circle (the radius of the unmanned-to-manned sensing radius) determined by the manned-to-manned sensing radius should be greater than the microwave radar's detection period. For example, if the unmanned-to-manned sensing radius is r1, the manned sensing radius is r2, and the pedestrian's movement speed is v, then (r2-r1) / v should be greater than the microwave radar's detection period. This ensures that pedestrians within the XOR region of the first and second ranges can be reliably detected by the microwave radar.
[0103] The embodiments of the present application collect behavioral characteristics of active persons within the sensor detection range, determine behavioral categories based on the behavioral characteristics, count the trajectory distribution of active persons when entering the monitoring area, and then set the sensing radius of the monitoring area, thereby dynamically adjusting the sensing range according to the actual situation of each area, reducing false touches and missed reports; through comprehensive analysis of speed, spectrum and trajectory morphology, the sensing accuracy is improved and the false alarm rate is reduced; through an adaptive calibration process, no manual debugging is required and the system automatically adapts to complex environments such as glass curtain walls and open offices; at the same time, the efficiency of sensor deployment is improved, the cost of manual debugging is reduced, and the problem of heavy debugging workload when a large number of sensors are deployed in the prior art is solved.
[0104] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0105] Figure 5 A schematic diagram of a sensing range setting device provided in an embodiment of the present application, the device comprising:
[0106] A behavior feature collection unit 501 is used to collect behavior features of people in the sensor detection range;
[0107] A behavior category determination unit 502 is configured to determine the behavior category of the active person based on a correspondence between a preset value range of the behavior characteristic and the behavior category;
[0108] A trajectory distribution statistics unit 503 is used to count the trajectory distribution of the active persons whose behavior category is entering the monitoring area;
[0109] The sensing radius determining unit 504 is configured to set a sensing radius of the monitoring area according to the trajectory distribution, and perform sensing monitoring on the monitoring area according to the sensing radius.
[0110] Figure 5 The sensing range setting device shown is Figure 2 The following corresponds to the sensing range setting method shown.
[0111] Figure 6 Schematic diagram of a sensing range setting device provided in an embodiment of the present application. Figure 6As shown, the sensing range setting device 6 of this embodiment includes: a processor 60, a memory 61, and a computer program 62 stored in the memory 61 and executable on the processor 60, such as a sensing range setting program. When the processor 60 executes the computer program 62, it implements the steps of the aforementioned sensing range setting method embodiments. Alternatively, when the processor 60 executes the computer program 62, it implements the functions of the modules / units in the aforementioned device embodiments.
[0112] For example, the computer program 62 may be divided into one or more modules / units, which are stored in the memory 61 and executed by the processor 60 to implement the present application. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program 62 in the sensing range setting device 6.
[0113] The sensing range setting device 6 can be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The sensing range setting device can include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will understand that Figure 6 This is merely an example of the sensing range setting device 6 and does not constitute a limitation on the sensing range setting device 6. The sensing range setting device 6 may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the sensing range setting device may also include input and output devices, network access devices, buses, etc.
[0114] The processor 60 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.
[0115] The memory 61 can be an internal storage unit of the sensing range setting device 6, such as a hard disk or memory of the sensing range setting device 6. The memory 61 can also be an external storage device of the sensing range setting device 6, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the sensing range setting device 6. Furthermore, the memory 61 can also include both the internal storage unit of the sensing range setting device 6 and an external storage device. The memory 61 is used to store the computer program and other programs and data required by the sensing range setting device. The memory 61 can also be used to temporarily store data that has been output or is about to be output.
[0116] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0117] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.
[0118] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0119] In the embodiments provided in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0120] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0121] In addition, the functional units in the various embodiments of the present application may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0122] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the process in the above-mentioned embodiment method, and can also be completed by hardware related to computer program instructions. The computer program can be stored in a computer-readable storage medium, and the computer program, when executed by the processor, can implement the steps of the above-mentioned various method embodiments. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0123] In addition, an embodiment of the present application also provides a computer program product, which, when running on a computer, enables the computer to execute the methods in the above-mentioned implementation manners.
[0124] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.
Claims
1. A method for setting a sensing range, characterized in that: The method comprises: Collecting behavioral characteristics of people within the sensor detection range; Determining the behavior category of the active person based on the correspondence between the value range of the preset behavior characteristics and the behavior category; Counting the trajectory distribution of people whose behavior category is entering the monitoring area; The sensing radius of the monitoring area is set according to the trajectory distribution, and sensing monitoring is performed on the monitoring area according to the sensing radius.
2. The method according to claim 1, characterized in that After setting the sensing radius of the monitoring area according to the trajectory distribution, the method further includes: Determining the probability of a false triggering event occurring in the sensing monitoring of the monitoring area; When the probability of the false triggering event is greater than or equal to a preset probability threshold, the trajectory distribution of the active personnel whose behavior category is entering the monitoring area is counted, and the sensing radius of the monitoring area is set according to the trajectory distribution. The monitoring area is sensed and monitored according to the sensing radius until the probability of the false triggering event is less than the probability threshold.
3. The method according to claim 2, characterized in that Determining the probability of a false triggering event occurring during induction monitoring in the monitoring area includes: Determining at least one of a trigger position, a motion trajectory direction, a sensing state before triggering, a trigger frequency, and a spectrum energy of the trigger event in a trigger event obtained by sensing monitoring in the monitoring area; determining whether the trigger event is a false trigger event based on at least one of a trigger position, a motion trajectory direction, a sensing state before the trigger, a trigger frequency, and a spectrum energy of the trigger event; The probability of the false triggering event occurring is determined according to the false triggering event and the number of triggering events.
4. The method according to claim 3, characterized in that The sensing radius includes an unmanned to manned sensing radius and a maintained manned sensing radius. The unmanned to manned sensing radius is smaller than the maintained manned sensing radius. The unmanned to manned sensing radius is a sensing radius within which the state is switched to manned state when a person enters a first range determined by the unmanned to manned sensing radius from outside the first range. The maintained manned sensing radius is a radius within which the state is maintained when a person enters a second range determined by the maintained manned sensing radius. Determining whether the trigger event is a false trigger event based on at least one of a trigger position, a motion trajectory direction, a sensing state before triggering, a trigger frequency, and spectrum energy of the trigger event includes: When a trigger event is detected within the first range determined by the sensing radius from no one to someone, and no person is detected within the second range determined by the sensing radius before the trigger event, the trigger event is determined to be a false trigger event; When a person trigger event is detected within the first range determined by the sensing radius from no one to someone, and before the trigger event, a person is detected within the second range determined by the sensing radius that maintains a person state, and the direction of the person's movement trajectory detected in the second range is different from the entrance direction of the monitoring area, then the trigger event is determined to be a false trigger event; When a trigger event is detected within a first range determined by an unmanned to manned sensing radius, and a trigger frequency of the trigger event is greater than a preset first frequency threshold, the trigger event is determined to be a false trigger event; When a trigger event is detected within a first range determined by the unmanned to manned sensing radius, and the spectrum energy of the trigger event is greater than a preset first spectrum energy threshold, the trigger event is determined to be a false trigger event.
5. The method according to claim 1, wherein The sensing radius includes the sensing radius from no one to someone and the sensing radius of maintaining someone; Performing sensing monitoring on the monitoring area according to the sensing radius includes: When a trigger event is detected within the third range, and the direction of the motion trajectory of the trigger event is different from the entrance direction of the monitoring area, the trigger event is determined to be a wall-penetrating interference event. The third range is the range determined by performing an XOR operation on the first range determined by the unmanned to manned sensing radius and the second range determined by the manned sensing radius. When a trigger event is detected within the first range, and no person is detected within the second range before the trigger event is detected, determining that the trigger event is a noise interference event; When a trigger event is detected within the first range, the trigger frequency of the trigger event is greater than a preset second frequency threshold, and a person is detected within the second range before the trigger event is detected, the trigger event is determined to be a wall-penetrating interference event; When a trigger event is detected within the first range and the spectrum energy of the trigger event is greater than a preset second spectrum energy threshold, the trigger event is determined to be an abnormal interference event.
6. The method according to claim 1, characterized in that Setting the sensing radius of the monitoring area according to the trajectory distribution includes: determining a trajectory density of the monitoring area according to the trajectory distribution; Comparing the trajectory density with a preset density threshold to determine a first activity area of the monitoring area; The size of the monitoring area is determined according to the first active area, and the sensing radius is determined according to the size of the monitoring area.
7. The method according to claim 6, characterized in that Determining the sensing radius according to the size of the monitoring area includes: When the monitoring area is rectangular, the maintaining presence sensing radius is determined based on half of the long side of the monitoring area, and the non-person to person sensing radius is determined based on half of the short side of the monitoring area.
8. A sensing range setting device, characterized in that: The device comprises: A behavior feature collection unit, used to collect behavior features of people moving within the detection range of the sensor; a behavior category determination unit, configured to determine the behavior category of the active person based on a correspondence between a preset value range of the behavior characteristic and the behavior category; a trajectory distribution statistics unit, configured to count the trajectory distribution of persons whose behavior category is entering the monitoring area; The sensing radius determining unit is configured to set the sensing radius of the monitoring area according to the trajectory distribution, and perform sensing monitoring on the monitoring area according to the sensing radius.
9. A sensing range setting device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the sensing range setting device is caused to implement the method according to any one of claims 1 to 7.
10. A computer program product comprising computer program instructions, characterized in that When the computer program is executed, the method according to any one of claims 1 to 7 is performed.
Citation Information
Cited By
Illumination control method, device, system and computer program product
CN122294336A
Lighting control method, device, system and computer program product
CN122294336B
