CN104423297A - Pyroelectric infrared energy-saving intelligent switching device and switching control method - Google Patents

Pyroelectric infrared energy-saving intelligent switching device and switching control method Download PDF

Info

Publication number
CN104423297A
CN104423297A CN201310408534.3A CN201310408534A CN104423297A CN 104423297 A CN104423297 A CN 104423297A CN 201310408534 A CN201310408534 A CN 201310408534A CN 104423297 A CN104423297 A CN 104423297A
Authority
CN
China
Prior art keywords
pin
infrared
chip microcomputer
signal value
circuit
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.)
Pending
Application number
CN201310408534.3A
Other languages
Chinese (zh)
Inventor
李竹君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201310408534.3A priority Critical patent/CN104423297A/en
Publication of CN104423297A publication Critical patent/CN104423297A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors

Abstract

The invention relates to a pyroelectric infrared energy-saving intelligent switching device and a switching control method. The pyroelectric infrared energy-saving intelligent switching device comprises a shell provided with a Finel lens, an infrared remote controller, and an integrated circuit located in the shell, wherein the integrated circuit comprises an infrared receiving circuit capable of receiving a signal of the infrared remote controller, a pyroelectric infrared sensing circuit, a photosensitive circuit, an electric control circuit capable of performing controlling strong current by weak current, and a singlechip, after the on/off operation is set by the remote controller, the pyroelectric infrared energy-saving intelligent switching device can be turned on or turned off according to the current illumination and whether a person exists, and the pyroelectric infrared energy-saving intelligent switching device can turn on and turn off an electric appliance according to whether the person exists currently and the current illumination, so that not only is the power consumption cost saved, but also electric energy is saved.

Description

A kind of rpyroelectric infrared electricity-saving intelligent switch device and method of controlling switch
Technical field
The present invention relates to a kind of according to whether having people and intensity of illumination to control power switch device, a kind of rpyroelectric infrared electricity-saving intelligent switch device and method of controlling switch specifically.
Background technology
In life at ordinary times, often can run into and forget phenomenons such as turning off the light, especially in the classroom of university; sometimes whole classroom only has a few individual, and the lamp in whole room all opens, or classroom no one and lamp removes Chang Liang; these phenomenons not only cause and add spending, more cause the waste of electric energy.
Summary of the invention
The present invention is in order to solve the problem, and the work of more effective guarantee power switch and electrical equipment, provides a kind of rpyroelectric infrared electricity-saving intelligent switch device and method of controlling switch simultaneously.
The present invention is a kind of rpyroelectric infrared electricity-saving intelligent switch device, comprises the shell that Fresnel Lenses is housed, it is characterized in that: also comprise Infrared remote controller, be positioned at the integrated circuit of shell; Described Infrared remote controller comprises setting and opens button, confirms button, resets button, arranges pass button; Described integrated circuit comprise can accept Infrared remote controller signal infrared receiving circuit, rpyroelectric infrared sensing circuit, photosensitive circuit, light current control forceful electric power control electricity circuit, single-chip microcomputer; The infrared signal output pin of described infrared receiving circuit is connected with the counter pin with capture function of single-chip microcomputer, described rpyroelectric infrared sensing circuit be pyroelectric infrared sensor by the process of rpyroelectric infrared process integrated chip with amplify after signal output pin be connected with the ADC1 of Chip Microcomputer A/D acquisition function; The ADC2 that described photosensitive circuit and single-chip microcomputer have AD acquisition function is connected; Described control electricity circuit light current input pin is connected with an IO port pinout of single-chip microcomputer; Described pyroelectric infrared sensor is installed in the focus of Fresnel Lenses; Photoresistance is embedded in the outside on the surface of shell.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, what single-chip microcomputer adopted is ATmega8 single-chip microcomputer, 14 pin (ICP pin) of ATmega8 single-chip microcomputer are the pin connecting infrared receiving circuit, 24 pin are ADC1 pin, 25 pin are ADC2 pin, and 15 pin are as the IO port pinout be connected with control circuit light current input pin.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, the infrared receiving terminal that infrared receiving circuit adopts is HS0038, be connected with the power supply of 5V after the Vcc pin of HS0038 meets the resistance R14 in 100 Europe, Vcc pin meets the electrochemical capacitor C11 of 100uf electric capacity C10 and 104 simultaneously, the other end ground connection simultaneously of two electric capacity; OUT pin is connected with 14 pin of ATmega8 single-chip microcomputer be connected the resistance R15 of 50 kilo-ohms with 5V power supply after, GND pin ground connection.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, the sensor of rpyroelectric infrared sensing circuit adopts pyroelectric infrared sensor PIR300 (402), the signal that pyroelectric infrared sensor gathers amplifies by connecting integrated rpyroelectric infrared process chip BISS0001, and the signal after amplification is connected with 24 pin of ATmega8 single-chip microcomputer by 2 pins (VO pin) of BISS0001.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, the photoresistance of photosensitive circuit adopts the general photoresistance 5800B of 5MM environmental protection, 5800B one end ground connection, the other end connects 25 pin of ATmega8 single-chip microcomputer, 25 pin of ATmega8 single-chip microcomputer connect 50K resistance R10 simultaneously, and the other end of resistance is connected with 5V power supply.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, controlling circuit is take relay as light current control forceful electric power switch, connect the pin one termination 12V power supply of light current, the collector of another termination 9013 triode Q1, the grounded emitter of 9013 triode Q1, base stage connects the resistance R9 of 5 kilo-ohms, the other end of resistance R9 and 15 pin of ATmega8 single-chip microcomputer, the collector of 9013 triode Q1 connects the positive pole of diode D1, the negative pole of diode D1 is connected with 12V power supply, the power supply often driving pin one connection institute control electrical equipment of relay, another connecting circuit.
Rpyroelectric infrared electricity-saving intelligent switch device of the present invention, ATmega8 single-chip microcomputer uses external crystal oscillation circuit, and 9,10 pin of single-chip microcomputer connect outside 8M crystal oscillator, and electric capacity C6, C5 capacitance be connected with external crystal-controlled oscillation is 22uf.
A kind of method of controlling switch based on rpyroelectric infrared electricity-saving intelligent switch device of the present invention, it is realized by the operating procedure of Single Chip Microcomputer (SCM) program: a) the IO port of initialization single-chip microcomputer, AD gathers port, each register that initialization single-chip microcomputer is used and EEPROOM register, initialization external crystal-controlled oscillation, arranges crystal oscillator frequency; B) the infrared periodic quantity of Infrared remote controller 1 four buttons is write; The photosensor signal value that EEPROOM write is fixing; C) the seizure port initialization of single-chip microcomputer, catches the infrared signal of Infrared remote controller 1; D) if arrange the periodic quantity opened button or close button, then AD gathers current photosensor signal value storage, if confirmation button, then by addresses different for the photosensor signal value of current storage write EEPROOM, if replacement button, then the photosensor signal value that EEPROOM stores is returned initialization value, if catch be other infrared signal periodic quantities or there is no infrared signal periodic quantity, then undo; E) current photosensor signal value is gathered, judge current photosensor signal value and open button or close the photosensor signal value size write in EEPROOM in button operation, if when current photosensor signal value is less than out button or closes the photosensor signal value of button setting, the pin that then single-chip microcomputer is connected with control circuit is high level, and relay disconnects; If when current photosensor signal value is greater than out the photosensor signal value of button setting, then judge pyroelectricity signal value, if when rpyroelectric infrared signal value is the infrared signal value having people, the pin that single-chip microcomputer is connected with control circuit is low level, relay closes, and the photosensor signal value that EEPROOM stores reduces fixing number percent, the scope of fixed percentage is 10%-20%; If heat releases infrared signal value when being unmanned infrared signal value, the pin that single-chip microcomputer is connected with control circuit is high level, relay disconnection; F) when the pin be connected with control circuit when single-chip microcomputer is low level, single-chip microcomputer timer starts after after timing regular time, the photosensor signal value that EEPROOM stores is reverted to out button or close the value or initialized value, then determination step e again that button arranges.
The method of controlling switch of rpyroelectric infrared electricity-saving intelligent switch device of the present invention, the set time of single-chip microcomputer timing is 5 minutes.
The method of controlling switch of rpyroelectric infrared electricity-saving intelligent switch device of the present invention, when current photosensor signal value is greater than out the photosensor signal value of button setting, then judge pyroelectricity signal value, if when rpyroelectric infrared signal value is the infrared signal value having people, 15 pin of ATmega8 single-chip microcomputer are low level, and the photosensor signal value that EEPROOM stores reduces 15%.
The invention has the beneficial effects as follows: rpyroelectric infrared electricity-saving intelligent switch device, opening and illumination condition time closed of switch can be set by Infrared remote controller, people and current illumination two conditions whether can be had to carry out comprehensive descision device for switching according to current, not only save the spending of electricity consumption, more save electric energy.
Accompanying drawing explanation
Fig. 1 represents the structural representation of the shell that Fresnel Lenses is housed.
Fig. 2 represents that integrated circuit theory structure is intended to.
Fig. 3 represents infrared receiving circuit schematic diagram.
Fig. 4 represents rpyroelectric infrared sensing circuit schematic diagram.
Fig. 5 represents photosensitive circuit schematic diagram.
Fig. 6 represents the electric circuit diagram of control.
Fig. 7 represents ATmega8 external crystal oscillation circuit schematic diagram.
Fig. 8 represents ATmega8 single-chip microcomputer pin schematic diagram.
Fig. 9 represents the Single Chip Microcomputer (SCM) program schematic flow sheet based on rpyroelectric infrared electricity-saving intelligent switch device
In figure: 1, Infrared remote controller, 2, infrared receiving circuit, 3, rpyroelectric infrared sensing circuit, 4, photosensitive circuit, 5, external crystal oscillation circuit, 6, control circuit, 7, single-chip microcomputer, 8, Fresnel Lenses, 9, shell, 10, ATmega8 single-chip microcomputer, 301, HS0038, 302, electric capacity C1, 303, electrochemical capacitor C11, 304, resistance R14, 305 resistance R15, 401, BISS0001, 402, pyroelectric infrared sensor PIR300, 501, photoresistance 5800B, 502, resistance R10, 601, 9013 triode Q1, 602, relay (602), 603, diode D1, 604, electrical equipment, 701, 8M crystal oscillator, 702, electric capacity C6, 703, electric capacity C5.
Embodiment
Below in conjunction with the drawings and specific embodiments, the present invention is explained.
As depicted in figs. 1 and 2, a kind of rpyroelectric infrared electricity-saving intelligent switch device of the present invention's design, comprise Fresnel Lenses 8 is housed shell 9, Infrared remote controller 1, be positioned at the integrated circuit of shell.
Infrared remote controller 1 comprises setting and opens button, confirms button, resets button, arranges pass button; The infrared ray of different cycles value can be produced by different buttons.
Integrated circuit comprise can accept Infrared remote controller signal infrared receiving circuit 2, rpyroelectric infrared sensing circuit 3, photosensitive circuit 4, light current control forceful electric power control electricity circuit 6, single-chip microcomputer 7.
What single-chip microcomputer 7 adopted is ATmega8 single-chip microcomputer 10, the chip internal of ATmega8 single-chip microcomputer inherits the storer of larger capacity and enriches powerful hardware interface circuit, possess over-all properties and the feature of the high-grade single-chip microcomputer of AVR, but have employed little pin package, so price is only suitable with low-grade single-chip microcomputer, add the In-System Programmable characteristic of AVR single chip, so adopt ATmega8 single-chip microcomputer 10; As shown in Figure 8, we use 14 pin (ICP pin) of ATmega8 single-chip microcomputer 10 to be the pin connecting infrared receiving circuit 2,24 pin are that the AD of rpyroelectric infrared sensing circuit 3 gathers pin, 25 pin are that the AD of photosensitive circuit 4 gathers pin, and 15 pin are as the IO port pinout be connected with control circuit 6 light current input pin.
As shown in Figure 3, the infrared receiving terminal that infrared receiving circuit 2 adopts is HS0038 Receiver 301, HS0038 Receiver 301 is black epoxy encapsulation, does not disturb, included magnetic shielding by the light source such as daylight, fluorescent light, low in energy consumption, highly sensitive.In the situation that transmits with miniwatt power valve, its receiving range can reach 35m.It can with TTL, COMS circuit compatibility.HS0038 Receiver 301 is that light type is received in upright side; Its receives the frequency of infrared signal is 38 kHz, cycle about 26 μ s, can amplify signal simultaneously, detection, shaping, obtain the coded signal of TTL level; Three pins are ground ,+5 V power supplys, restituted signal output terminal respectively; The Vcc pin of HS0038 Receiver 301 connects the power supply of 5V, and Vcc pin meets 100uf electric capacity C10(302 simultaneously) and 104 electrochemical capacitor C11 (303), mainly filter action, the other end of two electric capacity is ground connection simultaneously; The resistance R15 (305) of OUT pin serial connection 50 kilo-ohms is connected with 14 pin of ATmega8 single-chip microcomputer 10 afterwards, when infrared receiving terminal receives infrared signal, ATmega8 single-chip microcomputer will capture this signal, then judge that the periodic quantity of signal is which keypress function of Infrared remote controller, carry out output order according to this function.
As shown in Figure 4, the sensor of rpyroelectric infrared sensing circuit (3) adopts pyroelectric infrared sensor PIR300 (402), pyroelectric infrared sensor be a kind of can the infrared ray launched of human body and export the sensor of electric signal, it can form anti-intrusion alarm or various automatic energy-saving device.Sensor comprises the pyroelectricity unit of two mutual serial or parallel connections.And make two electric polarization directions are just in time contrary, ambient background radiation is released element to two heat and is almost had identical effect, makes it produce to release electrical effect to cancel out each other, so detector no signal exports.Once in people's intrusion detection region, human infrared radiation by part mirror focusing, and is received by pyroelectricity unit, but the heat that two panels pyroelectricity unit receives is different, and pyroelectricity is also different, can not offset, report to the police through signal transacting.Human body has constant body temperature, and generally at 37 degree, so can send the infrared ray of specific wavelength about 10 μMs, passive type infrared probe carries out work by detecting the infrared ray of about 10 μMs of human-body emitting.Gather on infrared induction source after the infrared ray of about 10 μMs of human-body emitting is strengthened by Fresnel Lenses.Infrared induction source adopts pyroelectricity element usually, and this element will lose charge balance when receiving human infrared radiation temperature and changing, and outwards discharges electric charge, just can produce alerting signal after subsequent conditioning circuit processes after testing.The signal that pyroelectric infrared sensor gathers is amplified by integrated rpyroelectric infrared process chip BISS0001 (401), and the signal after amplification is connected with 24 pin of ATmega8 single-chip microcomputer 10 by 2 pins (VO pin) of BISS0001 (401).
As shown in Figure 5, the photoresistance of photosensitive circuit adopts the general photoresistance 5800B (501) of 5MM environmental protection, 5800B (501) one end ground connection, the other end connects 25 pin of ATmega8 single-chip microcomputer 10,25 pin of ATmega8 single-chip microcomputer 10 connect 50K resistance R10 (502) simultaneously, and the other end of resistance is connected with 5V power supply, along with the change of light intensity, the resistance of photoresistance also changes, thus the photosensor signal that single-chip microcomputer can gather also changes thereupon.
Controlling circuit (6) is for light current control forceful electric power switch with relay 602, as shown in Figure 6, connect the pin one termination 12V power supply of light current, the collector of another termination 9013 triode Q1 (601), the grounded emitter of 9013 triode Q1 (601), base stage connects the resistance R9 (605) of 5 kilo-ohms, the other end of resistance R9 (605) and 15 pin of ATmega8 single-chip microcomputer 10, the collector of 9013 triode Q1 (601) connects the positive pole of diode D1 (603), the negative pole of diode D1 (603) is connected with 12V power supply, the power supply often opening pin one connection institute's control electrical equipment (604) of relay (602), another connecting circuit, when 15 pin of ATmega8 single-chip microcomputer are low level, the collector and emitter conducting of 9013 triode Q1 (601), thus relay adhesive, the power supply of connecting circuit will conducting, when 15 pin of ATmega8 single-chip microcomputer 10 are high level, the collector and emitter of 9013 triode Q1 (601) disconnects, thus relay disconnects, the power supply of connecting circuit disconnects, thus the normal operation of control apparatus.
In addition, conveniently ATmega8 single-chip microcomputer 10 can count the external crystal oscillation circuit 5 that accurately have employed ATmega8 single-chip microcomputer 10, as shown in Figure 7,9,10 pin of ATmega8 single-chip microcomputer (10) connect outside 8M crystal oscillator 701, and the electric capacity C6 (702) be connected with external crystal-controlled oscillation, electric capacity C5 (703) capacitance are 22UF.
As shown in Figure 9, infrared electricity-saving intelligent switch device breaker in middle control method is mainly realized by the programmed run steps of single-chip microcomputer, step is as follows: a) the IO port of initialization single-chip microcomputer 7, AD gathers port, each register of initialization single-chip microcomputer 7 and EEPROOM register, initialization external crystal-controlled oscillation, sets crystal oscillator frequency, b) the infrared periodic quantity of Infrared remote controller 1 four buttons is write, first use signal picker, after the infrared periodic quantity of Infrared remote controller 1 four buttons is measured, its value is written in register, c) the seizure port initialization of single-chip microcomputer 7, when having Infrared remote controller 1 to single-chip microcomputer input capture signal, judges periodic quantity, d) if arrange the periodic quantity opened button or close button, then AD gathers current photosensor signal value storage, if confirmation button, then by addresses different for the photosensor signal value of current storage write EEPROOM, if supplement button with money, then the photosensor signal value that EEPROOM stores is returned initialization value, if what catch is other infrared signal periodic quantities, then undo, e) current photosensor signal value is judged, if when current photosensor signal value is less than out the photosensor signal value of button setting, the pin that then single-chip microcomputer 7 is connected with control circuit 6 is high level, relay disconnects, if when current photosensor signal value is greater than out the photosensor signal value of button setting, then judge pyroelectricity signal value, if when rpyroelectric infrared signal value is the infrared signal value having people, the pin that single-chip microcomputer 7 is connected with control circuit 6 is low level, relay closes, and the photosensor signal value that EEPROOM stores reduces fixing number percent, the scope of fixed percentage is 10%-20%, and we are set as 15% under normal circumstances, the fundamental purpose current collection photosensor signal value being added 10% be prevent appliances power source repeat connect, if heat releases infrared signal value when being unmanned infrared signal value, the pin that single-chip microcomputer 7 is connected with control circuit 6 is high level, relay disconnection, f) when single-chip microcomputer 7 is low level with the pin that is connected of control circuit 6, single-chip microcomputer timer starts timing, determination step e again after 5 minutes.

Claims (10)

1. a rpyroelectric infrared electricity-saving intelligent switch device, comprises the shell (9) that Fresnel Lenses (8) are housed, it is characterized in that: also comprise Infrared remote controller (1), be positioned at the integrated circuit of shell; Described Infrared remote controller (1) comprises setting and opens button, confirms button, resets button, arranges pass button; Described integrated circuit comprise can accept Infrared remote controller signal infrared receiving circuit (2), rpyroelectric infrared sensing circuit (3), photosensitive circuit (4), light current control forceful electric power control electricity circuit (6), single-chip microcomputer (7); The infrared signal output pin of described infrared receiving circuit (2) is connected with the counter pin with capture function of single-chip microcomputer (7), described rpyroelectric infrared sensing circuit (3) be pyroelectric infrared sensor by the process of rpyroelectric infrared process integrated chip with amplify after signal output pin be connected with the ADC1 of single-chip microcomputer (7) AD acquisition function; The ADC2 that described photosensitive circuit (4) and single-chip microcomputer (7) have AD acquisition function is connected; Described control electricity circuit (6) light current input pin is connected with an IO port pinout of single-chip microcomputer (7); Described pyroelectric infrared sensor (3) is installed in the focus of Fresnel Lenses (8); Photoresistance (4) is embedded in the outside on the surface of shell (9).
2. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1, it is characterized in that: what described single-chip microcomputer (7) adopted is ATmega8 single-chip microcomputer (10), 14 pin (ICP pin) of ATmega8 single-chip microcomputer (10) are the pin connecting infrared receiving circuit (2), 24 pin are ADC1 pin, 25 pin are ADC2 pin, and 15 pin are as the IO port pinout be connected with control circuit (6) light current input pin.
3. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1 and 2, it is characterized in that: the infrared receiving terminal that described infrared receiving circuit (2) adopts is HS0038(301), HS0038(301) Vcc pin meets the resistance R14(304 in 100 Europe) after be connected with the power supply of 5V, Vcc pin meets the electrochemical capacitor C11 (303) of 100uf electric capacity C10 (302) and 104 simultaneously, the other end ground connection simultaneously of two electric capacity; OUT pin is connected 50 kilo-ohms resistance R15 (305) with 5V power supply is connected with 14 pin of ATmega8 single-chip microcomputer (10) afterwards, GND pin ground connection.
4. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1 and 2, it is characterized in that: the sensor of described rpyroelectric infrared sensing circuit (3) adopts pyroelectric infrared sensor PIR300 (402), the signal that pyroelectric infrared sensor gathers is by connecting the amplification of integrated rpyroelectric infrared process chip BISS0001 (401), and the signal after amplification is connected with 24 pin of ATmega8 single-chip microcomputer (10) by 2 pins (VO pin) of BISS0001 (401).
5. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1 and 2, it is characterized in that: the photoresistance of described photosensitive circuit adopts the general photoresistance 5800B (501) of 5MM environmental protection, 5800B (501) one end ground connection, the other end connects 25 pin of ATmega8 single-chip microcomputer (10), 25 pin of ATmega8 single-chip microcomputer (10) connect 50K resistance R10 (502) simultaneously, and the other end of resistance is connected with 5V power supply.
6. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1 and 2, it is characterized in that: described control electricity circuit (6) is for light current control forceful electric power switch with relay (602), connect the pin one termination 12V power supply of light current, the collector of another termination 9013 triode Q1 (601), the grounded emitter of 9013 triode Q1 (602), base stage connects the resistance R9 (605) of 5 kilo-ohms, the other end of resistance R9 (605) and 15 pin of ATmega 8 single-chip microcomputer (10), the collector of 9013 triode Q1 (601) connects the positive pole of diode D1 (603), the negative pole of diode D1 (603) is connected with 12V power supply, the power supply often opening pin one connection institute's control electrical equipment (604) of relay (602), another connecting circuit (604).
7. rpyroelectric infrared electricity-saving intelligent switch device according to claim 1 and 2, it is characterized in that: described ATmega8 single-chip microcomputer (10) uses external crystal oscillation circuit (5), 9,10 pin of single-chip microcomputer connect outside 8M crystal oscillator (701), the electric capacity C6 (702) be connected with external crystal-controlled oscillation C5 (703) capacitance be 22uf.
8. based on a method of controlling switch for rpyroelectric infrared electricity-saving intelligent switch device according to claim 1, it is characterized in that: realized by the operation of Single Chip Microcomputer (SCM) program:
A) the IO port of initialization single-chip microcomputer 7, AD gathers port, each register that initialization single-chip microcomputer 7 is used and EEPROOM register, and initialization external crystal-controlled oscillation, arranges crystal oscillator frequency;
B) the infrared periodic quantity of Infrared remote controller 1 four buttons is write; The photosensor signal value that EEPROOM write is fixing;
C) the seizure port initialization of single-chip microcomputer 7, catches the infrared signal of Infrared remote controller 1;
D) if arrange the periodic quantity opened button or close button, then AD gathers current photosensor signal value storage, if confirmation button, then by addresses different for the photosensor signal value of current storage write EEPROOM, if replacement button, then the photosensor signal value that EEPROOM stores is returned initialization value, if catch be other infrared signal periodic quantities or there is no infrared signal periodic quantity, then undo;
E) current photosensor signal value is gathered, judge current photosensor signal value and open button or close the photosensor signal value size write in EEPROOM in button operation, if when current photosensor signal value is less than out button or closes the photosensor signal value of button setting, the pin that then single-chip microcomputer 7 is connected with control circuit 6 is high level, and relay disconnects; If when current photosensor signal value is greater than out the photosensor signal value of button setting, then judge pyroelectricity signal value, if when rpyroelectric infrared signal value is the infrared signal value having people, the pin that single-chip microcomputer 7 is connected with control circuit 6 is low level, relay closes, and the photosensor signal value that EEPROOM stores reduces fixing number percent, the scope of fixed percentage is 10%-20%; If heat releases infrared signal value when being unmanned infrared signal value, the pin that single-chip microcomputer 7 is connected with control circuit 6 is high level, relay disconnection;
F) when the pin be connected with control circuit 6 when single-chip microcomputer 7 is low level, single-chip microcomputer 7 timer starts after after timing regular time, the photosensor signal value that EEPROOM stores is reverted to out button or close the value or initialized value, then determination step e again that button arranges.
9. the method for controlling switch of rpyroelectric infrared electricity-saving intelligent switch device according to claim 8, is characterized in that: the set time of described single-chip microcomputer timing is 5 minutes.
10. the method for controlling switch of rpyroelectric infrared electricity-saving intelligent switch device according to claim 8, it is characterized in that: when described current photosensor signal value is greater than out the photosensor signal value of button setting, then judge pyroelectricity signal value, if when rpyroelectric infrared signal value is the infrared signal value having people, 15 pin of ATmega 8 single-chip microcomputer are low level, and the photosensor signal value that EEPROOM stores reduces 15%.
CN201310408534.3A 2013-09-10 2013-09-10 Pyroelectric infrared energy-saving intelligent switching device and switching control method Pending CN104423297A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310408534.3A CN104423297A (en) 2013-09-10 2013-09-10 Pyroelectric infrared energy-saving intelligent switching device and switching control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310408534.3A CN104423297A (en) 2013-09-10 2013-09-10 Pyroelectric infrared energy-saving intelligent switching device and switching control method

Publications (1)

Publication Number Publication Date
CN104423297A true CN104423297A (en) 2015-03-18

Family

ID=52972648

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310408534.3A Pending CN104423297A (en) 2013-09-10 2013-09-10 Pyroelectric infrared energy-saving intelligent switching device and switching control method

Country Status (1)

Country Link
CN (1) CN104423297A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827953A (en) * 2016-03-07 2016-08-03 乐视致新电子科技(天津)有限公司 Motion sensing interactive camera device of virtual reality helmet and on/off control method thereof
CN107153379A (en) * 2017-05-27 2017-09-12 广东技术师范学院 A kind of intelligent switch
CN109116779A (en) * 2018-08-27 2019-01-01 苏州矽典微智能科技有限公司 A kind of automatic switch controller and method of electrical equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2204059Y (en) * 1994-12-26 1995-07-26 李平 Infrared wave sensing detector with thermoelectric function
US20030117803A1 (en) * 2001-12-25 2003-06-26 Hsing Chen Energy saving type of light emitting diode lamp
CN201583838U (en) * 2009-10-21 2010-09-15 黄程云 Digital energy-saving controller with illumination priority and quasi-static detection functions
CN202005035U (en) * 2011-03-25 2011-10-05 山东大学 Classroom energy-saving illuminating system in colleges and universities based on wireless sensor network
CN203433315U (en) * 2013-09-10 2014-02-12 李竹君 Pyroelectric infrared power-saving intelligent switching device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2204059Y (en) * 1994-12-26 1995-07-26 李平 Infrared wave sensing detector with thermoelectric function
US20030117803A1 (en) * 2001-12-25 2003-06-26 Hsing Chen Energy saving type of light emitting diode lamp
CN201583838U (en) * 2009-10-21 2010-09-15 黄程云 Digital energy-saving controller with illumination priority and quasi-static detection functions
CN202005035U (en) * 2011-03-25 2011-10-05 山东大学 Classroom energy-saving illuminating system in colleges and universities based on wireless sensor network
CN203433315U (en) * 2013-09-10 2014-02-12 李竹君 Pyroelectric infrared power-saving intelligent switching device

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
王艳辉等: "基于热释感应与照度复合的节电开关研究与设计", 《中国现代教育装备》 *
程春: "大学教室智能照明控制器及其系统的研究与开发", 《中国优秀硕士学位论文全文数据库信息科技辑》 *
胡伟生等: "菲涅耳透镜与外壳", 《电子世界》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105827953A (en) * 2016-03-07 2016-08-03 乐视致新电子科技(天津)有限公司 Motion sensing interactive camera device of virtual reality helmet and on/off control method thereof
CN107153379A (en) * 2017-05-27 2017-09-12 广东技术师范学院 A kind of intelligent switch
CN109116779A (en) * 2018-08-27 2019-01-01 苏州矽典微智能科技有限公司 A kind of automatic switch controller and method of electrical equipment

Similar Documents

Publication Publication Date Title
CN204131805U (en) A kind of intelligent multifunction LED desk lamp
CN205490915U (en) Power saving intelligence cat eye
CN204301320U (en) A kind of water heater with human body sensing device
CN103884433A (en) Self-energy-obtaining dynamic and static human body detector and micropower low-false-positive and low-false-negative method
CN104423297A (en) Pyroelectric infrared energy-saving intelligent switching device and switching control method
CN203136237U (en) Indoor light control device
CN207334892U (en) A kind of heating system energy saver
CN201364390Y (en) Combination type detection sensor
CN203433315U (en) Pyroelectric infrared power-saving intelligent switching device
CN205212219U (en) Switch board with warning function of closing door
CN204534166U (en) Pyroelectric sensing lamp
CN203015202U (en) Energy-saving device for automatically controlling lighting equipment
CN206051594U (en) Water purification machine with human body sensing media presentation device
CN205949165U (en) District intelligence fountain
CN206672202U (en) A kind of cell security protection control system
CN208091845U (en) A kind of Fire Autoalarm
CN203761629U (en) Time-delay variable human body-induction LED drive circuit
CN205584554U (en) Intelligence LED lamp control system
CN208491554U (en) The pillow of automatic controlled height
CN209199285U (en) A kind of dormitory laser avoidance device
CN111811664A (en) Presence type human body induction sensor
CN201577124U (en) Household multimedia device
CN207706497U (en) City bus station lighting system
CN209514827U (en) A kind of SCM Based family comprehensive alarm circuit
CN205655933U (en) Intelligent transformer substation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150318