US20050029357A1 - Apparatus and method for automatic gain control during scanning - Google Patents

Apparatus and method for automatic gain control during scanning Download PDF

Info

Publication number
US20050029357A1
US20050029357A1 US10/933,981 US93398104A US2005029357A1 US 20050029357 A1 US20050029357 A1 US 20050029357A1 US 93398104 A US93398104 A US 93398104A US 2005029357 A1 US2005029357 A1 US 2005029357A1
Authority
US
United States
Prior art keywords
gain
segment
optical detector
scan window
optical
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US10/933,981
Inventor
Jesse Kolstad
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to US10/933,981 priority Critical patent/US20050029357A1/en
Publication of US20050029357A1 publication Critical patent/US20050029357A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/10544Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum
    • G06K7/10821Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation by scanning of the records by radiation in the optical part of the electromagnetic spectrum further details of bar or optical code scanning devices
    • G06K7/10851Circuits for pulse shaping, amplifying, eliminating noise signals, checking the function of the sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation

Definitions

  • the present invention relates generally to scanners, and in particular, but not exclusively, to automatic gain adjustment during scanning.
  • Bar code scanners typically function by generating a thin beam of light and scanning the beam across a symbol to be read.
  • the symbol typically comprises a plurality of alternating light (usually white) and dark (usually black) areas; the best-known symbols are bar codes, where the light and dark areas are formed by a white background with alternating black bars superimposed thereon.
  • the spot created by the projection of the beam onto the symbol travels across the symbol, it crosses the alternating light and dark areas and a portion of the light hitting the symbol is reflected back into the scanner. More light is reflected from the light areas than from the dark areas, so the optical energy reflected back into the scanner will consist of a signal containing a series of peaks corresponding to the light areas and valleys corresponding to the dark areas.
  • Processing circuitry within the scanner then converts the received optical signal into an electrical signal and proceeds to decode the peaks and valleys in the signal, thus extracting the information contained in the symbol.
  • FIGS. 1A and 1B illustrate a common problem that occurs when a scanner attempts to read a flat symbol. All scanners have a so-called “scan window” within which the symbol must be placed if the scanner is to correctly read it. In addition, scanners usually have a fixed focal length and depth of field, depending on the optics used in the scanner. Thus, not only must the symbol be within the scan window, but it also must be within a prescribed distance of the scanner to be read.
  • FIG. 1A illustrates a typical scanner setup, with the scanner 100 positioned at the focal distance ⁇ from the label 102 containing a symbol to be read.
  • the focal distance ⁇ is substantially shorter than that shown in FIG.
  • FIG. 1A illustrates the effect of the above phenomenon on the optical response of the scanner.
  • FIG. 1C illustrates another phenomenon that affects the optical response of the scanner.
  • the optical response is also affected by the light-collection properties of the optical detector within the scanner.
  • the detector 112 If instead a beam 114 is incident on the detector 112 at a non-zero angle ⁇ , then the detector only collects energy over the projected area A ⁇ , which is substantially smaller than the projected area A 0 . As the angle ⁇ increases, the area A ⁇ gets smaller, and thus the area over which the detector can collect optical energy decreases. This phenomenon factors into the optical response curve 108 shown in FIG. 1B .
  • AGC Automatic Gain Control
  • Chisholm One way of dealing with the poor optical response near the symbol edges is discussed in U.S. Pat. No. 5,701,003 to Chisholm et al (“Chisholm”).
  • the approach taken in Chisholm to improve optical response of the scanner at the edges of the scan window is to increase the optical power of the laser in the scanner near the edges of the scan window while reducing the power of the laser near the middle of the scan window. Because the angles of incidence and reflection of the scanning beam continue to be the same at the edges of the scan window, the proportion of optical energy reflected back to the scanner at the edges of the scan window continues to be the same. Since the power of the incident beam is higher, however, the optical power reflected back to the scanner is higher.
  • the net effect of the Chisholm approach is that the optical response curve is “flattened,” so that the optical response is more nearly constant across the width of the scan window.
  • the disclosure describes an apparatus and method for automatic gain control during scanning.
  • the apparatus comprises an optical detector to receive an optical signal reflected from a symbol positioned within a scan window by an optical beam scanned from a leading edge of the scan window to a trailing edge of the scan window; and a processor coupled to the optical detector to adjust the gain of the optical detector during the beam scan.
  • the process comprises receiving an optical signal using an optical detector, wherein the optical signal comprises optical energy reflected from a symbol positioned in a scan window as an optical beam scans from a leading edge of the scan window to a trailing edge of the scan window, and adjusting the gain of the optical detector during receipt of the optical signal.
  • a calibration process is disclosed comprising calibrating the optical detector to obtain a plurality of gain corrections, each gain correction corresponding to a different position between a leading edge and a trailing edge of a scan window, and storing the plurality of gain corrections.
  • FIG. 1A is a plan view of a scanner reading a flat symbol.
  • FIG. 1B is a graph showing the optical response of a scanner using constant gain.
  • FIG. 1C is a diagram illustrating a phenomenon observed in the light-collection properties of optical detectors.
  • FIG. 2A is a simplified block diagram illustrating an embodiment of a scanner.
  • FIG. 2B is a diagram illustrating a typical analog optical signal carried in the optical energy reflected from a symbol.
  • FIG. 3A is a block diagram of an embodiment of a processor for processing analog output of the optical detector of the scanner of FIG. 2A .
  • FIG. 3B is a block diagram of another embodiment of a processor for digitizing and processing digital output from the optical detector of the scanner of FIG. 2A .
  • FIGS. 4A-4C are diagrams showing an embodiment of the invention for correcting the gain during a symbol scan.
  • FIG. 5A is a diagram illustrating an embodiment of the segmentation of the scan window for calibration.
  • FIG. 5B is a flowchart illustrating an embodiment of a process for calibrating the scanner to obtain gain corrections.
  • FIG. 6 is a table illustrating an embodiment of how the gain corrections are adjusted and stored during the calibration process of FIG. 5 .
  • Embodiments of an apparatus and method for automatic gain control during scanning are described herein.
  • numerous specific details are described to provide an understanding of embodiments of the invention.
  • One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, materials, etc.
  • well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
  • FIGS. 2A-2B illustrate an embodiment of a bar code scanner 200 of the present invention.
  • the bar code scanner 200 comprises a beam generator 202 , a beam generator control module 204 , an optical detector 206 , a detector control and processing module 208 , and a set of optics 210 .
  • Alternative embodiments of a scanner can have more, less, or different components, and the components can be grouped or arranged differently.
  • the beam generator 202 In operation, the beam generator 202 , as controlled by the beam generator module 204 , generates an optical beam 212 —typically a laser beam in the visible range of wavelengths, but it can be other wavelength ranges as well—and scans the beam across a scan window 215 .
  • a bar code 214 is positioned within the scan window; the bar code 214 may occupy some or all of the width of the scan window 215 .
  • the scanning beam 212 creates a spot that traverses the scan window 215 and the bar code 214 along a scan path 216 , from a leading edge 218 of the scan window to a trailing edge 220 of the scan window.
  • the beam scans across the scan window and reaches the bar code 214 , a portion of the optical energy from the scanning beam is reflected from the bar code and travels back to the optics 210 , where it is focused onto the optical detector 206 .
  • the magnitude of the optical energy reaching the optical detector 206 will vary according to whether the scanning beam is reflected from a light portion of the bar code or a dark portion of the bar code; thus, the reflected optical energy reaching the optical detector is an optical signal containing information from the bar code.
  • the reflected optical energy reaches the optical detector 206 , and the optical detector 206 converts the optical energy into an analog electrical signal 222 , which is then routed to the detector processing and control module 208 for processing.
  • the analog electrical signal generated by the optical detector 206 very closely approximates the optical signal received at the detector, and can be spoken of synonymously with the received optical signal.
  • the term “received signal” can refer to either the optical signal or the electrical signal, as the context may require.
  • FIG. 3A illustrates an embodiment of the processing module 208 that can be coupled to the optical detector 206 , although other or additional embodiments having more, less, or different components can also be used.
  • FIG. 3A illustrates an analog processing circuit for processing the analog electrical signal produced by the optical detector in response to the optical signal received at the detector.
  • the optical detector 206 receives the optical signal reflected from the bar code 214 , it converts the optical signal into a corresponding electrical signal, as shown in FIG. 2B .
  • the electrical signal output from the optical detector 206 is routed to an amplifier 300 , where the signal is amplified before processing.
  • a control circuit 302 is coupled to the amplifier 300 to, among other things, monitor the amplitude of the signal and adjust the gain of the amplifier according to some defined criteria, further discussed below. In some cases, it may be possible to adjust the gain of the optical detector directly instead of adjusting the gain of the amplifier. The end result is the same no matter which gain is adjusted, so adjusting the gain of the optical detector and adjusting the gain of
  • the control circuit 302 can include a peak detector to monitor peak amplitudes of the electrical signal, and can also be connected to a memory 304 to retrieve gain control information or information for other purposes. Although shown as a separate module, the memory 304 may also be incorporated into the control circuit 302 .
  • a decoder 306 After the signal has been amplified in the amplifier 300 , it is routed to a decoder 306 , which extracts the information contained in the amplified signal and thus decodes the bar code 214 . Once the signal has been decoded and the information from the bar code extracted, the information may optionally be sent to some external component, such as a computer.
  • FIG. 3B illustrates a digital processing circuit for processing the analog electrical signal produced by the optical detector in response to the optical signal received at the detector from the light reflected from the bar code.
  • the electrical signal output from the optical detector 206 is routed to an amplifier 308 , where the signal is amplified before processing.
  • a control circuit 310 is coupled to the amplifier 308 to, among other things, monitor the amplitude of the signal and adjust the gain of the amplifier according to some defined criteria, further discussed below.
  • the control circuit 310 can include a peak detector to monitor peak signal amplitudes , and the control circuit can also be connected to a memory 312 , for example if it needs to retrieve gain control information or information for other purposes.
  • the memory 312 may also be incorporated into the control circuit 310 .
  • the signal After the signal has been amplified in the amplifier 308 , it is routed to an analog/digital (A/D) converter 314 , which digitizes the signal.
  • A/D analog/digital
  • the digitized signal is then transmitted to a digital signal processor (DSP) 316 , where the information is extracted from the signal, thus decoding the bar code.
  • DSP digital signal processor
  • the digital signal processor may also be coupled to the memory 312 , and additionally may be coupled to the control circuit. That way, the DSP 316 can provide information to the control circuit 310 to allow it to determine whether to adjust the gain of the signal.
  • the information Once the signal has been decoded and the information from the bar code extracted, the information may optionally be sent to some external component, such as a computer.
  • FIGS. 4A-4C illustrate an embodiment of the process by which the processing circuit 208 adjusts the gain profile of a particular scan to make the optical response more uniform during the scan.
  • FIG. 4A illustrates a typical bar code 214 positioned within the scan window 215 of the scanner; the bar code 214 is one type of symbol that can be read using a scanner.
  • the scan window is divided into a plurality of different segments. The scan window is not itself physically divided into segments, but rather the internal representation of the scan window within the processing circuit is divided into segments as shown.
  • the minimum number of segments is eleven: 5 segments (numbered 1-5) bordering the leading edge 218 of the scan window, a single long “core” or baseline segment in the middle, and 5 segments numbered 1-5 bordering the trailing edge 220 of the scan window.
  • 11 is the preferred number of segments, any number of segments can be used, with the understanding that a number of segments that is too small can result in inadequate resolution of the bar code and an inaccurate result, while a number of segments too large can result in additional or excessive processing time for each scan.
  • they can be distributed along the length of the scan window as shown or in some other manner.
  • the segments can be positioned using an exponential or logarithmic spacing scheme that would compress the numbered segments closer to the leading and trailing edges, and thus lengthen the baseline segment.
  • FIG. 4B illustrates the process by which the processing circuit adjusts the gain.
  • the gain for a particular scan is set to some baseline value G B
  • the value of G B can be determined, for example, using an automatic gain control (AGC) system that makes gain adjustments from scan to scan, depending for example, on the distance between the scanner and the symbol; generally, the value of G B will be relatively lower if the symbol 214 is close to the scanner, and will be relatively higher if the symbol 214 is farther from the scanner.
  • AGC automatic gain control
  • the gain corrections ⁇ G i will generally be symmetrical about the core or baseline segment, such that ⁇ G 5 near the leading edge 218 of the scan window will be approximately equal to ⁇ G 5 near the trailing edge 220 . But this need not always be the case; it is entirely possible that the gain corrections may be asymmetrical.
  • FIG. 4C illustrates the results of applying the gain corrections as described above.
  • the gain profile across the scan window would have been a flat line (i.e., the gain would have been constant G B across the window)
  • the gain profile is now roughly a flat, U-shaped curve 400 , with the gain being relatively higher near the leading and trailing edges and relatively lower near the middle of the scan window where less or no gain correction is necessary.
  • the optical response of the scanner is illustrated by the optical response curve 108 (see FIG. 1B ), whereas with the corrected gain profile the optical response is as shown in curve 402 .
  • the optical response of the system using the corrected gain profile is substantially improved near the edges of the scan.
  • the net effect of applying the gain corrections is to widen the effective scan window of the scanner.
  • FIGS. 5A and 5B illustrate an embodiment of a calibration process used to obtain the gain corrections ⁇ G i , which are then used to correct the gain in each segment as shown in FIG. 4B .
  • FIG. 5A illustrates an embodiment of the calibration setup. As an initial matter, the scan window is divided into a plurality of segments as shown in connection with FIG. 4A . The number of segments used in calibration will correspond to the number of segments to be used during scanning. As before, the preferred number of segments is 11, although any number of segments can be used, with the understanding that a small number of segments can result in inadequate resolution of the bar code and an inaccurate result, while a large number of segments can result in additional or excessive processing time for each symbol.
  • a test symbol 501 is positioned within the scan window 215 .
  • the test symbol 501 should be at least as wide as the scan window 215 , and should be positioned to cover the entire width of the window 215 so that corrections can be obtained over the entire window width.
  • the test symbol will generally be a bar code with evenly spaced bars of equal width, but may be some other symbol as well.
  • the illustrated calibration is preferably performed only once in the factory, so that end users of the scanner need not re-calibrate the scanner at all.
  • FIG. 5B illustrates an embodiment of the actual calibration process 500 .
  • the calibration begins at block 502 .
  • a baseline gain G B is established.
  • the value of G B can be determined, for instance, using an automatic gain control (AGC) system.
  • AGC automatic gain control
  • Most AGCs are designed to adjust the gain between scans and establish a single gain value for each scan, usually based on the distance between the scanner and the symbol being scanned; generally, the value of G B will be lower if the test symbol is close to the scanner, and will be relatively higher if the test symbol is farther from the scanner.
  • Other methods of establishing G B may also be used; for example, G B can be determined by an initial scan of the test symbol itself, or may be chosen arbitrarily based on observation or experience by an operator.
  • the test symbol is scanned, and at block 508 the peak amplitude of the signal in the first segment is determined using a peak detector of the kind known in the art.
  • the peak signal amplitude in the segment is compared to the peak signal amplitude in the baseline or core area. If the segment peak is greater than or equal to the baseline peak, then the process proceeds to block 512 , where it checks to see if any segments remain; if any segments do remain, then the process moves to the next remaining segment at block 514 , returns to block 508 and repeats the steps for each remaining segment.
  • a gain correction ⁇ G i for that segment is adjusted upward.
  • the amount by which the values of ⁇ G i are adjusted depends on the system being used.
  • the increment by which ⁇ G i are adjusted can be a specific fraction of the overall gain range of the system. For example, in an 8-bit system one increment is 1/256 of total gain range. This increment could be adjusted by a factor of two or three, but for accuracy it is desirable to increment in the smallest steps possible.
  • the gain adjustments can be multiplicative—that is, the correction factor can be formulated so that it is multiplied by the gain instead being added to the gain.
  • the incremented ⁇ G i is added to the baseline gain G B for segment i.
  • the process checks whether any segments remain; if segments remain, then at block 520 the process moves to the next segment and then returns to block 508 and performs the same process on the next segment. The loop continues until gain corrections have been computed for all segments. If at block 512 or block 518 the process determines that all segments have been processed, then at block 522 the system checks to see whether the peak amplitude in every segment was equal to or greater than the peak amplitude in the baseline segment; if not, then the process returns to block 506 and repeats the process for all segments. If at block 522 the process finds that the peak amplitude in every segment was equal to or greater than the peak amplitude in the baseline segment, then at block 524 the cumulatively adjusted gain corrections ⁇ G i are stored for future use in scanning.
  • FIG. 6 illustrates an embodiment of how the gain corrections ⁇ G i are incremented during the calibration process of FIG. 5 .
  • the table shows the adjustments for only 5 of the segments, which may be either the leading edge segments or the trailing edge segments. In either case, the process is identical for the remaining segments.
  • all the peak amplitudes are less than the peak amplitude in the baseline segment, so the value of ⁇ G i is incremented in each segment.
  • the same procedure is repeated.

Abstract

The disclosure describes an apparatus and method for automatic gain control during scanning. The apparatus comprises an optical detector to receive an optical signal reflected from a symbol positioned within a scan window by an optical beam scanned from a leading edge of the scan window to a trailing edge of the scan window; and a processor coupled to the optical detector to adjust the gain of the optical detector during the beam scan. The process comprises receiving an optical signal using an optical detector, wherein the optical signal comprises optical energy reflected from a symbol positioned in a scan window as an optical beam scans from a leading edge of the scan window to a trailing edge of the scan window, and adjusting the gain of the optical detector during receipt of the optical signal. A calibration process is disclosed comprising calibrating the optical detector to obtain a plurality of gain corrections, each gain correction corresponding to a different position between a leading edge and a trailing edge of a scan window, and storing the plurality of gain

Description

    CROSS-REFERENCE TO RELATED APPLICATIONS
  • This application is a continuation under 37 CF.R. § 1.53(b) of U.S. patent application Ser. No. 10/251,213, and claims priority therefrom under 35 U.S.C. § 120. The priority application was filed Sep. 20, 2002, and is currently pending.
  • TECHNICAL FIELD
  • The present invention relates generally to scanners, and in particular, but not exclusively, to automatic gain adjustment during scanning.
  • BACKGROUND
  • Bar code scanners typically function by generating a thin beam of light and scanning the beam across a symbol to be read. The symbol typically comprises a plurality of alternating light (usually white) and dark (usually black) areas; the best-known symbols are bar codes, where the light and dark areas are formed by a white background with alternating black bars superimposed thereon. As the spot created by the projection of the beam onto the symbol travels across the symbol, it crosses the alternating light and dark areas and a portion of the light hitting the symbol is reflected back into the scanner. More light is reflected from the light areas than from the dark areas, so the optical energy reflected back into the scanner will consist of a signal containing a series of peaks corresponding to the light areas and valleys corresponding to the dark areas. Processing circuitry within the scanner then converts the received optical signal into an electrical signal and proceeds to decode the peaks and valleys in the signal, thus extracting the information contained in the symbol.
  • FIGS. 1A and 1B illustrate a common problem that occurs when a scanner attempts to read a flat symbol. All scanners have a so-called “scan window” within which the symbol must be placed if the scanner is to correctly read it. In addition, scanners usually have a fixed focal length and depth of field, depending on the optics used in the scanner. Thus, not only must the symbol be within the scan window, but it also must be within a prescribed distance of the scanner to be read. FIG. 1A illustrates a typical scanner setup, with the scanner 100 positioned at the focal distance ƒ from the label 102 containing a symbol to be read. When the scanning beam 104 is approximately in the central portion of the symbol 102, it is incident on the symbol at a perpendicular angle; in this case, a substantial amount of the optical energy of the beam is reflected back to the scanner and a small portion is absorbed by the symbol. As the beam scans and nears the edges of the scan window, it emerges from the scanner at an angle θ, meaning that the angle of incidence of the beam on the symbol is also θ; thus, θ12 as shown. If the angle of incidence on the symbol is θ, then basic physics dictate that the angle of reflection from the symbol must also be θ. Thus, of the total optical energy contained in the incident beam, a certain portion is absorbed, a certain portion is reflected back toward the scanner, and a certain portion 106 is reflected into free space. As the angle θ increases, the proportion of the optical energy reflected back toward the scanner decreases, while the proportion 106 of the optical energy reflected into free space increases. As a result, the amount of optical power received at the scanner drops off significantly at the edges of the symbol, making it difficult to adequately scan, capture and decode the information contained near the edges of the symbol. The problem is particularly acute when the scanner must operate in very close quarters and must therefore be placed very close to the symbol. In this case, the focal distance ƒ is substantially shorter than that shown in FIG. 1A, meaning that the angles θ are substantially larger, and that the return power at the edges of the symbol are substantially smaller. Thus, in scanners having a short focal length and operating near the symbol it is particularly challenging to properly read the edges of the symbol. FIG. 1B illustrates the effect of the above phenomenon on the optical response of the scanner.
  • FIG. 1C illustrates another phenomenon that affects the optical response of the scanner. In addition to the fact that less optical energy is reflected from the symbol toward the scanner at higher angles θ, the optical response is also affected by the light-collection properties of the optical detector within the scanner. Specifically, the optical energy collected by an optical detector depends on the projected area of the detector in the direction from which the energy is collected. Thus, if a beam 110 is incident on a detector 112 at a normal angle (i.e., θ=0 degrees), then the detector 112 collects the optical energy over the entire area A0. If instead a beam 114 is incident on the detector 112 at a non-zero angle θ, then the detector only collects energy over the projected area Aθ, which is substantially smaller than the projected area A0. As the angle θ increases, the area Aθ gets smaller, and thus the area over which the detector can collect optical energy decreases. This phenomenon factors into the optical response curve 108 shown in FIG. 1B.
  • Automatic Gain Control (AGC) is an approach used in the prior art to compensate for varying distances between the symbol and the scanner. With existing AGC systems the gain of the optical detector is changed from scan to scan, depending on the distance between the scanner and the symbol. Once a gain value is selected for a particular scan, it stays constant at that value throughout the particular scan. Thus, when the symbol is near to the scanner the gain can be adjusted downward, whereas when the symbol is farther from the scanner, the gain can be adjusted upward. The shortcoming of this approach is that although the gain can be varied from scan to scan, only a single gain value can be employed throughout any given scan. In other words, there is no way of adjusting the gain during a scan. This approach therefore cannot be used to address the problem of compensating for reduced optical response at the edges of a scanned symbol. In addition, even if a standard AGC could be adapted to compensate for gain changes during a scan, they would be much too slow.
  • One way of dealing with the poor optical response near the symbol edges is discussed in U.S. Pat. No. 5,701,003 to Chisholm et al (“Chisholm”). The approach taken in Chisholm to improve optical response of the scanner at the edges of the scan window is to increase the optical power of the laser in the scanner near the edges of the scan window while reducing the power of the laser near the middle of the scan window. Because the angles of incidence and reflection of the scanning beam continue to be the same at the edges of the scan window, the proportion of optical energy reflected back to the scanner at the edges of the scan window continues to be the same. Since the power of the incident beam is higher, however, the optical power reflected back to the scanner is higher. The net effect of the Chisholm approach is that the optical response curve is “flattened,” so that the optical response is more nearly constant across the width of the scan window.
  • Despite the apparent elegance of the approach taken in Chisholm, it has several important disadvantages. First, increasing the power of the laser near the edges of the symbol has serious safety implications because the increased laser power can pose a danger to the eyes of the scanner operator or other bystanders, and when the beam nears the edge of the symbol more of the optical power is likely to be reflected into someone's eyes. Second, using the laser at a higher power output and continually cycling the laser between low and high power states will decrease the lifetime of the laser and the scanner, ultimately driving up costs to the end user. Finally, the higher power output of the laser means additional power consumption and additional heat dissipation problems. Power consumption and heat dissipation both can lead to additional expense in making and using the scanner, as well as inconvenience to the user who, in the case of a hand-held scanner, must carry the additional weigh of heat sinks, etc, used to dissipate the heat created by the additional power consumption of the laser.
  • Given the shortcomings in methods to improve scanning near the edges of the scan window, there is a need in the art for an improved method of improving the optical response of scanners.
  • SUMMARY OF THE INVENTION
  • The disclosure describes an apparatus and method for automatic gain control during scanning. The apparatus comprises an optical detector to receive an optical signal reflected from a symbol positioned within a scan window by an optical beam scanned from a leading edge of the scan window to a trailing edge of the scan window; and a processor coupled to the optical detector to adjust the gain of the optical detector during the beam scan. The process comprises receiving an optical signal using an optical detector, wherein the optical signal comprises optical energy reflected from a symbol positioned in a scan window as an optical beam scans from a leading edge of the scan window to a trailing edge of the scan window, and adjusting the gain of the optical detector during receipt of the optical signal. A calibration process is disclosed comprising calibrating the optical detector to obtain a plurality of gain corrections, each gain correction corresponding to a different position between a leading edge and a trailing edge of a scan window, and storing the plurality of gain corrections.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Non-limiting and non-exhaustive embodiments of the present invention are described with reference to the following figures, wherein like reference numerals refer to like parts throughout the various views unless otherwise specified.
  • FIG. 1A is a plan view of a scanner reading a flat symbol.
  • FIG. 1B is a graph showing the optical response of a scanner using constant gain.
  • FIG. 1C is a diagram illustrating a phenomenon observed in the light-collection properties of optical detectors.
  • FIG. 2A is a simplified block diagram illustrating an embodiment of a scanner.
  • FIG. 2B is a diagram illustrating a typical analog optical signal carried in the optical energy reflected from a symbol.
  • FIG. 3A is a block diagram of an embodiment of a processor for processing analog output of the optical detector of the scanner of FIG. 2A.
  • FIG. 3B is a block diagram of another embodiment of a processor for digitizing and processing digital output from the optical detector of the scanner of FIG. 2A.
  • FIGS. 4A-4C are diagrams showing an embodiment of the invention for correcting the gain during a symbol scan.
  • FIG. 5A is a diagram illustrating an embodiment of the segmentation of the scan window for calibration.
  • FIG. 5B is a flowchart illustrating an embodiment of a process for calibrating the scanner to obtain gain corrections.
  • FIG. 6 is a table illustrating an embodiment of how the gain corrections are adjusted and stored during the calibration process of FIG. 5.
  • DETAILED DESCRIPTION OF THE ILLUSTRATED EMBODIMENTS
  • Embodiments of an apparatus and method for automatic gain control during scanning are described herein. In the following description, numerous specific details are described to provide an understanding of embodiments of the invention. One skilled in the relevant art will recognize, however, that the invention can be practiced without one or more of the specific details, or with other methods, components, materials, etc. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention.
  • Reference throughout this specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, appearances of the phrases “in one embodiment” or “in an embodiment” in this specification do not necessarily all refer to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
  • FIGS. 2A-2B illustrate an embodiment of a bar code scanner 200 of the present invention. The bar code scanner 200 comprises a beam generator 202, a beam generator control module 204, an optical detector 206, a detector control and processing module 208, and a set of optics 210. Alternative embodiments of a scanner can have more, less, or different components, and the components can be grouped or arranged differently.
  • In operation, the beam generator 202, as controlled by the beam generator module 204, generates an optical beam 212—typically a laser beam in the visible range of wavelengths, but it can be other wavelength ranges as well—and scans the beam across a scan window 215. A bar code 214 is positioned within the scan window; the bar code 214 may occupy some or all of the width of the scan window 215. The scanning beam 212 creates a spot that traverses the scan window 215 and the bar code 214 along a scan path 216, from a leading edge 218 of the scan window to a trailing edge 220 of the scan window. As the beam scans across the scan window and reaches the bar code 214, a portion of the optical energy from the scanning beam is reflected from the bar code and travels back to the optics 210, where it is focused onto the optical detector 206. The magnitude of the optical energy reaching the optical detector 206 will vary according to whether the scanning beam is reflected from a light portion of the bar code or a dark portion of the bar code; thus, the reflected optical energy reaching the optical detector is an optical signal containing information from the bar code. As shown in FIG. 2B, the reflected optical energy reaches the optical detector 206, and the optical detector 206 converts the optical energy into an analog electrical signal 222, which is then routed to the detector processing and control module 208 for processing. The analog electrical signal generated by the optical detector 206 very closely approximates the optical signal received at the detector, and can be spoken of synonymously with the received optical signal. Thus, as used herein, the term “received signal” can refer to either the optical signal or the electrical signal, as the context may require.
  • FIG. 3A illustrates an embodiment of the processing module 208 that can be coupled to the optical detector 206, although other or additional embodiments having more, less, or different components can also be used. FIG. 3A illustrates an analog processing circuit for processing the analog electrical signal produced by the optical detector in response to the optical signal received at the detector. When the optical detector 206 receives the optical signal reflected from the bar code 214, it converts the optical signal into a corresponding electrical signal, as shown in FIG. 2B. The electrical signal output from the optical detector 206 is routed to an amplifier 300, where the signal is amplified before processing. A control circuit 302 is coupled to the amplifier 300 to, among other things, monitor the amplitude of the signal and adjust the gain of the amplifier according to some defined criteria, further discussed below. In some cases, it may be possible to adjust the gain of the optical detector directly instead of adjusting the gain of the amplifier. The end result is the same no matter which gain is adjusted, so adjusting the gain of the optical detector and adjusting the gain of the amplifier can be considered synonymous.
  • The control circuit 302 can include a peak detector to monitor peak amplitudes of the electrical signal, and can also be connected to a memory 304 to retrieve gain control information or information for other purposes. Although shown as a separate module, the memory 304 may also be incorporated into the control circuit 302. After the signal has been amplified in the amplifier 300, it is routed to a decoder 306, which extracts the information contained in the amplified signal and thus decodes the bar code 214. Once the signal has been decoded and the information from the bar code extracted, the information may optionally be sent to some external component, such as a computer.
  • FIG. 3B illustrates a digital processing circuit for processing the analog electrical signal produced by the optical detector in response to the optical signal received at the detector from the light reflected from the bar code. The electrical signal output from the optical detector 206 is routed to an amplifier 308, where the signal is amplified before processing. A control circuit 310 is coupled to the amplifier 308 to, among other things, monitor the amplitude of the signal and adjust the gain of the amplifier according to some defined criteria, further discussed below. The control circuit 310 can include a peak detector to monitor peak signal amplitudes , and the control circuit can also be connected to a memory 312, for example if it needs to retrieve gain control information or information for other purposes. Although shown as a separate module, the memory 312 may also be incorporated into the control circuit 310. After the signal has been amplified in the amplifier 308, it is routed to an analog/digital (A/D) converter 314, which digitizes the signal. The digitized signal is then transmitted to a digital signal processor (DSP) 316, where the information is extracted from the signal, thus decoding the bar code. The digital signal processor may also be coupled to the memory 312, and additionally may be coupled to the control circuit. That way, the DSP 316 can provide information to the control circuit 310 to allow it to determine whether to adjust the gain of the signal. Once the signal has been decoded and the information from the bar code extracted, the information may optionally be sent to some external component, such as a computer.
  • FIGS. 4A-4C illustrate an embodiment of the process by which the processing circuit 208 adjusts the gain profile of a particular scan to make the optical response more uniform during the scan. FIG. 4A illustrates a typical bar code 214 positioned within the scan window 215 of the scanner; the bar code 214 is one type of symbol that can be read using a scanner. As shown directly below the scan window, the scan window is divided into a plurality of different segments. The scan window is not itself physically divided into segments, but rather the internal representation of the scan window within the processing circuit is divided into segments as shown. Preferably, the minimum number of segments is eleven: 5 segments (numbered 1-5) bordering the leading edge 218 of the scan window, a single long “core” or baseline segment in the middle, and 5 segments numbered 1-5 bordering the trailing edge 220 of the scan window. Although 11 is the preferred number of segments, any number of segments can be used, with the understanding that a number of segments that is too small can result in inadequate resolution of the bar code and an inaccurate result, while a number of segments too large can result in additional or excessive processing time for each scan. Whatever the number of segments used, they can be distributed along the length of the scan window as shown or in some other manner. For example, the segments can be positioned using an exponential or logarithmic spacing scheme that would compress the numbered segments closer to the leading and trailing edges, and thus lengthen the baseline segment.
  • FIG. 4B illustrates the process by which the processing circuit adjusts the gain. In operation, the gain for a particular scan is set to some baseline value GB The value of GB can be determined, for example, using an automatic gain control (AGC) system that makes gain adjustments from scan to scan, depending for example, on the distance between the scanner and the symbol; generally, the value of GB will be relatively lower if the symbol 214 is close to the scanner, and will be relatively higher if the symbol 214 is farther from the scanner. As the scanning beam traverses the segments of the scan window, a gain correction ΔGi is added to the baseline gain for each segment, such that
    G i =G B +ΔG i for i=1 to 5.
    Although shown as additive gain adjustments ΔGi, in other embodiments the gain adjustments can be multiplicative—for example, the gain corrections can be formulated so that they are factors that multiply the baseline gain, instead of being added to the baseline gain. There usually will be no correction to the baseline gain in the core segment, since the gain in that segment is already at the desired value. Generally, but not always, in the segments numbered 1-5 where gain correction is needed the values of the gain corrections ΔGi will be relatively higher nearer the leading edge 218 and the trailing edge 220 of the scan window, and will decrease monotonically and be relatively lower adjacent to the core or baseline segment. Thus, in general
    ΔG i+1 >ΔG i for i=1 to 4.
  • As shown, the gain corrections ΔGi will generally be symmetrical about the core or baseline segment, such that ΔG5 near the leading edge 218 of the scan window will be approximately equal to ΔG5 near the trailing edge 220. But this need not always be the case; it is entirely possible that the gain corrections may be asymmetrical.
  • FIG. 4C illustrates the results of applying the gain corrections as described above. Whereas previously the gain profile across the scan window would have been a flat line (i.e., the gain would have been constant GB across the window), the gain profile is now roughly a flat, U-shaped curve 400, with the gain being relatively higher near the leading and trailing edges and relatively lower near the middle of the scan window where less or no gain correction is necessary. With a flat gain profile, the optical response of the scanner is illustrated by the optical response curve 108 (see FIG. 1B), whereas with the corrected gain profile the optical response is as shown in curve 402. As can be seen, the optical response of the system using the corrected gain profile is substantially improved near the edges of the scan. The net effect of applying the gain corrections is to widen the effective scan window of the scanner.
  • FIGS. 5A and 5B illustrate an embodiment of a calibration process used to obtain the gain corrections ΔGi, which are then used to correct the gain in each segment as shown in FIG. 4B. FIG. 5A illustrates an embodiment of the calibration setup. As an initial matter, the scan window is divided into a plurality of segments as shown in connection with FIG. 4A. The number of segments used in calibration will correspond to the number of segments to be used during scanning. As before, the preferred number of segments is 11, although any number of segments can be used, with the understanding that a small number of segments can result in inadequate resolution of the bar code and an inaccurate result, while a large number of segments can result in additional or excessive processing time for each symbol. To begin the calibration, a test symbol 501 is positioned within the scan window 215. The test symbol 501 should be at least as wide as the scan window 215, and should be positioned to cover the entire width of the window 215 so that corrections can be obtained over the entire window width. The test symbol will generally be a bar code with evenly spaced bars of equal width, but may be some other symbol as well. The illustrated calibration is preferably performed only once in the factory, so that end users of the scanner need not re-calibrate the scanner at all.
  • FIG. 5B illustrates an embodiment of the actual calibration process 500. The calibration begins at block 502. At block 504, a baseline gain GB is established. The value of GB can be determined, for instance, using an automatic gain control (AGC) system. Most AGCs are designed to adjust the gain between scans and establish a single gain value for each scan, usually based on the distance between the scanner and the symbol being scanned; generally, the value of GB will be lower if the test symbol is close to the scanner, and will be relatively higher if the test symbol is farther from the scanner. Other methods of establishing GB may also be used; for example, GB can be determined by an initial scan of the test symbol itself, or may be chosen arbitrarily based on observation or experience by an operator.
  • At block 506 the test symbol is scanned, and at block 508 the peak amplitude of the signal in the first segment is determined using a peak detector of the kind known in the art. At block 510, the peak signal amplitude in the segment is compared to the peak signal amplitude in the baseline or core area. If the segment peak is greater than or equal to the baseline peak, then the process proceeds to block 512, where it checks to see if any segments remain; if any segments do remain, then the process moves to the next remaining segment at block 514, returns to block 508 and repeats the steps for each remaining segment.
  • If instead at block 510 the segment peak is lower than the baseline peak, then a gain correction ΔGi for that segment is adjusted upward. The amount by which the values of ΔGi are adjusted depends on the system being used. In one embodiment, the increment by which ΔGi are adjusted can be a specific fraction of the overall gain range of the system. For example, in an 8-bit system one increment is 1/256 of total gain range. This increment could be adjusted by a factor of two or three, but for accuracy it is desirable to increment in the smallest steps possible. Although shown as additive gain adjustments ΔGi, in other embodiments the gain adjustments can be multiplicative—that is, the correction factor can be formulated so that it is multiplied by the gain instead being added to the gain.
  • At block 516, the incremented ΔGi is added to the baseline gain GB for segment i. At block 518, the process checks whether any segments remain; if segments remain, then at block 520 the process moves to the next segment and then returns to block 508 and performs the same process on the next segment. The loop continues until gain corrections have been computed for all segments. If at block 512 or block 518 the process determines that all segments have been processed, then at block 522 the system checks to see whether the peak amplitude in every segment was equal to or greater than the peak amplitude in the baseline segment; if not, then the process returns to block 506 and repeats the process for all segments. If at block 522 the process finds that the peak amplitude in every segment was equal to or greater than the peak amplitude in the baseline segment, then at block 524 the cumulatively adjusted gain corrections ΔGi are stored for future use in scanning.
  • FIG. 6 illustrates an embodiment of how the gain corrections ΔGi are incremented during the calibration process of FIG. 5. The table shows the adjustments for only 5 of the segments, which may be either the leading edge segments or the trailing edge segments. In either case, the process is identical for the remaining segments. In the example shown, during the first scan of the test symbol, all the peak amplitudes are less than the peak amplitude in the baseline segment, so the value of ΔGi is incremented in each segment. During the second and third scans, the same procedure is repeated. When the fourth scan is reached, the value of ΔG5 has been adjusted upward enough that when the gain in segment 5 is adjusted upward by ΔG5, the peak amplitude in segment 5 is now greater than or equal to the peak amplitude in the baseline segment. That being the case, ΔG5 is finalized and stored; after the fourth scan, the value of ΔG5 is no longer incremented. The process described above repeats itself until ΔGi for every remaining segment i has been incremented until the peak amplitude in that segment is greater than or equal to the peak amplitude in the baseline segment when the gain is corrected using the cumulatively adjusted ΔGi. When that occurs, the cumulatively incremented ΔGi for all segments i are stored for future use in scanning, as described above in connection with FIGS. 4A through 4C.
  • The above description of illustrated embodiments of the invention, including what is described in the Abstract, is not intended to be exhaustive or to limit the invention to the precise forms disclosed. While specific embodiments of the invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize. These modifications can be made to the invention in light of the above detailed description.
  • The terms used in the following claims should not be construed to limit the invention to the specific embodiments disclosed in the specification and the claims. Rather, the scope of the invention is to be determined entirely by the following claims, which are to be construed in accordance with established doctrines of claim interpretation.

Claims (46)

1. An apparatus comprising:
an optical detector to receive an optical signal reflected from a symbol positioned within a scan window by an optical beam scanned from a leading edge of the scan window to a trailing edge of the scan window; and
a processor coupled to the optical detector to adjust the gain of the optical detector during the beam scan independently of the position of the symbol within the scan window.
2. The apparatus of claim 1 wherein the processor adjusts the gain of the optical detector by adjusting the gain within a defined distance of one of the leading edge or the trailing edge.
3. The apparatus of claim 1 wherein the processor adjusts the gain of the optical detector by adjusting the gain within a defined distance of the leading edge and the trailing edge.
4. The apparatus of claim 1 wherein the processor adjusts the gain of the optical detector by:
dividing the scan window into a plurality of segments; and
applying a plurality of gain corrections to the optical detector, each gain correction corresponding to one of the segments.
5. The apparatus of claim 4 wherein the plurality of segments comprises a plurality of segments grouped near the leading and trailing edges and a segment approximately midway between the leading and trailing edges.
6. The apparatus of claim 1, further comprising a memory, wherein the optical detector is calibrated to obtain a plurality of gain corrections, each gain correction corresponding to a segment of the scan window between the leading edge and the trailing edge, and the plurality of gain corrections are stored in the memory.
7. The apparatus of claim 6 wherein adjusting the gain comprises recalling a stored gain correction and applying the gain correction to its corresponding segment.
8. The apparatus of claim 6 wherein calibrating the optical detector comprises:
dividing the scan window into a plurality of segments;
scanning a test symbol positioned in the scan window and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
9. The apparatus of claim 8 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
10. The apparatus of claim 6 wherein calibrating the optical detector and storing the gain corrections is done once.
11. A scanning apparatus comprising:
an optical beam generator to generate an optical beam and scan the optical beam across a scan window from a leading edge of the scan window to a trailing edge of the scan window;
an optical detector to receive an optical signal reflected from a symbol positioned in the scan window;
a processor coupled to the optical detector to adjust the gain of the optical detector during the scan independently of the position of the symbol within the scan window; and
a memory coupled to the processor, the memory having a plurality of gain corrections stored therein.
12. The apparatus of claim 11 wherein the processor adjusts the gain of the optical detector by:
dividing the scan window into a plurality of segments; and
applying the gain corrections to the optical detector, each gain correction corresponding to one of the segments.
13. The apparatus of claim 12 wherein the plurality of segments comprises a plurality of segments grouped near the leading and trailing edges and a segment approximately midway between the leading and trailing edges.
14. The apparatus of claim 11, further comprising a memory, wherein the optical detector is calibrated to obtain a plurality of gain corrections, each gain correction corresponding to a segment of the scan window between the leading edge and the trailing edge, and the plurality of gain corrections are stored in the memory.
15. The apparatus of claim 14 wherein adjusting the gain comprises recalling a stored gain correction and applying the gain correction to its corresponding segment.
16. The apparatus of claim 14 wherein calibrating the optical detector comprises:
dividing the scan window into a plurality of segments;
scanning a test symbol and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
17. The apparatus of claim 16 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
18. A process comprising:
receiving an optical signal using an optical detector, wherein the optical signal comprises optical energy reflected from a symbol positioned in a scan window as an optical beam scans from a leading edge of the scan window to a trailing edge of the scan window; and
adjusting the gain of the optical detector during receipt of the optical signal independently of the position of the symbol within the scan window.
19. The process of claim 18 wherein adjusting the gain of the optical detector comprises adjusting the gain within a defined distance of one of the leading edge or the trailing edge.
20. The process of claim 18 wherein adjusting the gain of the optical detector comprises adjusting the gain within a defined distance of the leading edge and the trailing edge.
21. The process of claim 18 wherein adjusting the gain of the optical detector comprises applying a plurality of gain corrections, wherein each gain correction corresponds to a different position between the leading edge and the trailing edge of the scan window.
22. The process of claim 18 wherein adjusting the gain of the optical detector comprises:
dividing the scan window into a plurality of segments;
applying a plurality of gain corrections to the optical detector, each gain correction corresponding to one of the segments.
23. The process of claim 22 wherein the plurality of segments comprises a plurality of segments grouped near the leading and trailing edges and a segment approximately midway between the leading and trailing edges.
24. The process of claim 22 wherein applying a gain correction involves recalling a stored gain correction and applying the gain correction to its corresponding segment.
25. The process of claim 18, further comprising:
calibrating the optical detector to obtain a plurality of gain corrections, each gain correction corresponding to a segment of the scan window between the leading edge and the trailing edge; and
storing the plurality of gain corrections.
26. The process of claim 25 wherein calibrating the optical detector comprises:
dividing the scan window into a plurality of segments;
scanning a test symbol and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
27. The process of claim 26 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
28. The process of claim 18 wherein calibrating the optical detector and storing the gain corrections is done once.
29. A process comprising:
scanning an optical beam across a scan window from a leading edge of the scan window to a trailing edge of the scan window;
receiving an optical signal using an optical detector, wherein the optical signal comprises optical energy reflected from a symbol positioned in the scan window as the optical beam scans across the scan window;
determining a baseline gain profile to be applied to the optical detector during the scan; and
applying a gain correction profile to the baseline gain profile during receipt of the optical signal independently of the position of the symbol within the scan window.
30. The process of claim 29 wherein the baseline gain profile is constant across the scan.
31. The process of claim 29 wherein the baseline gain profile is determined using an automatic gain control (AGC).
32. The process of claim 29 wherein applying a gain correction profile comprises applying a plurality of gain corrections, each gain correction corresponding to a different position between the leading edge and the trailing edge of the scan window.
33. The process of claim 29 wherein applying a gain correction profile comprises:
dividing the scan window into a plurality of segments;
applying a plurality of gain corrections to the optical detector, each gain correction corresponding to one of the segments.
34. The process of claim 33 wherein the plurality of segments comprises a plurality of segments grouped near the leading and trailing edges and a segment approximately midway between the leading and trailing edges.
35. The process of claim 33 wherein applying a gain correction profile involves recalling a plurality of stored gain corrections and applying each stored gain correction to its corresponding segment.
36. The process of claim 29, further comprising:
calibrating the optical detector to obtain the gain correction profile, the profile comprising a plurality of gain corrections, each corresponding to a segment of the scan window between the leading edge and the trailing edge; and
storing the plurality of gain corrections.
37. The process of claim 36 wherein calibrating the optical detector comprises:
dividing the scan window into a plurality of segments;
scanning a test symbol and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
38. The process of claim 37 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
39. A process for obtaining gain corrections for a scanner, the process comprising:
calibrating the optical detector to obtain a plurality of gain corrections, each gain correction corresponding to a different position between a leading edge and a trailing edge of a scan window; and
storing the plurality of gain corrections.
40. The process of claim 39 wherein calibrating the optical detector comprises:
dividing a scan window into a plurality of segments;
scanning a test symbol and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
41. The process of claim 40 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
42. The process of claim 41 wherein calibrating the optical detector and storing the gain corrections is done once.
43. A process for obtaining a gain correction profile for a scanner including an optical detector, the process comprising:
calibrating the optical detector to obtain the gain correction profile,the profile comprising a plurality of gain corrections, each gain correction corresponding to a different position between a leading edge and a trailing edge of a scan window; and
storing the gain correction profile.
44. The process of claim 43 wherein calibrating the optical detector comprises:
dividing the scan window into a plurality of segments;
scanning a test symbol and determining the peak amplitude of the received signal in each segment; and
for each segment, calculating a gain correction based on the difference between the peak amplitude of the received signal in the segment and the maximum peak amplitude of the received signal throughout the scan.
45. The process of claim 44 wherein calculating a gain correction comprises adjusting the gain in each segment until the peak amplitude in the segment equals or exceeds the maximum peak amplitude, the gain correction being approximately equal to the cumulative gain adjustment in each segment.
46. The process of claim 43 wherein calibrating the optical detector and storing the gain corrections is done once.
US10/933,981 2002-09-20 2004-09-03 Apparatus and method for automatic gain control during scanning Abandoned US20050029357A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US10/933,981 US20050029357A1 (en) 2002-09-20 2004-09-03 Apparatus and method for automatic gain control during scanning

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/251,213 US6827272B2 (en) 2002-09-20 2002-09-20 Apparatus and method for automatic gain control during scanning
US10/933,981 US20050029357A1 (en) 2002-09-20 2004-09-03 Apparatus and method for automatic gain control during scanning

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US10/251,213 Continuation US6827272B2 (en) 2002-09-20 2002-09-20 Apparatus and method for automatic gain control during scanning

Publications (1)

Publication Number Publication Date
US20050029357A1 true US20050029357A1 (en) 2005-02-10

Family

ID=32028998

Family Applications (2)

Application Number Title Priority Date Filing Date
US10/251,213 Expired - Lifetime US6827272B2 (en) 2002-09-20 2002-09-20 Apparatus and method for automatic gain control during scanning
US10/933,981 Abandoned US20050029357A1 (en) 2002-09-20 2004-09-03 Apparatus and method for automatic gain control during scanning

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US10/251,213 Expired - Lifetime US6827272B2 (en) 2002-09-20 2002-09-20 Apparatus and method for automatic gain control during scanning

Country Status (8)

Country Link
US (2) US6827272B2 (en)
EP (2) EP1540571B1 (en)
JP (1) JP4368802B2 (en)
KR (1) KR100704864B1 (en)
AT (2) ATE475943T1 (en)
AU (1) AU2003265931A1 (en)
DE (2) DE60333602D1 (en)
WO (1) WO2004027691A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7172125B2 (en) * 2004-04-26 2007-02-06 Symbol Technologies, Inc. Gain control system and method for use in electro-optical readers
WO2010056256A1 (en) * 2008-11-17 2010-05-20 Optoelectronics Co., Ltd High speed optical code reading
TWI438693B (en) * 2010-11-12 2014-05-21 Primax Electronics Ltd Printing control method and printing control apparatus for line light source detection
US8752766B2 (en) 2012-05-07 2014-06-17 Metrologic Instruments, Inc. Indicia reading system employing digital gain control
US8789759B2 (en) 2012-05-18 2014-07-29 Metrologic Instruments, Inc. Laser scanning code symbol reading system employing multi-channel scan data signal processing with synchronized digital gain control (SDGC) for full range scanning
US9016576B2 (en) 2012-05-21 2015-04-28 Metrologic Instruments, Inc. Laser scanning code symbol reading system providing improved control over the length and intensity characteristics of a laser scan line projected therefrom using laser source blanking control
US9092682B2 (en) 2012-05-25 2015-07-28 Metrologic Instruments, Inc. Laser scanning code symbol reading system employing programmable decode time-window filtering

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4528444A (en) * 1981-10-30 1985-07-09 Nippondenso Co., Ltd. Optical reading apparatus with automatic gain control circuit
US4792666A (en) * 1986-09-30 1988-12-20 Spectra-Physics, Inc. Bar code reader with compensation for signal variation on different scan lines
US4930848A (en) * 1989-01-26 1990-06-05 Metrologic Instruments, Inc. Portable laser scanner with integral scanner engine
US5168148A (en) * 1990-12-28 1992-12-01 Symbol Technologies, Inc. Automatic gain control circuit
US5257624A (en) * 1991-10-25 1993-11-02 Hewlett-Packard Company Gain control for ultrasound system
US5612529A (en) * 1994-10-31 1997-03-18 Psc Inc. System for bar code reading and scanning with automatic gain control
US5694386A (en) * 1993-10-29 1997-12-02 Sharp Kabushiki Kaisha Interpolating gain amplifier for information reproducing apparatus
US5701003A (en) * 1996-10-22 1997-12-23 Computer Identics Corporation Intensity compensated scanning system
US5999301A (en) * 1997-07-16 1999-12-07 Microscan Systems Incorporated Optical scanning device
US20020056754A1 (en) * 2000-11-10 2002-05-16 Maurizio Bianchi Device and method for reading coded information, and device for detecting a luminous signal diffused by a support containing coded information
US6820810B2 (en) * 2001-11-02 2004-11-23 Symbol Technologies, Inc. Optical collector for improving sensor signal uniformity over a target scan

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920007310B1 (en) * 1990-04-25 1992-08-29 금성기전 주식회사 Optical signal automatic gain control apparatus for bar code laser scanner
KR930020309A (en) * 1992-03-13 1993-10-19 시모야마 도시로오 Automatic Gain Control Circuit
KR940001000A (en) * 1992-06-12 1994-01-10 시모야마 도시로오 Adaptive bar code scanner
US6695209B1 (en) 1999-10-04 2004-02-24 Psc Scanning, Inc. Triggerless optical reader with signal enhancement features
KR100379780B1 (en) * 2001-06-28 2003-04-10 오아이에스 주식회사 System and methode for automatically tuning of laser scanner

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4528444A (en) * 1981-10-30 1985-07-09 Nippondenso Co., Ltd. Optical reading apparatus with automatic gain control circuit
US4792666A (en) * 1986-09-30 1988-12-20 Spectra-Physics, Inc. Bar code reader with compensation for signal variation on different scan lines
US4930848A (en) * 1989-01-26 1990-06-05 Metrologic Instruments, Inc. Portable laser scanner with integral scanner engine
US5168148A (en) * 1990-12-28 1992-12-01 Symbol Technologies, Inc. Automatic gain control circuit
US5257624A (en) * 1991-10-25 1993-11-02 Hewlett-Packard Company Gain control for ultrasound system
US5694386A (en) * 1993-10-29 1997-12-02 Sharp Kabushiki Kaisha Interpolating gain amplifier for information reproducing apparatus
US5612529A (en) * 1994-10-31 1997-03-18 Psc Inc. System for bar code reading and scanning with automatic gain control
US5701003A (en) * 1996-10-22 1997-12-23 Computer Identics Corporation Intensity compensated scanning system
US5999301A (en) * 1997-07-16 1999-12-07 Microscan Systems Incorporated Optical scanning device
US6211990B1 (en) * 1997-07-16 2001-04-03 Microscan Systems Incorporated Optical scanning device
US20020056754A1 (en) * 2000-11-10 2002-05-16 Maurizio Bianchi Device and method for reading coded information, and device for detecting a luminous signal diffused by a support containing coded information
US6820810B2 (en) * 2001-11-02 2004-11-23 Symbol Technologies, Inc. Optical collector for improving sensor signal uniformity over a target scan

Also Published As

Publication number Publication date
ATE475943T1 (en) 2010-08-15
KR20050057473A (en) 2005-06-16
JP2006500655A (en) 2006-01-05
JP4368802B2 (en) 2009-11-18
AU2003265931A1 (en) 2004-04-08
ATE474280T1 (en) 2010-07-15
EP1540571B1 (en) 2010-07-14
DE60333372D1 (en) 2010-08-26
EP1540571A1 (en) 2005-06-15
WO2004027691A1 (en) 2004-04-01
EP1717729A2 (en) 2006-11-02
US20040169083A1 (en) 2004-09-02
KR100704864B1 (en) 2007-04-09
DE60333602D1 (en) 2010-09-09
US6827272B2 (en) 2004-12-07
EP1717729A3 (en) 2007-03-14
EP1717729B1 (en) 2010-07-28

Similar Documents

Publication Publication Date Title
US6073848A (en) Digital automatic gain control for multi-stage amplification circuits
US5332892A (en) Optical systems for bar code scanners
US5307175A (en) Optical image defocus correction
EP1345026A3 (en) System, method, and product for scanning of biological materials
CN100483441C (en) Electro-optical reader with improved performance in high intensity ambient light
US6827272B2 (en) Apparatus and method for automatic gain control during scanning
US8259364B2 (en) Image sensor
WO2001029576A1 (en) Rangefinder using collected spot spread and insert shadowing
EP1834279B1 (en) A barcode scanning system with a compensation circuit
US6704457B1 (en) Shading correction apparatus and an image read apparatus using the shading correction apparatus
JPH07177354A (en) Scanner with photosensitive device
US6443360B1 (en) Method and device for focusing an electrical signal representative of an optical code
US5956436A (en) Method for dynamically scanning an image
US20090272809A1 (en) Bar Code Reading Apparatus and Bar Code Reading Method
KR100194262B1 (en) Image adjustment device
US5834760A (en) Method of adjusting depth-of-field in laser scanners by dynamically adjusting laser power
JP2939757B2 (en) Image reading device
US5701000A (en) Code reader and code reading method for reading code printed on surface of printing medium
JP2001324687A (en) Optical scanner
US7397033B2 (en) Method of making characteristic line
JP3738555B2 (en) Radiation image reader
JP3275598B2 (en) Pattern reader and transaction processor
US20060061851A1 (en) Structure for facilitating high precision focusing of laser for scanner and the like
KR100277735B1 (en) Scanner Shading Correction Factor Detection Method
WO2009148456A1 (en) Autofocus control of an optical instrument

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION