Abstract:
The present invention relates to a scanner for reading coded symbologies. The invention uses a coherent, visible light source for illuminating the coded symbol during a scan and a detecting means for collecting the reflected light energy from the coded symbol. The invention also employs an invisible light source illuminating the coded symbol during the scan and a one-dimensional position-sensitive detector whose field of view receives images of the illuminating beam. The position-sensitive detector outputs a current which is processed to detect the presence and compute the distance of an object being scanned. Both the visible and invisible light sources from the scanner travel along a shared, coaxial path to and from the object.

Description:
BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     The present invention relates to an apparatus for reading coded symbologies on an object while determining the distance from the apparatus to the object. More particularly, it relates to a scanning device that determines the distance from the scanner to the object to allow for the focusing of the scanning beam such that high resolution, reflected light can be obtained from the object surface. Most particularly, the invention is directed to an automatic scanning system which accurately determines the distance and subsequently focuses the scanning beam onto an object for accurately reading coded symbologies. 
     2. Description of the Prior Art 
     To reduce costs and increase the volume of packages handled, the shipping industry has embraced automated package handling. This has been accomplished through package identification by coded symbologies placed on the packages and sorting performed by automated equipment using scanners that have the capability of reading the label and then routing the packages. 
     A scanner used in this application must be capable of reading different coded symbologies at varying distances due to different object sizes. One limiting factor in reading coded symbologies is the size of the laser spot at the label distance. Depending upon where the scanner has been prefocused, the laser spot will be larger in front of and behind the prefocused distance. The usable range where the laser spot size is acceptable is commonly referred to as the depth of field. 
     In an effort to increase the depth of field of a scanning system, various methods have been tried. Some methods rely upon several laser scanners prefocused for different object heights thereby having a large aggregate depth of field. Others rely upon folded light paths to increase a len&#39;s focal length or special angular solutions for the optics. Other external methods include light curtains and photoeyes to determine the height of an object which must then be input into the scanning system to electromechanically focus a lens element of the scanning beam. 
     In order to increase the efficiency and reduce the cost of a scanning system, it is desirable to have a low cost, lightweight compact means for providing a distance measurement internal to a scanning system to allow for the precise focusing of the scanning beam. 
     SUMMARY OF THE INVENTION 
     The present invention relates to a scanner for reading coded symbologies. The invention uses a coherent, visible light source for illuminating the coded symbol on an object during a scan and a detecting means for collecting the reflected light energy from the coded symbol. The invention also employs an invisible light source during the scan and a one-dimensional position-sensitive detector (PSD) whose field of view receives images of the illuminating beam and outputs a current which is processed to detect the presence of the object and to compute the distance. Both the visible and infrared light sources from the scanner travel along a shared, coaxial path to and from the object. 
     It is an object of the invention to provide a scanning system which scans a three-dimensional object and detects the variations in light reflected from the object surface while determining the distance from the scanning system to the object. 
     Other objects and advantages of the system will become apparent to those skilled in the art after reading the detailed description of the preferred embodiment. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 is a perspective view of the scanning system in position above an object. 
     FIG. 2 is a perspective view along line 2--2 in FIG. 1 of the scanning system showing the coaxial light paths. 
     FIG. 3 is a section view along line 3--3 in FIG. 1 showing the light path of the distance subsystem. 
     FIG. 4 is a section view along line 4--4 in FIG. 1 showing the light path of the distance substation. 
     FIG. 5 is an explanatory diagram which indicates how the distance from the scanner is calculated. 
     FIG. 6 is a block diagram of the control system. 
     FIG. 7 is a state diagram of how object distance data is compared during consecutive scans. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     The preferred embodiment will be described with reference to the drawing figures where like numerals represent like elements throughout. 
     A scanning system 15 in accordance with the present invention is shown in FIG. 1. The scanning system 15 is positioned above a conveyor section 17 carrying an object 19. The scanning system 15 can be mounted either above the object 19 to be scanned (as shown in FIG. 1) or positioned to any side (not shown) to capture coded symbologies 21 located on the object 19. The scanning system 15 is mounted on a stand 23 above a conveyor section 17 conveying an object 19. The main unit 25 is enclosed in a housing 27 which is made by conventional means of extruded aluminum or molded plastic. Only a portion of the housing 27 is illustrated in order to show the components of the scanning system 15 contained therein. 
     Referencing FIGS. 1-2, the scanning system 15 is comprised of a coded symbology reader and a distance measurement subsystem. The symbology reader is comprised of a laser diode 29 and a focusing multi-element lens assembly 31 mounted in the housing 27. The laser diode 29 produces a coherent, visible, collimated beam 33 which is focused by the lens assembly 31 and directed at a fully silvered mirror 35 oriented at a 45° angle with respect to the light path 33. The light path 33 continues to a hot mirror 37 which is transparent to light energy in the visible spectrum but reflects light energy in the infrared (IR) spectrum. The light path 33 passes through the mirror 37 and through a precise aperture 39 in a cold mirror 41 which reflects light energy in the visible spectrum but passes light energy in the IR spectrum. The laser beam 33 passes through and onto a multi-faceted mirrored wheel 43. The mirrored wheel 43 is driven by a motor 45 which moves the beam 33 as it is reflected from the turning mirrored wheel 43. This produces a series of continuous beams which have been graphically represented by 33a, 33b, 33c, which exit through a window in the housing 27. The series of beams 33a, 33b, 33c produce a scan of the conveyor belt surface 47 normal to the direction of travel defining a scanning region. This method of producing a continuous scan is familiar to those skilled in this art. 
     A photodiode 49 or similar device is mounted in the housing 27 directed toward a condenser lens 51. The photodiode 49 has a spot field of view 53 of every scan intercept 55. The return (visible) light 53 reflects off of either the conveyor 47 or object 29 towards the mirrored wheel 43. The mirrored wheel 43 reflects the spot field of view 53 to the cold mirror 41. The cold mirror 41 reflects the return light 53 to the condenser lens 51 which focuses the return light 53 onto the detector 49. The photocurrent output of the detector 49 is proportional to the light intensity that falls upon it. The detector 49 outputs an analog voltage to a signal conditioner 57. The signal conditioner 57 shapes the output from the detector 49 into pulses accurately representing the differing widths of the reflected bar symbologies 21. This technique is well known to those skilled in the art. 
     The distance measurement subsystem is comprised of an IR light source 59 and an IR receiver 61. The IR light source 59 may be an IR emitting diode 63 (IRED) or similar device. The IRED 59 is directed at the hot mirror 37 which reflects the light energy towards and through the cold mirror 41. The IRED beam 63 continues to the mirrored wheel 43 where it is reflected onto the scanning region. 
     The IR receiver 61 is a one dimensional position-sensitive detector (PSD) 65 mounted in the housing 27 with its field of view 67 directed towards the hot mirror 37. As the mirrored wheel 43 rotates, the line field of view 67 is directed to corresponding positions (represented as 67a, 67b, 67c) with each series of IRED scanning beams 63. The line field of view 67 passes through the cold mirror 41 and reflects off of the hot mirror 37 onto the PSD 65, The PSD 65 outputs an analog photocurrent depending where on the PSD 65 the IR energy 63 falls. This is described in greater detail later in the specification. A detection circuit 69 coupled to an arithmetic processing unit (APU) 71 mounted in the housing 27 provides a digital signal output representing distance. 
     The present invention makes use of two independent light sources for distance triangulation and code scanning sharing a coaxial light path within the housing 27 and to and from the conveyor surface 47. Since each light source wavelength is remote from the other, constructive or destructive interference does not occur within the system 15. The mounting geometry of the optics, detectors and light sources are held in precise alignment with materials exhibiting high rigidity while having the same thermal coefficient of expansion. 
     The mounting geometry of the IR light source 59, IR receiver 61 and mirrored wheel is shown in detail in FIGS. 2-4. The IR light source 59 and IR receiver 61 are mounted on a plane which is parallel to the axis of the mirrored wheel 43. As shown in FIG. 3, the IR light source 59 and IR receiver 61 are offset from each other by an angle θ. θ is defined by measuring the angle between the IRED beam 63 center and the central axis 73 of the field of view of the PSD 65. 
     The PSD field of view 67 is aligned in the same plane as the IRED 63 and is directed at the mirrored wheel 43. The angle of the IRED beam 63 after reflecting off of the hot mirror 37, passing through the cold mirror 41 and reflecting off of the mirrored wheel 43 remains θ. 
     The distance to an object 19 at a given point is measured by triangulation using the angle θ. The offset angle θ between the IRED beam 63 and the central axis 73 of the PSD field of view 67 above the conveyor creates a horizontal offset d between an intercept point 75a where the IRED beam 63 intercepts the conveyor surface 47 and image point 75b where the IRED beam 63 strikes an object 19. As shown in FIG. 5, the offset d is captured by the PSD 65 linear field of view 67. When the intercept point 75a and the image point 75b are the same, i.e. when no object is present, the image is oriented to fall at one end of the PSD 65 one-dimensional array d 0 , calibrated for maximum distance. As an object 19 comes under the IRED scan beam 63, the image point 75b travels toward the opposite or minimum distance end of the PSD 65 based on the object 19 distance at that discrete point of the scan on the conveyor belt 47. The PSD 65 outputs photocurrents that vary as the image point 75b moves from one point on the array to another. The electrical characteristics of the PSD 65 is similar to that of a potentiometer. The outputs 0 1 , 0 2  of the PSD 65 are input into a detection circuit 69 which conditions the signals. The output of the detection circuit 69 is input into the APU 71. 
     The APU 71 relates the photocurrents 0 1 , 0 1  to distance by calculating the difference between the end values and the IRED beam 63 image point 75 b . This value is converted to a distance d that the image point 75b is from the minimum distance end. Using this distance d and the known angle θ, the distance D from the scanner to the object 19 is calculated by the APU 71 using the simple trigonometric relationship: ##EQU1## 
     Each time d is measured, the distance D is calculated at that discrete point. Measurements of the beam image points 75b are taken as the IRED 63 scan progresses across the conveyor. 
     With the distance D from the scanning system 15 to the object 19 known, the distance is used as an input to a focusing means for the laser diode 29 optics 31. The distance D may also be used for adjusting configurable frequency dependent parameters in the symbology location/decoding process. 
     A block diagram of the control system 87 for the laser scanner is shown in FIG. 6. A logic processor 77 supports the scanning system 15 by policing all activities and providing an input/output (I/O) 79 through a configurable interface 81. The logic processor 77 accepts inputs from the mirrored wheel 43 motor controller 45a, signal conditioner 57 and the distance calculation from the APU 71. 
     The logic processor 77 uses the distance calculation to adjust the lens 31 position of the laser 29 via a focus servoboard 85. The focus servoboard 85 energizes the lens positioning system 83 adjusting a movable lens element in accordance with the distance value. A position transducer 83a mounted on the lens positioning system 83 provides negative (position) feedback 83a to the focus servoboard 85. 
     Upon energizing the system 15, the lens positioning system 83 positions the focusing means at a default position. Since the system 15 acquires both symbology 21 and distance D data rapidly with each scan, for the system 15 to efficiently and accurately focus, common mode distance data between each successive scan is eliminated to conserve processing resources. A state diagram illustrating the focusing instructions for the system 15 is shown in FIG. 7. The transitions between each focusing state is determined by the logic processor 77. The lens positioning system 83 either retains its current focus position based on the distance data from the previous/subsequent scan, or refocuses in accordance with the new current distance data. 
     The logic processor 77 continuously processes the distance data from two consecutive scans. The logic processor 77 compares the current scan distance data against the previous scan distance data and discards common mode data between scans. If, within a reasonable threshold, both sets of distance data are equal, the logic processor 77 instructs the focus servoboard 85 to maintain the current position for the next scan. A disparity between the data of two consecutive scans indicates the presence of an object 19 or a change in target profile and results in the logic processor 77 instructing the lens positioning system 83 to refocus in accordance with the difference. The new lens position value is determined to be the longest non-common mode plateau constituting a flat surface closest to the scanner. By employing this method, the system 15 exercises the lens positioning system 83 based upon a difference in target profile rather than continuously adjusting the lens positioning system 83 during each individual scan. Therefore, rather than have the lens positioning system 83 undergo minute adjustments during each scan, the system 15 logic processor 77 eliminates unnecessary focusing instructions thereby increasing overall efficiency. The result is an efficient and accurate system 15 that reads coded symbologies 21. 
     The logic processor 77 is configurable using the I/O 79 for different mounting heights, maximum and minimum focusing distances and conveyor speeds using a computer executing compatible software to download the information. The logic processor 77 provides, via the I/O 79 the raw data acquired by the system 15 to external data reconstruction processors like Accu-Sort® System&#39;s DRX®. By comparing the mirror wheel 43 rotational velocity from the motor controller 45a with the distance D to the object 19 using the simple relationship 
     
         ν=ωr,                                             (Eqn. 2) 
    
     where the mirror wheel 43 speed is ω in radians per second and r (D) represents the radius of the scan, an output spot 55 velocity is computed at the object 19 by the logic processor 77. The spot 55 velocity is also output via the I/O 79 for use by the location/decoding processors to adjust frequency dependent variables such as filter parameters. 
     The I/O 79 also provides a means to interrogate the scanning system 15 for downloading configurable data to the logic processor 77 and focus servoboard 85 or uploading diagnostic information. The I/O 79 also outputs distance data for use with additional scanning systems that do not have an integral distance measurement system such as those in the prior art. 
     While specific embodiments have been shown and described, many modifications and variations could be made by one skilled in the art without departing from the spirit and scope of the invention. The above description serves to illustrate and not limit the particular form in any way.