The present invention relates to fluid or liquid lenses, and more particularly to an improved method and system for automatically focusing and zooming a liquid lens suitable for incorporating into compact handheld devices.
Barcode readers or scanners are found in many commercial environments such as, for example, point-of-sale stations in retail stores and supermarkets, inventory and document tracking, and diverse data control applications. To meet the growing demands, barcode symbol readers of various types have been developed for scanning and decoding barcode symbol patterns and producing symbol character data for use as input in automated data processing systems. Bar code scanners generally are available in hand-held, hands-free or in-counter formats.
Typical laser barcode scanners have a fixed focus of the laser beam which puts a limitation on the depth of field (DOF) and resolution of the scanner needed to read a barcode. Imaging scanners and engines often employ CMOS or CCD sensors coupled to fixed focus optics, or optics with preset focus locations that the user can select offline. Such conventional auto focus scanners heretofore have typically used lens systems employing mechanical movements and multiple moving parts to vary the focal length of the lenses, which are typically glass or plastic. The field of view (FOV) of these imaging devices have fixed angles so that the size (width) of view varies depending on the distances of the target from the image device. In image lifting applications such as barcode scanning, this poses a significant challenge for the user to capture the desired target entirely and consistently with satisfactory resolution to read the barcode, even aided with mechanical targeting and framing apparatus. Therefore, in order to bring the barcode into focus for reading, the user must sometimes resort to either moving the object with barcode to be scanned for fixed mount scanners, or moving the scanner until the barcode is read in the case of handheld scanners. Either situation may be cumbersome for the user, increases scanning time, and reduces overall scanning efficiency.
Recent developments in optics has produced very compact variable-focus liquid lens technology that has no mechanical moving parts. Because of the compact design and low power consumption attributes, such liquid lens technology is well suited for bar code scanning applications. A fluid or liquid lens has no moving parts and the focus is simply controlled by a voltage change. Compared to conventional moving-part mechanical lens systems, a liquid lens system therefore advantageously has fast focusing/zooming capabilities and is inherently more reliable owing to its simple design. In addition, a liquid lens can be made relatively small in size with typical diameters of about 3 mm in some embodiments.
A liquid lens generally includes two immiscible (non-mixable) fluids each having a different refractive index. One fluid is typically water which is electrically conducting. The other fluid is typically an electrically non-conducting oil. The fluids are contained in a cylinder or short tube that has a hydrophobic coating applied to the inner walls and two optically clear ends through which light can pass. A meniscus is formed at the interface between the water and oil that has a hemispherical shape and functions like a spherically curved optical lens.
The liquid lens is focused by changing the shape of the meniscus via applying an electric field across the hydrophobic coating to vary the degree of hydrophobic or water-resistant property. This technique is referred to as electrowetting, which is produced by electrically inducing a change in surface tension of the water. The change in surface tension alters the radius of curvature of the meniscus between the two fluids and hence the focal length of the lens. By varying the electric signal or voltage to the liquid lens, the curvature of the meniscus or lens can concomitantly be varied from an initial convex shape in one position to concave in another position and every shape therebetween including flat. The lens shape transitions can be effected smoothly and quickly, without any moving parts. Liquid lenses are available from companies such as Philips Electronics and Varioptic S. A. A liquid lens may be coupled with CCD or CMOS to create compact image reading and capture devices. Because a liquid lens represents a capacitive load, power consumption is relatively small making it suitable for battery-powered and rechargeable devices. However, the problem of effectively and quickly varying the focus of such devices for bar code scanning applications remains.
Although auto focusing/zooming systems with IR transceiver distance detection have been implemented in conjunction with conventional mechanical moving-part lens autofocus lens systems (described above) in barcode scanning applications, the size of mechanisms and amount of control circuitry and software typically do not permit compact equipment packages to be created such as those required for handheld scanners or scanning engine products. Accordingly, an improved, compact fast-acting autofocus liquid lens system with distance detection and real-time feedback is desired.
A liquid lens autofocus system is provided that includes distance detection and real-time feedback control to focus the lens. In a preferred embodiment, the autofocus system is integrated into a laser barcode scanner. The distance detection system is used to vary the voltage to the liquid lens and change the focus, and in some embodiments also the zoom, of the lens. For scanning and reading barcodes, because the field of view (FOV) changes, it is also advantageous to include zoom capabilities to frame the entire barcode image (width of field) to be captured and read by the scanner since a relatively constant resolution (dpi) is desired regardless of distance to the target.
In a preferred embodiment, the liquid lens with autofocus system including distance detection circuitry is small enough to fit in a housing that is sized and configured for being held in the hand. In one embodiment, the housing forms part of a handheld scanner that may be used to read barcodes. In other embodiments, the autofocus system may be incorporated into a fixed mount scanner.
According to one embodiment, a liquid lens autofocus system includes a first liquid lens having a variable focal length that is adjustable by varying an input voltage to the liquid lens; distance detection circuitry being operative to measure a distance to a target to be scanned; and control circuitry associated with the first liquid lens for focusing the lens. The control circuitry preferably is operative to receive a signal from the distance detection circuitry representing a measured distance to the target. The autofocus system further includes control logic implemented by the first liquid lens control circuitry which is operative to calculate a first voltage value corresponding to the measured distance to the target. The control logic may be implemented in hardware, firmware, software, or any combination thereof. The control circuitry generates an output voltage corresponding to the first voltage value to adjust the focus of the first liquid lens.
In one embodiment, the control logic includes a lookup table containing a plurality of voltage values versus corresponding distance values. The control logic accesses the lookup table to calculate the first voltage value based on the measured distance to the target. In another embodiment, the first voltage value is calculated by the control logic using a mathematical expression based on the measured distance to the target. In one embodiment, the distance detection circuitry may use without limitation an infrared beam, LED, laser, or interferometry range finding to measure the distance to the target.
In one embodiment, the liquid lens autofocus system is employed in a scanner, which may a laser barcode scanner in some embodiments. In another embodiment, the autofocus system is preferably sized and configured to fit in handheld scanner, and more preferably in a handheld barcode scanner. Accordingly, the target may be a barcode in some embodiments.
The liquid lens autofocus system may further include control logic implemented by the first liquid lens control circuitry that calculates a zoom ratio based on the measured distance to the target. Accordingly, the distance detection system is used to focus and set a zoom ratio for the liquid lens based on the distance measured to the target.
According to another aspect of the invention, a scanner with liquid lens autofocus system includes a housing; distance detection circuitry disposed in the housing and being operative to measure a distance to a target; a first liquid lens disposed in the housing and having a variable focal length that is adjustable by varying an input voltage to the liquid lens; control circuitry associated with the first liquid lens for focusing the lens, the control circuitry being operative to receive a signal generated by the distance detection circuitry representing a measured distance to the target; and control logic implemented by the liquid lens control circuitry. The control logic is operative to read the measured distance to the target and calculate a first voltage value corresponding to the measured distance.
The control logic in one embodiment includes a lookup table containing a plurality of voltage values versus corresponding distance values. The control logic accesses the lookup table to calculate the first voltage value based on the measured distance to the target. In other embodiments, the first voltage value is calculated by the control logic using a mathematical expression based on the measured distance to the target. The control logic incorporates a predefined range of focal distances for the liquid lens. The predefined range of focal distances (i.e. the “focal range” of the scanner) is selected to encompass the full range of possible target image distances the scanner would expect to encounter during actual use in field conditions. In other words, the predefined focal range is sufficiently large so that when a target image is presented to the scanner by a user to be read by the scanner, there preferably would not be a situation where the target image is outside the predefined focal range of the liquid lens.
Aided by the control logic, the control circuitry generates an output voltage equal to the calculated first voltage value to automatically adjust and set the focal length of the variable focus first liquid lens. In one embodiment, the housing is sized and configured for being held in a hand of a user. In a preferred embodiment, the handheld housing is a portable barcode scanner.
In one embodiment, the scanner preferably further includes a laser source supported by the housing for generating a laser beam for scanning a target image. The laser source is operative to generate a laser beam, which preferably is transmitted through and focused on the target image through the first liquid lens. Advantageously, the variable focus liquid lens has already been adjusted to an appropriate focal length by the control logic and control circuitry based on the measured distance to the target image so that an optimal resolution of the laser beam on the scanned image is achieved. In a preferred embodiment, the target image is a barcode which is readily scanned and read due to the proper focal length of the liquid lens having been automatically selected.
In some embodiments, the distance detection circuitry uses an infrared beam, LED, laser, or interferometry range finding to measure the distance to the target. Other suitable methods may be implemented and used by the distance detection circuitry so long as the distance to the target can be measured and that measurement in turn transmitted to the liquid lens control circuitry via a data communication link. In some embodiments, a second liquid lens may be provided in combination with the first liquid lens. The first and second liquid lens may define part of a zoom lens system for both focusing the liquid lens on and framing the target image via selection of an appropriate zoom ratio for the liquid lens.
According to another aspect of the invention, a method of focusing a liquid lens on a target includes the steps of: providing a liquid lens having a focal length that is adjustable by varying an input voltage to the liquid lens; presenting a target separated from the liquid lens by a distance; measuring the distance to the target with a distance detection system; calculating a first voltage value corresponding to the measured distance to the target; generating a focus control voltage corresponding to the first voltage value; receiving the focus control voltage by the liquid lens; and adjusting the focal length of the liquid lens based on the focus control voltage. In another embodiment, the focal length of the liquid lens represents an optimal resolution of the target. In one embodiment, the calculating step includes implementing control logic to calculate the first voltage value based on the measured distance to the target. In another embodiment, the calculating step includes implementing control logic operative to match the measured distance to the target to the first voltage value. The control logic may access a lookup table including a plurality of voltage values versus corresponding distance values to perform the match in some embodiments. The distance detection system in some embodiments includes circuitry that uses an infrared beam, LED, laser, or interferometry range finding to measure the distance to the target.
The method may further include providing a laser source which is supported by the housing in some embodiments and is operative to generate a laser beam. The method further includes in some embodiments a step of projecting the laser beam through the liquid lens onto the target. In a preferred embodiment, the target is a barcode. The liquid lens may be disposed in a housing that is sized and configured for being held in a hand of a user in another preferred embodiment. The distance detection system preferably is also disposed in the housing. In a preferred embodiment, a device with the liquid lens projecting the laser beam is a laser barcode scanner.
In another embodiment, the method further includes a step of the liquid lens collecting light, receiving an image reflected from the target, and forming an image of the target. The target may be a barcode which is illuminated by a light source, the reflected light of which is collected by the liquid lens. In one embodiment, the method further includes a step of capturing the image on a CCD or CMOS image sensor for further processing. In a preferred embodiment, a device with liquid lens collecting and capturing the reflected light and forming an image is a barcode reader.
The apparatus and method disclosed herein advantageously provides a liquid lens system with distance detection for improved and quick focus/zoom that can be housed in compact, light-weight, and portable handheld packaging in some embodiments such as handheld laser barcode scanners.
The features of the preferred embodiments will be described with reference to the following drawings where like elements are labeled similarly, and in which:
All drawings are schematic and are not drawn to scale.
This description of illustrative embodiments according to principles of the present invention is intended to be read in connection with the accompanying drawings, which are to be considered part of the entire written description. In the description of embodiments of the invention disclosed herein, any reference to direction or orientation is merely intended for convenience of description and is not intended in any way to limit the scope of the present invention. Relative terms such as “lower,” “upper,” “horizontal,” “vertical,”, “above,” “below,” “up,” “down,” “top” and “bottom” as well as derivative thereof (e.g., “horizontally,” “downwardly,” “upwardly,” etc.) should be construed to refer to the orientation as then described or as shown in the drawing under discussion. These relative terms are for convenience of description only and do not require that the apparatus be constructed or operated in a particular orientation. Terms such as “attached,” “affixed,” “connected” and “interconnected,” refer to a relationship wherein structures are secured or attached to one another either directly or indirectly through intervening structures, as well as both movable or rigid attachments or relationships, unless expressly described otherwise. Moreover, the features and benefits of the invention are illustrated by reference to the preferred embodiments. Accordingly, the invention expressly should not be limited to such preferred embodiments illustrating some possible non-limiting combination of features that may exist alone or in other combinations of features; the scope of the invention being defined by the claims appended hereto.
Referring to
As illustrated schematically in
The laser scanner autofocus system 30 of
As shown in
Referring to
In the case of a barcode imager, each curve C in
With continued reference to
With reference generally to
In other embodiments, distance detection system 39 may be a laser-based range finding system such as Qtrace™ available from Metrologic Instruments, Incorporated which is capable of measuring linear distances within ±6 mm. Representative laser range finding systems that may be implemented in the preferred embodiment may include without limitation time-of-flight using pulsed lasers or continuous wave amplitude (or frequency) using modulated lasers (including phase detection in some embodiments), In other embodiments, interferometry may be used in distance detection system 39. Other suitable commercially available distance measuring systems may be used without limitation so long as the distance to target 40 can be measured and converted into a data signal which can be relayed to microprocessors 33, control circuitry 35, or both for adjusting the focus of liquid lens 20.
With continued reference to
In one embodiment, control circuit 35 is functionally associated with liquid lens 20 and operates as a focus and zoom control for the liquid lens system (depending on the configuration of the lens system selected). Therefore, control circuit 35 serves as an interface between distance detection system 39 and liquid lens 20. Accordingly, in a preferred embodiment, control circuit 35 includes a liquid lens driver 50 which in one possible embodiment may be configured as shown in the block diagram of
Control circuit 35 preferably includes and implements associated control logic operative to automatically control the focus and zoom (in a preferred embodiment) of the liquid lens system based on the distance of target 40 to be scanned from the lens. The control logic is preprogrammed into control circuit 35 and is operative to convert distance-related information received from and transmitted with a distance data signal generated by distance detection system 39 (over data communication link 38) into a corresponding voltage control signal 61. Voltage control signal 61 is provided to and controls oscillator 52 to regulate the output voltage from transformer 55 which in turn becomes the input voltage V to liquid lens 20 via power link 36, thereby electronically adjusting the focus/zoom of the liquid lens system. The distance-voltage conversion control logic may be implemented in hardware, firmware, software, or any combination thereof. Accordingly, the terms “circuitry” or “circuit” as used herein means any combination of hardware, firmware, or software used to implement the control logic, and/or to process control or power signals. The terms “circuitry” or “circuit” further are used interchangeably herein.
Referring to
Logic process 100, which preferably is implemented by and preprogrammed into control circuit 35 in one embodiment, begins with step 110 in which the routine is started. In step 120, the control logic continuously checks for a new distance signal from distance detection system 39 indicating a new target has been presented for scanning. If a new signal is not detected, control returns to step 110. If a new distance signal is detected, control continues with step 130 in which the measured distance is read. In next step 140, a voltage based on and corresponding to the measured distance D to target 40 is calculated. The voltage determined will represent the input voltage V required to adjust the focus of liquid lens 20 to the optimal focal length (based on the distance D to the barcode target 40, represented in
In one embodiment, step 140 may be completed by providing access to and retrieving data from a look-up table 150 that preferably includes a plurality of voltage values versus corresponding distance values D. Look-up table 150 is pre-programmed into the control logic in a preferred embodiment. In other embodiments, however, look-up table 150 may be stored on a circuit or computer readable medium stored remote from but accessible to control circuit 35. In step 140, the control logic accesses lookup table 150 and determines a voltage value corresponding to and based on the measured distance D to the target 40, thereby indirectly selecting the appropriate lens focal length curve C (shown in
With continued reference to
In a preferred embodiment, microprocessor 33 includes software and control logic operative to read and process bar code information received from either: (1) liquid lens 20 via data communication link 32 in the case of a barcode reader autofocus system shown in
In a preferred embodiment, autofocus system 30 including liquid lens 20 and distance detection system 39 are sized and configured to be disposed in a portable, compact package such as a handheld housing 69. In one embodiment, the handheld housing 69 may be a portable barcode scanner.
A preferred method of using the autofocus system 30 is in barcode scanning/reading applications, and more preferably without limitation performing a scanning operation using a handheld laser barcode scanner. The method will now be described with reference to an exemplary laser barcode scanner and
The exemplary method includes providing a barcode scanner incorporating an autofocus system 30. The scanner includes a housing 69 that preferably contains and supports liquid lens 20 and distance detection system 39 In a preferred embodiment, housing 69 is sized and configured small enough to be a portable for holding in the hand of a user such as a handheld laser barcode scanner. In other embodiments, however, it should be noted that the housing 69 may be a fixed mount barcode scanner or engine.
With continuing reference to the handheld laser barcode scanner example and
In the base of an imaging scanner, the preferred method includes adjusting the focus of liquid lens 20 based on distance D measured to barcode target 40 in the same manner described above for the laser scanner. In this case, however, the light reflected from the barcode is received by liquid lens 20 and focused onto image sensor 31 closely coupled to the lens. The barcode image data is processed by image sensor 31 and transmitted to microprocessor 33 via data communication link 32 as described elsewhere herein.
In some barcode image reader applications, it may be desirable to provide visual feedback to the user in order to indicate the effective field of view (FOV) after the focus and zoom ratio (if this function is provided) is set for liquid lens 20 assembly by autofocus system 30. In an optional embodiment, referring to
In a preferred embodiment, the targeting liquid lens 70, imaging liquid lens 20, distance detection system 39, and all associated control circuitry shown in
While the foregoing description and drawings represent preferred or exemplary embodiments of the present invention, it will be understood that various additions, modifications and substitutions may be made therein without departing from the spirit and scope of the present invention as defined in the accompanying claims. In particular, it will be clear to those skilled in the art that the present invention may be embodied in other specific forms, structures, arrangements, proportions, sizes, and with other elements, materials, and components, without departing from the spirit or essential characteristics thereof. One skilled in the art will appreciate that the invention may be used with many modifications of structure, arrangement, proportions, sizes, materials, and components and otherwise, used in the practice of the invention, which are particularly adapted to specific environments and operative requirements without departing from the principles of the present invention. The presently disclosed embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being defined by the appended claims, and not limited to the foregoing description or embodiments. Rather, the appended claims should be construed broadly, to include other variants and embodiments of the invention, which may be made by those skilled in the art without departing from the scope and range of equivalents of the invention.