A focusing device, method and electronic equipment

By acquiring lens attribute information to determine the target stroke of the drive module, and controlling the drive module to move the lens or sensor within the target stroke, the problem of low efficiency of electric focusing devices is solved, and more efficient focusing is achieved.

CN115529418BActive Publication Date: 2025-11-04HANGZHOU MICROIMAGE SOFTWARE CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211287250.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-20
Publication Date
2025-11-04
Estimated Expiration
2042-10-20

AI Technical Summary

Technical Problem

Existing electric focusing devices are inefficient during the focusing process and require the focusing results to be checked at each position to identify the optimal position.

Method used

By acquiring the lens's attribute information, the target travel distance of the drive module is determined, and the drive module is controlled to move the lens or sensor within the target travel distance to achieve focusing.

Benefits of technology

It improves focusing efficiency and reduces the movement range and wear of the drive module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115529418B_ABST
    Figure CN115529418B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a focusing device, method and electronic equipment, which are applied to the field of information technology. The focusing device comprises a lens, a control module and a driving module. The control module is configured to acquire attribute information of the lens, determine a target stroke of the driving module according to the attribute information, wherein the target stroke is smaller than a total stroke of the driving module, and control the driving module to travel within the target stroke to drive the lens or a sensor to move and achieve focusing. Through the scheme of the present application, the attribute information of the lens can be acquired by the control module, and the target stroke of the corresponding driving module can be determined according to the attribute information of the lens, so as to control the driving module to travel within the target stroke and drive the lens or the sensor to move to achieve focusing. Since the target stroke is smaller than the total stroke of the driving module, the moving range of the driving module in the focusing process is reduced, and the focusing efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of information technology, and in particular, to a focusing device, method and electronic device. BACKGROUND

[0002] At present, the application of electric focusing devices is very wide. Through the electric focusing device composed of a focusing lens, a focusing mechanism, a driving circuit and a controller, the motor position can be automatically adjusted by the controller to control the driving motor, so as to realize the clearest image.

[0003] However, in the focusing process of the current electric focusing device, in order to identify the best focusing position, the focusing range of the lens is often focused at each position, and the focusing result is detected, and the focusing efficiency is often low. SUMMARY

[0004] The purpose of the embodiments of the present application is to provide a focusing device, method and electronic device to solve the problem of low focusing efficiency of the existing focusing device. The specific technical solutions are as follows:

[0005] The first aspect of the embodiments of the present application provides a focusing device, comprising a lens, a control module and a driving module;

[0006] The control module is configured to obtain attribute information of the lens, determine a target stroke of the driving module according to the attribute information, wherein the target stroke is less than a total stroke of the driving module, and control the driving module to travel within the target stroke to drive the lens or the sensor to move and realize focusing.

[0007] In a possible implementation, the attribute information of the lens includes a target focusing range of the lens.

[0008] The control module is specifically configured to determine the target stroke of the driving module according to the target focusing range of the lens in the attribute information, wherein the target focusing range of the lens corresponds to the target stroke of the driving module.

[0009] In a possible implementation, the attribute information of the lens includes a focal length of the lens.

[0010] The control module is specifically configured to determine a target focusing range corresponding to the focal length of the lens according to the attribute information of the lens and a first correspondence relationship, wherein the first correspondence relationship is a pre-determined correspondence relationship between the focal length and the focusing range, and determine a target stroke of the driving module corresponding to the target focusing range according to a second correspondence relationship, wherein the second correspondence relationship is a correspondence relationship between the focusing range of the lens and the stroke of the driving module.

[0011] In a possible implementation, the attribute information of the lens includes a target stroke of the driving module.

[0012] The control module is specifically configured to identify attribute information of the lens to obtain a target stroke of the driving module.

[0013] In a possible implementation, the lens is built-in with its own attribute information, and is in communication connection with the control module.

[0014] The control module is specifically configured to acquire the attribute information of the lens through the communication connection.

[0015] In a possible implementation, the device further includes a temperature sensor.

[0016] The temperature sensor is configured to collect current temperature information of the lens.

[0017] The control module is specifically configured to determine, according to the focal length of the lens and a first corresponding relationship, a first focusing range corresponding to the attribute information of the lens; read and calculate, according to the current temperature information, a first corrected value corresponding to a starting value of the first focusing range and a second corrected value corresponding to an ending value of the first focusing range; calculate a first focusing position of the driving module corresponding to the first corrected value and a second focusing position of the driving module corresponding to the second corrected value, wherein the target stroke is a range determined by the first focusing position and the second focusing position.

[0018] In a possible implementation, the control module is specifically configured to acquire a third corresponding relationship created in advance, wherein the third corresponding relationship includes a corresponding relationship between focal lengths of lenses and focusing ranges under different temperature conditions; and determine, according to the focal length of the lens, the third corresponding relationship and the current temperature, a target focusing range corresponding to the focal length of the lens under the current temperature condition.

[0019] In a possible implementation, the device further includes a laser ranging module.

[0020] The laser ranging module is configured to measure a distance between the focusing device and an object to be photographed to obtain a target object distance.

[0021] The control module is further configured to determine, according to the target object distance and a fourth corresponding relationship between object distances and focusing positions of the driving module that is determined in advance, a focusing position corresponding to the target object distance; and control the driving module to drive the lens or the sensor to travel and focus according to the focusing position corresponding to the target object distance.

[0022] In a possible implementation, the control module is specifically configured to acquire a travel direction of the driving module; when the travel direction of the driving module is opposite to a preset direction, calculate a corrected target stroke based on a preset return difference and the target stroke; and control the driving module to travel in the corrected target stroke to drive the lens or the sensor to travel and focus, where the preset direction is a direction in which the stroke of the driving module increases.

[0023] In a second aspect, the embodiment of the application provides a focusing method applied to a control module in a focusing device, the focusing device further comprising a lens and a driving module.

[0024] The method comprises:

[0025] acquiring attribute information of the lens;

[0026] determining a target stroke of the driving module according to the attribute information, where the target stroke is smaller than a total stroke of the driving module;

[0027] controlling the driving module to travel in the target stroke to drive the lens or the sensor to move and focus.

[0028] In a possible implementation, the attribute information of the lens comprises a target focusing range of the lens.

[0029] The determining of the target stroke of the driving module according to the attribute information comprises:

[0030] determining the target stroke of the driving module according to the target focusing range of the lens in the attribute information, where the target focusing range of the lens corresponds to the target stroke of the driving module.

[0031] In a possible implementation, the attribute information of the lens comprises a focal length range of the lens.

[0032] The determining of the target stroke of the driving module according to the attribute information comprises:

[0033] determining a target focusing range corresponding to the focal length range of the lens according to the attribute information of the lens and a first corresponding relationship, where the first corresponding relationship is a pre-determined corresponding relationship between a focal length and a focusing range.

[0034] determining the target stroke of the driving module corresponding to the target focusing range according to a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between a focusing range of the lens and a stroke of the driving module.

[0035] In a possible implementation, the attribute information of the lens comprises the target stroke of the driving module.

[0036] determining the target stroke of the driving module according to the attribute information comprises:

[0037] identifying attribute information of the lens to obtain the target stroke of the driving module.

[0038] In a possible implementation, the lens is built-in with its own attribute information, and is in communication connection with the control module.

[0039] the attribute information of the lens comprises:

[0040] the attribute information of the lens is obtained through the communication connection.

[0041] In a possible implementation, the focusing device further comprises a temperature sensor; the temperature sensor is configured to collect current temperature information of the lens.

[0042] determining the target focusing range corresponding to the focal length of the lens according to the attribute information of the lens and a first corresponding relationship comprises:

[0043] determining a first focusing range corresponding to the attribute information of the lens according to the focal length of the lens and the first corresponding relationship.

[0044] reading and calculating, according to the current temperature information, a first corrected value corresponding to a starting value of the first focusing range and a second corrected value corresponding to an ending value of the first focusing range.

[0045] calculating a first focusing position of the driving module corresponding to the first corrected value and a second focusing position of the driving module corresponding to the second corrected value, wherein the target stroke is a range determined by the first focusing position and the second focusing position.

[0046] In a possible implementation, the determining the target stroke of the driving module according to the attribute information comprises:

[0047] obtaining a third corresponding relationship created in advance, wherein the third corresponding relationship comprises a corresponding relationship between the focal length of the lens and the focusing range under different temperature conditions.

[0048] determining the target focusing range corresponding to the focal length of the lens under the current temperature condition according to the focal length of the lens, the third corresponding relationship and the current temperature.

[0049] In a possible implementation, the focusing device further comprises a laser ranging module; the laser ranging module is configured to measure a distance between the focusing device and an object to be photographed to obtain a target object distance; and the method further comprises:

[0050] determine the focusing position corresponding to the target object distance according to the fourth correspondence relationship between the object distance and the focusing position of the driving module;

[0051] control the driving module to drive the lens or the sensor to travel according to the focusing position corresponding to the target object distance.

[0052] In a possible implementation, the control of the driving module to travel in the target stroke to drive the lens or the sensor to travel to achieve focusing comprises:

[0053] obtain the travel direction of the driving module;

[0054] when the travel direction of the driving module is opposite to a preset direction, calculate a corrected target stroke according to a preset return difference and the target stroke;

[0055] control the driving module to travel in the corrected target stroke to drive the lens or the sensor to travel and focus, wherein the preset direction is the direction in which the travel of the driving module is increased.

[0056] In another aspect of the embodiments of the present application, an electronic device is provided, comprising a processor, a memory;

[0057] the memory is configured to store a computer program;

[0058] the processor is configured to execute the program stored in the memory, and implement the focusing method steps of any of the above.

[0059] In another aspect of the embodiments of the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the focusing method steps of any of the above.

[0060] The embodiments of the present application further provide a computer program product comprising instructions which, when executed on a computer, cause the computer to carry out the focusing method of any of the above.

[0061] The embodiments of the present application have the following beneficial effects:

[0062] The embodiment of the present application provides a focusing device, method, electronic equipment and storage medium. The focusing device comprises a lens, a control module and a driving module. The control module is used for acquiring attribute information of the lens, determining a target stroke of the driving module according to the attribute information, wherein the target stroke is smaller than a total stroke of the driving module, and controlling the driving module to move in the target stroke to drive the lens or a sensor to move and realize focusing. Through the scheme of the embodiment of the present application, the attribute information of the lens can be acquired by the control module, the target stroke of the corresponding driving module is determined according to the attribute information of the lens, the driving module is controlled to move in the target stroke and drive the lens or the sensor to move to realize focusing. Since the driving module only moves in the target stroke instead of the total stroke of the driving module, and the target stroke is smaller than the total stroke of the driving module, the moving range of the driving module in the focusing process is reduced, and the focusing efficiency is improved.

[0063] Of course, implementing any product or method of the present application does not necessarily require all the advantages described above. BRIEF DESCRIPTION OF DRAWINGS

[0064] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other embodiments can also be obtained by those skilled in the art based on these drawings.

[0065] Figure 1 A structural schematic diagram of the focusing device provided by the embodiment of the present application;

[0066] Figure 2 Another structural schematic diagram of the focusing device provided by the embodiment of the present application;

[0067] Figure 3 Another structural schematic diagram of the focusing device provided by the embodiment of the present application;

[0068] Figure 4 A flowchart of the ranging provided by the embodiment of the present application;

[0069] Figure 5 An illustration of the backhaul difference compensation provided by the embodiment of the present application;

[0070] Figure 6 A flowchart of the focusing method provided by the embodiment of the present application;

[0071] Figure 7 A structural schematic diagram of the electronic equipment provided by the embodiment of the present application. DETAILED DESCRIPTION

[0072] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art based on the present application belong to the scope of protection of the present application.

[0073] In a first aspect, the present application provides a focusing device, referring to Figure 1 , comprising a lens 101, a control module 102 and a driving module 103;

[0074] The control module 102 is configured to acquire attribute information of the lens, determine a target stroke of the driving module according to the attribute information, wherein the target stroke is less than a total stroke of the driving module, and control the driving module to move within the target stroke to drive the lens or the sensor to move, so as to achieve focusing.

[0075] Specifically, the focusing device in the embodiments of the present application can be a device with focusing function, for example, a video camera, a camera, a camera head, etc. The focusing device can control the movement of the driving module, and drive the sensor or the lens to move by using the driving module, so as to change the distance between the lens and the sensor to achieve focusing.

[0076] In one example, the user can input the attribute information of the lens, and the control module can receive the information input by the user to obtain the attribute information of the lens. In another example, the control module can pre-store attribute information corresponding to a plurality of lenses, and then the control module can identify the characteristics of the current lens, so as to determine the attribute information of the current lens according to the characteristics and the pre-stored attribute information corresponding to a plurality of lenses, for example, the characteristics can be the size of the lens, etc. In yet another example, the lens can be built-in with its own attribute information, and the control module can read the built-in attribute information of the lens.

[0077] In a possible implementation, the lens is built-in with its own attribute information, and there is a communication connection between the lens and the control module; the control module 102 is specifically configured to acquire the attribute information of the lens through the communication connection. For example, the lens can include a storage module, which can store the attribute information of the lens, and the control module can read the attribute information through the communication connection between the lens and the control module. For example, the lens can be built-in with a single-chip microcomputer or a storage chip, etc., which can store the attribute information of the lens. The connection between the lens and the control module can be various types of connections, for example, the lens can be provided with contacts, and after the lens is installed, the control module can be connected with the lens through the contacts to communicate and read the attribute information of the lens.

[0078] The attribute information of the lens in the embodiments of the present application can include the type, focal length, model, focusing range, and the like of the lens. For example, when the attribute information of the lens is acquired, the type of the lens can be acquired as a long-focus lens or a short-focus lens; the focusing range, such as 10-1000m, 0.5-10m, and the like; and at least one of the brand and model of the lens. Then, the target stroke of the driving module corresponding to the current lens is determined through the pre-created attribute information and the stroke of the driving module. Thus, the driving module is controlled to travel within the target stroke to drive the lens or the sensor to move, so as to achieve focusing.

[0079] The driving module in the embodiments of the present application can be controlled by the control module. Specifically, the driving module can drive the lens or the sensor to travel. In one example, the driving module can be a motor. In actual use, if the initial position of the driving module is not within the target focusing range when the lens is driven by the driving module, the control module can control the driving module to move to within the target stroke and travel within the target stroke. When the focusing ends, the driving module will still stop within the target stroke, and will not return to the initial position, i.e., outside the target stroke.

[0080] In actual use, the lens can be replaced. After the lens is replaced, the scheme provided by the present application can acquire the attribute information of the replaced lens, and determine the target stroke of the driving module according to the attribute information, and control the driving module to travel within the target stroke to drive the lens or the sensor to move, so as to achieve focusing. Since the target stroke is smaller than the total stroke of the driving module, the driving module can travel within a smaller range, thereby accelerating the focusing speed and reducing the loss of the driving module. The scheme for specifically determining the target stroke can refer to the description in other embodiments of the present application, which will not be described here. In one example, the focusing ranges of the multiple lenses to be replaced can be different, but the focusing ranges of the lenses can partially overlap. For example, the control module can read the attribute information of the lens, such as the focusing range of the lens, through the communication connection with the lens, and then determine the target stroke of the driving module corresponding to the lens according to the corresponding relationship between the focusing range and the stroke of the driving module, such as the target stroke being 1.5-3mm, and then control the driving module to travel within the target stroke according to the determined target stroke. For example, the focusing ranges of lens 1 and lens 2 are measured in advance as 1-5m and 3-10m, respectively. When it is determined that the current lens is lens 2 according to the acquired attribute information of the lens, it is determined that the focusing range corresponding to lens 2 is 3-10m, and then the target stroke of the driving module corresponding to the focusing range is determined.

[0081] It can be seen that, by the device of the embodiment of the application, the attribute information of the lens can be acquired by the control module, and the target stroke of the corresponding driving module is determined according to the attribute information of the lens, so that the driving module is controlled to travel in the target stroke and drive the lens or the sensor to move to realize focusing. Since the driving module only travels in the target stroke and does not move in the entire total stroke of the driving module, and the target stroke is smaller than the total stroke of the driving module, the moving range of the driving module in the focusing process is reduced, and the focusing efficiency is improved.

[0082] In the embodiment of the application, the control module can determine the target stroke of the driving module according to the attribute information of the lens by various methods.

[0083] In a possible implementation, the attribute information of the lens includes a target focusing range of the lens.

[0084] The control module 102 is specifically configured to determine the target stroke of the driving module according to the target focusing range of the lens in the attribute information, where the target focusing range of the lens corresponds to the target stroke of the driving module.

[0085] In a possible implementation, the attribute information of the lens includes a focal length of the lens.

[0086] The control module 102 is specifically configured to determine the target focusing range corresponding to the focal length of the lens according to the attribute information of the lens and a first corresponding relationship, where the first corresponding relationship is a pre-determined corresponding relationship between the focal length and the focusing range; and determine the target stroke of the driving module corresponding to the target focusing range according to a second corresponding relationship, where the second corresponding relationship is a corresponding relationship between the focusing range of the lens and the stroke of the driving module.

[0087] In a possible implementation, the attribute information of the lens includes the target stroke of the driving module.

[0088] The control module 102 is specifically configured to identify the attribute information of the lens to obtain the target stroke of the driving module.

[0089] Specifically, in the target focusing range of the lens according to the attribute information, the target stroke of the driving module is determined, the corresponding relationship between the focusing range of the lens and the stroke of the driving module can be created in advance, and after the target focusing range of the lens is obtained, the target stroke of the current driving module corresponding to the target focusing range of the current lens can be matched by the obtained focusing range and the corresponding relationship. For example, the focusing range 0.5-10m of the lens corresponds to the stroke 1.5-3mm of the driving module, the focusing range 50-100m of the lens corresponds to the stroke 2-5.5mm of the driving module, and so on. After the attribute information of the lens is obtained, the target stroke of the driving module is determined to be 1.5-3mm according to the focusing range.

[0090] Specifically, before the target focusing range corresponding to the focal length of the lens is determined according to the attribute information of the lens and the first corresponding relationship, the first corresponding relationship between the focal length and the focusing range can be determined in advance.

[0091] Specifically, the focal length of the lens in the embodiment of the application can be fixed or continuously variable.

[0092] For a fixed-focus lens, the focal length is fixed. The first corresponding relationship between the focal length and the focusing range is determined in advance, for example: the focal length 10mm of the fixed-focus lens 1 corresponds to the focusing range 0.5-30m; the focal length 25mm of the fixed-focus lens 2 corresponds to the focusing range 4-100m, and so on. Thus, the target focusing range corresponding to the focal length of the lens can be determined according to the attribute information of the lens and the first corresponding relationship. In actual use, the corresponding relationship between the focusing range of the lens and the stroke of the driving module can also be determined in advance. For example, the focal length 10mm of the fixed-focus lens 1 corresponds to the focusing range 0.5-30m, and the focusing range of the fixed-focus lens 1 corresponds to the stroke 1-2mm of the driving module; the focal length 25mm of the fixed-focus lens 2 corresponds to the focusing range 4-100m, and the focusing range of the fixed-focus lens 2 corresponds to the stroke 2-4mm of the driving module.

[0093] The focal length of the zoom lens can continuously change in a range of focal lengths. A first correspondence between the focal length and the focusing range is determined in advance, for example, the focal length 3-10mm of the zoom lens 1 corresponds to the focusing range 0.1-30m, the focal length 5-25mm of the zoom lens 2 corresponds to the focusing range 0.3-100m, and the like. Thus, according to the attribute information of the lens and the first correspondence, the target focusing range corresponding to the focal length of the lens can be determined. In actual use, a correspondence between the focusing range of the lens and the stroke of the driving module can also be determined in advance. For example, the focal length 3-10mm of the zoom lens 1 corresponds to the focusing range 0.1-30m, and the corresponding stroke of the driving module is 0.5-2.5mm; the focal length 5-25mm of the zoom lens 2 corresponds to the focusing range 0.3-100m, and the corresponding stroke of the driving module is 1-4.5mm, and the like.

[0094] Specifically, when the attribute information of the lens includes the target stroke of the driving module, the target stroke of the driving module can be directly determined according to the attribute information, so that the driving module moves in the target stroke.

[0095] It can be seen that, by the device of the embodiments of the present application, the target stroke of the driving module corresponding to the lens can be determined in various ways, so that the driving module moves in the target stroke and drives the lens or the sensor to move to achieve focusing, thereby achieving that the driving module only moves in the target stroke and not in the entire total stroke, reducing the moving range of the driving module and improving the efficiency of focusing.

[0096] In a possible implementation, referring to Figure 2 The device further includes a temperature sensor 104.

[0097] The temperature sensor 104 is configured to collect the current temperature information of the lens.

[0098] The control module 102 is specifically configured to determine the first focusing range corresponding to the attribute information of the lens according to the focal length of the lens and the first correspondence; read and calculate the first corrected value corresponding to the starting value of the first focusing range and the second corrected value corresponding to the ending value of the first focusing range according to the current temperature information; calculate the first focusing position of the driving module corresponding to the first corrected value and the second focusing position of the driving module corresponding to the second corrected value, wherein the target stroke is the range determined by the first focusing position and the second focusing position.

[0099] The temperature sensor in the embodiments of the present application can be various types of temperature sensors, for example, a thermistor type temperature sensor, a thermocouple type temperature sensor, an infrared sensor, and the like. The current temperature of the lens can be measured by the temperature sensor, and in actual use, it can also be the current ambient temperature.

[0100] Specifically, the temperature compensation function is realized by the temperature sensor, the first corrected value corresponding to the starting value of the first focusing range and the second corrected value corresponding to the ending value of the first focusing range are calculated, and the mapping relationship between the focusing position (Ad value) of the driving device and the object distance (D) to be photographed can be calculated. Specifically, the mapping relationship is:

[0101] Ad = f(D) + f(T) (1);

[0102] Wherein, in actual use, the object distance D is set according to the use requirement, the temperature information T is obtained by the temperature sensor, Ad represents the focusing position of the driving module, such as the position of the motor, and can also be the focusing clear position (corresponding to the object distance). f(D) represents the relationship related to the object distance D, and f(T) represents the functional relationship related to the temperature T. For example, the first corrected value corresponding to the starting value is Ad1, and the second corrected value corresponding to the ending value is Ad2. In calculating the first focusing position of the driving module corresponding to the first corrected value and the second focusing position of the driving module corresponding to the second corrected value, the corresponding relationship between the focusing range of the lens and the stroke of the driving module can be calculated according to the pre-acquired. For example, according to a certain object distance range D1-D2 of a certain lens, and D1<D2, the stroke position Ad1 of the driving module corresponding to the measured object distance D1 and the stroke position Ad2 of the driving module corresponding to the measured object distance D2 can be obtained at a certain temperature T1. That is, at temperature T1, the motor stroke range that meets the D1-D2 object distance is Ad1-Ad2. At the same time, the temperature compensation is performed according to the temperature value obtained by the temperature sensor, the focusing range is adjusted in real time, then the motor stroke range is calculated according to the focusing range, the first focusing position is Ad1', and the second focusing position is Ad2'. When the temperature sensor obtains the temperature change from T1 to T2, the motor stroke position Ad1' of the measured object distance D1 and the motor stroke position Ad2' of the measured object distance D2 can be obtained at T2 according to formula (1). That is, at temperature T2, the motor stroke range that meets the D1-D2 object distance is Ad1'-Ad2'. The control module can adjust the stroke Ad1-Ad2 of the driving module in the focusing object distance range D1-D2 of the lens in real time according to the change of T, and the control module controls the driving module to focus in the stroke range at temperature T when the focusing is triggered. In actual use, the stroke range can also be corrected according to the temperature to obtain the corrected stroke range, so as to realize the temperature compensation. For example, the stroke range of the driving module is determined according to the focusing range of the lens, and then the stroke range is corrected according to the temperature measured by the temperature sensor, so as to realize the temperature compensation.

[0103] In actual use, the correspondence between the focal length and the focusing range of the lens under different temperature conditions can be determined in advance, so that when the focusing range corresponding to the focal length of the lens under the current temperature condition is determined, the correspondence can be directly determined without step-by-step calculation by temperature, thereby improving the focusing efficiency.

[0104] In a possible implementation, the control module is specifically configured to acquire a third correspondence, where the third correspondence includes the correspondence between the focal length and the focusing range of the lens under different temperature conditions; and determine the target focusing range corresponding to the focal length of the lens under the current temperature condition according to the focal length of the lens, the third correspondence, and the current temperature.

[0105] For example, for a fixed-focus lens, the focal length of the lens is determined as 25 mm, and the focusing range corresponding to 20°C and 30°C is 1-5 m and 5-10 m, respectively. Thus, the target focusing range corresponding to the focal length of the lens under the current temperature condition is determined according to the focal length of the lens, the third correspondence, and the current temperature. If the current temperature is 30°C, the target focusing range corresponding to the fixed-focus lens is determined as 5-10 m without step-by-step calculation, thereby improving the use efficiency.

[0106] For example, for a zoom lens, the focal length of the lens is determined as 10-25 mm, and the focusing range corresponding to 20°C and 30°C is 0.5-5 m and 5-20 m, respectively. Thus, the target focusing range corresponding to the focal length of the lens under the current temperature condition is determined according to the focal length of the lens, the third correspondence, and the current temperature. If the current temperature is 30°C, the target focusing range corresponding to the zoom lens is determined as 5-20 m without step-by-step calculation, thereby improving the use efficiency.

[0107] By the method of the embodiments of the present application, the current temperature can be measured by the temperature sensor, then the focusing range of the lens is corrected according to the current temperature, and then the driving module is controlled to drive the lens or the sensor to move in the temperature-corrected focusing range, so that the influence of temperature on the focusing of the lens can be eliminated, and the focusing accuracy and effect are improved.

[0108] In a possible implementation, referring to Figure 3 The device further includes a laser ranging module 105.

[0109] The laser ranging module 105 is configured to measure the distance between the focusing device and the object to be photographed, and obtain the target object distance.

[0110] The control module 102 is further configured to determine the focusing position corresponding to the target object distance according to the fourth correspondence between the object distance and the focusing position of the driving module, which is determined in advance, and control the driving module to drive the lens or the sensor to move and focus according to the focusing position corresponding to the target object distance.

[0111] Specifically, the control module can determine the optimal focusing position of the driving module corresponding to the target object distance according to the target object distance and a fourth correspondence relationship between the object distance and the focusing position of the driving module, and then control the driving module to drive the lens or the sensor to travel and focus according to the optimal focusing position of the driving module corresponding to the target object distance. The laser ranging module in the embodiment of the present application can measure the distance between the focusing device and the object to be photographed, i.e., the object distance, within the focusing range of the lens, and then focus through the measured object distance, wherein the measured object distance is within the focusing range of the lens. For example, after the laser ranging module obtains the measured object distance D within the focusing range D1-D2 of the lens, the mapping relationship between the target object distance, the temperature, and the position of the driving module is determined according to formula (1), and finally the focusing is performed according to the optimal focusing position of the driving module corresponding to the object distance D.

[0112] In the formula, the laser ranging module measures the distance between the focusing device and the object to be photographed to obtain the target object distance, and then calculates the travel position corresponding to the target object distance, so as to control the driving module to move to the travel position and realize focusing on the object to be photographed. Specifically, focusing according to the measured object distance by the laser ranging module can be calculated and focused according to the above formula (1). In actual use, focusing can include laser focusing during single ranging and laser focusing during continuous ranging. For details, refer to subsequent embodiments.

[0113] Specifically, the laser module obtains the distance as follows: referring to Figure 4 After continuous ranging starts, the wake-up laser module instruction L1 is sent, then the wake-up instruction is waited for completion, and then it is judged whether the continuous ranging is ended. If the continuous ranging is ended, the sleep laser module command L3 is sent, the sleep is waited for completion, otherwise the laser module ranging command L2 is sent, and after the laser ranging command is completed, it is judged again whether the ranging is ended. After the physical button is pressed, the continuous ranging starts, and the ranging value is updated on the LCD (Liquid Crystal Display) screen in real time. After the physical button is released, the continuous ranging ends. This part mainly includes: main control continuous ranging + display, and soft core continuous ranging.

[0114] 1. Main control continuous ranging + display:

[0115] 1). After pressing the physical button, the application sends the laser start command to the fpga (Field Programmable Gate Array, programmable array logic) soft core, and then starts the continuous ranging function. The application acquires the ranging value once every certain time (eg. 50ms), and updates the display on the LCD screen after acquisition. If the continuous ranging process fails to acquire the ranging value, it does not pop up a "ranging failure, please retest" prompt, nor does it update the ranging value. If the ranging value acquisition is successful, it updates the display on the LCD screen.

[0116] 2). After releasing the physical button, the continuous ranging ends, and the last ranging value is used to determine whether the ranging value is abnormal. If it is abnormal, a "ranging failure, please retest" prompt is popped up. If it is normal, the ranging value is updated.

[0117] 3). Continuous ranging.

[0118] 2. Soft core implementation of continuous ranging: after pressing the physical button, the application sends the laser start command (R1) to the soft core. After the fpga soft core receives the light-on command, it starts the continuous ranging process.

[0119] 1). Distinguish between continuous ranging and single ranging: continuous ranging refers to starting the next single ranging immediately after completing the single ranging, repeating the above process until the continuous ranging ends.

[0120] 2). Continuous ranging adds two states: "continuous ranging in progress" and "not in continuous ranging state";

[0121] 3). Single ranging adds three states: "ranging idle", "single ranging in progress", and "single ranging complete";

[0122] 4). Wake-up laser adds three states: "wake-up idle", "wake-up in progress", and "wake-up complete";

[0123] 5). Hibernate laser adds three states: "hibernate idle", "hibernate in progress", and "hibernate complete".

[0124] 3. Separate ranging and laser focusing functions to speed up the entire laser focusing process;

[0125] 1). Laser focusing process during single ranging: press the physical button to perform single ranging. Only after waiting for the ranging to complete and releasing the physical button, the laser focusing is performed. During this process, the single ranging time is added to the entire laser focusing process, and the user may feel that the entire laser focusing process is too long.

[0126] 2) Continuous ranging and laser focusing process (continuous ranging + laser focusing linkage process): the physical button is pressed, continuous ranging is performed, and laser focusing is performed after waiting for the first ranging to be completed and the physical button is released. In this process, the ranging mode is made into a continuous ranging mode. As long as the physical button is released before the user, the user can arbitrarily select the ranging target for continuous ranging, and after the user releases the physical button, the last ranging result obtained is taken as the final distance result for object distance calculation. From the user's perspective, by pressing and releasing the physical button, the ranging and laser focusing functions are divided into two functions. The laser focusing function is performed after the physical button is released. Therefore, from the user's experience, because the ranging and laser focusing are separated, the overall time of the laser focusing will be shortened (the laser focusing time starts after the physical button is released).

[0127] In actual use, the driving module may have a stroke difference when moving in different directions. Specifically, when the driving module moves in the return direction, there may be a return error.

[0128] In one possible implementation, the control module 102 is specifically configured to obtain a travel direction of the driving module; when the travel direction of the driving module is opposite to a preset direction, calculate a corrected target stroke based on a preset return difference and the target stroke; and control the driving module to travel in the corrected target stroke to drive the lens or the sensor to travel and focus, wherein the preset direction is a direction in which the stroke of the driving module increases.

[0129] Specifically, the preset direction is a direction in which the stroke of the driving module increases. In actual use, the preset direction can be based on the switch PI zero position, and the preset direction can be a direction in which the driving module moves away from the photoelectric switch PI zero position.

[0130] In actual use, 1. Return difference causes virtual focus: In the process of testing the above formula (1), the control (test) of the lens motor is fixed in a direction for testing: that is, the focusing stroke min (Ad1) -> the focusing stroke max (Ad2) direction, or the reverse direction. This paper explains the Ad1->Ad2 direction. There are two cases for the direction of the motor running during focusing:

[0131] 1) When the current position of the motor < the clear focusing position, the motor running direction is Ad1->Ad2;

[0132] 2) When the current position of the motor > the clear focusing position, the motor running direction is Ad2->Ad1;

[0133] When the running direction of the motor is inconsistent with the preset direction, i.e., the motor runs from Ad2->Ad1, there will be a phenomenon of virtual focus caused by the inconsistency between the calculated focusing clear position and the actual clear position, and the focusing clear position needs to be compensated for the return difference.

[0134] 2. One-time return difference compensation method: calculate the target position by formula (1), then subtract the return difference value to serve as the target position, and directly control the motor to run to the target position after compensating for the return difference value. For example, as follows:

[0135] For example: according to Figure 5 , the optical test direction is Ad1->Ad2, and when the clear point B is found from the Ad2->Ad1 direction, the return difference value 1000 μm to A is compensated, and the motor is directly controlled to run to point A.

[0136] Return difference calibration: there is a difference between the focusing motor positions corresponding to the clear points found from the focusmin->focusmax and focusmax->focusmin directions of the lens, and the difference value is the return difference; therefore, during the lens calibration process, the lens motor is first controlled to run from the focusmin->focusmax direction, and the motor position (coordinate) corresponding to the clearest point during the running process is recorded as Cor1, then the motor is controlled to run from the focusmax->focusmin direction, and the motor coordinate corresponding to the clearest point during the running process is recorded as Cor2, and then the absolute value of the difference between Cor1 and Cor2 is taken as the lens return difference.

[0137] Calibration value (lens return difference): after the lens return difference value is calculated after calibration, the lens return difference is saved in the flash of the device fpga, and the lens return difference value is obtained every time the device is powered on for subsequent use.

[0138] The second aspect of the embodiment of the application provides a focusing method applied to a control module in a focusing device, and the focusing device further comprises a lens and a driving module.

[0139] Referring to Figure 6 , the method comprises the following steps.

[0140] In step S61, attribute information of the lens is obtained.

[0141] In step S62, a target stroke of the driving module is determined according to the attribute information, wherein the target stroke is less than the total stroke of the driving module.

[0142] In step S63, the driving module is controlled to run within the target stroke to drive the lens or the sensor to move, so as to realize focusing.

[0143] In a possible implementation, the attribute information of the lens includes a target focusing range of the lens.

[0144] The target stroke of the driving module is determined according to the attribute information, including:

[0145] The target stroke of the driving module is determined according to the target focusing range of the lens in the attribute information, wherein the target focusing range of the lens corresponds to the target stroke of the driving module.

[0146] In a possible implementation, the attribute information of the lens includes a focal length range of the lens.

[0147] The target stroke of the driving module is determined according to the attribute information, including:

[0148] The target focusing range corresponding to the focal length range of the lens is determined according to the attribute information of the lens and a first corresponding relationship, wherein the first corresponding relationship is a pre-determined corresponding relationship between the focal length range and the focusing range.

[0149] The target stroke of the driving module corresponding to the target focusing range is determined according to a second corresponding relationship, wherein the second corresponding relationship is a corresponding relationship between the focusing range of the lens and the stroke of the driving module.

[0150] In a possible implementation, the attribute information of the lens includes a target stroke of the driving module.

[0151] The target stroke of the driving module is determined according to the attribute information, including:

[0152] The attribute information of the lens is identified to obtain the target stroke of the driving module.

[0153] In a possible implementation, the lens is built-in with its own attribute information, and is in communication connection with the control module.

[0154] The attribute information of the lens is obtained, including:

[0155] The attribute information of the lens is obtained through the communication connection.

[0156] In a possible implementation, the focusing device further includes a temperature sensor; the temperature sensor is configured to collect current temperature information of the lens.

[0157] The target stroke of the driving module is determined according to the attribute information, including:

[0158] The first focusing range corresponding to the attribute information of the lens is determined according to the focal length range of the lens and a first corresponding relationship.

[0159] The first corrected value corresponding to a starting value of the first focusing range and the second corrected value corresponding to an ending value of the first focusing range are calculated according to the current temperature information.

[0160] calculate a first focus position of the driving module corresponding to the first corrected numerical value, and a second focus position of the driving module corresponding to the second corrected numerical value, wherein the target stroke is a range determined by the first focus position and the second focus position.

[0161] In a possible implementation, the determining the target stroke of the driving module according to the attribute information comprises:

[0162] obtaining a third correspondence relationship created in advance, wherein the third correspondence relationship comprises a correspondence relationship between the focal length of the lens and the focusing range under different temperature conditions;

[0163] determining, according to the focal length of the lens, the third correspondence relationship and the current temperature, a target focusing range corresponding to the focal length of the lens under the current temperature condition.

[0164] In a possible implementation, the focusing device further comprises a laser ranging module; the laser ranging module is configured to measure a distance between the focusing device and an object to be photographed, and obtain a target object distance; and the method further comprises:

[0165] determining, according to the target object distance and a fourth correspondence relationship between the object distance and the focusing position of the driving module, a focus position corresponding to the target object distance;

[0166] controlling the driving module to drive the lens or the sensor to move and focus according to the focus position corresponding to the target object distance.

[0167] In a possible implementation, the controlling the driving module to move within the target stroke to drive the lens or the sensor to move to focus comprises:

[0168] obtaining a moving direction of the driving module;

[0169] when the moving direction of the driving module is opposite to a preset direction, calculating a corrected target stroke according to the preset return difference and the target stroke;

[0170] controlling the driving module to move within the corrected target stroke to drive the lens or the sensor to move and focus, wherein the preset direction is a direction in which the stroke of the driving module increases.

[0171] By the method of the embodiments of the present application, the attribute information of the lens can be obtained by the control module, and the target stroke of the corresponding driving module is determined according to the attribute information of the lens, so as to control the driving module to move within the target stroke and drive the lens or the sensor to move to focus. Since the driving module only moves within the target stroke and not within the entire total stroke of the driving module, and the target stroke is smaller than the total stroke of the driving module, the moving range of the driving module is reduced during focusing, and the efficiency of focusing is improved.

[0172] The embodiment of the present application also provides an electronic device, such as Figure 7 as shown, comprising:

[0173] The memory 701 is used for storing a computer program.

[0174] The processor 702 is used for executing the program stored in the memory 701, and the following steps are implemented:

[0175] Attribute information of the lens is acquired.

[0176] The target stroke of the driving module is determined according to the attribute information, wherein the target stroke is smaller than the total stroke of the driving module.

[0177] The driving module is controlled to travel within the target stroke, so as to drive the lens or the sensor to move and realize focusing.

[0178] And the electronic device can further include a communication bus and / or a communication interface, and the processor 702, the communication interface and the memory 701 complete mutual communication through the communication bus.

[0179] The communication bus mentioned above can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or only one type of bus.

[0180] The communication interface is used for communication between the electronic device and other devices.

[0181] The memory can include a random access memory (RAM) and can also include a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory can also be at least one storage device located away from the aforementioned processor.

[0182] The processor described above can be a general processor, including a central processing unit (CPU), a network processor (NP), etc.; can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.

[0183] In another embodiment provided in the present application, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program. The computer program is executed by a processor to implement the steps of any of the focusing methods described above.

[0184] In another embodiment provided in the present application, a computer program product containing instructions is provided, and when the computer program product is executed on a computer, the computer is caused to perform any of the focusing methods in the above embodiments.

[0185] In the above embodiments, all or part of the embodiments can be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments can be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center through wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) mode. The computer readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. integrated with one or more available media. The available media can be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)) and the like.

[0186] It is to be noted that, in the present document, relational terms such as first and second and the like can be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the presence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0187] Each of the embodiments in the present specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other. Each of the embodiments focuses on the difference from other embodiments. In particular, for the method, electronic device, storage medium, and computer program product embodiments, since they are basically similar to the apparatus embodiments, the description is relatively simple, and the relevant parts can be referred to the part of the method embodiment.

[0188] The above only describes the preferred embodiments of the present application, and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A focusing device, characterized by The device comprises a plurality of interchangeable lenses, a control module, and a driving module. The control module is configured to acquire attribute information of the lens after the lens is replaced, determine a target stroke of the driving module according to the attribute information, control the driving module to travel within the target stroke to drive the lens or the sensor to move and achieve focusing, and control the driving module to stop within the target stroke after the focusing is completed.

2. The apparatus of claim 1, wherein, The attribute information of the lens comprises a target focusing range of the lens. The control module is specifically configured to determine the target stroke of the driving module according to the target focusing range of the lens in the attribute information, wherein the target focusing range of the lens corresponds to the target stroke of the driving module.

3. The apparatus of claim 1, wherein, The attribute information of the lens comprises a focal length of the lens. The control module is specifically configured to determine a target focusing range corresponding to the focal length of the lens according to the attribute information of the lens and a first corresponding relationship, wherein the first corresponding relationship is a pre-determined corresponding relationship between the focal length and the focusing range, and determine a target stroke of the driving module corresponding to the target focusing range according to a second corresponding relationship, wherein the second corresponding relationship is a corresponding relationship between the focusing range of the lens and the stroke of the driving module.

4. The apparatus of claim 1, wherein, The attribute information of the lens comprises a target stroke of the driving module. The control module is specifically configured to identify the attribute information of the lens to obtain the target stroke of the driving module.

5. The apparatus of claim 1, wherein, The lens is built-in with its own attribute information, and is in communication connection with the control module. The control module is specifically configured to acquire the attribute information of the lens through the communication connection.

6. The apparatus of claim 3, wherein, The device further comprises a temperature sensor. The temperature sensor is configured to collect current temperature information of the lens. The control module is specifically configured to determine a first focusing range corresponding to the attribute information of the lens according to the focal length of the lens and a first corresponding relationship, read and calculate a first corrected value corresponding to a starting value of the first focusing range and a second corrected value corresponding to an ending value of the first focusing range according to the current temperature information. The control module is specifically configured to calculate a first focusing position of the driving module corresponding to the first corrected value and a second focusing position of the driving module corresponding to the second corrected value, wherein the target stroke is a range determined by the first focusing position and the second focusing position.

7. The device of claim 6, wherein The control module is specifically configured to acquire a third corresponding relationship pre-created, wherein the third corresponding relationship comprises a corresponding relationship between the focal length of the lens and the focusing range under different temperature conditions, and determine a target focusing range corresponding to the focal length of the lens under the current temperature condition according to the focal length of the lens, the third corresponding relationship, and the current temperature.

8. The apparatus of claim 1, wherein, The device further comprises a laser ranging module. The laser ranging module is configured to measure a distance between the focusing device and an object to be photographed to obtain a target object distance. The control module is further configured to determine the focus position corresponding to the target object distance based on the target object distance and a fourth correspondence between the pre-determined object distance and the focus position of the drive module; and control the drive module to drive the lens or the sensor to move and focus according to the focus position corresponding to the target object distance.

9. The apparatus according to claim 1, characterized in that, The control module is specifically used to obtain the travel direction of the drive module; when the travel direction of the drive module is opposite to the preset direction, it calculates the corrected target travel distance using the preset backlash difference and the target travel distance; and controls the drive module to travel within the corrected target travel distance to drive the lens or sensor to travel and focus, wherein the preset direction is the direction in which the travel distance of the drive module increases.

10. A focusing method characterized by, A control module for use in a focusing device, the focusing device also including multiple interchangeable lenses and a drive module; The method includes: After changing the lens, obtain the attribute information of the lens; The target travel distance of the drive module is determined based on the attribute information, wherein the target travel distance is less than the total travel distance of the drive module; The drive module is controlled to travel within the target travel distance to move the lens or sensor and achieve focusing. After focusing is completed, the drive module is controlled to stop within the target travel distance.

11. The method of claim 10, wherein, The lens's attribute information includes the lens's target focus range; Determining the target travel distance of the drive module based on the attribute information includes: Based on the target focusing range of the lens in the attribute information, the target travel of the drive module is determined, wherein the target focusing range of the lens corresponds to the target travel of the drive module.

12. The method of claim 10, wherein, The attribute information of the lens includes the focal length of the lens; Determining the target travel distance of the drive module based on the attribute information includes: Based on the lens's attribute information and the first correspondence, the target focusing range corresponding to the lens's focal length is determined, wherein the first correspondence is a pre-determined correspondence between focal length and focusing range. The target travel of the drive module corresponding to the target focusing range is determined according to the second correspondence, wherein the second correspondence is the correspondence between the lens focusing range and the travel of the drive module.

13. The method of claim 10, wherein, The lens's attribute information includes the target travel distance of the drive module; Determining the target travel distance of the drive module based on the attribute information includes: The target travel distance of the drive module is obtained by identifying the attribute information of the lens.

14. The method of claim 10, wherein, The lens has its own built-in attribute information and a communication connection with the control module; The acquisition of the lens attribute information includes: The lens attribute information is obtained through the communication connection.

15. The method of claim 12, wherein, The focusing device also includes a temperature sensor; the temperature sensor is used to collect the current temperature information of the lens; Determining the target travel distance of the drive module based on the attribute information includes: Based on the focal length of the lens and the first correspondence, determine the first focusing range corresponding to the attribute information of the lens; reading and calculating, according to the current temperature information, a first corrected value corresponding to a start value of the first focusing range and a second corrected value corresponding to an end value of the first focusing range; calculating a first focusing position of the driving module corresponding to the first corrected value and a second focusing position of the driving module corresponding to the second corrected value, wherein the target stroke is a range determined by the first focusing position and the second focusing position.

16. The method of claim 15, wherein, The method further comprises: obtaining a third correspondence relationship pre-created, wherein the third correspondence relationship comprises a correspondence relationship between a focal length of the lens and a focusing range under different temperature conditions; determining, according to the focal length of the lens, the third correspondence relationship and a current temperature, a target focusing range corresponding to the focal length of the lens under the current temperature condition.

17. The method of claim 10, wherein, The focusing device further comprises a laser ranging module, which is configured to measure a distance between the focusing device and an object to be photographed to obtain a target object distance. The method further comprises: determining, according to the target object distance and a fourth correspondence relationship between a pre-determined object distance and a focusing position of the driving module, a focusing position corresponding to the target object distance; 18. The method of claim 10, wherein, controlling the driving module to drive the lens or the sensor to travel and focus according to the focusing position corresponding to the target object distance. The method further comprises: obtaining a traveling direction of the driving module; when the traveling direction of the driving module is opposite to a preset direction, calculating a corrected target stroke by using a preset return difference and the target stroke; 19. An electronic device, comprising: controlling the driving module to travel in the corrected target stroke to drive the lens or the sensor to travel and focus, wherein the preset direction is a direction in which the stroke of the driving module increases. The method further comprises: a memory configured to store a computer program; a processor configured to execute the program stored in the memory to implement the method steps of any one of claims 10-18.

Citation Information

Patent Citations

  • Voice coil motor stroke calibration method, device and equipment

    CN111491107A

  • Method and device for focusing thermal imaging lens based on temperature compensation

    CN111722355A

  • Image definition calculation method, automatic focusing method and system

    CN112203012A