Plaque It!
Sponsored by: Flash of Genius |
[0001] This application claims priority from a United States Provisional Application filed on Dec. 18, 2002 and assigned U.S. Provisional Application Serial No. 60/434,519, the contents of which are incorporated herein by reference.
[0002] 1. Field of the Invention
[0003] This invention relates to imaging in optical code reading devices. This invention is particularly useful in solid state, area image sensor based, handheld code readers which are positioned at variable orientations and distances with respect to a target code and where a sharply focused image of the code is desirable for reliable code capture and decoding.
[0004] 2. Description of the Related Art
[0005] Various optical readers and optical scanning systems have been developed heretofore for reading indicia such as bar code symbols appearing on a label or on the surface of an article. The bar code symbol itself is a coded pattern of indicia comprised of a series of bars of various widths spaced apart from one another by bound spaces of various widths, the bars and spaces having different light-reflecting characteristics. The readers and scanning systems electro-optically transform the graphic indicia into electrical signals, which are decoded into alphanumerical characters that are intended to be descriptive of the article or some characteristic thereof. Such characters are typically represented in digital form and utilized as an input to a data processing system for applications in point-of-sale processing, inventory control, and the like.
[0006] One embodiment of such a scanning system resides, in a hand-held, portable laser scanning head supported by a user, which is configured to allow the user to aim the head, and more particularly, a light beam, at a target and a symbol to be read.
[0007] The light source in a laser scanner bar code reader is typically a gas laser or semiconductor laser. The use of semiconductor devices as the light source in scanning systems is especially desirable because of their small size, low cost and low voltage requirements. The laser beam is optically modified, typically by a focusing optical assembly, to form a beam spot of a certain size at the target distance. It is preferred that the cross section of the beam spot at the target distance be approximately the same as the minimum width between regions of different light reflectivity, i.e., the bars and spaces of the symbol.
[0008] The bar code symbols are formed from bars or elements typically rectangular in shape with a variety of possible widths. The specific arrangement of elements defines the character represented according to a set of rules and definitions specified by the code or “symbology” used. The relative size of the bars and spaces is determined by the type of coding used, as is the actual size of the bars and spaces. The number of characters per a given area represented by the bar code symbol is referred to as the density of the symbol. To encode a desired sequence of characters, a collection of element arrangements are concatenated together to form the complete bar code symbol, with each character of the message being represented by its own corresponding group of elements. In some symbologies, a unique “start” and “stop” character is used to indicate where the bar code begins and ends. A number of different bar code symbologies exist. These symbologies include UPC/EAN, Code 39, Code 128, Codabar, and Interleaved 2 of 5.
[0009] For the purpose of our discussion, characters recognized and defined by a symbology shall be referred to as legitimate characters, while characters not recognized and defined by that symbology are referred to as illegitimate characters. Thus, an arrangement of elements not decodable by a given symbology corresponds to an illegitimate character(s) for that symbology.
[0010] In the laser beam scanning systems known in the art, the laser light beam is directed by a lens or similar optical components along a light path toward a target that includes a bar code or other symbol on the surface. The moving-beam scanner operates by repetitively scanning the light beam in a line or series of lines across the symbol by means of motion of a scanning component, such as the light source itself or a mirror, disposed in the path of the light beam. The scanning component may either sweep the beam spot across the symbol and trace a scan line or pattern across the symbol, or scan the field of view of the scanner, or do both.
[0011] Bar code reading systems also include a sensor or photodetector which functions to detect light reflected or scattered from the symbol. The photodetector or sensor is positioned in the scanner in an optical path so that it has a field of view which ensures the capture of a portion of the light which is reflected or scattered off the symbol and is detected and converted into an electrical signal. Electronic circuitry or software decodes the electrical signal into a digital representation of the data represented by the symbol that has been scanned. For example, the analog electrical signal detected by the photodetector may be converted into a pulse width modulated digital signal, with the widths corresponding to the physical widths of the bars and spaces. Such a digitized signal is then decoded based upon the specific symbology used by the symbol into a binary representation of the data encoded in the symbol, and subsequently to the alphanumeric characters so represented.
[0012] Moving-beam laser scanners are not the only type of optical instrument capable of reading bar code symbols. Another type of bar code reader particularly relevant to the present invention is one which incorporates detectors based upon charge coupled device (CCD) technology. In such prior art readers the size of the detector is typically smaller than the symbol to be read because of the image reduction by the objective lens in front of the CCD. The entire symbol is flooded with light from a light source such as light emitting diodes (LED) in the reader, and each CCD cell is sequentially read out to determine the presence of a bar or a space.
[0013] Inclusion of an auto focus system incorporating a method for determining distance to a targeted indicia and moveable or variable-focus optics in a CCD or other image based scanning device is envisioned as a method for extending the versatility and working range of the system.
[0014] It is a general object of the present invention to provide an improved optical code reader without the limitations of prior art readers.
[0015] It is another object of the present invention to provide a means for controlling an automatic focusing optics assembly in an optical code reader according to a determined distance to a targeted indicia.
[0016] It is yet another object of the present invention to provide a system for creating and analyzing light patterns for determining the distance to the targeted indicia and subsequently provide focus-adjusting control signals to the optics assembly.
[0017] The present invention relates to methods and apparatus for improving the code acquisition of optical code readers, especially imaging code readers. Techniques are disclosed which are applicable for determining distance to a targeted indicia for controlling an automatic focusing optical assembly of an imaging code reader. The present invention makes use of collimated aiming patterns and speckle patterns to determine distance.
[0018] In a first embodiment of an optical code reader, where a collimated aiming pattern is used for determining distance, laser beams are aimed at the targeted indicia. The beams incident to the indicia are subsequently reflected back to the optical code reader and detected by a segment of a detector, i.e. array of photodetectors, CCD, or other imaging element. The reflected beam illuminates different segments of the detector based on the distance to the targeted indicia. By using the known position of the components within the code reader, and basic equations, the distance to the targeted indicia can be determined. The distance determination may be performed either in real-time through the use of a processor to calculate the distance based on the data from the detector, or through the use of a data structure, such as a lookup table, which cross-references detector data with their corresponding distance values.
[0019] In another embodiment of an optical code reader, where a speckle pattern is used to determine distance, a laser beam illuminates the targeted indicia producing a speckled pattern, known in the art as the speckle effect, on an image sensor. As the image sensor is moved closer to the targeted indicia, the speckle noise or speckles that make up the speckled pattern become smaller producing a higher spatial distribution frequency on the image sensor, while conversely, as the image sensor is moved further away from the targeted indicia, the speckles increase in size and merge resulting in a lower spatial distribution frequency. The relation between distance to the targeted indicia and speckle spatial distribution frequency can be correlated using a data structure, such as a lookup table, where a plurality of spatial distribution values are cross referenced with their corresponding distance values. Alternatively, a processor calculates the distance of the targeted indicia from the speckle spatial distribution data through the use of an algorithm or application software.
[0020] Various embodiments of the invention will be described herein below with reference to the figures wherein:
[0021]
[0022]
[0023]
[0024]
[0025]
[0026] In the present invention, an optical code reader having an imaging engine is provided. The optical code reader includes an image sensor. Such an image sensor may be a two-dimensional or area charge coupled device (CCD) and associated circuitry for producing electronic signals corresponding to a two-dimensional array of pixel information for a field of view. The optical code reader of the present invention also includes the capabilities of determining distance to a targeted indicia by utilizing properties of reflected coherent light and adjusting the focus quality of an image impinged on the image sensor according to the determined distance.
[0027]
[0028] The optical code reader
[0029] A flexible electrical cable
[0030] A decode module may be provided in the optical code reader
[0031] The host terminal
[0032]
[0033] In a wireless embodiment, the power source, preferably rechargeable, will need to be contained in the handheld code reader
[0034] With reference to
[0035] A power source
[0036] The rechargeable power source
[0037] It will be understood that aspects of the present invention are also applicable to imaging engines which are not located in conventional handheld scanners or guns. For example, the imaging engine may be incorporated into a computer terminal in a fixed location or in a rotating turret. Such arrangements are particularly well adapted for using the imaging engine and distance determining components as part of a video phone system which also uses the display, processing and I/O capabilities of the computer.
[0038] The optical code reader
[0039] Alternatively, the imaging engine
[0040] In portable applications where electrical power is supplied by batteries, it is particularly important to conserve energy. Power management techniques may include switching the images to lower resolution or frame rates to conserve power. Alternatively, the imaging engine or other optical code reader circuitry, or portions thereof, may be periodically shut down or enter a sleep mode, or shut down when the system senses that the battery charge level has dropped below a pre-selected level.
[0041] With reference to
[0042] The imaging engine
[0043] In a first embodiment of the optical code reader, distance to a targeted optical code or indicia is determined using a collimated aiming pattern produced by an illumination source. The collimated aiming pattern is reflected from the targeted indicia to the image sensor. Distance to the targeted indicia can then be determined using the angle of reflection of the collimated aiming pattern incident on the target.
[0044]
[0045] Where:
[0046] Z
[0047] Z
[0048] P is the separation of the two beams (in
[0049] S is the height of the pattern on the sensor
[0050] The distance data can then be converted to a form useable for controlling by the processor
Lookup Table Size (S) Distance (Z 1 12 2 6 3 4 4 3 . . . . . .
[0051] A second embodiment utilizes the speckle patterns produced by the speckle effect to determine distance. The speckle effect is an observed phenomenon of laser light illuminating a rough surface causing interference within the scattered light. The speckle effect, as its name implies, produces a speckle pattern having bright and dark regions as a result of the interference. As the image sensor is moved away from the surface the speckles grow in size and merge with one another.
[0052] The resulting change in spatial distribution frequency of the speckles in relation to the distance is used to determine the distance to the targeted indicia as illustrated in
[0053] Where:
[0054] Z
[0055] ƒ is the spatial frequency on the sensor
[0056] P is the beam diameter
[0057] λ is the wavelength
[0058] The corresponding distance value is then used by the processor
Lookup Table Spatial Freq. (f) Distance (Z 100 25.64 200 12.82 300 8.55 400 6.41 . . . . . .
[0059] The above described optical code reader utilizes light patterns, such as collimated and speckle patterns, and lookup tables, or other data structures, to determine distance to a targeted indicia and control an automatic focusing assembly, such as the automatic focusing assembly described in co-pending application assigned U.S. application Ser. No. ______ (1400-13), the contents of which are incorporated herein by reference. The distance determining components correlate the detected patterns reflected by the targeted indicia with distance values stored in the lookup tables.
[0060] The described embodiments of the present invention are intended to be illustrative rather than restrictive, and are not intended to represent every embodiment of the present invention. Various modifications and variations can be made without departing from the spirit or scope of the invention as set forth in the following claims both literally and in equivalents recognized in law.