PORTABLE OPTICAL READER SYSTEM

Abstract: A portable optical reader system for reading optical information over a substantial range of distances includes a casing having a light receiving opening for alignment with optical information. Further included is a reading sensor for converting a reflected light image of optical information into an information signal and reflected light optical elements for forming a reflected light image. The optical system is adjustable to tend to focus a reflected light image of optical information, located within a substantial range of distances, onto the reading sensor. A light beam generator is associated with the casing and directed relative to the optical elements and the light receiving opening such that a light beam generated thereby will impinge on an information carrier, having optical information to be read, and will be reflected therefrom through the light receiving opening and via the optical elements to the reading sensor. Since the position of impingement of the reflected light beam on the reading sensor is a function of the range of the information carrier from the image sensor, the optical system may be adjusted to focus a reflected light image of optical information associated with the information carrier, at least in part, according to the position of impingement of the reflected light beam on the reading sensor.

Description: PORTABLE OPTICAL READER SYSTEM Technical Field The present invention is directed to optical information readers and more particularly to portable optical reader systems for instantaneously reading optical information over a substantial range of distances. Description of the Prior Art Many industries designate their products with optically readable information such as bar code symbols consisting of a series of lines and spaces of varying widths. Various bar code readers and laser scanning systems have been employed to decode the symbol pattern to a multiple digit representation for inventory and checkout purposes. Old in the art are conventional contact and non-contact wand and pen bar code readers. However, these devices are incapable of instantaneously reading optical information. Portable instantaneous optical information readers are also known to the art, e.g., as represented by Danielson and DurbinU.S. Patent N a 4,877,949 assigned to the assignee herein. Therefore, it is a principal object of the present invention to provide an improved portable optical reader system for reading optical information over a substantial range of distances. Another object of the present invention is to provide a new ranging system for portable optical readers which enables optical information to be read instantaneously over a substantial range of distances. Another object of the present invention is to provide a portable optical reader system which is capable of rapid and efficient alignment with optical information located a substantial distance from the reader. A further object of the present invention is to provide a portable optical reader system which is easy to use, simple in construction, and trouble free. Other objects will be apparent to those skilled in the art from the detailed disclosure. Summary of the Invention The present invention provides a novel system capable of instantaneously reading optically readable information over a substantial range of distances. A preferred embodiment comprises a hand-held data collection terminal with a combined reader and RF module which includes a casing having a Ught receiving opening for alignment with optical information. Housed within the casing are optical means which include light generating means and reflected light collecting means for forming a reflected light image. Also included are reading sensor means for converting a reflected light image of optical information into an information signal. The optical means is adjustable such that a reflected light image of optical information, located within a substantial range of distances, is focused onto the reading sensor means. Light beam generating means is provided for range finding. The light beam generating means is associated with the casing and directed relative to the optical means and the light receiving opening so that a light beam generated by the generating means ma be caused to impinge on the surface of an information carrier displaying optical information to be read and will then be reflected from the carrier into the light receiving opening through the collecting means to the reading sensor means. The system is so configured that the position of impingement of the reflected light beam on the reading sensor means is a function of the range of the information carrier. Accordingly, focal adjustments may be made based on position information from the reading sensor for focusing the image of optical information onto the reading sensor means. In a preferred arrangement, control means may be provided for accomplishing such adjustments according to the position of impingement of a pair of reflected light beams on the reading sensor means. Detailed Description of the Drawings Other objects and advantages of the invention will become apparent upon reading the following detailed description and upon reference to the drawings, in which: Figure 1 is a top plan diagrammatic view of an embodiment of a portable optical reader system for reading optical information over a substantial range of distances; Figure 2A, 2B, and 2C are graphical representations of waveforms illustrating the output of a CCD image sensor under various conditions of focus adjustment and object distance, and with the distance measurement beams active; Figures 3A, 3B, and 3C are graphical representations of waveforms as a function of time illustrating the output of a CCD image sensor at zones A, B, and C, respectively, of Figure 1; Figures 4A and 4B are ray diagrams illustrating the viewed range of an object located at a given distance from the window of an embodiment of the present invention, Figure 4B is a side elevatiόnal tracing, and Figure 4A is a top plan tracing; Figure 5 is a side elevational view of an optical system configuration for adjustably imaging optically readable information on a reading sensor; Figures 6 and 7 are side elevational views of a preferred optical system illustrating the optical system of the present invention focused at zero inch and (twenty) inches respectively; Figure 8 is a graphical representation of a focus quality gradient; Figures 9A and 9B are graphical representations of a family of overlapping focus quality functions for a number of equally spaced positions of a focusing mechanism; Figures 10A and 10B are graphical representations of waveforms illustrating the output of a CCD image sensor; Figure 11 is a graphical representation of a waveform wherein W is the pulse width at a threshold level, T is the pulse threshold level, and A is the pulse amplitude; Figure 12 is a graphical representation illustrating the separation of incident LED spot images on white paper in pixels versus object position in motor steps wherein: line (1) defines this function where the lens position is zero; line (2) defines this function where the lens position is located at 20 motor steps; and line (3) defines this function where the lens position is located at 40 motor steps; Figure 13 is a graphical representation of the waveform of the LED spots superimposed on a focused barcode, wherein LED spot centers were located at 285 and 652; Figure 14 is a graphical half -scale representation of the waveform of Figure 13 wherein the waveform has been processed; Figure 15 is a graphical representation of a focus quality gradient wherein the focus quahty of an object located at a position 12 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, and (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged; Figure 16 is a graphical representation of a focus quahty gradient utilizing a pulse modulation algorithm wherein the lens was focused at 9 inches, 13 inches, and 20 inches respectively; Figure 17 is a is a graphical representation of a focus quahty gradient wherein the focus quality of an object located at a position 20 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, and (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged; Figure 18 is a graphical representation of a focus quahty gradient wherein the focus quahty of an object located at a position 2 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged, and (4) a relative length of curve algorithm; Figure 19 is a graphical representation of a focus quahty gradient wherein the focus quahty of an object located at a position 4 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, and (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged; Figure 20 is a graphical representation illustrating the separation of incident LED spot images on a bar code label in pixels versus object position in motor steps wherein: line (1) defines this fimction where the lens position is zero; hne (2) defines this function where the lens position is located at 20 motor steps; and line (3) defines this fimction where the lens position is located at 40 motor steps; Figure 21 is a graphical representation of the waveform of two LED spot images superimposed, slightly out of focus, and incident on a dense bar code label wherein the lens was located at 40 steps and the label was located at 38 steps (illuminations was high with peaks detected at 326, 576); Figure 22 is a graphical representation of the waveform of two LED spot images superimposed, out of focus, and incident on a dense bar code label wherein the lens was located at 40 steps and the label was located at 30 steps (illuminations was high with peaks detected at 271, 644); Figure 23 is a graphical representation of the waveform of two LED spot images superimposed, in focus, and incident on a dense bar code label wherein the lens was located at 30 steps and the label was located at 30 steps (illuminations was high with peaks detected at 288, 646); Figure 24 is the processed scan illustrated by Figure 23 showing the uneven illumination of the bar code label; Figure 25 is a graphical representation of the waveform of two LED spot images superimposed, out of focus, and incident on a dense bar code label wherein the lens was located at 30 steps and the label was located at 20 steps (peaks detected at 198, 723); Figure 26 is a graphical representation of the waveform of two LED spot images superimposed, in focus, and incident on a dense bar code label wherein the lens was located at 20 steps and the label was located at 20 steps (peaks detected at 195, 738); Figure 27 is a graphical representation of the waveform of two LED spot images superimposed, out of focus, and incident on a dense bar code label wherein the lens was located at 20 steps and the label was located at 10 steps (peaks detected at 114, 813); Figure 28 is a graphical representation of the waveform of two LED spot images superimposed, in focus, and incident on a dense bar code label wherein the lens was located at 10 steps and the label was located at 10 steps (peaks detected at 107, 831); Figure 29 is a graphical representation of the waveform of two LED spot images superimposed, out of focus, and incident on a dense bar code label wherein the lens was located at 0 steps and the label was located at 10 steps (peaks detected at 84, 843); Figures 30 and 31 are side elevational views of a preferred optical system utilizing a moveable prism; Figures 32, 33, and 34 are graphical representations of focus quahty gradients prepared using a pulse modulation algorithm wherein the lens was focused at 18 inches, 9 inches, and 13 inches respectively; Figures 35, 36 r 37, and 38 are graphical representations of the waveform of a reflected light image of a bar code label wherein illumination was constant and focus quahty was changed; Figure 39, 40, and 41 are graphical representations of the waveform of a reflected light image of a bar code label wherein focus quahty was constant and illumination was changed; Figure 42 is a graphical representation of a focus quahty gradient wherein the focus quahty of an object located at a position 20 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged, and (4) a relative length of curve algorithm; Figure 43 is a graphical representation of a focus quahty gradient wherein the focus quahty of an object located at a position 5 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged, and (4) a relative length of curve algorithm; and Figure 44 is a graphical representation of a focus quahty gradient wherein the focus quahty of an object located at a position 2 inches from the invention is shown at varying lens positions as determined by (1) a pulse modulation algorithm, (2) a maximum slew rate algorithm, (3) a maximum slew rate algorithm wherein the signal of every 10 pixels is averaged, and (4) a relative length of curve algorithm. Figures 45 - 48 depict a flow diagram of an exemplary instruction set to be used by the microprocessor to carry out the processes of the present invention. While the invention will be described with a preferred embodiment, it will be understood that it is not intended to limit the invention to that embodiment. On the contrary, it is intended to cover all alternatives, modifications and equivalents as may be included within the spirit and scope of the invention as defined by the appended claims. Best Mode for Carrying Out the Invention Fig. 1 is a diagrammatic illustration of a presently preferred embodiment of the instant invention. While the reading system of Fig. 1 could be contained within a housing such as indicated in the third figure of U.S. Patent N a 4,877,949, and as described in detail in U.S. Patent N a 4, 570,057, it is highly advantageous to be able to house the reader system of Fig. 1 within a compact modular casing such as generaUy indicated in the thirty- second figure of the international patent application pubhshed under the Patent Cooperation Treaty as International Pubhcation N fi WO90/16033 with a publication date of December 27, 1990. Where an RF module as shown in the thirty-sixth figure of WO90/16033 might have a depth of about three centimeters, a width of about seven centimeters, and a length of about eight centimeters (exclusive of RF antenna), a combined RF and bar code reader module utilizing the reader system of Fig. 1 might have the same length and width, and a depth of about six centimeters, or less. The reader system of Fig. 1 including associated electronics would thus, preferably, occupy a volume of less than 168 cubic centimeters. Rectangle 10 in Fig. 1 may represent a module casing having a length of about eight centimeters, a width of about seven centimeters, and a depth of about six centimeters, constructed to interchangeably engage with a base housing such as utilized with the RT 1000 radio data terminal of Norand Corporation, and containing an RF transceiver in addition to the reader system of Fig. 1. As diagrammatically indicated in Fig. 1, the module casing 10 may have a frontal end 10a with a hght transmissive window 10b accommodating marginal hght rays, such as 11, 12. In the event ambient hght alone is insufficient to obtain a valid reading, an elongated hght source 14 may be electrically energized from a lamp driver 16 to illuminate the region bounded by marginal rays 11, 12. For the case of a bar code, the maximum length of bar codes which may be read depends on the distance of the bar code carrier from the reader frontal end. At a minimum distance, a bar code of a length corresponding to the width of the hght transmissive window (60mm) maybe successfully read, while at a distance of 1.5 inches, the bar code may have a length of ninety millimeters, and at a distance of three inches, the bar code may have a length of one hundred thirty millimeters. Bar codes occupying locations within the field defined by marginal rays 11, 12, and lying between zones A and C in Fig. 1, may be focused onto a reading sensor 20 by adjustment of an optical system diagrammatically indicated at 22 and as represented by double ' headed arrow 24. In the illustrated embodiment, it is contemplated that the reading sensor 20 (e.g., a CCD type image sensor with a length of about thirty millimeters and between 2,000 and 5,000 elements), maybe driven via clock buffers 26 from a microprocessor 30, and that each pixel value in the output from the sensor 20 may be converted to digital form (e.g., a binary number) with a gray scale range of substantial extent for processing, either by a high speed external analog to digital converter 32, or by comparable on-chip means associated with microprocessor 30. The microprocessor is indicated as controlling focus via a stepper driver 34 and stepper motor 36. Visible hght beam generators 41, 42 are indicated as being electrically energized under the control of microprocessor 30 via a driver 44. The beams 51, 52 from beam generators 41, 2 preferably produce sharply defined spots on a bar code carrier within the operating range of the lens system. When the reader system is activated e.g., by manually operating a trigger button such as indicated in WO90/16033 (e.g., at 651 in the thirty- second figure), the microprocessor may flash the beam generators 41, 42 to generate beams 51, 52. These beams assist the user in aiming the reader toward a bar code. Further, when the beams 51, 52 are directed so as to impinge on a bar code carrier, the reflected hght from the beams will in part foUow a path through the hght transmissive window 10b at frontal end 10a, and via optics system 22 to impinge on reading sensor 20. Even though the reflected beams may not be sharply focused on the reading sensor 20, it is conceived that the reading sensor may be utilized to supply the output generated by the reflected beams (with hght source 14 inactive) and that such output may be processed by the microprocessor 30 to obtain an indication of the direction and amount to move the lens system to improve focus. Furthermore, as focus improves, a further flashing of beams 51, 52 may result in a more accurate measure of the positions at which the reflected beams impinge on the reading sensor. In this way, the microprocessor may quickly determine the distance to move lens system 22 so as to bring the bar code within the depth of field range of the lens system. Experimental Work Regarding Fig. 1 In testing the conception of the use of marker beams 51, 52 for obtaining a distance indication, an optical system was used having an F- number for infinity of four and requiring a change in the optical path distance from the lens to the sensor of about fourteen millimeters (14mm). Such a system was determined to be capable of focusing over distances from lens to an object between nil and 578 millimeters (578mm). Beam sources corresponding to sources 41, 42 were light emitting diodes that created hght spots at a distance of twenty inches which were about one inch square. At close up distances between zero and one inch, such hght spots were about one-quarter (%) inch square. Even with such light emitting diodes, it was found that distance measurements were feasible based on outputs from the CCD sensor such as represented in Fig. 2A. Figs. 2A, 2B and 2C show waveforms representing the output of a CCD image sensor using the beam sources just described. The sensor (20) output was digitized by a flash six bit A/D converter (32) and acquired by a personal computer (PC). The PC was programmed to store the image in memory, display the image on a monitor, and then print a graphical representation of the image on paper. These graphs show the images of the spots of light produced by the two pointing beams (51, 52) for various distances to an object. Fig. 2A was taken when the distance was twenty inches and the lens 22 was focused for zero inch object distance. Gradual slopes of the pulses 53, 54 may be seen in Fig. 2A, but pulses due to the beams are clearly identifiable. The distance between the pulse centers is small (about 189 pixels). On the graph of Fig. 2B, there is shown an image of the same spots at the same object distance of twenty inches, but the lens is now focused also at twenty inches. The slopes of the pulses 55, 56 are sharper. The distance between centers is a bit smaller (about 170 pixels) due to an increased reduction coefficient, (i.e., the distance between the lens and sensor was reduced during focusing). For accurate range measurements a correction measure, in order to compensate for this effect, must be performed by a microcomputer. Fig. 2C shows the image of the spots 57, 58 when the object is positioned at a five inch distance and the lens 22 is focused for zero inch object position. In this configuration the distance between the spots is about 416 pixels indicating a smaller distance to the target. It may be noted that a hght emitting diode with a special lens could be used for the beam source to provide a much more sharply collimated beam. Further of course, solid state laser diode sources could provide beams which would produce spots of one to two millimeters diameter at twenty inches. Based on the experimental results, it is concluded that such more expensive beam sources should not be necessary for the purposes of a low cost embodiment according to Fig. 1. Description of TABLES I and IL FIGS. 3 A. 3B. 3C. 4A & 4B In explaining an exemplary mode of operation, it is useful to refer to the TABLES I and II on the f ollowing pages: TABLE I D distance from window to object (inches) B distance from the lens to the object (mm) b bar width (mils) K magnification R viewed range in mm (inch) A distance from the lens to the sensor (mm) PI 4 size of a pixel image for sensors with 14 microns per pixel (like TCD1201) Pll size of a pixel image for sensors with 11 microns per pixel (hke TCD1250) P8 size of a pixel image for sensors with 8 microns per pixel (hke TCD1300) lp required lens resolution in line pairs per mm at 0 deg pitch and 5096 modulation to read corresponding bar width b lp@55 required resolution at 55 degree pitch and 5096 modulation to read corresponding bar of width b @ 55 "one mil = 0.001 inch SUBSTITUTE SHEET TABLE π max variation of distance A is 14mm * b@201p is the width of a bar which can be resolved with 5096 modulation at distance D using a lens quahty of twenty line pairs per millimeter SUBSTITUTE SHEET SUBSTITUTE SHEET Summary of Exemplary Mode of Operation for Fig. 1 Assuming that the optical system is initially set for focusing a bar code at Zone C (e.g., D = 20 inches in Table I), when the reader trigger is actuated, microprocessor 30 is awakened from a sleep mode by means of a host system via interface buffers 60. At this time, the microprocessor 30 has stored in its memory the focus condition of the lens system (e.g., A = 27.23, Table I), e.g., by virtue of a read only memory having this parameter stored therein as a start up value. The microprocessor 30 may emit a pulse to the LED driver 44 of predetermined duration sufficient to create visible marker spots at a distance of twenty inches, but of brief duration to avoid detrimental blurring. The reflected hght due to beams 51, 52 is evaluated based on the output from the image sensor 20. If the output from the sensor 20 resembles Fig. 3C, where pulses 61, 62 have a relatively close spacing (in time) Pc relative to total sensor readout time T, computer 30 could conclude that the focus adjustment was proper without activating stepping motor driver 34. In this case, with the beam sources 41, 42 de-energized, the clock buffers 26 could be activated to clear the image sensor 20 and effect a readout therefrom. The output from A/D converter 32 would then be analyzed by the microcomputer, and the corresponding rectangular waveform bar code signal (analogous to a conventional emulated wand bar code signal) could be transmitted to buffers component 60. If microprocessor 30 concluded that a vahd bar code had been transmitted, or upon receiving a command from the host, microprocessor 30 could return to a standby or sleep mode, leaving the lens system at its existing position. In this case, since the stepper driver had not been actuated, the microcomputer would recognize that the lens adjustment remained at its initial value (A = 27.23 mm, Table I), and this current lens adjustment value would be stored in a lens condition register (e.g., maintained by battery power while the reader remained in a standby mode). If the initial distance reading based on beams 51, 52 showed an output like Fig.3A or Fig. 3B, the microprocessor would then activate stepper driver 34 to effect focus adjustment. At a later instant of time, the microprocessor could take a reading from sensor 20 with the beam sources 41, 42 off. Normally at this time, the user might not yet have ahgned the reader with the bar code, but the output from converter 32 would provide information which could be used to determine whether the auxiliary hght source 14 should be pulsed via lamp driver 16. A next operation of the microcomputer might be either to again pulse beam sources 41, 42 to maintain the marker beam and distance monitor function, or to pulse the hght source 14 and make a further attempt at a bar code reading. The driving pulse supplied to the hght source 14 could have a time duration such as to provide for a vahd bar code reading even with stepper motor 36 operating at top speed. With each successive distance measurement with focus improving, the microprocessor 30 could refine the target lens adjustment. As such target focus condition was approached, the microcomputer would follow an optimum deceleration program to bring the lens system to a stop at an optimum focus position. As previously mentioned, the microprocessor would maintain a current register for lens focus position as pulses were supphed to the driver 34, and, for use in a subsequent reading operation, this register could then show the final position of the lens system where a vahd bar code reading had been obtained. From the foregoing, it will be understood that the microprocessor 30 is preferably programmed so as to provide periodic flashes of the beam sources 41, 42 while a reading operation is in progress so that the operator is adequately guided in aiming of the reader toward a bar code. Particularly when the motor 36 is operating at relatively high speed, the operation of auxiliary hght source 14, where indicated, will be brief enough to avoid detrimental blur. To conserve battery power, the hght source 14 is preferably only flashed, as may be needed, to verify the microcomputer's evaluation of operating conditions until such time that the microcomputer determines that proximity to optimum focus has been reached, e.g., where the object is located within the depth of focus of the lens system for the current lens system adjusted position. In any case, the microprocessor may frequently examine the output of the image sensor 20 using ambient hght during focus adjustments since this does not require the use of lamp driving power, and since the readings can provide useful information concerning the need for the auxiliary hght source and/or supplemental information concerning the focus condition of the optical system. It is preferred, however, that bar code information only be sent to a host system where such information appears to represent vahd bar code information which could be decoded by the host. An alternative would be for the microprocessor to decode the incoming signal from converter 32 prior to sending bar code information to the host. In this case, microprocessor 30 would generate a binary (rectangular waveform) bar code signal to represent the decoded data, or of course, merely send the bar code number as decoded. When the reader system is deactivated, microprocessor 30 may activate the stepper motor 36 to place the lens system 22 in such initial condition, e.g., focused at a distance where the next label is most likely to be found based on the experience of the last few reading operations. The following is a summary of the presently preferred sequence of steps to be taken by the system of Fig. 1 to achieve and maintain optimum focus (a mirror is moved to effect focusing e.g., as shown in Figs. 6 and 7 to be described hereafter): STEP (1) Power up, system initialization, the mirror moves to an initial position providing focus for remote zone (20 inches); STEP (2) System receives first request to read label and the computer turns the pointing beams ON; STEP (3) Image taken with pointing beams and the distance between the pointing beam centers of area is determined (the current range is calculated from the known function of the distance between the pointing beam centers of area); STEP (4) A comparison of the focusing mirror's existing position with the desired focusing mirror position is made and the computer calculates the amount and direction of corrective motion and sends the necessary control signals to the motor driver; STEP (5) An image of the object without the pointing beams is taken, processed and made available for decoding; STEP (6) The cycle may be repeated in order to correct the focusing mirror position by taking an image with the pointing beams "ON" for remeasuring the interval between the spots (the computer recognizes the spot images since they are substantially different from barcode pulses); and STEP (7) After successfully decoding label data, the reading system, including the microcontroller, goes into a power down mode for conserving the battery energy, leaving the focusing mirror in the latest position. The next time the system is activated, it begins the cycle from the previous focusing position. The pointing beams may be generated by either bright visible LEDs or visible sohd state lasers. Of course, both LEDs and lasers may be of an infrared type if their purpose would be limited only to range measurement. A single beam (instead of the two beams used in the preferred embodiment) might also be used for the same purpose. The position of the center (of area of the image) of a single beam relative to a fixed point on the image sensor would then correspond with the distance to the target. However, a target surface pitch angle might produce an error since the point of impingement of a single beam might not represent the average distance of the label from the reader. For optimum results two pointing beams are preferred. Two beams provide the computer with the information necessary to determine the distance to the target independently in two points, i.e., the centers of the two pointing spots. The distance between spots provides knowledge pertaining to the distance to the middle point between the spots, but if necessary, the individual distance to each spot may be determined and used for reading long labels at significant pitch angles by sequentially focusing at both halves and reconstructing the full label data. Currently available visible LEDs may be utilized without additional lenses to distances of about 1 to 2 feet. If a longer range is desired, visible lasers or collimating lenses (external to LED) may be used. For cost reduction, two beams may be created with a single laser with a beam sphtter and mirror. Exemplary Details of Auxiliary Light Source (Fig. 5) While the hght source 14 may be of the type disclosed in the aforementioned Laser et al. U.S. Patent 4,570,057, it is conceived that the hght source might comprise a tungsten wire 70 with an associated reflector 71 (as indicated in Fig. 5). Tension springs may act on the opposite ends of the wire in order to absorb the elongation of the wire when driven to emit a hght pulse. Microcomputer 30 may monitor the pulse excitation of the wire 70 so as to take into account wire temperature during a further electric current pulse, and may further limit the duration of the electric current pulse to only that time interval required to produce the desired hght output. The type of auxiliary on-board hght source may be, for example, either: (1) an array of bright LEDs, (2) a long filament incandescent bulb powered in a supercharge mode, or (3) a strobe hght. The use of a long filament incandescent bulb, powered in a supercharge mode, has been tested. A significantly bright pulse of hght may be regularly produced by applying a 2 ms pulse with a voltage eight times the nominal lamp voltage. The energy spent in such a pulse was determined to be 0.15 J. This approximates the same energy used by the strobe hght found in the product described in Laser, et al., U.S. Patent N a 4,570,057. Without undue testing, data may be determined regarding: (1) the necessary voltage and power requirement per pulse, (2) energy storage devices, (3) filament modification, and (4) bulb life. Incandescent lamps are capable of producing pulses of hght with durations in milliseconds. Incandescent lamps provide the following advantages: (1) small size, (2) power efficiency, (3) utilization with a concentrated flux and small reflector (a thin filament presents an accurate hght source), (4) long life, (5) durability, (6) high energy flash output, and (7) the amount of hght per pulse may be controlled. Existing line filament lamps exhibit a typical life of between 1,000 to 25,000 hours. Even in pulse mode where lifetime would be reduced ten times, the number of 3 ms pulses available would be over 50 million. Strobe lights are also commonly utihzed as hght sources. Strobe hghts may be the best option where very fast label motion is required, hi order to achieve a 10 inch per second non-blurred image speed (with a label having 5.0 mil bars) the CCD integration time should not exceed 250 microseconds. However, such an integration time is not a problem if an electronic shutter is utihzed. In such a case, the required level of label ihumination will be very high. The strobe hght hardware described in the Laser, et al., U.S. Patent N a 4,570,057 might be utihzed for the instant apphcation. Where fast label motion is required a customized xenon tube with a significantly reduced diameter would produce a much more accurate hght beam that would be easy to form and direct efficiently. Such a customized xenon tube would reduce power. consumption, component size, and provide an increased firing rate. Exemplary Optical Systems (Figs. 5, 6 and 7) In an exemplary embodiment the lens 81 should be aspheric with an F-number of approximately five. In such an embodiment the variable parameter for focusing is the distance between the sensor 82 and the lens 81. A light weight mirror 84 is inserted in the optical path between the sensor 82 and the lens 81 to serve two goals: (1) to shorten the required length of the housing, and (2) to alter the distance by moving a low mass component. The second goal is the most critical of the two. For fast acting focusing mechanisms the amount of moving mass is a crucial consideration. In an exemplary embodiment the mirror 84 and supporting bracket 85 may be made as a single metallized plastic part with a mass of less than 0.5 grams. In the proposed mechanism, when the mirror moves toward the sensor, it shghtly rotates counter-clockwise due to the difference in the distances between the top and bottom pairs of axes. This rotation helps to keep direction of view from changing in the plane perpendicular to the direction of CCD scanning. In an exemplary embodiment this rotational movement is accomplished by pivotally mounting the mirror support bracket 85 to a drive quadrant 86. The drive quadrant is drivably connected to a stepper motor 87. A single photosensor array 82, mounted within a housing, is utihzed for both ranging and imaging purposes. The housing includes a hght receiving opening for alignment with optical information or the like. Optical means are associated with the array 82 such that the image of optical information may be focused on the array 82. The optical means includes a lens 81 associated with a primary mirror 83 (Fig. 5, 6, & 7). Light entering the housing through the opening is refracted by the lens 81 onto the primary mirror 83. Light refracted by the lens 81 onto the primary mirror 83 is then reflected back through the lens 81 onto the focusing mirror 84. The focusing mirror 84 may be adjusted such that both the angle of separation and distance between the mirrors may be changed (Fig. 6 & 7). The focusing mirror 84 is held by the bracket 85 which is pivotably connected to a drive quadrant 86. Rotation of a drive motor shaft causes the position of the focusing mirror 84 to change in relation to the array 82 (Fig. 6 & 7). In operation, the image of a bar code, or the like, is focused from any distance, within a substantial range of distances, onto the array 82 by operation of the stepper motor 87. Exemplary Details for Distance Measurement and Autofocus Control An ultra high brightness LED is preferably used for distance measurement. Such an LED is commercially available as part AND190CRP from AND Corporation of Burlingame, California. The AND190CRP may be utihzed in pulse mode. In pulse mode current may be increased up to ten times in order to achieve a corresponding increase in brightness. Since available power is limited to five volts, a current increase of three to four times may be expected in pulse mode. Mirror positioning might be based on a number of approaches. The auto-focusing algorithm may have several branches with various priorities depending on the instant situation. Focusing data might be derived from the distance between the two red pointer spots. With a pair of "Kilobright" LEDs the narrow beams could be turned on and off during alternate scans so the image could be taken with or without the LED beams. Another source of focusing information might be derived from an analysis of sensor data. In a first case the steepness of slopes may be studied for deciding which direction to drive the focusing mirror. In a second case, especiaUy when a label like pattern is scanned, the modulation coefficient for different pulse widths could be measured and then compared with a similar measurement of a following scan. In order to stay away from the need to recognize particular pulses or pulse sequences in different scans (which were taken in different points of time) the processed data could be sorted statisticaUy in histograms, representing distribution of modulations in the pulse width domain. Then particular groups of pulse widths could be identified in different scans and their average modulations compared. This comparison would provide focusing quahty (FQ) criteria. The computer could trace the history of FQ and make decisions regarding the amount and direction of focusing movement. Methods of Determining Focusing Quality Automatic focusing of a barcode reading system may be accomplished by analyzing, in real time, certain quahties of an image signal produced by a CCD sensor. A numerical value may be calculated to provide the quantitative estimate of the focusing accuracy . This focus criterion may then be used to estimate the amount of adjustment necessary to achieve an optimum focus. The f ollowing three methods may be used for determining 1. Contrast Gradient Slopes of pulses represent transitions from dark to bright and are steeper for sharp images. The microprocessor 30 may determine the sharpest slope in a scan and record its value in volts per pixel. The slope rate is a function of focus quahty. The slope rate function may be reshaped into a value by using a table. 2. Distribution of Modulations Since the MTF (modulation transfer function) of ah optical systems changes shape significantly depending on the position of best focus relatively to the position of an object, the degree of modulation of pulses present in a bar code image signal depends on the width of those pulses. Depending on the speed performance of the utihzed processor, either a portion or entire length of a data string may be used for analysis. The modulations for each bar in an area of interest may be measured as: m = A / E where: A is an amphtude of a pulse, measured from its root to peak value, and E is an average of peak values for bright and dark pulses in the area of interest. In an exemplary embodiment modulations maybe stored temporarily along with values of corresponding widths. Ah pulses may then be sorted into two groups, e.g., a narrow pulse group and a wide pulse group. The limit between the groups may be calculated as: Wl = k Ws where: Wl is the largest width permitted for the narrow group, W2 is the shortest pulse width in a scan, and k is an empirically adjusted coefficient equal to 2.5 ± 0.5. The average modulations for each group (M„ for a narrow and M, for a wide group) may then be calculated. Finally, focusing quahty Q m may be derived through modulation measurements as: Q m = M Il / (M w x Wl) Since this value is statistical in nature, normahzed for average brightness, the value does not depend on the signal or content of the image. 3. Dispersion of Extremes An alternate method of focus quahty measurement is based on the measurement of the dispersion of extreme values. This method is also statistical in nature and based on the fact that in an image, consisting of pulses of various widths the amphtudes of short pulses degrade faster then the amphtudes of wider pulses as image focus quahty decreases. Thus, amphtudes become wider as focus quahty decreases. Focus quahty under this method may be calculated as: Q, = ∑(Bj - B 0 )/nB 0 + ∑(D { - D 0 )/nD 0 Where Q a is a measure of focus quahty which represents a normahzed dispersion of the extreme values of a signal. Without loss of functionality the squaring of deviations may be omitted in order to increase processing speed. A, is a current extreme value of a bright pulse, A 0 is an average value of bright extremes ((l/n)∑A j ), Bj is a current extreme value of a dark pulse, B 0 is an average value of dark extremes ((l/n)∑Bi), and n is the number of pulse pairs. This simple and fast method can give rehable results when the number of pulses exceeds some minimum (obviously, for a single pulse the dispersion is nil). For any particular position of a focus adjusting mechanism the focus quahty depends on the position of an object. Fig. 8 shows a typical curve. When an object is in the best focus position (p), focus quahty reaches its maximum, Q= 10096. At any other position of the object, the focus quahty decreases. Since a small decreases in focus quahty do not diminish image quahty below that necessary for successful decoding, a depth of focus zone (Δ f) around the best focus (p) position may be used. Even though this function exhibits duahty, it is still very useful for determining the position of the best focus by measuring its value at a current position, e.g., if it is possible to measure a current value q of the focus quahty function in the current position of the focusing mechanism (pi or p2) then the distance to the best position p may be found, and the duplicity problem could be resolved by tracing the direction and result of a previous move. The function of focus quahty very often is described in terms of a modulation transfer function, which gives a complete characterization of the quahty of image produced by an optical system in a given focusing situation. Fig. 9A and Fig. 9B illustrate a family of overlapping focus quahty functions for a number of equally spaced positions of a focusing mechanism. It should be apparent that bar code density must decrease as distance is increased. The further the target with a label, the wider the minimum bar (or space) of a bar code. This corresponds with the function of a fixed focal length lens where the distance from the lens to the sensor is adjustable for focusing. Fig. 9A best illustrates focus quahty as the position of best focus moves towards longer ranges. However, the focusing mechanism would move an equal amount (for example 3 steps of a stepper motor) between each of the shown positions. Correspondingly, in the image space (space between the lens and the sensor) projections of these focus quahty functions (representing acceptable depths of field at various ranges) ah the curves will be about the same and equahy spaced, as shown on the Fig. 9B. This adds to the simplicity of the focusing mechanism design. While the invention has been described with a certain degree of particularity, it is manifest that many changes may be made in the details of construction and the arrangement of components without departing from the spirit and scope of the disclosure. It is understood that the invention is not limited to the embodiments set forth herein for purposes of exemplification, but is to be limited only by the scope of the appended claims including the full range of equivalency to which each element thereof is entitled. Thus, there has been shown and described an improved portable optical reader system for reading optical information over a substantial range of distances which accomphshes at least ah of the stated objects.

Claims: I claim: 1. A portable optical reader system for reading optical information over a substantial range of distances, comprising: (a) a casing having a hght receiving opening for alignment with optical information to be read; (b) optical means comprising reflected hght collecting means for forming a reflected hght image and reading sensor means for converting a reflected image of optical information into an information signal, said optical means being adjustable such that said collection means tends to focus a reflected hght image of optical information located within said substantial range of distances onto said reading sensor means; (c) hght beam generating means associated with said casing and directed relative to said optical means and said hght receiving opening such that a hght beam generated thereby will impinge on an information carrier having optical information to be read and will be reflected therefrom through said hght receiving opening and via said collecting means to said reading sensor means, the position of impingement of the reflected light beam on said reading sensor means being a function of the range of the information carrier from said image sensor; and (d) control means for adjusting said optical means to tend to focus a reflected hght image of optical information associated with the information carrier at least in part in accordance with the position of impingement of the reflected hght beam on said reading sensor means. 2. The portable optical reader system of claim 1, wherein said reading sensor means comprises a sohd state photoelectric sensor array capable of resolving elements of optically readable information simultaneously incident thereon. 3. The portable optical reader system of claim 1, wherein said optical means include at least one lens. 4. The portable optical reader system of claim 3, wherein said optical means further include a first mirror for collecting hght from said lens and reflecting said light. 5. The portable optical reader system of claim 4, wherein said optical means further include a movable mirror for effecting focusing of hght reflected from said first mirror onto said sensor means. 6. The portable optical reader system of claim 5, wherein said optical means further include means for adjustably moving said mirror in relation to said sensor means without change of the aiming axis of the optical means which is to be ahgned with the optical information. 7. The portable optical reader system of claim 6, wherein said mirror is adjustably movable about at least one axis. 8. The portable optical reader system of claim 6, wherein said mirror is adjustably movable about at least two axes. 9. The portable optical reader system of claim 1, wherein said control means controls movement of said sensor means to effect focusing of the reflected hght image. 10. The portable optical reader system of claim 1 , wherein said lens means comprises a lens, and a lens system component, and said control means controls movement of at least one of said lens and said lens system component to effect focusing of the reflected hght image. 11. The portable optical reader system of claim 1, wherein said optical means comprises: a lens associated with said casing; and a mirror mounted within said casing such that hght entering said h ght receiving opening passes twice through said lens. 12. The portable optical reader system of claim 1, further comprising: a carriage having a focus adjusting mirror movable therewith to effect focusing; pivot means for pivotably connecting said carriage to said casing; drive linkage means associated with said carriage; and electric motor means for drivingly moving said carriage about at least two axes via said drive linkage means. 13. The portable optical reader system of claim 1, further comprising: a carriage having a focus adjusting mirror movable therewith to effect focusing; drive means for movably adjusting said carriage relative to casing; and cam means associated with said carriage such that said carriage moves said focus adjusting mirror about at least two axes during movable adjustment of said carriage. 14. A portable optical reader system for reading optical information over a substantial range of distances, comprising: (a) a casing having an opening for facing optical information; (b) adjustable optical means, disposed in said casing, for imaging at a predetermined reading position in said casing an image of optically readable information facing said opening by hght reflected therefrom, said information located on the surface of an optically readable information carrier; (c) reading sensor means, disposed at said predetermined reading position and having a hght receiving plane, for converting an image into an electric signal; (d) means for emitting a hght beam, positioned in said casing, such that said hght beam is reflected from a surface of an optically readable information carrier without being refracted by said optical means, said carrier at an unknown distance from the plane of said reading sensor means, such that said reflected light beam is refracted by said optical means onto the plane of said reading sensor means such that the optically refracted and reflected hght beam is converted into an electric signal; (e) means for obtaining a measure of any needed focus adjustment based in part on said electric signal produced by said reading sensor means from the refracted hght beam reflected from said carrier surface, (f) means for adjusting said optical means in accordance with said measure of needed focus adjustment such that said optical means focuses the image of optically readable information, located on the surface adjacent said information carrier, at said predetermined reading position; and (g) means for producing a digital information set corresponding to the image of said opticahy readable information focused at said predetermined reading position. 15. A portable optical reader system for reading optical information over a substantial range of distances, comprising: (a) means for emitting a hght beam, such that said hght beam is reflected from a surface of an object at an unknown distance from said emitting means, said hght beam having a center and a peripheral edge; (b) receiving means, including a receiving surface disposed in a plane, for receiving at least a portion of said reflected hght beam and converting at least said portion of said reflected hght beam into an electrical signal; (c) means for obtaining a measure of any needed focus adjustment based in part on said electrical signal produced from said hght beam; (d) an adjustable optical system disposed to receive the reflected image of said object and adjustable to affect focus of said image at said receiving surface; (e) means for adjusting said optical system in accordance with said measure of needed focus adjustment such that said optical system focuses the image of said object on said receiving surface; and (f) means for producing a digital information set corresponding to the image of said object focused on said receiving means. 16. A method of determining focusing quahty according to a contrast gradient, comprising: (a) reflecting a hght beam from an object having an image to be focused; (b) opticahy directing the image of said reflected hght beam such that said hght beam impinges on the surface of a photosensitive array; (c) processing the output of said photosensitive array such that an image contrast gradient is determined; and (d) focusing said image with said contrast gradient wherein focus quahty is a function of the slope rate of the contrast gradient. 17. A method of determining focusing quahty according to a distribution of modulations, comprising: (a) optically directing the image of an object to be focused such that the reflected hght image of said object impinges on the surface of a photosensitive array; (b) determining the modulation transfer function of at least certain areas of the image of said object from the output of said array; (c) sorting the pulse modulations of said at least certain areas of the image of said object by pulse width; (d) separating the sorted pulse modulations into a group of narrow pulse widths and a group of wide pulse widths; (e) calculating the average pulse modulation of each group; and (f) focusing said image with said average pulse modulation for each group wherein focus quahty is a function of the ratio of the narrow pulse width group and wide pulse width group. 18. A method of determining the focusing quahty of an image of pulses of various widths, comprising: (a) optically directing the image of an object to be focused such that the reflected light image of said object impinges on the surface of a photosensitive array; (b) determining the extreme values of bright pulses (B,) and dark pulses (D,) of the image of said object from the output of said array; (c) determining the average values of bright extremes (B„) and dark extremes (D„); (d) determining the number of pulse pairs (n); (e) statistically evaluating said pulse data according to the following expression: = Σ(A, - A 0 )/nA 0 + ∑(B, - B 0 )/nB 0 wherein: Q, is a measure of focus quahty, A, is a current extreme value of a bright pulse, A 0 is an average value of bright extremes ((l/n)∑Ai), B, is a current extreme value of a dark pulse, B 0 is an average value of dark extremes ((l/n)∑Bj), and n is the number of pulse pairs. 19. The method of determining focusing quahty of claims 16, 17, and 18, further comprising the step of controlhng the signal level of said array output such that said signal is maintained within a dynamic range.

Inventors: LASER VADIM, LASER, VADIM
Applicants: NORAND CORP, NORAND CORPORATION
Application year: 1992
Main classification: G06K7
IPC codes: G06K7