An imaging system and a method for adjusting the focus of an imaging system

The method addresses focus instability in imaging systems by using an adjustable lens system and processor to calculate and update DAC values based on object distance and image quality, ensuring stable and accurate focus adjustment.

WO2026243467A1PCT designated stage Publication Date: 2026-11-26POLIGHT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/EP2026/062463
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-19
Filing Date
2026-04-30
Publication Date
2026-11-26

AI Technical Summary

Technical Problem

Imaging systems in industrial applications face instability and defocus due to environmental factors like temperature and drift, leading to system malfunctions despite the need for precise and continuous focus adjustment.

Method used

A computer-implemented method using an adjustable lens system and processor to continuously adjust focus by obtaining object distance, calculating DAC values, and performing quality computations to update DAC values based on image contrast, ensuring stable and accurate focus.

Benefits of technology

Ensures consistent image sharpness and reliability by dynamically adjusting focus in response to environmental changes, enhancing system efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure EP2026062463_26112026_PF_FP_ABST
    Figure EP2026062463_26112026_PF_FP_ABST
Patent Text Reader

Abstract

The invention relates to a computer-implemented method and system for adjusting focus of an imaging system. The imaging system comprises an adjustable lens system. The method comprising obtaining an object distance between the adjustable lens system and an object to be imaged, obtaining a nominal DAC value based on the obtained object distance, adjusting the nominal DAC value with a delta value to obtain an operational DAC value, adjusting the focus of the adjustable lens system based on the operational DAC value, capturing an image, obtaining a quality value, i.e. a contrast value by performing a quality computation of the captured image. Comparing the quality value of the captured image with the quality value of the immediately previous captured image and when the quality value is improved, either update the stored nominal DAC values with the delta value.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] 85372PC01

[0002] 1

[0003] AN IMAGING SYSTEM AND A METHOD FOR ADJUSTING THE FOCUS OF AN IMAGING SYSTEM

[0004] FIELD OF THE INVENTION

[0005] The present invention relates to an imaging system and a method for adjusting the focus of an imaging system.

[0006] BACKGROUND OF THE INVENTION

[0007] In imaging systems such as barcode readers and machine vision systems, often used in industrial applications, speed and precision are critical. These systems often utilize open loops and fixed distance focusing devices, where instant focus is required to ensure optimal performance. The focusing distance on these devices is typically predefined by a distance measurement method, such as time of flight or triangulation, or set during calibration to a fixed distance.

[0008] In systems using tunable optics technology, such as the TLens from Polight, the primary objective is to apply the correct voltage to the TLens to achieve the desired focusing distance on the first attempt.

[0009] Ideally, the system would be stable, with a given distance corresponding to a specific optical power on the TLens, which in turn corresponds to a particular voltage and a designated DAC (Digital-to-Analog Converter) value to be addressed to the voltage driver. In such a scenario, a constant DAC value could be used to translate the target focusing distance into the appropriate DAC value for the voltage driver.

[0010] However, in practice, the system's stability can be affected by various factors over time. The lens objective may be sensitive to temperature and other environmental conditions, while the TLens itself can vary due to temperature, humidity, and creep.

[0011] Additionally, the distance measurement device may experience drift, or the "fixed' distance may shift. Although these changes occur slowly compared to the device's85372PC01

[0012] 2

[0013] operating speed, hours or days versus milliseconds, they can accumulate and lead to defocus and system malfunction.

[0014] Hence, an improved system and method for adjusting focus of the imaging system would be advantageous, and in particular a more efficient and / or reliable method would be advantageous.

[0015] OBJECT OF THE INVENTION

[0016] The object of the present invention is to provide a system and method for adjusting focus of the imaging system continuously as temperature and other environmental conditions changes.

[0017] It is a further object of the present invention to provide an alternative to the prior art.

[0018] In particular, it may be seen as an object of the present invention to provide a system and method that solves the above mentioned problems of the prior art.

[0019] SUMMARY OF THE INVENTION

[0020] Thus, the above described object and several other objects are intended to be obtained in a first aspect of the invention by providing a computer-implemented method for adjusting focus of an imaging system,

[0021] the imaging system comprises

[0022] - an adjustable lens system, and

[0023] - a processor;

[0024] the method comprising, when the imaging system is activated: a. obtaining an object distance between the adjustable lens system and an object to be imaged,

[0025] b. obtaining a nominal DAC value based on the obtained object distance from a lookup table or from calculating a DAC equation, c. adjusting the nominal DAC value with a delta value to obtain an operational DAC value,85372PC01

[0026] 3

[0027] d. adjusting the focus of the adjustable lens system based on the operational DAC value,

[0028] e. capturing an image,

[0029] f. storing the captured image within a database and / or transmitting the captured image to an external receiver,

[0030] g. obtaining a quality value by performing a quality computation of the captured image,

[0031] h. when there is a comparable immediately previous captured image, comparing the quality value of the captured image with the quality value of the immediately previous captured image and when the quality value is improved, either update the nominal DAC values stored in the lookup table with the delta value or update a stored alpha value included in the DAC equation with the delta value, i. repeat step a-h as long as the imaging system is activated.

[0032] The present invention provides a method for adjusting the focus of an imaging system, which comprises an adjustable lens system, and a processor.

[0033] The method comprises taking images and performing quality computation of the captured images to obtain a quality value and adjust the focus of the adjustable lens system depending on changes in the quality value. The quality value may be a contrast value.

[0034] The adjustable lens system may comprise a TLens from Polight. Alternatively, the adjustable lens system is a system where the focus of the lens system can be adjusted by applying a particular voltage to change the focus of the lens system.

[0035] The method is computer-implemented running on a processor or computer.

[0036] The system first obtains an object distance, which is the distance between the adjustable lens system and the object to be imaged. The distance can be measured with a distance measuring device. Alternatively, a predefined object distance may be used.

[0037] The object may be a parcel, a box, a letter, baggage, or any other object.85372PC01

[0038] 4

[0039] Based on the object distance, a nominal DAC (Digital-to-Analog Converter) value is obtained from a lookup table or calculated using a DAC equation. This nominal DAC value is then adjusted with a delta value to obtain an operational DAC value. The focus of the adjustable lens system is adjusted based on the operational DAC value. The operational DAC value is a voltage applied to actuators within the adjustable lens system to adjust the focus.

[0040] The actuators preferably are piezoelectric actuators. These actuators change shape when a voltage is applied, which in turn adjusts the curvature of the lens in the adjustable lens system and thereby the focus.

[0041] Next, an image is captured. The image may be stored in the database or transmitted to an external receiver.

[0042] The quality value may be a contrast value, and the quality computation may be a contrast computation. In a contrast computation the processor analyses the captured image and obtains a contrast value of the captured image.

[0043] If there is a comparable immediately previous captured image, the contrast value of the captured image is compared to the contrast value of the immediately previous captured image. If the contrast value is improved then either the nominal DAC values stored in a database are updated with the delta value by adding the delta value to the stored nominal DAC values, or a stored alpha value is updated by adding the delta value to the stored alpha value.

[0044] The stored alpha value is a nominal DAC value.

[0045] If the contrast value is not improved the nominal DAC values stored in the database are not updated and / or the stored alpha value is not updated.

[0046] The steps are repeated as long as the system is activated. The system is usually activated or deactivated by a user.85372PC01

[0047] 5

[0048] The lookup table is stored in a database, the lookup table includes distances and their corresponding nominal DAC values.

[0049] A DAC (Digital-to-Analog Converter) is an electronic device that converts digital data into an analog signal. In this invention, the DAC value is used to control the adjustable lens system's focus. The nominal DAC value is initially determined based on the object distance, and it is then adjusted with a delta value to finetune the focus for optimal image quality.

[0050] Contrast is the difference in luminance or colour that makes an object distinguishable from other objects and the background. In the context of this invention, contrast computation involves analysing the captured image to determine the clarity and sharpness of the image details.

[0051] This method ensures continuous adjustment of the imaging system's focus in response to changes in temperature and other environmental conditions, thereby enhancing the system's efficiency and reliability. The invention also provides an alternative to prior art by addressing the issues of stability and accuracy in focus adjustment.

[0052] The method described in this invention provides a systematic approach to continuously improve the focus of the imaging system, thereby enhancing the overall image quality. By dynamically adjusting the DAC values and utilizing contrast comparisons, the system ensures that the captured images are consistently sharp and clear.

[0053] According to an embodiment, the imaging system further comprises a capacitance sensor and when starting up the imaging system a capacitance value is measured, the measured capacitance value is compared to a stored reference capacitance value and the difference is used either to modify the nominal DAC values stored in the lookup table or the stored alpha value.85372PC01

[0054] 6

[0055] Starting up, the imaging system is to be understood as starting up after a break where the optical system has not been used for a while, for instance have not been used in a predefine time period.

[0056] If the optical system has not been used for a while, the values in the lookup table may be far from the correct values. Therefore, to increase the speed for adjusting the values in the lookup table a capacitance value may be measured and used to adjust the values in the lookup table.

[0057] The capacitance is measured over the actuators, which are piezoelectric elements, to determine their position.

[0058] The capacitance is obtained by measuring the transition time for a fixed voltage step down. This can be directly performed with a dedicated driver (PD50).

[0059] Capacitance is a measure of a component's ability to store electrical charge.

[0060] Transition Time is the time it takes for a voltage to change from one level to another. Here, it refers to the time taken for the voltage to step down from a higher value to a lower value. Fixed Voltage Step Down means the voltage change is predetermined and consistent for each measurement.

[0061] Dedicated Driver (PD50) is a specific device or tool designed to work with the Tiens system. It is specialized in performing the measurement of capacitance by observing the transition time during the voltage step down.

[0062] When the capacitance value is measured, it is compared to a stored reference capacitance value and the difference is used either to modify the nominal DAC values stored in the lookup table or the stored alpha value.

[0063] In some systems using a capacitance value and making capacitance measurements is not needed, as it is possible to use the method of adjusting the DAC values with the delta value to update the DAC values.

[0064] According to an embodiment, when the nominal DAC values stored in the lookup table or the stored alpha value is updated, the capacitance value is measured and stored as the reference capacitance value.85372PC01

[0065] 7

[0066] Every time the nominal DAC values are stored in the lookup table, or the stored alpha value is updated the capacitance value is measured and stored as a reference capacitance value.

[0067] According to an embodiment, the method comprises that when starting up the imaging system, the delta value is an initial delta value.

[0068] When starting up the imaging system, the delta value is set to an initial delta value. This ensures that the system begins with a predefined adjustment parameter, facilitating a more accurate and stable focus adjustment process from the outset.

[0069] According to an embodiment, the method comprises that when the imaging system has been running for a pre-selected time or captured a preselected number of images the delta value is changed to a running delta value, which is smaller than the initial delta value.

[0070] After the imaging system has been running for a pre-selected time or has captured a preselected number of images, the delta value may be changed to a running delta value, which is smaller than the initial delta value. This adjustment helps to fine-tune the focus over time, ensuring continued accuracy and stability in the imaging process.

[0071] The running delta value may be changed several times depending on running time and / or number if images captured.

[0072] According to an embodiment, the method comprises that obtaining an object distance between the adjustable lens system and an object to be imaged comprises measuring the object distance before capturing an image.

[0073] Obtaining a distance between the adjustable lens system and an object to be imaged comprises measuring the object distance before capturing an image. This ensures that the focus adjustment is based on the most current distance measurement, thereby enhancing the accuracy of the imaging system.85372PC01

[0074] 8

[0075] According to an embodiment, the method comprises that the object distance is measured by a distance measuring device.

[0076] Additionally, according to another embodiment, the object distance is measured by a distance measuring device. This device ensures precise and reliable distance measurements, further improving the accuracy and stability of the focus adjustment process.

[0077] According to an embodiment, the method comprises that obtaining an object distance between the adjustable lens system and an object to be imaged comprises applying a fixed predefined distance.

[0078] Alternatively, to measuring the distance, obtaining a distance between the adjustable lens system and an object to be imaged may comprise applying a fixed predefined distance. This approach simplifies the distance measurement process and ensures consistent focus adjustment based on a known distance parameter. The fixed predefined distance may be stored in the database or entered by a user.

[0079] According to an embodiment, the quality value is a contrast value or a decoding success rate.

[0080] The quality value preferably is a contrast value, but other values may alternatively be used for instance a decoding success rate, which indicates the success of decoding for instance a barcode, a QR Code, a label, and / or some text.

[0081] According to an embodiment, the method comprises that adjusting the focus of the adjustable lens system based on the operational DAC value is applied by a voltage driver.

[0082] Adjusting the focus of the adjustable lens system based on the operational DAC value is applied by a voltage driver. This ensures that the correct voltage is applied to the adjustable lens system to achieve the desired focus.85372PC01

[0083] 9

[0084] According to an embodiment, the method comprises that updating all the nominal DAC values stored in the lookup table with the delta value comprises adding the delta value to all DAC values in the lookup table.

[0085] Updating all the stored nominal DAC values in the lookup table with the delta value comprises adding the delta value to all DAC values in the lookup table. This systematic update ensures that the focus adjustment remains accurate and consistent over time.

[0086] According to an embodiment, the method comprises that updating the alpha value with the delta value comprises adding the delta value to the alpha value.

[0087] By adding the delta value to the alpha value, the calculation of the nominal DAC value is adjusted according to an improved contrast value of the last image captured.

[0088] According to an embodiment, the method comprises that the DAC equation is of the form: nominal DAC value = alpha + (beta * object distance).

[0089] The method for adjusting the focus of an imaging system may include a specific form of the DAC equation. The nominal DAC value is calculated using the equation: nominal DAC value = alpha + (beta * object distance).

[0090] where:

[0091] • Alpha is a value that represents a baseline DAC value.

[0092] • Beta is a scaling factor that adjusts the DAC value based on the object distance.

[0093] This equation allows for a precise and systematic determination of the nominal DAC value, which is then adjusted with a delta value to obtain the operational DAC value. By incorporating this equation, the method ensures that the focus adjustment is accurately tailored to the distance between the adjustable lens system and the object to be imaged, thereby enhancing the overall image quality.85372PC01

[0094] 10

[0095] According to an embodiment, there is a comparable immediately previous captured image when the captured image and the immediately previous captured image both are showing an object.

[0096] An object may be a parcel, a box, a letter, baggage or any other object.

[0097] According to an embodiment, the method comprises that there is a comparable immediately previous captured image when the captured image and the immediately previous captured image are both comprising comparable information.

[0098] There is a comparable immediately previous captured image when the captured image and the immediately previous captured image both show an object. This ensures that the contrast comparison is meaningful and relevant, thereby improving the accuracy of the focus adjustment process.

[0099] According to an embodiment, the method comprises that the comparable information is a barcode, a QR Code, a label, and / or text.

[0100] In the context of this invention, "comparable information" refers to specific types of data or features present in both the captured image and the immediately previous captured image, which allow for a meaningful and relevant contrast comparison. This ensures the accuracy of the focus adjustment process.

[0101] Comparable information includes, but is not limited to:

[0102] • Barcodes: Patterns of parallel lines or other shapes that encode data.

[0103] • QR Codes: Two-dimensional barcodes that can store a significant amount of data.

[0104] • Labels: Text or symbols attached to objects for identification.

[0105] • Text: Written characters or words present in the images.

[0106] When both the captured image and the immediately previous captured image contain comparable information, such as a barcode, label, or text, the system can effectively compare the contrast values. This comparison helps in determining85372PC01

[0107] 11

[0108] whether the focus adjustment has improved the image quality, thereby enhancing the overall performance of the imaging system.

[0109] According to an embodiment, the method comprises that there is a comparable immediately previous captured image when the captured image and the previous captured image have a too large difference in contrast.

[0110] There is a comparable immediately previous captured image when the captured image and the previous captured image have a too large difference in contrast. This ensures that the focus adjustment process accounts for significant changes in image quality, thereby maintaining optimal performance.

[0111] In a second aspect, the invention relates to an imaging system comprising

[0112] - an adjustable lens system, and

[0113] - a processor adapted, when the imaging system is activated, to perform the method of the first aspect, wherein the imaging system is adapted to:

[0114] a. obtain an object distance between the adjustable lens system and an object to be imaged,

[0115] b. obtain a nominal DAC value based on the obtained object distance from a lookup table or from calculating a DAC equation, c. adjust the nominal DAC value with a delta value to obtain an operational DAC value,

[0116] d. adjust the focus of the adjustable lens system based on the operational DAC value,

[0117] e. capture an image,

[0118] f. store the captured image within a database and / or transmitting the captured image to an external receiver,

[0119] g. obtain a quality value by performing a quality computation of the captured image,

[0120] h. when there is a comparable immediately previous captured image, comparing the quality value of the captured image with the quality value of the immediately previous captured image and when the quality value is improved, either update the nominal DAC values85372PC01

[0121] 12

[0122] stored in the lookup table with the delta value or update a stored alpha value included in the DAC equation with the delta value, i. repeat step a-h as long as the imaging system is activated.

[0123] The imaging system of the second aspect is an imaging system that can perform the method according to the first aspect.

[0124] According to an embodiment, the imaging system further comprises a capacitance sensor, and is adapted to measure and store the capacitance at start-up and any time the lookup table or the alpha value is updated.

[0125] In a third aspect, the invention relates to a computer program product being adapted to enable a computer system comprising at least one computer having data storage means in connection therewith to control an imaging system according to the second aspect of the invention, such as a computer program product comprising instructions which, when the program is executed by a computer, cause the computer to carry out the method of the first aspect of the invention.

[0126] This aspect of the invention is particularly, but not exclusively, advantageous in that the present invention may be accomplished by a computer program product enabling a computer system to carry out the operations of the imaging system of the second aspect of the invention when down- or uploaded into the computer system. Such a computer program product may be provided on any kind of computer readable medium, or through a network.

[0127] The individual aspects of the present invention may each be combined with any of the other aspects. These and other aspects of the invention will be apparent from the following description with reference to the described embodiments.85372PC01

[0128] 13

[0129] BRIEF DESCRIPTION OF THE FIGURES

[0130] The imaging system and method according to the invention will now be described in more detail with regard to the accompanying figures. The figures show one way of implementing the present invention and are not to be construed as being limiting to other possible embodiments falling within the scope of the attached claim set.

[0131] Fig. 1 illustrates an imaging system designed for adjusting focus.

[0132] Fig. 2 illustrates the database comprising the captured images and a lookup table. Fig. 3 illustrates a possible embodiment of the adjustable lens system.

[0133] Fig. 4a and 4b illustrates another possible embodiment of the adjustable lens system.

[0134] Fig. 5 is a flow chart illustrating the method for adjusting the focus of an imaging system.

[0135] DETAILED DESCRIPTION OF AN EMBODIMENT

[0136] Fig. 1 illustrates an imaging system 1 designed for adjusting focus. The imaging system 1 comprising an adjustable lens system 10, an image sensor 18. A processor 12 is controlling the system. When activated, the system obtains an object distance 20 between the adjustable lens system 10 and the object 22 to be imaged. The object distance 20 may be measured by a distance measuring device 50 or alternatively may be a predefined value. The system imaging captures an image, which can be stored in a database 14 or transmitted to an external receiver 16. Incoming light beams 15 are coming from the object 22 to be recorded by the image sensor 18.

[0137] The objects 22 may be moving on a conveyor belt 27 moving in the direction illustrated by the arrow 29.

[0138] Based on this distance, a nominal DAC value 62 is derived from a lookup table or a nominal DAC value 62' calculated using a DAC equation. This nominal DAC value 62, 62' is then adjusted with a delta value 46 to obtain an operational DAC value,85372PC01

[0139] 14

[0140] which is used to adjust the focus of the lens system by activating the actuators 72.

[0141] A quality computation is performed on the captured image to obtain a quality value. Preferably the quality computation is a contrast computation, and the quality value is a contrast computation. If there is a comparable immediately previous image 40', the quality value of the current image is compared with the previous one. If the quality is improved, the nominal DAC values in the lookup table 42, or the alpha value 44 in the DAC equation, are updated with the delta value. This process repeats as long as the imaging system is activated.

[0142] In the case that a capacitance measurement is used to adjust the nominal DAC values in the database or the alpha value, then a capacitance sensor 13 may be part of the imaging system.

[0143] Fig. 2 illustrates the database 14 comprising the captured images 40, 40' and a lookup table 42. The lookup table may comprise object distance 20 and corresponding nominal DAC values 62. Also, the database comprises stored delta values 46, which may be stored in a table to select a delta value depending on how long the imaging system has been activated or how many images have been taken. If the system is using a DAC equation instead of a lookup table also an alpha value 44 may be stored in the database. In the case that a capacitance measurement is used to adjust the nominal DAC values in the database or the alpha value, then a reference capacitance value 48 may be stored in the database.

[0144] Fig. 3 illustrates a possible embodiment of the adjustable lens system 10. The adjustable lens system is comprising a transparent, deformable, non-fluid lens body 71, one, or more, actuators 72, a first transparent substrate 73, a second transparent substrate 74, placed opposite to the first transparent substrate. The actuator system comprises the actuators 72, and possible other elements like wiring and power source (not shown) to activate the actuators 72. The actuators 72 preferably may be piezoelectric actuators. When the actuators are activated, they change the form of the non-fluid lens body 71 depending on the voltage applied to the actuators depending on the operational DAC value and thereby85372PC01

[0145] 15

[0146] changing the focus of the adjustable lens system 10. A voltage driver 76 may be connected to the actuators 72 to activate the actuators.

[0147] Fig. 4a and 4b illustrates another possible embodiment of the adjustable lens system 10. Here the actuators only are mounted on the first transparent substrate 73 and therefore only changes the form of the non-fluid lens body 71 by engaging the first transparent substrate 73, while the second transparent substrate 74 is not engaged by the actuators and therefore maintain its form. A support structure 78 may be used to mount the adjustable lens system 10 in the imaging system. Fig. 4a shows when the actuators are not activated, while fig. 4b shows a situation when the actuators are activated and the form of the non-fluid lens body 71 is changed.

[0148] Fig. 5 is a flow chart illustrating the method for adjusting the focus of an imaging system. When the imaging system is activated (START), it is obtaining SI an object distance 20 between the adjustable lens system 10 and an object 22 to be imaged, then it is obtaining S2 a nominal DAC value based on the obtained object distance 20 from a lookup table or from calculating a DAC equation. Next step is adjusting S3 the nominal DAC value with a delta value 46 to obtain an operational DAC value and then based on the operational DAC value adjusting S4 the focus of the adjustable lens system 10. When the adjustable lens system is adjusted the next step is capturing S5 an image 40 and then storing S6 the captured image 40 within a database 14 and / or transmitting the captured image to an external receiver 16.

[0149] Then the system is obtaining S7 a contrast value by performing a contrast computation of the obtained image 40. When there is a comparable immediately previous captured image 40', the next step is comparing S8 the contrast of the captured image 40 with the contrast of the immediately previous captured image 40' and when the contrast is improved, either update the nominal DAC values stored in the lookup table 42 with the delta value 46 or update a stored alpha value 44 included in the DAC equation with the delta value 46. If the imaging system is still activated, it is repeating S9 the steps S1-S8.85372PC01

[0150] 16

[0151] The invention can be implemented by means of hardware, software, firmware, or any combination of these. The invention or some of the features thereof can also be implemented as software running on one or more data processors and / or digital signal processors.

[0152] The individual elements of an embodiment of the invention may be physically, functionally, and logically implemented in any suitable way such as in a single unit, in a plurality of units or as part of separate functional units. The invention may be implemented in a single unit or be both physically and functionally distributed between different units and processors.

[0153] Although the present invention has been described in connection with the specified embodiments, it should not be construed as being in any way limited to the presented examples. The scope of the present invention is to be interpreted in the light of the accompanying claim set. In the context of the claims, the terms "comprising" or "comprises" do not exclude other possible elements or steps. Also, the mentioning of references such as "a" or "an" etc. should not be construed as excluding a plurality. The use of reference signs in the claims with respect to elements indicated in the figures shall also not be construed as limiting the scope of the invention. Furthermore, individual features mentioned in different claims, may possibly be advantageously combined, and the mentioning of these features in different claims does not exclude that a combination of features is not possible and advantageous.

Claims

85372PC0117CLAIMS1. A computer-implemented method for adjusting focus of an imaging system, the imaging system (1) comprises- an adjustable lens system (10), and- a processor (12);the method comprising, when the imaging system (1) is activated: a. obtaining an object distance (20) between the adjustable lens system (10) and an object (22) to be imaged,b. obtaining a nominal DAC value (62, 62') based on the obtained object distance (20) from a lookup table (42) or from calculating a DAC equation,c. adjusting the nominal DAC value with a delta value (46) to obtain an operational DAC value,d. adjusting the focus of the adjustable lens system (10) based on the operational DAC value,e. after adjusting the focus, capturing an image (40),f. storing the captured image (40) within a database (14) and / or transmitting the captured image to an external receiver (16), g. obtaining a quality value by performing a quality computation of the captured image (40),h. when there is a comparable immediately previous captured image (40'), comparing the quality value of the captured image (40) with the quality value of the immediately previous captured image (40') and when the quality value is improved, either update the nominal DAC values stored in the lookup table (42) with the delta value (46) or update a stored alpha value (44) included in the DAC equation with the delta value (46),i. repeat step a-h as long as the imaging system (1) is activated wherein the adjustable lens system is a lens system where the focus of the lens system can be adjusted by applying a particular voltage to change the focus of the lens system, andwherein the nominal / operational DAC value is a voltage applied to actuators within the adjustable lens system to adjust the focus.85372PC01182. The computer-implemented method according to claim 1, wherein the imaging system further comprises a capacitance sensor (13) and when starting up the imaging system a capacitance value is measured, the measured capacitance value is compared to a stored reference capacitance value (48) and the difference is used either to modify the nominal DAC values stored in the lookup table (42) or the stored alpha value (44).

3. The computer-implemented method according to claim 1 or 2, wherein when the nominal DAC values stored in the lookup table (42) or the stored alpha value (44) is updated, the capacitance value is measured and stored as the reference capacitance value (48).

4. The computer-implemented method according to any of the preceding claims, wherein when starting up the imaging system, the delta value is an initial delta value.

5. The computer-implemented method according to claim 4, wherein when the imaging system (1) has been running for a pre-selected time or captured a preselected number of images (40) the delta value (46) is changed to a running delta value, which is smaller than the initial delta value.

6. The computer-implemented method according to any the preceding claims, wherein obtaining an object distance (20) between the adjustable lens system (10) and an object (22) to be imaged comprises measuring the object distance before capturing an image (40).

7. The computer-implemented method according to claim 6, wherein the object distance (20) is measured by a distance measuring device (50).

8. The computer-implemented method according to any of the claims 1-5, wherein obtaining an object distance (20) between the adjustable lens system (10) and an object (22) to be imaged comprises applying a fixed predefined distance.85372PC01199. The computer-implemented method according to any of the preceding claims, wherein the quality value is a contrast value or a decoding success rate.

10. The computer-implemented method according to any of the preceding claims, wherein adjusting the focus of the adjustable lens system (19) based on the operational DAC value is applied by a voltage driver (76).

11. The computer-implemented method according to any of the preceding claims, wherein updating all the nominal DAC values stored in the lookup table (42) with the delta value (46) comprises adding the delta value to all DAC values (62) in the lookup table.

12. The computer-implemented method according to any of the preceding claims, wherein updating the alpha value (44) with the delta value (46) comprises adding the delta value to the alpha value.

13. The computer-implemented method according to any of the preceding claims, wherein the DAC equation is of the form: nominal DAC value = alpha + (beta * object distance), whereinalpha is a value that represents a baseline DAC value, andbeta is a scaling factor that adjusts the DAC value based on the object distance.

14. The computer-implemented method according to any of the preceding claims, wherein there is a comparable immediately previous captured image (40') when the captured image (40) and the immediately previous captured image (40') both are showing an object.

15. The computer-implemented method according to any of the preceding claims, wherein there is a comparable immediately previous captured image (40') when the captured image (40) and the previous captured image (40') are both comprising comparable information.

16. The computer-implemented method according to claim 15, wherein the comparable information is a barcode, a QR code, a label, and / or text.85372PC012017. An imaging system comprising- an adjustable lens system (10), and- a processor (12) adapted, when the imaging system is activated, to perform the method of claim 1, wherein the imaging system is adapted to:a. obtain an object distance (20) between the adjustable lens system (10) and an object (22) to be imaged,b. obtain a nominal DAC value (62) based on the obtained object distance (20) from a lookup table (42) or from calculating a DAC equation,c. adjust the nominal DAC value (62) with a delta value (46) to obtain an operational DAC value,d. adjust the focus of the adjustable lens system (10) based on the operational DAC value,e. after the focus of the adjustable lens system has been adjusted, capture an image (40),f. store the captured image (40) within a database (14) and / or transmitting the captured image (40) to an external receiver (16),g. obtain a quality value by performing a quality computation of the captured image (40),h. when there is a comparable immediately previous captured image (40'), comparing the quality value of the captured image (40) with the quality value of the immediately previous captured image (40') and when the quality value is improved, either update the nominal DAC values (62) stored in the lookup table (42) with the delta value or update a stored alpha value (44) included in the DAC equation with the delta value (46),i. repeat step a-h as long as the imaging system (1) is activated wherein the adjustable lens system is a lens system where the focus of the lens system can be adjusted by applying a particular voltage to change the focus of the lens system, and85372PC0121wherein the nominal / operational DAC value is a voltage applied to actuators within the adjustable lens system to adjust the focus.

18. An imaging system according to claim 17, wherein the imaging system further comprises a capacitance sensor, and is adapted to measure and store the capacitance at start-up and any time the lookup table (42) or the alpha value (44) is updated.