IoT lighting control method and system based on personnel recognition and radar sensing

Through the IoT lighting control method based on person recognition and radar induction, the path of people is predicted and lighting fixtures are controlled, which solves the problems of hysteresis and randomness in the existing technology and achieves intelligent lighting management and energy saving effects.

CN118574277BActive Publication Date: 2024-10-15JINAN GELIN ENERGY SAVING DEV CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202411044569.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-10-15
Estimated Expiration
2044-08-01

AI Technical Summary

Technical Problem

The existing public area lighting fixtures control methods are lagging and random, resulting in poor experience and comfort, and it is impossible to achieve intelligent and perceptual control between fixtures.

Method used

The IoT lighting control method based on person recognition and radar sensing is used to obtain radar sensing information and image information, predict the path of people, and control the turning on of lighting fixtures based on the path and location to achieve intelligent and perceptual lighting management.

Benefits of technology

It can turn on the required lamps without any sense, illuminate the areas that people will pass through in advance, avoid discomfort, reduce energy consumption and construction costs, and realize joint control between lamps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574277B_ABST
    Figure CN118574277B_ABST
Patent Text Reader

Abstract

The present invention belongs to the technical field of IoT lamp control, and provides an IoT lamp control method and system based on personnel identification and radar sensing, which obtain radar sensing information of lamps; according to the radar sensing information, if it is determined that a person has entered the current area, a start instruction of the lamp corresponding to the current area is issued, and image information in the current area is obtained; the personnel information in the image information is determined, and the probability of the person moving from the current area to the adjacent area is predicted by using the historical data of the corresponding personnel information in a preset database, and the adjacent area with the highest probability is selected as the second area; according to the maximum probability principle, all areas are obtained; a start instruction is issued to the lamps corresponding to all areas that the person is predicted to pass through; the person's path is predicted in advance, and the lighting lamps are controlled so that the person can turn on the required lamps without being perceived, and the area that the person is going to pass through is illuminated in advance on the basis of ensuring energy saving, thereby avoiding discomfort.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of IoT lamp control, and in particular relates to an IoT lamp control method and system based on personnel recognition and radar sensing. Background Art

[0002] With the development of society, the lighting requirements for public areas are constantly increasing. Among them, energy-saving factors are considered more when controlling lighting fixtures. Usually, the on and off of the lamps are determined by whether people are present. When people are present, the lamps are turned on to meet the lighting needs; when people are not present, the lamps are turned off to meet the energy-saving needs.

[0003] The inventors found that the control of lighting fixtures in public areas mainly adopts sound and light control or induction control; however, there is a certain lag and randomness in this type of control method, resulting in a poor experience and comfort; and the lamps cannot communicate with each other, and intelligent and perceptual control cannot be achieved. Summary of the invention

[0004] In order to solve the above problems, the present invention proposes an IoT lamp control method and system based on personnel recognition and radar sensing. The present invention can predict the path of personnel and control lighting fixtures according to the path and the position of personnel, so that personnel can turn on the required lamps without perception, illuminate the area in front of the personnel while ensuring energy saving, and avoid discomfort.

[0005] In order to achieve the above object, the present invention is implemented through the following technical solutions:

[0006] In a first aspect, the present invention provides a method for controlling IoT lamps based on personnel recognition and radar sensing, comprising:

[0007] Get radar sensing information of lamps;

[0008] According to the radar sensing information, if it is determined that a person has entered the current area, a command to turn on the lamps corresponding to the current area is issued, and image information in the current area is obtained;

[0009] Determine the person information in the image information, use the historical data of the corresponding person information in the preset database to predict the probability of the person moving from the current area to the adjacent area, select the adjacent area with the highest probability as the second area; and predict all areas that the person will pass through according to the maximum probability principle;

[0010] Send turn-on commands to the corresponding lights in all areas where the personnel are expected to pass.

[0011] Furthermore, the location of the personnel is determined based on the image information; the lamps are numbered, the personnel location information and the lamp numbers are mapped, the lamp light irradiation area or the radar sensing area is used as the lamp mapping area, and the lamp number is used as the mapping area number; after determining that a person has entered the current area, the trigger information is reported to the edge gateway, and the edge gateway opens the video stream of the associated camera based on the lamp number, starts capturing the video stream, and captures the personnel information.

[0012] Furthermore, the probability of a person moving from the current area to an adjacent area is equal to the ratio of the number of times a person moves from the current area to an adjacent area in historical data to the number of times a person moves from the current area to all areas.

[0013] Furthermore, a turn-on control instruction is issued to the lamps corresponding to all areas with the second highest probability when predicting the path as backup areas; the brightness of the lamps corresponding to the area with the highest control probability is controlled to be a first brightness value, and the brightness of the lamps corresponding to the area with the second highest probability is controlled to be a second brightness value, and the first brightness value is greater than the second brightness value.

[0014] Furthermore, personnel move from the previous area to the next area to determine whether they follow the predicted path;

[0015] If the predicted path is followed, the speed at which subsequent lamps are turned on is determined based on the speed at which the personnel move;

[0016] If the predicted path is not followed but in the backup area, the path will be re-predicted; if the person is not on the re-predicted path, the lights will be turned on according to the radar sensing, and the preset number of turned-on lamps on the predicted path will be reduced. When the person meets the predicted path again, the number of turned-on lamps will be restored.

[0017] Furthermore, the center position of the person is determined. When the moving direction of the center position of the person deviates from the line connecting the center points of the areas on the predicted path, a preset deviation is subtracted from the preset credibility. After several consecutive processings, if the credibility is lower than the preset value, the nearest area covered by the extended line of the motion path is used as the next area for re-prediction.

[0018] In a second aspect, the present invention further provides an IoT lighting control system based on personnel recognition and radar sensing, comprising:

[0019] The radar sensing information acquisition module is configured to: obtain radar sensing information of the lamp;

[0020] The image information acquisition module is configured to: determine, based on the radar sensing information, if a person enters the current area, issue an instruction to turn on the lamps corresponding to the current area, and obtain image information in the current area;

[0021] The prediction module is configured to: determine the person information in the image information, use the historical data of the corresponding person information in the preset database to predict the probability of the person moving from the current area to the adjacent area, select the adjacent area with the highest probability as the second area; and predict all areas that the person will pass through according to the maximum probability principle;

[0022] The control module is configured to send an opening instruction to the lamps corresponding to all the areas that the person is predicted to pass through.

[0023] In a third aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method for controlling IoT lamps based on personnel recognition and radar sensing as described in the first aspect.

[0024] In a fourth aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, wherein when the processor executes the program, the steps of the method for controlling IoT lamps based on personnel recognition and radar sensing as described in the first aspect are implemented.

[0025] In a fifth aspect, the present invention further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the method for controlling IoT lamps based on personnel recognition and radar sensing described in the first aspect are implemented.

[0026] Compared with the prior art, the present invention has the following beneficial effects:

[0027] In the present invention, first, radar sensing information of lamps is obtained; then, based on the radar sensing information, if it is determined that a person has entered the current area, a start instruction of the lamps corresponding to the current area is issued, and image information in the current area is obtained; finally, the person information in the image information is determined, and the probability of the person moving from the current area to the adjacent area is predicted by using the historical data of the corresponding person information in a preset database, and the adjacent area with the largest probability is selected as the second area; according to the principle of maximum probability, all areas that the person will pass through are predicted; a start instruction is issued to the lamps corresponding to all areas that the person is predicted to pass through; the path of the person can be predicted in advance, and the lighting fixtures can be controlled according to the path and the position of the person, so that the person can turn on the required lamps without perception, and the area that the person will pass through can be illuminated in advance on the basis of ensuring energy saving, thereby avoiding discomfort; joint control after communication between lamps is realized, and intelligent perception control can be performed.

[0028] The present invention is constructed in the form of an edge gateway, which minimizes construction costs. At the same time, the edge gateway adopts a radar triggering method, which greatly reduces the amount of data processed by the edge gateway, further reduces the computing power requirements and power consumption of the edge gateway, and reduces energy consumption and construction costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The drawings in the specification that constitute a part of this embodiment are used to provide a further understanding of this embodiment. The schematic embodiments of this embodiment and their descriptions are used to explain this embodiment and do not constitute improper limitations on this embodiment.

[0030] Figure 1 is a flow chart of the method of embodiment 1 of the present invention;

[0031] Figure 2 is the template image of embodiment 1 of the present invention;

[0032] Figure 3 This is a schematic diagram of adjacent lamps of the current lamp in Embodiment 1 of the present invention;

[0033] Figure 4 Schematic diagram of the movement direction deviation of Example 1 of the present invention. DETAILED DESCRIPTION

[0034] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0035] It should be noted that the following detailed descriptions are exemplary and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0036] Embodiment 1:

[0037] like Figure 1 As shown, this embodiment provides an IoT lamp control method based on personnel recognition and radar sensing, including:

[0038] S1. Causes of lighting control based on human activities:

[0039] Optionally, the radar is used to trigger the lamp closest to the person first; at the same time, the lamp reports the trigger information to the edge gateway, which opens the video stream of the associated camera according to the lamp number, starts capturing the video stream, and captures the person information. The camera is a network camera, which is accessed by IP address, and multiple cameras can be associated to maximize the acquisition of the best image.

[0040] S2. Personnel information capture:

[0041] S2.1, Personnel information identification:

[0042] S2.1.1. Face information extraction: Optionally, identify the face area from the video stream, capture the face image, and resize the image to 320x320. At the same time, adjust the face image to a standard frontal face through the angles of the eyes, nose and mouth, and then calculate the face feature code. The model can be trained through a conventional neural network, and the face feature code is calculated through the model. To further improve the accuracy, for cameras in different positions, use the images randomly taken by this camera to train the model for face area recognition, enhance the recognition rate in this environment, and then use a unified feature code extraction model to extract the feature code. In some embodiments, the recognition process does not identify the identity of the person, but only distinguishes the people and calculates the person's feature code for subsequent trajectory recording.

[0043] S2.1.2. Personnel location information: Calculate the current position of the personnel through the image, calculate the position of the personnel at the current time, so as to calculate the movement speed and direction of the personnel; the determination of the current position and current time of the personnel can be achieved through conventional technology, which will not be described in detail here. In order to record and save the position of the personnel, the personnel position information and the lamp number are mapped; the illumination area of ​​the lamp light or the sensing area of ​​the radar in the lamp is used as the lamp mapping area, and the lamp number is used as the number of the area. Optionally, the mapping area is defined as a lamp grid, and the lamp number is the grid number. Therefore, to calculate the position of the personnel, it is only necessary to calculate the current grid number, and the calculation of the personnel's forward direction is converted to the calculation of the target grid. In order to quickly calculate the current grid and the target grid, the auxiliary line calibration method is used to calculate the current grid:

[0044] like Figure 2 As shown, in an image of a certain camera, a template image is established, and the template image includes the area of ​​each lighting fixture, such as Figure 2 Different boxes are used to represent the first area, the second area and the third area, that is, three grids are defined.

[0045] Optionally, the center point of the lower edge of the identified personnel information is taken, the pixel coordinates of the center point are calculated, and it is determined which grid of the first area, the second area, and the third area the coordinates are in, so as to determine the personnel grid number. According to the movement of the personnel, the target grid of the personnel can be calculated in the same way. Figure 2 The middle position is the center of the grid, and the position of the lamp can be used as the center of the grid.

[0046] S2.2. Preservation of personnel information:

[0047] Optionally, the personnel information is stored in the edge gateway in the form of a database, and a unique primary key index number is established for each person, with the facial feature code as the matching basis, including the appearance period, current grid and movement direction. Optionally, the appearance period is set according to the control accuracy; the current grid position is recorded in the form of a light number, calculated in step S2.1; the movement direction is the target grid calculated in step S2.1.

[0048] There are multiple lamps around each lamp, and the path of the lamp with motion conditions is calculated. Figure 3 As shown, 8 fields are established to represent the direction of movement of personnel, and the number of occurrences of the direction is counted based on the recognition data. Based on the number of occurrences, the statistical probability of the direction of movement of personnel at the current time is calculated. P ( n )for:

[0049] P ( n )= C n / ( )( n =1…8)

[0050] in, n Indicates 8 directions; C n Indicates the number of occurrences; i is a constant.

[0051] The database will store the probability of eight movement directions under a certain lamp in each time period. The speed information of personnel is not saved, but will be used as a prediction basis to determine the opening time of subsequent lamps.

[0052] S3. Path prediction:

[0053] The path prediction planning is used as the lighting opening method. The input data of path prediction is personnel feature code, current grid and time information, etc. Follow the following process:

[0054] S3.1. Personnel feature code screening:

[0055] Optionally, feature information matching the personnel features is filtered from the database.

[0056] S3.2, Location information screening:

[0057] Optionally, the motion data of each time period of the current location information is filtered from the records.

[0058] S3.3. Find time period information:

[0059] Optionally, find the motion data for the closest time period information.

[0060] After the above steps, the information obtained is the probability of the person moving from the current grid to the surrounding 8 grids. Select the grid with the highest probability, and then use this grid as the next input information, and repeat 2 to find 5 grids in a row.

[0061] The current path uses the grid with the highest probability. Five grids need to be searched continuously. The number can be configured and modified according to the speed. The lights on this path are turned on at 100% brightness.

[0062] Then select a grid with the second highest probability, which only selects 1 or 2 grids as backup paths, and sets the brightness of the lamps to 40%-50%, in order to prevent the path from deviating and causing a bad perception.

[0063] S3.4, Grid Movement:

[0064] When the person moves to the next grid, determine whether to execute according to the predicted data:

[0065] S3.4.1. If the prediction is followed, continue to execute from step S2 and make continuous predictions. At the same time, the subsequent light-on speed is determined according to the moving speed. The speed range can be defined to calculate the number of subsequent light-on times. If the speed is fast, more lights will be turned on in advance, and if the speed is slow, fewer lights will be turned on in advance.

[0066] S3.4.2 If the prediction is not followed and the person moves to a grid that is not on the predicted path, then:

[0067] S3.4.2.1. Personnel are on the backup grid and re-forecast from the second grid.

[0068] S3.4.2.2. If the vehicle is not on the second grid, it may be a temporary path. Turn on the lights according to the radar sensing and reduce the pre-turn-on quantity by half. If the vehicle meets the predicted path again, restore the pre-turn-on quantity.

[0069] Path prediction ultimately uses big data analysis of personnel identification and historical data of personnel activities to predict the most likely route and an alternative path.

[0070] S3.5 Path deviation prediction:

[0071] like Figure 4As shown in the figure, if there is a deviation between the predicted path and the actual trajectory of the person's actual walking, the optional processing method at this time is to set a credibility and initialize the credibility; when calculating the position of the person, when the moving direction of the person's center position seriously deviates from the grid center point connection line of the predicted path, the credibility of the path should be reduced, and the credibility is subtracted by a set deviation. After several consecutive processings, for example, 5 frames of data are processed within 1S, and 5 times within 1S, when the feasibility of the path is lower than 50% or other set ratios, the nearest grid covered by the extension line of the motion path is used as the next grid, and the above continuous prediction is performed again. The moving direction of the person's center position can refer to the extension line of the line connecting the person's center position and the grid center position, and the serious deviation can refer to the degree of deviation exceeding the preset angle threshold.

[0072] Through this embodiment, the path of people can be predicted, and lighting fixtures can be controlled according to the path and the position of people, so that people can turn on the required lamps without perception, and make people feel that the area in front of them is bright without discomfort. The overall control method of this embodiment has the advantages of precision, flexibility, intelligence and energy saving.

[0073] This embodiment is constructed in the form of a side-mounted edge gateway, which minimizes the construction cost. At the same time, the edge gateway adopts a radar triggering method, which greatly reduces the amount of data processed by the edge gateway, further reduces the computing power requirements and power consumption of the edge gateway, and reduces energy consumption and construction costs.

[0074] Embodiment 2:

[0075] This embodiment provides an IoT lighting control system based on personnel recognition and radar sensing, including:

[0076] The radar sensing information acquisition module is configured to: obtain radar sensing information of the lamp;

[0077] The image information acquisition module is configured to: determine, based on the radar sensing information, if a person enters the current area, issue an instruction to turn on the lamps corresponding to the current area, and obtain image information in the current area;

[0078] The prediction module is configured to: determine the person information in the image information, use the historical data of the corresponding person information in the preset database to predict the probability of the person moving from the current area to the adjacent area, select the adjacent area with the highest probability as the second area; and predict all areas that the person will pass through according to the maximum probability principle;

[0079] The control module is configured to send an opening instruction to the lamps corresponding to all the areas that the person is predicted to pass through.

[0080] The working method of the system is the same as the IoT lamp control method based on personnel recognition and radar sensing in Example 1, and will not be repeated here.

[0081] Embodiment 3:

[0082] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the steps of the method for controlling an IoT lamp based on personnel recognition and radar sensing described in Embodiment 1 are implemented.

[0083] Embodiment 4:

[0084] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and capable of running on the processor. When the processor executes the program, the steps of the method for controlling an IoT lamp based on personnel recognition and radar sensing described in Example 1 are implemented.

[0085] Embodiment 5:

[0086] This embodiment provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps of the method for controlling an IoT lamp based on personnel recognition and radar sensing described in Embodiment 1 are implemented.

[0087] The above description is only a preferred embodiment of the present embodiment and is not intended to limit the present embodiment. For those skilled in the art, the present embodiment may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present embodiment shall be included in the protection scope of the present embodiment.

Claims

1. IoT lighting control method based on personnel recognition and radar sensing, It is characterized in that include: Get radar sensing information of lamps; According to the radar sensing information, if it is determined that a person has entered the current area, an opening instruction of the lamp corresponding to the current area is issued, and image information in the current area is obtained. The specific steps are: numbering the lamps, mapping the personnel position information and the lamp number, using the illumination area of ​​the lamp light or the sensing area of ​​the radar as the lamp mapping area, and the lamp number as the number of the mapping area; after determining that a person has entered the current area, the trigger information is reported to the edge gateway, and the edge gateway opens the video stream of the associated camera according to the lamp number, starts capturing the video stream, and captures the personnel information; Determine the personnel information in the image information, and use the historical data of the corresponding personnel information in the preset database to predict the probability of the personnel moving from the current area to the adjacent area; the probability of the personnel moving from the current area to the adjacent area is equal to the ratio of the number of times the personnel moves from the current area to the adjacent area in the historical data to the number of times the personnel moves from the current area to all areas. The specific formula is P ( n )for: P ( n )= C n / ( )( n =1…8) in, n Indicates 8 directions; C n Indicates the number of occurrences; i is a constant; Select the adjacent area with the highest probability as the second area; predict all areas that the person will pass through according to the principle of maximum probability; issue a turn-on control instruction to the lamps corresponding to all areas with the second highest probability when predicting the path as the backup area; control the brightness of the lamps corresponding to the area with the highest probability to be the first brightness value, and the brightness of the lamps corresponding to the area with the second highest probability to be the second brightness value, and the first brightness value is greater than the second brightness value; Send turn-on commands to the corresponding lights in all areas where the personnel are expected to pass.

2. The IoT lighting control method based on personnel recognition and radar sensing as claimed in claim 1, It is characterized in that When personnel move from the previous area to the next area, it is determined whether the predicted path is followed; If the predicted path is followed, the speed at which subsequent lamps are turned on is determined based on the speed at which the personnel move; If the predicted path is not followed but in the backup area, the path is re-predicted; If the person is not on the re-predicted path, the lights are turned on according to the radar sensing, and the preset number of turned-on lights on the predicted path is reduced. When the person meets the predicted path again, the number of turned-on lights is restored.

3. The IoT lighting control method based on personnel recognition and radar sensing as claimed in claim 1, It is characterized in that Determine the center position of the person. When the moving direction of the center position of the person deviates from the line connecting the center points of the areas on the predicted path, subtract a preset deviation from the preset credibility. After several consecutive processings, if the credibility is lower than the preset value, the nearest area covered by the extended line of the motion path is used as the next area for prediction.

4. IoT lighting control system based on personnel recognition and radar sensing, It is characterized in that include: The radar sensing information acquisition module is configured to: obtain radar sensing information of the lamp; The image information acquisition module is configured to: determine, based on the radar sensing information, if a person enters the current area, then issue an opening instruction for the lamp corresponding to the current area, and obtain image information in the current area, and the specific steps are: number the lamps, map the personnel position information and the lamp number, use the illumination area of ​​the lamp light or the sensing area of ​​the radar as the lamp mapping area, and the lamp number as the number of the mapping area; after determining that a person has entered the current area, report the trigger information to the edge gateway, and the edge gateway opens the video stream of the associated camera according to the lamp number, starts capturing the video stream, and captures the personnel information; The prediction module is configured to: determine the personnel information in the image information, and use the historical data of the corresponding personnel information in the preset database to predict the probability of the personnel moving from the current area to the adjacent area; the probability of the personnel moving from the current area to the adjacent area is equal to the ratio of the number of times the personnel moves from the current area to the adjacent area in the historical data to the number of times the personnel moves from the current area to all areas. The specific formula is P ( n )for: P ( n )= C n / ( )( n =1…8) in, n Indicates 8 directions; C n Indicates the number of occurrences; i is a constant; Select the adjacent area with the highest probability as the second area; according to the maximum probability principle, predict all areas that the personnel will pass through, and send a start control instruction to the lamps corresponding to all areas with the second highest probability when predicting the path, as the backup area; control the brightness of the lamps corresponding to the area with the highest probability to be the first brightness value, and the brightness of the lamps corresponding to the area with the second highest probability to be the second brightness value, and the first brightness value is greater than the second brightness value; The control module is configured to send an opening instruction to the lamps corresponding to all the areas that the person is predicted to pass through.

5. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the steps of the method for controlling IoT lamps based on personnel recognition and radar sensing as described in any one of claims 1 to 3 are implemented.

6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, It is characterized in that When the processor executes the program, the steps of the IoT lamp control method based on personnel recognition and radar sensing as described in any one of claims 1 to 3 are implemented.

7. A computer program product, It is characterized in that The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the method for controlling an IoT lamp based on personnel recognition and radar sensing as described in any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Allocation method and device of paging zone

    CN101686467A

  • Roof safety monitoring method and monitor

    CN112489337A

  • Illumination and positioning control system and method based on UWB intelligent lamp

    CN114221998A

  • Lamp control method and device, lighting system of building and electronic equipment

    CN115134976A

  • Chemical plant dangerous area intrusion early warning method and system

    CN116363817A