Automatic focusing and magnification method for optical measuring equipment

Through the automatic focusing and zooming method, the distance and temperature changes between the optical measuring equipment and the observation target are monitored in real time, a corresponding relationship is established, the automatic focusing and zooming of the optical measuring equipment is realized, and the problem of long-distance observation and fast operation of the optical measuring equipment is solved. The operating pressure and imaging stability issues when moving targets are eliminated, while the clarity of the observed target and ease of operation are maintained.

CN118584620BActive Publication Date: 2024-10-18CHANGCHUN INST OF OPTICS FINE MECHANICS & PHYSICS CHINESE ACAD OF SCI +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411071026.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-18
Estimated Expiration
2044-08-06

AI Technical Summary

Technical Problem

In the case of long-distance observation and fast-moving targets, optical measurement equipment needs to frequently adjust the focus and zoom, resulting in high operating pressure and unstable imaging results. Especially due to the complex optical system and the existence of multiple sensors, it increases the burden on the operator. requirements.

Method used

Using the automatic focus and zoom method, by obtaining the temperature correction amount and constructing the corresponding relationship between the distance between the optical measurement equipment and the observation target, real-time monitoring and adjustment of the focus and zoom values ​​ensure that the observation target remains clear in the observation image and reduce operating pressure .

Benefits of technology

It realizes automatic focusing and zooming without image focusing, keeps the observation target clear, reduces the operating pressure of the operator, and reduces the impact of focus offset caused by temperature changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584620B_ABST
    Figure CN118584620B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of optical imaging technology, and in particular, relates to an automatic focusing and magnification method for optical measuring equipment, comprising: S1: constructing a corresponding relationship between the distance between the optical measuring equipment and the observed target and the focusing value of the optical measuring equipment at the same magnification value; S2: calculating the real-time distance between the optical measuring equipment and the observed target according to the current position of the optical measuring equipment; S3: if the real-time distance between the optical measuring equipment and the observed target is less than the threshold distance, the optical measuring equipment is focused in real time according to the calculated focusing value, and step S5 is executed, otherwise step S4 is executed; S4: the magnification value of the optical measuring equipment is adjusted according to the preset magnification value of the observation task, and the optical measuring equipment is focused in real time according to the calculated focusing value; S5: repeating steps S2-S4 until the observation task of the optical measuring equipment is completed. The present invention can improve the automation level of the optical measuring equipment and reduce the operating pressure of the equipment personnel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of optical imaging, and in particular relates to an automatic focusing and magnification method for optical measuring equipment. Background Art

[0002] Focusing and zooming are important adjustment methods for optical measurement equipment when performing observation tasks. The main function of focusing is to adjust the position of the focusing lens group, that is, by adjusting the distance between the lens and the imaging plane, the observed target can be correctly imaged on the focal plane to obtain a clear image. The main purpose of zooming is to adjust the position of the zoom lens group, that is, by adjusting the field angle of the optical measurement equipment, so as to adjust the size of the observed target within the observation field. Focusing and zooming are of great significance in the observation tasks of optical measurement equipment.

[0003] However, due to the long working distance of the optical measuring equipment, the imaging depth of field range is very different from that of civilian mobile phones and cameras. The change in object distance caused by the continuous movement of the observed target also requires the operator to frequently adjust the focus and magnification during the observation task to make the observed target have a suitable size and good clarity in the observed image. Since some observed targets move at a fast speed and the focus blur caused by the change in object distance brings great operating pressure to the operator, and the optical system design of the optical measuring equipment is complex, the magnification operation will affect the change of the optical path of the entire optical measuring equipment, thereby causing the change of the focal plane of the optical measuring equipment. Therefore, after the magnification is changed, the imaging effect of the optical measuring equipment will also become blurred. Therefore, the imaging adjustment of the optical measuring equipment is more complicated than that of other cameras and mobile phones.

[0004] At present, many optical measurement equipment rely on manual focus and zoom, and some equipment with automatic focus and zoom can only keep the image of the observed target clear for a period of time after adjustment. As the observed target moves, secondary adjustment is soon required. In addition, a set of optical measurement equipment has multiple sensors, and the operator needs to ensure the image clarity of multiple sensors at the same time, which places high demands on the operator's professional level and reaction speed. Summary of the invention

[0005] In view of this, the present invention aims to provide an automatic focusing and magnification method for optical measuring equipment, so as to improve the focusing accuracy of the optical measuring equipment, improve the automation level of the optical measuring equipment, and reduce the operating pressure of the equipment personnel.

[0006] To achieve the above object, the technical solution created by the present invention is implemented as follows:

[0007] An automatic focusing and magnification method for a light measuring device comprises the following steps:

[0008] S1: obtaining a temperature correction value, and using the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value;

[0009] S2: The optical measuring device continuously monitors the observation target in a moving state, and calculates the real-time distance between the optical measuring device and the observation target according to the current position of the optical measuring device;

[0010] S3: If the real-time distance between the optical measuring device and the observed target is less than the threshold distance, the focus value of the optical measuring device at the current zoom value is calculated in real time according to the corresponding relationship, and the optical measuring device is focused in real time according to the calculated focus value, and step S5 is executed; otherwise, step S4 is executed;

[0011] S4: adjusting the zoom value of the optical measuring device according to the preset zoom value of the observation task, and calculating the focus value of the optical measuring device at the current zoom value in real time according to the corresponding relationship, and focusing the optical measuring device in real time according to the calculated focus value;

[0012] S5: Repeat steps S2-S4 until the observation task of the optical measurement device is completed.

[0013] Furthermore, step S1 specifically includes the following steps:

[0014] S11: Obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device under the simulated observation temperature:

[0015] F(x, a)=Dis(x)+△t(a);

[0016] Wherein, F(x, a) is the focusing function under the simulated observation temperature, a is the simulated observation temperature, x is the distance between the optical measuring device and the observation target, Dis(x) is the zoom fitting function, which indicates the change of the focusing value caused by the change of the distance between the optical measuring device and the observation target under the current zoom value, △t(a) is the offset of the focusing value of the optical measuring device caused by the temperature under the simulated observation temperature;

[0017] S12: Keep the zoom value unchanged and obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the actual observation temperature:

[0018] F(x, b)=Dis(x)+△t(b);

[0019] Wherein, F(x, b) is the focusing function at the actual observation temperature, b is the actual observation temperature, and △t(b) is the offset of the focusing value of the optical measurement device caused by temperature at the actual observation temperature;

[0020] S13: Calculate and obtain the temperature correction value through the following formula:

[0021] △t=△t(b)-△t(a)=F(x,b)-F(x,a);

[0022] Among them, △t is the temperature correction;

[0023] S14: Use the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value:

[0024] F(x,b)=Dis(x)+Δt(a)+Δt.

[0025] Furthermore, the variable magnification fitting function Dis(x) is:

[0026] ;

[0027] in, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the first zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the second zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observation target at the third magnification value.

[0028] Further, in step S3, the threshold distance is 10 km.

[0029] Furthermore, the preset zoom value is set in combination with the model of the optical measurement equipment and the actual observation task.

[0030] Compared with the prior art, the invention can achieve the following beneficial effects:

[0031] The automatic focusing and magnification method for optical measuring equipment created by the present invention is a method that does not require the use of images for focusing, avoids the continuous change of image clarity caused by finding the best focusing position of the optical measuring equipment, and can ensure that the observed target is always in a clear state during the image observation process; the present invention does not need to fit multiple temperature distance-focusing curves at different temperatures, but introduces a temperature correction amount on the original temperature distance-focusing curve, so as to correct the influence of the focusing offset of the optical measuring equipment caused by different temperatures. The present invention also takes into account the influence of magnification on focusing, so that the image after magnification is always clear, reducing the operating pressure brought by the operator's need to adjust multiple images at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The drawings constituting part of the present invention are used to provide a further understanding of the present invention. The exemplary embodiments and descriptions of the present invention are used to explain the present invention and do not constitute an improper limitation on the present invention. In the drawings:

[0033] Figure 1 A schematic diagram of a flow chart of an automatic focusing and magnification method for a light measuring device according to an embodiment of the present invention;

[0034] Figure 2 The invention creates a corresponding relationship curve between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solution and advantages of the invention more clear, the invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described here are only used to explain the invention and do not constitute a limitation of the invention.

[0036] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other.

[0037] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. In addition, the terms "first", "second", etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined as "first", "second", etc. may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "multiple" means two or more.

[0038] In the description of the invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installation", "connection" and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the invention can be understood according to specific circumstances.

[0039] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments.

[0040] like Figure 1 As shown, the present invention provides an automatic focusing and magnification method for a light measuring device, which specifically includes the following steps:

[0041] S1: Obtain a temperature correction value, and use the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value.

[0042] Step S1 specifically includes the following steps:

[0043] S11: Obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device under the simulated observation temperature:

[0044] F(x, a)=Dis(x)+△t(a);

[0045] Wherein, F(x, a) is the focusing function under the simulated observation temperature, a is the simulated observation temperature, x is the distance between the optical measuring device and the observation target, Dis(x) is the zoom fitting function, which indicates the change of the focusing value caused by the change of the distance between the optical measuring device and the observation target under the current zoom value, △t(a) is the offset of the focusing value of the optical measuring device caused by the temperature under the simulated observation temperature;

[0046] S12: Keep the zoom value unchanged and obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the actual observation temperature:

[0047] F(x, b)=Dis(x)+△t(b);

[0048] Wherein, F(x, b) is the focusing function at the actual observation temperature, b is the actual observation temperature, and △t(b) is the offset of the focusing value of the optical measurement device caused by temperature at the actual observation temperature;

[0049] S13: Calculate and obtain the temperature correction value through the following formula:

[0050] △t=△t(b)-△t(a)=F(x,b)-F(x,a);

[0051] Among them, △t is the temperature correction;

[0052] S14: Use the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value:

[0053] F(x,b)=Dis(x)+Δt(a)+Δt.

[0054] The variable magnification fitting function Dis(x) is:

[0055] ;

[0056] in, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the first zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the second zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observation target at the third magnification value.

[0057] S2: The optical measuring device continuously monitors the observation target in a moving state, and calculates the real-time distance between the optical measuring device and the observation target according to the current position of the optical measuring device.

[0058] S3: If the real-time distance between the optical measurement device and the observed target is less than the threshold distance, the focus value of the optical measurement device at the current magnification value is calculated in real time according to the corresponding relationship, and the optical measurement device is focused in real time according to the calculated focus value, and step S5 is executed; otherwise, step S4 is executed.

[0059] In step S3, the threshold distance is 10 km.

[0060] S4: adjusting the zoom value of the optical measuring device according to the preset zoom value, calculating the focus value of the optical measuring device at the current zoom value in real time according to the corresponding relationship, and focusing the optical measuring device in real time according to the calculated focus value.

[0061] The preset zoom value is set in combination with the model of the optical measurement equipment and the actual observation task.

[0062] S5: Repeat steps S2-S4 until the observation task of the optical measurement device is completed.

[0063] Example 1

[0064] At a certain temperature and a certain zoom value, the appropriate focus value can be obtained according to the distance between the optical measuring device and the observed target. A large number of studies on optical measuring devices have found that at different temperatures, temperature changes will not affect the distance between the optical measuring device and the observed target and the trend and shape of the fitting curve of the focus value of the optical measuring device, but will only form a focus deviation based on the final focus amount.

[0065] This example provides an automatic focusing and magnification method for a light measuring device, which specifically includes the following steps:

[0066] S1: Obtain a temperature correction value, and use the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value.

[0067] According to the change of the distance between the optical measuring device and the observation target, a fitting curve of the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at a certain temperature suitable for zoom adjustment can be obtained through only one fitting process. However, when the temperature changes, there will be a difference between the actual focus value fitting curve and the above focus value fitting curve. The corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the same zoom value constructed according to step S1 is as follows: Figure 2 shown.

[0068] Step S1 specifically includes the following steps:

[0069] S11: Obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device under the simulated observation temperature:

[0070] F(x, a)=Dis(x)+△t(a);

[0071] Wherein, F(x, a) is the focusing function under the simulated observation temperature, a is the simulated observation temperature, x is the distance between the optical measuring device and the observation target, Dis(x) is the zoom fitting function, which indicates the change of the focusing value caused by the change of the distance between the optical measuring device and the observation target under the current zoom value, △t(a) is the offset of the focusing value of the optical measuring device caused by the temperature under the simulated observation temperature;

[0072] S12: Keep the zoom value unchanged and obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the actual observation temperature:

[0073] F(x, b)=Dis(x)+△t(b);

[0074] Wherein, F(x, b) is the focusing function at the actual observation temperature, b is the actual observation temperature, and △t(b) is the offset of the focusing value of the optical measurement device caused by temperature at the actual observation temperature;

[0075] S13: Calculate and obtain the temperature correction value through the following formula:

[0076] △t=△t(b)-△t(a)=F(x,b)-F(x,a);

[0077] Among them, △t is the temperature correction;

[0078] S14: Use the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value:

[0079] F(x,b)=Dis(x)+Δt(a)+Δt.

[0080] The zoom fitting function can be regarded as a piecewise function. Different calculation formulas of the zoom fitting function are selected according to different zoom values ​​to calculate the focus value of the optical measurement device under different zoom values.

[0081] The variable magnification fitting function Dis(x) is:

[0082] ;

[0083] in, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the first zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the second zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observation target at the third magnification value.

[0084] S2: The optical measuring device continuously monitors the observation target in a moving state, and calculates the real-time distance between the optical measuring device and the observation target according to the current position of the optical measuring device.

[0085] S3: If the real-time distance between the optical measurement device and the observed target is less than the threshold distance, the focus value of the optical measurement device at the current magnification value is calculated in real time according to the corresponding relationship, and the focus motor is adjusted according to the calculated focus value to control the focus mechanism to move, and the optical measurement device is focused in real time, and step S5 is executed; otherwise, step S4 is executed.

[0086] In step S3, the threshold distance is 10 km.

[0087] S4: adjusting the zoom motor according to the preset zoom value, the zoom motor controls the zoom mechanism to adjust the zoom value of the optical measuring device, and calculates the focus value of the optical measuring device at the current zoom value in real time according to the corresponding relationship, and focuses the optical measuring device in real time according to the calculated focus value.

[0088] The preset zoom value is set in combination with the model of the optical measurement equipment and the actual observation task. In actual observation tasks, the zoom value is usually only adjusted once.

[0089] S5: Repeat steps S2-S4 until the observation task of the optical measuring device is completed, that is, the observed target flies away from the farthest working distance of the optical measuring device, or is blocked by mountains, clouds, horizon, etc. and cannot be seen.

[0090] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the disclosure of the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present invention can be achieved, and this document does not limit this.

[0091] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. An automatic focusing and magnification method for a light measuring device, characterized in that: The specific steps include: S1: obtaining a temperature correction value, and using the temperature correction value to construct a corresponding relationship between the distance between the optical measuring device and the observed target and the focus value of the optical measuring device at the same zoom value; S11: Obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device under the simulated observation temperature: F(x, a)=Dis(x)+△t(a); Wherein, F(x, a) is the focusing function under the simulated observation temperature, a is the simulated observation temperature, x is the distance between the optical measuring device and the observation target, Dis(x) is the zoom fitting function, which indicates the change of the focusing value caused by the change of the distance between the optical measuring device and the observation target under the current zoom value, △t(a) is the offset of the focusing value of the optical measuring device caused by the temperature under the simulated observation temperature; S12: Keep the zoom value unchanged and obtain the corresponding relationship between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the actual observation temperature: F(x, b)=Dis(x)+△t(b); Wherein, F(x, b) is the focusing function at the actual observation temperature, b is the actual observation temperature, and △t(b) is the offset of the focusing value of the optical measurement device caused by temperature at the actual observation temperature; S13: Calculate and obtain the temperature correction value through the following formula: △t=△t(b)-△t(a)=F(x,b)-F(x,a); Among them, △t is the temperature correction; S14: constructing a correspondence between the distance between the optical measuring device and the observation target and the focus value of the optical measuring device at the same magnification value using the temperature correction value: F(x,b)=Dis(x)+Δt(a)+Δt; S2: the optical measuring device continuously monitors the observation target in a moving state, and calculates the real-time distance between the optical measuring device and the observation target according to the current position of the optical measuring device; S3: if the real-time distance between the optical measuring device and the observed target is less than the threshold distance, the focus value of the optical measuring device at the current zoom value is calculated in real time according to the corresponding relationship, and the optical measuring device is focused in real time according to the calculated focus value, and step S5 is executed; otherwise, step S4 is executed; S4: adjusting the magnification value of the optical measurement device according to the preset magnification value, calculating the focus value of the optical measurement device at the current magnification value in real time according to the corresponding relationship, and focusing the optical measurement device in real time according to the calculated focus value; The preset zoom value is set in combination with the model of the optical measurement equipment and the actual observation task; S5: Repeat steps S2-S4 until the observation task of the optical measurement device is completed.

2. The automatic focusing and magnification method for optical measurement equipment according to claim 1, characterized in that: The variable magnification fitting function Dis(x) is: ; in, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the first zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observed target at the second zoom value, is the change in the focus value caused by the change in the distance between the optical measuring device and the observation target at the third magnification value.

3. The automatic focusing and magnification method for optical measurement equipment according to claim 1, characterized in that: In step S3, the threshold distance is 10 km.

Citation Information

Patent Citations

  • Infrared camera lens based on temperature change compensation and compensation method

    CN103389559A

  • Real-time self-focusing method of full solar disk observation system

    CN104678534A

  • Active and passive combined zoom automatic focusing method and system

    CN108345084A

  • Method for actively compensating image quality of continuous zoom lens in full temperature range

    CN114660753A