A kind of human body infrared detection control circuit
Technical field
The utility model relates to a kind of infrared circuit, is meant a kind of human body infrared detection control circuit especially.
Background technology
Two kinds of comparatively common human detection modes are arranged in the market, the infrared circuit that rpyroelectric infrared detection mode and application-specific integrated circuit are formed, its control has certain limitation, and two kinds of control circuits all adopt special-purpose device cost higher, and power consumption is big, poor anti jamming capability.
The utility model content
Technical problem to be solved in the utility model is: provide a kind of human body infrared detection control circuit, with solving existing control circuit cost height, problem that power consumption is big.
For solving the problems of the technologies described above, the utility model adopts following technical scheme: a kind of human body infrared detection control circuit, and described control circuit comprises main control chip, infrared transmitter and infrared radiation receiving circuit; Wherein said main control chip comprises signal input part, signal output part and control signal output ends; The signal output part outgoing carrier signal of main control chip drives infrared emission circuit emission infrared ray, infrared radiation receiving circuit receives and is converted it into the signal input part input main control chip of stable digital signal by main control chip behind the infrared ray of human body reflected back, main control chip is judged the signal of input, by control signal output ends output control signal.
Preferably: described main control chip is the single-chip microcomputer of one eight pin.
Preferably: described infrared transmitter comprises infrared light-emitting diode, NPN triode, diode current-limiting resistance and base biasing resistor; Wherein base biasing resistor connects the signal output part of described main control chip and as the NPN triode of switch, described transistor collector connects the described current-limiting resistance of described light emitting diode parallel-series; Described main control chip regularly sends carrier signal from signal output port, and this carrier signal drives the light emitting diode place loop conducting of described triode control, light emitting diode emission infrared pulse signal.
Preferably: described infrared radiation receiving circuit comprises receiving infrared-ray and infrared signal is changed into infrared ray receiver module, source current filtering circuit and the signal filter circuit of digital signal; Wherein the source current filtering circuit is connected on the power port of infrared ray receiver module, and the signal filtering module is connected on the signal output port of infrared ray receiver module; The infrared ray receiver module receives and is converted it into the digital signal that main control chip can be discerned behind the infrared signal of human body reflected back, via the described main control chip of input after the signal filtering, wherein electric source filter circuit guarantees that the power supply of infrared ray receiver module is stable.
Preferably: described source current filtering circuit comprises power filtering capacitor and power supply current-limiting resistance, wherein power filtering capacitor and power supply current-limiting resistance are composed in series the loop, described infrared ray receiver module power port described power filtering capacitor in parallel and power supply current-limiting resistance.
Preferably: described signal filter circuit comprises the signal filtering electric capacity of signal current-limiting resistance and ground connection, and the signal current-limiting resistance is connected between the output terminal and main control chip input end of infrared ray receiver module, and signal filtering electric capacity in parallel.
Than prior art, the utlity model has following beneficial effect:
1, owing to can pass through the chip microcontroller function corresponding of low side, so the relative application-specific integrated circuit human body that adopts in the market, cost reduces by more than 50;
2, power consumption is little, and thermal value is little, therefore detects the higher reliability of control circuit according to having than application-specific integrated circuit;
3, electrical structure is simple, is that the hardware or the change of software are all more easy, can conveniently realize different detection distance and output signal mode by change program and hardware.
Description of drawings
Fig. 1 is circuit theory diagrams of the present utility model.
Embodiment
The utility model provides a kind of human body infrared detection control circuit, and control circuit comprises main control chip, infrared transmitter and infrared radiation receiving circuit three parts; Wherein main control chip comprises signal input part, signal output part and control signal output ends; The signal output part outgoing carrier signal of main control chip drives infrared emission circuit emission infrared ray, infrared radiation receiving circuit receives and is converted it into the signal input part input main control chip of stable digital signal by main control chip behind the infrared ray of human body reflected back, main control chip is judged the signal of input, by control signal output ends output control signal.
As shown in Figure 1, be an embodiment of the present utility model.Main control chip is the low-grade single-chip microcomputer U402 of one eight pin (8PIN).The output terminal of single-chip microcomputer U402 connects the base biasing resistor R404 of infrared transmitter.
Infrared transmitter comprises infrared light-emitting diode LED401, NPN triode TR401, diode current-limiting resistance R403 and base biasing resistor R404.Wherein base biasing resistor R404 connects the signal output part of single-chip microcomputer U402 and as the NPN triode TR401 of switch, the collector of triode TR401 connects LED 401 parallel-series current-limiting resistance R403, other end connection+5V the power supply of current-limiting resistance R403, the grounded emitter of triode TR401.
Single-chip microcomputer U402 regularly sends carrier signal from signal output port, and this carrier signal drives the LED 401 place loop conducting of triode TR401 control, LED 401 emission infrared pulse signals.
Infrared radiation receiving circuit comprises receiving infrared-ray and infrared signal is changed into infrared ray receiver module U401, source current filtering circuit and the signal filter circuit of digital signal.Wherein the source current filtering circuit is connected on the power port of infrared ray receiver module U401, and the signal filtering module is connected on the signal output port of infrared ray receiver module U401.Infrared ray receiver module U401 receives and is converted it into the digital signal that single-chip microcomputer U402 can discern behind the infrared signal of human body reflected back, via importing main control chip after the signal filtering, wherein electric source filter circuit guarantees that the power supply of infrared ray receiver module U401 is stable.
The source current filtering circuit comprises power filtering capacitor C401 and power supply current-limiting resistance R402.Wherein power filter electrochemical capacitor C401 and power supply current-limiting resistance R402 are composed in series the loop, the other end connection+5V power supply of power supply current-limiting resistance R402, the other end ground connection of electrochemical capacitor C401.Infrared ray receiver module U401 power port is while power filtering capacitor C401 and power supply current-limiting resistance R402 respectively.Signal filter circuit comprises signal filtering capacitor C 404 and signal current-limiting resistance R406.Signal current-limiting resistance R406 is connected between the output terminal and single-chip microcomputer U402 input end of infrared ray receiver module U401.Signal current-limiting resistance R406 simultaneously in parallel the signal filtering capacitor C 404 of ground connection, the shunt resistance R401 that strengthens power supply with signal is composed in series a loop.
The control signal output ends mouth connecting interface chip CN401 of single-chip microcomputer U402 connects other parts of human body infrared circuit by it.
Operating position of the present utility model is as follows.
The ultrared emission of the utility model, reception, the output of Single-chip Controlling signal all realize control by Single Chip Microcomputer (SCM) program.In order to reach the requirement of low-power consumption, adopt the intermittently used mode, every the regular hour, infrared-emitting diode is exported a group coding, detects by receiving port.Have thick thing to block between infrared transmitting tube (being LED401) and the reception IC (being U401), when nobody was close, infrared reception IC did not receive infrared signal, control output end mouth output this moment high level; When the people was close, infrared ray make reception IC receive correct infrared signal, and the control output end mouth output cycle was one second a pulse signal through the reflection of human body.
Infrared emission drive circuit utilizes the single-chip microcomputer timer to produce the carrier signal of 38KHZ, and the width that utilizes its timing controlled carrier signal outputs to the infrared-emitting diode driving circuit, thereby makes the different pulse signals of infrared-emitting diode emission beginning, end, signal 1, signal 0 etc.; The output signal of the infrared reception IC of receiving circuit terminates on the interruption pin of single-chip microcomputer, after it receives correct infrared emission signal, can produce the negative edge waveform at its output pin, thereby generation look-at-me, calculate the time span of twice negative edge interruption by program, and what judge reception according to the Cycle Length of unlike signal is any signal, judges when a string signal receives whether what receive is correct transmitting; If what receive is correct infrared signal, output control signal port is then exported one second pulse signal, otherwise is output as high level.
Current-limiting resistance R403 is the infrared-emitting diode current-limiting resistance, changes its resistance and can change transmitting range; Signal filtering capacitor C 404, signal current-limiting resistance R406 form the filtering circuit filtering external disturbance of infrared reception IC output signal, avoid producing rub-out signal because of undesired signal makes singlechip interruption.