Full temperature compensation and fast control system for continuous zoom of infrared lens

Through the temperature sensor module and machine learning model, the calculation of the variable-magnification motor code value and the focus motor code value is solved, and the problem of the degradation of the imaging quality of infrared lenses in high-temperature environments is achieved, and high-definition imaging and focus of infrared lenses in complex environments is achieved accuracy.

CN118859454BActive Publication Date: 2024-12-17SUZHOU ORIENTAL CROTO OPTOELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411355258.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-27
Publication Date
2024-12-17
Estimated Expiration
2044-09-27

AI Technical Summary

Technical Problem

Traditional infrared lenses are difficult to achieve high-definition infrared imaging in complex environments due to mechanical structure thermal expansion and signal transmission problems of electronic components in high-temperature environments.

Method used

The temperature sensor module and lens control unit are combined with parameter matrix table and machine learning model to obtain the temperature value in real time and calculate the variable-magnetic motor code value and focus motor code value. The full temperature compensation and rapid control of infrared lenses are achieved through fitting relationships. , ensure the quality of imaging.

Benefits of technology

It realizes high-definition imaging of infrared lenses in complex environments, improves focus accuracy and stability, reduces the dependence of manual control, and adapts to the needs of different temperature environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118859454B_ABST
    Figure CN118859454B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of optical lens control technology, and relates to a full temperature compensation and rapid control system for continuous zoom of an infrared lens, the system comprising a temperature sensor module, a lens control unit and a parameter matrix table; the temperature sensor module obtains the external temperature value in real time and inputs it into the lens control unit, and the lens control unit controls the infrared lens according to the current temperature value and the variable magnification motor code value and the focus motor code value corresponding to the target focal length found in the pre-calibrated parameter matrix table. The present invention can achieve high-definition infrared imaging in complex environments, and enable the lens to more accurately identify and track targets.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of optical lens control, and relates to a full temperature compensation and rapid control system for continuous zooming of an infrared lens. Background Art

[0002] Traditional infrared lenses often have fixed focal lengths, which are difficult to adapt to the observation needs of different distances and different targets. Infrared continuous zoom lenses can flexibly adjust the focal length according to actual needs, achieve seamless switching from near to far, and greatly improve the efficiency and accuracy of observation. However, changes in ambient temperature will directly affect the performance of zoom lenses, including their imaging quality and operational performance. First, the mechanical structure of the zoom lens requires precise coordination and adjustment to maintain the smoothness and accuracy of its zoom function. In a high temperature environment, the mechanical structure inside the lens may change slightly due to thermal expansion, resulting in thermal expansion or contraction of these mechanical components, thereby affecting the smoothness and accuracy of the zoom, and thus affecting the focusing accuracy and stability of the lens; secondly, high temperatures may also affect the electronic components and circuits inside the lens, causing problems in signal transmission, which in turn affects the imaging quality. Summary of the invention

[0003] The technical problem to be solved by the present invention is to provide a full temperature compensation and rapid control system for continuous zoom of an infrared lens, which can completely replace manual control and enable the lens to quickly achieve high-definition infrared imaging in a complex environment.

[0004] In order to solve the above technical problems, the full temperature compensation and rapid control system of the continuous zoom of the infrared lens of the present invention includes a temperature sensor module, a lens control unit and a parameter matrix table; the temperature sensor module obtains the external temperature value in real time and inputs it into the lens control unit, and the lens control unit controls the infrared lens according to the current temperature value and the zoom motor code value and the focusing motor code value corresponding to the target focal length found in the pre-calibrated parameter matrix table.

[0005] The calibration method of the parameter matrix table is as follows:

[0006] Step 1: placing an imaging device including an infrared lens and its control system in a programmable temperature environment control box;

[0007] Step 2: Fitting the corresponding relationship between the infrared lens zoom motor code value and the focal length, and the corresponding relationship between the focus motor code value and the focal length, to obtain the zoom motor code value-focal length fitting relationship and the focus motor code value-focal length fitting relationship;

[0008] Step 3: Train the machine learning model:

[0009] Step 1. Adjust the programmable temperature environment control box to the set initial temperature, and input the initial temperature and the set initial target focal length into the machine learning model;

[0010] Step 2. Calculate the zoom motor code value and the focus motor code value corresponding to the current temperature and the target focal length according to the zoom motor code value-focal length fitting relationship and the focus motor code value-focal length fitting relationship respectively and input them into the machine learning model; at the same time, the lens control unit controls the infrared lens according to the zoom motor code value and the focus motor code value currently calculated to image the object in front of the lens; the image clarity feedback unit feeds back the calculated image clarity to the machine learning model; when the image clarity is greater than the set clarity threshold, the machine learning model records the temperature value, the target focal length and the corresponding zoom motor code value and the focus motor code value at this time; when the image clarity is less than the set clarity threshold, the machine learning model feeds back the judgment result to the lens control unit, and the lens control unit fine-tunes the focus motor code value within the range of the focus motor code value change at the current target focal length until the image clarity is greater than the set clarity threshold, and the machine learning model records the temperature, the target focal length and the corresponding zoom motor code value and the focus motor code value at this time;

[0011] Step 3. Set the second focal length interval Δf t Adjust the target focal length. Repeat step 2 each time the target focal length is adjusted until the target focal length within the full focal length range of the infrared lens at the current temperature and the corresponding multiplication motor code value and focus motor code value are recorded.

[0012] Step 4. Set the first temperature interval ΔT t Adjust the temperature in the programmable temperature environment control box, restore the target focal length to the initial value, repeat steps 2 and 3 until the target focal length and the corresponding magnification motor code value and focus motor code value within the full temperature range are recorded;

[0013] Step 5. The machine learning model is trained based on the recorded temperatures, target focal lengths, and corresponding zoom motor code values ​​and focus motor code values ​​to obtain a functional relationship between the relative change in the zoom motor code value and the target focal length and temperature change, and a functional relationship between the relative change in the focus motor code value and the target focal length and temperature change;

[0014] Step 4. The machine learning model calculates the zoom motor code value and the focusing motor code value corresponding to the target focal length at each temperature based on the functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change, and the functional relationship between the relative change of the focusing motor code value and the target focal length and temperature change, and fills each temperature, target focal length and the corresponding zoom motor code value and focusing motor code value into the parameter matrix table.

[0015] Assume that the temperature interval in the parameter matrix table is the second temperature interval ΔT c , the second temperature interval ΔT c Less than the first temperature interval ΔT t .

[0016] In the step 2, the linear relationship between the zoom motor code value and the focal length and the zoom motor code value and the focal length of each discrete point are fitted to obtain the zoom motor code value-focal length fitting relationship; the linear relationship between the focus motor code value and the focal length and the focus motor code value and the focal length of each discrete point are fitted to obtain the focus motor code value-focal length fitting relationship.

[0017] In the step 2, the linear relationship between the zoom motor code value and the focal length, and the linear relationship between the focus motor code value and the focal length are as follows:

[0018] y b =f×(C bmax -C bmin ) / ( f max -f min )

[0019] y j =f×(C jmax -C jmin ) / ( f max -f min )

[0020] Among them, y b is the zoom motor code value corresponding to the target focal length, f is the target focal length, C bmax is the maximum code value of the variable power motor, C bmin is the minimum code value of the variable-magnification motor, f max is the maximum focal length, f min is the minimum focal length, y j is the focus motor code value corresponding to the target focal length, C jmax is the maximum code value of the focus motor, C jmin It is the minimum code value of the focus motor.

[0021] In step 2, the method for obtaining each discrete point is as follows: the lens control unit controls the zoom motor to set the first zoom code value interval △y b1 Run, change the magnification of the infrared lens; each time the zoom motor runs a first zoom code value interval △y b1 After that, the lens control unit controls the focus motor to adjust the focus code value according to the set first focus code value interval △y j1 The focal length of the lens is adjusted throughout the entire stroke to obtain multiple discrete points where the zoom motor code values, the focus motor code values ​​and the focal length correspond one to one.

[0022] In step 2, the relationship between the zoom motor code value and focal length is as follows:

[0023] The relationship between the focus motor code value and focal length is as follows:

[0024]

[0025] y b is the zoom motor code value corresponding to the target focal length, y j is the focus motor code value corresponding to the target focal length, f is the target focal length, a0, a1, a2, ...a 12 , b1, b2, …b 12 , c0, c1, c2, … c 12 , d1, d2, …d 12 are the coefficients obtained by fitting.

[0026] Assume that the focal length interval in the parameter matrix table is the third focal length interval Δf c , the second focal length interval Δf t Smaller than the first focal length interval △f f , the third focal length interval Δf c Less than or equal to the second focal length interval Δf t .

[0027] The functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change and the functional relationship between the relative change of the focus motor code value and the target focal length and temperature change are as follows:

[0028] Among them, δy b is the relative change of the zoom motor code value, that is, the change of the zoom motor code value corresponding to the target focal length f at the current temperature T relative to the zoom motor code value corresponding to the target focal length f at normal temperature, δy j is the relative change of the focus motor code value, that is, the change of the focus motor code value corresponding to the target focal length f at the current temperature T relative to the focus motor code value corresponding to the target focal length f at normal temperature, deltT is the temperature change of the current temperature T relative to the normal temperature, deltT=T-22; p0, p2, p3...p 13 and q0, q2, q3, ... q 13 are the coefficients obtained through learning and training.

[0029] Beneficial effects: Through continuous training and learning, the machine learning model obtains the functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change, and the functional relationship between the relative change of the focus motor code value and the target focal length and temperature change, so that each temperature, target focal length and the corresponding zoom motor code value and focus motor code value can be accurately calculated to form a parameter matrix table; the corresponding zoom motor code value and focus motor code value can be found according to the current temperature and target focal length, thereby realizing full temperature compensation and high-precision and rapid control of continuous zoom of the infrared lens; the present invention can realize high-definition infrared imaging in complex environments, allowing the lens to more accurately identify and track targets. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 The invention discloses a structural block diagram of a full temperature compensation and rapid control system for continuous zooming of an infrared lens.

[0031] Figure 2 It is a flow chart of the calibration method of the parameter matrix table.

[0032] Figure 3 It is a flowchart of the machine learning model training process. DETAILED DESCRIPTION

[0033] The present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention rather than to limit the present invention.

[0034] like Figure 1 As shown, the full temperature compensation and rapid control system for continuous zoom of the infrared lens of the present invention includes a temperature sensor module and a microprocessor; the microprocessor includes a lens control unit and a parameter matrix table; the temperature sensor module obtains the external temperature value in real time and inputs it to the lens control unit, and the lens control unit controls the infrared lens according to the current temperature value found in the parameter matrix table and the zoom motor code value and the focus motor code value corresponding to the target focal length.

[0035] The microprocessor adopts the ARM microprocessor of the CORTEX-H7 series, which also includes a fitting unit, an image clarity feedback unit, and a machine learning model; the calibration method of the parameter matrix table is as follows:

[0036] Step 1: Place a wide spectrum imager including an infrared lens and its control system in a programmable temperature environment control box.

[0037] Step 2: Fit the corresponding relationship between the infrared lens zoom motor code value and the focal length, and the corresponding relationship between the focus motor code value and the focal length. The fitting method is as follows:

[0038] Step 1: Control the zoom motor through the lens control unit to set the first zoom code value interval △y b1 Run, change the magnification of the infrared lens; each time the zoom motor runs a first zoom code value interval △y b1 After that, the lens control unit controls the focus motor to adjust the focus code value according to the set first focus code value interval △y j1 The focal length of the lens is adjusted throughout the entire stroke to obtain a plurality of discrete points corresponding to the zoom motor code value, the focus motor code value and the focal length; the zoom motor code value, the focus motor code value and the focal length of each discrete point are input into the fitting unit. The first zoom code value interval △y b1 , the first focus code value interval △y j1 There is no strict regulation, which needs to be determined according to the range of the zoom motor code value and the focus motor code value corresponding to the zoom focal length range and the fitting accuracy. In this embodiment, the range of the zoom motor code value and the focus motor code value is 0 ~ 800000, and the first zoom code value interval △y is taken. bf =200, the first focus code value interval △y jf =200, corresponding to the first focal length interval △f f About 16um.

[0039] Step 2. The fitting unit performs fitting according to the linear relationship between the zoom motor code value and the focal length and the zoom motor code value and focal length of each discrete point to obtain the zoom motor code value-focal length fitting relationship; the linear relationship between the focus motor code value and the focal length and the focus motor code value and focal length of each discrete point are fitted to obtain the focus motor code value-focal length fitting relationship; the specific method is as follows:

[0040] The relationship between the full range of focal length change of the optical lens and the zoom motor code value and the focus motor code value is theoretically linear, which conforms to the linear relationship between zoom motor code value and focal length (1) and the linear relationship between focus motor code value and focal length (2):

[0041] y b =f×(C bmax -C bmin ) / ( f max -f min ) (1)

[0042] y j =f×(C jmax -C jmin ) / ( f max -f min ) (2)

[0043] Among them, y b is the zoom motor code value corresponding to the target focal length, f is the target focal length, C bmax is the maximum code value of the variable power motor, C bminis the minimum code value of the variable-magnification motor, f max is the maximum focal length, f min is the minimum focal length, y j is the focus motor code value corresponding to the target focal length, C jmax is the maximum code value of the focus motor, C jmin It is the minimum code value of the focus motor.

[0044] Taking the 10mm to 300mm optical lens as an example, when designing the full stroke of the optical lens, the zero offset is not considered. When the 0 position is the focal length of 10mm and the maximum position is the focal length of 300mm, the corresponding zoom motor code value is 0 code value to 800000 code value. In theory, they are linearly corresponding one by one. The theoretical calculation method of the focal length and the zoom motor code value is a simple linear formula, that is, y b =f×(800000-0) / (300-10).

[0045] However, the optical design will be stretched. In order to ensure that the zoom motor code value and the focus motor code value fall at the optimal position, it is necessary to fit and correct the correspondence between the zoom motor code value and the focal length, and the correspondence between the focus motor code value and the focal length.

[0046] The zoom motor code value-focal length fitting relationship can be obtained by using Matlab, based on the linear relationship between the zoom motor code value and focal length (1), as well as the zoom motor code value and focal length of each discrete point; the zoom motor code value-focal length fitting relationship (3) is as follows:

[0047] y b is the zoom motor code value corresponding to the target focal length, f is the target focal length, a0, a1, a2, ...a 12 , b1, b2, …b 12 are the coefficients obtained by fitting.

[0048] The focusing motor code value-focal length fitting relationship can be obtained by using Matlab, based on the linear relationship between the focusing motor code value and the focal length (2), as well as the focusing motor code value and focal length of each discrete point. The focusing motor code value-focal length fitting relationship (4) is as follows:

[0049] y j is the focus motor code value corresponding to the target focal length, f is the target focal length, c0, c1, c2, ... c 12 , d1, d2, …d 12 are the coefficients obtained by fitting.

[0050] Step 3: Train the machine learning model:

[0051] Step 1. Adjust the programmable temperature environment control box to the set initial temperature, and input the initial temperature and the set initial target focal length into the machine learning model; the initial temperature can be the lowest temperature -40°C or the highest temperature 60°C or the room temperature 20°C applicable to the infrared lens, and the initial target focal length can be the minimum focal length or the maximum focal length of the infrared lens; in this embodiment, the initial temperature is set to 20°C, and the initial target focal length is set to the minimum focal length.

[0052] Step 2. The fitting unit calculates the zoom motor code value and the focus motor code value corresponding to the current target focal length according to the zoom motor code value-focal length fitting relationship (3) and the focus motor code value-focal length fitting relationship (4) and inputs them into the machine learning model; at the same time, the lens control unit controls the infrared lens according to the zoom motor code value and the focus motor code value corresponding to the current target focal length to image the object in front of the lens; the image clarity feedback unit calculates the image clarity and feeds it back to the machine learning model; when the image clarity is greater than the set clarity threshold, the machine learning model records the temperature value, the target focal length and the corresponding zoom motor code value and the focus motor code value at this time; when the image clarity is less than the set clarity threshold, the machine learning model feeds back the judgment result to the lens control unit, and the lens control unit calculates the image clarity according to the formula ΔV=f 2 / (uf), and the comparison relationship between the change of image distance and the focus motor stroke and code value, determine the range of change of the focus motor code value under the current target focal length, and fine-tune the focus motor code value within this range until the image clarity is greater than the set clarity threshold. The machine learning model records the temperature, target focal length and the corresponding zoom motor code value and focus motor code value at this time; wherein ΔV represents the change of image distance, f represents the target focal length, and u represents the object distance; the comparison relationship between the change of image distance and the focus motor stroke and code value can be determined by technical personnel in this field through conventional technical means.

[0053] Step 3. Set the second focal length interval Δf t Adjust the target focal length. Repeat step 2 each time the target focal length is adjusted until the target focal length within the full focal length range of the infrared lens and the corresponding multiplication motor code value and focus motor code value are recorded; the second focal length interval Δf t smaller than the first focal length interval △f f , this embodiment sets the second focal length interval Δf t =0.23um, the corresponding second variable code value interval △y bt About 3;

[0054] Step 4. Set the first temperature interval ΔT tAdjust the temperature in the programmable temperature environment control box, restore the target focal length to the initial value, repeat steps 2 and 3 until the target focal length and the corresponding variable magnification motor code value and focus motor code value in the full temperature range are recorded; in this embodiment, the first temperature interval ΔT is set t =10℃;

[0055] Step 5. The machine learning model is trained based on the recorded temperatures, target focal lengths, and corresponding zoom motor code values ​​and focus motor code values ​​to obtain the functional relationship between the relative change in the zoom motor code value and the target focal length and temperature change (5) and the functional relationship between the relative change in the focus motor code value and the target focal length and temperature change (6);

[0056] Among them, δy b is the relative change of the zoom motor code value, that is, the change of the zoom motor code value corresponding to the target focal length f at the current temperature T relative to the zoom motor code value corresponding to the target focal length f at normal temperature (here the default normal temperature is 22°C), δy j is the relative change of the focus motor code value, that is, the change of the focus motor code value corresponding to the target focal length f at the current temperature T relative to the focus motor code value corresponding to the target focal length f at normal temperature (here the default normal temperature is 22°C), deltT is the temperature change of the current temperature T relative to the normal temperature, deltT=T-22; p0, p2, p3...p 13 and q0, q2, q3, ... q 13 are the coefficients obtained through learning and training.

[0057] Step 4: The machine learning model calculates the zoom motor code value and the focus motor code value corresponding to the target focal length at each temperature according to the functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change (5) and the functional relationship between the relative change of the focus motor code value and the target focal length and temperature change (6), and fills each temperature, target focal length and the corresponding zoom motor code value and focus motor code value into the parameter matrix table; let the temperature interval in the parameter matrix table be the second temperature interval ΔT c , the focal length interval is the third focal length interval Δf c , the second temperature interval ΔT c Less than the first temperature interval ΔT t , the third focal length interval Δf c Less than or equal to the second focal length interval Δf t ; In this embodiment, ΔT c =1℃, Δf is required during learning and training t=0.23um, if the design requirements are met after learning and training, then the third focal length interval Δf in the parameter matrix table c =0.23um, if the design requirements cannot be met after learning and training, then the third focal length interval Δf in the parameter matrix table c Less than 0.23um.

[0058] The machine learning model uses tensorflow lite; its core is to combine the neural network control algorithm with machine learning, and combine the programmable temperature environment control box with the wide spectrum imager to perform autonomous target focal length changes at different ambient temperatures, evaluate the control effect of the infrared lens, and learn and record the current control results. It completely replaces manual control and solves the problem of large differences in human judgment of control effects. At the same time, it solves the problem of requiring a large number of professional commissioning personnel to perform manual calibration in mass production of equipment.

[0059] TensorFlow Lite is a lightweight version of TensorFlow, specifically designed for deploying machine learning models on mobile and embedded devices. It has the following advantages: (1) TensorFlow Lite models are smaller and suitable for deployment and loading on low-cost or low-resource devices; (2) TensorFlow Lite runs faster on devices because it uses specially optimized code; (3) TensorFlow Lite is a good choice for resource-constrained devices such as single-chip microcomputers or microcontrollers.

[0060] The present invention is not limited to the above-mentioned embodiments. In step 1, other imaging devices including infrared lenses and control systems thereof may be used instead of wide-spectrum imagers and arranged in a programmable temperature environment control box. In step 3, multiple discrete points may be directly used for fitting to obtain a zoom motor code value-focal length fitting relationship and a focus motor code value-focal length fitting relationship. The difference is that only discrete points are used for fitting, and a smaller first zoom code value interval △y needs to be set. bf The interval between the first focus code value and △y jf .

Claims

1. A full temperature compensation and fast control system for continuous zoom of infrared lens, characterized by It includes a temperature sensor module, a lens control unit and a parameter matrix table; the temperature sensor module obtains the external temperature value in real time and inputs it into the lens control unit, and the lens control unit controls the infrared lens according to the current temperature value and the zoom motor code value and the focus motor code value corresponding to the target focal length found in the pre-calibrated parameter matrix table; the calibration method of the parameter matrix table is as follows: Step 1: placing an imaging device including an infrared lens and its control system in a programmable temperature environment control box; Step 2: Fitting the corresponding relationship between the infrared lens zoom motor code value and the focal length, and the corresponding relationship between the focus motor code value and the focal length, to obtain the zoom motor code value-focal length fitting relationship and the focus motor code value-focal length fitting relationship; Step 3: Train the machine learning model: Step 1. Adjust the programmable temperature environment control box to the set initial temperature, and input the initial temperature and the set initial target focal length into the machine learning model; Step 2. Calculate the zoom motor code value and the focus motor code value corresponding to the current temperature and the target focal length according to the zoom motor code value-focal length fitting relationship and the focus motor code value-focal length fitting relationship respectively and input them into the machine learning model; at the same time, the lens control unit controls the infrared lens according to the zoom motor code value and the focus motor code value currently calculated to image the object in front of the lens; the image clarity feedback unit feeds back the calculated image clarity to the machine learning model; when the image clarity is greater than the set clarity threshold, the machine learning model records the temperature value, the target focal length and the corresponding zoom motor code value and the focus motor code value at this time; when the image clarity is less than the set clarity threshold, the machine learning model feeds back the judgment result to the lens control unit, and the lens control unit fine-tunes the focus motor code value within the range of the focus motor code value change at the current target focal length until the image clarity is greater than the set clarity threshold, and the machine learning model records the temperature, the target focal length and the corresponding zoom motor code value and the focus motor code value at this time; Step 3. Set the second focal length interval Δf t Adjust the target focal length. Repeat step 2 each time the target focal length is adjusted until the target focal length within the full focal length range of the infrared lens at the current temperature and the corresponding multiplication motor code value and focus motor code value are recorded. Step 4. Set the first temperature interval ΔT t Adjust the temperature in the programmable temperature environment control box, restore the target focal length to the initial value, repeat steps 2 and 3 until the target focal length and the corresponding magnification motor code value and focus motor code value within the full temperature range are recorded; Step 5. The machine learning model is trained based on the recorded temperatures, target focal lengths, and corresponding zoom motor code values ​​and focus motor code values ​​to obtain a functional relationship between the relative change in the zoom motor code value and the target focal length and temperature change, and a functional relationship between the relative change in the focus motor code value and the target focal length and temperature change; Step 4. The machine learning model calculates the zoom motor code value and the focusing motor code value corresponding to the target focal length at each temperature based on the functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change, and the functional relationship between the relative change of the focusing motor code value and the target focal length and temperature change, and fills each temperature, target focal length and the corresponding zoom motor code value and focusing motor code value into the parameter matrix table.

2. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 1 is characterized in that Assume that the temperature interval in the parameter matrix table is the second temperature interval ΔT c , the second temperature interval ΔT c Less than the first temperature interval ΔT t .

3. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 1 is characterized in that In the step 2, the linear relationship between the zoom motor code value and the focal length and the zoom motor code value and the focal length of each discrete point are fitted to obtain the zoom motor code value-focal length fitting relationship; the linear relationship between the focus motor code value and the focal length and the focus motor code value and the focal length of each discrete point are fitted to obtain the focus motor code value-focal length fitting relationship.

4. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 3 is characterized in that In the step 2, the linear relationship between the zoom motor code value and the focal length, and the linear relationship between the focus motor code value and the focal length are as follows: y b =f×(C bmax -C bmin ) / ( f max - f min ) y j =f×(C jmax -C jmin ) / ( f max - f min ) Among them, y b is the zoom motor code value corresponding to the target focal length, f is the target focal length, C bmax is the maximum code value of the variable power motor, C bmin is the minimum code value of the variable-magnification motor, f max is the maximum focal length, f min is the minimum focal length, y j is the focus motor code value corresponding to the target focal length, C jmax is the maximum code value of the focus motor, C jmin It is the minimum code value of the focus motor.

5. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 3 is characterized in that In step 2, the method for obtaining each discrete point is as follows: the lens control unit controls the zoom motor to set the first zoom code value interval △y b1 Run, change the magnification of the infrared lens; each time the zoom motor runs a first zoom code value interval △y b1 After that, the lens control unit controls the focus motor to adjust the focus code value according to the set first focus code value interval △y j1 Full range adjustment of lens focal length, the first focus code value interval △y j1 The corresponding focal length interval is the first focal length interval △f f , obtain multiple discrete points where the zoom motor code values, the focus motor code values ​​and the focal length correspond one to one.

6. The full temperature compensation and fast control system for continuous zoom of infrared lens according to claim 3, characterized in that The relationship between the zoom motor code value and focal length is as follows: and b =a0+a1×cos(f×b1)+a2×sin(f×b2) + a3×cos(2×f×b3) + a4×sin(2×f×b4) +a5×cos(3×f×b5) + a6×sin(3×f×b6) + a7×cos(4×f×b7) + a8×sin(4×f×b8) +a9×cos(5×f×b9)+a 10 ×sin(5×f×b 10 )+a 11 ×cos(6×f×b 11 )+a 12 ×sin(6×f×b 12 ) The relationship between the focus motor code value and focal length is as follows: y j =c0+ c1×cos(f×d1) + c2×sin(f×d2) +c3×cos(2×f×d3) +c4×sin(2×f×d4)+ c5×cos(3×f×d5) +c6×sin(3×f×d6) +c7×cos(4×f×d7) + c8×sin(4×f×d8) +c9×cos(5×f×d9) +c 10 ×sin(5×f×d 10 )+c 11 ×cos(6×f×d 11 )+c 12 ×sin(6×f×d 12 ) y b is the zoom motor code value corresponding to the target focal length, y j is the focus motor code value corresponding to the target focal length, f is the target focal length, a0, a1, a2, ...a 12 , b1, b2, …b 12 , c0, c1, c2, … c 12 , d1, d2, …d 12 are the coefficients obtained by fitting.

7. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 5, characterized in that Assume that the focal length interval in the parameter matrix table is the third focal length interval Δf c , the second focal length interval Δf t Smaller than the first focal length interval △f f , the third focal length interval Δf c Less than or equal to the second focal length interval Δf t .

8. The full temperature compensation and rapid control system for continuous zoom of infrared lens according to claim 1, characterized in that The functional relationship between the relative change of the zoom motor code value and the target focal length and temperature change and the functional relationship between the relative change of the focus motor code value and the target focal length and temperature change are as follows: δy b =p0+p1×f+p2×deltT+p3×f 2 +p4×f×deltT+p5×deltT 2 + p6×f 3 + p7×f 2 ×deltT+ p8×f×deltT 2 + p9×deltT 3 +p 10 ×f 2 ×deltT + p 11 ×f 2 ×deltT 2 +p 12 ×f×deltT 3 +p 13 ×deltT 4 δy j =q0+q1×f+q2×deltT+q3×f 2 +q4×f×deltT+q5×deltT 2 +q6×f 3 +q7×f 2 ×deltT +q8×f×deltT 2 +q9×deltT 3 +q 10 ×f 2 ×deltT+q 11 ×f 2 ×deltT 2 +q 12 ×f×deltT 3 +q 13 ×deltT 4 Among them, δy b is the relative change of the zoom motor code value, that is, the change of the zoom motor code value corresponding to the target focal length f at the current temperature T relative to the zoom motor code value corresponding to the target focal length f at normal temperature, δy j is the relative change of the focus motor code value, that is, the change of the focus motor code value corresponding to the target focal length f at the current temperature T relative to the focus motor code value corresponding to the target focal length f at normal temperature, deltT is the temperature change of the current temperature T relative to the normal temperature, deltT=T-22; p0, p2, p3...p 13 and q0, q2, q3, ... q 13 are the coefficients obtained through learning and training.