Indoor light control system and control method thereof
By using millimeter-wave radar to detect and targeted processing of echo signals in the indoor intelligent lighting control system, the problem of false alarms caused by interference in indoor scenarios is solved, and higher detection accuracy and lighting control accuracy are achieved, improving user experience.
Patent Information
- Application Number
- CN202510193893.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-21
- Publication Date
- 2025-05-30
AI Technical Summary
The existing indoor smart lighting control system based on millimeter wave radar is susceptible to interference from furniture, green plants, curtains, fans, etc. in indoor scenarios, resulting in false alarm problems and affecting precise control and user experience.
During the millimeter wave band radar detection process, the differential characteristics between the interfering signal and the human body signal are used to process the echo signal in a targeted manner, including adaptive-MSSA filtering and static clutter filtering, to improve the accuracy and reliability of indoor human body detection.
It effectively improves the accuracy and reliability of indoor human detection, can quickly and accurately determine whether there are people in the room, thereby achieving rapid and precise control of lighting equipment, and improving user experience.
Smart Images

Figure CN120076130A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart home, and particularly to an indoor lighting control system and a control method thereof. Background Art
[0002] Currently, with the improvement of the quality of life, the application of indoor intelligent lighting is becoming more and more common. Its basic control principle is to sense whether there is a human body in the space through a sensing device, and control the lighting equipment to perform corresponding opening and closing operations according to the detection result.
[0003] In some existing indoor intelligent lighting control systems, there is a solution that uses a millimeter wave radar as a sensing device. A millimeter wave radar is a radar that operates in the millimeter wave band, that is, the operating frequency range is 30 GHz to 300 GHz. In radar detection, due to the diffraction effect of electromagnetic waves, the resolution of electromagnetic waves for detecting objects is proportional to the wavelength of electromagnetic waves. The shorter the wavelength of electromagnetic waves, the higher the resolution. In addition, the millimeter wave band belongs to the atmospheric window, is less affected by natural light and thermal radiation sources, and has a small propagation attenuation. Therefore, the millimeter wave radar has the advantages of high resolution, strong anti-interference ability, and all-weather and all-time operation, which makes the millimeter wave radar show strong capabilities in the field of indoor personnel detection.
[0004] However, the existing indoor intelligent lighting control system based on millimeter wave radar often ignores many interferences such as furniture, green plants, curtains, fans, etc. in the indoor scene. The clutter brought by these interferences will cause false alarm problems, seriously affecting the precise control of indoor intelligent lighting and resulting in poor user experience. Summary of the Invention
[0005] The purpose of the present invention is to provide an indoor lighting control system and a control method thereof for the existing technical status.
[0006] In the process of millimeter wave band radar detection of the control system and control method of the present invention, the difference characteristics between interference signals and human body signals are fully utilized to perform targeted processing on the echo signals, thereby effectively improving the accuracy and reliability of indoor human body detection as a whole, being able to quickly and accurately judge whether there are people in the room, and then realizing the fast and precise control of lighting equipment, with better user experience.
[0007] To achieve the above object, the present invention adopts the following technical solutions:
[0008] First, the present invention provides an indoor lighting control method, including:
[0009] Transmitting a millimeter wave band radar signal and collecting an echo signal;
[0010] Determine whether there is a person in the detection space according to the echo signal, and obtain a detection result;
[0011] The lighting device adjusts the lighting state according to the detection result;
[0012] The step of determining whether there is a person in the detection space according to the echo signal and obtaining a detection result includes:
[0013] Based on the echo signal, determine whether there is a moving target in the detection space. If there is a moving target, execute the step of determining whether the moving target is a dynamic human body, otherwise do not execute;
[0014] Based on the echo signal, determine whether there is a static human body in the detection space;
[0015] The step of determining whether the moving target is a dynamic human body includes:
[0016] Detect whether the mechanical movement of the moving target has strict periodicity. If there is strict periodicity, determine that the moving target is an interference source;
[0017] Perform adaptive-MSSA filtering processing on the echo signal, obtain signal features, and determine whether the moving target is a dynamic human body according to the signal features.
[0018] In some embodiments, the step of determining whether there is a moving target in the detection space based on the echo signal includes:
[0019] Process the echo signal to obtain range-slow time dimension data. After static clutter filtering, perform Fourier transform on the slow time dimension to construct range-Doppler dimension data;
[0020] Based on the range-Doppler dimension data, determine whether there is a moving target in the space.
[0021] In some embodiments, the step of detecting whether the mechanical movement of the moving target has strict periodicity includes:
[0022] Calculate the autocorrelation function for each range unit of the range-slow time dimension data, calculate the autocorrelation coefficients at different time delays, and form an autocorrelation coefficient function curve;
[0023] Confirm whether there is a periodic peak greater than a preset peak threshold in the autocorrelation coefficient function curve. If so, determine that the mechanical movement of the moving target has strict periodicity, otherwise, determine that the mechanical movement of the moving target does not have strict periodicity.
[0024] In some embodiments, the step of determining whether there is a static human body in the detection space based on the echo signal includes:
[0025] Obtain the phase information of the echo signal based on the echo signal;
[0026] Sparsely reconstruct the phase information of the echo signal to obtain a reconstructed signal;
[0027] Calculate the error value between the reconstructed signal and the ideal sine signal. If the error value is less than a preset threshold, it is determined that there is a static human body in the detection space; otherwise, it is determined that there is no static human body in the detection space.
[0028] In some embodiments, the step of the lighting device adjusting the lighting state according to the detection result includes:
[0029] The lighting device receives the detection result;
[0030] If the detection result is that there is a human body in the current detection space, detect the actual illuminance of the current detection space. When the actual illuminance is lower than the preset illuminance threshold, increase the lighting illuminance.
[0031] Second, the present invention provides an indoor lighting control system, including:
[0032] A detection device, including a millimeter-wave radar module and a processing unit;
[0033] The millimeter-wave radar module can emit radar signals in the millimeter-wave band and collect echo signals;
[0034] The processing unit is used to judge whether there is a person in the detection space according to the echo signal and obtain a detection result;
[0035] A lighting device capable of adjusting the lighting state according to the detection result;
[0036] The processing unit is respectively communicatively connected to the millimeter-wave radar module and the lighting device, and the processing unit includes a dynamic human body judgment module and a static human body judgment module.
[0037] The dynamic human body judgment module can judge whether there is a moving target in the detection space based on the echo signal. If there is a moving target, execute the step of judging whether the moving target is a dynamic human body; otherwise, do not execute.
[0038] The static human body judgment module can judge whether there is a static human body in the detection space based on the echo signal.
[0039] The step of judging whether the moving target is a dynamic human body includes:
[0040] Detect whether the mechanical movement of the moving target has strict periodicity. If there is strict periodicity, it is determined that the moving target is an interference source.
[0041] Perform adaptive-MSSA filtering on the echo signal to obtain signal features, and determine whether the moving target is a dynamic human based on the signal features.
[0042] In some embodiments, the millimeter-wave radar module includes an antenna module and a preprocessing module.
[0043] The antenna module is used to transmit radar signals in the millimeter-wave band and collect echo signals, and the operating frequency of the antenna module is 24 GHz to 24.25 GHz.
[0044] The preprocessing module can preprocess the collected echo signals and transmit the preprocessed echo signals to the processing unit.
[0045] In some embodiments, a power supply module is further included. The power supply module is respectively connected to the millimeter-wave radar module and the processing unit. The power supply module includes an AC-DC isolation switch power supply module, a DC-DC converter, and an LDO linear voltage regulator.
[0046] In some embodiments, the step of determining whether there is a moving target in the detection space based on the echo signal includes:
[0047] Process the echo signal to obtain range-slow time dimension data. After static clutter filtering, perform Fourier transform on the slow time dimension to construct range-Doppler dimension data.
[0048] Determine whether there is a moving target in the space based on the range-Doppler dimension data.
[0049] The step of detecting whether the mechanical movement of the moving target has strict periodicity includes:
[0050] Calculate the autocorrelation function for each range unit of the range-slow time dimension data, calculate the autocorrelation coefficients at different time delays, and form an autocorrelation coefficient function curve.
[0051] Confirm whether there is a periodic peak greater than the preset peak threshold in the autocorrelation coefficient function curve. If so, it is determined that the mechanical movement of the moving target has strict periodicity; otherwise, it is determined that the mechanical movement of the moving target does not have strict periodicity.
[0052] In some embodiments, the step of determining whether there is a static human in the detection space based on the echo signal includes:
[0053] Obtain the phase information of the echo signal based on the echo signal.
[0054] Sparsely reconstruct the phase information of the echo signal to obtain a reconstructed signal;
[0055] Calculate the error value between the reconstructed signal and the ideal sine signal. If the error value is less than a preset threshold, it is determined that there is a static human body in the detection space; otherwise, it is determined that there is no static human body in the detection space.
[0056] The beneficial effects of the present invention are as follows:
[0057] In the present invention, a millimeter-wave band radar is used to detect the presence of human bodies indoors, so that lighting equipment can adjust the lighting state according to the detection results. During the detection process using the millimeter-wave band radar, it is respectively detected whether there are dynamic human bodies and static human bodies, and corresponding data processing is performed according to different state characteristics to improve the detection accuracy. At the same time, during the detection of dynamic human bodies, for the interference of a shaking head fan, the mechanical movement of the shaking head fan has a more regular and strict periodicity than human movement. For this characteristic, by detecting whether the mechanical movement of the moving target has a strict periodicity, the detection interference caused by the shaking head fan is excluded, and the echo signal is subjected to adaptive-MSSA filtering processing, and the echo signal is reconstructed through multi-channel singular spectrum analysis (MSSA). During the reconstruction process, the response periodicity and range-related characteristics are used to adaptively identify the signal subspace, effectively suppressing interference signals such as green plants and curtains, highlighting the human movement signal, and further identifying and distinguishing dynamic human bodies by analyzing the signal characteristics of the filtered signal. In the detection process of the millimeter-wave band radar of the present invention, the difference characteristics between the interference signal and the human signal are fully utilized to perform targeted processing on the echo signal, thereby effectively improving the accuracy and reliability of indoor human body detection as a whole, being able to quickly and accurately determine whether there are people in the room, and further realizing the fast and accurate control of lighting equipment, with a better user experience. Description of the Drawings
[0058] Figure 1 It is a flowchart of an indoor lighting control method according to an embodiment of the present invention.
[0059] Figure 2 It is a schematic structural diagram of an indoor lighting control system according to an embodiment of the present invention.
[0060] Figure 3 It is a flowchart of the step of judging whether there is a person in the detection space according to the echo signal and obtaining a detection result according to an embodiment of the present invention.
[0061] Figure 4 It is a flowchart of the step of judging whether the moving target is a dynamic human body according to an embodiment of the present invention.
[0062] Figure 5Flowchart of the step of determining whether there is a static human body in the detection space based on the echo signal according to an embodiment of the present invention.
[0063] Figure 6 Schematic structural diagram of the detection device according to an embodiment of the present invention. Detailed implementation manners
[0064] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary only for explaining the present invention and should not be construed as limiting the present invention. In addition, it should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0065] In the description of the present invention, terms such as "first" and "second" are only used for descriptive purposes and cannot be construed as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, features defined with "first", "second", etc. may explicitly or implicitly include one or more of the described features. In the description of the present invention, "a plurality" and "several" mean two or more unless otherwise specifically defined.
[0066] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments may be combined with each other.
[0067] First, as shown in Figures 1 to 4 The present invention provides an indoor lighting control method, including:
[0068] S100. Transmit a radar signal in the millimeter wave band and collect an echo signal. Specifically, a millimeter wave radar module can be used to transmit a radar signal in the millimeter wave band and collect an echo signal;
[0069] S200. Determine whether there is a person in the detection space according to the echo signal to obtain a detection result;
[0070] S300. The lighting device adjusts the lighting state according to the detection result;
[0071] Among them, in step S200, the step of determining whether there is a person in the detection space according to the echo signal to obtain a detection result includes:
[0072] S210. Determine whether there is a moving target in the detection space based on the echo signal. If there is a moving target, perform the step of determining whether the moving target is a dynamic human body; otherwise, do not perform (that is, do not perform the step of determining whether the moving target is a dynamic human body).
[0073] S220. Determine whether there is a static human body in the detection space based on the echo signal.
[0074] In step S210, the step of determining whether the moving target is a dynamic human body (step S212) includes:
[0075] S2121. Detect whether the mechanical movement of the moving target has strict periodicity. If there is strict periodicity, determine that the moving target is an interference source.
[0076] S2122. Perform adaptive-MSSA (multichannel singular spectrum analysis) filtering on the echo signal to obtain signal features, and determine whether the moving target is a dynamic human body according to the signal features.
[0077] In the present invention, a millimeter-wave band radar is used to detect the presence of human bodies indoors, so that the lighting device can adjust the lighting state according to the detection results. During the detection process by the millimeter-wave band radar, whether there are dynamic human bodies and static human bodies is detected respectively, so as to perform corresponding data processing according to different state characteristics and improve the detection accuracy. At the same time, during the detection of dynamic human bodies, for the interference of the oscillating fan, the mechanical movement of the oscillating fan has a more regular and strict periodicity than human movement. For this characteristic, by detecting whether the mechanical movement of the moving target has strict periodicity, the detection interference caused by the oscillating fan is excluded, and the echo signal is subjected to adaptive-MSSA filtering. During the reconstruction process, the response periodicity and range-related characteristics are used to adaptively identify the signal subspace, effectively suppressing interference signals such as green plants and curtains, highlighting the human movement signal. By analyzing the signal features after filtering, dynamic human bodies are further identified and distinguished. In the detection process of the millimeter-wave band radar of the present invention, the difference characteristics between the interference signal and the human signal are fully utilized to perform targeted processing on the echo signal, thereby effectively improving the accuracy and reliability of indoor human body detection as a whole, being able to quickly and accurately determine whether there are people in the room, and further realizing the rapid and accurate control of the lighting device, with a better user experience.
[0078] In some embodiments, in step S210, the step of determining whether there is a moving target in the detection space based on the echo signal (step S211) includes:
[0079] S2111. Process the echo signal to obtain range-slow time dimension data. After static clutter filtering, perform Fourier transform on the slow time dimension to construct range-Doppler dimension data. Specifically:
[0080] Perform one-dimensional Fourier transform on the echo signal of each range cell, convert the echo signal from the time domain to the frequency domain, and then organize it according to the range and slow time dimensions to form a range-slow time dimension data matrix;
[0081] Subsequently, perform static clutter filtering to remove the interference generated by stationary targets (static clutter) in the echo signal. Then, perform Fourier transform on the slow time dimension data after static clutter filtering to obtain the Doppler frequency shift, and then organize it according to the range and Doppler frequency shift dimensions to construct a range-Doppler dimension data matrix.
[0082] S2112. Based on the range-Doppler dimension data, determine whether there are moving targets in the space.
[0083] The range-slow time dimension data is used to capture the range changes of the target at different time points. Through static clutter filtering, the interference of stationary targets can be removed, and the signal of moving targets can be extracted. The range-Doppler dimension data is a data form that organizes the echo signal according to the range and Doppler frequency shift. Among them, the range dimension reflects the range information of the target, and the Doppler dimension reflects the speed information of the target. Thus, the range and speed information of the target can be obtained simultaneously, more accurately identify the moving targets in the detection space, improve the accuracy and reliability of human body detection, realize the fast and accurate control of lighting equipment, and provide a better user experience.
[0084] In some embodiments, in step S2121, the step of detecting whether the mechanical motion of the moving target has strict periodicity includes:
[0085] a. Calculate the autocorrelation function for each range unit of the range-slow time dimension data, calculate the autocorrelation coefficients at different time delays, and form an autocorrelation coefficient function curve;
[0086] b. Confirm whether there are periodic peaks greater than a preset peak threshold in the autocorrelation coefficient function curve. If so, it is determined that the mechanical motion of the moving target has strict periodicity; otherwise, it is determined that the mechanical motion of the moving target does not have strict periodicity.
[0087] Specifically, confirming whether there are periodic peaks greater than a preset peak threshold in the autocorrelation coefficient function curve means that the autocorrelation coefficient function curve needs to satisfy both:
[0088] Condition 1: There are periodic peaks to characterize its periodicity;
[0089] Condition 2: The periodic peak is greater than the preset peak threshold, that is, the periodic peak needs to be highly significant to indicate that its periodicity is highly regular, which is strictly periodic rather than non-strictly periodic. If the autocorrelation coefficient is lower than the preset peak threshold or the peak is not obvious, then it can be considered that the signal is more likely to be a human signal, because the periodic movements of the human body (such as breathing and heartbeat) are usually not as regular as mechanical interference.
[0090] Regarding the interference of oscillating fans, the mechanical movement of oscillating fans has a more regular and strict periodicity than human movement. The autocorrelation coefficient function curve can be used to more accurately judge whether the signal has strict periodicity, so as to distinguish the interference source from the dynamic human body, accurately identify the interference source, further improve the accuracy and reliability of human body detection, realize fast and precise control of lighting equipment, and provide a better user experience.
[0091] In some embodiments, see Figure 5 As shown, in step S220, the step of judging whether there is a static human body in the detection space based on the echo signal includes:
[0092] S221. Acquire phase information of the echo signal based on the echo signal;
[0093] S222. Sparsely reconstruct the phase information of the echo signal to obtain a reconstructed signal;
[0094] S223. Calculate the error value between the reconstructed signal and the ideal sinusoidal signal. If the error value is less than a preset threshold, determine that there is a static human body in the detection space; otherwise, determine that there is no static human body in the detection space.
[0095] When the human body is still, breathing will cause the chest cavity to rise and fall periodically. This rise and fall is manifested as a low-frequency sinusoidal signal in the phase information of the radar echo signal. In the present invention, a reconstructed signal is obtained through sparse reconstruction technology, and then the error value between the reconstructed signal and the ideal sinusoidal signal is calculated to match the reconstructed signal with the ideal sinusoidal signal to confirm whether the reconstructed signal is close to the ideal sinusoidal signal, thereby distinguishing whether the static target is a static human body.
[0096] It can be understood that adjusting the lighting state may include turning on the lighting element, turning off the lighting element, increasing the illumination intensity of the lighting element, or decreasing the illumination intensity of the lighting element.
[0097] In some embodiments, in step S300, the step of adjusting the lighting state of the lighting device according to the detection result includes:
[0098] S310. The lighting device receives the detection result;
[0099] S320. If the detection result indicates that there is a human body in the current detection space, increase the illumination intensity, for example, turn on the lighting component of the lighting device or increase the illumination intensity of the lighting component. If the detection result indicates that there is no human body in the current detection space, decrease the illumination intensity, for example, turn off the lighting component or reduce the illumination intensity of the lighting component.
[0100] In some embodiments, preferably, in step S300, the step of the lighting device adjusting the lighting state according to the detection result includes:
[0101] S310. The lighting device receives the detection result;
[0102] S320’. If the detection result indicates that there is a human body in the current detection space, detect the actual illumination intensity of the current detection space, and when the actual illumination intensity is lower than the preset illumination threshold, increase the illumination intensity.
[0103] When it is detected that there is a human body in the detection space, by detecting and comparing the actual illumination intensity of the detection space, when the indoor illumination is sufficient, there is no need to turn on the lighting component, saving unnecessary energy consumption.
[0104] Second, refer to Figures 1 to 4 and Figure 6 As shown, the present invention provides an indoor lighting control system, including:
[0105] A detection device 1, including a millimeter-wave radar module 11 and a processing unit 12;
[0106] The millimeter-wave radar module 11 is capable of transmitting radar signals in the millimeter-wave band and collecting echo signals;
[0107] The processing unit 12 is used to judge whether there is a person in the detection space according to the echo signal and obtain a detection result;
[0108] A lighting device 3, capable of adjusting the lighting state according to the detection result;
[0109] The processing unit 12 is respectively communicatively connected to the millimeter-wave radar module 11 and the lighting device 3, and the processing unit 12 includes a dynamic human body judgment module and a static human body judgment module.
[0110] The dynamic human body judgment module is capable of judging whether there is a moving target in the detection space based on the echo signal. If there is a moving target, execute the step of judging whether the moving target is a dynamic human body, otherwise do not execute;
[0111] The static human body judgment module is capable of judging whether there is a static human body in the detection space based on the echo signal.
[0112] The step of determining whether the moving target is a dynamic human body includes:
[0113] Detect whether the mechanical movement of the moving target has strict periodicity. If there is strict periodicity, it is determined that the moving target is an interference source;
[0114] Perform adaptive - MSSA filtering processing on the echo signal to obtain signal characteristics, and determine whether the moving target is a dynamic human body according to the signal characteristics.
[0115] In the process of millimeter - wave band radar detection of the present invention, the processing unit 12 makes full use of the difference characteristics between interference signals and human body signals to perform targeted processing on the echo signal, thereby effectively improving the accuracy and reliability of indoor human body detection as a whole. It can quickly and accurately determine whether there are people in the room, and then realize the fast and precise control of the lighting device 3, with a better user experience.
[0116] In some embodiments, the processing unit 12 can be arranged on the main control MCU chip. The main control MCU chip is equipped with a 32 - bit dual - core processor with a maximum operating frequency of up to 240 MHz, having 384 KB of ROM and 512 KB of SRAM; the CPU power supply of this processor can be independently turned off, and at the same time, a low - power co - processor is equipped to monitor the changes in the states of peripheral devices or detect whether certain analog quantities exceed preset thresholds, enabling the device to continuously operate in the low - power mode without sacrificing performance, improving the energy efficiency of the system; in addition, the main control MCU chip also supports a variety of storage expansion options, providing sufficient data storage space for the system. The processing unit 12 in the main control MCU chip receives the echo signal transmitted by the millimeter - wave radar module 11 and processes it. The above configuration enables the main control MCU chip to have sufficient data storage space and data processing speed, capable of deploying signal processing algorithms on the MCU and running them in real time. In addition, this main control MCU chip also supports various peripheral communications such as GPIO, SPI, UART, and IIC.
[0117] In some embodiments, as shown in Figure 6 The millimeter - wave radar module 11 includes an antenna module 111 and a pre - processing module 112,
[0118] The antenna module 111 is used to transmit millimeter - wave band radar signals and collect echo signals, and the operating frequency of the antenna module 111 is 24 GHz - 24.25 GHz;
[0119] The pre - processing module 112 can pre - process the collected echo signal and transmit the pre - processed echo signal to the processing unit 12.
[0120] Among them, the preprocessing includes, but is not limited to, operations such as amplifying, filtering, and mixing the echo signal, so as to facilitate the subsequent processing by the processing unit 12.
[0121] The operating frequency of the antenna module 111 is 24 GHz to 24.25 GHz. Within this range, lower frequency loss and stronger anti-environmental interference ability can be achieved.
[0122] During use, after the antenna module 111 transmits a millimeter-wave band radar signal and collects the echo signal, it is transmitted to the preprocessing module 112. After being preprocessed by the preprocessing module 112, it is transmitted to the processing unit 12.
[0123] In some embodiments, the antenna module 111 is a rectangular patch antenna. The rectangular patch antenna includes a rectangular metal patch, a dielectric substrate, and a metal floor stacked layer by layer from top to bottom. The rectangular patch antenna belongs to the microstrip antenna. It has a low profile, small volume, light weight, and low manufacturing cost, and is suitable for mass production. By changing the feeding position, linear polarization and circular polarization can be obtained, and it is relatively easy to make an antenna that works in dual frequencies and dual polarizations. According to different application scenarios, the antenna module 111 can be a single-transmission single-reception antenna or a multi-transmission multi-reception antenna. The multi-transmission multi-reception antenna improves the angular resolution of the millimeter-wave radar module 11 by increasing the number of receiving antennas, thereby achieving more accurate target positioning.
[0124] In some embodiments, the preprocessing module 112 is provided on the millimeter-wave radar chip. The millimeter-wave radar chip uses frequency-modulated continuous wave (FMCW) radar technology, and its operating frequency band is 24 GHz, and the maximum operating bandwidth is 4 GHz.
[0125] In some embodiments, the frequency scanning mode of the millimeter-wave radar chip includes, but is not limited to, sawtooth wave and triangular wave forms.
[0126] In some embodiments, the radio frequency and analog subsystems of the millimeter-wave radar chip integrate a transmitter and two receivers, support application gain control to adjust the entire link, and also support single-transmission single-reception and single-transmission multi-reception systems to adapt to different usage scenarios. The integrated IQ baseband at the receiving end includes an intermediate frequency amplifier, a filter, and an analog-to-digital converter, which can achieve high-quality signal processing.
[0127] In some embodiments, the millimeter-wave radar chip is equipped with an IIC interface and an SPI interface. Through the IIC interface, key parameters of the detection device 1 can be configured, such as transmission power, frequency modulation time, chirp number, and frequency modulation slope, etc.; through the SPI interface, data transmission with other modules can be achieved; through the reasonable configuration of these two interfaces, the flexibility and efficiency of the detection device 1 can be ensured to meet different application requirements.
[0128] In some embodiments, a power supply module (not shown) is further included. The power supply module is respectively connected to the millimeter-wave radar module 11 and the processing unit 12. The power supply module includes an AC-DC isolation switch power supply module, a DC-DC converter, and an LDO linear voltage regulator.
[0129] The composition of the power supply module can effectively reduce the signal floor noise of the detection device 1 (about 6 dB), significantly improve the signal-to-noise ratio (SNR) of the detection device 1, reduce false alarms and missed detections, thereby improving the detection accuracy and reliability.
[0130] Among them, the AC-DC isolation switch power supply module enables the detection device 1 to support 220V AC power supply and 5V DC power supply. The maximum power of the AC-DC isolation switch power supply module is 3.5W, and the maximum output current is 700mA, which can fully meet the power supply requirements of the entire system.
[0131] The DC-DC converter can adjust the output voltage through an external resistor divider, and the internal soft-start circuit can limit the inrush current during startup. Therefore, the DC-DC converter can obtain a stable output of 3.3V - 2A with a 5V input; in addition, it also has protection functions such as output overcurrent protection, thermal shutdown protection, and normal power output, which can ensure the stable operation of the system.
[0132] The LDO linear voltage regulator can provide an output voltage of 1.6V and an output current of up to 250mA with a 5V input, and is very suitable for applications that require low noise, high power supply rejection ratio (PSRR), low quiescent current, and excellent line or load transient response.
[0133] In some embodiments, a Bluetooth module 2 is further included. The detection device 1 is connected to the lighting device 3 through the Bluetooth module 2 to achieve communication control of the lighting device 3, with simple operation and low power consumption.
[0134] In some embodiments, the step of determining whether there is a moving target in the detection space based on the echo signal includes:
[0135] Process the echo signal to obtain range-slow time dimension data. After static clutter filtering, perform Fourier transform on the slow time dimension to construct range-Doppler dimension data;
[0136] Based on the range-Doppler dimension data, determine whether there is a moving target in the space;
[0137] The step of detecting whether the mechanical movement of the moving target has strict periodicity includes:
[0138] Calculate the autocorrelation function for each distance unit of the distance-slow time dimension data, calculate the autocorrelation coefficients at different time delays, and form an autocorrelation coefficient function curve;
[0139] Confirm whether there is a periodic peak greater than a preset peak threshold in the autocorrelation coefficient function curve. If so, it is determined that the mechanical motion of the moving target has strict periodicity; otherwise, it is determined that the mechanical motion of the moving target does not have strict periodicity.
[0140] In some embodiments, the step of determining whether there is a static human body in the detection space based on the echo signal includes:
[0141] Obtain the phase information of the echo signal based on the echo signal;
[0142] Sparsely reconstruct the phase information of the echo signal to obtain a reconstructed signal;
[0143] Calculate the error value between the reconstructed signal and the ideal sine signal. If the error value is less than a preset threshold, it is determined that there is a static human body in the detection space; otherwise, it is determined that there is no static human body in the detection space.
[0144] Third, the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above method are implemented.
[0145] In the description of this specification, the descriptions with reference to terms such as "some embodiments", "exemplary", "example", or "for example" mean that the specific features, structures, materials, or characteristics described in connection with the embodiments or examples are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiments or examples. Moreover, the specific features, structures, materials, or characteristics described can be combined in a suitable manner in any one or more embodiments or examples.
[0146] The above are only the preferred embodiments of the present invention, and do not impose any form of limitation on the present invention. Although the present invention has been disclosed above with the preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes or modifications to the above-disclosed technical content within the scope of the technical solution of the present invention to make equivalent embodiments with equivalent changes, but as long as it does not depart from the technical solution of the present invention, any simple modification, equivalent change, and modification made to the above embodiments according to the technical essence of the present invention still fall within the scope of the technical solution of the present invention.
Claims
1. A method for controlling indoor lighting, characterized in that: include: Transmit millimeter wave frequency band radar signals and collect echo signals; Determine whether there is a person in the detection space according to the echo signal, and obtain a detection result; The lighting device adjusts the lighting state according to the detection result; The step of determining whether there is a person in the detection space according to the echo signal and obtaining the detection result comprises: Determine whether there is a moving target in the detection space based on the echo signal, and if there is a moving target, execute the step of determining whether the moving target is a dynamic human body, otherwise, do not execute; Determining whether there is a static human body in the detection space based on the echo signal; The step of determining whether the moving target is a dynamic human body comprises: Detecting whether the mechanical motion of the moving target has strict periodicity, and if so, determining that the moving target is an interference source; The echo signal is subjected to adaptive-MSSA filtering processing to obtain signal characteristics, and it is determined whether the moving target is a dynamic human body according to the signal characteristics.
2. The indoor lighting control method according to claim 1, characterized in that: The step of judging whether there is a moving target in the detection space based on the echo signal comprises: Processing the echo signal to obtain distance-slow time dimension data, filtering out static clutter, performing Fourier transform on the slow time dimension, and constructing distance-Doppler dimension data; Based on the range-Doppler dimension data, it is determined whether there is a moving target in the space.
3. The indoor lighting control method according to claim 2, characterized in that: The step of detecting whether the mechanical motion of the moving target is strictly periodic comprises: Calculating an autocorrelation function for each distance unit of the distance-slow time dimension data, calculating autocorrelation coefficients under different time delays, and forming an autocorrelation coefficient function curve; Confirm whether the autocorrelation coefficient function curve has a periodic peak value greater than a preset peak threshold value. If so, it is determined that the mechanical movement of the moving target has strict periodicity. Otherwise, it is determined that the mechanical movement of the moving target does not have strict periodicity.
4. The indoor lighting control method according to claim 1, characterized in that: The step of judging whether there is a static human body in the detection space based on the echo signal comprises: Acquiring phase information of the echo signal based on the echo signal; Sparsely reconstructing the phase information of the echo signal to obtain a reconstructed signal; The error value between the reconstructed signal and the ideal sinusoidal signal is calculated. If the error value is less than a preset threshold, it is determined that there is a static human body in the detection space; otherwise, it is determined that there is no static human body in the detection space.
5. The indoor lighting control method according to claim 1, characterized in that: The step of adjusting the lighting state of the lighting device according to the detection result comprises: The lighting device receives the detection result; If the detection result indicates that a human body exists in the current detection space, the actual illuminance of the current detection space is detected, and when the actual illuminance is lower than a preset illuminance threshold, the lighting illuminance is enhanced.
6. An indoor lighting control system, characterized in that: include: A detection device, including a millimeter wave radar module and a processing unit; The millimeter wave radar module is capable of transmitting millimeter wave frequency band radar signals and collecting echo signals; The processing unit is used to determine whether there is a person in the detection space according to the echo signal, and obtain a detection result; A lighting device capable of adjusting the lighting state according to the detection result; The processing unit is respectively connected to the millimeter wave radar module and the lighting device for communication, and the processing unit includes a dynamic human body judgment module and a static human body judgment module. The dynamic human body judgment module can judge whether there is a moving target in the detection space based on the echo signal, and if there is a moving target, execute the step of judging whether the moving target is a dynamic human body, otherwise, do not execute; The static human body judgment module can judge whether there is a static human body in the detection space based on the echo signal. The step of determining whether the moving target is a dynamic human body comprises: Detecting whether the mechanical motion of the moving target has strict periodicity, and if so, determining that the moving target is an interference source; The echo signal is subjected to adaptive-MSSA filtering processing to obtain signal characteristics, and it is determined whether the moving target is a dynamic human body according to the signal characteristics.
7. An indoor lighting control system according to claim 6, characterized in that: The millimeter wave radar module includes an antenna module and a preprocessing module. The antenna module is used to transmit millimeter wave frequency band radar signals and collect echo signals, and the operating frequency of the antenna module is 24GHz to 24.25GHz; The preprocessing module can preprocess the collected echo signal and transmit the preprocessed echo signal to the processing unit.
8. An indoor lighting control system according to claim 6, characterized in that: It also includes a power supply module, which is respectively connected to the millimeter wave radar module and the processing unit, and the power supply module includes an AC-DC isolation switch power supply module, a DC-DC converter and an LDO linear regulator.
9. An indoor lighting control system according to claim 6, characterized in that: The step of judging whether there is a moving target in the detection space based on the echo signal comprises: Processing the echo signal to obtain distance-slow time dimension data, filtering out static clutter, performing Fourier transform on the slow time dimension, and constructing distance-Doppler dimension data; Determine whether there is a moving target in the space based on the range-Doppler dimension data; The step of detecting whether the mechanical motion of the moving target is strictly periodic comprises: Calculating an autocorrelation function for each distance unit of the distance-slow time dimension data, calculating autocorrelation coefficients under different time delays, and forming an autocorrelation coefficient function curve; Confirm whether the autocorrelation coefficient function curve has a periodic peak value greater than a preset peak threshold value. If so, it is determined that the mechanical movement of the moving target has strict periodicity. Otherwise, it is determined that the mechanical movement of the moving target does not have strict periodicity.
10. An indoor lighting control system according to claim 6, characterized in that: The step of judging whether there is a static human body in the detection space based on the echo signal comprises: Acquiring phase information of the echo signal based on the echo signal; Sparsely reconstructing the phase information of the echo signal to obtain a reconstructed signal; The error value between the reconstructed signal and the ideal sinusoidal signal is calculated. If the error value is less than a preset threshold, it is determined that there is a static human body in the detection space; otherwise, it is determined that there is no static human body in the detection space.