Signal processing method and system for microwave induction lamp

By calculating the spectrum mean of microwave signals and using artificial fish school algorithm to find the optimal threshold, the error triggering of microwave induction lamps and energy waste problems are solved, and more accurate control and energy saving effects are achieved.

CN119095236APending Publication Date: 2024-12-06广东奥莱敏控技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410950059.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-16
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The traditional microwave induction lamp control method has the problems of high false triggering rate, waste of energy and inaccurate delay control, and the existing technology has failed to effectively solve these problems.

Method used

By calculating the spectrum average of the real-time microwave signal and using artificial fish school algorithm to find the optimal spectrum threshold, comparing the numerical size of the spectrum average and the optimal threshold, the state of the microwave sensing lamp is controlled, and the delay state is set according to the light state. Achieve energy-saving control.

Benefits of technology

It improves the control accuracy and energy utilization efficiency of microwave induction lamps, reduces energy consumption, and ensures that the lighting status matches the environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095236A_ABST
    Figure CN119095236A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of microwave induction, in particular to a signal processing method and system for a microwave induction lamp, and the system comprises a microwave signal collection unit, a microwave signal frequency spectrum mean value calculation unit, an optimal frequency spectrum threshold value setting unit, a microwave induction lamp state control unit and a microwave induction lamp delay state judgment unit. Calculating a spectrum mean value of the microwave signals acquired in real time, searching an optimal spectrum threshold value by using an intelligent optimization algorithm, controlling the microwave induction lamp by comparing the spectrum mean value of the real-time microwave signals with the optimal spectrum threshold value, and setting a delay state according to the spectrum mean value under the condition that the microwave induction lamp is turned on, so as to realize the control of the microwave induction lamp. Energy-saving control of the microwave induction lamp is realized, and energy consumption is reduced; the optimal spectrum threshold is searched through the artificial fish swarm algorithm, the speed and accuracy of the optimization process are ensured, and meanwhile the efficiency of the convergence process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of microwave induction technology, and in particular to a signal processing method and system for a microwave induction lamp. Background Art

[0002] The microwave sensor lamp emits electromagnetic waves. When the electromagnetic waves hit a nearby moving object, they are reflected and transmitted to the detection module for detection, thereby controlling the on / off state of the microwave sensor lamp.

[0003] Traditional lighting control is often achieved through voice control technology and infrared sensing technology. Voice-controlled lights are not only cumbersome to trigger, but also have a high false trigger rate, which easily leads to energy waste. Although the triggering accuracy of infrared sensing lights has been greatly improved compared to voice-controlled lights, they are easily affected by obstacles and the environment.

[0004] The Chinese invention application with publication number CN110567498A discloses an adaptive microwave sensor signal processing method, which detects the sensing signal by designing a single-chip computer program, calculates the spectrum value of the sensing signal, and collects invalid spectrum energy at the same time. According to the invalid spectrum energy, a threshold value for signal triggering is set to realize the lighting operation of the microwave sensor. The delay of the microwave sensor after the lighting operation is not designed, which easily leads to unnecessary energy waste. At the same time, the threshold value for signal triggering is set by collecting data, which is not representative and cannot guarantee the accuracy of the instructions issued by the microwave sensor. Summary of the invention

[0005] 1. Technical issues to be resolved

[0006] In order to solve the technical problems arising in the background technology, the present invention proposes a signal processing method and system for a microwave induction lamp, which calculates the spectrum mean of the microwave signal collected in real time and uses the artificial fish school algorithm to find the optimal spectrum threshold. The microwave induction lamp is controlled by comparing the numerical values ​​of the real-time microwave signal spectrum mean and the optimal spectrum threshold. At the same time, according to the spectrum mean when the microwave induction lamp is on, the delay state is set to realize energy-saving control of the microwave induction lamp and reduce energy consumption.

[0007] (II) Technical solution

[0008] A signal processing method for a microwave induction lamp, the method comprising the following steps:

[0009] S1. Setting a microwave induction lamp signal collection time point set, collecting microwave signals in real time according to the microwave induction lamp signal collection time point set to obtain a first microwave signal set, and processing each microwave signal in the first microwave signal set through a signal amplifier and a filter to obtain a first standard microwave signal set;

[0010] S2, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set to obtain the first standard microwave signal spectrum set, and calculating the real-time microwave signal spectrum mean based on the first standard microwave signal spectrum set;

[0011] S3, setting the optimal spectrum threshold for determining the state of the microwave signal light through an intelligent optimization algorithm;

[0012] S4, comparing the numerical values ​​of the real-time microwave signal spectrum mean and the optimal spectrum threshold, feeding back the numerical comparison result to the main control unit, and the main control unit issues a corresponding instruction to control the state of the microwave sensor lamp;

[0013] S5. Calculate the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state, and determine whether the microwave induction lamp has entered the light-off state according to the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state.

[0014] A large number of microwave signals are collected in real time by the signal acquisition device and amplified and filtered, and the real-time microwave signal spectrum mean is calculated to reduce the noise impact of the collected data, provide a data basis for subsequent comparison, and ensure the accuracy and timeliness of the calculation results; the optimal spectrum threshold is found through the intelligent optimization algorithm to ensure the speed and accuracy of the optimization process and improve the efficiency of the convergence process; the state of the microwave induction lamp is controlled by the numerical comparison result between the real-time microwave signal spectrum mean and the optimal spectrum threshold to ensure that the state of the microwave induction lamp matches the current environment; the numerical value of the real-time microwave signal spectrum mean of the microwave induction lamp in the light state is calculated to determine whether the microwave induction lamp enters the delay state, thereby realizing energy-saving control of the microwave induction lamp and reducing energy consumption.

[0015] Preferably, a microwave induction lamp signal collection time point set is set, microwave signals are collected in real time according to the microwave induction lamp signal collection time point set to obtain a first microwave signal set; and each microwave signal in the first microwave signal set is processed by a signal amplifier and a filter to obtain a first standard microwave signal set. The specific steps are as follows:

[0016] S11, setting a microwave induction lamp signal collection period, and evenly dividing the microwave induction lamp signal collection period to obtain a microwave induction lamp signal collection time point set A = {a1, a2, ..., a i ,…,a k}, where a i represents the i-th microwave induction lamp signal collection time point, k represents the total number of microwave induction lamp signal collection time points;

[0017] S12, using a signal collection device to collect microwave signals at each signal collection time point in the microwave induction lamp signal collection time point set, to obtain a first microwave signal set B = {b1, b2, ..., bi ,…,b k}, where b i represents the i-th collected microwave signal, and k represents the total number of collected microwave signals;

[0018] S13, amplifying the first microwave signal set B={b1, b2, ..., b i ,…,b k}, and then remove the noise in each microwave signal amplified by the signal amplifier through a filter to obtain the first standard microwave signal set B'={b'1,b'2,…,b' i ,...,b' k}, where b' i represents the i-th standard microwave signal, and k represents the total number of standard microwave signals.

[0019] The microwave induction lamp signal collection period is evenly divided to obtain the microwave induction lamp signal collection time points, and the microwave signal is collected in real time and amplified and filtered to ensure the timeliness of the acquired data, reduce the noise of the collected data, and provide a data basis for subsequent operations.

[0020] Preferably, the spectrum values ​​of each standard microwave signal in the first standard microwave signal set are calculated to obtain the first standard microwave signal spectrum set, and the specific steps of calculating the real-time microwave signal spectrum mean based on the first standard microwave signal spectrum set are as follows:

[0021] S21, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set, and arranging the spectrum values ​​of each standard microwave signal from small to large according to the numerical value, to obtain the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k}, where c i represents the spectrum value of the i-th standard microwave signal;

[0022] S22, remove the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k The minimum spectrum value c1 and the maximum spectrum value c k , calculate the real-time microwave signal spectrum mean

[0023] The maximum and minimum values ​​in the first standard microwave signal spectrum set are eliminated, and the mean value of the real-time microwave signal spectrum is calculated to reduce the impact of acquisition and calculation errors and ensure the accuracy of the calculation results.

[0024] Preferably, the specific steps of setting the optimal spectrum threshold for determining the state of the microwave signal light by the intelligent optimization algorithm are as follows:

[0025] S31, construct an artificial fish population, set the size of the artificial fish population to n, and the artificial fish population is represented by M = {m1, m2, ..., m i ,…,m n}, where m i represents the i-th artificial fish in the artificial fish population;

[0026] Set the artificial fish population M = {m1, m2, ..., m i ,…,m n The initial position state set X = {X1, X2, ..., X i ,…,X n}, X i represents the initial position state corresponding to the ith artificial fish; set the artificial fish perception range to V, the moving step to S, the number of attempts to T, the crowding factor to δ, and the maximum number of iterations to t max ;

[0027] S32, calculating the fitness function value of each artificial fish in the artificial fish population, and obtaining a first fitness function value set F 1 ={F1 1 ,F2 1 ,…,F i 1 ,…,F n 1}, F i 1 Indicates that the i-th artificial fish is in X i The first fitness function value under the position state; the fitness function formula is as follows:

[0028] F i =x i -y

[0029] Among them, x i The spectrum value corresponding to the i-th artificial fish individual is the ability of the microwave induction lamp to enter the bright light mode, and y represents the correction value;

[0030] S33, the ith artificial fish in the artificial fish population randomly selects a new state, and obtains a new position state X' of the ith artificial fish in the artificial fish population i , calculate the fitness function value of the ith artificial fish in the artificial fish population in the new position state, and obtain the second fitness function value F i 2 ; The formula for the artificial fish to randomly select a new state:

[0031] X' i =Xi +rand1·V

[0032] Among them, rand1 represents a random number between (0,1);

[0033] S34, comparing the fitness function value of the i-th artificial fish in the artificial fish population in the initial position state and the fitness function value in the new position state;

[0034] When F i 1 ≤F i 2 When the ith artificial fish in the artificial fish population moves to X' i Move one step in the position direction; the movement formula is as follows:

[0035]

[0036] Among them, rand2 represents a random number between (0,1);

[0037] When F i 1 >F i 2 When F is reached, the step S33 is repeated for the ith artificial fish in the artificial fish population, and the fitness function value of the ith artificial fish in the initial position state and the fitness function value in the new position state are compared again, until F is reached. i 1 ≤F i 2 Until; when the number of repetitions reaches T and still does not satisfy F i 1 ≤F i 2 , the ith artificial fish in the artificial fish population is randomly moved one step; the moving formula is as follows:

[0038]

[0039] Among them, rand3 represents a random number between (0,1);

[0040] Get the position state of the i-th artificial fish in the artificial fish population after moving

[0041] S35, start the iteration operation, set the number of artificial fish within the perception range V of the i-th fish in the artificial fish population in each iteration process to n f and the center position is X c ;

[0042] According to the fitness function value formula, the fitness function value of the center position is calculated as F cAnd the fitness function value of each artificial fish within the perception range V of the ith artificial fish in the artificial fish population, select the artificial fish X with the highest fitness j The fitness function value is F j ;

[0043] when And F c ≥F j When , the i-th artificial fish moves to X c The position state moves one step; the movement formula is as follows:

[0044]

[0045] Among them, rand4 represents a random number between (0,1);

[0046] when And F c <F j When , the i-th artificial fish moves to X j The position state moves one step; the movement formula is as follows:

[0047]

[0048] Among them, rand5 represents a random number between (0,1);

[0049] Otherwise, execute S33 and S34 to obtain the position state set X of each artificial fish in the artificial fish population after moving. next ={X1 next ,X2 next ,…,X i next ,…,X n next},in, Indicates the position state of the ith artificial fish in the artificial fish population after movement; calculates the fitness function value of each artificial fish after movement through the fitness function value formula, and takes the artificial fish individual with the highest fitness as the global optimal solution;

[0050] S36, determine whether the maximum number of iterations t is reached max If it is not reached, return to S35; if it is reached, output the spectrum threshold corresponding to the current global optimal solution as the optimal spectrum threshold.

[0051] By simulating the foraging, clustering, chasing and random searching behaviors of artificial fish schools, a mathematical model is constructed. By using artificial fish schools to search for the current global optimal solution, the optimal spectrum threshold is obtained to ensure the speed and accuracy of the optimization process, while improving the efficiency of the convergence process.

[0052] Preferably, the numerical values ​​of the real-time microwave signal spectrum mean and the optimal spectrum threshold are compared, the result of the numerical comparison is fed back to the main control unit, and the main control unit issues a corresponding instruction to control the state of the microwave sensor lamp. The specific operation steps are as follows:

[0053] S41, setting the dark light spectrum ratio to γ, and comparing the numerical values ​​of the real-time microwave signal spectrum mean α and the optimal spectrum threshold β;

[0054] If α<γ·β, the main control unit controls the microwave sensor lamp to be off;

[0055] If γ·β≤α≤β, the main control unit controls the state of the microwave sensor lamp to be a dim light mode in the light state;

[0056] If α>β, the main control unit controls the state of the microwave sensor lamp to be a bright light mode in a lighting state.

[0057] The state of the microwave sensor lamp is controlled by comparing the numerical result of the real-time microwave signal spectrum mean with the optimal spectrum threshold, ensuring that the state of the microwave sensor lamp matches the current environment.

[0058] Preferably, the specific operation steps of calculating the mean value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state and determining whether the microwave induction lamp enters the delay state according to the mean value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state are as follows:

[0059] S51, setting the dimming delay time to λ and the lights-off delay time to η;

[0060] S52, when the microwave sensor lamp is in the bright light mode with the light on, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the bright light mode 明光 , if α 明光 ≤β, the microwave induction lamp enters the dark light delay state;

[0061] When the real-time microwave signal spectrum mean value of the microwave sensor lamp in bright light mode is α 明光 If the light intensity is less than or equal to the optimal spectrum threshold value β during the dark light delay time λ, the microwave induction lamp enters the dark light mode under the light-on state; otherwise, the microwave induction lamp exits the dark light delay state;

[0062] S53, when the microwave sensor lamp is in the dim light mode under the light state, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the dim light mode 暗光 , if α 暗光 <γ·β, the microwave induction lamp enters the light-off delay state;

[0063] The real-time microwave signal spectrum mean α of the microwave sensor lamp in dim light mode 暗光If the value of the microwave induction lamp is less than the optimal spectrum threshold value γ·β within the light-off delay time η, the microwave induction lamp enters the light-off state; otherwise, the microwave induction lamp exits the light-off delay state.

[0064] By calculating the numerical value of the real-time microwave signal spectrum mean value of the microwave induction lamp in the light-on state, it is determined whether the microwave induction lamp enters the delay state, thereby realizing energy-saving control of the microwave induction lamp and reducing energy consumption.

[0065] The present invention also discloses a signal processing system for a microwave induction lamp, comprising a microwave signal acquisition unit, a microwave signal spectrum mean value calculation unit, an optimal spectrum threshold setting unit, a microwave induction lamp state control unit, and a microwave induction lamp delay state determination unit;

[0066] The microwave signal acquisition unit acquires microwave signals at each microwave induction lamp signal acquisition time point obtained by evenly dividing the set microwave induction lamp signal acquisition cycle to obtain a first microwave signal set, and then amplifies and filters each microwave signal in the first microwave signal set to obtain a first standard microwave signal set;

[0067] The microwave signal spectrum mean value calculation unit calculates the spectrum value of each standard microwave signal in the first standard microwave signal set to obtain the first standard microwave signal spectrum set, and calculates the real-time microwave signal spectrum mean value by eliminating the maximum value and the minimum value in the first standard microwave signal spectrum set;

[0068] The optimal spectrum threshold setting unit searches for the optimal spectrum threshold through an intelligent optimization algorithm to complete the setting process;

[0069] The microwave induction lamp state control unit controls the state of the microwave induction lamp by feeding back to the main control unit the result of the numerical comparison between the real-time microwave signal spectrum mean and the optimal spectrum threshold;

[0070] The microwave induction lamp delay state determination unit determines whether the microwave induction lamp enters the delay state by calculating the numerical value of the real-time microwave signal spectrum mean value of the microwave induction lamp in the light-on state.

[0071] (III) Beneficial effects

[0072] The present invention provides a signal processing method and system for a microwave induction lamp, which has the following beneficial effects:

[0073] 1. The present invention is provided with a microwave signal acquisition unit, a microwave signal spectrum mean value calculation unit, an optimal spectrum threshold value setting unit, a microwave induction lamp state control unit and a microwave induction lamp delay state determination unit; a large number of microwave signals are collected in real time by a signal acquisition device and amplified and filtered, and the real-time microwave signal spectrum mean value is calculated to reduce the noise influence of the collected data, provide a data basis for subsequent comparison, and ensure the accuracy and timeliness of the calculation results; the state of the microwave induction lamp is controlled by comparing the numerical value of the real-time microwave signal spectrum mean value with the optimal spectrum threshold value, ensuring that the state of the microwave induction lamp matches the current environment; the value of the calculated real-time microwave signal spectrum mean value of the microwave induction lamp in the light-on state is used to determine whether the microwave induction lamp enters the delay state, thereby realizing energy-saving control of the microwave induction lamp and reducing energy consumption;

[0074] 2. The present invention constructs a mathematical model by simulating the behaviors of artificial fish schools in foraging, clustering, chasing and random searching. By utilizing the artificial fish schools to search for the current global optimal solution, the optimal spectrum threshold is obtained, thereby ensuring the speed and accuracy of the optimization process and improving the efficiency of the convergence process. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] In order to more clearly illustrate the technical solutions of the embodiments of the invention, the drawings required for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the invention. For ordinary technicians in this field, they can also obtain drawings based on these drawings without paying creative work.

[0076] Figure 1 A flow chart of a signal processing method for a microwave induction lamp provided by the present invention;

[0077] Figure 2 A schematic diagram of a module of a signal processing system for a microwave induction lamp provided by the present invention. DETAILED DESCRIPTION

[0078] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0079] In the description of the present invention, it is necessary to understand that the terms "opening", "upper", "lower", "top", "middle", "inside" and the like indicating orientation or positional relationship are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the components or elements referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as limiting the invention.

[0080] The first embodiment of the signal processing method and system for microwave induction lamp is as follows:

[0081] See also Figure 1 , a signal processing method for a microwave induction lamp, the method comprising the following steps:

[0082] S1. Setting a microwave induction lamp signal collection time point set, collecting microwave signals in real time according to the microwave induction lamp signal collection time point set to obtain a first microwave signal set, and processing each microwave signal in the first microwave signal set through a signal amplifier and a filter to obtain a first standard microwave signal set;

[0083] S11, setting a microwave induction lamp signal collection period, and evenly dividing the microwave induction lamp signal collection period to obtain a microwave induction lamp signal collection time point set A = {a1, a2, ..., a i ,…,a k}, where a i represents the i-th microwave induction lamp signal collection time point, k represents the total number of microwave induction lamp signal collection time points;

[0084] S12, using a signal collection device to collect microwave signals at each signal collection time point in the microwave induction lamp signal collection time point set, to obtain a first microwave signal set B = {b1, b2, ..., b i ,…,b k}, where b i represents the i-th collected microwave signal, and k represents the total number of collected microwave signals;

[0085] S13, amplifying the first microwave signal set B={b1, b2, ..., b i ,…,b k}, and then remove the noise in each microwave signal amplified by the signal amplifier through a filter to obtain the first standard microwave signal set B'={b'1,b'2,…,b' i ,…,b' k}, where b' i represents the i-th standard microwave signal, and k represents the total number of standard microwave signals.

[0086] S2, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set to obtain the first standard microwave signal spectrum set, and calculating the real-time microwave signal spectrum mean based on the first standard microwave signal spectrum set;

[0087] S21, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set, and arranging the spectrum values ​​of each standard microwave signal from small to large according to the numerical value, to obtain the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k}, where c i represents the spectrum value of the i-th standard microwave signal;

[0088] S22, remove the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k The minimum spectrum value c1 and the maximum spectrum value c k , calculate the real-time microwave signal spectrum mean

[0089] S3, setting the optimal spectrum threshold for determining the state of the microwave signal light through an intelligent optimization algorithm;

[0090] S31, construct an artificial fish population, set the size of the artificial fish population to n, and the artificial fish population is represented by M = {m1, m2, ..., m i ,…,m n}, where m i represents the i-th artificial fish in the artificial fish population;

[0091] Set the artificial fish population M = {m1, m2, ..., m i ,…,m n The initial position state set X = {X1, X2, ..., X i ,…,X n}, X i represents the initial position state corresponding to the ith artificial fish; set the artificial fish perception range to V, the moving step to S, the number of attempts to T, the crowding factor to δ, and the maximum number of iterations to t max ;

[0092] S32, calculating the fitness function value of each artificial fish in the artificial fish population, and obtaining a first fitness function value set F 1 ={F1 1 ,F2 1 ,…,F i 1 ,…,F n 1}, Fi 1 Indicates that the i-th artificial fish is in X i The first fitness function value under the position state; the fitness function formula is as follows:

[0093] F i =x i -y

[0094] Among them, x i The spectrum value corresponding to the i-th artificial fish individual is the ability of the microwave induction lamp to enter the bright light mode, and y represents the correction value;

[0095] S33, the ith artificial fish in the artificial fish population randomly selects a new state, and obtains a new position state X' of the ith artificial fish in the artificial fish population i , calculate the fitness function value of the ith artificial fish in the artificial fish population in the new position state, and obtain the second fitness function value F i 2 ; The formula for the artificial fish to randomly select a new state:

[0096] X' i =X i +rand1·V

[0097] Among them, rand1 represents a random number between (0,1);

[0098] S34, comparing the fitness function value of the i-th artificial fish in the artificial fish population in the initial position state and the fitness function value in the new position state;

[0099] When F i 1 ≤F i 2 When the ith artificial fish in the artificial fish population moves to X' i Move one step in the position direction; the movement formula is as follows:

[0100]

[0101] Among them, rand2 represents a random number between (0,1);

[0102] When F i 1 >F i 2 When F is reached, the step S33 is repeated for the ith artificial fish in the artificial fish population, and the fitness function value of the ith artificial fish in the initial position state and the fitness function value in the new position state are compared again, until F is reached. i 1 ≤F i 2Until; when the number of repetitions reaches T and still does not satisfy F i 1 ≤F i 2 , the ith artificial fish in the artificial fish population is randomly moved one step; the moving formula is as follows:

[0103]

[0104] Among them, rand3 represents a random number between (0,1);

[0105] Get the position state of the i-th artificial fish in the artificial fish population after moving

[0106] S35, start the iteration operation, set the number of artificial fish within the perception range V of the i-th fish in the artificial fish population in each iteration process to n f and the center position is X c ;

[0107] According to the fitness function value formula, the fitness function value of the center position is calculated as F c And the fitness function value of each artificial fish within the perception range V of the ith artificial fish in the artificial fish population, select the artificial fish X with the highest fitness j The fitness function value is F j ;

[0108] when And F c ≥F j When , the i-th artificial fish moves to X c The position state moves one step; the movement formula is as follows:

[0109]

[0110] Among them, rand4 represents a random number between (0,1);

[0111] when And F c <F j When , the i-th artificial fish moves to X j The position state moves one step; the movement formula is as follows:

[0112]

[0113] Among them, rand5 represents a random number between (0,1);

[0114] Otherwise, execute S33 and S34 to obtain the position state set X of each artificial fish in the artificial fish population after moving. next ={X1 next ,X2next ,…,X i next ,…,X n next},in, Indicates the position state of the ith artificial fish in the artificial fish population after movement; calculates the fitness function value of each artificial fish after movement through the fitness function value formula, and takes the artificial fish individual with the highest fitness as the global optimal solution;

[0115] S36, determine whether the maximum number of iterations t is reached max If it is not reached, return to S35; if it is reached, output the spectrum threshold corresponding to the current global optimal solution as the optimal spectrum threshold.

[0116] S4, comparing the numerical values ​​of the real-time microwave signal spectrum mean and the optimal spectrum threshold, feeding back the numerical comparison result to the main control unit, and the main control unit issues a corresponding instruction to control the state of the microwave sensor lamp;

[0117] S41, setting the dark light spectrum ratio to γ, and comparing the numerical values ​​of the real-time microwave signal spectrum mean α and the optimal spectrum threshold β;

[0118] If α<γ·β, the main control unit controls the microwave sensor lamp to be off;

[0119] If γ·β≤α≤β, the main control unit controls the state of the microwave sensor lamp to be a dim light mode in the light state;

[0120] If α>β, the main control unit controls the state of the microwave sensor lamp to be a bright light mode in a lighting state.

[0121] S5, calculating the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state, and determining whether the microwave induction lamp has entered the light-off state according to the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state;

[0122] S51, setting the dimming delay time to λ and the lights-off delay time to η;

[0123] S52, when the microwave sensor lamp is in the bright light mode with the light on, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the bright light mode 明光 , if α 明光 ≤β, the microwave induction lamp enters the dark light delay state;

[0124] When the real-time microwave signal spectrum mean value of the microwave sensor lamp in bright light mode is α 明光 If the light intensity is less than or equal to the optimal spectrum threshold value β during the dark light delay time λ, the microwave induction lamp enters the dark light mode under the light-on state; otherwise, the microwave induction lamp exits the dark light delay state;

[0125] S53, when the microwave sensor lamp is in the dim light mode under the light state, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the dim light mode 暗光 , if α 暗光 <γ·β, the microwave induction lamp enters the light-off delay state;

[0126] The real-time microwave signal spectrum mean α of the microwave sensor lamp in dim light mode 暗光 If the value of the microwave induction lamp is less than the optimal spectrum threshold value γ·β within the light-off delay time η, the microwave induction lamp enters the light-off state; otherwise, the microwave induction lamp exits the light-off delay state.

[0127] The second embodiment of the signal processing method and system for microwave induction lamp is as follows:

[0128] See also Figure 2 , the present invention also discloses a signal processing system for a microwave induction lamp, the system comprising a microwave signal acquisition unit, a microwave signal spectrum mean value calculation unit, an optimal spectrum threshold setting unit, a microwave induction lamp state control unit and a microwave induction lamp delay state determination unit;

[0129] The microwave signal acquisition unit acquires microwave signals at each microwave induction lamp signal acquisition time point obtained by evenly dividing the set microwave induction lamp signal acquisition cycle to obtain a first microwave signal set, and then amplifies and filters each microwave signal in the first microwave signal set to obtain a first standard microwave signal set;

[0130] The microwave signal spectrum mean value calculation unit calculates the spectrum value of each standard microwave signal in the first standard microwave signal set to obtain the first standard microwave signal spectrum set, and calculates the real-time microwave signal spectrum mean value by eliminating the maximum value and the minimum value in the first standard microwave signal spectrum set;

[0131] The optimal spectrum threshold setting unit searches for the optimal spectrum threshold through an intelligent optimization algorithm to complete the setting process;

[0132] The microwave induction lamp state control unit controls the state of the microwave induction lamp by feeding back to the main control unit the result of the numerical comparison between the real-time microwave signal spectrum mean and the optimal spectrum threshold;

[0133] The microwave induction lamp delay state determination unit determines whether the microwave induction lamp enters the delay state by calculating the numerical value of the real-time microwave signal spectrum mean value of the microwave induction lamp in the light-on state.

[0134] In the description of this specification, the description with reference to the terms "one embodiment", "example", "specific example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0135] The preferred embodiments of the invention disclosed above are only used to help explain the invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the invention, so that those skilled in the art can understand and use the invention well.

Claims

1. A signal processing method for a microwave induction lamp, characterized in that: The steps include: S1. Setting a microwave induction lamp signal collection time point set, collecting microwave signals in real time according to the microwave induction lamp signal collection time point set to obtain a first microwave signal set, and processing each microwave signal in the first microwave signal set through a signal amplifier and a filter to obtain a first standard microwave signal set; S2, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set to obtain the first standard microwave signal spectrum set, and calculating the real-time microwave signal spectrum mean based on the first standard microwave signal spectrum set; S3, setting the optimal spectrum threshold for determining the state of the microwave signal light through an intelligent optimization algorithm; S4, comparing the numerical values ​​of the real-time microwave signal spectrum mean and the optimal spectrum threshold, feeding back the numerical comparison result to the main control unit, and the main control unit issues a corresponding instruction to control the state of the microwave sensor lamp; S5. Calculate the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state, and determine whether the microwave induction lamp has entered the light-off state according to the average value of the real-time microwave signal spectrum of the microwave induction lamp in the light-on state.

2. A signal processing method for a microwave induction lamp according to claim 1, characterized in that: The S1 comprises the following steps: S11, setting a microwave induction lamp signal collection period, and evenly dividing the microwave induction lamp signal collection period to obtain a microwave induction lamp signal collection time point set A = {a1, a2, ..., a i ,…,a k }, where a i represents the i-th microwave induction lamp signal collection time point, k represents the total number of microwave induction lamp signal collection time points; S12, using a signal collection device to collect microwave signals at each signal collection time point in the microwave induction lamp signal collection time point set, to obtain a first microwave signal set B = {b1, b2, ..., b i ,…,b k }, where b i represents the i-th collected microwave signal, and k represents the total number of collected microwave signals; S13, amplifying the first microwave signal set B={b1, b2, ..., b i ,…,b k }, and then remove the noise in each microwave signal amplified by the signal amplifier through a filter to obtain the first standard microwave signal set B'={b'1,b'2,…,b' i ,…,b' k }, where b' i represents the i-th standard microwave signal, and k represents the total number of standard microwave signals.

3. A signal processing method for a microwave induction lamp according to claim 2, characterized in that: The S2 comprises the following steps: S21, calculating the spectrum value of each standard microwave signal in the first standard microwave signal set, and arranging the spectrum values ​​of each standard microwave signal from small to large according to the numerical value, to obtain the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k }, where c i represents the spectrum value of the i-th standard microwave signal; S22. Calculate the real-time microwave signal spectrum mean.

4. A signal processing method for a microwave induction lamp according to claim 3, characterized in that: The S22 comprises the following steps: Eliminate the first standard microwave signal spectrum set C = {c1, c2, ..., c i ,…,c k-1 ,c k The minimum spectrum value c1 and the maximum spectrum value c k , calculate the real-time microwave signal spectrum mean 5. A signal processing method for a microwave induction lamp according to claim 4, characterized in that: The S3 comprises the following steps: S31, construct an artificial fish population, set the size of the artificial fish population to n, and the artificial fish population is represented by M = {m1, m2, ..., m i ,…,m n }, where m i represents the i-th artificial fish in the artificial fish population; Set the artificial fish population M = {m1, m2, ..., m i ,…,m n The initial position state set X = {X1, X2, ..., X i ,…,X n }, X i represents the initial position state corresponding to the ith artificial fish; set the artificial fish perception range to V, the moving step to S, the number of attempts to T, the crowding factor to δ, and the maximum number of iterations to t max ; S32, calculating the fitness function value of each artificial fish in the artificial fish population, and obtaining a first fitness function value set F 1 ={F1 1 ,F2 1 ,…,F i 1 ,…,F n 1 }, F i 1 Indicates that the i-th artificial fish is in X i The first fitness function value under the position state; the fitness function formula is as follows: F i =x i -y Among them, x i The spectrum value corresponding to the i-th artificial fish individual is the ability of the microwave induction lamp to enter the bright light mode, and y represents the correction value; S33, the ith artificial fish in the artificial fish population randomly selects a new state, and obtains a new position state X' of the ith artificial fish in the artificial fish population i , calculate the fitness function value of the ith artificial fish in the artificial fish population in the new position state, and obtain the second fitness function value F i 2 ; The formula for the artificial fish to randomly select a new state: X' i =X i +rand1·V Among them, rand1 represents a random number between (0,1); S34, comparing the fitness function value of the i-th artificial fish in the artificial fish population in the initial position state and the fitness function value in the new position state; When F i 1 ≤F i 2 When the ith artificial fish in the artificial fish population moves to X' i Move one step in the position direction; the movement formula is as follows: Among them, rand2 represents a random number between (0,1); When F i 1 >F i 2 When F is reached, the step S33 is repeated for the ith artificial fish in the artificial fish population, and the fitness function value of the ith artificial fish in the initial position state and the fitness function value in the new position state are compared again, until F is reached. i 1 ≤F i 2 Until; when the number of repetitions reaches T and still does not satisfy F i 1 ≤F i 2 , the ith artificial fish in the artificial fish population is randomly moved one step; the moving formula is as follows: X i next =X i +S·rand3 Among them, rand3 represents a random number between (0,1); Get the position state X of the ith artificial fish in the artificial fish population after moving i next ; S35, start the iteration operation, set the number of artificial fish within the perception range V of the i-th fish in the artificial fish population in each iteration process to n f and the center position is X c ; According to the fitness function value formula, the fitness function value of the center position is calculated as F c And the fitness function value of each artificial fish within the perception range V of the ith artificial fish in the artificial fish population, select the artificial fish X with the highest fitness j The fitness function value is F j ; when And F c ≥F j When , the i-th artificial fish moves to X c The position state moves one step; the movement formula is as follows: Among them, rand4 represents a random number between (0,1); when And F c <F j When , the i-th artificial fish moves to X j The position state moves one step; the movement formula is as follows: Among them, rand5 represents a random number between (0,1); Otherwise, execute S33 and S34 to obtain the position state set X of each artificial fish in the artificial fish population after moving. next ={X1 next ,X2 next ,…,X i next ,…,X n next }, where X next i Indicates the position state of the ith artificial fish in the artificial fish population after movement; calculates the fitness function value of each artificial fish after movement through the fitness function value formula, and takes the artificial fish individual with the highest fitness as the global optimal solution; S36, determine whether the maximum number of iterations t is reached max If it is not reached, return to S35; if it is reached, output the spectrum threshold corresponding to the current global optimal solution as the optimal spectrum threshold.

6. A signal processing method for a microwave induction lamp according to claim 5, characterized in that: The S4 comprises the following steps: S41, setting the dark light spectrum ratio to γ, and comparing the numerical values ​​of the real-time microwave signal spectrum mean α and the optimal spectrum threshold β; If α<γ·β, the main control unit controls the state of the microwave sensor lamp to be the light-off state; if γ·β≤α≤β, the main control unit controls the state of the microwave sensor lamp to be the dim light mode in the light-on state; if α>β, the main control unit controls the state of the microwave sensor lamp to be the bright light mode in the light-on state.

7. A signal processing method for a microwave induction lamp according to claim 6, characterized in that: The S5 comprises the following steps: S51, setting the dimming delay time to λ and the lights-off delay time to η; S52, determining the delay condition of the microwave sensor lamp in the bright light mode when the microwave sensor lamp is in the on state; S53, determining the delay condition of the microwave sensor lamp in the dimming mode when the microwave sensor lamp is in the on state.

8. A signal processing method for a microwave induction lamp according to claim 7, characterized in that: The S52 comprises the following steps: When the microwave sensor lamp is in the bright light mode, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the bright light mode. 明光 , if α 明光 ≤β, the microwave induction lamp enters the dark light delay state; When the real-time microwave signal spectrum mean value of the microwave sensor lamp in bright light mode is α 明光 If the light intensity is less than or equal to the optimal spectrum threshold value β within the dark light delay time λ, the microwave induction lamp enters the dark light mode under the light-on state; otherwise, the microwave induction lamp exits the dark light delay state.

9. A signal processing method for a microwave induction lamp according to claim 8, characterized in that: The S53 comprises the following steps: When the microwave sensor lamp is in the dim light mode under the light state, repeat S1 and S2 to calculate the real-time microwave signal spectrum mean α of the microwave sensor lamp in the dim light mode. 暗光 , if α 暗光 <γ·β, the microwave induction lamp enters the light-off delay state; The real-time microwave signal spectrum mean α of the microwave sensor lamp in dim light mode 暗光 If the value of the microwave induction lamp is less than the optimal spectrum threshold value γ·β within the light-off delay time η, the microwave induction lamp enters the light-off state; otherwise, the microwave induction lamp exits the light-off delay state.

10. A system for signal processing for a microwave induction lamp according to any one of claims 1 to 9, comprising a microwave signal acquisition unit, a microwave signal spectrum mean calculation unit, an optimal spectrum threshold setting unit, a microwave induction lamp state control unit, and a microwave induction lamp delay state determination unit.