Intelligent digital type infrared induction controllerTechnical field
The present invention relates to a kind of monolithic processor controlled automaton, particularly relate to a kind of intelligent digital type infrared induction controller.
Background technology
At present, common infrared induction controller great majority all are to adopt mimic channel to realize that it is bigger that product reliability is influenced by electronic devices and components, and the circuit complexity on the market, and volume is big, the power consumption height; Can only be the corresponding a kind of function of a kind of circuit on the use-pattern, the realization of difference in functionality then will change component parameters for a short time, greatly then will change circuit, uses very inconvenient.
Chinese patent once disclosed a kind of " a kind of infrared induction controller " (CN2588475Y, November 26 2003 day for announcing), include control circuit, power circuit and application circuit three parts and constitute, wherein control circuit is to be connected to form successively by infrared emission circuit, infrared receiving circuit, filtering circuit.Its intelligent degree is low.
Chinese patent once disclosed a kind of " digital type infrared induction controller " (CN1529214A, open day on September 15th, 2004), comprised power circuit, electric source filter circuit, sensor circuit, watchdog circuit, microcomputer control circuit and driving circuit.Its circuit more complicated has been used single-chip microcomputer and watchdog circuit chip.
Summary of the invention
The objective of the invention is to overcome the existing deficiency of existing mimic channel mode controller, a kind of intelligent digital type infrared induction controller is provided, have characteristics such as energy-conserving and environment-protective, circuit is simple and reliable, volume is little.
For achieving the above object, the solution that the present invention taked is: a kind of intelligent digital type infrared induction controller, it comprises the power supply filter circuit of pressure-stabilizing, the infrared emission circuit, infrared receiving circuit D5, working indicating, single chip machine controlling circuit and driving circuit, working power VDD imports from terminal J1, bycapacitor C 1, C2 filtering, by passing throughcapacitor C 3 behind the three terminal regulator Q1 three-terminal voltage-stabilizing again, C4 filtering output stabilized voltage supply VCC powers to single chip machine controlling circuit, the core of single chip machine controlling circuit is single-chip microcomputer U1, working power VDD is connected with infrared tube D4 is anodal by resistance R 4 backs, infrared tube D4 negative pole links to each other with the collector that drives triode Q4, the base stage that drives triode Q4 is by resistance R 5,6 pin of potentiometer R6 and single-chip microcomputer U1 link to each other, 1 pin of infrared receiving circuit D5 links to each other with 4 pin of single-chip microcomputer U1,3 pin of infrared receiving circuit D5 link to each other with 5 pin of single-chip microcomputer U1, the positive pole of indication diode D3 links to each other by 7 pin ofresistance R 3 and single-chip microcomputer U1, drive triode Q2, the emitter of the Q3 working power VDD that is connected, drive be connected 1 pin of terminal J2 of triode Q2 collector and driving triode Q5 collector, drive be connected 2 pin of terminal J2 of triode Q3 collector and driving triode Q6 collector, the 1 pin connecting resistance R2 of terminal J2 links to each other with driving triode Q3 base stage, the 2 pin connecting resistance R1 of terminal J2 link to each other with the base stage that drives triode Q2, the base stage of driving triode Q5 links to each other by 3 pin of resistance R 7 and single-chip microcomputer U1, the base stage of driving triode Q6 links to each other by 2 pin of resistance R 8 and single-chip microcomputer U1, drives the emitter of triode Q4,2 pin of infrared receiving circuit D5, the negative pole of indication diode D3,8 pin of single-chip microcomputer U1, drive triode Q5, the grounded emitter of Q6.
The present invention is by Single-chip Controlling radiating circuit emission infrared ray, form reflection by object (as certain part of human body), single-chip microcomputer reads the state of infrared receiving circuit again and handles corresponding task, and control Driver Circuit carries out corresponding action, and its good effect is: adopt the single-chip microcomputer design, antijamming capability is strong, stable performance, volume is little, energy-conserving and environment-protective, shortcoming such as viral cross-infection, the peculiar smell that can avoid direct contact bath device to bring is big.
Description of drawings
Fig. 1 is an intelligent digital type infrared induction controller power supply filter circuit of pressure-stabilizing electrical connection diagram.
Fig. 2 is an intelligent digital type infrared induction controller single chip machine controlling circuit electrical connection diagram.
Fig. 3 is an intelligent digital type infrared induction controller infrared emission circuit electrical connection diagram.
Fig. 4 is an intelligent digital type infrared induction controller infrared receiving circuit electrical connection diagram.
Fig. 5 is an intelligent digital type infrared induction controller working indicating electrical connection diagram.
Fig. 6 is an intelligent digital type infrared induction controller driving circuit electrical connection diagram.
Embodiment
The present invention will be further described below in conjunction with embodiment and accompanying drawing thereof.
Referring to Fig. 1-Fig. 6, a kind of intelligent digital type infrared induction controller, it comprises the power supply filter circuit of pressure-stabilizing, the infrared emission circuit, infrared receiving circuit D5, working indicating, single chip machine controlling circuit and driving circuit, working power VDD imports from terminal J1, bycapacitor C 1, C2 filtering, by passing throughcapacitor C 3 behind the three terminal regulator Q1 three-terminal voltage-stabilizing again, C4 filtering output stabilized voltage supply VCC powers to single chip machine controlling circuit, the core of single chip machine controlling circuit is single-chip microcomputer U1, working power VDD is connected with infrared tube D4 is anodal by resistance R 4 backs, infrared tube D4 negative pole links to each other with the collector that drives triode Q4, the base stage that drives triode Q4 is by resistance R 5,6 pin of potentiometer R6 and single-chip microcomputer U1 link to each other, 1 pin of infrared receiving circuit D5 links to each other with 4 pin of single-chip microcomputer U1,3 pin of infrared receiving circuit D5 link to each other with 5 pin of single-chip microcomputer U1, the positive pole of indication diode D3 links to each other by 7 pin ofresistance R 3 and single-chip microcomputer U1, drive triode Q2, the emitter of the Q3 working power VDD that is connected, drive be connected 1 pin of terminal J2 of triode Q2 collector and driving triode Q5 collector, drive be connected 2 pin of terminal J2 of triode Q3 collector and driving triode Q6 collector, the 1 pin connecting resistance R2 of terminal J2 links to each other with driving triode Q3 base stage, the 2 pin connecting resistance R1 of terminal J2 link to each other with the base stage that drives triode Q2, the base stage of driving triode Q5 links to each other by 3 pin of resistance R 7 and single-chip microcomputer U1, the base stage of driving triode Q6 links to each other by 2 pin of resistance R 8 and single-chip microcomputer U1, drives the emitter of triode Q4,2 pin of infrared receiving circuit D5, the negative pole of indication diode D3,8 pin of single-chip microcomputer U1, drive triode Q5, the grounded emitter of Q6.
Referring to Fig. 6, drive triode Q2 collector and also connect voltage stabilizing diode D1 negative pole, voltage stabilizing diode D1 positive pole connects voltage stabilizing diode D2 positive pole, and voltage stabilizing diode D2 negative pole connects and drives triode Q3 collector.Driving circuit is taked the voltage stabilizing measure, improve the reliability of circuit.
Referring to Fig. 6, terminal J2 connects bistable electromagnetic valve one, realizes with the model program of washing one's hands automatically.Automatically close water after the people enters the automatic water outlet of induction zone, and the people leaves, continuous effluent can be closed water in 45 seconds automatically.
Referring to Fig. 6, terminal J2 connects bistable electromagnetic valve two, uses urinal bath model program.When the people entered induction zone after 2 seconds, according to whether frequently using (using more than 2 times in 1 minute) to carry out the phase one wash by water, the people leaves the back and (if use greater than 10 seconds, washed by water 5 seconds according to the length of service time; If be less than 10 seconds, wash bywater 3 seconds) carry out subordinate phase and wash by water.Unmanned use auto-flushing was 3 seconds in 12 hours.
Referring to Fig. 6, terminal J2 connects bistable electromagnetic valve three, uses closet stall bath model program.Respond to after 6 seconds effectively when the people enters induction zone, the length that the people left after 5 seconds according to service time (if use greater than 40 seconds, was washed by water 10 seconds; If be less than 20 seconds, wash by water 5 seconds) carry out subordinate phase and wash by water.Unmanned use auto-flushing was 3 seconds in 12 hours.
Referring to Fig. 6, terminal J2 connects the motor valve, uses closet stall motor valve bath model program.Respond to after 6 seconds effectively when the people enters induction zone, carry outsubordinate phase bath 3 seconds after the people leaves 5 seconds.Unmanned use auto-flushing was 3 seconds in 12 hours.
Referring to Fig. 6, terminal J2 connects bistable electromagnetic valve four, uses vegetable dish water swivel model program.Respond to water outlet automatically, respond to and close water automatically, continuous effluent was closed water in 2 minutes automatically.