The inductor of infrared dual-beam set a distance and inducing method thereof
Technical field
The present invention relates to a kind of infrared inductor, particularly relate to a kind of inductor and inducing method thereof of infrared dual-beam set a distance.
Background technology
Infrared sensor can be applicable to need to be to human body near carrying out pinpoint place, as: sensing sanitary appliance, ATM, automatic door bell, burglar alarm etc.At above-mentioned applied infrared inductor, generally adopt active type infrared induction mode or position sensitive detectors part at present, its processing procedure is the infrared ray that infrared transmitter is launched certain wavelength, after human body reflection, by infrared remote receiver, judge this reflected signal strength or calculate distance of reaction, realizing automatic induction judgement.The problem that the infrared inductor of this type exists is: the object reaction susceptibility to different colours, different roughness is different, white, ganoid object is strong to infrared reflection of light, shows as distance of reaction far away; Black, a little less than surface exists irreflexive object to infrared reflection of light, show as that distance of reaction is short, even induction, therefore affect the normal use of product.
Summary of the invention
The present invention, in order to overcome the deficiency of above-mentioned prior art, provides a kind of distance of reaction and measured object width of presetting, thereby realize, to black and surface, exists diffuse reflection object to carry out accurately inductor and the inducing method thereof of the infrared dual-beam set a distance of judgement.
In order to achieve the above object, the inductor of infrared dual-beam set a distance of the present invention and the technical scheme of inducing method thereof are:
The inductor of infrared dual-beam set a distance, described inductor comprises single-chip microcomputer, two groups of symmetrically arranged power valves and receiving tube, and power valve and receiving tube are all on same straight line, and two power valves are positioned at two receiving tubes inner sides, and wherein the point at a receiving tube place is B
1, the point at another receiving tube place is B
2, wherein the point at a power valve place is A
1, the point at another power valve place is A
2, measured object one end is positioned at a C
1, the other end is positioned at a C
2, power valve connects single-chip microcomputer by mission controller, and receiving tube connects single-chip microcomputer by receiving circuit; Distance between two power valves is A
1a
2with transmit direction angle be the width C of R, measured object
1c
2, the distance between two receiving tubes is B
1b
2with the inclination angle of receive direction be β, power valve is that distance of reaction is H to the vertical range of measured object, two tube-launched infrared rays respectively with measured object C
1, C
2intersect at two ends, and receiving tube receives light along C
1b
1, C
2b
2direction is the strongest; The width C of described measured object
1c
2for 20-120cm, the computing formula of two power valve transmit direction angle R is as follows:
R=180-2×arctan[2?H/(C
1C
2+A
1A
2)],
The computing formula at the inclination angle of two receiving tube receive directions is:
β=arctan[2 H/ (C
1c
2-B
1b
2)]; The principle of work of inductor of the present invention is: wherein when first group of power valve and receiving tube work, second group of power valve and receiving tube sleep, when second group of power valve and receiving tube work, first group of power valve and receiving tube sleep, two groups of power valves and receiving tube alternation; When first group of power valve and receiving tube work, object detected at surveyed area, first group of receiving circuit sends confirmation signal to single-chip microcomputer, and then when second group of power valve and receiving tube work, also object detected at surveyed area, second group of receiving circuit also sends confirmation signal to single-chip microcomputer, and through three above cycle criterions, two receiving tubes have all detected object at surveyed area more than three times, and single-chip microcomputer is by outside output signal.
Wherein when one group of power valve and receiving tube work, object detected at surveyed area, its receiving circuit is to single-chip microcomputer transmitted signal, when another group power valve and receiving tube work, object do not detected at surveyed area, not to single-chip microcomputer transmitted signal, thus also outside output signal of single-chip microcomputer.During inductor applications of the present invention, first set the width C between measured object
1c
2, the distance B between distance of reaction H, two receiving tubes
1b
2, the distance A between two power valves
1a
2, can draw the angle R of two power valves, the angle of inclination beta of receiving tube receive direction; According to actual needs, the width of measured object changes within the scope of 20-120cm, and the angle R of two power valves and the angle of inclination beta of receiving tube receive direction change thereupon.The inductor of different purposes, the angle of its two power valve is determined and is fixed by the fixed support of transmit-receive tube.
Inductor of the present invention is one group of dextrad fired infrared receiver being comprised of power valve and receiving tube wherein, its induction detectability take black or surface exist diffuse reflection object as reference design, induction detectability to black object, should be greater than the distance of reaction value of actual needs; Induction detectability to other color, is greater than the distance of reaction value of actual needs.
The left-hand fired infrared receiver being formed by another group power valve and receiving tube, it responds to the just the same of detectability and dextrad, and two groups of left and right fired infrared receivers are all greater than the distance of reaction value of actual needs to the detection distance of the object of black.
The present invention is when application, a measured object is greater than the parallel process in the place ahead of distance of reaction from distance-sensor, when the right front of testee at inductor, because the sensing capability of fired infrared receiver is greater than distance of reaction value, possible measured object is when distance-sensor is greater than induction setting value, one of them receiving tube just receives reflected signal, but at this moment because the infrared light that the other end of measured object can not send with another power valve is tangent, another receiving tube does not receive the infrared external reflection light that another power valve sends, the output of single-chip microcomputer no signal.
When testee arrives the dead ahead of inductor, because the distance of measured object and inductor is greater than distance of reaction, its two ends have been dropped in the formed angle of two power valves, the infrared light that two ends, left and right all can not be sent with two power valves intersects, two receiving tubes all do not receive reflected signal, the output of single-chip microcomputer no signal.
When testee arrives the left front of inductor, situation is the same with when the right front, and single-chip microcomputer no signal is exported.
Only has the dead ahead that arrives inductor when testee, and while being equal to or less than induction setting value with the distance of inductor, just can intersect with the infrared light that two power valves send the while at its two ends, or the infrared light simultaneously two power valves being sent blocks, two receiving tubes all will be received the signal of reflection, and single-chip microcomputer will have signal output.
When environmental parameter (temperature, humidity, brightness) changes, likely cause the increase of fired infrared receiver sensing capability or reduce, from analysis above, sensing capability increases, the actual sensed distance of this inductor will can not be had influence on, and reducing of sensing capability will likely cause reducing of this inductor actual sensed distance.
The present invention adopts and in advance the sensing capability of fired infrared receiver is compensated to method, environmental parameter is changed to the sensing capability that may cause and reduce, and the sensing capability that component parameter error causes reduces all to take into account.In circuit design, two groups of power valves are used respectively constant current source, guarantee that emissive power can not change in any environment; In receiving circuit, according to the bad border parameter of long-term accumulation, change the change of distance situation that reflective infrared inductor is produced, in advance the gain of amplifier is promoted accordingly, guarantee when bad border parameter changes, amplifier in receiving circuit also has enough gains, sends correct signal.
Inductor of the present invention can be applied to the industries such as sensing sanitary appliance, ATM, automatic door bell.
The present invention adopts reverse thinking, do not need the infrared signal to transmitting and receiving to carry out large quantitative analysis and processing, only utilize unique light path design, simple logic judgement and rich induction detectability, can realize the accurate judgement near distance to specific large wisp, and be not subject to the impact of testee color and surfaceness, cost of products is low, reliability is high, interference resistance is strong.
Accompanying drawing explanation
Now by reference to the accompanying drawings the present invention is further elaborated:
Fig. 1 is the structural representation of the inductor of infrared dual-beam setpoint distance of the present invention;
Fig. 2 is the fundamental diagram of inducing method of the inductor of infrared dual-beam setpoint distance of the present invention.
Embodiment
As shown in Figure 1 or 2, the inductor of infrared dual-beam set a distance of the present invention and inducing method thereof, described inductor comprises single-chip microcomputer 1, two groups of symmetrically arranged power valves 2,3 and receiving tubes 4,5, power valve 2,3 and receiving tube 4,5 are all on same straight line, two power valves 2,3 are positioned at two receiving tube 4,5 inner sides, and wherein the point at a receiving tube place is B
1, the point at another receiving tube place is B
2, wherein the point at a power valve place is A
1, the point at another power valve place is A
2, measured object one end is positioned at a C
1, the other end is positioned at a C
2, power valve 2,3 connects monolithic 1 by mission controller 6, and receiving tube 4,5 connects single-chip microcomputer 1 by receiving circuit 7; Distance between two power valves 2,3 is A
1a
2with transmit direction angle be the width C of R, measured object
1c
2, the distance between two receiving tubes 4,5 is B
1b
2with the inclination angle of receive direction be β, power valve 2,3 vertical ranges to measured object are that distance of reaction is H, the infrared ray of two power valves 2,3 transmittings respectively with measured object C
1, C
2intersect at two ends, and receiving tube 4,5 receives light along C
1b
1, C
2b
2direction is the strongest; The width C of described measured object
1c
2for 20-120cm, the computing formula of two power valve 2,3 transmit direction angle R is as follows:
R=180-2×arctan[2?H/(C
1C
2+A
1A
2)],
The computing formula of the angle of inclination beta of two receiving tube 4,5 receive directions is:
β=arctan[2 H/ (C
1c
2-B
1b
2)]; The principle of work of inductor of the present invention is: when first group of power valve 2 and receiving tube 4 work, second group of power valve 3 and receiving tube 5 sleeps, when second group of power valve 3 and receiving tube 5 work, first group of power valve 2 and receiving tube 4 sleeps, two groups of power valves 2,3 and receiving tube 4,5 alternations; When first group of power valve 2 and receiving tube 4 work, object detected at surveyed area, first group of receiving circuit 7 sends confirmation signal to single-chip microcomputer 1, and then when second group of power valve 3 and receiving tube 5 work, also object detected at surveyed area, second group of receiving circuit 7 sends confirmation signal also to single-chip microcomputer 1, and through three above cycle criterions, two receiving tubes 4,5 have all detected object at surveyed area more than three times, and single-chip microcomputer 1 is by outside output signal.
Wherein when one group of power valve 2 and receiving tube 4 work, object detected at surveyed area, its receiving circuit 7 is given single-chip microcomputer 1 transmitted signal, when another group power valve 3 and receiving tube 5 work, object do not detected at surveyed area, not to single-chip microcomputer 1 transmitted signal, thus also outside output signal of single-chip microcomputer 1.
During inductor applications of the present invention, first preset the width C between measured object
1c
2, 4,5 of distance of reaction H, two receiving tubes distance B
1b
2, 2,3 of two power valves distance A
1a
2, can draw the angle R of two power valves 2,3, the angle of inclination beta of receiving tube 4,5 receive directions; According to actual needs, the width C of measured object
1c
2within the scope of 20-120cm, change, the angle of inclination beta of the angle R of two power valves 2,3 and receiving tube 4,5 receive directions changes thereupon.The inductor of different purposes, the angle R of its two power valve 2,3 is determined and is fixed by the fixed support of transmit-receive tube.
Inductor of the present invention is one group of dextrad fired infrared receiver being comprised of power valve 2 and receiving tube 4 wherein, its induction detectability take black or surface exist diffuse reflection object as reference design, induction detectability to black object, should be greater than the distance of reaction value of actual needs; Induction detectability to other color, is greater than the distance of reaction value of actual needs.
The left-hand fired infrared receiver being formed by another group power valve 3 and receiving tube 5, it responds to the just the same of detectability and dextrad, and two groups of left and right fired infrared receivers are all greater than the distance of reaction value of actual needs to the detection distance of the object of black.
?the present invention is when application, a measured object is greater than the parallel process in the place ahead of distance of reaction H from distance-sensor, when the right front of testee at inductor, because the sensing capability of fired infrared receiver is greater than distance of reaction H value, when possible measured object is greater than distance of reaction H apart from inductor, one of them receiving tube 4 just receives reflected signal, but at this moment because the infrared light that the other end of measured object can not send with another power valve 3 intersects, another receiving tube 5 does not receive the infrared external reflection light that another power valve 3 sends, single-chip microcomputer 1 no signal output.
When the dead ahead of testee at inductor, because the distance of measured object and inductor is greater than distance of reaction H value, its two ends have been dropped in the formed angle R of two power valves 2,3, the infrared light that two ends, left and right all can not be sent with two power valves 2,3 intersects, two receiving tubes 4,5 all do not receive reflected signal, single-chip microcomputer 1 no signal output.
When testee arrives the left front of inductor, situation is the same with when the right front, and single-chip microcomputer 1 no signal is exported.
Only has the dead ahead that arrives inductor when testee, and while being equal to or less than the distance of reaction H value of setting with the distance of inductor, just can intersect with the infrared light that two power valves 2,3 send the while at its two ends, or the infrared light simultaneously two power valves 2,3 being sent blocks, two receiving tubes 4,5 all will be received the signal of reflection, and single-chip microcomputer 1 will have signal output.
The present invention adopts and in advance the sensing capability of fired infrared receiver is compensated to method, environmental parameter is changed to the sensing capability that may cause and reduce, and the sensing capability that component parameter error causes reduces all to take into account.In circuit design, two groups of power valves 2,3 are used respectively constant current source, guarantee that emissive power can not change in any environment; In receiving circuit 7, according to the bad border parameter of long-term accumulation, change the change of distance situation that reflective infrared inductor is produced, in advance the gain of amplifier is promoted accordingly, guarantee when bad border parameter changes, amplifier 71 in receiving circuit 7 also has enough gains, sends correct signal.