Garden lamp intelligent control method and system and related equipment thereof
By using millimeter-wave radar instead of PIR sensors in courtyard lights, the accuracy of intelligent control of courtyard lights is improved, and the problem of low intelligent control accuracy in the existing technology is solved, and more accurate brightness and area control is achieved.
Patent Information
- Application Number
- CN202411594280.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-09
- Publication Date
- 2025-04-11
AI Technical Summary
The existing courtyard lights have low intelligent control accuracy, especially in high temperature environments in summer, PIR sensors are prone to blindness, and cannot accurately distinguish object types and positioning, resulting in inaccurate brightness control.
Millimeter-wave radar is used to replace the traditional PIR sensor, adjust the lighting area through the radar detection area, obtain the target point cloud feature information, determine whether the target person exists, and control the light brightness according to its status information.
It improves the accuracy of intelligent control of courtyard lights, achieves more accurate brightness and area control, is not affected by ambient temperature, and has high-precision detection for stationary and moving human bodies, reducing false touch and false alarms.
Smart Images

Figure CN119815640A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of lamps, and in particular to an intelligent control method and system for garden lamps and related equipment. Background Art
[0002] Garden lights are a type of outdoor lighting fixture, mainly used for outdoor lighting in cities, residential areas, scenic spots, parks, squares and other public places. With the increasing requirements for smart security, energy saving and intelligence, the demand for garden lights has evolved to the point where they are no longer limited to a single lighting function. Common garden lights in the current smart lighting and security fields use LED lights integrated with passive infrared sensors (hereinafter referred to as "PIR") and photosensitive sensors. PIR detects moving objects based on infrared radiation from humans or animals, and controls the on and off of LED lights, thereby achieving automatic lighting, energy saving and intelligent control. Compared with traditional continuous lighting designs, garden lights with integrated PIR only light up when someone passes by, which greatly extends the service life of the lamp and reduces energy waste.
[0003] Although PIR is widely used in smart garden lights, it also has certain limitations. PIR can only meet limited functions and usage conditions, and is easily affected by temperature, airflow, heat source interference, false touch, low sensitivity, short service life and many other defects. Especially in the high temperature environment in summer, PIR will cause blindness. Since PIR can only detect the movement of objects with temperature, it cannot distinguish the type of object and its location (such as target distance and angle), resulting in low accuracy and inability to control the brightness of LED lights according to the distance of the target.
[0004] Therefore, how to achieve intelligent sensing, more precise brightness and area control of garden lights is an urgent problem that needs to be solved. Summary of the invention
[0005] In view of this, an embodiment of the present invention provides a garden lamp intelligent control method, aiming to solve the technical problem of low accuracy of existing garden lamp intelligent control.
[0006] In a first aspect, the present invention provides a garden lamp intelligent control method, comprising:
[0007] Adjust the lighting area according to the radar detection area;
[0008] Determine whether the brightness information of the current environment is lower than a first threshold;
[0009] If yes, the radar starts to detect the target in the lighting area, obtains and counts the point cloud feature information of the target in the lighting area, and determines whether there is a target person in the lighting area according to the point cloud feature information;
[0010] If yes, the status information of the target person is obtained, and the corresponding light brightness in the lighting area is controlled according to the status information.
[0011] Preferably, the light is arranged obliquely to the ground, and the step of adjusting the lighting area according to the radar detection area comprises:
[0012] The XY plane coordinates of the radar are kept horizontal to the ground, the location information of obstacles is identified, and the location information of obstacles is eliminated to generate the radar detection area;
[0013] Set the lighting area according to the radar detection area.
[0014] Preferably, the light is arranged perpendicular to the ground, and the step of adjusting the lighting area according to the radar detection area comprises:
[0015] The XY plane coordinates of the radar are set perpendicular to the ground to identify the height information of obstacles, and remove the height information of obstacles to generate the radar detection area;
[0016] Set the lighting area according to the radar detection area.
[0017] Preferably, if yes, the radar is started to detect the target in the lighting area, the point cloud feature information of the target in the lighting area is obtained and counted, and the step of judging whether there is a target person in the lighting area according to the point cloud feature information includes:
[0018] By using formula 1, the target distance is calculated based on the detection echo delay.
[0019]
[0020] Among them, f B represents the beat frequency between TX and RX signals, f D represents the Doppler frequency shift caused by the target speed, f1 represents the Doppler frequency shift caused by the target distance, K represents the frequency modulation continuous wave sweep slope, τ represents the echo delay, c represents the speed of light, and R represents the target distance;
[0021] Calculate the target speed using formula 2;
[0022]
[0023] Among them, f D represents Doppler frequency shift, λ represents wavelength, and v represents target speed;
[0024] According to the target distance and target speed, determine whether there is a moving target in the radar detection area;
[0025] Alternatively, judging whether there is a slightly moving target based on the phase change of the intermediate frequency signal;
[0026] If there is a moving or slightly moving target in the radar detection area, the point cloud feature information of the target in the illumination area is obtained and counted.
[0027] Preferably, the step of obtaining the status information of the target person includes:
[0028] Obtain and count point information, point cloud density information and valid point information;
[0029] If the point cloud is not within the lighting area, the point cloud is removed;
[0030] Obtaining the distribution position information of each point cloud after elimination, if the point cloud density is lower than the second threshold, eliminating the point cloud again to generate point cloud feature information;
[0031] According to the feature information of the point cloud, the location information, Doppler velocity, and micro-Doppler frequency of the target are obtained, and the motion state and direction of the target are obtained by correlating the multi-frame radar point clouds.
[0032] Preferably, the step of obtaining the target's position information, Doppler velocity, and micro-Doppler frequency according to the point cloud feature information, correlating multiple frames of radar point clouds, and obtaining the target's motion state and motion direction includes:
[0033] Through multi-dimensional features, the matching degree between each first radar point of the current frame and each second radar point of the previous frame is detected, and each first radar detection point is found to have the highest matching degree with the second radar point, and the two are associated. This operation is performed repeatedly until the radar points of all frames are associated, and the radar point cloud trajectory is generated after fitting. The multi-dimensional features include any of the following: distance, angle, acceleration, average speed, and RCS.
[0034] Smooth the radar point cloud trajectory to obtain the target's motion state;
[0035] By using formula 3, we can get the target's moving direction:
[0036] θ=arctan(Vy / Vx) Formula 3
[0037] Among them, θ is the angle of the moving direction, Vy is the Doppler velocity of the target, and Vx is the velocity of the target along the X axis.
[0038] Preferably, if yes, the step of obtaining the status information of the target person and controlling the brightness of the corresponding lights in the lighting area according to the status information includes:
[0039] According to the radar angle measurement results of the target person, turn on the lights in the corresponding area;
[0040] According to the distance information of the target person, adjust the light intensity of the corresponding area.
[0041] In a second aspect, the present invention provides a garden light intelligent control system, which is applied to the above-mentioned garden light intelligent control method, comprising:
[0042] Millimeter wave radar, used to detect the target's location information, motion state information, and motion direction information;
[0043] A light sensor is used to detect the ambient brightness at the current moment;
[0044] The LED light is used to illuminate the corresponding area according to the location information, movement status information and movement direction information of the target person.
[0045] In a third aspect, the present invention provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, wherein when the computer program instructions are executed by the processor, the method as described above is implemented.
[0046] In a fourth aspect, the present invention provides a storage medium having computer program instructions stored thereon, which implement the above-mentioned method when the computer program instructions are executed by a processor.
[0047] In summary, the beneficial effects of the present invention are as follows:
[0048] The embodiment of the present invention provides a method for intelligently controlling garden lights. Compared with infrared technology, millimeter wave frequency band radar has high sensitivity, high measurement accuracy, good anti-interference performance, and provides more target information (distance, speed, azimuth angle) than infrared technology, and realizes functions such as micro-motion and life presence detection. It is not affected by ambient temperature and can also detect stationary people with high accuracy. For human body detection in the lighting area, the radar can realize stationary and moving human body recognition based on human body micro-motion and movement characteristics, and filter interference to avoid false alarms or missed alarms, thereby improving the accuracy of existing intelligent control of garden lights. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0050] Figure 1 The figure is a flow chart of a first embodiment of a garden lamp intelligent control method of the present invention.
[0051] Figure 2 The figure is a schematic structural diagram of a first embodiment of an intelligent control system for garden lights according to the present invention.
[0052] Figure 3It is a schematic diagram of the side installation of an LED lamp in an embodiment of the intelligent control method of a garden lamp of the present invention.
[0053] Figure 4 This is a schematic diagram of the top installation of an LED lamp in an embodiment of the intelligent control method for garden lamps of the present invention.
[0054] Figure 5 It is a schematic diagram of the transmission and echo signals in one embodiment of the intelligent control method of garden lights of the present invention.
[0055] Figure 6 It is a schematic diagram of the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.
[0057] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0058] Reference Figure 1 and 2 The present invention provides a garden lamp intelligent control method, comprising:
[0059] S1: Adjust the lighting area according to the radar detection area;
[0060] S2: Determine whether the brightness information of the current environment is lower than a first threshold;
[0061] S3: If yes, the radar starts to detect the target in the lighting area, obtains and counts the point cloud feature information of the target in the lighting area, and determines whether there is a target person in the lighting area according to the point cloud feature information;
[0062] S4: If yes, then obtain the status information of the target person, and control the corresponding light brightness in the lighting area according to the status information.
[0063] In the embodiment of the present invention, refer to Figure 2 The embodiment of the present invention is applied to the intelligent control system of garden lights. The system includes a millimeter wave radar 1, a photosensitive sensor 2, and an LED lamp 3. The area where the millimeter wave radar 1 works is the radar detection area, and the area where the LED lamp 3 works is the lighting area. In the embodiment of the present invention, the lighting area is adjusted according to the radar detection area, and the purpose is to improve the accuracy of lighting and avoid invalid lighting. The system determines whether the brightness information of the current environment is lower than the first threshold value through the photosensitive sensor 2. If it is lower than the first threshold value, the radar starts to detect the target in the lighting area; otherwise, the radar does not detect. Through this setting, invalid lighting and waste of resources are avoided. When the radar starts to detect the target in the lighting area, a large amount of radar point cloud data information can be obtained. The system obtains and counts the point cloud feature information of the target in the lighting area, and determines whether there is a target person in the lighting area according to the point cloud feature information. Since there are a large number of objects in the lighting area, they may be people or objects, and they may be stationary or moving. Therefore, by analyzing the point cloud feature information, it can be determined whether the object in the lighting area is a person. If the target in the lighting area is a person, the state information of the target person is obtained. Because people have two states, stationary and moving, the lighting requirements in different states are different. Therefore, the system controls the brightness of the light in the corresponding area in the lighting area by obtaining the state of the target person, so that the target person is in a bright environment. In summary, this system integrates the millimeter wave radar 1 with the photosensitive sensor 2 and the LED light 3, and the radar replaces the PIR in the traditional garden light solution. When the photosensitive sensor 2 recognizes that the light is dark (such as at night), the radar starts to work. When it detects that someone is in the area that needs lighting, it sends a signal through the communication bus to control the LED light 3 to light up, and can control the LED light 3 to switch the corresponding light group and brightness according to the location of the person, so as to realize the intelligent sensing and precise brightness and regional control of the garden light. This solution adopts advanced millimeter wave radar module. Compared with infrared technology, millimeter wave frequency band radar has high sensitivity, high measurement accuracy, good anti-interference performance, and provides more target information (distance, speed, azimuth angle) than infrared technology, realizing functions such as micro-motion and life presence detection, and is not affected by ambient temperature. It also has high-precision detection for stationary people. For human body detection in the lighting area, the radar can recognize static and moving humans based on their micro-movement and motion characteristics, while filtering out interference to avoid false alarms or missed alarms, thereby improving the accuracy of existing intelligent control of garden lights.
[0064] Reference Figure 3 The embodiment of the present invention provides a method for intelligently controlling a garden lamp, wherein the lamp is arranged to be inclined to the ground, and a step S1 of adjusting the lighting area according to the radar detection area comprises:
[0065] S11: The XY plane coordinates of the radar are kept horizontal with the ground, the location information of the obstacle is identified, and the location information of the obstacle is removed to generate the radar detection area;
[0066] S12: Setting a lighting area according to the radar detection area so that the radar detection area is consistent with the lighting area.
[0067] In the embodiment of the present invention, due to the different house structures and the usage requirements of the residents, such as Figure 3 As shown, there will be a situation where the LED lamp 3 is installed on the side of the house wall, and the light is tilted to the ground. When the garden lamp is installed on the side, the radar XY plane is approximately parallel to the ground. Under this installation method, since there is no target height information, the radar cannot distinguish below the ground. However, for obstacles such as the walls, trees, and houses in the courtyard, they can be reflected in different coordinate positions of the XY two-dimensional coordinate system. If the target spatial position overlaps with the corresponding spatial position below the ground or in the wall, the target can be considered as an interference target and deleted. Therefore, when installed on the side, suspicious targets that appear at the positions of obstacles such as walls, trees, and houses can be eliminated, and the radar detection area after eliminating the obstacles is the lighting area. Through the above settings, eliminating interference items in radar detection can greatly improve the accuracy of the system's intelligent control.
[0068] Reference Figure 4 The embodiment of the present invention provides a method for intelligently controlling a garden lamp, wherein the lamp is arranged perpendicular to the ground, and a step S1 of adjusting the lighting area according to the radar detection area includes:
[0069] S1A: The XY plane coordinates of the radar are set perpendicular to the ground, the height information of the obstacle is identified, and the height information of the obstacle is removed to generate the radar detection area;
[0070] S1B: Setting the lighting area according to the radar detection area so that the radar detection area is consistent with the lighting area.
[0071] In the embodiment of the present invention, due to the different house structures and the usage requirements of the residents, such as Figure 4As shown, the LED lamp 3 may be installed on the top of the lamp stand, and the light is set perpendicular to the ground. When the garden lamp is top-mounted, the radar XY plane is approximately perpendicular to the ground. In this installation mode, the distance measured by the radar to the target is equivalent to the height information. Since the installation height of the garden lamp is known, the above or below the ground can be reflected in different coordinate positions of the XY two-dimensional coordinate system. Therefore, when top-mounted, suspicious targets that appear below the ground can be eliminated. Through the above settings, the interference items in radar detection can be eliminated, which can greatly improve the accuracy of the system's intelligent control.
[0072] Reference Figure 5 If yes, the radar starts to detect the target in the lighting area, obtains and counts the point cloud feature information of the target in the lighting area, and determines whether there is a target person in the lighting area according to the point cloud feature information. Step S3 includes:
[0073] S31: Calculate the target distance according to the detection echo delay through formula 1.
[0074]
[0075] Among them, f B represents the beat frequency between TX and RX signals, f D represents the Doppler frequency shift caused by the target speed, f1 represents the Doppler frequency shift caused by the target distance, K represents the frequency modulation continuous wave sweep slope, τ represents the echo delay, c represents the speed of light, and R represents the target distance;
[0076] S32: Calculate the target speed by formula 2;
[0077]
[0078] Among them, f D represents Doppler frequency shift, λ represents wavelength, and v represents target speed;
[0079] S33: judging whether there is a moving target in the radar detection area according to the target distance and target speed;
[0080] or,
[0081] S34: judging whether there is a slightly moving target according to the phase change of the intermediate frequency signal;
[0082] S35: If there is a moving or slightly moving target in the radar detection area, obtain and count the point cloud feature information of the target in the illumination area.
[0083] In the embodiment of the present invention, a consumer 60GHz millimeter wave SOC chip platform is used. Here, the AT60LF1T2RS32 chip of the space technology company is taken as an example. The number of antenna channels is 1Tx and 2Rx, the operating frequency is 59-64GHz, the operating bandwidth is 5GHz, the frame period is 50ms, the 1mw ultra-low power consumption, the detection distance is 30m, and the chip supports GPIO and serial port output. The signal line can be directly connected to the LED lamp, providing the best cost-effective radar detection solution for the garden lamp. After the radar enters the detection mode, it will periodically (the frame period is usually 50ms) emit radio waves in the millimeter wave band and receive its reflected signal to measure the position, speed and angle of the suspicious target. The reflected signal received by the radar is due to the micro-movements such as breathing and heartbeat of the human body. Even if the person sits still, it is impossible to be in a completely static state, so only moving or micro-moving targets need to be detected. If there is no moving or micro-moving target in the observation area, it is considered that there is no person in the current environment; otherwise, it is considered that there is a person in the current environment.
[0084] Specific methods for detecting whether there is a moving target are as follows: Figure 5 As shown, the millimeter wave radar 3 of the embodiment of the present invention calculates the target distance by detecting the echo delay, and the speed measurement is to calculate the target speed by detecting the Doppler frequency shift generated by the target movement. Specifically, the target distance is calculated according to the detection echo delay through formula 1,
[0085]
[0086] Among them, f B represents the beat frequency between TX and RX signals, f D represents the Doppler frequency shift caused by the target speed, f1 represents the Doppler frequency shift caused by the target distance, K represents the frequency modulation continuous wave sweep slope, τ represents the echo delay, c represents the speed of light, and R represents the target distance;
[0087] Specifically, the target speed is calculated by formula 2;
[0088]
[0089] Among them, f D represents Doppler frequency shift, λ represents wavelength, and v represents target speed;
[0090] Finally, based on the target distance and target speed, determine whether there is a moving target in the radar detection area.
[0091] In other embodiments of the present invention, the specific embodiment of determining whether there is a micro-movement target in the radar detection area is as follows: Due to the slight displacement of the chest caused by human breathing, for a linear frequency modulation millimeter wave radar, if the object in front of the radar changes its position by 1mm (for a 60GHz radar 1mm≈λ / 5), the phase change of the intermediate frequency signal is 144°. It can be seen that the phase of the intermediate frequency signal is very sensitive to slight changes in the range of the object. The slight movement of the object will change the phase of the intermediate frequency signal, and the micro-motion characteristics of the target can be identified by the changed phase. The chest displacement caused by human breathing is usually 5 to 20mm, which is much larger than the minimum sensitivity of the radar. The radar can measure the micro-motion characteristics caused by the chest fluctuations. In summary, through the above settings, this scheme can accurately obtain moving or micro-moving targets in the radar detection area, eliminate the influence of static interference items, reduce the probability of false touch, and improve the accuracy of the intelligent control of the system.
[0092] Furthermore, step S4 of obtaining the status information of the target person includes:
[0093] S41: Obtain and count point information, point cloud density information and valid point information;
[0094] S42: If the point cloud is not within the lighting area, the point cloud is removed;
[0095] S43: Obtaining the distribution position information of each point cloud after elimination. If the point cloud is not within the lighting area, the point cloud is eliminated again to generate point cloud feature information.
[0096] S44: According to the point cloud feature information, the position information, Doppler velocity, and micro-Doppler frequency of the target are obtained, and the multi-frame radar point cloud is associated to obtain the movement state and movement direction of the target.
[0097] In an embodiment of the present invention, the point count method is: count the point cloud and count the number of all points. Point cloud density statistics method: in the XY space area detected by the radar, the point cloud density is calculated by the number of points / space area; effective point count statistics method: in the designated lighting area (usually the lighting area is smaller than the radar detection range, set by the user or preset default value), count the number of all points. Determine whether the point cloud is in the lighting area according to its distribution position (XY). If the point cloud is outside the lighting area (usually the lighting area is smaller than the radar detection range, set by the user or preset default value), it is considered to be an invalid point and deleted directly. The number of point clouds needs to be greater than the second threshold to be valid. For discrete points, if the number of points does not meet the threshold, it is considered to be an invalid point and can be eliminated. If the point cloud is scattered throughout the detection area, it is considered that the micro-motion information detected at this time is due to interference caused by the shaking of debris in the environment or multipath reflection, and there is actually no person. After two eliminations, the remaining point cloud information is all valid point cloud feature information. According to the point cloud feature information, the target's location information, Doppler velocity, micro-Doppler frequency are obtained, and the multi-frame radar point cloud is associated to obtain the target's motion state and direction. Through the above settings, the radar point cloud data is filtered, which effectively improves the accuracy of the system's intelligent control.
[0098] Further, according to the point cloud feature information, the position information, Doppler velocity, and micro-Doppler frequency of the target are obtained, and the multi-frame radar point cloud is associated to obtain the motion state and motion direction of the target in step S44, including:
[0099] S441: Detect the matching degree of each first radar point in the current frame and each second radar point in the previous frame through multi-dimensional features, find each first radar detection point and the second radar point with the highest matching degree, associate the two, and execute this operation repeatedly until the radar points of all frames are associated, and generate radar point cloud trajectory after fitting, wherein the multi-dimensional features include: any of distance, angle, acceleration, average speed, and RCS;
[0100] S442: Smoothing the radar point cloud trajectory to obtain the target's motion state;
[0101] S443: The target's moving direction is obtained by formula 3:
[0102] θ=arctan(Vy / Vx) Formula 3
[0103] Among them, θ is the angle of the moving direction, Vy is the Doppler velocity of the target, and Vx is the velocity of the target along the X axis.
[0104] In the embodiment of the present invention, the detection result of the millimeter wave radar 1 is usually expressed as a point target. For a surface target, the contour and movement direction information of the target cannot be directly obtained. However, by accumulating multi-frame point cloud data and performing linear fitting on the historical trajectory points, the movement direction of the target can be estimated. The estimation of the association of trajectory points between multiple frames is a key step in radar target tracking. Its purpose is to associate the detection results of different time points of the same target in multiple frames of data to form a continuous trajectory. In order to take into account the limitation of computing resources and real-time performance, the present invention uses multi-dimensional features (including distance, angle, acceleration, average speed, RCS, etc.) to measure the matching degree of the detection point of the current frame (i.e., "first radar point") and the trajectory point of the previous frame (i.e., "second radar point"). The detection points closest to the trajectory point features are associated together, and the more trajectory points there are, the more accurate the estimation of the movement direction. In addition, in order to eliminate measurement noise, jitter and abnormal changes and ensure the smoothness and accuracy of the trajectory, trajectory smoothing processing is also introduced. Since there are certain errors in radar detection data, directly using these data may cause trajectory instability, thereby affecting the prediction and control of target motion. By smoothing the trajectory points, the position fluctuation can be reduced, the accuracy of the motion direction estimation can be improved, and the trajectory can be made more consistent with the actual motion trajectory of the target. In addition, in order to eliminate measurement noise, jitter and abnormal changes, and ensure the smoothness and accuracy of the trajectory, trajectory smoothing is also introduced. Since there are certain errors in radar detection data, directly using these data may cause trajectory instability, thereby affecting the prediction and control of target motion. By smoothing the trajectory points, the position fluctuation can be reduced, the accuracy of the motion direction estimation can be improved, and the trajectory can be made more consistent with the actual motion trajectory of the target. In an embodiment of the present invention, if the target Doppler velocity is zero and there is no displacement in multiple frames, the target can be judged to be a stationary person. If the target has a Doppler velocity and there is displacement in multiple frames, the target can be judged to be a pedestrian. In an embodiment of the present invention, according to formula 3, θ=arctan(Vy / Vx) is used to estimate the motion direction, where θ is the motion direction angle, Vy is the Doppler velocity of the target, and Vx is the velocity of the target along the X-axis (obtained from the X-axis coordinates / frame period corresponding to the trajectory points of two adjacent frames). The calculated motion direction angle θ is then smoothed by multi-frame averaging or linear fitting to obtain a relatively stable value, thereby improving the accuracy of motion direction estimation.
[0105] Further, if yes, then the step S4 of obtaining the status information of the target person and controlling the brightness of the corresponding lights in the lighting area according to the status information includes:
[0106] S4A: Turn on the lights in the corresponding area based on the radar angle measurement results of the target person;
[0107] S4B: Adjust the light intensity of the corresponding area based on the distance information of the target person.
[0108] In an embodiment of the present invention, when the radar detects that there is a person in the observation area, the lighting brightness and area are controlled according to the person's position information (distance, speed, azimuth angle) and motion trajectory data (position information of each frame, motion direction) obtained by the radar, combined with the preset brightness level and position, and the strategies include but are not limited to: 1) lighting brightness control: if the lighting distance is 30m, and the brightness is divided into three levels of high, medium and low, then when the person is 20-30m away, the light brightness is controlled to high, when the person is 10-20m away, the light brightness is controlled to medium, and when the person is 0-10m away, the light brightness is controlled to low; 2) lighting area control: for the array LED light group, if the lighting area is divided into three area light groups on the left, the middle and the right, then when the person is on the left (the radar angle measurement result is less than -30°), the left LED light group is lit, when the person is in the middle (the radar angle measurement result is between ±30°), the middle LED light group is lit, and when the person is on the right (the radar angle measurement result is greater than +30°), the right LED light group is lit; through the information of people in different positions, intelligent sensing of garden lights, precise brightness control and lighting of different areas are realized.
[0109] Reference Figure 2 The present invention provides a garden lamp intelligent control system, which applies the above-mentioned garden lamp intelligent control method, including:
[0110] Millimeter wave radar 1, used to detect the position information, motion state information and motion direction information of the target;
[0111] Light sensor 2, used to detect the ambient brightness at the current moment;
[0112] The LED light 3 is used to illuminate the corresponding area according to the location information, movement status information and movement direction information of the target person.
[0113] In the embodiment of the present invention, refer to Figure 2The embodiment of the present invention is applied to the intelligent control system of garden lights. The system includes a millimeter wave radar 1, a photosensitive sensor 2, and an LED lamp 3. The area where the millimeter wave radar 1 works is the radar detection area, and the area where the LED lamp 3 works is the lighting area. In the embodiment of the present invention, the lighting area is adjusted according to the radar detection area, and the purpose is to improve the accuracy of lighting and avoid invalid lighting. The system determines whether the brightness information of the current environment is lower than the first threshold value through the photosensitive sensor 2. If it is lower than the first threshold value, the radar starts to detect the target in the lighting area; otherwise, the radar does not detect. Through this setting, invalid lighting and waste of resources are avoided. When the radar starts to detect the target in the lighting area, a large amount of radar point cloud data information can be obtained. The system obtains and counts the point cloud feature information of the target in the lighting area, and determines whether there is a target person in the lighting area according to the point cloud feature information. Since there are a large number of objects in the lighting area, they may be people or objects, and they may be stationary or moving. Therefore, by analyzing the point cloud feature information, it can be determined whether the object in the lighting area is a person. If the target in the lighting area is a person, the state information of the target person is obtained. Because people have two states, stationary and moving, the lighting requirements in different states are different. Therefore, the system controls the brightness of the light in the corresponding area in the lighting area by obtaining the state of the target person, so that the target person is in a bright environment. In summary, this system integrates the millimeter wave radar 1 with the photosensitive sensor 2 and the LED light 3, and the radar replaces the PIR in the traditional garden light solution. When the photosensitive sensor 2 recognizes that the light is dark (such as at night), the radar starts to work. When it detects that someone is in the area that needs lighting, it sends a signal through the communication bus to control the LED light 3 to light up, and can control the LED light 3 to switch the corresponding light group and brightness according to the location of the person, so as to realize the intelligent sensing and precise brightness and regional control of the garden light. This solution adopts advanced millimeter wave radar module. Compared with infrared technology, millimeter wave frequency band radar has high sensitivity, high measurement accuracy, good anti-interference performance, and provides more target information (distance, speed, azimuth angle) than infrared technology, realizing functions such as micro-motion and life presence detection, and is not affected by ambient temperature. It also has high-precision detection for stationary people. For human body detection in the lighting area, the radar can recognize static and moving humans based on their micro-movement and motion characteristics, while filtering out interference to avoid false alarms or missed alarms, thereby improving the accuracy of existing intelligent control of garden lights.
[0114] In addition, combined Figure 6 The garden lamp intelligent control method of the embodiment of the present invention described above can be implemented by an electronic device. Figure 6 A schematic diagram of the hardware structure of an electronic device provided by an embodiment of the present invention is shown.
[0115] The electronic device may include a processor and a memory storing computer program instructions.
[0116] Specifically, the processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.
[0117] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0118] The processor implements any one of the garden lamp intelligent control methods in the above embodiments by reading and executing computer program instructions stored in the memory.
[0119] In one example, the electronic device may further include a communication interface and a bus. Figure 6 As shown, the processor, memory, and communication interface are connected via a bus and communicate with each other.
[0120] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.
[0121] Bus includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0122] In addition, in combination with the garden light intelligent control method in the above embodiment, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the garden light intelligent control methods in the above embodiment is implemented.
[0123] In summary, the embodiments of the present invention provide a garden light intelligent control method, system and related devices.
[0124] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0125] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0126] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.
[0127] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.
Claims
1. A garden lamp intelligent control method, characterized in that: include: Adjust the lighting area according to the radar detection area; Determine whether the brightness information of the current environment is lower than a first threshold; If yes, the radar is started to detect the target in the lighting area, obtain and count the point cloud feature information of the target in the lighting area, and determine whether there is a target person in the lighting area according to the point cloud feature information; If so, the status information of the target person is obtained, and the brightness of the corresponding lights in the lighting area is controlled according to the status information.
2. According to the intelligent control method of garden lights in claim 1, the lights are arranged obliquely to the ground, characterized in that: The step of adjusting the lighting area according to the radar detection area comprises: The XY plane coordinates of the radar are kept horizontal with the ground, the location information of the obstacle is identified, and the location information of the obstacle is removed to generate the radar detection area; The lighting area is set according to the radar detection area.
3. According to the intelligent control method of garden lights in claim 1, the lights are arranged perpendicular to the ground, characterized in that: The step of adjusting the lighting area according to the radar detection area comprises: The XY plane coordinates of the radar are set perpendicular to the ground, the height information of the obstacle is identified, and the height information of the obstacle is removed to generate the radar detection area; The lighting area is set according to the radar detection area.
4. The intelligent control method for garden lights according to any one of claims 1 to 3, characterized in that: If yes, the radar is started to detect the target in the lighting area, the point cloud feature information of the target in the lighting area is obtained and counted, and the step of judging whether there is a target person in the lighting area according to the point cloud feature information includes: By using formula 1, the target distance is calculated based on the detection echo delay. Among them, f B represents the beat frequency between TX and RX signals, f D represents the Doppler frequency shift caused by the speed of the target, f1 represents the Doppler frequency shift caused by the distance of the target, K represents the frequency modulation continuous wave sweep slope, τ represents the echo delay, c represents the speed of light, and R represents the target distance; Calculate the target speed using formula 2; Among them, f D represents Doppler frequency shift, λ represents wavelength, and v represents the target speed; Determining whether there is a moving target in the radar detection area according to the target distance and the target speed; Alternatively, judging whether there is the target that is slightly moving according to the phase change of the intermediate frequency signal; If there is a moving or slightly moving target in the radar detection area, the point cloud feature information of the target in the illumination area is acquired and counted.
5. The intelligent control method for garden lights according to claim 4, characterized in that: The step of obtaining the status information of the target person includes: Obtain and count point information, point cloud density information and valid point information; If the point cloud is not within the lighting area, remove the point cloud; Obtaining the distribution position information of each point cloud after being eliminated, and if the point cloud density is lower than the second threshold, eliminating the point cloud again to generate the point cloud feature information; According to the point cloud feature information, the position information, Doppler velocity, and micro-Doppler frequency of the target are obtained, and the motion state and motion direction of the target are obtained by associating multiple frames of radar point clouds.
6. The intelligent control method for garden lights according to claim 5, characterized in that: The step of obtaining the position information, Doppler velocity, and micro-Doppler frequency of the target according to the point cloud feature information, associating multiple frames of radar point clouds, and obtaining the motion state and motion direction of the target includes: Detect the matching degree of each first radar point in the current frame with each second radar point in the previous frame through multi-dimensional features, find each first radar detection point and the second radar point with the highest matching degree, associate the two, and execute this operation repeatedly until the radar points of all frames are associated, and generate radar point cloud trajectory after fitting, wherein the multi-dimensional features include: any of distance, angle, acceleration, average speed, and RCS; Smoothing the radar point cloud trajectory to obtain the motion state of the target; The moving direction of the target is obtained by formula 3: θ=arctan(Vy / Vx) Formula 3 Among them, θ is the angle of the moving direction, Vy is the Doppler velocity of the target, and Vx is the velocity of the target along the X axis.
7. The intelligent control method for garden lights according to claim 6, characterized in that: If yes, the step of obtaining the status information of the target person and controlling the brightness of the corresponding lights in the lighting area according to the status information comprises: Turning on the lights in the corresponding area according to the radar angle measurement result of the target person; According to the distance information of the target person, the light intensity of the corresponding area is adjusted.
8. A garden light intelligent control system, characterized in that: The intelligent control method for garden lights according to any one of claims 1 to 7 comprises: Millimeter wave radar, used to detect the target's location information, motion state information, and motion direction information; A light sensor is used to detect the ambient brightness at the current moment; The LED light is used to illuminate the corresponding area according to the location information, movement status information and movement direction information of the target person.
9. An electronic device, characterized in that: include: At least one processor, at least one memory and computer program instructions stored in the memory, which implement the method according to any one of claims 1 to 7 when the computer program instructions are executed by the processor.
10. A storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Intelligent garden lamp linkage control system and method based on wireless networking
CN120343791A
Intelligent garden light linkage control system and method based on wireless networking
CN120343791B
Self-adaptive inductive control method and system for outdoor LED yard lamp
CN122421130A