CN105759684B - It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure - Google Patents

It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure Download PDF

Info

Publication number
CN105759684B
CN105759684B CN201610088427.0A CN201610088427A CN105759684B CN 105759684 B CN105759684 B CN 105759684B CN 201610088427 A CN201610088427 A CN 201610088427A CN 105759684 B CN105759684 B CN 105759684B
Authority
CN
China
Prior art keywords
module
power failure
chip microcomputer
power
soft
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.)
Expired - Fee Related
Application number
CN201610088427.0A
Other languages
Chinese (zh)
Other versions
CN105759684A (en
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.)
Nanchang Hangkong University
Original Assignee
Nanchang Hangkong University
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 Nanchang Hangkong University filed Critical Nanchang Hangkong University
Priority to CN201610088427.0A priority Critical patent/CN105759684B/en
Publication of CN105759684A publication Critical patent/CN105759684A/en
Application granted granted Critical
Publication of CN105759684B publication Critical patent/CN105759684B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25341Single chip programmable controller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Electronic Switches (AREA)

Abstract

Prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure the invention discloses one kind.Including power module, soft-touch control module, infrared sensing switch module, single-chip microcomputer central processing module, relay control module.Main connection:Power module is each module for power supply;Infrared sensing switch module, soft-touch control module and relay control module are connected with the I/O mouths of single-chip microcomputer, realize the control to load circuit;Power module includes a Voltage stabilizing module and a power failure is anti-from module is opened, and has a power failure and prevents that open module certainly is made up of charge-discharge circuit and rechargeable battery, stabilized power source is provided for infrared sensing switch module when having a power failure.The intelligent switch can realize that touch is cut-off and be automatically turned on under low light condition by human body sensing, the time-delay closing under unmanned active state, while intelligent switch be in opening waste electric energy when can prevent from sending a telegram here again after having a power failure.The intelligent switch is not only used in lighting circuit, also very practical to part household electrical appliance.

Description

It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure
Technical field
The invention belongs to Intelligent housing energy conserving system, and in particular to a kind of anti-red from opening by monolithic processor controlled power failure Outer sensing intelligent switch.
Background technology
In daily life, switch is seen everywhere, and the electrical equipment of substantially every kind of electricity consumption is required at least one open Close and control, allow people can oneself control apparatus use state.But in so Multi- Switch, most of switches are all to pass The mechanical switch of system could realize effective break-make, it is necessary to which human hand directly presses, and be pressed for some action inconvenient people Also not a duck soup when being pressed with, or the people having a bad memory usually forget that turning off switch causes not little waste, also have these machineries No memory function is switched, if forgetting to turn off switch after power failure, may proceed to keep it turned on when sending a telegram here, can cause next time Certain energy loss and waste.In more and more intelligentized modern society, such switch can not meet people's demand, People need the power down switch more automated of sensing.
In order to solve this problem, we have devised a kind of anti-infrared induction intelligent switch opened certainly that has a power failure.The switch Achievable touch is cut-off to be automatically turned on under low light condition by human body sensing, the time-delay closing under unmanned active state;Have Switch wastes the function of electric energy in opening when preventing from sending a telegram here again after having a power failure.Using simple singlechip technology and infrared Induction technology, realization low cost, simple and intelligence switch, the development to smart home are significant.
The content of the invention
It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure.
The present invention is realized using following scheme:It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure; Including power module, soft-touch control module, infrared sensing switch module, single-chip microcomputer central processing module and Control mould Block;Power module connects soft-touch control module and infrared sensing switch module, soft-touch control module and infrared sensing switch module Connect single-chip microcomputer central processing module, single-chip microcomputer central processing module connection relay control module;Power module includes one Voltage stabilizing module and a power failure prevent that Voltage stabilizing module prevents that opening block coupled in series certainly is connected with power failure, and power failure is anti-to open module certainly from module is opened It is made up of charge-discharge circuit and rechargeable battery;Two modules of infrared sensing switch module A containing pyroelectricity and pyroelectricity B, pyroelectricity A Include photo resistance;Intelligent switch cut-offs control model containing three kinds:Soft-touch control control model, the pyroelectricity containing photo resistance A control models and soft-touch control combine control model with pyroelectricity B.Voltage stabilizing module output VCC is soft-touch control module, single-chip microcomputer Central processing module and relay control module power supply, the anti-module output VCC2 that opens certainly that has a power failure supply for infrared sensing switch module Electricity, stabilized power source is provided for infrared sensing switch module when having a power failure, realize to have a power failure and prevent opening function certainly;Infrared sensing switch mould Block, soft-touch control module and relay control module are connected with the I/O mouths of single-chip microcomputer respectively.
The power module includes a Voltage stabilizing module and a power failure is anti-from module is opened, and Voltage stabilizing module is prevented opening certainly with having a power failure Block coupled in series connects, and has a power failure and prevents that open module certainly is made up of charge-discharge circuit and rechargeable battery.Wherein charge-discharge circuit is by diode D5, D6, voltage-regulator diode D7, resistance R3, R4 and a rechargeable battery composition.It is defeated that D5, D6 positive pole are connected to Voltage stabilizing module simultaneously Positive terminal VCC, D5, D6 negative pole gone out is connected with resistance R3 both ends respectively, and D5 negative poles are connected to resistance R4 one end simultaneously, and resistance R4 is another One termination voltage-regulator diode D7 negative poles, one rechargeable battery of voltage-regulator diode D7 both ends parallel connection, D6 negative poles, which connect power failure, to be prevented opening mould certainly Block output end VCC2.Voltage stabilizing module bridge rectifier D1~D4, filter capacitor C1, C3, prevents self-excitation by power transformer T1 Electric capacity C2 and a fixed three terminal regulator LM7805CK composition.220V electric mains are converted by power transformer and struck a bargain Low pressure 9V power supplys are flowed, then by bridge rectifier D1~D4 rectification and filter capacitor C1 filtering, it is steady at fixed three end Depressor LM7805CK Vin and GND both ends form a not sufficiently stable DC voltage, and this DC voltage passes through LM7805CK voltage stabilizing and C3 filtering just generate the 5V direct currents that precision is high, stability is good in the output end VCC of voltage-stabilized power supply Output voltage.Voltage stabilizing module output end VCC connection soft-touch controls module, single-chip microcomputer central processing module and relay control module Power end VCC, have a power failure anti-from the power end VCC2 for opening module output end VCC2 2 pyroelectricities of connection.The power module can be The modules of the system provide stable power supply, while the anti-power module that opens certainly that has a power failure can be in the state of unexpected have a power failure Infrared sensing switch module provides continual and steady power supply, eliminates the useful signal that infrared sensing switch module retains.
The soft-touch control module is by NE555 chips, electric capacity C6, C7, resistance R5 and sheet metal composition.C6 is connected in parallel on Between 1 pin and 5 pin of NE555 chips, C7 is connected in parallel between 1 pin of NE555 chips and 6 pin, and R5 is connected in parallel on the 7 of NE555 chips Between pin and 8 pin, sheet metal is connected on 2 pin of NE555 chips, and 4,8 pins of NE555 chips are connected, and 6,7 pins are connected, and 3 pin connect Single-chip microcomputer P0.2 pins.Usually because the non-inductive voltage of sheet metal, electric capacity C7 pass through the pin discharge offs of NE555 the 7th, the output of 3 pin For low level;When hand touches sheet metal, 2 pin are grounded by human body resistance, current potential step-down, and 3 pin output high level, power supply passes through R5 Charged to C7, when voltage rises to the 2/3 of supply voltage on electric capacity C7, the conducting of the pin of NE555 the 7th makes C7 discharge, and makes the 3rd pin defeated Go out and low level is changed back to by high level.The module can realize that human hand is often touched sheet metal and is once input to regard to triggering a high level Single-chip microcomputer central processing module, single-chip microcomputer central processing module are often received a high level signal, just will by internal processes The output signal of single-chip microcomputer central processing module is put instead, realizes that manual palpation controls intelligent switch break-make.
The infrared induction module is made up of two human body infrared induction modules of pyroelectricity A and pyroelectricity B.The pyroelectricity is HC-SR501 pyroelectric infrared-sensing modules, repeat triggering.Pyroelectricity A includes light-inductive, 1 end ground connection, 3 termination direct currents Source VCC2,2 ends are connected to single-chip microcomputer P0.0 ports, and pyroelectricity B 1 end ground connection, 3 ports meet dc source VCC2, and 2 ends are connected to monolithic Machine P0.1 ports.Pyroelectricity A is connected with single-chip microcomputer central processing module, is intelligently opened when can realize dim light someone by programme-control Guan Ziqi, people leave the control model that rear intelligent switch disconnects automatically;Pyroelectricity B and soft-touch control block combiner, pass through monolithic The control of machine central processing module can be achieved people and touch the sheet metal of soft-touch control module to connect intelligent switch, people leave after from dynamic circuit breaker Open the control model of intelligent switch.The pyroelectricity is repeatable triggering, i.e., after inductive output high level, in delay time section, If human body is movable in its induction range, its output will be always maintained at high level, will just be delayed high level after people leaves It is changed into low level.Pyroelectricity exports a high level after detecting the activity each time of human body, and the high level can postpone automatically One delay time section, and the starting point using the time of last time activity as delay time.Because the pyroelectricity is with last Once the movable time is the starting point of delay time, and if the delay time section does not terminate in the case of unexpected power-off, under Can then postpone this delay time section during secondary incoming call, cause incoming call and nobody when pyroelectricity output be high level, cause intelligently open Close automatic opening and cause energy waste, or even potential danger be present.But module is opened certainly by the way that the power failure in above-mentioned power module is anti-, When having a power failure, internal cell can make pyroelectricity not have situation about powering off suddenly the anti-module progress continued power that opens certainly that has a power failure, i.e., Work as outage, pyroelectricity can work on because not powering off, after people leaves, time delayses of the pyroelectricity in last time activity The a bit of time(The time can be manually set)Afterwards, high level is changed into low level automatically, hereafter if incoming call and nobody when, intelligence Can switch will not false triggering, be constantly in off-state, play the anti-self-priming of having a power failure.
The single-chip microcomputer central processing module mainly by crystal oscillating circuit, reset circuit and singlechip group into.MCS-51 monolithics There is a high gain inverting amplifier inside machine, pin XTAL1 and XTAL2 are input and the output of the amplifier respectively End, crystal oscillating circuit are made up of crystal oscillator Y1 and electric capacity C9, C10, and two electric capacity have fine setting effect, the frequency of crystal oscillator resonator to frequency Scope can select between 1.2MHz~12MHz.In order to reduce parasitic capacitance, oscillator stabilization, reliably is better ensured that Work, oscillator and electric capacity should be mounted so as to close with single-chip microcomputer pin XTALl and XTAL2 as far as possible.Reset circuit by C5, R1, R2 and button composition, when upper electric, switch on power, for electric capacity C5 equivalent to instantaneous short circuit ,+5V is added to RST ends, the high level Reset the full machines of 80C52.If, it is necessary to from the beginning program performs in running, button press SW-PB is only needed, then directly+5V is added RST ends are arrived, so as to reset.
The relay control module is made up of relay J and triode Q1.Triode Q1 base stages meet single-chip microcomputer P1.0 and drawn Pin, collector connecting relay J normally closed interlocks one end, grounded emitter, another termination positive source of relay J normally closed interlocks.When When Q1 base stage receives the high level from single-chip microcomputer P1.0, transistor emitter conducting, relay is switched to circuit, and triggering is normal Contact closure is opened, connects load circuit.Realize effective control to load circuit, soft-touch control control model, containing photo resistance Pyroelectricity A control models and soft-touch control combine control model with pyroelectricity B.
Beneficial effects of the present invention:(1)The control circuit and be that system is made up of 80C52 single-chip microcomputers, infrared sensor etc. System program, more intelligentized switch can be completed, so as to control all types of daily electric equipments, realize various predetermined work( Energy.Daily life is facilitated, also reduces energy consumption, reduces carbon emission, protects environment.(2)System architecture letter It is single, it is easy to make, cost is relatively low, and those complicated intelligent switch, also allow for installing on relative market.(3)Using soft-touch control Control model, circuit can be cut-off at any time, and mechanical switch has equivalent action, but it is more durable in use than mechanical switch, and can It is higher by property and sensitivity.(4)Using the pyroelectricity A control models containing photo resistance, it can realize that dim light opens certainly, unmanned power-off Intelligent switch automates, without manual control(5)Control model is combined with pyroelectricity B using soft-touch control.When light it is relatively strong and When artificially needing to open again, touching switch can be manually pressed by, then is opened, and opening state is remained in the case of someone after loosing one's grip State, people close a bit of time that is delayed after walking automatically.(6)Prevent opening function certainly with having a power failure.When intelligent switch is connected, in case of stopped Electricity, it can be ensured that incoming call and nobody when, intelligent switch disconnect, play safety utilization of electric power, save the effect of the energy.
Brief description of the drawings
Fig. 1 is the overall system architecture block diagram of the present invention.
Fig. 2 is power module circuitry figure of the present invention.
Fig. 3 is touching switch module circuit diagram of the present invention.
Fig. 4 is infrared sensing switch module circuit diagram of the present invention.
Fig. 5 is single-chip microcomputer central processing module circuit diagram of the present invention.
Fig. 6 is invention relay control module circuit diagram.
Fig. 7 is present system principle way circuit figure.
Fig. 8 is outside drawing of the present invention.
In figure:1st, power module, 2, infrared sensing switch module, 3, single-chip microcomputer central processing module, 4, Control Module, 5, soft-touch control module, 6, pyroelectricity A, 7, pyroelectricity B, 8, switch panel, 9, soft-touch control sheet metal.
Embodiment
In order to make it easy to understand, embodiments of the present invention are furtherd elucidate below in conjunction with the accompanying drawings.
Structure, operation principle and the course of work of the present invention are described in detail below in conjunction with the accompanying drawings:
Overall system architecture is as shown in figure 1, mainly include power module 1, soft-touch control module 5, infrared sensing switch mould Block 2, single-chip microcomputer central processing module 3 and relay control module 4;Power module 1 includes a Voltage stabilizing module and a power failure Anti- to open module certainly, Voltage stabilizing module prevents that opening block coupled in series certainly is connected with power failure, has a power failure and prevents opening module by charge-discharge circuit and charging certainly Battery forms;Two modules of infrared sensing switch module A containing pyroelectricity and pyroelectricity B, pyroelectricity A include photo resistance;Intelligence Switch cut-offs control model containing three kinds:Soft-touch control control model, the pyroelectricity A control models containing photo resistance and touch are opened Close and combine control model with pyroelectricity B.Voltage stabilizing module output VCC connection soft-touch controls module 5, single-chip microcomputer central processing module 3 With the power end of relay control module 4, have a power failure anti-from the heat opened in module output VCC2 connection infrared sensing switch module 2 Electric A and pyroelectricity B VCC2 is released, stabilized power source is provided for infrared sensing switch module when having a power failure, realizes to have a power failure and prevents opening work(certainly Energy;The pyroelectricity A and pyroelectricity B of infrared sensing switch module 2 output end connect respectively single-chip microcomputer U1 P0.0 and P0.1 ports, The output end of soft-touch control module 5 connects single-chip microcomputer U1 P0.2 ports, and relay control module 4 connects single-chip microcomputer U1 P1.0 ends Mouthful.
As shown in Fig. 2 the power module 1 includes a Voltage stabilizing module and a power failure is prevented opening module, Voltage stabilizing module certainly Prevent that opening block coupled in series certainly is connected with power failure, have a power failure and prevent that open module certainly is made up of charge-discharge circuit and rechargeable battery.Wherein discharge and recharge Circuit is made up of diode D5, D6, voltage-regulator diode D7, resistance R3, R4 and a rechargeable battery.D5, D6 positive pole connect simultaneously Positive terminal VCC, D5, D6 negative pole to Voltage stabilizing module output is connected with resistance R3 both ends respectively, and D5 negative poles are connected to resistance R4 simultaneously One end, another termination voltage-regulator diode D7 negative poles of R4, one rechargeable battery of voltage-regulator diode D7 both ends parallel connection, D6 negative poles connect power failure It is anti-to open module output end VCC2 certainly.Voltage stabilizing module by power transformer T1, bridge rectifier D1~D4, filter capacitor C1, C3, Prevent self-excitation capacitance C2 and a fixed three terminal regulator LM7805CK composition.220V electric mains are become by power transformer Change AC low-tension 9V power supplys into, then by bridge rectifier D1~D4 rectification and filter capacitor C1 filtering, fixed Three terminal regulator LM7805CK Vin and GND both ends form a not sufficiently stable DC voltage, and this DC voltage passes through LM7805CK voltage stabilizing and C3 filtering just generate the 5V direct currents that precision is high, stability is good in the output end VCC of voltage-stabilized power supply Output voltage.Voltage stabilizing module output end VCC connection soft-touch controls module, single-chip microcomputer central processing module and relay control module Power end VCC, have a power failure anti-from the power end VCC2 for opening module output end VCC2 2 pyroelectricities of connection.The power module can be The modules of the system provide stable power supply, while rechargeable battery can be opened in the state of unexpected have a power failure for infrared induction Close module and continual and steady power supply is provided, eliminate the useful signal that infrared sensing switch module retains.
As shown in figure 3, the soft-touch control module 5 is made up of NE555 chips, electric capacity C6, C7, resistance R5 and sheet metal 9. C6 is connected in parallel between 1 pin of NE555 chips and 5 pin, and C7 is connected in parallel between 1 pin of NE555 chips and 6 pin, and R5 is connected in parallel on NE555 Between 7 pin and 8 pin of chip, sheet metal 9 is connected on 2 pin of NE555 chips, and 4,8 pins of NE555 chips are connected, 6,7 pin phases Even, 3 pin connect single-chip microcomputer P0.2 pins.Usually because 9 non-inductive voltage of sheet metal, electric capacity C7 have been discharged by the pin of NE555 the 7th Finish, the output of 3 pin is low level;When hand touches sheet metal 9,2 pin are grounded by human body resistance, current potential step-down, the high electricity of 3 pin output Flat, power supply is charged by R5 to C7, and when voltage rises to the 2/3 of supply voltage on electric capacity C7, the conducting of the pin of NE555 the 7th makes C7 Electric discharge, the output of the 3rd pin is set to change back to low level by high level.The module can realize that human hand is often touched sheet metal 9 and once just triggered High level is input to single-chip microcomputer U1, and single-chip microcomputer U1 often receives a high level signal, just by monolithic by internal processes Machine U1 output signal is put instead, realizes that manual palpation controls intelligent switch break-make.
As shown in figure 4, the infrared induction module is made up of two human body infrared induction modules of pyroelectricity A and pyroelectricity B. The pyroelectricity is HC-SR501 pyroelectric infrared-sensing modules, repeats triggering.Pyroelectricity A includes light-inductive, 1 end ground connection, 3 Dc source VCC2 is terminated, 2 ends are connected to single-chip microcomputer P0.0 ports, and pyroelectricity B 1 end ground connection, 3 ports meet dc source VCC2, and 2 Terminate to single-chip microcomputer P0.1 ports.Pyroelectricity A is connected with single-chip microcomputer, intelligent switch when can realize dim light someone by programme-control From opening, people leaves the control model that rear intelligent switch disconnects automatically;Pyroelectricity B and soft-touch control block combiner, pass through single-chip microcomputer The sheet metal connection intelligent switch that people touches soft-touch control module can be achieved in control, and people leaves the rear automatic control for disconnecting intelligent switch Molding formula.The pyroelectricity is repeatable triggering, i.e., after inductive output high level, in delay time section, if human body is at it Induction range activity, its output will be always maintained at high level, and will just be delayed after people leaves high level being changed into low level.Heat is released Electric-examination exports a high level after measuring the activity each time of human body, and the high level can postpone a delay time section automatically, And the starting point using the time of last time activity as delay time.Due to the pyroelectricity using last time activity time as The starting point of delay time, and if the delay time section does not terminate in the case of unexpected power-off, can be then suitable during incoming call next time Prolong this delay time section, cause incoming call and nobody when pyroelectricity output be high level, cause intelligent switch automatic opening cause energy Source wastes, or even potential danger be present.But it is anti-from opening module by power failure in above-mentioned power module 1, when having a power failure inside electricity Pond can make pyroelectricity not have situation about powering off suddenly the anti-module progress continued power that opens certainly that has a power failure, that is, work as outage, heat Electricity is released because not powering off, can be worked on, after people leaves, pyroelectricity is in the last time movable time delayses a bit of time(Should Time can be manually set)Afterwards, high level is changed into low level automatically, hereafter if incoming call and nobody when, intelligent switch will not miss Triggering, is constantly in off-state, plays the anti-self-priming that has a power failure.
As shown in figure 5, the single-chip microcomputer central processing module 3 is mainly by crystal oscillating circuit, reset circuit and single-chip microcomputer U1 groups Into.There is a high gain inverting amplifier inside MCS-51 single-chip microcomputers, pin XTAL1 and XTAL2 are the amplifier respectively Input and output end, crystal oscillating circuit are made up of crystal oscillator Y1 and electric capacity C9, C10, and two electric capacity have fine setting effect, crystal oscillator to frequency The frequency range of resonator can select between 1.2MHz~12MHz.In order to reduce parasitic capacitance, oscillator is better ensured that It is stable, reliably work, oscillator and electric capacity should be mounted so as to close with single-chip microcomputer pin XTALl and XTAL2 as far as possible.Reset Circuit is made up of C5, R1, R2 and button, when upper electric, is switched on power, and for electric capacity C5 equivalent to instantaneous short circuit ,+5V is added to RST ends, The high level resets the full machines of 80C52.If, it is necessary to from the beginning program performs in running, button press SW-PB is only needed, then directly Connect and+5V is added to RST ends, so as to reset.
As shown in fig. 6, the relay control module 4 is made up of relay J and triode Q1.Triode Q1 base stage orders Piece machine U1 P1.0 pins, collector connecting relay J normally closed interlocks one end, grounded emitter, the relay J normally closed interlock other ends Connect positive source.When Q1 base stage receives the high level from single-chip microcomputer P1.0, the conducting of triode Q1 emitter stages, relay J Circuit is switched to, triggering normally opened contact closure, connects load circuit.Realize effective control to load circuit.
As shown in fig. 7, it is present system principle total figure.Civil power is converted to 5V low tensions by civil power by power module 1 Source powers for modules, and pyroelectricity A, pyroelectricity B and touching switch module signal output part are separately input to single-chip microcomputer U1 P0.0, P0.1 and P0.2 end, exported by program control signal, from P1.0 output signal control relays control module 4.Such as It is outside drawing of the present invention shown in Fig. 8, has pyroelectricity A 6 and pyroelectricity B 7 and soft-touch control module sheet metal 9 to be embedded in panel 8 Form above.
The specifically used step of this intelligent switch is as follows:
Under the last 1. light state, people is non-inductive by intelligent switch induction zone, when thinking to need to open, tangible soft-touch control The sheet metal of module, intelligent switch is opened, touching sheet metal again, then intelligent switch disconnects;Intelligence is disconnected not touching sheet metal People, which is gone for a season, in the state of switch can also disconnect intelligent switch automatically.
2. under dim light state, people, which enters intelligent switch induction zone, sensing, intelligent switch automatically turns on, and human body is in the range of Remain that opening state body, people are automatic for a period of time after leaving and disconnect intelligent switch, controlled without human hand.
3. in case of having a power failure under intelligent switch on-state, any state reset before intelligent switch is disconnection by internal battery State, next time, incoming call was off-state all the time, plays safety utilization of electric power, saves the effect of the energy.
It is emphasized that:It the above is only presently preferred embodiments of the present invention, not the present invention made any formal Limitation, every any simple modification, equivalent change and modification for being made to above example of technical spirit according to the present invention, In the range of still falling within technical solution of the present invention.

Claims (2)

1. a kind of prevented opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure;Including power module, soft-touch control module, Infrared sensing switch module, single-chip microcomputer central processing module and relay control module;It is characterized in that:Power module connection touches Switch module and infrared sensing switch module, soft-touch control module and infrared sensing switch module connect single-chip microcomputer central processing mould Block, single-chip microcomputer central processing module connection relay control module;Power module includes a Voltage stabilizing module and a power failure is anti- From module is opened, Voltage stabilizing module prevents that opening block coupled in series certainly is connected with power failure, has a power failure and prevents opening module certainly by charge-discharge circuit and charge electric Pond forms;Two modules of infrared sensing switch module A containing pyroelectricity and pyroelectricity B, pyroelectricity A include photo resistance;Intelligence is opened What is closed cut-offs control model containing three kinds:Soft-touch control control model, the pyroelectricity A control models containing photo resistance and soft-touch control Control model is combined with pyroelectricity B;Voltage stabilizing module output VCC is soft-touch control module, single-chip microcomputer central processing module and relay Device control module is powered, and the anti-module output VCC2 that opens certainly that has a power failure is infrared sensing switch module for power supply, is infrared sense when having a power failure Inductive switch module provides stabilized power source, realizes to have a power failure and prevents opening function certainly;Infrared sensing switch module, soft-touch control module and relay Device control module is connected with the I/O mouths of single-chip microcomputer central processing module respectively;
It is described have a power failure it is anti-from the charge-discharge circuit of module is opened by diode D5, D6, voltage-regulator diode D7, resistance R3, R4 and one Rechargeable battery forms;D5, D6 positive pole simultaneously be connected to Voltage stabilizing module output positive terminal VCC, D5, D6 negative pole respectively with resistance R3 Both ends connect, and D5 negative poles are connected to resistance R4 one end, another termination voltage-regulator diode D7 negative poles of resistance R4, voltage-regulator diode D7 simultaneously One rechargeable battery of both ends parallel connection, D6 negative poles, which connect power failure, to be prevented opening module output end VCC2 certainly;The VCC connections of Voltage stabilizing module output end The power end VCC of soft-touch control module, single-chip microcomputer central processing module and relay control module, have a power failure anti-defeated from module is opened Go out to hold the power end VCC2 of 2 pyroelectricities of VCC2 connections;
The pyroelectricity of the infrared sensing switch module is HC-SR501 pyroelectric infrared-sensing modules, repeats triggering;Heat is released Electric A includes light-inductive, and 1 end ground connection, 3 termination dc source VCC2,2 ends are connected to single-chip microcomputer P0.0 ports, pyroelectricity B 1 end Ground connection, 3 ports meet dc source VCC2, and 2 ends are connected to single-chip microcomputer P0.1 ports;Pyroelectricity A and single-chip microcomputer central processing module phase Even, for intelligent switch from opening, people leaves the control mould that rear intelligent switch disconnects automatically when can realize dim light someone by programme-control Formula;Pyroelectricity B and soft-touch control block combiner, controlled by single-chip microcomputer central processing module and people's touch soft-touch control mould can be achieved The sheet metal of block connects intelligent switch, and people leaves the rear automatic control model for disconnecting intelligent switch.
2. one kind as claimed in claim 1 is prevented opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure, it is characterized in that: The soft-touch control module is by NE555 chips, electric capacity C6, C7, resistance R5 and sheet metal composition;C6 is connected in parallel on the 1 of NE555 chips Between pin and 5 pin, C7 is connected in parallel between 1 pin of NE555 chips and 6 pin, and R5 is connected in parallel between 7 pin of NE555 chips and 8 pin, Sheet metal is connected on 2 pin of NE555 chips, and 4,8 pins of NE555 chips are connected, and 6,7 pins are connected, and 3 pin meet single-chip microcomputer P0.2 and drawn Pin;By the control of single-chip microcomputer central processing module internal processes, soft-touch control control model can be achieved.
CN201610088427.0A 2016-02-17 2016-02-17 It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure Expired - Fee Related CN105759684B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610088427.0A CN105759684B (en) 2016-02-17 2016-02-17 It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610088427.0A CN105759684B (en) 2016-02-17 2016-02-17 It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure

Publications (2)

Publication Number Publication Date
CN105759684A CN105759684A (en) 2016-07-13
CN105759684B true CN105759684B (en) 2018-04-10

Family

ID=56330845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610088427.0A Expired - Fee Related CN105759684B (en) 2016-02-17 2016-02-17 It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure

Country Status (1)

Country Link
CN (1) CN105759684B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106593182A (en) * 2016-11-18 2017-04-26 广西大学 Human-body induction type automatic window closing control circuit
CN111629469A (en) * 2019-02-28 2020-09-04 宁波创控智能科技有限公司 Intelligence LED lighting control panel

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7367028B2 (en) * 2001-08-14 2008-04-29 National Instruments Corporation Graphically deploying programs on devices in a system
CN201163360Y (en) * 2008-03-20 2008-12-10 陈金国 Energy-saving timing switch of household electrical appliance
CN201846326U (en) * 2010-06-23 2011-05-25 李溱 Energy saving infrared switch
CN201965456U (en) * 2011-01-14 2011-09-07 常州工学院 Infrared switch controller for electric appliances in classroom
US10067491B2 (en) * 2013-10-10 2018-09-04 Schlumberger Technology Corporation Automated drilling controller including safety logic

Also Published As

Publication number Publication date
CN105759684A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN101770248B (en) Intermittent power supply micropower standby control circuit
CN101426114B (en) Zero power consumption standby television set and implementing method thereof
CN101867293B (en) Batch type current consuming quasi-zero power consumption standby control circuit
CN205793566U (en) A kind of single live wire switch
CN108008803A (en) A kind of software and hardware on/off circuit and its method of work
CN101950820A (en) Static zero consumption energy-saving charging device
CN107037848A (en) A kind of intelligent domestic system based on Internet of Things
CN202906131U (en) General-type electricity-saving socket capable of being induced power-on and standby automatic power-off
CN102832701A (en) Solar intelligent household power supply system
CN105759684B (en) It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure
CN203481855U (en) Portable power supply device
CN201813355U (en) Single chip-based switch circuit with low stand-by power consumption
CN201397454Y (en) Intermittence-type power-supply micro-power-consumption standby control circuit
CN201307902Y (en) TV set with zero power consumption when standing by
CN204886393U (en) A power control system for intelligent gas meter
CN204089330U (en) A kind of adaptive power-supply battery supplies power with double circuit device
CN106707891B (en) A kind of remote control reception and key response circuit of extremely low power dissipation
CN202872455U (en) Solar smart home supply power system
CN109506320B (en) Air quantity detection system
CN213182362U (en) Power supply control device and electronic apparatus
CN107707230B (en) Intelligent control joint control power switch
CN202798444U (en) Circuit module capable of zero power consumption in a standby state
CN208766481U (en) A kind of small-power energy storage device intelligent power saving circuit
CN208112501U (en) Auxiliary power supply of photovoltaic inverter system
CN207164696U (en) A kind of low-power dissipation power supply

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180410

Termination date: 20190217