The utility model content
The purpose of this utility model is to overcome shortcoming of the prior art with not enough, and a kind of infrared induction controller with function of infrared remote control is provided.
The utility model is to realize by following technical scheme: a kind of infrared induction controller with function of infrared remote control comprises an infrared signal detection and amplifying circuit, a single-chip microcomputer, a relay drive circuit and an infrared remote receiver.This infrared signal detects and amplifying circuit comprises an infrared inductor and signal amplification circuit thereof.This relay drive circuit comprises a relay switch, a resistance and a NPN type triode, and this relay switch is connected to a pin of single-chip microcomputer by this NPN type triode and resistance.This infrared inductor is sent to this single-chip microcomputer with detected signal after signal amplification circuit amplifies, this single-chip microcomputer is sent to this relay drive circuit with control signal, drives the adhesive and the disconnection of relay switch by relay drive circuit; The infrared remote-controlled signal of this infrared remote receiver receiving remote also is sent to this infrared remote-controlled signal this single-chip microcomputer to realize Remote.
With respect to prior art, the utility model is by being provided with an infrared remote receiver to receive infrared control signal on infrared induction controller, can be by the Remote of Infrared remote controller realization to this infrared induction controller, can regulate the various duties and the running parameter thereof of this infrared induction controller at a distance, easy to use.
In order to understand the utility model more clearly, set forth embodiment of the present utility model below with reference to description of drawings.
Embodiment
Please consult Fig. 1 and Fig. 2 simultaneously, Fig. 1 is the structured flowchart of the utility modelinfrared induction controller 10, and Fig. 2 is a physical circuit schematic diagram shown in Figure 1.Infrared induction controller 10 of the present utility model comprises that power supplydecompression voltage regulator 11, single chipmachine controlling circuit 12, ambientbrightness testing circuit 13, ambienttemperature detection circuit 14,LED indicating circuit 15, infraredremote receiver circuit 16, infrared signal detect and amplifyingcircuit 17 and relay drive circuit 18.Opening or closing of theserelay drive circuit 18 control loadelectric lights 20; In parallel after power supplydecompression voltage regulator 11, single chipmachine controlling circuit 12, ambientbrightness testing circuit 13, ambienttemperature detection circuit 14,LED indicating circuit 15,16 series-parallel connections of infrared remote receiver circuit withrelay drive circuit 18; Infrared signal detects and amplifyingcircuit 17 is electrically connected with single chipmachine controlling circuit 12.
Particularly, power supplydecompression voltage regulator 11 comprises reduction voltage circuit and threeterminal regulator 112 of being made up of the electric capacity of a plurality of parallel connections and stabilivolt, and this threeterminal regulator 112 and a plurality of electric capacity in parallel with it and stabilivolt provide stabilized power source for single chipmachine controlling circuit 12, ambientbrightness testing circuit 13, ambienttemperature detection circuit 14,LED indicating circuit 15, infraredremote receiver circuit 16 after to AC power U lowering and stabilizing blood pressure.
Single chipmachine controlling circuit 12 comprises a single-chip microcomputer 122, ambientbrightness testing circuit 13, ambienttemperature detection circuit 14,LED indicating circuit 15, infraredremote receiver circuit 16 and infrared signal detect and amplifying circuit is connected with the pin of single-chip microcomputer 122 respectively, single-chip microcomputer 122 sends the closure and the disconnection that control signal to relaydrive circuit 18 its relays of control by behind the signal of each circuit of analysis-by-synthesis.
Ambientbrightness testing circuit 13 is made up of aphotoresistance 132 and a resistance ofseries connection.Photoresistance 132 sends luminance signal to single-chip microcomputer 122 after sensing ambient brightness.
Ambienttemperature detection circuit 14 is made up of a thermo-sensitive resistor 142 and a resistance of series connection.Thermo-sensitive resistor 142 sends temperature signal to single-chip microcomputer 122 after sensing environment temperature.
LED indicating circuit 15 comprises the resistance and a light emitting diode of series connection, by the single-chip microcomputer 122 control bright lamps of this light emitting diode or turn off the light, in order to show the various duties of thisinfrared induction controller 10.
Infrared signal detects and amplifyingcircuit 17 comprisesinfrared inductor 172, andinfrared inductor 172 is sent to single-chip microcomputer 122 after detected signal is passed throughfirst signal amplifier 174 andsecondary signal amplifier 176 and amplifying circuit amplification thereof.
Relay drive circuit 18 comprises arelay switch 182, aresistance 183 and aNPN type triode 184, and thisrelay switch 182 is connected with a pin of single-chip microcomputer 122 withresistance 183 by this NPN type triode 184.The conducting of single-chip microcomputer 122 by controlNPN type triode 184 whether and then control the closure and the disconnection of thisrelay switch 182, thereby the light on and off of control loadelectric light 20.
Infraredremote receiver circuit 16 comprises an infraredremote receiver 162, this infraredremote receiver 162 receives the Infrared remote controller remote control indicator signal of (figure does not show), then this indicator signal is converted into the binary code that single-chip microcomputer 122 can discern and sends single-chip microcomputer 122 to, thereby make single-chip microcomputer 122 control the duty of thisinfrared induction controller 10 or regulate the running parameter of thisinfrared induction controller 10 according to the indicator signal of infrared remote control.Wherein, this infraredremote receiver 162 can receive the working state signal of Infrared remote controller, comprises that the length of control load electric light is opened state, long state, test mode and the automatic sense state of closing; When test mode, single-chip microcomputer 122 is controlled the how bright lamp of all each induction 3 seconds of no matter external environment brightness, and lighting time does not have and postpones when responding to once more; When automatic sense state, only when ambient brightness was lower than setting value D, just according to the bright lamp of the induction ofinfrared inductor 172, lighting time postponed when responding to once more during the bright lamp in single-chip microcomputer 122 controls.In addition, this infraredremote receiver 162 can receive the remote control lighting time conditioning signal of Infrared remote controller, its with lighting time conditioning signal be sent to single-chip microcomputer 122, by the bright lamp duration of single-chip microcomputer 122 control, adjustable scope is: 4 seconds, 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, 10 minutes and 20 minutes are totally 8 gears.Further, this infraredremote receiver 162 can receive the ambient brightness conditioning signal of Infrared remote controller, and the ambient brightness control that detects according to ambientbrightness testing circuit 13 by single-chip microcomputer 122 bright lamp whether, adjustable scope is: less than the bright lamp of 10LUX, less than the bright lamp of 30LUX, less than the bright lamp of 100LUX and less than the bright lamp of 200LUX totally 4 gears.
See also Fig. 3, the signal processing flow figure that is single chipmachine controlling circuit 12 shown in Figure 1 when sense state automatically.The signal Processing step of this single chipmachine controlling circuit 12 is specific as follows:
S1: at first carry out the single-chip microcomputer initialization.
S2: judge whether timing time is 10ms: if yes, then enter step S3, if not, then return step S2.
S3: read infrared induction and survey signal.
S4: read the environment luminance detection signal.
S5: read infrared remote-controlled signal.
S6: judge whether bright lamp duration arrives setting T: if yes, then enter step S7, if not, then return step S2.
S7: turn off the light.
This shows that single-chip microcomputer 122 sends the closure and the disconnection that control signal to relaydrive circuit 18 its relays of control by behind the signal of each circuit of analysis-by-synthesis, thus the light on and off of control loadelectric light 20.
With respect to prior art, the utility model receives infrared control signal by an infrared remote receiver circuit is set on infrared induction controller, can be by the Remote of Infrared remote controller realization to this infrared induction controller, can regulate the various duties and the running parameter thereof of this infrared induction controller at a distance, easy to use.
The utility model is not limited to above-mentioned embodiment, if various changes of the present utility model or distortion are not broken away from spirit and scope of the present utility model, if these changes and distortion belong within claim of the present utility model and the equivalent technologies scope, then the utility model also is intended to comprise these changes and distortion.