CN109511206A - A kind of microwave sensor signal processing method of lighting device - Google Patents
A kind of microwave sensor signal processing method of lighting device Download PDFInfo
- Publication number
- CN109511206A CN109511206A CN201811636915.6A CN201811636915A CN109511206A CN 109511206 A CN109511206 A CN 109511206A CN 201811636915 A CN201811636915 A CN 201811636915A CN 109511206 A CN109511206 A CN 109511206A
- Authority
- CN
- China
- Prior art keywords
- lighting device
- spectrum value
- trigger threshold
- value
- signal processing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
Abstract
The invention discloses a kind of microwave sensor signal processing methods of lighting device, comprising: obtains the inductive signal of microwave induced head acquisition;Calculate the spectrum value of the inductive signal;Read microwave induced sensitivity trigger threshold;Compare the spectrum value of inductive signal and the size of trigger threshold;When spectrum value is higher than trigger threshold, control lighting device opens illumination;When spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register;The average value of invalid spectrum value in counter register makees after gain as new microwave induced sensitivity trigger threshold the average value.The sensitivity trigger threshold of the invention dynamic change with noise spectrum energy enables inductor to be applicable in varying environment and eliminate hardware bring difference, keep higher sensitivity and prevent malfunction.
Description
Technical field
The present invention relates to inductive lightning fields, refer in particular to a kind of microwave sensor signal processing method of lighting device.
Background technique
It is greatly convenient same bringing as microwave sensor is in the extensive use of automatic illuminating control field
When, also there is the defect in some applications.Due to the consistency problem of difference and component in microwave induced first-born production, lead
It causes under same environmental condition, certain product high sensitivities, and other product sensitivity are low.In addition, in actual use, some
Inductor can malfunction due to environmental disturbances are big.In the prior art, usual situation needs artificial adjustment sensitivity knob, to make up
Homogeneity of product and environmental disturbances problem.This undoubtedly increases the circuit cost of product, also to test and use bring it is many not
Just.
The sensitivity control of the prior art is arranged by manual adjustment sensitivity knob, and single-chip microcontroller is according to setting
Parameter identifies the validity of inductive signal, realizes microwave signal detection and lighting device control.But the sensitivity of this mode
Trigger threshold is non-adjustable, and sensitivity difference of each product under same environmental condition can only artificially be adjusted by sensitivity knob, such as
The setting of fruit knob is improper, will result in false triggering or the insensitive problem of induction.
Summary of the invention
For the problems in above-mentioned background technology, the present invention provides a kind of microwave sensor signal processings of lighting device
Method, based on the spectrum value of inductive signal, the microwave induced sensitivity trigger threshold of adaptive update makes microwave sensor
Sensitivity it is more reasonable.
A kind of microwave sensor signal processing method of lighting device of the present invention, comprising:
Obtain the inductive signal of microwave induced head acquisition;
Calculate the spectrum value of the inductive signal;
Read microwave induced sensitivity trigger threshold;
Compare the spectrum value of inductive signal and the size of trigger threshold;When spectrum value is higher than trigger threshold, control illumination
Device opens illumination;When spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register;
The average value of invalid spectrum value in counter register makees after gain as new microwave induced spirit the average value
Sensitivity trigger threshold.
The present invention has reached spirit by the way that new trigger threshold is arranged in cumulative be averaged again of the spectrum value of multiple repairing weld signal
The effect living for controlling microwave induced sensitivity.
Specifically, the frequency acquisition of the inductive signal is that every millisecond of acquisition is primary.
Further, the time interval of the spectrum value for calculating inductive signal is every 256 milliseconds primary or 128 milliseconds
Once or 512 milliseconds primary.
It is that will definitely be adjusted flexibly that the spectrum value, which calculates time interval with single-chip microcontroller memory,.
Further, in the step of reading microwave induced sensitivity trigger threshold, the trigger threshold is set as most
High trigger threshold.
Initial trigger thresholding is highest trigger threshold, can reach sensitivity by most as low as the effect of height adjustment.
Further, it when the invalid spectrum value deposit register is 1000 full, averages to invalid spectrum value.
The invalid spectrum value storage number is that will definitely be adjusted flexibly with single-chip microcontroller memory.
Further, the average value of the invalid spectrum value increases 10%-20% and touches as new microwave induced sensitivity
Send out thresholding.
Preferably, the average value of the invalid spectrum value increases by 15% as new microwave induced sensitivity trigger threshold.
The average value of invalid spectrum value is taken, then makes a certain amount of gain as new microwave induced sensitivity trigger gate
Limit, it can be achieved that microwave sensitivity self study adjust function, make sensitivity trigger threshold with noise spectrum energy dynamic change,
To reduce influence of the environment to inductive head sensitivity.
Specifically, when spectrum value is higher than trigger threshold, control lighting device opens the step of illuminating and includes:
When spectrum value is higher than trigger threshold, detects whether to have turned on lighting device, be controlled if not opening lighting device
Lighting device opens illumination;Extend the time for opening lighting device if having turned on lighting device.
Specifically, when spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register
The step of include:
When spectrum value is lower than trigger threshold, detects whether to have turned on lighting device, be controlled if having turned on lighting device
Lighting device is closed, and this spectrum value labeled as invalid spectrum value and is stored in register;By this if not opening lighting device
Spectrum value is labeled as invalid spectrum value and is stored in register.
It is made comparisons with inductive signal spectrum value and trigger threshold, is then lighted higher than thresholding, then extinguished lower than thresholding, Neng Goushi
When, efficiently be applied to inductive lightning field.
Further, the present invention also provides a kind of readable storage medium, control program is stored thereon, it is characterised in that:
The microwave sensor signal processing of the lighting device as described in above-mentioned any one is realized when the control program is executed by processor
Method.
Further, the present invention also provides a kind of computer control system, including reservoir, processor and it is stored in institute
State the control program that can be executed in reservoir and by the processor, it is characterised in that: the processor executes the control journey
The microwave sensor signal processing method of the lighting device as described in above-mentioned any one is realized when sequence.
In order to the clearer understanding present invention, a specific embodiment of the invention is illustrated below with reference to Detailed description of the invention.
Detailed description of the invention
Fig. 1 is the microwave sensor signal processing method flow diagram of the lighting device of an embodiment of the present invention.
Specific embodiment
Referring to Fig. 1, its microwave sensor signal processing method process for the lighting device of an embodiment of the present invention
Schematic diagram.
A kind of microwave sensor signal processing method of lighting device of the present invention, comprising:
Obtain the inductive signal of microwave induced head acquisition;
Calculate the spectrum value of the inductive signal;
Read microwave induced sensitivity trigger threshold;
Compare the spectrum value of inductive signal and the size of trigger threshold;When spectrum value is higher than trigger threshold, control illumination
Device opens illumination;When spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register;
The average value of invalid spectrum value in counter register makees after gain as new microwave induced spirit the average value
Sensitivity trigger threshold.
It is described microwave induced to refer to that inductive switch is opened automatically when someone comes into induction zone, and reaches lighting demand
It opens, load appliance is started to work, and start-up study system, as long as human body does not leave induction zone, load appliance will be continued working.When
After human body leaves induction zone, inductor starts computation delay, and delay terminates, and inductor switch is automatically closed, and load appliance stops
Work.
The frequency spectrum is the distribution curve of frequency, and complex oscillation is decomposed into the resonance oscillation different with frequency of amplitude difference, this
The amplitude of a little resonance oscillations is called frequency spectrum by the figure of frequency permutation.Spectrum energy and trigger door threshold pair are obtained in the present invention
Than realizing intelligent control.
The trigger threshold refers to when reaching some preset numerical value, and controller issues open command, is equivalent to one and opens
It closes.Trigger threshold initial in the present embodiment is the default value of single-chip microcontroller, i.e. highest trigger threshold.Incuding spectrum value is more than to be somebody's turn to do
Trigger threshold, i.e., controllable lighting device open illumination.
Register is the high speed storing component of limited memory capacity, they can be used to temporary instruction, data and address.In
In the control unit of central processor, the register for including has command register (IR) and program counter (PC).In central processing
In the arithmetic and logic unit of device, register has accumulator (ACC).
The present invention has reached spirit by the way that new trigger threshold is arranged in cumulative be averaged again of the spectrum value of multiple repairing weld signal
The effect living for controlling microwave induced sensitivity.
The lighting device can be the intelligent-inductions lighting devices such as LED sense light, radar Projecting Lamp, infrared induction lamp.
Specifically, the frequency acquisition of the inductive signal is that every millisecond of acquisition is primary.
Further, in the present embodiment, the time interval of the spectrum value for calculating inductive signal is every 256 millisecond one
It is secondary.
In other alternate embodiments, the time interval of the spectrum value for calculating inductive signal can be every 128
Millisecond is primary or 512 milliseconds primary.
It is that will definitely be adjusted flexibly that the spectrum value, which calculates time interval with single-chip microcontroller memory,.
Further, in the step of reading microwave induced sensitivity trigger threshold, the trigger threshold is set as most
High trigger threshold.
Highest trigger threshold is set by initial trigger thresholding, can reach sensitivity from the minimum effect to height adjustment.Touching
When sending out thresholding highest, test environment, which need to reach higher inductive signal spectrum value, just can determine that lighting device opens illumination, test
Metering is cumulative in a register for the invalid spectrum value lower than trigger threshold that period collects, and is averaged when being accumulated to certain amount
Value, replaces with new trigger threshold after making gain, and new trigger threshold does not exceed the highest trigger threshold of original state, only meeting
As testing time increases gradually close to noise spectrum energy value gain 10%-20%, can achieve as ambient noise is dynamic
The effect of state adjustment inductive signal sensitivity.
Further, in the present embodiment, when the invalid spectrum value deposit register is 1000 full, to invalid spectrum value
It averages.
The invalid spectrum value storage number is that will definitely be adjusted flexibly with single-chip microcontroller memory.
Further, the average value of the invalid spectrum value increases 10%-20% and touches as new microwave induced sensitivity
Send out thresholding.
Preferably, the average value of the invalid spectrum value increases by 15% as new microwave induced sensitivity trigger threshold.
The average value of invalid spectrum value is taken, then makes a certain amount of gain as new microwave induced sensitivity trigger gate
Limit, it can be achieved that microwave sensitivity self study adjust function, make sensitivity trigger threshold with noise spectrum energy dynamic change,
To reduce influence of the environment to inductive head sensitivity.
In one embodiment, when spectrum value is higher than trigger threshold, control lighting device opens the step of illuminating and includes:
When spectrum value is higher than trigger threshold, detects whether to have turned on lighting device, be controlled if not opening lighting device
Lighting device opens illumination;Extend the time for opening lighting device if having turned on lighting device.
Specifically, when spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register
The step of include:
When spectrum value is lower than trigger threshold, detects whether to have turned on lighting device, be controlled if having turned on lighting device
Lighting device is closed, and this spectrum value labeled as invalid spectrum value and is stored in register;By this if not opening lighting device
Spectrum value is labeled as invalid spectrum value and is stored in register.
It is made comparisons with inductive signal spectrum value and trigger threshold, is then lighted higher than thresholding, then extinguished lower than thresholding, Neng Goushi
When, efficiently be applied to inductive lightning field.
Whether detection lighting device has been lighted, then controls it, and realizes the spectrum value when test environment senses
When lower than trigger threshold, lighting device extinguishes in time, when spectrum value is higher than trigger threshold, effect that lighting device is lighted in time.
Compared with the existing technology, have the characteristics that more efficient, energy saving.
The present invention uses the single-chip microcontroller with ADC function, it is ensured that the accuracy of signal acquisition.The every 1 millisecond of detection one of main program
Secondary inductive signal, spectrum value of every 256 milliseconds of calculating, when signal spectrum value is higher than trigger threshold, being judged to inductive signal has
The operation for imitating and open lighting device, when signal spectrum value is lower than trigger threshold, it is invalid to be judged to inductive signal, and by this
Invalid spectrum value is cumulative, and when being added to 1000 times, invalid spectrum value is averaged, and is further added by 10% to 20% as newly
Sensitivity trigger door threshold.
The present invention realizes microwave sensitivity self study adjustment function, according to the nothing in signal microwave induced in a period of time
Spectrum value, i.e. noise spectrum energy are imitated, increases by 10% to 20% as new sensitivity trigger threshold, in this way, sensitivity triggers
Thresholding is actually dynamic change with noise spectrum energy, and it is tired that this addresses the problem homogeneity of product problem brings
It disturbs.The noise of each product is different, and sensitivity trigger threshold is just different, and microwave sensor sensitivity of the invention can adapt to automatically
Inductive head and use environment do not need to be further added by sensitivity adjustment knob, avoid in the prior art since knob is arranged yet
The problems such as false triggering caused by improper or insensitive induction.The self-noise of inductor and application environment noise are considered together
It is interior, so that inductor is applicable in varying environment and is eliminated hardware bring difference, keep higher sensitivity and prevent malfunction.
Compared with the existing technology, the microwave sensor of adaptive sensitivity setting of the present invention, does not need setting spirit
Sensitivity adjusts knob, reduces product cost, it is poor to essentially eliminate the homogeneity of product as caused by microwave head and environmental disturbances
It is different, product reliability is improved, reduces malfunction and insensitive phenomenon in actual use, since sensitivity is according to reality
Service condition automatic adjustment, therefore it is more able to satisfy actual needs, keep the sensitivity of inductor more reasonable, is led for intelligent lighting
Domain provides a new sensitivity adjustment method.
The present invention is easy to operate compared with existing microwave signal sensitivity processing method, efficiently controllable, is more suitable for reality
Automatic illuminating control in the application of border, it is adaptive sensitive relative to the uncontrollable existing microwave sensor of sensitivity trigger threshold
The microwave sensor for spending setting is more convenient, meets the intelligent lighting demand of user.
The invention is not limited to above embodiment, if not departing from the present invention to various changes or deformation of the invention
Spirit and scope, if these changes and deformation belong within the scope of claim and equivalent technologies of the invention, then this hair
It is bright also to change and deform comprising these together.
Claims (10)
1. a kind of microwave sensor signal processing method of lighting device, comprising:
Obtain the inductive signal of microwave induced head acquisition;
Calculate the spectrum value of the inductive signal;
Read microwave induced sensitivity trigger threshold;
Compare the spectrum value of inductive signal and the size of trigger threshold;When spectrum value is higher than trigger threshold, lighting device is controlled
Open illumination;When spectrum value is lower than trigger threshold, this spectrum value labeled as invalid spectrum value and is stored in register;
The average value of invalid spectrum value in counter register makees after gain as new microwave induced sensitivity the average value
Trigger threshold.
2. a kind of microwave sensor signal processing method of lighting device according to claim 1, it is characterised in that: described
The frequency acquisition of inductive signal is that every millisecond of acquisition is primary.
3. a kind of microwave sensor signal processing method of lighting device according to claim 1, it is characterised in that: described
The time interval for calculating the spectrum value of inductive signal is that every 256 milliseconds primary or 128 milliseconds primary or 512 milliseconds primary.
4. a kind of microwave sensor signal processing method of lighting device according to claim 1, it is characterised in that: described
In the step of reading microwave induced sensitivity trigger threshold, the original state of the trigger threshold is set as highest trigger threshold.
5. a kind of microwave sensor signal processing method of lighting device according to claim 1, which is characterized in that described
The step of average value of invalid spectrum value, includes: in counter register
When the invalid spectrum value deposit completely 1000, register, average to the invalid spectrum value in the register.
6. a kind of microwave sensor signal processing method of lighting device according to claim 1, which is characterized in that described
Average value is made after gain as the step of new microwave induced sensitivity trigger threshold to include: by the flat of the invalid spectrum value
Mean value increases 10%-20% as new microwave induced sensitivity trigger threshold.
7. a kind of microwave sensor signal processing method of lighting device according to claim 1, it is characterised in that: when frequency
When spectrum is higher than trigger threshold, control lighting device opens the step of illuminating and includes:
When spectrum value is higher than trigger threshold, detects whether to have turned on lighting device, illumination is controlled if not opening lighting device
Device opens illumination;Extend the time that lighting device opens illumination if having turned on lighting device.
8. a kind of microwave sensor signal processing method of lighting device according to claim 1, it is characterised in that: when frequency
When spectrum is lower than trigger threshold, include: by this spectrum value labeled as invalid spectrum value and the step of being stored in register
When spectrum value is lower than trigger threshold, detects whether to have turned on lighting device, illumination is controlled if having turned on lighting device
Device is closed, and this spectrum value labeled as invalid spectrum value and is stored in register;If not opening lighting device, by this frequency spectrum
Value is labeled as invalid spectrum value and is stored in register.
9. a kind of readable storage medium, stores control program thereon, it is characterised in that: when the control program is executed by processor
Realize the microwave sensor signal processing method of the lighting device as described in claim 1 to 8 any one.
10. a kind of lighting system, including lighting device, reservoir, processor and it is stored in the reservoir and can be by institute
State the control program of processor execution, it is characterised in that: the processor realizes such as claim 1 when executing the control program
To the microwave sensor signal processing method of lighting device described in 8 any one.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636915.6A CN109511206B (en) | 2018-12-29 | 2018-12-29 | Microwave inductor signal processing method of lighting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811636915.6A CN109511206B (en) | 2018-12-29 | 2018-12-29 | Microwave inductor signal processing method of lighting device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109511206A true CN109511206A (en) | 2019-03-22 |
CN109511206B CN109511206B (en) | 2019-12-31 |
Family
ID=65755797
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811636915.6A Active CN109511206B (en) | 2018-12-29 | 2018-12-29 | Microwave inductor signal processing method of lighting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109511206B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110793150A (en) * | 2019-11-18 | 2020-02-14 | 珠海格力电器股份有限公司 | Adaptive adjustment method of capacitive touch key, wire controller and air conditioner |
CN114375085A (en) * | 2022-01-11 | 2022-04-19 | 广州蜜蜂生态科技有限公司 | Control method and device of wardrobe lamp |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104570144A (en) * | 2013-10-24 | 2015-04-29 | 展讯通信(上海)有限公司 | Self-adaptive induction threshold adjusting system and method for proximity sensor |
CN104678828A (en) * | 2013-12-03 | 2015-06-03 | 南充鑫源通讯技术有限公司 | Microwave induction control method and microwave induction control device |
CN105101506A (en) * | 2014-04-16 | 2015-11-25 | 东莞巨扬电器有限公司 | Lamp with passive human body infrared sensing device and adjusting method thereof |
US20170123058A1 (en) * | 2015-11-04 | 2017-05-04 | University Of Hawaii | Systems and methods for detection of occupancy using radio waves |
-
2018
- 2018-12-29 CN CN201811636915.6A patent/CN109511206B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104570144A (en) * | 2013-10-24 | 2015-04-29 | 展讯通信(上海)有限公司 | Self-adaptive induction threshold adjusting system and method for proximity sensor |
CN104678828A (en) * | 2013-12-03 | 2015-06-03 | 南充鑫源通讯技术有限公司 | Microwave induction control method and microwave induction control device |
CN105101506A (en) * | 2014-04-16 | 2015-11-25 | 东莞巨扬电器有限公司 | Lamp with passive human body infrared sensing device and adjusting method thereof |
US20170123058A1 (en) * | 2015-11-04 | 2017-05-04 | University Of Hawaii | Systems and methods for detection of occupancy using radio waves |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110793150A (en) * | 2019-11-18 | 2020-02-14 | 珠海格力电器股份有限公司 | Adaptive adjustment method of capacitive touch key, wire controller and air conditioner |
CN110793150B (en) * | 2019-11-18 | 2020-10-27 | 珠海格力电器股份有限公司 | Adaptive adjustment method of capacitive touch key, wire controller and air conditioner |
CN114375085A (en) * | 2022-01-11 | 2022-04-19 | 广州蜜蜂生态科技有限公司 | Control method and device of wardrobe lamp |
Also Published As
Publication number | Publication date |
---|---|
CN109511206B (en) | 2019-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108419453B (en) | Lighting lamp control method and device and lighting lamp | |
WO2018129716A1 (en) | Intelligent light control system and method | |
CN109511206A (en) | A kind of microwave sensor signal processing method of lighting device | |
CN107808669B (en) | Voice control method, intelligent home system, storage medium and computer equipment | |
CN110049606B (en) | Lamp control method, device and system and computer readable storage medium | |
CN104110787B (en) | Method and system for controlling air conditioner | |
CN106247567B (en) | A kind of air conditioning control method and device | |
CN104750421A (en) | Touch screen operation method and device for mobile terminal | |
CN106338924A (en) | Method and device for automatically adjusting operation parameter threshold of equipment | |
CN106922058B (en) | Control method, the device and system of lamps and lanterns | |
CN107166686A (en) | Computer-readable recording medium, air conditioner and its control method and its control device | |
US20140239822A1 (en) | Lighting Control Method, Computer Program Product and Lighting Control System | |
KR102218348B1 (en) | Smart lighting control system | |
CN108357421A (en) | A kind of ceiling light control system based on light sensor | |
CN204188825U (en) | Dual module infrared microwave movement detector | |
CN106247527A (en) | Utilize control model at night that air-conditioning carries out the method and device of control at night | |
CN203934077U (en) | A kind of radar inductive lightning light fixture | |
CN107830559A (en) | Control method and household electrical appliance, the storage medium of a kind of household electrical appliance | |
CN110113233B (en) | Smart home lighting system control method, system and storage medium | |
CN113220189A (en) | Intelligent household equipment, display control method and storage medium | |
Arifin et al. | Development of automated microcontroller-based lighting control system for indoor room implementation | |
CN208016081U (en) | A kind of Intelligent House Light system based on Internet of Things | |
CN108377596A (en) | Keyboard lamp control device, method and the computer with the device | |
CN107975913A (en) | Control method, system, readable storage medium storing program for executing and the smart machine of air-conditioning | |
CN108983842A (en) | Air engine and the method, apparatus for adjusting indoor illumination |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
EE01 | Entry into force of recordation of patent licensing contract |
Application publication date: 20190322 Assignee: Ningbo aolaimin Control Technology Co.,Ltd. Assignor: GUANGZHOU PANYU AUROLITE ELECTRICAL Ltd. Contract record no.: X2022440000170 Denomination of invention: A kind of microwave sensor signal processing method of lighting device Granted publication date: 20191231 License type: Common License Record date: 20220921 |
|
EE01 | Entry into force of recordation of patent licensing contract |