Abstract:
A compact single lens position sensor with adjustable range and detection zone utilizing two pairs of detectors, at least one of which is adjustable in position so as to produce unique signals when an object is in a near zone, ok zone, and far zone.

Description:
BACKGROUND OF THE INVENTION 
     The present invention provides a simple yet highly accurate device for producing a signal indicative of whether a given object is within an acceptable range of distances from the apparatus and also to provide a signal indicative of whether the object is beyond the near side of the acceptable range or beyond the far side of the acceptable range. Devices of this nature have uses in, for example, robot control where it is desired to have the robot arm move out and operate on an object so long as the object is within an acceptable range of the arm. Another example of possible use is in filling containers with material to determine that the level of material is in an acceptable range and neither too full nor too empty. It is also desirable that the equipment be compact for easy mounting on a robot arm or above a conveyer belt, that it be easy to adjust, quite accurate, and preferrably have a detection zone which may be set to predetermine desired acceptable limits while at the same time allowing for settings to adjust the distance between the apparatus and the remote object so that it may be used in various applications. 
     BRIEF DESCRIPTION OF THE INVENTION 
     The present invention provides such an apparatus with the use of an &#34;active&#34; range finding system in which a beam of radiation is projected to the object and the return radiation is focused on a plane containing two detectors which are mounted substantially edge to edge. When the object is at the exact desired distance, the return radiation will be focused in the area between the two detectors so both of the detectors will receive the same amount of radiation. Thereafter, as the object moves away from the exact range, the image will move onto one of the detectors and away from the other, while if the object moves closer than the exact range, the image will move onto the other of the detectors and away from the first. With appropriate electronics it can be determined whether the return radiation is falling primarily on the one detector, the other detector, or is between them. This then determines whether the object is too far, too near, or at the right distance respectively. A prior art system which could be used for the application thus far described is found in U.S. Pat. No. 3,736,057, issued to Donald M. Harvey on May 29, 1973. This prior art system teaches only a two zone range finder, not a proximity sensor and does not provide an &#34;acceptable&#34; zone nor any way of adjusting the limits of such a zone nor does it teach any way to adjust the distance to the &#34;acceptable&#34; zone. 
     The present invention accomplishes these desired results by providing a second pair of detectors which receive energy reflected from the object over a second path such as by reflection from a beam splitter located in the return path of the energy. The second pair of detectors is moveable so as to vary the position of the area between the detectors and by doing so to provide a way for adjusting the width of the &#34;acceptable&#34; zone. As described above, when the return energy is focused in the center of the first pair of detectors, both detectors receive the same amount of radiation as an indication of a first range to the object. The second pair of detectors can be offset slightly so that the object must move away from that the first range to a second range before the reflected energy would be falling on the area just between the second pair of detectors. Thus, from the point where the energy was just between the first pair of detectors to where it was exactly between the second pair of detectors constitutes the zone of &#34;acceptable&#34; ranges to the object. The width of this zone is adjustable by further movement of the second pair of detectors. Furthermore, the optimum distance to the remote object can be set by adjusting the main lens of the system so that the return energy will focus just between the first pair of detectors when at a different distance than in the first instance. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows a schematic and block diagram of the optics and electronics of the present invention with respect to a range of possible distances to a remote object; and 
     FIG. 2 shows a more detailed schematic and block diagram of the optics and electronics of the preferred embodiment of the present invention. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 1, a box 2 labelled &#34;proj&#34; is a projector operable to direct radiation, preferrably in the infrared range, towards the remote object along a path shown by an arrow 4. The object may be located anywhere along the path of arrow 4 but generally will exist within the normal range of the system which is between points 6 and 8 in FIG. 1. In the preferred embodiment the distance from the apparatus to points 6 and 8 is about 6 inches to about 4 feet respectively although these limits are obviously variable to meet the requirements of the system in which the apparatus is to be used. As mentioned above, it is desirable to have a range that is considered &#34;acceptable&#34; or &#34;ok&#34; and this is shown in FIG. 1 as the area between a point 10 and a point 12 and is indicated by the letters &#34;ok&#34;. Between point 6 and point 10 is considered the &#34;near&#34; range and between point 12 and point 8 is considered the &#34;far&#34; range. When digital logic is used, it may be set up so that in the ok range the apparatus produces a &#34;1,1&#34; signal, in the near range a &#34;0,1&#34; signal, and in the far range a &#34;1,0&#34; signal. Beyond the normal range limits of the system on both sides, a &#34;0,0&#34; logic signal can be made to occur. 
     The energy from projector 2 passing along path 4 is reflected off the object and returns along a path such as is shown by one of the lines 14 in FIG. 1 correspondiing to reflections from the object if it were at points 6, 10, 12, or 8. The reflected energy passes through a lens 16 and then through a half silvered mirror 18 to a first pair of detectors 20 and 22. Detectors 20 and 22 are radiation sensitive devices such as photodiodes and are positioned at an image plane of lens 16 and are adjacent one another so that a null area 24 exists as a line therebetween. Lens 16 may be moved so as to set the position of the reflected energy on null line 24 when the object is located at point 12 (the far edge of the ok zone) in which event, since the reflected energy has some lateral dimensions, will cause substantially equal amounts of radiation to fall on detectors 20 and 22. If the object were in the near and ok zones between points 6 and 12, then the reflected energy would fall primarily on detector 22 and less or not at all on detector 20 whereas if the object were in the far zone between points 12 and 8, then the reflected energy would fall primarily on detector 20 and less or not at all on detector 22. The apparatus thus far described in quite similar to that found in the Donald M. Harvey U.S. Pat. No. 3,736,057 mentioned above. 
     The half silvered mirror 18 operates to direct a portion of the reflected energy down towards a second pair of detectors 26 and 28 which are also located in the image plane of lens 16 and are mounted adjacent one another so as to provide a null line 30 therebetween. Detectors 28 and 26 are mounted so as to be moveable along a direction shown by double arrow 32 in FIG. 1 and thus, after lens 16 has placed the far edge of the ok zone so that reflected energy therefrom will fall on the null line 24 between detectors 20 and 22, detectors 26 and 28 can be moved to a position where energy from the near edge of the ok zone, that is, point 10, will fall on the null line 30 between detectors 26 and 28. Energy being reflected from the near zone between lines 6 and 10 will primarily fall on detector 28 and less or not at all on detector 26 while energy being reflected from the ok and far zones between points 10 and 8 will primarily fall on detector 26 and less or not at all on detector 28. 
     It is therefore seen that as an object moves in the near zone from point 6 to point 10 in FIG. 1 it will cause a signal primarily from detectors 22 and 28. At point 10, the object will produce substantially equal signals from detectors 26 and 28 but will continue producing a signal primarily from detector 22 of the pair of detectors 20 and 22 until it reaches point 12. At point 12, detectors 20 and 22 will produce substantially equal signals but detector 26 will produce the primary signal from the pair of detectors 26 and 28. Thereafter as the object moves in the far zone from point 12 to point 8, the signals will be primarily from detectors 20 and 26. These signals are presented by means of lines such as 33 to the electronics of the system shown as a box 34 labelled &#34;elect&#34; which will be hereinafter described in greater detail. 
     The output from the electronics 34 may be made to appear as a logical signal, &#34;0&#34; or &#34;1&#34;, on a pair of output lines 36 and 37. For example, when the object is in a near zone between points 6 and 10, line 36 may carry a &#34;0&#34; while line 37 carries a &#34;1&#34;. In the ok zone between points 10 and 12, both lines 36 and 37 may carry &#34;1&#34; signals and in the far zone between points 12 and 8, line 36 may carry a &#34;1&#34; while line 37 carries a &#34;0&#34;. If the object is inside of point 6 or outside of point 8, then the output on lines 36 and 37 can both be made &#34;0&#34; as will be hereinafter explained. These unique signals thus indicate which zone the object occupies as is seen by the arrows labelled &#34;INSIDE&#34;, &#34;NEAR&#34;, &#34;OK&#34;, &#34;FAR&#34;, and &#34;OUTSIDE&#34; in FIG. 1. 
     Of course, it is seen that by moving detectors 26 and 28 along the arrow shown as 32, the size of the ok zone or, more particularly point 10, can be made to move along the range of the system shown by arrow 4. It should be obvious to those skilled in the art that detectors 20 and 22 may also be made to move along a direction such as is shown by double arrow 39 in FIG. 1 and thus cause point 12 to move along the range of the system. Generally speaking, however, it is sufficient to have lens 16 move to position the point 12 for most applications of the present invention. 
     Referring now to FIG. 2, a radiant energy generating device which may be a light emitting diode 40 shown in FIG. 2 as a box with the inscription &#34;L.E.D.&#34; therein is shown receiving a signal from an oscillator 42 via a line 44 so as to produce a modulated light beam which leaves the light generating device 40 in a direction shown by dash line arrows 46 and 48. The energy may first pass through the upper portion of a prism 50 which bends the radiation to allow projector 40 to be spaced from the optic axis 51 and which may not be needed in some applications and then to a focus lens 54 where it is transmitted towards the remote object. It is preferrable that the modulated energy be in the form of infrared energy, for example, at a wavelength of about 930 nanometers so as to reduce noise from visible light and also be modulated at, for example, a frequency of 4 kilohertz so as to distinguish the transmitted and reflected energy from ambient radiation around the system. In any event, the energy is transmitted to the remote object, is reflected therefrom, and returns toward the system along paths such as are shown as dash line arrows 56 and 58. For purposes of explanation, it will be presumed that the ray shown by dashed line 56 eminates from an object at the near limit of the ok zone (e.g., point 10 in FIG. 1) and the ray shown by dashed line 58 eminates from an object at the far limit of the ok zone (e.g., point 12 in FIG. 1). Ray 56 is therefor labelled OKN and ray 58 is labelled OKF. The angles that rays 56 and 58 make with the optic axis 51 have been exaggerated for clarity and the ray from the near and far limits (e.g., from points 6 and 8 in FIG. 1) have been omitted. The return energy is focused by the lower portion of lens 54 and is transmitted to the lowe portion of prism 50. It should be noted that the OKF ray 58 is now above the OKN ray 56. These rays then pass through a beam splitter 60 where a first portion of the radiation is passed through to a pair of detectors 70 and 72 having a junction or null point 74 therebetween, and a second portion is reflected down from the beam splitter 60 to a pair of detectors 80 and 82 having a junction or null point 84 therebetween. A cross talk baffle plate 86 is shown in FIG. 2 extending from the lens backwards to just beyond the detectors 70 and 72 so as to prevent cross over of energy between the going out path and the return path behind the lens. 
     The first pair of detectors 70 and 72 are shown in FIG. 2 to be in a plane substantially transverse to the optic axis 51 and so arranged that when lens 54 is appropriately positioned, the junction 74 between them receives radiation from ray 58, i.e., when the object is at the far edge of the ok zone. The second pair of detectors 80 and 82 is shown mounted in a plane substantially perpendicular to the plane of detectors 70 and 72 and thus substantially along the direction of the optic axis 51. Detectors 80 and 82 are likewise mounted edge to edge and are placed so as to be moveable along a direction shown by double arrow 88. Detectors 80 and 82 are moved (after lens 54 has been set to place the OKF ray 58 at the point 74) so that the OKN ray 56 falls on point 84 between detectors 80 and 82, which, in effect, sets the near edge of the ok zone for the apparatus. 
     If the remote object starts from further out than the far edge of the ok zone, radiation reflected therefrom will fall primarily on detectors 70 and 80. As the object moves nearer, the radiation will move down on detectors 70 and 72 and to the left on detectors 80 and 82. When the object reaches the far edge of the ok zone, radiation will fall substantially equally on detectors 70 and 72 but still primarily on detector 80 of the pair of detectors 80 and 82. Thereafter as the object moves more toward lens 54, the reflected radiation from the object will continue to move down on detectors 70 and 72 and to the left on detectors 80 and 82 so as to fall primarily onto detectors 72 and 80 until it arrives at the near edge of the ok zone. At this point, the reflected radiation hits the line between the detectors 80 and 82 so that their outputs are substantially equal while detector 72 receives the primary radiation in the pair of detectors 70 and 72. Further motion of the object toward lens 54 causes the radiation to fall primarily onto detectors 72 and 82. It is therefore seen that there will be a signal primarily from detectors 70 and 80 when the object is in the far zone, substantially equal signals from detectors 70 and 72 when the object crosses the far edge of the ok zone but still a signal primarily from detector 80 in the other pair, be substantially equal from detectors 80 and 82 when the object moves to the near limit of the ok range and thereafter in the near range the signals will be primarily from detectors 72 and 82. 
     The signals from detectors 70 and 72 are connected by lines 90 and 92 to the minus and plus inputs respectively of the differential amplifier 94. The outputs of detectors 80 and 82 are connected by lines 96 and 98 to the plus and minus inputs respectively of a differential amplifier 100. The outputs of differential amplifiers 94 and 100 are indicative of which of its inputs receives the largest signal and these outputs are presented by means of lines 104 and 108 respectively to a pair of phase detectors 110 and 112 which also receive energy from oscillator 42 by means of lines 114 and 116 respectively. The phase detectors 110 and 112 determine the phase of the output signal from amplifiers 94 and 100 and convert these signals to a logical &#34;0&#34; or &#34;1&#34; depending on that phase. 
     Thus, it is seen that if the object is in the far range, where the radiation will be primarily on detectors 70 and 80, amplifier 94 will receive a greater signal from detector 70 than from detector 72 so as to produce an output of a first phase or minus on line 104. On the other hand, amplifier 100 will receive a greater signal from detector 80 than it will from detector 82 and accordingly will produce a signal of a second phase or plus on line 108. A signal of the first phase on line 104 will be interpreted by phase detector 110 as a negative signal or &#34;0&#34; while the signal of the second phase on line 108 will be interpreted by phase detector 112 as a positive signal or a &#34;1&#34;. Accordingly, the outputs on lines 120 and 122 will be &#34;0,1&#34; respectively indicating the object is in the far range. This signal may be used, for example to move the optics further away from the object or to provide an indication to the operator. Now as the object moves into the ok zone, radiation from the object will cross from detector 70 to detector 72 but will remain primarily on detector 80. In this event, the signal from detector 72 will become greater than the signal from detector 70 and the output from amplifier 94 will now change to a signal of the second phase or plus while the output of amplifier 100 will remain a signal of the second phase. These two second phase signals will be detected by phase detectors 110 and 112 as &#34;1&#34; signals and thus an output on lines 120 and 122 of &#34;1,1&#34; will indicate the object is in the ok range. This signal may be used, for example, to stop the motion of a robot arm to which the apparatus is attached or to stop the filling of a container or merely to provide an indication to an operator. Now as the object moves beyond the near limit of the ok range, the radiation from the object will continue to be primarily on detector 72 but will now cross over to be primarily on detector 82. In this event, the output of amplifier 94 will continue to be a signal of the second phase but now the output of amplifier 100 will change to a signal of the first phase or minus and the output of phase detector 110 will be a &#34;1&#34; while the output of phase detector 112 will be a &#34;0&#34;. Accordingly, the output on lines 120 and 122 is &#34;1,0&#34; indicating that the object is in the near range. This signal may be used, for example, to move the optics closer to the object or to provide an indication to an operator. 
     If the object is closer to the optical system than the near limit or is further away from the optical system than the far limit, then substantially no useable signal will be received by either of the detectors in either of the pairs. In this event, amplifiers 94 and 100 will be biased so as to produce a signal of the first phase and thus the output of detectors 110 and 112 will both be &#34;0&#34;. Accordingly the output on lines 120 and 122 is a &#34;0,0&#34; indicating default. The default signal may then be used, for example, to alert the operator to the fact that the object is out of the normal operating range of the system. 
     If a larger ok zone is needed, then detectors 80 and 82 can be moved further to the left so that as the object moves from far to near it will move further before it hits the cross over line between detectors 80 and 82. If the ok zone is desired to be less, then detectors 80 and 82 should be moved to the right so that as the object moves to the near zone it will cross the line between detectors 80 and 82 at a nearer point. 
     It is thus seen that I have provided an apparatus which can be used to provide indication of the proximity of an object and which can be adjusted for range and width of zone in a very accurate, simple, and inexpensive way. Many obvious modifications to the apparatus disclosed will occur to those skilled in the art. For example, the detectors in the present application are shown to be mounted on opposite sides of a beam splitter, the reflected energy could be directed to the detector pairs over completely different paths and a beam splitter would not be required. Likewise, while a prism has been shown in the optical path, the prism only aids in moving the focus point further away from the optic axis and if there is enough room for the components nearer the optic axis, the prism is not necessary. Likewise, a filter has not been shown in the preferred embodiment but can be placed in the return path of the light or in both paths so as to pass only the frequency transmitted by the projector and eliminate noise from surrounding scene. It likewise may be useful to have the amplifiers tuned to the modulation frequency to minimize the effect of DC ambient light changes in the system. Also an LED has been shown as the device for emitting light into the system but other light emitting sources such lasers could equally be utilized. Finally, while I have shown one preferred system including differential amplifiers and phase detectors for determining which of the detectors the reflected energy is primarily falling on, it will be apparent to those skilled in the art that may alternate ways are available for making this determination. I therefore do not wish to be limited by the specific elements used in connection with the preferred embodiment but intend only to be limited by the scope of the appended claims.