CN105848392B - A kind of lamps and lanterns human body sensing single-chip computer control system and its control method - Google Patents
A kind of lamps and lanterns human body sensing single-chip computer control system and its control method Download PDFInfo
- Publication number
- CN105848392B CN105848392B CN201610425209.1A CN201610425209A CN105848392B CN 105848392 B CN105848392 B CN 105848392B CN 201610425209 A CN201610425209 A CN 201610425209A CN 105848392 B CN105848392 B CN 105848392B
- Authority
- CN
- China
- Prior art keywords
- lamps
- lanterns
- chip computer
- processor
- single chip
- 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.)
- Active
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
- H05B47/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
The invention discloses a kind of lamps and lanterns human body sensing single-chip computer control system and its control method, control system includes that processor of single chip computer, photosensitive sensor, heat release infrared sensor, power supply circuit, lamps and lanterns, average value+median filtering algorithm unit, anti-interference filtration processing unit, duty cycle signals output circuit;The lamps and lanterns human body sensing single-chip computer control system has the advantages that circuit is simple, detection accuracy is high, high reliablity, external action are small, practical.The control method is based on above-mentioned control system, and the control method has the advantages that detection accuracy height, high reliablity, external action are small, practical.
Description
Technical field
The present invention relates to lamps and lanterns intelligent control method technical fields more particularly to a kind of lamps and lanterns human body sensing single-chip microcontroller to control
System and its control method.
Background technique
As essential device is illuminated, lamps and lanterns play highly important angle in the daily work life of people
Color, and the lamps and lanterns product that configurations exist in the prior art and are in various forms.
As intellectual technology constantly develops, lamps and lanterns are also just developing towards intelligentized direction, and have gone out in the prior art
Existing diversified Intelligent lamp product;It, can be according to environmental change come the work of intelligent control lamps and lanterns for Intelligent lamp
Operation mode.
However, for existing Intelligent lamp, in the actual use process, generally existing precision is high, can
Defect poor by property and big by external action.
Summary of the invention
The purpose of the present invention is to solve the shortcomings of the prior art and providing a kind of lamps and lanterns human body sensing single-chip microcontroller control system
System, lamps and lanterns human body sensing single-chip computer control system circuit is simple, detection accuracy is high for this, high reliablity, external action are small, practicability
By force.
Another object of the present invention is to provide a kind of lamps and lanterns human body sensing single-chip microcontroller control method, a kind of lamps and lanterns human bodies
Induction single-chip microcontroller control method detection accuracy height, high reliablity, external action are small, practical.
In order to achieve the above objectives, the present invention is achieved through the following technical solutions.
A kind of lamps and lanterns human body sensing single-chip computer control system, include processor of single chip computer, photosensitive sensor, heat release it is infrared
The output end of sensor, power supply circuit and lamps and lanterns, photosensitive sensor passes through average value+median filtering algorithm unit and single-chip microcontroller
Processor electrical connection, the output end that heat releases infrared sensor are electrically connected by anti-interference filtration processing unit with processor of single chip computer
It connects, power supply circuit is electrically connected with processor of single chip computer, and lamps and lanterns are electrically connected by duty cycle signals output circuit with processor of single chip computer
It connects.
Wherein, the lamps and lanterns are incandescent lamp, fluorescent lamp or LED light.
A kind of lamps and lanterns human body sensing single-chip microcontroller control method, includes following processing step, specifically:
Step A: processor of single chip computer passes through duty cycle signals output circuit output duty cycle signal to lamps and lanterns, with alarm lamp
Whether tool works normally;
Step B: processor of single chip computer releases the signal condition of infrared sensor according to photosensitive sensor, heat, passes through duty ratio
Signal output apparatus output duty cycle signal is acted to lamps and lanterns, lamps and lanterns according to preset functional requirement;
Step C: photosensitive sensor acquires signal, and processor of single chip computer is by average value+median filtering algorithm unit to light
Dependent sensor signal value obtained carries out processing analysis, when photosensitive sensor signal value obtained is greater than processor of single chip computer
Preset value when, return to step B;When photosensitive sensor signal value obtained is less than preset value, D is entered step;
Step D: heat releases infrared sensor acquisition human infrared signal, and processor of single chip computer is handled single by anti-interference filtration
Member releases infrared sensor infrared signal obtained to heat and carries out processing analysis, when to release infrared sensor human body obtained red for heat
When external signal is undesirable, step C is returned to;When heat, which releases infrared sensor human infrared signal obtained, to meet the requirements,
Enter step E;
Step E: processor of single chip computer exports default duty cycle signals to lamps and lanterns, lamps and lanterns by duty cycle signals output circuit
It is acted according to preset functional requirement.
The invention has the benefit that a kind of lamps and lanterns human body sensing single-chip computer control system of the present invention, includes
Processor of single chip computer, photosensitive sensor, heat release infrared sensor, power supply circuit and lamps and lanterns, and the output end of photosensitive sensor is logical
It crosses average value+median filtering algorithm unit to be electrically connected with processor of single chip computer, the output end that heat releases infrared sensor passes through anti-dry
It disturbs filter processing unit to be electrically connected with processor of single chip computer, power supply circuit is electrically connected with processor of single chip computer, and lamps and lanterns pass through duty
It is electrically connected than signal output apparatus with processor of single chip computer.Pass through said structure design, lamps and lanterns human body sensing single-chip microcontroller control
System has the advantages that circuit is simple, detection accuracy is high, high reliablity, external action are small, practical.
It is of the invention another to have the beneficial effect that a kind of lamps and lanterns human body sensing single-chip microcontroller control method of the present invention, packet
Following processing step has been included, specifically: step A: processor of single chip computer is believed by duty cycle signals output circuit output duty cycle
Number give lamps and lanterns, to confirm whether lamps and lanterns work normally;Step B: processor of single chip computer releases infrared sensing according to photosensitive sensor, heat
The signal condition of device, by duty cycle signals output circuit output duty cycle signal to lamps and lanterns, lamps and lanterns are wanted according to preset function
It asks and is acted;Step C: photosensitive sensor acquires signal, and processor of single chip computer passes through average value+median filtering algorithm unit pair
Photosensitive sensor signal value obtained carries out processing analysis, when photosensitive sensor signal value obtained is greater than single-chip microcontroller processing
When the preset value of device, step B is returned to;When photosensitive sensor signal value obtained is less than preset value, D is entered step;Step
D: heat releases infrared sensor acquisition human infrared signal, and processor of single chip computer releases heat by anti-interference filtration processing unit infrared
Sensor infrared signal obtained carries out processing analysis, releases infrared sensor human infrared signal obtained when heat and does not meet
It is required that when, return to step C;When heat, which releases infrared sensor human infrared signal obtained, to meet the requirements, E is entered step;Step
Rapid E: processor of single chip computer exports default duty cycle signals to lamps and lanterns by duty cycle signals output circuit, and lamps and lanterns are according to preset
Functional requirement is acted.It is designed by above-mentioned processing step, which has detection essence
Spend height, high reliablity, the advantage that external action is small, practical.
Detailed description of the invention
The present invention is further detailed below with attached drawing, but the embodiment in attached drawing is not constituted to this hair
Bright any restrictions.
Fig. 1 is the structural diagram of the present invention.
Specific embodiment
Below with reference to specific embodiment, the present invention will be described.
As shown in Figure 1, a kind of lamps and lanterns human body sensing single-chip computer control system, it is characterised in that: include single-chip microcontroller processing
Device, photosensitive sensor, heat release infrared sensor, power supply circuit and lamps and lanterns, the output end of photosensitive sensor by average value+in
Value filtering algorithm unit is electrically connected with processor of single chip computer, and the output end that heat releases infrared sensor is handled single by anti-interference filtration
Member is electrically connected with processor of single chip computer, and power supply circuit is electrically connected with processor of single chip computer, and lamps and lanterns export electricity by duty cycle signals
Road is electrically connected with processor of single chip computer.
It need to be explained further, lamps and lanterns of the invention are incandescent lamp, fluorescent lamp or LED light.
It should further be noted that the present invention can use following control for above-mentioned lamps and lanterns human body sensing single-chip computer control system
Method processed to carry out intelligent control to lamps and lanterns, specifically, a kind of lamps and lanterns human body sensing single-chip microcontroller control method, includes following work
Skill step:
Step A: processor of single chip computer passes through duty cycle signals output circuit output duty cycle signal to lamps and lanterns, with alarm lamp
Whether tool works normally;
Step B: processor of single chip computer releases the signal condition of infrared sensor according to photosensitive sensor, heat, passes through duty ratio
Signal output apparatus output duty cycle signal is acted to lamps and lanterns, lamps and lanterns according to preset functional requirement;
Step C: photosensitive sensor acquires signal, and processor of single chip computer is by average value+median filtering algorithm unit to light
Dependent sensor signal value obtained carries out processing analysis, when photosensitive sensor signal value obtained is greater than processor of single chip computer
Preset value when, return to step B;When photosensitive sensor signal value obtained is less than preset value, D is entered step;
Step D: heat releases infrared sensor acquisition human infrared signal, and processor of single chip computer is handled single by anti-interference filtration
Member releases infrared sensor infrared signal obtained to heat and carries out processing analysis, when to release infrared sensor human body obtained red for heat
When external signal is undesirable, step C is returned to;When heat, which releases infrared sensor human infrared signal obtained, to meet the requirements,
Enter step E;
Step E: processor of single chip computer exports default duty cycle signals to lamps and lanterns, lamps and lanterns by duty cycle signals output circuit
It is acted according to preset functional requirement.
Wherein, the signal acquisition decision procedure of the photosensitive sensor of step C is to compare calculation by sample mean and intermediate value
Method determines whether the size of signal meets preset requirement, and repeatedly sampling can be interfered to avoid strong light and of short duration exterior light.In addition, step
The acquisition decision procedure for the signal that heat in rapid D releases infrared sensor is to determine whether to accord with by anti-interference filtration processing mode
The mode for closing preset requirement is: multi collect carries out absolute average lower than default variable quantity and calculates as judgement intermediate value, and adopts
Increment in collection values carries out mean value calculation and variation tendency compares, to reach the signal for meeting human body sensing generation
It is required that removal interference signal.
By said structure design, lamps and lanterns human body sensing single-chip computer control system of the invention is simple with circuit, detects
Precision height, high reliablity, the advantage that external action is small, practical.For above-mentioned lamps and lanterns human body sensing single-chip microcontroller control method
For, be designed by above-mentioned processing step, with detection accuracy height, high reliablity, external action it is small, practical excellent
Point.
The above is only a preferred embodiment of the present invention, for those of ordinary skill in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, and the content of the present specification should not be construed as to the present invention
Limitation.
Claims (3)
1. a kind of lamps and lanterns human body sensing single-chip microcontroller control method, which is characterized in that it include following processing step, specifically:
Step A: processor of single chip computer by duty cycle signals output circuit output duty cycle signal to lamps and lanterns, to confirm that lamps and lanterns are
No normal work;
Step B: processor of single chip computer releases the signal condition of infrared sensor according to photosensitive sensor, heat, passes through duty cycle signals
Output circuit output duty cycle signal is acted to lamps and lanterns, lamps and lanterns according to preset functional requirement;
Step C: photosensitive sensor acquires signal, and processor of single chip computer is by average value+median filtering algorithm unit to photosensitive biography
Sensor signal value obtained carries out processing analysis, when photosensitive sensor signal value obtained is greater than the pre- of processor of single chip computer
If returning to step B when value;When photosensitive sensor signal value obtained is less than preset value, D is entered step;
Step D: heat releases infrared sensor acquisition human infrared signal, and processor of single chip computer passes through anti-interference filtration processing unit pair
Heat releases infrared sensor infrared signal obtained and carries out processing analysis, when heat releases infrared sensor human body infrared letter obtained
When number undesirable, step C is returned to;When heat, which releases infrared sensor human infrared signal obtained, to meet the requirements, enter
The acquisition decision procedure that heat in step E, step D releases the signal of infrared sensor is sentenced by anti-interference filtration processing mode
The fixed mode for whether meeting preset requirement is: the value that multi collect is lower than default variable quantity carries out absolute average and calculates conduct
Determine intermediate value, and acquire the increment in values and carry out mean value calculation and variation tendency and compare, meets human body to reach
Incude the semaphore request generated, removes interference signal;
Step E: processor of single chip computer export by duty cycle signals output circuit presets duty cycle signals to lamps and lanterns, lamps and lanterns according to
Preset functional requirement is acted.
2. a kind of lamps and lanterns human body sensing single-chip microcontroller control method according to claim 1, it is characterised in that: the lamps and lanterns are
Incandescent lamp, fluorescent lamp or LED light.
3. a kind of control system of application such as described in any item lamps and lanterns human body sensing single-chip microcontroller control methods of claim 1-2,
It is photosensitive it is characterized by comprising thering is processor of single chip computer, photosensitive sensor, heat to release infrared sensor, power supply circuit and lamps and lanterns
The output end of sensor is electrically connected by average value+median filtering algorithm unit with processor of single chip computer, and heat releases infrared sensor
Output end be electrically connected with processor of single chip computer by anti-interference filtration processing unit, power supply circuit is electrically connected with processor of single chip computer
It connects, lamps and lanterns are electrically connected by duty cycle signals output circuit with processor of single chip computer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610425209.1A CN105848392B (en) | 2016-06-15 | 2016-06-15 | A kind of lamps and lanterns human body sensing single-chip computer control system and its control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610425209.1A CN105848392B (en) | 2016-06-15 | 2016-06-15 | A kind of lamps and lanterns human body sensing single-chip computer control system and its control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105848392A CN105848392A (en) | 2016-08-10 |
CN105848392B true CN105848392B (en) | 2019-11-12 |
Family
ID=56576675
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610425209.1A Active CN105848392B (en) | 2016-06-15 | 2016-06-15 | A kind of lamps and lanterns human body sensing single-chip computer control system and its control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105848392B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106470518A (en) * | 2016-12-26 | 2017-03-01 | 轩脉家居科技(上海)有限公司 | A kind of Intelligent lamp automatically adjusting light |
CN106604474B (en) * | 2017-01-10 | 2018-07-27 | 东莞市铭皓照明有限公司 | A kind of heat releases infrared induction scene transformation lighting control system and its method |
CN110891343A (en) * | 2018-08-16 | 2020-03-17 | 东莞市铭皓照明有限公司 | Control method of pyroelectric infrared induction and light control automatic switching system |
CN110859015B (en) * | 2018-08-16 | 2021-11-05 | 东莞市铭皓照明有限公司 | Control method of Bluetooth wireless pyroelectric infrared sensor control system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101866151A (en) * | 2010-05-14 | 2010-10-20 | 东莞巨扬电器有限公司 | Control method and control system of infrared MCU control system |
CN202444671U (en) * | 2012-02-23 | 2012-09-19 | 浙江大学 | Energy-saving and eyesight-protecting type dimming LED (light-emitting diode) desk lamp |
CN203015202U (en) * | 2012-12-03 | 2013-06-19 | 山西宇轩伟业科技贸易有限公司 | Energy-saving device for automatically controlling lighting equipment |
-
2016
- 2016-06-15 CN CN201610425209.1A patent/CN105848392B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101866151A (en) * | 2010-05-14 | 2010-10-20 | 东莞巨扬电器有限公司 | Control method and control system of infrared MCU control system |
CN202444671U (en) * | 2012-02-23 | 2012-09-19 | 浙江大学 | Energy-saving and eyesight-protecting type dimming LED (light-emitting diode) desk lamp |
CN203015202U (en) * | 2012-12-03 | 2013-06-19 | 山西宇轩伟业科技贸易有限公司 | Energy-saving device for automatically controlling lighting equipment |
Also Published As
Publication number | Publication date |
---|---|
CN105848392A (en) | 2016-08-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105848392B (en) | A kind of lamps and lanterns human body sensing single-chip computer control system and its control method | |
CN103337190A (en) | Intelligent detection and alarming method for failure of traffic light | |
CN203151833U (en) | LED control system based on human body sensing | |
CN205755003U (en) | A kind of intelligent controller for road lamp | |
CN107018607A (en) | A kind of street lighting energy-saving control system and its control method | |
CN202713749U (en) | Intelligent inductive lamp | |
CN203872394U (en) | Light control apparatus based on Zigbee networking and human body infrared induction technology | |
CN103327692A (en) | Lighting energy-saving induction system and control method | |
CN209841200U (en) | Human body infrared movement detection device | |
CN110570676B (en) | Traffic signal lamp state monitoring system based on single chip microcomputer | |
CN205040085U (en) | Street lamp illumination control system | |
CN203015202U (en) | Energy-saving device for automatically controlling lighting equipment | |
CN203387743U (en) | Classroom light-controller node based on Zigbee | |
CN109152182A (en) | A kind of energy conservation induction road lamp system based on machine vision | |
CN205124044U (en) | Lighting system based on RS485 bus | |
CN105203862A (en) | Load detection device and method of commercial induction cooker | |
CN112601317A (en) | Intelligent control system for tunnel lighting | |
CN103442476A (en) | LED illuminating system infrared identification controller | |
CN101866151B (en) | Control method and control system of infrared MCU control system | |
CN111710180A (en) | Traffic signal control system | |
CN109257850B (en) | Induction lamp parameter configuration device and parameter configuration method | |
CN204741594U (en) | Road light automatic control system | |
CN201590923U (en) | Tri-technology bus type LED light-dimming inductor | |
CN108811259A (en) | A kind of method and inductor being placed in detection natural light in Led lamps and lanterns | |
CN219592388U (en) | Inductive switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Xu Feng Inventor after: Huang Lina Inventor before: Xu Feng |
|
GR01 | Patent grant | ||
GR01 | Patent grant |