Optical-lens movement measurement apparatus, optical image stabilization method, focusing motor, photographic apparatus and electronic device

By using detection capacitance and reference capacitance in the optical lens movement detection device, the detection circuit detects the total capacitance value and offsets the change in the dielectric constant, solving the problem of high cost and low robustness of the optical lens movement distance detection in the prior art, and achieving high accuracy and strong adaptability detection effects.

WO2025051295A1PCT designated stage expired Publication Date: 2025-03-13WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/125195
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-10-14
Filing Date
2024-10-16
Publication Date
2025-03-13

AI Technical Summary

Technical Problem

The existing optical lens movement distance detection scheme is expensive and has low robustness, especially in temperature changes and miniaturized camera lenses.

Method used

An optical lens movement detection device including a first detection capacitor and a second detection capacitor is adopted to detect the total capacitance value through a detection circuit, and combined with a reference capacitor to offset the influence of the change in the dielectric constant, so as to achieve accurate detection of the movement distance of the optical lens.

Benefits of technology

It reduces detection costs, improves detection accuracy and robustness, and is suitable for miniaturized camera lenses and different environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024125195_13032025_PF_FP_ABST
    Figure CN2024125195_13032025_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to an optical-lens movement measurement apparatus, an optical image stabilization method, a focusing motor, a photographic apparatus and an electronic device. The optical-lens movement measurement apparatus comprises: a measurement capacitor and a reference capacitor, wherein the capacitance value of the measurement capacitor changes as an optical lens moves; and a measurement circuit, which is configured to determine a moving distance of the optical lens on the basis of the capacitance value of the measurement capacitor and the capacitance value of the reference capacitor, wherein the dielectric constants of the reference capacitor and the measurement capacitor remain equal during movement of the optical lens, and the overlap area of plates of the reference capacitor and the distance between the plates remain unchanged during movement of the optical lens.
Need to check novelty before this filing date? Find Prior Art

Description

Optical lens movement detection device, optical anti-shake method, focus motor, camera device, and electronic equipment Technical Field

[0001] The present application relates to the field of camera technology, and in particular to an optical lens movement detection device, an optical image stabilization method, a focus motor, a camera device, and an electronic device. Background Art

[0002] Currently, camera devices require moving the optical lens along the optical axis of the optical system to adjust the distance between the imaging surface and the camera lens to achieve camera focus adjustment and obtain clear images. Therefore, to ensure the accuracy of focus, it is necessary to monitor the movement distance of the optical lens in real time.

[0003] In related technologies, sensors are typically used to monitor the movement distance of an optical lens. For example, a laser sensor is used to detect the movement distance of an optical lens. However, since the movement distance of an optical lens is generally small, the laser sensor must have extremely high precision, which is expensive.

[0004] In the related art, in order to reduce the cost of the solution for detecting the moving distance of the optical lens, there is also a solution that uses a capacitor structure to detect the moving distance of the optical lens. The solution measures the capacitance value of the capacitor to calculate the change in the spacing / area between the two plates of the capacitor, thereby determining the moving distance of the optical lens. However, during the measurement process of the moving distance of the optical lens, due to changes in the environment in which the capacitor is located (such as temperature changes), the dielectric constant of the capacitor will change, and then an error will be generated when calculating the moving distance of the optical lens based on the capacitance value of the capacitor. This leads to the problem of low robustness of the current focus detection solution.

[0005] In addition, when a capacitor structure is used to detect the moving distance of an optical lens, one plate of the capacitor needs to be set on a moving structure (such as a shell that carries the optical lens), and the other plate needs to be set on a fixed structure. At the same time, the detection circuit needs to electrically connect the two plates at the same time to measure the capacitance value of the capacitor structure. This is very difficult and costly for miniaturized camera lenses (such as mobile phone cameras).

[0006] Camera devices usually have focus detection (also known as autofocus) and optical image stabilization functions. Among them, focus detection refers to detecting the movement distance of the optical lens in the direction of the optical axis of the optical system, so that the camera device can adjust the focus and obtain a clear image. Optical image stabilization refers to the movement of the optical lens (or camera module) in a direction perpendicular to the optical axis to compensate for the displacement caused by the shaking of the device during the shooting process, thereby avoiding the phenomenon of image blur caused by the shaking of the device. Since the movement direction of the optical lens during the focus detection process is different from the movement direction of the optical lens during the optical image stabilization process, it is necessary to ensure that the focus detection process is not affected by the movement of the optical lens due to optical image stabilization.

[0007] Moreover, the optical lens may move in the X-axis, Y-axis, and Z-axis directions during the focusing movement process and the optical image stabilization movement process. If the movement position of the optical lens along the X-axis, Y-axis, and Z-axis directions is to be detected separately, three sets of capacitors need to be set on the X-axis, Y-axis, and Z-axis respectively, and the plates of the three sets of capacitors need to be electrically connected to the detection circuit. This is very difficult for miniaturized camera lenses (such as mobile phone cameras).

[0008] Summary of the Invention

[0009] This application is made to address one or more of the above and other problems.

[0010] An exemplary embodiment provides an optical lens movement detection device for detecting the movement distance of an optical lens, the optical lens movement detection device comprising: a first detection capacitor and a second detection capacitor, at least one of which has a capacitance value that changes with the movement of the optical lens; and a detection circuit configured to detect the total capacitance value of the first detection capacitor and the second detection capacitor, wherein the first plate of the first detection capacitor and the first plate of the second detection capacitor are electrically connected to each other, the second plate of the first detection capacitor is connected to the first input end of the detection circuit, the second plate of the second detection capacitor is connected to the second input end of the detection circuit, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed or move with the optical lens.

[0011] Another exemplary embodiment provides an optical lens movement detection device for detecting the movement distance of an optical lens, the optical lens movement detection device comprising: a detection capacitor and a reference capacitor, the capacitance value of the detection capacitor changing with the movement of the optical lens; a detection circuit, the detection circuit being configured to determine the movement distance of the optical lens based on the capacitance value of the detection capacitor and the capacitance value of the reference capacitor, wherein the dielectric constants of the reference capacitor and the detection capacitor remain equal during the movement of the optical lens.

[0012] Another exemplary embodiment provides an optical lens movement detection device for detecting the movement distance of an optical lens along the optical axis, the optical lens movement detection device comprising: a first detection capacitor and a second detection capacitor; a detection circuit, the detection circuit being configured to detect a first total capacitance value of the first detection capacitor and the second detection capacitor; the first plate of the first detection capacitor and the first plate of the second detection capacitor being electrically connected to each other, the second plate of the first detection capacitor being connected to the first input end of the detection circuit, and the second plate of the second detection capacitor being connected to the second input end of the detection circuit; the first plate of the first detection capacitor and the first plate of the second detection capacitor moving with the optical lens, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remaining fixed; wherein, when the optical lens moves along the direction of the optical axis, the first total capacitance value changes with the movement of the optical lens; when the optical lens moves in a direction perpendicular to the optical axis, the first total capacitance value remains unchanged.

[0013] Another exemplary embodiment provides a detection circuit for detecting a capacitance module associated with a detection object, the capacitance module including a first capacitor, a second capacitor, and a third capacitor, wherein a first plate of the first capacitor, a first plate of the second capacitor, and a first plate of the third capacitor are electrically connected to each other. The detection circuit includes: a voltage control module for controlling the voltage of the second plate of the first capacitor and the second plate of the second capacitor; and a measurement module for outputting a first digital signal related to a first capacitance value based on an amount of charge released by the second plate of the third capacitor and a second digital signal related to a second capacitance value based on an amount of charge released by the second plate of the third capacitor during a process in which the voltage control module changes the voltage of the second plate of the first capacitor and the second plate of the second capacitor. The first capacitance value is a difference between the capacitance values ​​of the first capacitor and the second capacitor, and the second capacitance value is a sum of the capacitance values ​​of the first capacitor and the second capacitor. The difference between the capacitance values ​​of the first capacitor and the second capacitor changes with movement of the detection object; the sum of the capacitance values ​​of the first capacitor and the second capacitor does not change with movement of the detection object, or the series capacitance value of the first capacitor and the second capacitor does not change with movement of the detection object.

[0014] Another exemplary embodiment provides an optical lens movement detection device, including the above-mentioned capacitance module and a detection circuit.

[0015] Another exemplary embodiment provides an optical lens three-dimensional movement detection device for detecting the movement position of an optical lens in a coordinate system constructed by a first axis, a second axis, and a third axis, the optical lens three-dimensional movement detection device comprising: a first detection capacitor, a second detection capacitor, and a third detection capacitor, wherein the first capacitance value of the first detection capacitor changes as the optical lens moves along the first axis, the second capacitance value of the second detection capacitor changes as the optical lens moves along the second axis, and the third capacitance value of the third detection capacitor changes as the optical lens moves along the third axis; a detection circuit, wherein the detection circuit is used to detect a first series capacitance value of the first detection capacitor and the second detection capacitor, a second series capacitance value of the first detection capacitor and the third detection capacitor, and a third series capacitance value of the second detection capacitor and the third detection capacitor, wherein the first series capacitance value, the second series capacitance value, and the third series capacitance value are used to determine the first capacitance value, the second capacitance value, and the third capacitance value, the first plate of the first detection capacitor, the first plate of the second detection capacitor, and the first plate of the third detection capacitor are electrically connected to each other, and the second plate of the first detection capacitor, the second plate of the second detection capacitor, and the second plate of the third detection capacitor are electrically connected to the detection circuit.

[0016] Another exemplary embodiment provides a method for detecting three-dimensional movement of an optical lens, which uses the above-mentioned three-dimensional movement detection device of the optical lens, and the method includes: obtaining a first series capacitance value of a first detection capacitor and a second detection capacitor, a second series capacitance value of a first detection capacitor and a third detection capacitor, and a third series capacitance value of a second detection capacitor and a third detection capacitor; determining a first capacitance value of the first detection capacitor, a second capacitance value of the second detection capacitor, and a third capacitance value of the third detection capacitor based on the first series capacitance value, the second series capacitance value, and the third series capacitance value; determining a moving position of the optical lens in a coordinate system constructed by a first axis, a second axis, and a third axis based on the first capacitance value, the second capacitance value, and the third capacitance value.

[0017] Another exemplary embodiment provides an optical image stabilization method, which applies the above-mentioned optical lens movement detection device or optical lens three-dimensional movement detection device.

[0018] Another exemplary embodiment provides a computer-readable storage medium storing instructions, which, when executed by at least one processor, enable a device to perform the above-mentioned optical lens three-dimensional motion detection method or optical image stabilization method.

[0019] Another exemplary embodiment provides a focus motor including the above-mentioned optical lens movement detection device or optical lens three-dimensional movement detection device.

[0020] Another exemplary embodiment provides a camera module including the above-mentioned focus motor.

[0021] Another exemplary embodiment provides an electronic device including the above-mentioned camera module. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] FIG1 is a schematic diagram of a conventional optical lens moving distance detection solution;

[0023] FIG2 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0024] FIG3 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0025] FIG4 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0026] FIG5 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0027] FIG6 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0028] FIG7 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0029] FIG8 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0030] FIG9 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0031] FIG10 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0032] FIG11 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0033] FIG12 is a schematic structural diagram of a focus motor according to an embodiment of the present application.

[0034] FIG13 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0035] FIG14 is a schematic diagram of the working state of the optical lens moving along the optical axis;

[0036] FIG15 is a schematic diagram of a working state of an optical lens moving in a direction perpendicular to the optical axis;

[0037] FIG16 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0038] FIG17 is a schematic diagram of a working state of an optical lens moving in a direction perpendicular to the optical axis;

[0039] FIG18 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0040] FIG19 is a schematic diagram of the working state of the optical lens moving along the optical axis;

[0041] FIG20 is a schematic diagram of a working state of an optical lens moving in a direction perpendicular to the optical axis;

[0042] FIG21 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0043] FIG22 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0044] FIG23 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0045] FIG24 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0046] FIG25 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0047] FIG26 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0048] FIG27 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0049] FIG28 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0050] FIG29 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0051] FIG30 is a schematic diagram of a circuit structure of a detection circuit according to an embodiment of the present application;

[0052] FIG31 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0053] FIG32 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0054] FIG33 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0055] FIG34 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0056] FIG35 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application.

[0057] FIG36 is a schematic diagram of the circuit structure of a detection circuit according to an embodiment of the present application;

[0058] FIG37 is a schematic circuit diagram of a movement detection device according to an embodiment of the present application;

[0059] FIG38 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0060] FIG39 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0061] FIG40 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0062] FIG41 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0063] FIG42 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0064] FIG43 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0065] FIG44 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application;

[0066] FIG45 is a schematic diagram of state switching of a detection circuit according to an embodiment of the present application;

[0067] FIG46 is a schematic diagram of state switching of a detection circuit according to an embodiment of the present application;

[0068] FIG47 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0069] FIG48 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0070] FIG49 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0071] FIG50 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0072] FIG51 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0073] FIG52 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0074] FIG53 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0075] FIG54 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0076] FIG55 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0077] FIG56 is a schematic diagram of a detection circuit according to an embodiment of the present application;

[0078] FIG57 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0079] FIG58 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0080] FIG59 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0081] FIG60 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0082] FIG61 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0083] FIG62 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0084] FIG63 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0085] FIG64 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0086] FIG65 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0087] FIG66 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0088] FIG67 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0089] FIG68 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0090] FIG69 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0091] FIG70 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0092] FIG71 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0093] FIG72 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0094] FIG73 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0095] FIG74 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0096] FIG75 is an equivalent circuit diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0097] FIG76 is a schematic structural diagram of an optical lens three-dimensional movement detection device according to an embodiment of the present application;

[0098] FIG77 is a flow chart of a method for detecting three-dimensional movement of an optical lens according to an embodiment of the present application;

[0099] FIG78 is a flow chart of a process for determining the moving position of an optical lens according to an embodiment of the present application; and

[0100] Figure 79 is a flowchart of the process of determining the moving position of the optical lens according to an embodiment of the present application. DETAILED DESCRIPTION

[0101] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

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

[0103] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to make and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that one of ordinary skill in the art will recognize that the invention can be practiced without these specific details. In other instances, well-known structures and processes are not described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0104] At present, in order to reduce the cost of the optical lens movement distance detection solution, there is a solution that uses a capacitor structure to detect the movement distance of the optical lens. The solution measures the capacitance value of the capacitor to calculate the spacing / area between the two plates of the capacitor, thereby determining the movement distance of the optical lens.

[0105] Figure 1 shows a schematic diagram of a conventional optical lens movement distance detection scheme. As shown in Figure 1, a movable plate 4a of a capacitor 4 is mounted on a movable structure (e.g., a housing that holds the optical lens 1), while a fixed plate 4b is mounted on a fixed structure (e.g., a fixed bracket that mounts the movable structure for sliding movement). A detection circuit 5 is required to electrically connect both plates at the same time. The capacitance calculation formula can be used to obtain:

[0106] C=Q / U=εS / 4πkd (1)

[0107] Where C is the capacitance of the capacitor, Q is the accumulated charge, U is the voltage difference between the two plates, ε is the dielectric constant of the dielectric between the plates, S is the area of ​​the plates facing each other, k is the electrostatic force constant, and d is the spacing between the plates. It should be understood that the constant term 4πk may be ignored in the following description.

[0108] When the optical lens 1 drives the movable plate 4a to move away from or closer to the fixed plate 4b, the moving distance of the optical lens 1 is:

[0109] D=εSU / Q-d0 (2)

[0110] Wherein, D is the moving distance of the optical lens 1, and d0 is the distance between the plates before the movement.

[0111] When the optical lens 1 drives the movable plate 4a to translate parallel to the length direction of the fixed plate 4b (assuming the plate is rectangular), the moving distance of the optical lens 1 is:

[0112] D=(Qd / εU-s0) / B (3)

[0113] Where s0 is the area of ​​the plate before movement, and B is the width of the plate.

[0114] It can be seen that the detection circuit 5 needs to be electrically connected to a stationary plate and a moving plate at the same time, and the voltage across the capacitor is detected to obtain the moving distance of the optical lens. Therefore, there must be a situation where one plate moves relative to the detection circuit (such as a circuit board), which is very difficult and costly for a miniaturized camera lens (such as a mobile phone camera device).

[0115] To this end, embodiments of the present application provide an optical lens movement detection device, an optical image stabilization method, a focus motor, a camera device, and an electronic device, which are described in detail below.

[0116] First, referring to FIG. 2 , which shows a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application, the optical lens movement detection device is used to detect the movement distance of the optical lens 1, and includes:

[0117] The capacitance value of at least one of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens 1;

[0118] The detection circuit 30 is configured to detect the total capacitance of the first detection capacitor 10 and the second detection capacitor 20;

[0119] The first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are electrically connected to each other, the second plate 10b of the first detection capacitor 10 is connected to the first input terminal of the detection circuit 30, and the second plate 20b of the second detection capacitor 20 is connected to the second input terminal of the detection circuit 30;

[0120] The second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 remain fixed; or the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 move with the optical lens.

[0121] Specifically, the optical lens 1 can be a lens used to adjust the focus of the camera optical system, such as a focus lens, which may include a single lens or multiple lenses, and the focus is adjusted by moving the optical lens in the optical axis direction of the camera optical system; or, the optical lens 1 can also be a lens used for an optical system anti-shake solution, such as an anti-shake lens, so as to detect the moving distance of the anti-shake lens according to the lens shake situation to maintain the stability of the lens.

[0122] It can be understood that the optical lens 1 can also be other movable lenses in the optical system, and this application does not make any specific limitation here.

[0123] Typically, the optical lens 1 is mounted on a movable structure (not shown), which is mounted on a fixed bracket (not shown) and can move along a corresponding movable structure (such as a slide rail or a slide rod structure) on the fixed bracket, thereby moving the optical lens to adjust the distance.

[0124] One plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can move with the optical lens, so that the capacitance value of at least one of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens. For example, the optical lens can be mounted on a movable housing, and one plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can be fixed to the movable housing, while the remaining plates of the first detection capacitor 10 and the second detection capacitor 20 are mounted on a fixed bracket, so that the plates move with the optical lens and change the capacitance value of the corresponding capacitor.

[0125] It can be understood that one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can also be fixed on other components that move with the optical lens. For example, the optical lens moves with a moving component of a driving mechanism (such as a ball screw), and one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can also be fixed on the moving component.

[0126] The detection circuit 30 can detect the total capacitance of the first detection capacitor 10 and the second detection capacitor 20 to facilitate calculation of the plate movement distance of the first detection capacitor 10 and / or the second detection capacitor 20. Exemplarily, the detection circuit 30 may include a fully differential amplifier circuit that can detect the differential signal between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, and output an output signal that has a preset relationship with the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. For example, the voltage value of the output signal is 2V. The preset relationship is that the output signal is 10 times the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. Therefore, the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 is 0.2V. In some embodiments of the present application, the detection circuit 30 may include a circuit structure provided on a circuit board. In other embodiments of the present application, the detection circuit 30 may include an internal circuit structure of a dedicated chip.

[0127] The first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are electrically connected to each other, that is, the first detection capacitor 10 and the second detection capacitor 20 are connected in series. At the same time, the second plate 10b of the first detection capacitor 10 is connected to the first input terminal of the detection circuit 30, and the second plate 20b of the second detection capacitor 20 is connected to the second input terminal of the detection circuit 30. Therefore, the detection circuit 30 can detect the total capacitance of the first detection capacitor 10 and the second detection capacitor 20. For example, after detecting the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, the detection circuit 30 can calculate the total capacitance of the first detection capacitor 10 and the second detection capacitor 20 according to the following formula:

[0128] Wherein, CS is the total capacitance of the first detection capacitor 10 and the second detection capacitor 20, Cs1 is the capacitance of the first detection capacitor 10, Cs2 is the capacitance of the second detection capacitor 20, U is the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, and Q is the amount of charge accumulated on the second plate 10b of the first detection capacitor 10.

[0129] In some embodiments of the present application, the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 remain fixed; or, the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can move with the optical lens, that is, the detection circuit 30 is connected to two fixed plates or two synchronously moving plates. If the detection circuit 30 is connected to two fixed plates, as shown in Figure 2, the detection circuit 30 (such as a circuit board) can also be fixedly set, so the connection line between the detection circuit 30 and the two capacitors remains fixed. If the detection circuit 30 is connected to two moving plates, as shown in Figure 3, which shows another structural schematic diagram of the optical lens movement detection device, the circuit board on which the detection circuit 30 is set can also move with the optical lens, so the connection line between the detection circuit 30 and the two capacitors can also remain fixed. Therefore, it is avoided that the detection circuit 30 needs to be connected to a fixed plate and a moving plate respectively, which ultimately leads to the problem that the moving distance detection scheme of the optical lens is difficult to implement and the cost is high.

[0130] Since the detection circuit 30 is electrically connected to the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, but is not electrically connected to the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can be electrically floated. Even if there is parasitic capacitance in the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 (for example, parasitic capacitance generated relative to the metal structure of the camera lens), the interference introduced by the parasitic capacitance will be symmetrically suppressed by the fully differential circuit, thereby eliminating the interference of the parasitic capacitance and improving the detection accuracy of the optical lens movement detection device.

[0131] It will be understood that the optical lens movement detection device of the present application can not only be applied to the automatic focus scene of the camera device to achieve automatic focus adjustment and obtain clear images; in addition, it can also be applied to the optical image stabilization (OIS) of electronic devices. The sensor (such as a gyroscope) of the electronic device (or camera device) detects a small movement or shaking distance, and then transmits the signal to the microprocessor, which calculates the displacement to be compensated and performs displacement compensation. Finally, the optical lens movement detection device is used to detect whether the compensation amount meets the requirements, thereby realizing the detection of the compensation amount in the optical image stabilization solution and ultimately overcoming the image blur phenomenon caused by the vibration of the electronic device.

[0132] In some embodiments of the present application, for example, in an embodiment in which at least one of the first detection capacitor 10 and the second detection capacitor 20 has a plate that can move with the optical lens, at least one of the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 moves with the optical lens, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 remain fixed. For example, referring to FIG4 , another structural schematic diagram of an optical lens movement detection device is shown, in which the first plate 10a of the first detection capacitor 10 is fixed to a movable housing loaded with the optical lens, and the first plate 20a of the second detection capacitor 20, the second plate 10b of the first detection capacitor 10, and the second plate 20b of the second detection capacitor 20 are mounted on a fixed bracket. When the optical lens moves, only the capacitance value of the first detection capacitor 10 changes, because the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 satisfy the following relationship:

[0133] Therefore, the capacitance value of the first detection capacitor 10 can be calculated according to the following formula:

[0134] Finally, the moving distance of the optical lens can be calculated according to the following formula:

[0135] Wherein, ε is the dielectric constant of the dielectric between the plates of the first detection capacitor 10, S is the area of ​​the plates facing each other of the first detection capacitor 10, and d01 is the distance between the plates of the first detection capacitor 10 before the plates are moved.

[0136] Preferably, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 move with the optical lens, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 remain fixed, that is, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 move synchronously, and the distance between the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 remains fixed to avoid the situation where the connection line is difficult to set due to the relative movement between the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20. When the optical lens moves, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 change at the same time, so that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 satisfy the following relationship:

[0137] In some embodiments of the present application, during the movement of the optical lens, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 are equal.

[0138] Preferably, during the movement of the optical lens, the area of ​​the plates facing each other of the first detection capacitor 10 is equal to the area of ​​the plates facing each other of the second detection capacitor 20, and the distance between the plates of the first detection capacitor 10 is equal to the distance between the plates of the second detection capacitor 20. At the same time, the dielectric constant of the dielectric between the plates of the first detection capacitor 10 is equal to the dielectric constant of the dielectric between the plates of the second detection capacitor 20. Therefore, the above formula can be converted to:

[0139] Finally, the moving distance of the optical lens can be calculated according to the following formula:

[0140] In some embodiments of the present application, referring to Figure 5, another structural schematic diagram of the optical lens movement detection device is shown, in which the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are integrated into one piece, that is, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are integrated into the same integral plate, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 only need to be aligned with the integral plate to form the first detection capacitor 10 and the second detection capacitor 20, so as to avoid the situation where the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are connected to each other by a wire, which is conducive to simplifying the structure of the optical lens movement detection device.

[0141] In some embodiments of the present application, referring to FIG6 , which shows another structural schematic diagram of an optical lens movement detection device, the detection circuit 30 may include a fully differential operational amplifier OP. The second plate 10 b of the first detection capacitor 10 is connected to the first input terminal (e.g., the non-inverting input terminal) of the fully differential operational amplifier OP, and the second plate 20 b of the second detection capacitor 20 is connected to the second input terminal (e.g., the inverting input terminal) of the fully differential operational amplifier OP. The fully differential operational amplifier OP is configured to read the voltage difference between the second plate 10 b of the first detection capacitor 10 and the second plate 20 b of the second detection capacitor 20, so as to calculate the movement distance of the optical lens 1 based on the voltage difference between the second plate 10 b of the first detection capacitor 10 and the second plate 20 b of the second detection capacitor 20.

[0142] For example, the capacitance Cs1 of the first detection capacitor 10, the capacitance Cs2 of the second detection capacitor 20, and the voltage difference U between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 satisfy the following relationship:

[0143] Wherein, Q is the amount of charge accumulated on the second electrode plate 10 b of the first detection capacitor 10 .

[0144] Based on the above relationship, the amount of charge accumulated in the capacitor and the capacitance calculation formula C = εS / d, the movement distance of the plates moving away from or closer to each other, or the movement distance when the plates move horizontally relative to each other, causing the area facing the plates to change, can be obtained, thereby obtaining the movement distance of the optical lens.

[0145] It can be understood that the detection circuit 30 can also adopt a differential circuit and a current mirror circuit structure. The differential circuit converts the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 into a current signal, and the current mirror circuit structure converts the current signal into a voltage signal, thereby outputting a voltage signal that has a preset relationship with the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. The voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can be calculated based on the voltage signal and the preset relationship; alternatively, the detection circuit 30 can also use a voltmeter to measure the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20.

[0146] In some embodiments of the present application, such as the embodiment in which the first detection capacitor 10 and the second detection capacitor 20 accumulate a charge amount Q, referring to FIG7 , another structural schematic diagram of the optical lens movement detection device is shown, wherein the optical lens movement detection device further includes a first charge injection circuit 31 and a second charge injection circuit 32. The first charge injection circuit 31 is configured to inject a first preset amount (e.g., 1 coulomb) of first charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 is configured to inject a second preset amount (e.g., 1 coulomb) of second charge into the second plate 20b of the second detection capacitor 20, wherein the polarity of the first charge is opposite to the polarity of the second charge, and the first preset amount is equal to the second preset amount.

[0147] For example, the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20. As a result, the second plate 10b of the first detection capacitor 10 accumulates positive charge, and the second plate 20b of the second detection capacitor 20 accumulates negative charge. Since the first plate 10a of the first detection capacitor 10 is electrically connected to the first plate 20a of the second detection capacitor 20, charge is transferred between the first plate 20a of the second detection capacitor 20 and the first plate 10a of the first detection capacitor 10, causing the first plate 10a of the first detection capacitor 10 to accumulate negative charge to achieve a charge balance state, while the first plate 20a of the second detection capacitor 20 accumulates positive charge to achieve a charge balance state.

[0148] As an example, referring to FIG8 , another schematic diagram of the structure of an optical lens movement detection device is shown. The first charge injection circuit 31 includes a first current source I1 and a first control switch S01, and the second charge injection circuit 32 includes a second current source I2 and a second control switch S02. One end of the first control switch S01 is connected to the first current source I1, and the other end is connected to the second plate 10b of the first detection capacitor 10. One end of the second control switch S02 is connected to the second current source I2, and the other end is connected to the second plate 20b of the second detection capacitor 20.

[0149] Taking the example that the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20, the first current source I1 can inject current into the second plate 10b of the first detection capacitor 10 through the control of the first control switch S01, so that the second plate 10b of the first detection capacitor 10 accumulates positive charge. The second current source I2 can extract the positive charge from the second plate 20b of the second detection capacitor 20 through the control of the second control switch S02, so that the second plate 20b of the second detection capacitor 20 accumulates negative charge. Specifically, the amount of injected charge can be calculated according to the following formula:

[0150] Q=I*t (12)

[0151] Wherein, Q is the charge accumulated in the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, I is the current of the first current source I1 and the second current source I2, and t is the closing time of the first control switch S01 and the second control switch S02.

[0152] As another example, referring to FIG9 , another schematic diagram of the structure of the optical lens movement detection device is shown. The first charge injection circuit 31 includes a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, and a first control capacitor C1. One end of the first switch S1 is connected to the first end of the first control capacitor C1, and the other end is connected to the first preset voltage V1; one end of the second switch S2 is connected to the second end of the first control capacitor C1, and the other end is connected to the second plate 10b of the first detection capacitor 10; one end of the third switch S3 is connected to the first node M1 between the first switch S1 and the first control capacitor C1, and the other end is grounded; one end of the fourth switch S4 is connected to the second node M2 ​​between the second switch S2 and the first control capacitor C1, and the other end is connected to the second preset voltage V2.

[0153] Specifically, when the third switch S3 and the fourth switch S4 are closed and the first switch S1 and the second switch S2 are open, the charge accumulated on the plate corresponding to the second end of the first control capacitor C1 after charging is completed is:

[0154] Q1=V2*C01 (13)

[0155] Wherein, V2 is the second preset voltage, and C01 is the capacitance value of the first control capacitor C1.

[0156] When the first switch S1 and the second switch S2 are closed, and the third switch S3 and the fourth switch S4 are open, the charge accumulated on the plate corresponding to the second end of the first control capacitor C1 after charging is completed is:

[0157] Q2=-V1*C01 (14)

[0158] Wherein, V1 is a first preset voltage. Therefore, after the first switch S1 and the second switch S2 are closed, the amount of charge transferred from the first control capacitor C1 to the second electrode plate 10b of the first detection capacitor 10 is:

[0159] Q01=Q1-Q2=(V1+V2)*C01 (15)

[0160] It can be seen that by changing the first preset voltage V1, the second preset voltage V2 and the capacitance value C01 of the first control capacitor C1, the amount of charge transferred from the first control capacitor C1 to the second plate 10b of the first detection capacitor 10 can be controlled, thereby achieving control of the amount of charge injected into the second plate 10b of the first detection capacitor 10.

[0161] Continuing with FIG9 , the second charge injection circuit 32 includes a fifth switch S5, a sixth switch S6, a seventh switch S7, an eighth switch S8, and a second control capacitor C2. The fifth switch S5 has one end connected to the first end of the second control capacitor C2, and the other end connected to the third preset voltage V3. The sixth switch S6 has one end connected to the second end of the second control capacitor C2, and the other end connected to the second plate 20b of the second detection capacitor 20. The seventh switch S7 has one end connected to a third node M3 between the fifth switch S5 and the second control capacitor C2, and the other end grounded. The eighth switch S8 has one end connected to a fourth node M4 between the sixth switch S6 and the second control capacitor C2, and the other end connected to the fourth preset voltage V4.

[0162] Similarly, when the seventh switch S7 and the eighth switch S8 are closed, and the fifth switch S5 and the sixth switch S6 are open, after the second control capacitor C2 is fully charged, the charge accumulated on the plate corresponding to the second end thereof is:

[0163] Q3= V4*C02 (16)

[0164] Wherein, V4 is the fourth preset voltage, and C02 is the capacitance value of the first control capacitor C1.

[0165] When the fifth switch S5 and the sixth switch S6 are closed, and the seventh switch S7 and the eighth switch S8 are opened, the charge accumulated on the plate corresponding to the second end of the second control capacitor C2 after charging is completed is:

[0166] Q4=-V3*C02 (17)

[0167] Wherein, V3 is the third preset voltage. Therefore, after the fifth switch S5 and the sixth switch S6 are closed, the amount of charge transferred from the second control capacitor C2 to the second electrode plate 20b of the second detection capacitor 20 is:

[0168] Q02=Q3-Q4=(V3+V4)*C02 (18)

[0169] It can be seen that by changing the third preset voltage V3, the fourth preset voltage V4 and the capacitance value C02 of the second control capacitor C2, the amount of charge transferred from the second control capacitor C2 to the second plate 20b of the second detection capacitor 20 can be controlled, thereby achieving control of the amount of charge injected into the second plate 20b of the second detection capacitor 20.

[0170] In some embodiments of the present application, the capacitance values ​​of the first control capacitor C1 and the second control capacitor C2 are equal, the first preset voltage and the third preset voltage are equal in magnitude and opposite in polarity, and the second preset voltage and the fourth preset voltage are equal in magnitude and opposite in polarity. For example, the first preset voltage is +15V, the third preset voltage is -15V, the second preset voltage is +10V, and the fourth preset voltage is -10V. Therefore, the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20, so that the amount of charge injected into the second plate 10b of the first detection capacitor 10 is equal to the amount of charge injected into the second plate 20b of the second detection capacitor 20.

[0171] As another example, referring to FIG. 10 , another schematic diagram of the structure of an optical lens movement detection device is shown. The first charge injection circuit 31 includes a first AC power supply AC1, and the second charge injection circuit 32 includes a second AC power supply AC2. The first AC power supply AC1 is connected to the second plate 10b of the first detection capacitor 10, and the second AC power supply AC2 is connected to the second plate 20b of the second detection capacitor 20. The first AC signal provided by the first AC power supply AC1 is opposite to the second AC signal provided by the second AC power supply AC2.

[0172] For example, taking the case where the first AC signal provided by the first AC power supply AC1 is a sinusoidal current signal and the second AC signal provided by the second AC power supply AC2 is a cosine current signal, by integrating the time of the sinusoidal current signal or the cosine current signal, the amount of charge injected by the first AC power supply AC1 into the second plate 10b of the first detection capacitor 10, or the amount of charge injected by the second AC power supply AC2 into the second plate 20b of the second detection capacitor 20 can be obtained, so as to calculate the moving distance of the optical lens by combining the injected charge amount with the voltage detected by the detection circuit 30.

[0173] It can be understood that the above-mentioned methods of injecting charge into the second plate of the first detection capacitor 10 and the methods of injecting charge into the second plate of the first detection capacitor 10 can also be combined with each other. For example, the second plate of the first detection capacitor 10 is injected with charge by means of the first current source I1 and the first control switch S01, and the second plate of the second detection capacitor 20 is injected with charge by means of a switch capacitor composed of a fifth switch S5, a sixth switch S6, a seventh switch S7, an eighth switch S8 and a second control capacitor C2.

[0174] It should be understood that the optical lens movement detection device of the present application is not limited to the various embodiments described above. Those skilled in the art can make various modifications to the above embodiments based on the teachings of the present application. For example, the change in the area facing the plate of the first detection capacitor 10 can be calculated by the change in capacitance value, thereby obtaining the translation distance of the plate; or, the optical lens movement detection device can also include a larger number of detection capacitors. For example, refer to Figure 11, which shows another structural schematic diagram of the optical lens movement detection device. An additional detection capacitor 15 can be connected in series between the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20. The detection capacitor 15 moves with the optical lens together with the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20. When calculating the movement distance of the optical lens, the capacitance value of the detection capacitor 15 can be added to the calculation formula.

[0175] In addition, some exemplary embodiments of the present application also provide an optical anti-shake method, which applies the optical lens movement detection device of any of the above embodiments. When implementing the optical anti-shake method, the optical lens corresponding to the optical lens movement detection device is an anti-shake lens, and the optical lens movement detection device detects the up and down shake distance of the anti-shake lens, and suppresses the image blur caused by lens shake by controlling the up and down shake distance of the anti-shake lens. The specific steps of the optical anti-shake method can be the same as or similar to the optical anti-shake method in the prior art, and will not be repeated here. Since the optical anti-shake method of the present application adopts the optical lens movement detection device of the above embodiment, it can achieve all the beneficial effects of the above optical lens movement detection device, and will not be repeated here.

[0176] In addition, some exemplary embodiments of the present application also provide a focus motor, refer to Figure 12, which shows a structural schematic diagram of the focus motor, and the focus motor includes the optical lens movement detection device of any of the above embodiments (including a first detection capacitor 10, a second detection capacitor 20 and a detection circuit 30), an optical lens 1, a mover bracket 2 and a stator bracket 3. The mover bracket 2 can move relative to the stator bracket 3, and the optical lens 1 can move with the mover bracket 2. The second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can be set on the stator bracket 3, or on the mover bracket 2, to ensure that the detection circuit 30 is connected to two fixed plates or two movable plates. Since the focus motor of the present application adopts the optical lens movement detection device of the above embodiment, it can achieve all the beneficial effects of the above optical lens movement detection device, which will not be repeated here.

[0177] In addition, some embodiments of the present application further provide a camera device comprising a focus motor according to any of the above embodiments. Because the focus motor in the camera device of the present application utilizes the optical lens movement detection device according to the above embodiments, it can achieve all the beneficial effects of the above optical lens movement detection device, which will not be further described here.

[0178] In addition, some embodiments of the present application further provide an electronic device comprising the camera device of any of the above embodiments. Since the camera device in the electronic device of the present application utilizes the optical lens movement detection device of the above embodiments, it can achieve all the beneficial effects of the above optical lens movement detection device, which will not be described in detail here.

[0179] Based on the exemplary embodiments described above, the present application further provides the following implementation modes.

[0180] Embodiment 1. An optical lens movement detection device for detecting the movement distance of an optical lens, comprising: a first detection capacitor and a second detection capacitor, the capacitance value of at least one of which changes with the movement of the optical lens; and a detection circuit configured to detect the total capacitance value of the first detection capacitor and the second detection capacitor, wherein the first plate of the first detection capacitor and the first plate of the second detection capacitor are electrically connected to each other, the second plate of the first detection capacitor is connected to the first input end of the detection circuit, the second plate of the second detection capacitor is connected to the second input end of the detection circuit, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed or move with the optical lens.

[0181] Embodiment 2. An optical lens movement detection device as described in embodiment 1, wherein at least one of the first plate of the first detection capacitor and the first plate of the second detection capacitor moves with the optical lens, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed.

[0182] Embodiment 3. The optical lens movement detection device as described in Embodiment 2, wherein the first plate of the first detection capacitor and the first plate of the second detection capacitor move with the optical lens.

[0183] Embodiment 4. The optical lens movement detection device according to embodiment 3, wherein the first electrode plate of the first detection capacitor and the second electrode plate of the first detection capacitor are integrally formed.

[0184] Embodiment 5. The optical lens movement detection device as described in embodiment 3, wherein, during the movement of the optical lens, the capacitance values ​​of the first detection capacitor and the second detection capacitor are equal.

[0185] Embodiment 6. An optical lens movement detection device as described in embodiment 5, wherein, during the movement of the optical lens, the area facing the plates of the first detection capacitor is equal to the area facing the plates of the second detection capacitor, and the distance between the plates of the first detection capacitor is equal to the distance between the plates of the second detection capacitor.

[0186] Embodiment 7. An optical lens movement detection device as described in embodiment 1, wherein the detection circuit includes a fully differential operational amplifier, the second plate of the first detection capacitor is connected to the first input terminal of the fully differential operational amplifier, the second plate of the second detection capacitor is connected to the second input terminal of the fully differential operational amplifier, and the fully differential operational amplifier is configured to read the voltage difference between the second plate of the first detection capacitor and the second plate of the second detection capacitor.

[0187] Embodiment 8. The optical lens movement detection device according to embodiment 7, wherein the capacitance value Cs1 of the first detection capacitor, the capacitance value Cs2 of the second detection capacitor, and the voltage difference U between the second plate of the first detection capacitor and the second plate of the second detection capacitor satisfy the following relationship, where Q is the amount of charge accumulated on the second plate of the first detection capacitor:

[0188] Embodiment 9. An optical lens movement detection device as described in embodiment 1, wherein the optical lens movement detection device further includes a first charge injection circuit and a second charge injection circuit, the first charge injection circuit is configured to inject a first preset amount of first charge into the second plate of the first detection capacitor, and the second charge injection circuit is configured to inject a second preset amount of second charge into the second plate of the second detection capacitor, the polarity of the first charge is opposite to the polarity of the second charge, and the first preset amount is equal to the second preset amount.

[0189] Embodiment 10. An optical lens movement detection device as described in Embodiment 9, wherein the first charge injection circuit includes a first current source and a first control switch, one end of the first control switch is connected to the first current source, and the other end is connected to the second plate of the first detection capacitor, and the second charge injection circuit includes a second current source and a second control switch, one end of the second control switch is connected to the second current source, and the other end is connected to the second plate of the second detection capacitor.

[0190] Embodiment 11. An optical lens movement detection device as described in Embodiment 9, wherein the first charge injection circuit includes a first switch, a second switch, a third switch, a fourth switch and a first control capacitor, one end of the first switch is connected to the first end of the first control capacitor, and the other end is used to access a first preset voltage, one end of the second switch is connected to the second end of the first control capacitor, and the other end is connected to the second plate of the first detection capacitor, one end of the third switch is connected to the first node between the first switch and the first control capacitor, and the other end is grounded, one end of the fourth switch is connected to the second node between the second switch and the first control capacitor, and the other end is used to access a second preset voltage.

[0191] Embodiment 12. An optical lens movement detection device as described in embodiment 11, wherein the second charge injection circuit includes a fifth switch, a sixth switch, a seventh switch, an eighth switch and a second control capacitor, one end of the fifth switch is connected to the first end of the second control capacitor, and the other end is used to access a third preset voltage, one end of the sixth switch is connected to the second end of the second control capacitor, and the other end is connected to the second plate of the second detection capacitor, one end of the seventh switch is connected to the third node between the fifth switch and the second control capacitor, and the other end is grounded, one end of the eighth switch is connected to the fourth node between the sixth switch and the second control capacitor, and the other end is used to access a fourth preset voltage.

[0192] Embodiment 13. An optical lens movement detection device as described in embodiment 12, wherein the capacitance values ​​of the first control capacitor and the second control capacitor are equal, the first preset voltage and the third preset voltage are equal in magnitude and opposite in polarity, and the second preset voltage and the fourth preset voltage are equal in magnitude and opposite in polarity.

[0193] Embodiment 14. An optical lens movement detection device as described in Embodiment 9, wherein the first charge injection circuit includes a first AC power supply and a second AC power supply, the first AC power supply is connected to the second plate of the first detection capacitor, the second AC power supply is connected to the second plate of the second detection capacitor, and the first AC signal of the first AC power supply is opposite to the second AC signal of the second AC power supply.

[0194] Embodiment 15. An optical image stabilization method, using the optical lens movement detection device described in any one of Embodiments 1 to 14.

[0195] Embodiment 16. A focus motor comprising the optical lens movement detection device described in any one of Embodiments 1 to 14.

[0196] Embodiment 17. A camera device comprising the focus motor according to embodiment 16.

[0197] Embodiment 18. An electronic device comprising the imaging device according to embodiment 17.

[0198] In the above embodiments and implementations, the first plate of the first detection capacitor and the first plate of the second detection capacitor are electrically connected to each other, so that the first detection capacitor and the second detection capacitor are connected in series. Since the second plate of the first detection capacitor is connected to the first input end of the detection circuit, the second plate of the second detection capacitor is connected to the second input end of the detection circuit, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed, or the second plate of the first detection capacitor and the second plate of the second detection capacitor move with the optical lens, that is, the detection circuit is connected to two fixed plates or two synchronously moving plates, thereby avoiding the need for the detection circuit to be connected to a fixed plate and a moving plate respectively, which ultimately makes the moving distance detection scheme of the optical lens difficult to implement and costly.

[0199] In addition, since the detection circuit is electrically connected to the second plate of the first detection capacitor and the second plate of the second detection capacitor, but not electrically connected to the first plate of the first detection capacitor and the first plate of the second detection capacitor, the first plate of the first detection capacitor and the first plate of the second detection capacitor can be electrically floating. Even if there is parasitic capacitance between the first plate of the first detection capacitor and the first plate of the second detection capacitor (for example, parasitic capacitance generated relative to the metal structure of the camera lens), the interference introduced by the parasitic capacitance will be symmetrically suppressed by the fully differential circuit, thereby eliminating the interference of the parasitic capacitance and improving the detection accuracy of the optical lens movement detection device.

[0200] The camera device may have both a focus detection (also known as autofocus) function and an optical image stabilization function. The focus detection function is to move the optical lens along the optical axis to achieve accurate focus, while the optical image stabilization function is to move the optical lens in a direction perpendicular to the optical axis to compensate for the displacement caused by device shaking. The inventors noticed that when the camera module performs the optical image stabilization function, the optical lens drives the capacitor plate of the mobile detection device to translate in a direction perpendicular to the optical axis, causing the area facing the capacitor plate to change, thereby also causing the capacitance value of the capacitor to change, thereby causing the optical image stabilization function to affect the normal implementation of the focus detection function. Therefore, it is also necessary to provide a focus detection solution that is not affected by optical image stabilization.

[0201] FIG13 is a schematic structural diagram of an optical lens movement detection device according to one embodiment, wherein the optical lens movement detection device is used to detect the movement distance of an optical lens 1 along the optical axis. As shown in FIG13 , the optical lens movement detection device includes a first detection capacitor 10, a second detection capacitor 20, and a detection circuit 30. The first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are electrically connected to each other, the second plate 10b of the first detection capacitor 10 is connected to the first input terminal of the detection circuit 30, and the second plate 20b of the second detection capacitor 20 is connected to the second input terminal of the detection circuit 30. The detection circuit 30 is configured to detect a first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20. The first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 move with the optical lens 1, while the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can remain fixed. When the optical lens 1 moves along the direction of the optical axis, the first total capacitance value changes with the movement of the optical lens 1 ; when the optical lens 1 moves along a direction perpendicular to the optical axis, the first total capacitance value remains unchanged.

[0202] The optical axis can generally be understood as the axis of symmetry of the optical system. For example, it can be a virtual axis passing through the center of the optical lens 1 or the lens. The optical lens 1 can be a lens used to adjust the focus of the camera optical system, such as a focus lens, which can include a single lens or multiple lenses, and the focus is adjusted by moving the optical lens 1 in the direction of the optical axis; or, the optical lens 1 can be a lens used for the anti-shake function of the optical system, such as an anti-shake lens. When the shake of the optical system is detected, the anti-shake lens can be moved to compensate for the shake, thereby maintaining the stability of the lens. It can be understood that the optical lens 1 can also be other movable lenses in the optical system, and this application does not make specific limitations here.

[0203] As shown in FIG13 , the movable structure of the optical lens 1 may include a movable support 2 and a stator support 3. The optical lens 1 is fixedly connected to the movable support 2, and the movable support 2 can move relative to the stator support 3 to achieve focus adjustment or optical image stabilization of the optical lens 1 through the movement of the movable support 2 relative to the stator support 3. It is understood that the movable structure of the optical lens 1 may also include other components, such as a motor (not shown) for driving the movable support 2 to move.

[0204] The first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can move with the optical lens 1, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can remain fixed. Therefore, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 can change with the movement of the optical lens 1, so that the position / movement distance of the optical lens 1 can be calculated based on the first total capacitance value of the two. For example, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can be installed on the movable bracket 2, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can be installed on the stator bracket 3. When the movable bracket 2 drives the optical lens 1 to move relative to the stator bracket 3, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 move with the optical lens 1, while the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can remain fixed.

[0205] It can be understood that the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can also be installed on other structural parts that move with the optical lens 1, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can also be installed on other fixed structural parts (such as a shell).

[0206] In some embodiments of the present application, when the optical lens 1 moves along the direction of the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 both change with the movement of the optical lens 1, so that the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 changes; when the optical lens 1 moves in a direction perpendicular to the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 also change with the movement of the optical lens 1, but the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged.

[0207] In some embodiments of the present application, when the optical lens 1 moves along the direction of the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 can change with the movement of the optical lens 1, so that the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 changes; and when the optical lens 1 moves in a direction perpendicular to the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 do not change with the movement of the optical lens 1, so that the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged.

[0208] It can be understood that the change in the capacitance value of the first detection capacitor 10 and the second detection capacitor 20 may be caused by a change in the area of ​​the plates facing each other and / or the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20. For example, as shown in FIG13 , when the optical lens 1 moves along the direction of the optical axis, the first plates 10a and 20a of the first detection capacitor 10 and the second detection capacitor 20 move with the optical lens 1, thereby causing the area of ​​the plates facing each other of the first detection capacitor 10 and the second detection capacitor 20 to change, while the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged, thereby causing the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 to change.

[0209] The detection circuit 30 can detect the first total capacitance of the first detection capacitor 10 and the second detection capacitor 20 to facilitate calculation of the plate movement distance of the first detection capacitor 10 and / or the second detection capacitor 20, or the change in the plate-facing area of ​​the first detection capacitor 10 and / or the second detection capacitor 20, thereby calculating the movement distance of the optical lens 1. In some examples, the detection circuit 30 may include a fully differential amplifier circuit that can detect the differential signal between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, and output an output signal that has a preset relationship with the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. For example, the voltage value of the output signal is 2V. The preset relationship is that the output signal is 10 times the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. Therefore, the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 is 0.2V. In some embodiments of the present application, the detection circuit 30 may include a circuit structure disposed on a circuit board. In other embodiments, the detection circuit 30 may also include an internal circuit structure of a dedicated chip.

[0210] The first electrode plate 10a of the first detection capacitor 10 and the first electrode plate 20a of the second detection capacitor 20 are electrically connected to each other, so that the first detection capacitor 10 and the second detection capacitor 20 are connected in series. The second electrode plate 10b of the first detection capacitor 10 is connected to the first input terminal of the detection circuit 30, and the second electrode plate 20b of the second detection capacitor 20 is connected to the second input terminal of the detection circuit 30. Therefore, the detection circuit 30 can detect the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20. For example, after the detection circuit 30 detects the voltage difference between the second electrode plate 10b of the first detection capacitor 10 and the second electrode plate 20b of the second detection capacitor 20, the first total capacitance value CS of the first detection capacitor 10 and the second detection capacitor 20 can be calculated according to the formula (4) described above. Taking the example that the capacitance value Cs1 of the first detection capacitor 10 is equal to the capacitance value Cs2 of the second detection capacitor 20, according to the capacitance calculation formula and the above formula (4), it can be known that:

[0211] Wherein, d is the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 , and S is the area of ​​the plates facing each other of the first detection capacitor 10 and the second detection capacitor 20 .

[0212] When the optical lens 1 moves along the optical axis, the area of ​​the plates facing each other between the first detection capacitor 10 and the second detection capacitor 20 changes. According to the above formula, it can be seen that:

[0213] Wherein, L1 is the plate width of the first detection capacitor 10, L2 is the plate length of the first detection capacitor 10, and l is the distance that the plate of the first detection capacitor 10 moves along with the optical lens 1. Therefore, the movement distance of the plate can be calculated according to the following formula:

[0214] It can be seen that after measuring the first total capacitance CS=Q / U of the first detection capacitor 10 and the second detection capacitor 20, the movement distance l of the optical lens 1 can be calculated, thereby achieving the purpose of focusing detection of the optical lens 1. It can be understood that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 can also be unequal. In this case, the movement distance l of the optical lens 1 can still be calculated according to the above principle. It is only necessary to make corresponding adjustments to the above formula based on the specific parameters of the first detection capacitor 10 and the second detection capacitor 20.

[0215] In some embodiments of the present application, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 are electrically connected to each other, so that the first detection capacitor 10 and the second detection capacitor 20 are connected in series. Since the second plate 10b of the first detection capacitor 10 is connected to the first input end of the detection circuit 30, the second plate 20b of the second detection capacitor 20 is connected to the second input end of the detection circuit 30, and the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 remain fixed, the detection circuit 30 is connected to two fixed plates, thereby avoiding the situation where the detection circuit 30 needs to be connected to a fixed plate and a movable plate respectively, which ultimately leads to the difficulty in implementing the moving distance detection scheme of the optical lens 1 and the high cost.

[0216] In addition, when the optical lens 1 moves along the direction of the optical axis, since the first total capacitance value changes with the movement of the optical lens 1, the moving distance of the optical lens 1 can be calculated by the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20, thereby realizing the focus detection function of the camera module; when the optical lens 1 moves in the direction perpendicular to the optical axis, since the first total capacitance value remains unchanged, it is possible to avoid affecting the focus detection of the camera module when the camera module performs optical image stabilization, thereby realizing the decoupling of the focus detection of the camera module and the optical image stabilization, and thus eliminating the need to independently design the focus movement mechanism and the optical image stabilization mechanism of the camera module, and ultimately contributing to the simplification of the camera module structure.

[0217] In some embodiments of the present application, for example, when the optical lens 1 moves in a direction perpendicular to the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 change with the movement of the optical lens 1, but the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged. Referring to Figure 13, the first detection capacitor 10 and the second detection capacitor 20 are respectively located on opposite sides of the optical axis, and the electrodes of the first detection capacitor 10 and the second detection capacitor 20 are parallel to the direction of the optical axis. For example, the first electrodes 10a and 20a of the first detection capacitor 10 and the second detection capacitor 20 can be respectively installed on both sides of the mover bracket 2. Combined with Figure 13 and Figure 14, Figure 14 shows a schematic diagram of a working state of the optical lens 1 moving along the optical axis. When the optical lens 1 moves along the optical axis, since the plates of the first detection capacitor 10 and the second detection capacitor 20 are parallel to the optical axis, the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 does not change with the movement of the optical lens 1, but the area facing each other of the plates of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens 1, so that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 both change, resulting in a change in the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20.

[0218] In conjunction with Figure 13 and Figure 15, Figure 15 shows a schematic diagram of a working state in which the optical lens 1 moves in a direction perpendicular to the optical axis. When the optical lens 1 moves in a direction perpendicular to the optical axis, since the first detection capacitor 10 and the second detection capacitor 20 are located on opposite sides of the optical axis, the sum of the distances between the plates of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged. Specifically, when the optical lens 1 moves in a direction perpendicular to the optical axis, assuming that the areas facing each other of the plates of the first detection capacitor 10 and the second detection capacitor 20 are equal, it can be seen from the capacitance calculation formula:

[0219] Wherein, Δd is the moving distance of the optical lens 1 in the direction perpendicular to the optical axis.

[0220] According to the calculation formula of the series capacitance, the first total capacitance of the first detection capacitor 10 and the second detection capacitor 20 can be calculated as follows:

[0221] After simplification, we can get:

[0222] Finally, we can get:

[0223] It can be seen that since the sum of the plate distances between the first detection capacitor 10 and the second detection capacitor 20 remains unchanged, when the optical lens 1 moves in a direction perpendicular to the optical axis, the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged, thereby avoiding the problem of affecting focus detection when the optical lens 1 moves in a direction perpendicular to the optical axis during the optical image stabilization process.

[0224] In some embodiments of the present application, for example, when the optical lens 1 moves in a direction perpendicular to the optical axis, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 do not change with the movement of the optical lens 1, so that the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged, refer to Figures 16 and 17, Figure 16 shows another structural schematic diagram of the optical lens movement detection device, and Figure 17 shows another working state schematic diagram of the optical lens 1 moving in a direction perpendicular to the optical axis. When the optical lens 1 moves in the direction of the optical axis, since the plates of the first detection capacitor 10 and the second detection capacitor 20 are perpendicular to the optical axis direction, the area facing the plates of the first detection capacitor 10 and the second detection capacitor 20 does not change with the movement of the optical lens 1, but the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens 1, so that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 both change, thereby the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 changes.

[0225] When the optical lens 1 moves in a direction perpendicular to the optical axis, since the plates of the first detection capacitor 10 and the second detection capacitor 20 are perpendicular to the optical axis, the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 does not change with the movement of the optical lens 1. In addition, as shown in the figure, when the optical lens 1 moves in a direction perpendicular to the optical axis, the area directly facing the plates of the first detection capacitor 10 and the second detection capacitor 20 remains unchanged. When the distance between the plates of the first detection capacitor 10 and the second detection capacitor 20 and the area directly facing the plates do not change, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 remain unchanged.

[0226] It can be understood that by designing the plates of the first detection capacitor 10 and the second detection capacitor 20, the area of ​​the plates facing each other of the first detection capacitor 10 and the second detection capacitor 20 can remain unchanged when the optical lens 1 moves in a direction perpendicular to the optical axis. For example, referring to FIG. 16 or FIG. 17 , the area of ​​the first plates 10a, 20a of the first detection capacitor 10 and the second detection capacitor 20 can be set to be larger than the area of ​​the second plates 10b, 20b, so that when the optical lens 1 moves in a direction perpendicular to the optical axis, the second plates 10b, 20b of the first detection capacitor 10 and the second detection capacitor 20 always face the first plates 10a, 20a, and therefore the area of ​​the plates facing each other of the first detection capacitor 10 and the second detection capacitor 20 always equals the area of ​​the second plates 10b, 20b and remains unchanged. For another example, the area of ​​the second plates 10b and 20b of the first detection capacitor 10 and the second detection capacitor 20 can also be set to be larger than the area of ​​the first plates 10a and 20a, so that when the optical lens 1 moves in a direction perpendicular to the optical axis, the area of ​​the plates facing each other of the first detection capacitor 10 and the second detection capacitor 20 is always equal to the area of ​​the first plates 10a and 20a and remains unchanged.

[0227] It should be noted that during the measurement of the movement distance of the optical lens 1, due to changes in the environment in which the capacitor is located (such as temperature changes), the dielectric constant of the electrolyte provided between the capacitor plates will change, and thus errors are easily generated when calculating the movement distance of the optical lens 1 based on the capacitance value of the capacitor. This leads to the problem of low robustness of the current focus detection scheme. To avoid the influence of ambient temperature, the present application also proposes the following embodiment.

[0228] In some embodiments of the present application, referring to FIG. 18 , FIG. 18 shows a schematic structural diagram of an optical lens movement detection device, wherein the optical lens movement detection device further includes a first reference capacitor 40 and a second reference capacitor 50. The first plate 40a of the first reference capacitor 40 and the first plate 50a of the second reference capacitor 50 are electrically connected to each other, the second plate 40b of the first reference capacitor 40 is connected to the third input terminal of the detection circuit 30, and the second plate 50b of the second reference capacitor 50 is connected to the fourth input terminal of the detection circuit 30. The detection circuit 30 is further configured to detect a second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50, and determine the movement distance of the optical lens 1 along the optical axis based on the first total capacitance value and the second total capacitance value. The dielectric constants of the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 remain equal during the movement of the optical lens 1, and the second total capacitance value remains unchanged during the movement of the optical lens 1.

[0229] Since the first plate 40a of the first reference capacitor 40 and the first plate 50a of the second reference capacitor 50 are electrically connected to each other, the second plate 40b of the first reference capacitor 40 is connected to the third input terminal of the detection circuit 30, and the second plate 50b of the second reference capacitor 50 is connected to the fourth input terminal of the detection circuit 30, the first plate 40a of the first reference capacitor 40 and the first plate 50a of the second reference capacitor 50 can be moved with the optical lens 1, while the second plate 40b of the first reference capacitor 40 and the second plate 50b of the second reference capacitor 50 remain fixed relative to the detection circuit 30. In other words, for the first reference capacitor 40 and the second reference capacitor 50, the detection circuit 30 is also connected to two fixed plates, thereby avoiding the need to connect the detection circuit 30 to a fixed plate and a movable plate respectively after the introduction of the first reference capacitor 40 and the second reference capacitor 50, which ultimately makes the movement distance detection solution of the optical lens 1 difficult to implement and the cost high.

[0230] Since the dielectric constants of the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 remain equal during the movement of the optical lens 1, and the second total capacitance value remains unchanged during the movement of the optical lens 1, when determining the movement distance of the optical lens 1 along the optical axis based on the first total capacitance value and the second total capacitance value, the influence of the dielectric constant can be offset, avoiding the phenomenon that the dielectric constant changes due to temperature changes, thereby causing inaccurate detection of the movement distance of the optical lens 1. Specifically, the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50 can be calculated according to the following formula:

[0231] Wherein, CR is the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50, Cr1 is the capacitance value of the first reference capacitor 40, Cr2 is the capacitance value of the second reference capacitor 50, U2 is the voltage difference between the second plate 40b of the first reference capacitor 40 and the second plate 50b of the second reference capacitor 50, and Q2 is the amount of charge accumulated on the second plate 40b of the first reference capacitor 40.

[0232] Assuming that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 are equal, and the capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 are equal, the first total capacitance calculation formula of the first detection capacitor 10 and the second detection capacitor 20 and the second total capacitance calculation formula of the first reference capacitor 40 and the second reference capacitor 50 can be simplified as follows:

[0233] According to the capacitance calculation formula C = εS / d, we can know that:

[0234] Wherein, S is the plate facing area of ​​the first detection capacitor 10, and S0 is the fixed plate facing area of ​​the first reference capacitor 40. Therefore, the plate facing area of ​​the first detection capacitor 10 can be calculated according to the following formula:

[0235] When the optical lens 1 moves along the optical axis and causes the plate facing area of ​​the first detection capacitor 10 and the second detection capacitor 20 to change, when the fixed plate facing area of ​​the reference capacitor, the first total capacitance value and the second total capacitance value are known, the plate facing area of ​​the first detection capacitor 10 after the optical lens 1 moves can be determined, thereby calculating the plate translation amount of the first detection capacitor 10 (or the second detection capacitor 20) based on the plate width or length of the first detection capacitor 10, and finally obtaining the movement distance or position parameter of the optical lens 1.

[0236] It can also be seen from the above-mentioned calculation formula for the area facing the plates of the first detection capacitor 10 that the dielectric constant is not included in the calculation formula, thereby offsetting the influence of the dielectric constant changed by environmental changes, thereby ensuring the accuracy of the detection of the moving distance of the optical lens 1 and improving the robustness of the focus detection scheme.

[0237] It should be noted that the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 are in the same environment. When the environmental factors (air medium, temperature or pressure, etc.) are consistent, the dielectric constants of the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 remain equal during the movement of the optical lens 1. For example, referring to Figure 18, the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 are all in the chamber where the stator bracket 3 and the mover bracket 2 are located. Since the environmental factors are consistent, the dielectric constants of the first detection capacitor 10, the second detection capacitor 20, the first reference capacitor 40, and the second reference capacitor 50 remain equal during the movement of the optical lens 1.

[0238] In some embodiments of the present application, referring to FIG18 , the first reference capacitor 40 and the second reference capacitor 50 are respectively located on opposite sides of the optical axis, and the plates of the first reference capacitor 40 and the second reference capacitor 50 are parallel to the optical axis. For example, the first plates 40a and 50a of the first reference capacitor 40 and the second reference capacitor 50 can be respectively installed on both sides of the mover bracket 2. In combination with FIG18 and FIG19 , FIG19 shows a schematic diagram of a working state in which the optical lens 1 moves along the optical axis. When the optical lens 1 moves along the optical axis, since the plates of the first detection capacitor 10 and the second detection capacitor 20 are parallel to the optical axis, the plate spacing between the first detection capacitor 10 and the second detection capacitor 20 does not change with the movement of the optical lens 1, and only the plate-facing area changes. In addition, when the optical lens 1 moves along the optical axis, the plate spacing and plate-facing area of ​​the first reference capacitor 40 and the second reference capacitor 50 remain unchanged, so that the capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 do not change. Therefore, when the optical lens 1 moves along the optical axis, only the first total capacitance of the first detection capacitor 10 and the second detection capacitor 20 changes, while the second total capacitance of the first reference capacitor 40 and the second reference capacitor 50 remains unchanged.

[0239] In combination with Figure 18 and Figure 20, Figure 20 shows a schematic diagram of a working state of the optical lens 1 moving in a direction perpendicular to the optical axis. When the optical lens 1 moves in a direction perpendicular to the optical axis, since the first reference capacitor 40 and the second reference capacitor 50 are located on opposite sides of the optical axis, the sum of the plate spacings of the first reference capacitor 40 and the second reference capacitor 50 remains unchanged, and at the same time, the area of ​​the plates facing each other of the first reference capacitor 40 and the second reference capacitor 50 remains unchanged, so that the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50 remains unchanged when the optical lens 1 moves in a direction perpendicular to the optical axis.

[0240] The plates of the first reference capacitor 40 and the second reference capacitor 50 can be designed so that when the optical lens 1 moves along the optical axis, the area of ​​the plates facing each other remains unchanged. For example, referring to Figures 18, 19, or 20, the areas of the first plates 40a and 50a of the first reference capacitor 40 and the second reference capacitor 50 can be set to be larger than the areas of the second plates 40b and 50b, respectively. When the optical lens 1 moves along the optical axis, the second plates 40b and 50b of the first reference capacitor 40 and the second reference capacitor 50 always face each other directly. Therefore, the area of ​​the plates facing each other remains equal to the area of ​​the second plates 40b and 50b, respectively, and remains unchanged. For another example, the areas of the second plates 40b and 50b of the first reference capacitor 40 and the second reference capacitor 50 can be set to be larger than the areas of the first plates 40a and 50a, respectively, and when the optical lens 1 moves along the optical axis, the first plates 40a and 50a of the first reference capacitor 40 and the second reference capacitor 50 are always facing the second plates 40b and 50b, so the facing area of ​​the plates of the first reference capacitor 40 and the second reference capacitor 50 is always equal to the area of ​​their first plates 40a and 50a and remains unchanged.

[0241] It can be understood that the first reference capacitor 40 and the second reference capacitor 50 can also have a fixed capacitor structure. For example, refer to Figure 21, which shows another structural schematic diagram of the optical lens movement detection device, wherein the two plates of the first reference capacitor 40 and the second reference capacitor 50 are fixed on the stator bracket 3, so that the capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 do not change with the movement of the optical lens 1.

[0242] Figure 22 shows a schematic structural diagram of an optical lens movement detection device according to some other embodiments of the present application. As shown in Figure 22, the optical lens movement detection device includes a (first) detection capacitor 10, a (first) reference capacitor 40 and a detection circuit 30. The capacitance value of the detection capacitor 10 changes with the movement of the optical lens 1, and the plate facing area and the plate spacing of the reference capacitor 40 remain unchanged during the movement of the optical lens 1. The detection circuit 30 is configured to determine the movement distance of the optical lens 1 based on the capacitance value of the detection capacitor 10 and the capacitance value of the reference capacitor 40. Among them, the dielectric constants of the reference capacitor 40 and the detection capacitor 10 remain equal during the movement of the optical lens 1.

[0243] The capacitance value of the detection capacitor 10 can change with the movement of the optical lens 1, so as to calculate the position / movement distance of the optical lens 1 by the capacitance value of the detection capacitor 10. For example, as shown in Figure 22, one electrode of the detection capacitor 10 is fixed on the mover bracket 2, and the other electrode is fixed on the stator bracket 3. When the mover bracket 2 drives the optical lens 1 to move along the optical axis, the distance between the electrodes of the detection capacitor 10 changes, thereby making the capacitance value of the detection capacitor 10 change with the movement of the optical lens 1. In some embodiments, the detection capacitor 10 may include multiple capacitors, and the capacitance value of at least one of the multiple capacitors can change with the movement of the optical lens 1, so as to calculate the position / movement distance of the optical lens 1 by detecting the total capacitance value of the multiple capacitors.

[0244] It can be understood that when the movable bracket 2 drives the optical lens 1 to move along the optical axis, the area of ​​the plates facing each other of the detection capacitor 10 can also be changed. For example, refer to Figure 23, which shows another structural schematic diagram of the optical lens movement detection device, wherein one plate of the detection capacitor 10 is located on the side of the movable bracket 2 parallel to the movement direction, and the other plate is located at a corresponding position on the inner side of the stator bracket 3. When the movable bracket 2 drives the optical lens 1 to move along the optical axis, the area of ​​the plates facing each other of the detection capacitor 10 changes while the distance between the plates does not change, so that the capacitance value of the detection capacitor 10 can change with the movement of the optical lens 1.

[0245] The dielectric constants of the reference capacitor 40 and the detection capacitor 10 remain equal even if they change during the movement of the optical lens 1, so that the influence of the dielectric constant can be offset during the movement distance detection process. In some embodiments of the present application, the plate-facing area and the plate spacing of the reference capacitor 40 remain unchanged during the movement of the optical lens 1, so that the change in the capacitance value of the reference capacitor 40 is only affected by the dielectric constant, so that the reference capacitor 40 can serve as a better reference object and simplify the calculation formula for the movement distance of the optical lens.

[0246] It will be appreciated that the plate-facing area and / or plate spacing of the reference capacitor 40 may also change as the optical lens 1 moves. For example, when the optical lens 1 moves between 10 mm and 20 mm, the plate spacing of the reference capacitor 40 is fixed at 10 mm, whereas when the optical lens 1 moves between 21 mm and 30 mm, the plate spacing of the reference capacitor 40 is fixed at 20 mm. By simply determining the plate-facing area and / or plate spacing of the reference capacitor 40, the effect of the dielectric constant can be offset during the calculation of the optical lens's travel distance.

[0247] In some embodiments of the present application, the reference capacitor 40 may be a single capacitor. In some other embodiments of the present application, the reference capacitor 40 may also be multiple capacitors.

[0248] In some embodiments of the present application, the reference capacitor 40 and the detection capacitor 10 are in the same environment. When the environmental factors (air medium, temperature or pressure, etc.) are consistent, the dielectric constants of the reference capacitor 40 and the detection capacitor 10 remain equal during the movement of the optical lens 1. For example, referring to FIG22 , one electrode plate of the reference capacitor 40 is mounted on the stator bracket 3, and the other electrode plate is mounted on the mover bracket 2. One electrode plate of the detection capacitor 10 is mounted on the stator bracket 3, and the other electrode plate is mounted on the mover bracket 2. The reference capacitor 40 and the detection capacitor 10 are in the chamber where the stator bracket 3 and the mover bracket 2 are located. Since the environmental factors are consistent, the dielectric constants of the reference capacitor 40 and the detection capacitor 10 remain equal during the movement of the optical lens 1.

[0249] In some embodiments of the present application, referring to FIG. 22 , the first electrode plate of the reference capacitor 40 is mounted on a side surface of the mover support 2 that is parallel to the direction of movement (e.g., along the optical axis), and the second electrode plate is mounted on the inner side surface of the stator support 3 in parallel with the first electrode plate. The area of ​​the second electrode plate is much larger than the area of ​​the first electrode plate, so that during the movement of the optical lens 1, the area directly facing the electrode plates of the reference capacitor 40 is equal to the area of ​​the first electrode plate. Since the first and second electrode plates of the reference capacitor 40 are arranged parallel to the direction of movement, the distance between the electrode plates of the reference capacitor 40 does not change during the movement of the optical lens 1, and ultimately the area directly facing the electrode plates of the reference capacitor 40 and the distance between the electrode plates remain unchanged during the movement of the optical lens 1.

[0250] In other embodiments of the present application, referring to Figure 24, Figure 24 shows another structural schematic diagram of the optical lens movement detection device, in which the two plates of the reference capacitor 40 are fixedly mounted on the stator bracket 3, that is, any one plate of the reference capacitor 40 will not move with the mover bracket 2, but will remain fixed, so that the plate facing area and the plate spacing of the reference capacitor 40 remain unchanged during the movement of the optical lens 1.

[0251] It can be understood that the reference capacitor 40 and the detection capacitor 10 can also be in different environments, and by controlling environmental factors (such as medium, temperature, etc.), the dielectric constants of the reference capacitor 40 and the detection capacitor 10 can remain equal during the movement of the optical lens 1; alternatively, the two plates of the reference capacitor 40 can be fixedly mounted on the mover bracket 2, and the plate facing area and plate spacing of the reference capacitor 40 can remain unchanged during the movement of the optical lens 1.

[0252] The detection circuit 30 is used to determine the movement distance of the optical lens 1 based on the capacitance values ​​of the detection capacitor 10 and the reference capacitor 40. For example, taking the example of changing the distance between the plates of the detection capacitor 10 during the movement of the optical lens 1, if the plates of the reference capacitor 40 and the detection capacitor 10 have the same area facing each other, then according to the capacitance calculation formula, it can be seen that the reference capacitor 40 and the detection capacitor 10 satisfy the following relationship:

[0253] Where CR is the capacitance of the reference capacitor 40, CS is the capacitance of the detection capacitor 10, d is the plate spacing of the detection capacitor 10, and d0 is the fixed plate spacing of the reference capacitor 40. Therefore, the plate spacing of the detection capacitor 10 can be obtained as:

[0254] In some embodiments of the present application, the detection circuit 30 can measure the capacitance value of the detection capacitor 10 and the capacitance value of the reference capacitor 40 respectively, so as to calculate the plate spacing of the detection capacitor 10 according to the above formula, thereby obtaining the movement distance / position of the optical lens 1. In other embodiments of the present application, the detection circuit 30 can measure the ratio of the capacitance value of the detection capacitor 10 to the capacitance value of the reference capacitor 40, so as to calculate the plate spacing of the detection capacitor 10 according to the above formula, thereby obtaining the movement distance / position of the optical lens 1.

[0255] It is understood that the area of ​​the plates of the detection capacitor 10 may also change during the movement of the optical lens 1. If the plate spacings of the reference capacitor 40 and the detection capacitor 10 are equal, then according to the capacitance calculation formula, the reference capacitor 40 and the detection capacitor 10 satisfy the following relationship:

[0256] Where S is the area of ​​the plates facing each other of the detection capacitor 10, and S0 is the area of ​​the fixed plates facing each other of the reference capacitor 40. Therefore, the plate translation distance of the detection capacitor 10 can be obtained as:

[0257] Wherein, d is the plate translation distance of the detection capacitor 10, and L is the width of the detection capacitor 10 perpendicular to the plate translation direction (taking the plate shape of the detection capacitor 10 as a rectangle as an example).

[0258] In the above-mentioned embodiment of the present application, by setting the detection capacitor 10 and the reference capacitor 40 at the same time, since the dielectric constants of the reference capacitor 40 and the detection capacitor 10 remain equal during the movement of the optical lens 1, the plate facing area and the plate spacing of the reference capacitor 40 remain unchanged during the movement of the optical lens 1, and then the detection circuit 30 can determine the moving distance of the optical lens 1 according to the capacitance value of the detection capacitor 10 and the capacitance value of the reference capacitor 40. When calculating the moving distance of the optical lens 1, the influence of the change in dielectric constant caused by environmental changes can be offset, thereby ensuring the accuracy of the moving distance detection of the optical lens 1, and ultimately achieving the purpose of improving the robustness of the focus detection scheme.

[0259] FIG25 shows another schematic diagram of the structure of an optical lens movement detection device, which includes a first detection capacitor 10, a second detection capacitor 20, a first reference capacitor 40, and a second reference capacitor 50. The capacitance value of at least one of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens 1. The first electrode plate of the first detection capacitor 10 and the first electrode plate of the second detection capacitor 20 are electrically connected to each other, the second electrode plate of the first detection capacitor 10 is connected to the detection circuit 30, and the second electrode plate of the second detection capacitor 20 is connected to the detection circuit 30. The second electrode plate of the first detection capacitor 10 and the second electrode plate of the second detection capacitor 20 remain fixed, or the second electrode plate of the first detection capacitor 10 and the second electrode plate of the second detection capacitor 20 move with the optical lens 1.

[0260] 25 , one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can move with the optical lens 1, so that the capacitance value of at least one of the first detection capacitor 10 and the second detection capacitor 20 changes with the movement of the optical lens 1. For example, one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can be fixed to the mover bracket 2, so that the electrode plate moves with the optical lens 1 and changes the capacitance value of the corresponding capacitor.

[0261] It can be understood that one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can also be fixed on other components that move with the optical lens 1. For example, the optical lens 1 moves with a moving component of a driving mechanism (such as a ball screw), and one electrode plate of at least one of the first detection capacitor 10 and the second detection capacitor 20 can also be fixed on the moving component.

[0262] The first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20 are electrically connected to each other, that is, the first detection capacitor 10 and the second detection capacitor 20 are connected in series. At the same time, the second plate of the first detection capacitor 10 is connected to the detection circuit 30, and the second plate of the second detection capacitor 20 is connected to the detection circuit 30. Therefore, the detection circuit 30 can detect the total capacitance value of the first detection capacitor 10 and the second detection capacitor 20. For example, after detecting the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, the detection circuit 30 can calculate the total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 according to the following formula:

[0263] Wherein, CS is the total capacitance of the first detection capacitor 10 and the second detection capacitor 20, Cs1 is the capacitance of the first detection capacitor 10, Cs2 is the capacitance of the second detection capacitor 20, U1 is the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, and Q1 is the amount of charge accumulated on the second plate of the first detection capacitor 10.

[0264] In some embodiments of the present application, the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 remain fixed; or the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 move with the optical lens 1, that is, the detection circuit 30 is connected to two fixed plates or two synchronously moving plates. For the embodiment in which the detection circuit 30 is connected to two fixed plates, as shown in Figure 25, the detection circuit 30 (e.g., a circuit board) can also be fixed, for example, the circuit board including the detection circuit 30 is fixed to the stator bracket 3, so that the connection line between the detection circuit 30 and the two capacitors remains fixed. For the embodiment in which the detection circuit 30 is connected to two movable pole plates, as shown in FIG26 , FIG26 shows another structural schematic diagram of the optical lens movement detection device. The circuit board including the detection circuit 30 can also move with the optical lens 1. For example, the circuit board including the detection circuit 30 is fixed on the mover bracket 2 so that the connection line between the detection circuit 30 and the two capacitors remains fixed, thereby avoiding the need for the detection circuit 30 to be connected to a fixed pole plate and a movable pole plate respectively, which ultimately leads to the problem that the moving distance detection scheme of the optical lens 1 is difficult to implement and costly.

[0265] Since the detection circuit 30 is electrically connected to the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, but not electrically connected to the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20, the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20 can be electrically floating. Even if there is parasitic capacitance between the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20 (for example, parasitic capacitance generated relative to the metal structure of the camera lens), the interference introduced by the parasitic capacitance will be symmetrically suppressed by the fully differential circuit, thereby eliminating the interference of the parasitic capacitance and improving the detection accuracy of the optical lens movement detection device.

[0266] It should be noted that the optical lens movement detection device of the present application can not only be used in the automatic focus scene of the camera module to obtain the automatic focus adjustment of the camera and obtain a clear image; at the same time, it can also be used in the optical image stabilization (OIS) of electronic devices. The sensor (such as a gyroscope) of the electronic device (or camera module) detects a small movement or shaking distance, and then transmits the signal to the microprocessor, and the processor calculates the displacement to be compensated and performs displacement compensation. Finally, the optical lens movement detection device is used to detect whether the compensation amount meets the requirements, thereby realizing the detection of the compensation amount in the optical image stabilization scheme and ultimately overcoming the image blur phenomenon caused by the vibration of the electronic device.

[0267] Continuing with FIG25 , the first plate of the first reference capacitor 40 and the first plate of the second reference capacitor 50 are electrically connected to each other, the second plate of the first reference capacitor 40 is connected to the detection circuit 30, and the second plate of the second reference capacitor 50 is connected to the detection circuit 30. The second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 can remain fixed; alternatively, the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 can move with the optical lens 1.

[0268] The plate-facing area and plate spacing of the first reference capacitor 40 and the second reference capacitor 50 can remain unchanged during the movement of the optical lens 1. For example, as shown in Figure 25, the first plates of the first reference capacitor 40 and the second reference capacitor 50 are mounted on the side of the mover bracket 2 that is parallel to the movement direction (e.g., the optical axis direction), and the second plates are mounted on the inner side of the stator bracket 3 in parallel with the first plates. The area of ​​the second plate is much larger than the first plate, so that the plate-facing area of ​​the first reference capacitor 40 and the second reference capacitor 50 is equal to the area of ​​the first plate during the movement of the optical lens 1. At the same time, since the first and second plates of the first reference capacitor 40 and the second reference capacitor 50 are parallel to the movement direction of the mover bracket 2, the plate spacing of the reference capacitor 40 will not change during the movement of the optical lens 1, and ultimately the plate-facing area and plate spacing of the first reference capacitor 40 and the second reference capacitor 50 remain unchanged during the movement of the optical lens 1.

[0269] It can be understood that both the plates of the first reference capacitor 40 and the second reference capacitor 50 can also be fixedly mounted on the stator bracket 3, that is, neither the plate of the first reference capacitor 40 nor the plate of the second reference capacitor 50 will move with the mover bracket 2, so that the plate facing area and the plate spacing of the first reference capacitor 40 and the second reference capacitor 50 remain unchanged during the movement of the optical lens 1.

[0270] The first plate of the first reference capacitor 40 and the first plate of the second reference capacitor 50 are electrically connected to each other, that is, the first reference capacitor 40 and the second reference capacitor 50 are connected in series. At the same time, the second plate of the first reference capacitor 40 is connected to the detection circuit 30, and the second plate of the second reference capacitor 50 is connected to the detection circuit 30. Therefore, the detection circuit 30 can also detect the total capacitance of the first reference capacitor 40 and the second reference capacitor 50. For example, after detecting the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50, the detection circuit 30 can calculate the total capacitance of the first reference capacitor 40 and the second reference capacitor 50 according to the following formula:

[0271] Wherein, CR is the total capacitance of the first reference capacitor 40 and the second reference capacitor 50, Cr1 is the capacitance of the first reference capacitor 40, Cr2 is the capacitance of the second reference capacitor 50, U2 is the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50, and Q2 is the amount of charge accumulated on the second plate of the first reference capacitor 40.

[0272] As described above, the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 can remain fixed or move with the optical lens 1, and the detection circuit 30 is connected to two fixed plates or two synchronously moving plates. The circuit board on which the detection circuit 30 is set can be fixed to the stator bracket 3, or it can be fixed to the mover bracket 2, that is, the connection line between the detection circuit 30 and the two reference capacitors is also kept fixed, thereby avoiding the need for the detection circuit 30 to be connected to a fixed plate and a moving plate respectively, which ultimately makes the movement distance detection solution of the optical lens 1 difficult to implement and expensive.

[0273] In some embodiments of the present application, referring to FIG. 25 , the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20 move with the optical lens 1, while the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 remain fixed; the first plate of the first reference capacitor 40 and the first plate of the second reference capacitor 50 move with the optical lens 1, while the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 remain fixed. In other words, the detection circuit 30 is connected to four fixed plates, so the detection circuit 30 can be fixed to a fixed structure (e.g., the stator bracket 3), and the wires connecting the detection circuit 30 to the four fixed plates are also fixed.

[0274] In some embodiments of the present application, the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 are equal during the movement of the optical lens 1; the capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 are equal during the movement of the optical lens 1, so as to simplify the calculation formula when calculating the movement distance of the optical lens 1.

[0275] For example, since the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 are equal, the total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 can be simplified as:

[0276] The capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 are equal, so the total capacitance value of the first reference capacitor 40 and the second reference capacitor 50 can be simplified as:

[0277] It can be understood that the capacitance values ​​of the first detection capacitor 10 and the second detection capacitor 20 may not be equal during the movement of the optical lens 1; the capacitance values ​​of the first reference capacitor 40 and the second reference capacitor 50 may not be equal during the movement of the optical lens 1. It is only necessary to adjust the calculation formula for calculating the moving distance of the optical lens 1 accordingly.

[0278] Preferably, during the movement of the optical lens 1, the area of ​​the plates facing each other of the first detection capacitor 10 is equal to the area of ​​the plates facing each other of the second detection capacitor 20, and the distance between the plates of the first detection capacitor 10 is equal to the distance between the plates of the second detection capacitor 20. Furthermore, during the movement of the optical lens 1, the area of ​​the plates facing each other and the distance between the plates of the first reference capacitor 40 and the second reference capacitor 50 can remain unchanged.

[0279] In some embodiments of the present application, referring to FIG. 27 , FIG. 27 illustrates another schematic structural diagram of an optical lens movement detection device, wherein the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20 are integrally formed. In other words, the first plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 are integrally formed into a single, monolithic plate. The second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 only need to face a portion of the monolithic plate to form the first detection capacitor 10 and the second detection capacitor 20. This eliminates the connecting wire between the first plate of the first detection capacitor 10 and the first plate of the second detection capacitor 20, thereby simplifying the structure of the optical lens movement detection device.

[0280] In some embodiments of the present application, refer to FIG28, which shows a schematic diagram of the circuit structure of a detection circuit 30 according to an embodiment of the present application, wherein the detection circuit 30 includes a first fully differential operational amplifier OP1, the second plate 10b of the first detection capacitor 10 is connected to the first input terminal (e.g., the inverting input terminal) of the first fully differential operational amplifier OP1, and the second plate 20b of the second detection capacitor 20 is connected to the second input terminal (e.g., the non-inverting input terminal) of the first fully differential operational amplifier OP1. Specifically, the first fully differential operational amplifier OP1 can read the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20, so as to calculate the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 based on the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. It can be understood that since the first detection capacitor 10 and the second detection capacitor 20 are connected in series with each other, from the perspective of the detection circuit 30, the first detection capacitor 10 and the second detection capacitor 20 can be regarded as a single detection capacitor.

[0281] In some embodiments, the detection circuit 30 may also adopt a differential circuit and a current mirror circuit structure. The differential circuit converts the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 into a current signal, and the current mirror circuit structure converts the current signal into a voltage signal, thereby outputting a voltage signal that has a preset relationship with the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20. Based on the voltage signal and the preset relationship, the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 can be calculated.

[0282] In some embodiments of the present application, such as the embodiment in which the first detection capacitor 10 and the second detection capacitor 20 accumulate a charge amount Q, referring to FIG29 , FIG29 shows another circuit structure schematic diagram of the detection circuit 30, wherein the detection circuit 30 further includes a first charge injection circuit 31 and a second charge injection circuit 32. The first charge injection circuit 31 is configured to inject a first preset amount (e.g., 1 coulomb) of first charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 is configured to inject a second preset amount (e.g., 1 coulomb) of second charge into the second plate 20b of the second detection capacitor 20, wherein the polarity of the first charge is opposite to the polarity of the second charge, and the first preset amount is equal to the second preset amount.

[0283] For example, the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20, so that the second plate 10b of the first detection capacitor 10 accumulates positive charge, and the second plate 20b of the second detection capacitor 20 accumulates negative charge. Since the first plate 10a of the first detection capacitor 10 is electrically connected to the first plate 20a of the second detection capacitor 20, charge is transferred between the first plate 20a of the second detection capacitor 20 and the first plate 10a of the first detection capacitor 10, so that the first plate 10a of the first detection capacitor 10 accumulates negative charge to achieve a charge balance state of the capacitors, and the first plate 20a of the second detection capacitor 20 accumulates positive charge to achieve a charge balance state of the capacitors.

[0284] As an example, refer to FIG30 , which shows another circuit structure schematic diagram of the detection circuit 30 , in which the first charge injection circuit 31 includes a first switch s1, a second switch s2, and a third switch s3, and the second charge injection circuit 32 includes a fourth switch s4, a fifth switch s5, and a sixth switch s6. The first switch s1 has one end connected to the first input terminal of the first fully differential operational amplifier OP1 and the other end connected to the second plate 10b of the first detection capacitor 10. The second switch s2 has one end connected to the power supply terminal VDD and the other end connected to the first node M1 between the first detection capacitor 10 and the first switch s1. The third switch s3 has one end connected to ground and the other end connected to the first node M1 between the first detection capacitor 10 and the first switch s1. The fourth switch s4 has one end connected to the second input terminal of the first fully differential operational amplifier OP1 and the other end connected to the second plate 20b of the second detection capacitor 20. The fifth switch s5 has one end connected to the power supply terminal VDD and the other end connected to the second node M2 ​​between the second detection capacitor 20 and the fourth switch s4. One end of the sixth switch s6 is connected to the ground, and the other end is connected to the second node M2 ​​between the second detection capacitor 20 and the fourth switch s4.

[0285] As shown in the figure, when the first switch s1 and the fourth switch s4 are open, the second switch s2 and the sixth switch s6 are closed, and the third switch s3 and the fifth switch s5 are open, the power supply terminal VDD charges the second plate 10b of the first detection capacitor 10 with positive charge through the second switch s2, and the ground terminal charges the second plate 20b of the second detection capacitor 20 with an equal amount of negative charge through the sixth switch s6, thereby charging the first detection capacitor 10 and the second detection capacitor 20 connected in series. The amount of charge charged to the first detection capacitor 10 and the second detection capacitor 20 can be controlled by controlling the closing time of the switches (e.g., the second switch s2 and the sixth switch s6).

[0286] As another example, referring to FIG31 , FIG31 shows another circuit structure schematic diagram of the detection circuit 30, wherein the first charge injection circuit 31 includes a first current source I1 and a first control switch S01, and the second charge injection circuit 32 includes a second current source I2 and a second control switch S02. One end of the first control switch S01 is connected to the first current source I1, and the other end is connected to the second plate 10b of the first detection capacitor 10. One end of the second control switch S02 is connected to the second current source I2, and the other end is connected to the second plate 20b of the second detection capacitor 20.

[0287] Taking the example that the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20, the first current source I1 can inject current into the second plate 10b of the first detection capacitor 10 through the control of the first control switch S01, so that the second plate 10b of the first detection capacitor 10 accumulates positive charge; the second current source I2 can extract the positive charge in the second plate 20b of the second detection capacitor 20 through the control of the second control switch S02, so that the second plate 20b of the second detection capacitor 20 accumulates negative charge.

[0288] As another example, referring to FIG32 , FIG32 shows another circuit structure schematic diagram of the detection circuit 30 , in which the first charge injection circuit 31 may include a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, and a first control capacitor C1. One end of the first switch S1 is connected to the first end of the first control capacitor C1, and the other end is used to access the first preset voltage V1. One end of the second switch S2 is connected to the second end of the first control capacitor C1, and the other end is connected to the second plate 10b of the first detection capacitor 10. One end of the third switch S3 is connected to the third node M3 between the first switch S1 and the first control capacitor C1, and the other end is grounded. One end of the fourth switch S4 is connected to the fourth node M4 between the second switch S2 and the first control capacitor C1, and the other end is used to access the second preset voltage V2. When the third switch S3 and the fourth switch S4 are closed and the first switch S1 and the second switch S2 are open, the second preset voltage V2 charges the first control capacitor C1. After charging is complete, the charge accumulated in the plate corresponding to the second end thereof is Q1 = V2 * C01, where C01 is the capacitance value of the first control capacitor C1. When the first switch S1 and the second switch S2 are closed and the third switch S3 and the fourth switch S4 are open, the first preset voltage V1 charges the first control capacitor C1. After charging is complete, the charge accumulated in the plate corresponding to the second end thereof is Q2 = -V1 * C01. Therefore, after the first switch S1 and the second switch S2 are closed, the amount of charge transferred from the first control capacitor C1 to the second plate 10b of the first detection capacitor 10 is Q01 = Q1 - Q2 = (V1 + V2) * C01. It can be seen that by changing the first preset voltage V1, the second preset voltage V2 and the capacitance value C01 of the first control capacitor C1, the amount of charge transferred from the first control capacitor C1 to the second plate 10b of the first detection capacitor 10 can be controlled, thereby achieving control of the amount of charge injected into the second plate 10b of the first detection capacitor 10.

[0289] Similarly, the second charge injection circuit 32 may include a fifth switch S5, a sixth switch S6, a seventh switch S7, an eighth switch S8, and a second control capacitor C2. One end of the fifth switch S5 is connected to the first end of the second control capacitor C2, and the other end is used to connect to the third preset voltage V3. One end of the sixth switch S6 is connected to the second end of the second control capacitor C2, and the other end is connected to the second plate 20b of the second detection capacitor 20. One end of the seventh switch S7 is connected to the fifth node M5 between the fifth switch S5 and the second control capacitor C2, and the other end is grounded. One end of the eighth switch S8 is connected to the sixth node M6 between the sixth switch S6 and the second control capacitor C2, and the other end is used to connect to the fourth preset voltage V4. When the seventh switch S7 and the eighth switch S8 are closed and the fifth switch S5 and the sixth switch S6 are open, after the second control capacitor C2 is charged, the charge accumulated on the corresponding plate at its second end is Q3 = V4 * C02, where C02 is the capacitance value of the second control capacitor C2. When the fifth switch S5 and the sixth switch S6 are closed, and the seventh switch S7 and the eighth switch S8 are open, the charge accumulated on the corresponding plate at the second end of the second control capacitor C2 after charging is complete is Q4 = -V3 * C02. Therefore, after the fifth switch S5 and the sixth switch S6 are closed, the amount of charge transferred from the second control capacitor C2 to the second plate of the second detection capacitor 20 is Q02 = Q3 - Q4 = (V3 + V4) * C02. It can be seen that by changing the third preset voltage V3, the fourth preset voltage V4, and the capacitance C02 of the second control capacitor C2, the amount of charge transferred from the second control capacitor C2 to the second plate 20b of the second detection capacitor 20 can be controlled, thereby achieving control over the amount of charge injected into the second plate 20b of the second detection capacitor 20.

[0290] In some embodiments of the present application, the capacitance values ​​of the first control capacitor C1 and the second control capacitor C2 are equal, the first preset voltage V1 and the third preset voltage V3 are equal in magnitude and opposite in polarity, and the second preset voltage V2 and the fourth preset voltage V4 are equal in magnitude and opposite in polarity. For example, the first preset voltage V1 is +15V, the third preset voltage V3 is -15V, the second preset voltage V2 is +10V, and the fourth preset voltage V4 is -10V. Therefore, the first charge injection circuit 31 can inject positive charge into the second plate 10b of the first detection capacitor 10, and the second charge injection circuit 32 can inject negative charge into the second plate 20b of the second detection capacitor 20, while making the amount of charge injected into the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 equal.

[0291] 33 , the second plate of the first detection capacitor 10 can be connected to the first input terminal (e.g., the inverting input terminal) of the first fully differential operational amplifier OP1 of the detection circuit 30, and the second plate of the second detection capacitor 20 can be connected to the second input terminal (e.g., the non-inverting input terminal) of the first fully differential operational amplifier OP1 of the detection circuit 30, so that the detection circuit 30 can measure the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20. Similarly, the second plate of the first reference capacitor 40 can be connected to the first input terminal (e.g., the inverting input terminal) of the first fully differential operational amplifier OP1 of the detection circuit 30, and the second plate of the second reference capacitor 40 can be connected to the second input terminal (e.g., the non-inverting input terminal) of the first fully differential operational amplifier OP1 of the detection circuit 30, so that the detection circuit 30 can measure the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50. A switching circuit (not shown) can be used to control the electrical connection between the first and second detection capacitors 10, 20 and the first and second reference capacitors 40, 50 and the first fully differential operational amplifier OP1, so that the detection circuit 30 can measure the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20 and the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50, respectively.

[0292] For example, the first fully differential operational amplifier OP1 is configured to read the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, so as to calculate the first total capacitance of the first detection capacitor 10 and the second detection capacitor 20 based on the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20. The capacitance of the first detection capacitor 10, the capacitance of the second detection capacitor 20, and the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 satisfy the following relationship:

[0293] Wherein, Cs1 is the capacitance value of the first detection capacitor 10, Cs2 is the capacitance value of the second detection capacitor 20, U is the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, and Q is the amount of charge accumulated on the second plate of the first detection capacitor 10.

[0294] It can be understood that the detection circuit 30 can also adopt a differential circuit and a current mirror circuit structure. The differential circuit converts the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 into a current signal, and the current mirror circuit structure converts the current signal into a voltage signal, thereby outputting a voltage signal that has a preset relationship with the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20. The voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 can be calculated based on the voltage signal and the preset relationship; alternatively, the detection circuit 30 can also use a voltmeter to measure the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20.

[0295] The detection circuit 30 can measure the second total capacitance of the first reference capacitor 40 and the second reference capacitor 50 in a similar manner. It can be understood that from the perspective of the detection circuit 30, the first detection capacitor 10 and the second detection capacitor 20 can be regarded as a single capacitor, and the first reference capacitor 40 and the second reference capacitor 50 can be regarded as another single capacitor. The switching circuit can be used to enable the detection circuit 30 to measure the capacitance values ​​of these two capacitors separately. In the embodiment shown in Figures 22 to 24 that only includes the first detection capacitor 10 and the first reference capacitor 40, the detection circuit 30 can measure the first capacitance of the first detection capacitor 10 and the second capacitance of the first reference capacitor 40 separately in a similar manner, which will not be repeated here.

[0296] In some embodiments of the present application, referring to FIG34 , FIG34 shows another circuit diagram of the detection circuit 30, wherein in addition to the first charge injection circuit 31 and the second charge injection circuit 32, the detection circuit 30 further includes a third charge injection circuit 33 and a fourth charge injection circuit 34. The third charge injection circuit 33 is configured to inject a third preset amount of third charge into the second plate of the first reference capacitor 40, and the fourth charge injection circuit 34 is configured to inject a fourth preset amount of fourth charge into the second plate of the second reference capacitor 50, wherein the polarity of the third charge is opposite to that of the fourth charge, and the third preset amount is equal to the fourth preset amount.

[0297] For example, the third charge injection circuit 33 can inject positive charge into the second plate of the first reference capacitor 40, and the fourth charge injection circuit 34 can inject negative charge into the second plate of the second reference capacitor 50, thereby accumulating positive charge on the second plate of the first reference capacitor 40 and negative charge on the second plate of the second reference capacitor 50. Since the first plate of the first reference capacitor 40 is electrically connected to the first plate of the second reference capacitor 50, charge is transferred between the first plate of the first reference capacitor 40 and the first plate of the second reference capacitor 50, causing the first plate of the first reference capacitor 40 to accumulate negative charge to achieve a charge balance state between the capacitors, while the first plate of the second reference capacitor 50 to accumulate positive charge to achieve a charge balance state between the capacitors.

[0298] 35 shows a schematic diagram of a circuit structure of the detection circuit 30. As shown in FIG35, the third charge injection circuit 33 includes a seventh switch s7, an eighth switch s8, and a ninth switch s9, and the fourth charge injection circuit 34 includes a tenth switch s10, an eleventh switch s11, and a twelfth switch s12. One end of the seventh switch s7 is connected to the first input end of the first fully differential operational amplifier OP1, and the other end is connected to the second plate of the first reference capacitor 40; one end of the eighth switch s8 is connected to the power supply terminal VDD, and the other end is connected to the seventh node M7 between the first reference capacitor 40 and the seventh switch s7; one end of the ninth switch s9 is connected to the ground terminal, and the other end is connected to the seventh node M7 between the first reference capacitor 40 and the seventh switch s7; one end of the tenth switch s10 is connected to the second input end of the first fully differential operational amplifier OP1, and the other end is connected to the second plate of the second reference capacitor 50; one end of the eleventh switch s11 is connected to the power supply terminal VDD, and the other end is connected to the eighth node M8 between the second reference capacitor 50 and the tenth switch s10; one end of the twelfth switch s12 is connected to the ground terminal, and the other end is connected to the eighth node M8 between the second reference capacitor 50 and the tenth switch s10.

[0299] When the seventh switch s7 and the tenth switch s10 are disconnected, the eighth switch s8 and the twelfth switch s12 are closed, and the ninth switch s9 and the eleventh switch s11 are disconnected, the power supply terminal VDD charges the second plate of the first reference capacitor 40 with positive charge through the eighth switch s8, and the ground terminal charges the second plate of the second reference capacitor 50 with an equal amount of negative charge through the twelfth switch s12, thereby charging the first reference capacitor 40 and the second reference capacitor 50 connected in series.

[0300] It can be understood that the third charge injection circuit 33 and the fourth charge injection circuit 34 can also adopt a charge injection circuit structure similar to the first charge injection circuit 31 and the second charge injection circuit 32, such as a charge injection circuit that uses a current source to charge the first reference capacitor 40 and the second reference capacitor 50.

[0301] As shown in FIG35 , when the first switch s1 and the fourth switch s4 are closed, and the seventh switch s7 and the tenth switch s10 are open, the first fully differential operational amplifier OP1 can amplify the voltage difference signal between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20. When the first switch s1 and the fourth switch s4 are open, and the seventh switch s7 and the tenth switch s10 are closed, the first fully differential operational amplifier OP1 can amplify the voltage difference signal between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50. Thus, the first fully differential operational amplifier OP1 can respectively obtain the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, and the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50. Combined with the amount of charge injected into the first detection capacitor 10 and the second detection capacitor 20, and the amount of charge injected into the first reference capacitor 40 and the second reference capacitor 50, according to the capacitance calculation formula C=QU, the following relationship can be obtained:

[0302] Wherein, CS is the first total capacitance of the first detection capacitor 10 and the second detection capacitor 20, CR is the second total capacitance of the first reference capacitor 40 and the second reference capacitor 50, Q1 is the charge injected into the first detection capacitor 10 and the second detection capacitor 20, Q2 is the charge injected into the first reference capacitor 40 and the second reference capacitor 50, U1 is the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20, and U2 is the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50. Therefore, the sum of the plate spacings d between the first detection capacitor 10 and the second detection capacitor 20 can be obtained as:

[0303] Wherein d0 is the sum of the distances between the plates of the first reference capacitor 40 and the second reference capacitor 50. It can be seen that according to the above relationship, the moving distance of the optical lens can be calculated.

[0304] It can be understood that in the above measurement process, the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 can be first obtained through the first fully differential operational amplifier OP1, and then the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 can be obtained through the first fully differential operational amplifier OP1; or, the voltage difference between the second plate of the first reference capacitor 40 and the second plate of the second reference capacitor 50 can be first obtained through the first fully differential operational amplifier OP1, and then the voltage difference between the second plate of the first detection capacitor 10 and the second plate of the second detection capacitor 20 can be obtained through the first fully differential operational amplifier OP1. This application does not make any specific limitations on this.

[0305] FIG36 shows another circuit diagram of the detection circuit 30, wherein the detection circuit 30 may further include a second fully differential operational amplifier OP2. The second plate 40b of the first reference capacitor 40 is connected to the first input terminal of the second fully differential operational amplifier OP2, and the second plate 50b of the second reference capacitor 50 is connected to the second input terminal of the second fully differential operational amplifier OP2. The first fully differential operational amplifier OP1 can detect / read the voltage difference between the second plate 10b of the first detection capacitor 10 and the second plate 20b of the second detection capacitor 20 to facilitate calculation of the first total capacitance value of the first detection capacitor 10 and the second detection capacitor 20. The second fully differential operational amplifier OP2 can detect / read the voltage difference between the second plate 40b of the first reference capacitor 40 and the second plate 50b of the second reference capacitor 50 to facilitate calculation of the second total capacitance value of the first reference capacitor 40 and the second reference capacitor 50.

[0306] In some embodiments of the present application, with continued reference to FIG36 , the detection circuit 30 may further include a third charge injection circuit 33 and a fourth charge injection circuit 34. The third charge injection circuit 33 is configured to inject a third preset amount of third charge into the second plate 40 b of the first reference capacitor 40, and the fourth charge injection circuit 34 is configured to inject a fourth preset amount of fourth charge into the second plate 50 b of the second reference capacitor 50. The polarity of the third charge is opposite to the polarity of the fourth charge, and the third preset amount is equal to the fourth preset amount. For example, the third charge injection circuit 33 can inject positive charge into the second plate 40 b of the first reference capacitor 40, and the fourth charge injection circuit 34 can inject negative charge into the second plate 50 b of the second reference capacitor 50, so that the second plate 40 b of the first reference capacitor 40 accumulates positive charge and the second plate 50 b of the second reference capacitor 50 accumulates negative charge. Since the first plate 40a of the first reference capacitor 40 is electrically connected to the first plate 50a of the second reference capacitor 50, charge is transferred between the first plate 40a of the first reference capacitor 40 and the first plate 50a of the second reference capacitor 50, and the first plate 40a of the first reference capacitor 40 accumulates negative charge to achieve a charge balance state of the capacitor, and the first plate 50a of the second reference capacitor 50 accumulates positive charge to achieve a charge balance state of the capacitor.

[0307] It can be understood that the third charge injection circuit 33 and the fourth charge injection circuit 34 can adopt any circuit structure of the first / second charge injection circuit 31 / 32.

[0308] Furthermore, based on the above-mentioned optical lens movement detection device, the present application also provides an optical anti-shake method, and the optical anti-shake method applies the optical lens movement detection device of any of the above-mentioned embodiments. When implementing the optical anti-shake method, the optical lens 1 corresponding to the optical lens movement detection device can be an anti-shake lens, and the distance detected by the optical lens movement detection device is the movement distance of the anti-shake lens in the direction perpendicular to the optical axis. By controlling the movement distance of the anti-shake lens, the lens shake is compensated to avoid the problem of image blur caused by lens shake. The specific optical anti-shake method can be consistent with the optical anti-shake method implemented in the prior art, and this application will not elaborate on it here. Since the optical anti-shake method in the embodiment of the present application adopts the optical lens movement detection device of the above-mentioned embodiment, it has all the beneficial effects of the above-mentioned optical lens movement detection device, which will not be described here.

[0309] Furthermore, the present application also provides a focus motor comprising the optical lens movement detection device of any of the above-mentioned embodiments. Since the focus motor in the embodiments of the present application employs the optical lens movement detection device of the above-mentioned embodiments, it has all the beneficial effects of the above-mentioned optical lens movement detection device, which will not be further elaborated here.

[0310] Furthermore, the present application also provides a camera module comprising a focus motor according to any of the above embodiments. Since the focus motor in the camera module according to the present application employs the optical lens movement detection device according to the above embodiments, it has all the beneficial effects of the above optical lens movement detection device, which will not be further elaborated here.

[0311] Furthermore, the present application also provides an electronic device comprising a camera module according to any of the above embodiments. Since the camera module in the electronic device in the embodiments of the present application employs the optical lens movement detection device according to the above embodiments, it possesses all the beneficial effects of the above optical lens movement detection device, which will not be further elaborated here.

[0312] Based on the exemplary embodiments described above, the present application further provides the following implementation modes.

[0313] Embodiment 19. An optical lens movement detection device for detecting a movement distance of an optical lens, the optical lens movement detection device comprising:

[0314] a detection capacitor and a reference capacitor, wherein the capacitance value of the detection capacitor changes with the movement of the optical lens;

[0315] a detection circuit configured to determine a moving distance of the optical lens based on a capacitance value of the detection capacitor and a capacitance value of the reference capacitor,

[0316] The dielectric constants of the reference capacitor and the detection capacitor remain equal during the movement of the optical lens.

[0317] Embodiment 20. The optical lens movement detection device as described in embodiment 19, wherein the plate facing area and the plate spacing of the reference capacitor remain unchanged during the movement of the optical lens.

[0318] Embodiment 21. The optical lens movement detection device according to embodiment 19, wherein the detection capacitor includes a first detection capacitor and a second detection capacitor, and the capacitance value of at least one of the first detection capacitor and the second detection capacitor changes with the movement of the optical lens.

[0319] The first plate of the first detection capacitor and the first plate of the second detection capacitor are electrically connected to each other, the second plate of the first detection capacitor is connected to the detection circuit, and the second plate of the second detection capacitor is connected to the detection circuit.

[0320] The second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed, or the second plate of the first detection capacitor and the second plate of the second detection capacitor move with the optical lens.

[0321] Embodiment 22. The optical lens movement detection device according to embodiment 21, wherein the reference capacitor includes a first reference capacitor and a second reference capacitor,

[0322] The first plate of the first reference capacitor and the first plate of the second reference capacitor are electrically connected to each other, the second plate of the first reference capacitor is connected to the detection circuit, and the second plate of the second reference capacitor is connected to the detection circuit.

[0323] The second plate of the first reference capacitor and the second plate of the second reference capacitor remain fixed, or the second plate of the first reference capacitor and the second plate of the second reference capacitor move with the optical lens.

[0324] Embodiment 23. The optical lens movement detection device according to embodiment 22, wherein the first plate of the first detection capacitor and the first plate of the second detection capacitor move with the optical lens, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed.

[0325] The first plate of the first reference capacitor and the first plate of the second reference capacitor move with the optical lens, and the second plate of the first reference capacitor and the second plate of the second reference capacitor remain fixed.

[0326] Embodiment 24. The optical lens movement detection device according to embodiment 23, wherein the capacitance values ​​of the first detection capacitor and the second detection capacitor are equal during the movement of the optical lens.

[0327] The capacitance values ​​of the first reference capacitor and the second reference capacitor are equal in magnitude during the movement of the optical lens.

[0328] Embodiment 25. The optical lens movement detection device according to embodiment 24, wherein, during movement of the optical lens, the area of ​​the plates of the first detection capacitor is equal to the area of ​​the plates of the second detection capacitor, and the distance between the plates of the first detection capacitor is equal to the distance between the plates of the second detection capacitor.

[0329] During the movement of the optical lens, the facing area of ​​the plates of the first reference capacitor and the second reference capacitor and the distance between the plates remain unchanged.

[0330] Embodiment 26. The optical lens movement detection device as described in embodiment 21, wherein the first electrode plate of the first detection capacitor and the first electrode plate of the second detection capacitor are integrally formed.

[0331] Embodiment 27. The optical lens movement detection device according to embodiment 22, wherein the detection circuit comprises a first fully differential operational amplifier,

[0332] The second plate of the first detection capacitor is connected to the first input terminal of the first fully differential operational amplifier, and the second plate of the second detection capacitor is connected to the second input terminal of the first fully differential operational amplifier.

[0333] Embodiment 28. The optical lens movement detection device according to embodiment 27, wherein the detection circuit further includes a first charge injection circuit and a second charge injection circuit.

[0334] The first charge injection circuit is configured to inject a first preset amount of first charge into the second plate of the first detection capacitor, and the second charge injection circuit is configured to inject a second preset amount of second charge into the second plate of the second detection capacitor.

[0335] The polarities of the first charge and the second charge are opposite, and the first preset amount is equal to the second preset amount.

[0336] Embodiment 29. The optical lens movement detection device according to embodiment 28, wherein the first charge injection circuit includes a first switch, a second switch, and a third switch, and the second charge injection circuit includes a fourth switch, a fifth switch, and a sixth switch.

[0337] One end of the first switch is connected to the first input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the first detection capacitor.

[0338] One end of the second switch is connected to the power supply end, and the other end is connected to the first node between the first detection capacitor and the first switch.

[0339] One end of the third switch is connected to the ground, and the other end is connected to the first node between the first detection capacitor and the first switch.

[0340] One end of the fourth switch is connected to the second input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the second detection capacitor.

[0341] One end of the fifth switch is connected to the power supply end, and the other end is connected to the second node between the second detection capacitor and the fourth switch.

[0342] One end of the sixth switch is connected to the ground end, and the other end is connected to the second node between the second detection capacitor and the fourth switch.

[0343] Embodiment 30. The optical lens movement detection device according to embodiment 28, wherein the first charge injection circuit includes a first current source and a first control switch, and the second charge injection circuit includes a second current source and a second control switch.

[0344] One end of the first control switch is connected to the first current source, and the other end is connected to the second plate of the first detection capacitor.

[0345] One end of the second control switch is connected to the second current source, and the other end is connected to the second plate of the second detection capacitor.

[0346] Embodiment 31. The optical lens movement detection device according to embodiment 28, wherein the first charge injection circuit includes a first switch, a second switch, a third switch, a fourth switch, and a first control capacitor.

[0347] One end of the first switch is connected to the first end of the first control capacitor, and the other end is used to connect to the first preset voltage.

[0348] One end of the second switch is connected to the second end of the first control capacitor, and the other end is connected to the second plate of the first detection capacitor.

[0349] One end of the third switch is connected to a third node between the first switch and the first control capacitor, and the other end is grounded.

[0350] One end of the fourth switch is connected to a fourth node between the second switch and the first control capacitor, and the other end is used for a second preset voltage.

[0351] Embodiment 32. The optical lens movement detection device according to embodiment 31, wherein the second charge injection circuit includes a fifth switch, a sixth switch, a seventh switch, an eighth switch, and a second control capacitor.

[0352] One end of the fifth switch is connected to the first end of the second control capacitor, and the other end is used to connect to the third preset voltage.

[0353] One end of the sixth switch is connected to the second end of the second control capacitor, and the other end is connected to the second plate of the second detection capacitor.

[0354] One end of the seventh switch is connected to a fifth node between the fifth switch and the second control capacitor, and the other end is grounded.

[0355] One end of the eighth switch is connected to a sixth node between the sixth switch and the second control capacitor, and the other end is used for a fourth preset voltage.

[0356] Embodiment 33. The optical lens movement detection device according to embodiment 32, wherein the capacitance values ​​of the first control capacitor and the second control capacitor are equal,

[0357] The first preset voltage and the third preset voltage are equal in magnitude and opposite in electrical properties, and the second preset voltage and the fourth preset voltage are equal in magnitude and opposite in electrical properties.

[0358] Embodiment 34. An optical lens movement detection device as described in embodiment 27, wherein the second plate of the first reference capacitor is connected to the first input terminal of the first fully differential operational amplifier, and the second plate of the second reference capacitor is connected to the second input terminal of the first fully differential operational amplifier.

[0359] Embodiment 35. The optical lens movement detection device according to embodiment 34, wherein the detection circuit further includes a third charge injection circuit and a fourth charge injection circuit.

[0360] The third charge injection circuit is configured to inject a third preset amount of third charge into the second plate of the first reference capacitor, and the fourth charge injection circuit is configured to inject a fourth preset amount of fourth charge into the second plate of the second reference capacitor.

[0361] The third charge and the fourth charge have opposite polarities, and the third preset amount is equal to the fourth preset amount.

[0362] Embodiment 36. The optical lens movement detection device according to embodiment 35, wherein the third charge injection circuit includes a seventh switch, an eighth switch, and a ninth switch, and the fourth charge injection circuit includes a tenth switch, an eleventh switch, and a twelfth switch.

[0363] One end of the seventh switch is connected to the first input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the first reference capacitor.

[0364] One end of the eighth switch is connected to the power supply end, and the other end is connected to the seventh node between the first reference capacitor and the seventh switch.

[0365] One end of the ninth switch is connected to the ground end, and the other end is connected to the seventh node between the first reference capacitor and the seventh switch.

[0366] One end of the tenth switch is connected to the second input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the second reference capacitor.

[0367] One end of the eleventh switch is connected to the power supply end, and the other end is connected to the eighth node between the second reference capacitor and the tenth switch.

[0368] One end of the twelfth switch is connected to the ground, and the other end is connected to an eighth node between the second reference capacitor and the tenth switch.

[0369] Embodiment 37. The optical lens movement detection device according to embodiment 27, wherein the detection circuit further comprises a second fully differential operational amplifier.

[0370] The second plate of the first reference capacitor is connected to the first input terminal of the second fully differential operational amplifier, and the second plate of the second reference capacitor is connected to the second input terminal of the second fully differential operational amplifier.

[0371] Embodiment 38. An optical lens movement detection device for detecting a movement distance of an optical lens along an optical axis, the optical lens movement detection device comprising:

[0372] a first detection capacitor and a second detection capacitor;

[0373] a detection circuit configured to detect a first total capacitance value of the first detection capacitor and the second detection capacitor;

[0374] The first plate of the first detection capacitor and the first plate of the second detection capacitor are electrically connected to each other, the second plate of the first detection capacitor is connected to the first input terminal of the detection circuit, and the second plate of the second detection capacitor is connected to the second input terminal of the detection circuit;

[0375] The first plate of the first detection capacitor and the first plate of the second detection capacitor move with the optical lens, and the second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed;

[0376] When the optical lens moves along the direction of the optical axis, the first total capacitance value changes with the movement of the optical lens; when the optical lens moves along a direction perpendicular to the optical axis, the first total capacitance value remains unchanged.

[0377] Embodiment 39. The optical lens movement detection device of embodiment 38, wherein the first detection capacitor and the second detection capacitor are located on opposite sides of the optical axis, and the plates of the first detection capacitor and the second detection capacitor are parallel to the optical axis.

[0378] When the optical lens moves along the optical axis, the areas of the plates facing each other of the first detection capacitor and the second detection capacitor change with the movement of the optical lens;

[0379] When the optical lens moves in a direction perpendicular to the optical axis, the sum of the distances between the plates of the first detection capacitor and the second detection capacitor remains unchanged, and the areas facing each other between the plates of the first detection capacitor and the second detection capacitor are equal.

[0380] Embodiment 40. The optical lens movement detection device according to embodiment 38, wherein the plates of the first detection capacitor and the second detection capacitor are perpendicular to the optical axis.

[0381] When the optical lens moves in a direction perpendicular to the optical axis, the facing areas of the plates of the first detection capacitor and the second detection capacitor remain unchanged.

[0382] Embodiment 41. The optical lens movement detection device according to embodiment 38, further comprising a first reference capacitor and a second reference capacitor.

[0383] The detection circuit is further configured to detect a second total capacitance value of the first reference capacitor and the second reference capacitor;

[0384] The dielectric constants of the first detection capacitor, the second detection capacitor, the first reference capacitor, and the second reference capacitor remain equal during the movement of the optical lens, and the second total capacitance value remains unchanged during the movement of the optical lens.

[0385] Embodiment 42. The optical lens movement detection device of embodiment 41, wherein the first plate of the first reference capacitor and the first plate of the second reference capacitor are electrically connected to each other;

[0386] The second plate of the first reference capacitor is connected to the third input terminal of the detection circuit, and the second plate of the second reference capacitor is connected to the fourth input terminal of the detection circuit.

[0387] Embodiment 43. The optical lens movement detection device according to embodiment 42, wherein the first reference capacitor and the second reference capacitor are located on opposite sides of the optical axis, and the plates of the first reference capacitor and the second reference capacitor are parallel to the optical axis.

[0388] When the optical lens moves along the optical axis, the areas facing each other between the plates of the first reference capacitor and the second reference capacitor remain unchanged;

[0389] When the optical lens moves in a direction perpendicular to the optical axis, the sum of the distances between the plates of the first reference capacitor and the second reference capacitor remains unchanged, and the areas facing each other between the plates of the first reference capacitor and the second reference capacitor are equal.

[0390] Embodiment 44. The optical lens movement detection apparatus of embodiment 38, wherein the detection circuit comprises a first fully differential operational amplifier;

[0391] The second plate of the first detection capacitor is connected to the first input terminal of the first fully differential operational amplifier, and the second plate of the second detection capacitor is connected to the second input terminal of the first fully differential operational amplifier.

[0392] Embodiment 45. The optical lens movement detection device according to embodiment 44, wherein the detection circuit further comprises a first charge injection circuit and a second charge injection circuit;

[0393] The first charge injection circuit is configured to inject a first preset amount of first charge into the second plate of the first detection capacitor, and the second charge injection circuit is configured to inject a second preset amount of second charge into the second plate of the second detection capacitor;

[0394] The polarities of the first charge and the second charge are opposite, and the first preset amount is equal to the second preset amount.

[0395] Embodiment 46. The optical lens movement detection device of embodiment 41, wherein the detection circuit further comprises a second fully differential operational amplifier;

[0396] The second plate of the first reference capacitor is connected to the first input terminal of the second fully differential operational amplifier, and the second plate of the second reference capacitor is connected to the second input terminal of the second fully differential operational amplifier.

[0397] Embodiment 47. The optical lens movement detection device according to embodiment 46, wherein the detection circuit further comprises a third charge injection circuit and a fourth charge injection circuit.

[0398] The third charge injection circuit is configured to inject a third preset amount of third charge into the second plate of the first reference capacitor, and the fourth charge injection circuit is configured to inject a fourth preset amount of fourth charge into the second plate of the second reference capacitor;

[0399] The third charge and the fourth charge have opposite polarities, and the third preset amount is equal to the fourth preset amount.

[0400] Embodiment 48. An optical image stabilization method, wherein the method applies the optical lens movement detection device as described in any one of the above embodiments 19 to 47.

[0401] Embodiment 49. A focus motor, comprising the optical lens movement detection device as described in any one of Embodiments 19 to 47 above.

[0402] Embodiment 50. A camera module comprising a focus motor as described in embodiment 49.

[0403] Embodiment 51. An electronic device comprising the camera module described in embodiment 50.

[0404] In the above exemplary embodiments and implementations, when the optical lens moves along the direction of the optical axis, since the first total capacitance value changes with the movement of the optical lens, the moving distance of the optical lens can be calculated by the first detection capacitance and the first total capacitance value of the second detection capacitance, thereby realizing the focus detection function of the camera module; and when the optical lens moves in a direction perpendicular to the optical axis, since the first total capacitance value remains unchanged, it is possible to avoid the phenomenon of affecting the focus detection of the camera module when the camera module performs optical image stabilization, thereby realizing the decoupling of the focus detection of the camera module and the optical image stabilization, and thus eliminating the need to independently design the focus movement mechanism and the optical image stabilization mechanism of the camera module, and ultimately contributing to the simplification of the camera module structure.

[0405] In addition, in some embodiments, by setting the detection capacitor and the reference capacitor at the same time, since the dielectric constants of the reference capacitor and the detection capacitor remain equal during the movement of the optical lens, the area facing the plates of the reference capacitor and the distance between the plates remain unchanged during the movement of the optical lens. The detection circuit can then determine the moving distance of the optical lens based on the capacitance value of the detection capacitor and the capacitance value of the reference capacitor. When calculating the moving distance of the optical lens, the influence of the dielectric constant changed due to environmental changes can be offset, thereby ensuring the accuracy of the detection of the moving distance of the optical lens, and ultimately achieving the purpose of improving the robustness of the focus detection scheme.

[0406] Several exemplary embodiments of optical lens movement detection devices have been described above. It should be understood that the number, shape, and arrangement of capacitors included in the optical lens movement detection device can be varied, and the detection circuitry can be appropriately adjusted. Further exemplary embodiments of the optical lens movement detection device are described below. It should be understood that, based on the principles taught herein, those skilled in the art may combine or substitute features from the various exemplary embodiments.

[0407] Referring to FIG37 , FIG37 shows a schematic circuit diagram of a motion detection device according to an embodiment of the present application, wherein the motion detection device may include a detection circuit 100 and a capacitor module 200. The capacitor module 200 may be associated with a detection object (not shown) and includes a first capacitor 210, a second capacitor 220, and a third capacitor 230, which may also be referred to as a detection capacitor. The first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are electrically connected to each other, and the second plate 212 of the first capacitor 210, the second plate 222 of the second capacitor 220, and the second plate 232 of the third capacitor 230 are connected to the detection circuit 100. In other words, the detection circuit 100 is only connected to the second plates 212, 222, and 232 of each capacitor, without having to connect both the first plate and the second plate of the same capacitor (i.e., a mobile plate and a fixed plate).

[0408] In one embodiment of the present application, the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 changes with the movement of the detection object; the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 does not change with the movement of the detection object, or the series capacitance value of the first capacitor 210 and the second capacitor 220 does not change with the movement of the detection object. In some embodiments described below, an optical lens is used as an example of the detection object to illustrate how to arrange the plates of the first capacitor 210, the second capacitor 220, and the third capacitor 230. However, it should be understood that the movement detection device of the present application is not limited to detecting the movement of an optical lens, but can also detect the movement of other moving devices or components, and the present invention does not impose any restrictions on this.

[0409] FIG38 is a schematic structural diagram of an optical lens movement detection device according to an embodiment of the present application, which shows the arrangement of relevant capacitors. Referring to FIG38 , the moving structure of the optical lens 1 includes a mover bracket 2 and a stator bracket 3. The optical lens 1 is fixedly connected to the mover bracket 2. The mover bracket 2 can move left and right relative to the stator bracket 3 to achieve left and right movement of the optical lens 1, for example, movement in a direction perpendicular to the optical axis. It can be understood that the moving structure of the optical lens 1 can also include other components, such as a motor that drives the mover bracket 2 to move, and a coil or magnet that drives the mover bracket 2 to move.

[0410] As shown in the figure, the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are electrically connected to each other, and the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are fixed on the mover bracket 2. Among them, the first plate 211 of the first capacitor 210 is fixed to the left side of the mover bracket 2, the first plate 221 of the second capacitor 220 is fixed to the right side of the mover bracket 2, and the first plate 231 of the third capacitor 230 is fixed to the bottom of the mover bracket 2; the second plate 212 of the first capacitor 210 is fixed to the inner wall surface on the left side of the stator bracket 3 and is opposite to the first plate 211 of the first capacitor 210, the second plate 222 of the second capacitor 220 is fixed to the inner wall surface on the right side of the stator bracket 3 and is opposite to the first plate 221 of the second capacitor 220, and the second plate 232 of the third capacitor 230 is fixed to the inner wall surface at the bottom of the stator bracket 3 and is opposite to the first plate 231 of the third capacitor 230. For example, the first capacitor 210 and the second capacitor 220 are arranged on both sides of the optical axis of the optical lens 1 and are parallel to the optical axis direction, and the third capacitor 230 is arranged to be perpendicular to the optical axis direction of the optical lens 1.

[0411] It can be seen that in Figure 38, when the optical lens 1 moves left and right, the areas of the plates facing each other of the first capacitor 210, the second capacitor 220 and the third capacitor 230 remain unchanged, and the plate spacing of the third capacitor 230 also remains unchanged, while the plate spacing of one of the first capacitor 210 and the second capacitor 220 decreases, and the plate spacing of the other increases, but the sum of the plate spacings of the first capacitor 210 and the second capacitor 220 remains unchanged. According to the capacitance formula, for the first capacitor 210, the second capacitor 220 and the third capacitor 230 arranged in Figure 38, the series capacitance value of the first capacitor 210 and the second capacitor 220 does not change as the optical lens 1 moves left and right, but the difference in capacitance between the first capacitor 210 and the second capacitor 220 changes as the optical lens 1 moves left and right.

[0412] As another exemplary embodiment, refer to Figure 39, which shows another schematic diagram of the arrangement of relevant capacitors in an embodiment of the present application. In Figure 39, the mover bracket 2 can move up and down relative to the stator bracket 3, so as to realize the up and down movement of the optical lens 1 through the relative movement of the mover bracket 2 and the stator bracket 3.

[0413] Specifically, the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are electrically connected to each other, and the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are fixed to the mover bracket 2, and the second plate 212 of the first capacitor 210, the second plate 222 of the second capacitor 220, and the second plate 232 of the third capacitor 230 are fixed to the stator bracket 3. The first plate 211 of the first capacitor 210 and the first plate 221 of the second capacitor 220 are an integral plate, with a portion of the integral plate opposing the second plate 212 of the first capacitor 210 forming the first capacitor 210, and another portion opposing the second plate 222 of the second capacitor 220 forming the second capacitor 220.

[0414] In Figure 39, when the optical lens 1 moves up and down, the distance between the plates of the first capacitor 210, the second capacitor 220 and the third capacitor 230 remains unchanged, and the plate-facing area of ​​the third capacitor 230 also remains unchanged, while the plate-facing area of ​​one of the first capacitor 210 and the second capacitor 220 decreases, and the plate-facing area of ​​the other increases, but the sum of the plate-facing areas of the first capacitor 210 and the second capacitor 220 remains unchanged. According to the capacitance formula, for the first capacitor 210, the second capacitor 220 and the third capacitor 230 arranged in Figure 39, the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 does not change as the optical lens 1 moves left and right, while the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 changes as the optical lens 1 moves up and down.

[0415] It should be understood that the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230, which are electrically connected to each other in the embodiment of the present application, can be independent plates that are electrically connected by wires. For example, as shown in FIG38, the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are electrically connected by wires, or at least two of the three can be integrally formed into a single piece. For example, in FIG39, the first capacitor 21 0 and the first plate 221 of the second capacitor 220 are an integral plate; for another example, referring to Figure 40, Figure 40 shows another schematic diagram of the arrangement of the relevant capacitors in the embodiment of the present application, the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are an integral plate, which can eliminate the wires electrically connecting the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230.

[0416] It can be understood that the above-mentioned arrangement of the first capacitor 210, the second capacitor 220 and the third capacitor 230 is merely an exemplary embodiment in which the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 does not change with the movement of the detection object, while the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 changes with the movement of the detection object. Those skilled in the art can make equivalent modified designs under the guidance of this application.

[0417] For example, referring to Figure 41, Figure 41 shows another schematic diagram of the arrangement of relevant capacitors in an embodiment of the present application, wherein the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are complementary trapezoidal plates. In this way, when the optical lens 1 moves up and down, the plate-facing area of ​​one of the first capacitor 210 and the second capacitor 220 decreases, and the plate-facing area of ​​the other increases, but the sum of the plate-facing areas of the first capacitor 210 and the second capacitor 220 remains unchanged. Therefore, the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 does not change with the movement of the optical lens 1, while the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 changes with the movement of the optical lens 1.

[0418] For another example, refer to Figure 42, which shows another schematic diagram of the arrangement of relevant capacitors in an embodiment of the present application, wherein the movable bracket 2 includes an anti-shake bracket 202 and a focus bracket 201, the anti-shake bracket 202 can move in the plane where the X-axis and Y-axis are located (for example, a plane perpendicular to the optical axis of the optical lens 1), and the focus bracket 201 can move along the Z-axis (for example, along the optical axis direction) on the anti-shake bracket 202. When the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are fixed on the focus bracket 201, the detection circuit 100 can perform focus position detection on the optical lens 1.

[0419] For another example, refer to Figure 43, which shows another schematic diagram of the arrangement of relevant capacitors in an embodiment of the present application, wherein the movable bracket 2 includes a first anti-shake bracket 203, a second anti-shake bracket 204 and a first focusing bracket 205. The first anti-shake bracket 203 can move along the X-axis, the second anti-shake bracket 204 can move along the Y-axis, and the first focusing bracket 205 can move along the Z-axis. When the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are fixed on the first focusing bracket 205, the detection circuit 100 can detect the focusing position of the optical lens 1.

[0420] It can be understood that when the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are fixed on other brackets (such as the anti-shake bracket 202, the first anti-shake bracket 203, and the second anti-shake bracket 204), the movement position detection of the optical lens 1 in other directions (such as optical anti-shake function) can be realized.

[0421] Some embodiments of the detection circuit 100 for detecting the capacitor module 200 are described below. Please refer to Figure 44, which shows a schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the detection circuit 100 includes a voltage control module 110 and a measurement module 120.

[0422] Specifically, the voltage control module 110 is used to control the voltage of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, so that the second plate 232 of the third capacitor 230 releases charge, and enables the measurement module 120 to receive the charge released by the second plate 232 of the third capacitor 230 and thus output a first digital signal Dout1 related to the first capacitance value, and a second digital signal Dout2 related to the second capacitance value.

[0423] In some embodiments of the present application, the voltage control module 110 may include a switching circuit that switches the voltage signals received by the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, thereby controlling the voltages of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220. In some embodiments of the present application, the voltage control module 110 may include a clock signal generating circuit that outputs a clock signal that periodically changes between a high level and a low level, thereby controlling the voltages of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 using the clock signal.

[0424] The measurement module 120 is used to output a first digital signal Dout1 related to a first capacitance value according to the amount of charge released by the second plate 232 of the third capacitor 230 during the process in which the voltage control module 110 changes the voltage of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, and to output a second digital signal Dout2 related to a second capacitance value according to the amount of charge released by the second plate 232 of the third capacitor 230, wherein the first capacitance value is the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220, and the second capacitance value is the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220.

[0425] For example, taking the capacitor arrangement shown in FIG38 as an example, the first capacitance value and the second capacitance value satisfy the following relationship:

[0426] Among them, C1 is the capacitance value of the first capacitor 210, C2 is the capacitance value of the second capacitor 220, S0 is the area of ​​the plates facing each other, d1 is the distance between the plates of the first capacitor 210, d2 is the distance between the plates of the second capacitor 220, and d0 is the sum of the distances between the plates of the first capacitor 210 and the second capacitor 220 and is fixed.

[0427] Assume that the first digital signal Dout1 and the first capacitance value, and the second digital signal Dout2 and the second capacitance value satisfy the following relationship:

[0428] Dout1=(C1-C2)*k1

[0429] Dout2=(C1+C2)*k2 (42)

[0430] Where C1 is the capacitance of the first capacitor 210, C2 is the capacitance of the second capacitor 220, and k1 and k2 are conversion coefficients.

[0431] Therefore, the difference between the plate spacing of the first capacitor 210 and the plate spacing of the second capacitor 220 satisfies the following formula:

[0432] In the embodiment shown in FIG38 , it can be seen that the difference between the plate spacing of the first capacitor 210 and the plate spacing of the second capacitor 220 is twice the moving distance of the optical lens. Therefore, the moving distance D of the optical lens can be calculated according to the following formula:

[0433] It can be seen that since the sum of the plate distances between the first capacitor 210 and the second capacitor 220 remains unchanged, after determining the first digital signal Dout1 corresponding to the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220, and the second digital signal Dout2 corresponding to the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220, the moving distance of the optical lens can be calculated according to the above formula.

[0434] Therefore, in the process of the voltage control module 110 changing the voltage of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, the measuring module 120 can output a first digital signal Dout1 related to the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 according to the amount of charge released by the second plate 232 of the third capacitor 230, and can output a second digital signal Dout2 related to the difference in capacitance values ​​of the first capacitor 210 and the second capacitor 220 according to the amount of charge released by the second plate 232 of the third capacitor 230. Since the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 does not change with the detection pair, The detection object may change with the movement of an object (such as an optical lens), or the series capacitance value of the first capacitor 210 and the second capacitor 220 does not change with the movement of the detection object, while the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 changes with the movement of the detection object. Therefore, the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220 (or the series capacitance value of the first capacitor 210 and the second capacitor 220) represents a fixed position, and the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220 represents the moving distance of the detection object. The moving distance of the detection object can then be calculated using the first digital signal Dout1 and the second digital signal Dout2.

[0435] At the same time, since the detection circuit 100 of the present application controls the voltage of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, and receives the charge released by the second plate 232 of the third capacitor 230, that is to say, the detection circuit 100 of the present application is only connected to the second plate 212 of the first capacitor 210, the second plate 222 of the second capacitor 220 and the second plate 232 of the third capacitor 230, without connecting the first plate and the second plate of the same capacitor (that is, a movable plate and another fixed plate). Ultimately, the detection circuit 100 of the present application can accurately determine the moving position of the detection object while also helping to reduce the manufacturing difficulty of the optical lens movement detection device.

[0436] In some embodiments of the present application, when the measuring module 120 outputs a first digital signal Dout1 related to the first capacitance value based on the amount of charge released by the second plate 232 of the third capacitor 230, the voltage changes of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are opposite. For example, in one unit time, the second plate 212 of the first capacitor 210 is 5V and the second plate 222 of the second capacitor 220 is 0V. In the next unit time, the second plate 212 of the first capacitor 210 is 0V and the second plate 222 of the second capacitor 220 is 5V.

[0437] At the same time, when the measuring module 120 outputs the second digital signal Dout2 related to the second capacitance value according to the amount of charge released by the second plate 232 of the third capacitor 230, the voltage changes of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are the same. For example, in one unit time, the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are both 3V, and in the next unit time, the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are both -2V.

[0438] In some embodiments of the present application, the voltage control module 110 has a first working state, a second working state, a third working state, and a fourth working state; in the first working state, the voltage control module 110 controls the voltage of the second plate 212 of the first capacitor 210 to be the first reference voltage Vref1, and controls the voltage of the second plate 222 of the second capacitor 220 to be the second reference voltage Vref2; in the second working state, the voltage control module 110 controls the voltage of the second plate 212 of the first capacitor 210 to be the second reference voltage Vref2, and controls the voltage of the second plate 222 of the second capacitor 220 to be the second reference voltage Vref2. 20 is the first reference voltage Vref1; in the third working state, the voltage control module 110 controls the voltage of the second plate 212 of the first capacitor 210 to be the first reference voltage Vref1, and controls the voltage of the second plate 222 of the second capacitor 220 to be the first reference voltage Vref1; in the fourth working state, the voltage control module 110 controls the voltage of the second plate 212 of the first capacitor 210 to be the second reference voltage Vref2, and controls the voltage of the second plate 222 of the second capacitor 220 to be the second reference voltage Vref2.

[0439] Specifically, referring to FIG. 45 , FIG. 45 shows a state switching schematic diagram of the detection circuit 100 in an embodiment of the present application. In this diagram, when the voltage control module 110 switches from the first working state to the second working state, since the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 do not lose charge, according to the law of charge conservation, it can be seen that:

[0440] (VX1-Vref1)*C1+(VX1-Vref2)*C2+VX1*C3=(VX2-Vref2)*C1+(VX2-Vref1)*C2+VX2*C3(46)

[0441] Wherein, C3 is the capacitance value of the third capacitor 230, VX1 is the voltage of the first plate of the first capacitor 210, the second capacitor 220 and the third capacitor 230 in the first working state, and VX2 is the voltage of the first plate of the first capacitor 210, the second capacitor 220 and the third capacitor 230 in the second working state.

[0442] After conversion according to the above formula, we can know that:

[0443] (VX1-VX2)*(C1+C2+C3)=(C1-C2)*(Vref1-Vref2) (47)

[0444] The charge released by the second plate 232 of the third capacitor 230 satisfies the following formula:

[0445] △Q1=(VX1-VX2)*C3 (48)

[0446] ΔQ1 is the amount of charge released from the second plate 232 of the third capacitor 230 when the voltage control module 110 switches from the first working state to the second working state.

[0447] According to the above formula, the charge released by the second plate 232 of the third capacitor 230 can be calculated as follows:

[0448] It can be seen that the above formula contains the term C1-C2. Therefore, when the voltage control module 110 is switched from the first working state to the second working state, the amount of charge released by the second plate 232 of the third capacitor 230 is related to the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220. Therefore, the measurement module 120 can output a first digital signal Dout1 related to the first capacitance value (i.e., the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220) according to the amount of charge released by the second plate 232 of the third capacitor 230 when the voltage control module 110 is switched from the first working state to the second working state.

[0449] Similarly, referring to FIG. 46 , FIG. 46 shows another state switching schematic diagram of the detection circuit 100 in an embodiment of the present application. In particular, when the voltage control module 110 switches from the third working state to the fourth working state, since there is no charge loss in the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230, according to the law of charge conservation:

[0450] (VX3-Vref1)*C1+(VX3-Vref1)*C2+VX3*C3=(VX4-Vref2)*C1+(VX4-Vref2)*C2+VX4*C3(50)

[0451] Wherein, VX3 is the voltage of the first plate of the first capacitor 210, the second capacitor 220 and the third capacitor 230 in the third working state, and VX4 is the voltage of the first plate of the first capacitor 210, the second capacitor 220 and the third capacitor 230 in the fourth working state. After conversion of the above formula, it can be known that:

[0452] (VX3-VX4)*(C1+C2+C3)=(C1+C2)*(Vref1-Vref2) (51)

[0453] The charge released by the second plate 232 of the third capacitor 230 satisfies the following formula:

[0454] △Q2=(VX3-VX4)*C3 (52)

[0455] Wherein, ΔQ1 is the amount of charge released by the second plate 232 of the third capacitor 230 when the voltage control module 110 switches from the third working state to the fourth working state. According to the above formula, the charge released by the second plate 232 of the third capacitor 230 can be calculated as follows:

[0456] It can be seen that the above formula contains the term C1+C2. Therefore, when the voltage control module 110 is switched from the third working state to the fourth working state, the amount of charge released by the second plate 232 of the third capacitor 230 is related to the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220. Therefore, the measurement module 120 can output a second digital signal Dout2 related to the second capacitance value (i.e., the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220) according to the amount of charge released by the second plate 232 of the third capacitor 230 when the voltage control module 110 is switched from the third working state to the fourth working state.

[0457] It should be pointed out that, in the embodiment of the present application, the first reference voltage Vref1 is not equal to the second reference voltage Vref2. Those skilled in the art may select a reference voltage of appropriate size according to actual needs. For example, the first reference voltage Vref1 may be greater than the second reference voltage Vref2, the second reference voltage Vref2 is the ground terminal voltage, and the first reference voltage Vref1 is the power terminal voltage. For another example, the first reference voltage Vref1 may be less than the second reference voltage Vref2, the second reference voltage Vref2 is the power terminal voltage, and the first reference voltage Vref1 is the ground terminal voltage.

[0458] It should be noted that the detection circuit 100 of the present application can eliminate multiple interference factors and improve the detection accuracy of the moving distance of the optical lens. For example, for the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230 are an embodiment of an integral plate. Due to the influence of other metal structural parts (such as a metal shell), parasitic capacitance may exist in the capacitor module 200. For example, refer to Figure 47, which shows another schematic diagram of the detection circuit 100 in the embodiment of the present application. Other metal structural parts form parasitic capacitance relative to the integral plate. Although there is a parasitic capacitance phenomenon, the solution of the present application will not be interfered by the parasitic capacitance, which is explained in detail below.

[0459] Specifically, when the voltage control module 110 switches from the first working state to the second working state, since there is no charge loss in the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220, and the first plate 231 of the third capacitor 230, according to the law of charge conservation:

[0460] (VX1-Vref1)*C1+(VX1-Vref2)*C2+VX1*C3+VX1*CP=(VX2-Vref2)*C1+(VX2-Vref1)*C2+VX2*C3+VX2*CP (54)

[0461] Where CP is the capacitance value of the parasitic capacitor. After conversion of the above formula, we can know:

[0462] (VX1-VX2)*(C1+C2+C3+CP)=(C1-C2)*(Vref1-Vref2) (55)

[0463] Therefore, the charge released by the second plate 232 of the third capacitor 230 can be calculated as follows:

[0464] Similarly, when the voltage control module 110 switches from the third working state to the fourth working state, the charge released by the second plate 232 of the third capacitor 230 can be calculated according to the following formula:

[0465] Assume that the first digital signal Dout1, the second digital signal Dout2 and the charge released by the second plate 232 of the third capacitor 230 satisfy the following relationship:

[0466] Dout1=△Q1*kx

[0467] Dou2=△Q2*ky (58)

[0468] Among them, kx and ky are conversion coefficients. Then, we can know:

[0469] Combined with the above-mentioned calculation formula of the moving distance D of the optical lens, it can be known that the moving distance D of the optical lens can be finally calculated according to the following formula:

[0470] It can be seen that the above formula cancels out the Vref1-Vref2 term, the C1+C2+C3+CP term, and the C3 term. Therefore, the detection circuit 100 of the present application will not be affected by the accuracy of the first reference voltage Vref1, the accuracy of the second reference voltage Vref2, the parasitic capacitance, and the third capacitor 230, thereby helping to improve the detection accuracy of the moving distance of the optical lens.

[0471] It should be noted that, in combination with the above content, the capacitance value of the third capacitor does not affect the calculation of the movement distance D of the optical lens. Therefore, the fixed capacitance value of the third capacitor in Figures 38 to 43 is only used as an exemplary embodiment of the present application. In fact, changes in the capacitance value of the third capacitor do not affect the detection accuracy of the optical lens movement distance D of the present application. In some embodiments, the third capacitor can also be referred to as a third reference capacitor.

[0472] In some embodiments of the present application, for example, for an embodiment in which the voltage control module 110 includes a switching circuit, refer to Figure 48, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the voltage control module 110 includes a first switch S1, a second switch S2, a third switch S3 and a fourth switch S4; the first end of the first switch S1 is connected to the first reference voltage Vref1, and the second end of the first switch S1 is connected to the second plate 212 of the first capacitor 210; the first end of the second switch S2 is connected to the second reference voltage Vref2, and the second end of the second switch S2 is connected to the second plate 212 of the first capacitor 210; the first end of the third switch S3 is connected to the first reference voltage Vref1, and the second end of the third switch S3 is connected to the second plate 222 of the second capacitor 220; the first end of the fourth switch S4 is connected to the second reference voltage Vref2, and the second end of the fourth switch S4 is connected to the second plate 222 of the second capacitor 220.

[0473] When the first switch S1 and the fourth switch S4 are closed and the second switch S2 and the third switch S3 are opened, the voltage of the second plate 212 of the first capacitor 210 is the first reference voltage Vref1, and the voltage of the second plate 222 of the second capacitor 220 is the second reference voltage Vref2, which corresponds to the first working state of the voltage control module 110.

[0474] When the second switch S2 and the third switch S3 are closed and the first switch S1 and the fourth switch S4 are opened, the voltage of the second plate 212 of the first capacitor 210 is the second reference voltage Vref2, and the voltage of the second plate 222 of the second capacitor 220 is the first reference voltage Vref1, which corresponds to the second working state of the voltage control module 110.

[0475] When the first switch S1 and the third switch S3 are closed and the second switch S2 and the fourth switch S4 are opened, the voltage of the second plate 212 of the first capacitor 210 is the first reference voltage Vref1, and the voltage of the second plate 222 of the second capacitor 220 is the first reference voltage Vref1, which corresponds to the third working state of the voltage control module 110.

[0476] When the second switch S2 and the fourth switch S4 are closed and the first switch S1 and the third switch S3 are opened, the voltage of the second plate 212 of the first capacitor 210 is the second reference voltage Vref2, and the voltage of the second plate 222 of the second capacitor 220 is the second reference voltage Vref2, which corresponds to the fourth working state of the voltage control module 110.

[0477] It can be seen that by controlling the first switch S1 , the second switch S2 , the third switch S3 and the fourth switch S4 , the voltage control module 110 can control the voltages of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 .

[0478] In some embodiments of the present application, for example, for an embodiment in which the voltage control module 110 includes a clock signal generating circuit, refer to Figure 49, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the voltage control module 110 includes a first clock output unit 111 and a second clock output unit 112; the first clock output unit 111 is used to output a first clock signal CLK1 whose high level is the first reference voltage Vref1 and whose low level is the second reference voltage Vref2; the second clock output unit 112 is used to output a second clock signal CLK2 whose high level is the first reference voltage Vref1 and whose low level is the second reference voltage Vref2; wherein the first clock signal CLK1 and the second clock signal CLK2 have opposite phases.

[0479] When the first clock output unit 111 inputs the first clock signal CLK1 to the second plate 212 of the first capacitor 210, and the second clock output unit 112 inputs the second clock signal CLK2 to the second plate 222 of the second capacitor 220, since the first clock signal CLK1 and the second clock signal CLK2 have opposite phases, when the first clock signal CLK1 is at a high level and the second clock optical signal is at a low level, the voltage on the second plate 212 of the first capacitor 210 is the first reference voltage Vref1, and the voltage on the second plate 222 of the second capacitor 220 is the second reference voltage Vref2, which corresponds to the first operating state of the voltage control module 110. Conversely, when the first clock signal CLK1 is at a low level and the second clock optical signal is at a high level, the voltage on the second plate 212 of the first capacitor 210 is the second reference voltage Vref2, and the voltage on the second plate 222 of the second capacitor 220 is the first reference voltage Vref1, which corresponds to the second operating state of the voltage control module 110.

[0480] When the first clock output unit 111 inputs the first clock signal CLK1 to the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, or the second clock output unit 112 inputs the second clock signal CLK2 to the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220, when the first clock signal CLK1 or the second clock signal CLK2 is at a high level, the voltage of the second plate 212 of the first capacitor 210 is the first reference voltage Vref1, and the voltage of the second plate 222 of the second capacitor 220 is the first reference voltage Vref1, which corresponds to the third working state of the voltage control module 110; conversely, when the first clock signal CLK1 or the second clock signal CLK2 is at a low level, the voltage of the second plate 212 of the first capacitor 210 is the second reference voltage Vref2, and the voltage of the second plate 222 of the second capacitor 220 is the second reference voltage Vref2, which corresponds to the fourth working state of the voltage control module 110.

[0481] It can be seen that the present application can also achieve the purpose of voltage control of the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 by the voltage control module 110 through the first clock signal CLK1 and the second clock signal CLK2 output by the first clock output unit 111 and the second clock output unit 112.

[0482] For example, the first clock output unit 111 and the second clock output unit 112 may include, but are not limited to, circuits that can generate clock signals, such as an RC oscillator, a crystal oscillator, and a phase-locked loop.

[0483] In some embodiments of the present application, refer to Figure 50, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the measurement module 120 includes a first operational amplifier OP1 and an integrating capacitor CI; the inverting input terminal of the first operational amplifier OP1 is connected to the second plate 232 of the third capacitor 230, and the non-inverting input terminal of the first operational amplifier OP1 is connected to the ground terminal; the first plate of the integrating capacitor CI is connected to the inverting input terminal of the first operational amplifier OP1, and the second plate of the integrating capacitor CI is connected to the output terminal of the first operational amplifier OP1.

[0484] The first operational amplifier OP1 and the integrating capacitor CI form an integrator, which can integrate the charge output by the second plate 232 of the third capacitor 230, thereby converting the charge signal into a voltage signal. After the voltage signal is further converted into a digital signal through a related analog-to-digital conversion circuit, a first digital signal Dout1 related to the first capacitance value and a second digital signal Dout2 related to the second capacitance value can be output.

[0485] For example, in the embodiment shown in Figure 50, the measurement module 120 also includes an integrating switch SI and an analog-to-digital converter ADC; the first end of the integrating switch SI is connected to the inverting input end of the first operational amplifier OP1, and the second end of the integrating switch SI is connected to the output end of the first operational amplifier OP1; the input end of the analog-to-digital converter ADC is connected to the output end of the first operational amplifier OP1, and the analog-to-digital converter ADC is used to output a first digital signal Dout1 and a second digital signal Dout2.

[0486] When the voltage control module 110 is in the first working state, the first switch S1, the fourth switch S4, and the integrating switch S1 are closed, and the second switch S2 and the third switch S3 are opened. Due to the virtual short and virtual off characteristics of the first operational amplifier OP1, the voltage at the inverting input terminal of the first operational amplifier OP1 is the ground voltage. Similarly, when the voltage control module 110 is in the second working state, the first switch S1, the fourth switch S4, and the integrating switch are opened, and the second switch S2 and the third switch S3 are closed. Due to the virtual short and virtual off characteristics of the first operational amplifier OP1, the voltage at the inverting input terminal of the first operational amplifier OP1 is the ground voltage. Therefore, the first working state is switched to the second working state. According to the law of charge conservation:

[0487] (VX1-Vref1)*C1+(VX1-Vref2)*C2+VX1*C3=(VX2-Vref2)*C1+(VX2-Vref1)*C2+VX2*C3(61)

[0488] After converting the above formula, we can know that:

[0489] (VX1-VX2)*(C1+C2+C3)=(C1-C2)*(Vref1-Vref2) (62)

[0490] The charge released by the second plate 232 of the third capacitor 230 satisfies the following formula:

[0491] △Q1=(VX2-VX1)*C3 (63)

[0492] It can be seen that the charge released by the second plate 232 of the third capacitor 230 can be calculated according to the following formula:

[0493] Since the charge released by the second plate 232 of the third capacitor 230 is integrated by the integrating capacitor CI, the voltage difference across the integrating capacitor CI is:

[0494] Wherein, Vout1 is the voltage output by the integration capacitor CI when the voltage control module 110 switches from the first working state to the third working state. Finally, after the analog-to-digital converter ADC converts the voltage output by the integration capacitor CI, the first digital signal Dout1 obtained is:

[0495] Dout1=Vout1*k (66)

[0496] Wherein, k is the conversion coefficient of the analog-to-digital converter ADC.

[0497] Similarly, when the voltage control module 110 switches from the third working state to the fourth working state, the voltage output by the integral capacitor CI is:

[0498] Wherein, Vout2 is the voltage output by the integration capacitor CI when the voltage control module 110 switches from the third working state to the fourth working state. Finally, after the analog-to-digital converter ADC converts the voltage output by the integration capacitor CI, the second digital signal Dout2 obtained is:

[0499] Dout2=Vout2*k (68)

[0500] According to the above formula, it can be seen that the first digital signal Dout1 is related to the difference between the capacitance values ​​of the first capacitor 210 and the second capacitor 220, and the second digital signal Dout2 is related to the sum of the capacitance values ​​of the first capacitor 210 and the second capacitor 220. Therefore, the movement distance of the detection object can be calculated using the first digital signal Dout1 and the second digital signal Dout2. The relevant calculation process can be referred to the above content and will not be repeated here.

[0501] In some embodiments of the present application, for example, for an embodiment in which the voltage control module 110 includes a first clock output unit 111 and a second clock output unit 112, refer to Figure 51, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the measurement module 120 also includes a feedback resistor RI, a demodulation unit Demod and an analog-to-digital converter ADC; the first end of the feedback resistor RI is connected to the inverting input end of the first operational amplifier OP1, and the second end of the feedback resistor RI is connected to the output end of the first operational amplifier OP1; the demodulation unit Demod is used to demodulate the continuous voltage signal output by the first operational amplifier OP1 into a discrete signal, and the analog-to-digital converter ADC is used to output a first digital signal Dout1 and a second digital signal Dout2 according to the discrete signal.

[0502] The feedback resistor RI, the first operational amplifier OP1, and the integrating capacitor CI form a charge amplifier. The charge amplifier can convert the charge signal output by the second capacitor 220 into a continuous voltage signal, and the demodulation unit Demod can demodulate the continuous voltage signal output by the first operational amplifier OP1 into a discrete signal. For example, the demodulation obtains the Vout1 and Vout2 voltage signals in the above embodiment, and performs analog-to-digital conversion in the analog-to-digital converter ADC to output a first digital signal Dout1 and a second digital signal Dout2. The first digital signal Dout1 and the second digital signal Dout2 can then be used to calculate the movement distance of the detection object.

[0503] In some embodiments of the present application, refer to Figure 52, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the measurement module 120 also includes a first integration switch SIn, a second integration switch SIp, a quantizer Qt and a digital-to-analog converter DAC; the first end of the first integration switch SIn is connected to the inverting input end of the first operational amplifier OP1, and the second end of the first integration switch SIn is connected to the output end of the first operational amplifier OP1; the first end of the second integration switch SIp is connected to the inverting input end of the first operational amplifier OP1, and the second end of the second integration switch SIp is connected to the first plate of the integration capacitor CI; the quantizer Qt is connected to the output end of the first operational amplifier OP1, the input end of the digital-to-analog converter DAC is connected to the output end of the quantizer Qt, and the output end of the digital-to-analog converter DAC is connected to the inverting input end of the first operational amplifier OP1.

[0504] In the first and third operating states of the voltage control module 110, the first integrating switch SIn is closed and the second integrating switch SIp is open. In the second and fourth operating states of the voltage control module 110, the first integrating switch SIn is open and the second integrating switch SIp is closed. This allows the integrating capacitor CI to integrate the charge output from the second plate 232 of the third capacitor 230 in the second and fourth operating states of the voltage control module 110. Furthermore, the first integrating switch SIn, the second integrating switch SIp, the integrating capacitor CI, the first operational amplifier OP1, the quantizer Qt, and the digital-to-analog converter DAC form part of an SD ADC (Sigma-Delta ADC). Based on the analog-to-digital conversion principle of the SD ADC, the charge input from the second plate 232 of the third capacitor 230 over multiple cycles can be quantized and output as a first digital signal Dout1 and a second digital signal Dout2.

[0505] In some embodiments of the present application, for example, for an embodiment in which the voltage control module 110 includes a first clock output unit 111 and a second clock output unit 112, refer to Figure 53, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein the measurement module 120 also includes a demodulation unit Demod, a quantizer Qt and a digital-to-analog converter DAC; the input end of the demodulation unit Demod is connected to the second plate 232 of the third capacitor 230, and the output end of the demodulation unit Demod is connected to the inverting input end of the first operational amplifier OP1, and the demodulation unit Demod is used to demodulate the continuous charge signal output by the second plate 232 of the third capacitor 230 into a discrete signal; the quantizer Qt is connected to the output end of the first operational amplifier OP1, the input end of the digital-to-analog converter DAC is connected to the output end of the quantizer Qt, and the output end of the digital-to-analog converter DAC is connected to the inverting input end of the first operational amplifier OP1.

[0506] When the second plate 212 of the first capacitor 210 and the second plate 222 of the second capacitor 220 are connected to the clock signal, the second plate 232 of the third capacitor 230 outputs a continuous charge signal (i.e., a current signal). The demodulation unit Demod can demodulate the continuous charge signal output by the second plate 232 of the third capacitor 230 into a discrete signal. For example, the continuous charge signal can be demodulated into the △Q1 and △Q2 signals described in the aforementioned embodiment. After the SD ADC composed of the integrating capacitor CI, the first operational amplifier OP1, the quantizer Qt and the digital-to-analog converter DAC performs analog-to-digital conversion on △Q1 and △Q2, the first digital signal Dout1 or the second digital signal Dout2 can be obtained.

[0507] In some embodiments of the present application, for example, for an embodiment in which the voltage control module 110 includes a first clock output unit 111 and a second clock output unit 112, refer to Figure 54, which shows another schematic diagram of the detection circuit 100 in an embodiment of the present application, wherein, relative to the embodiment shown in Figure 53, the measurement module 120 also includes a current mirror CM; the input end of the current mirror CM is connected to the second plate 232 of the third capacitor 230, and the output end of the current mirror CM is connected to the input end of the demodulation unit Demod.

[0508] The metal structure of the second plate 232 of the third capacitor 230 and the input port of the detection circuit 100 may also have a parasitic capacitance phenomenon, which may cause the charge released by the second plate 232 of the third capacitor 230 to be absorbed by the parasitic capacitance, thereby causing the problem of decreased measurement accuracy. In the above embodiment, since a current mirror CM is further provided, the current mirror CM can mirror the current signal formed by the charge released by the second plate 232 of the third capacitor 230, and input the mirrored current to the demodulation unit Demod for demodulation, ensuring that the measurement module 120 normally outputs the first digital signal Dout1 and the second digital signal Dout2; at the same time, the current mirror CM isolates the influence of the parasitic capacitance between the second plate 232 of the third capacitor 230 and the input port of the detection circuit 100, thereby facilitating improving the measurement accuracy of the detection circuit 100 of the present application.

[0509] It is worth noting that the above content about the detection circuit 100 is intended to clearly illustrate the implementation verification process of the present application. Those skilled in the art can also make equivalent modified designs under the guidance of the present application. For example, referring to Figure 55, Figure 55 shows another schematic diagram of the detection circuit 100 in the embodiment of the present application. Those skilled in the art can further set a capacitor Cdummy, another set of integrating capacitors CI connected to the in-phase input and inverting output of the first operational amplifier OP1, and an integrating switch SI, so as to modify the measurement module 120 of the present application from a single-ended circuit structure to a fully differential circuit structure.

[0510] The present application also provides a chip including the aforementioned detection circuit 100. An integrated circuit (IC) is also referred to as a chip, and the chip may be, but is not limited to, a system-on-chip (SOC) chip or a system-in-package (SIP) chip. Because the chip of the present application includes the detection circuit 100 described in the aforementioned embodiment, it possesses all the beneficial effects of the detection circuit 100 described in the aforementioned embodiment, and therefore will not be further elaborated here.

[0511] The present application also provides an optical lens movement detection device, refer to Figure 56, which shows a schematic diagram of the optical lens movement detection device in an embodiment of the present application, wherein the optical lens movement detection device includes: a chip 1000 including the detection circuit 100 described in any of the above embodiments, the chip 1000 having a first output pin TX1, a second output pin TX1 and a first input pin RX; a capacitor module 200, the capacitor module 200 includes a first capacitor 210, a second capacitor 220 and a third capacitor 230, the first plate 211 of the first capacitor 210, the first plate 221 of the second capacitor 220 and the first plate 231 of the third capacitor 230 are electrically connected to each other. The sum of the capacitances of the first capacitor 210 and the second capacitor 220 does not change with the movement of the optical lens, while the difference between the capacitances of the first capacitor 210 and the second capacitor 220 changes with the movement of the optical lens. The first output pin TX1 is connected to the second plate 212 of the first capacitor 210 to control the voltage of the second plate 212 of the first capacitor 210, the second output pin TX2 is connected to the second plate 222 of the second capacitor 220 to control the voltage of the second plate 222 of the second capacitor 220, and the first input pin RX1 is connected to the second plate 232 of the third capacitor 230 to measure the movement distance of the optical lens based on the amount of charge released by the second plate 232 of the third capacitor 230. The optical lens movement detection device of the embodiment of the present application only needs to electrically connect the first capacitor 210, the second capacitor 220, and the second plate 232 of the third capacitor 230, without having to electrically connect a movable plate and a fixed plate of the same capacitor, thereby reducing the manufacturing difficulty of the optical lens movement detection device.

[0512] The present application also provides a focus motor, comprising the optical lens movement detection device described in any of the above embodiments. Because the focus motor in the present embodiment is provided with the optical lens movement detection device described in the above embodiments, it possesses all the beneficial effects of the above embodiments, and therefore will not be further elaborated here.

[0513] The present application also provides a camera module, comprising a focus motor as described in any of the above embodiments. Since the camera module in the present embodiment is provided with the optical lens movement detection device of the above embodiment, it has all the beneficial effects of the above optical lens movement detection device, which will not be described in detail here.

[0514] The present application also provides an electronic device, which includes a camera module as in any of the above embodiments. The electronic device may be, but is not limited to, a display, a car central control panel, a car, a smart wearable device, a mobile terminal, and a smart home device. Smart wearable devices include, but are not limited to, smart watches, smart bracelets, and cervical massagers. Mobile terminals include, but are not limited to, smart phones, laptops, tablet computers, and POS (point of sales terminal) machines. Smart home devices include, but are not limited to, smart sockets, smart rice cookers, smart sweepers, and smart lights. Since the electronic device in the embodiment of the present application is provided with the optical lens movement detection device of the above embodiment, it has all the beneficial effects of the above optical lens movement detection device, which will not be repeated here.

[0515] Based on the exemplary embodiments described above, the present application further provides the following implementation modes.

[0516] Embodiment 52. A detection circuit for detecting a capacitance module associated with a detection object, the capacitance module comprising a first capacitor, a second capacitor, and a third capacitor, the first plate of the first capacitor, the first plate of the second capacitor, and the first plate of the third capacitor being electrically connected to each other, the detection circuit comprising: a voltage control module, the voltage control module being configured to control the voltage of the second plate of the first capacitor and the second plate of the second capacitor; a measurement module, the measurement module being configured to output a first digital signal related to a first capacitance value based on an amount of charge released by the second plate of the third capacitor, and to output a second digital signal related to a second capacitance value based on an amount of charge released by the second plate of the third capacitor, during a process in which the voltage control module changes the voltage of the second plate of the first capacitor and the second plate of the second capacitor; wherein the first capacitance value is a difference between capacitance values ​​of the first capacitor and the second capacitor, the second capacitance value is a sum of capacitance values ​​of the first capacitor and the second capacitor, the difference between the capacitance values ​​of the first capacitor and the second capacitor changes with movement of the detection object; the sum of the capacitance values ​​of the first capacitor and the second capacitor does not change with movement of the detection object, or the series capacitance value of the first capacitor and the second capacitor does not change with movement of the detection object.

[0517] Embodiment 53. A detection circuit as described in embodiment 52, wherein, in a process in which the measuring module outputs a first digital signal related to the first capacitance value based on the amount of charge released by the second plate of the third capacitor, the voltage changes of the second plate of the first capacitor and the second plate of the second capacitor are opposite; and in a process in which the measuring module outputs a second digital signal related to the second capacitance value based on the amount of charge released by the second plate of the third capacitor, the voltage changes of the second plate of the first capacitor and the second plate of the second capacitor are the same.

[0518] Embodiment 54. A detection circuit as described in embodiment 53, wherein the voltage control module has a first working state, a second working state, a third working state and a fourth working state; when the voltage control module is switched from the first working state to the second working state, the measurement module outputs the first digital signal related to the first capacitance value according to the amount of charge released by the second plate of the third capacitor; when the voltage control module is switched from the third working state to the fourth working state, the measurement module outputs the second digital signal related to the second capacitance value according to the amount of charge released by the second plate of the third capacitor; wherein, in the first working state, the voltage control module controls the voltage of the second plate of the first capacitor to be a first reference voltage, and controls the voltage of the second plate of the second capacitor to be a second reference voltage, and the first reference voltage is not equal to the second reference voltage; in the second working state, the voltage control module controls the voltage of the second plate of the first capacitor to be the second reference voltage, and controls the voltage of the second plate of the second capacitor to be the first reference voltage; in the third working state, the voltage control module controls the voltage of the second plate of the first capacitor to be the first reference voltage, and controls the voltage of the second plate of the second capacitor to be the first reference voltage; in the fourth working state, the voltage control module controls the voltage of the second plate of the first capacitor to be the second reference voltage, and controls the voltage of the second plate of the second capacitor to be the second reference voltage.

[0519] Embodiment 55. A detection circuit as described in embodiment 54, wherein the voltage control module includes a first switch, a second switch, a third switch and a fourth switch; the first end of the first switch is connected to the first reference voltage, and the second end of the first switch is connected to the second plate of the first capacitor; the first end of the second switch is connected to the second reference voltage, and the second end of the second switch is connected to the second plate of the first capacitor; the first end of the third switch is connected to the first reference voltage, and the second end of the third switch is connected to the second plate of the second capacitor; the first end of the fourth switch is connected to the second reference voltage, and the second end of the fourth switch is connected to the second plate of the second capacitor.

[0520] Embodiment 56. A detection circuit as described in embodiment 54, wherein the voltage control module includes a first clock output unit and a second clock output unit; the first clock output unit is used to output a first clock signal whose high level is the first reference voltage and whose low level is the second reference voltage; the second clock output unit is used to output a second clock signal whose high level is the first reference voltage and whose low level is the second reference voltage; wherein the first clock signal and the second clock signal have opposite phases.

[0521] Embodiment 57. A detection circuit as described in embodiment 52, wherein the measurement module includes a first operational amplifier and an integrating capacitor; the inverting input terminal of the first operational amplifier is connected to the second plate of the third capacitor, and the non-inverting input terminal of the first operational amplifier is connected to the ground terminal; the first plate of the integrating capacitor is connected to the inverting input terminal of the first operational amplifier, and the second plate of the integrating capacitor is connected to the output terminal of the first operational amplifier.

[0522] Embodiment 58. A detection circuit as described in embodiment 57, wherein the measurement module also includes an integrating switch and an analog-to-digital converter; the first end of the integrating switch is connected to the inverting input end of the first operational amplifier, and the second end of the integrating switch is connected to the output end of the first operational amplifier; the input end of the analog-to-digital converter is connected to the output end of the first operational amplifier, and the analog-to-digital converter is used to output the first digital signal and the second digital signal.

[0523] Embodiment 59. A detection circuit as described in embodiment 57, wherein the measurement module further includes a feedback resistor, a demodulation unit and an analog-to-digital converter; the first end of the feedback resistor is connected to the inverting input end of the first operational amplifier, and the second end of the feedback resistor is connected to the output end of the first operational amplifier; the demodulation unit is used to demodulate the continuous voltage signal output by the first operational amplifier into a discrete signal, and the analog-to-digital converter is used to output the first digital signal and the second digital signal according to the discrete signal.

[0524] Embodiment 60. A detection circuit as described in embodiment 57, wherein the measurement module further includes a first integrating switch, a second integrating switch, a quantizer and a digital-to-analog converter; the first end of the first integrating switch is connected to the inverting input end of the first operational amplifier, and the second end of the first integrating switch is connected to the output end of the first operational amplifier; the first end of the second integrating switch is connected to the inverting input end of the first operational amplifier, and the second end of the second integrating switch is connected to the first plate of the integrating capacitor; the quantizer is connected to the output end of the first operational amplifier, the input end of the digital-to-analog converter is connected to the output end of the quantizer, and the output end of the digital-to-analog converter is connected to the inverting input end of the first operational amplifier.

[0525] Embodiment 61. A detection circuit as described in embodiment 57, wherein the measurement module further includes a demodulation unit, a quantizer and a digital-to-analog converter; the input end of the demodulation unit is connected to the second plate of the third capacitor, the output end of the demodulation unit is connected to the inverting input end of the first operational amplifier, and the demodulation unit is used to demodulate the continuous charge signal output by the second plate of the third capacitor into a discrete signal; the quantizer is connected to the output end of the first operational amplifier, the input end of the digital-to-analog converter is connected to the output end of the quantizer, and the output end of the digital-to-analog converter is connected to the inverting input end of the first operational amplifier.

[0526] Embodiment 62. The detection circuit as described in embodiment 61, wherein the measurement module further includes a current mirror; the input end of the current mirror is connected to the second plate of the third capacitor, and the output end of the current mirror is connected to the input end of the demodulation unit.

[0527] Embodiment 63. A chip comprising the detection circuit as described in any one of Embodiments 52 to 62.

[0528] Embodiment 64. An optical lens movement detection device, comprising: a chip as described in embodiment 63, the chip having a first output pin, a second output pin and a first input pin; a capacitor module, the capacitor module comprising a first capacitor, a second capacitor and a third capacitor, the first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor being electrically connected to each other; wherein the sum of the capacitance values ​​of the first capacitor and the second capacitor does not change with the movement of the optical lens, and the difference between the capacitance values ​​of the first capacitor and the second capacitor changes with the movement of the optical lens; the first output pin is connected to the second plate of the first capacitor to control the voltage of the second plate of the first capacitor, the second output pin is connected to the second plate of the second capacitor to control the voltage of the second plate of the second capacitor, and the first input pin is connected to the second plate of the third capacitor to measure the moving distance of the optical lens according to the amount of charge released by the second plate of the third capacitor.

[0529] Embodiment 65. A focus motor comprising the optical lens movement detection device as described in embodiment 64.

[0530] Embodiment 66. A camera module comprising a focus motor as described in embodiment 65.

[0531] Embodiment 67. An electronic device comprising the camera module described in embodiment 66.

[0532] In the above embodiment, in the process of the voltage control module changing the voltage of the second plate of the first capacitor and the second plate of the second capacitor, the measuring module can output a first digital signal related to the difference between the capacitance values ​​of the first capacitor and the second capacitor according to the amount of charge released by the second plate of the third capacitor, and can output a second digital signal related to the sum of the capacitance values ​​of the first capacitor and the second capacitor according to the amount of charge released by the second plate of the third capacitor. Since the sum of the capacitance values ​​of the first capacitor and the second capacitor does not change with the movement of the detection object (such as an optical lens), or the series capacitance value of the first capacitor and the second capacitor does not change with the movement of the detection object, and the difference between the capacitance values ​​of the first capacitor and the second capacitor changes with the movement of the detection object, the sum of the capacitance values ​​of the first capacitor and the second capacitor (or the series capacitance value of the first capacitor and the second capacitor) represents a fixed position, and the difference between the capacitance values ​​of the first capacitor and the second capacitor represents the moving distance of the detection object, and the moving distance of the detection object can be calculated using the first digital signal and the second digital signal.

[0533] In addition, since the detection circuit is used to control the voltage of the second plate of the first capacitor and the second plate of the second capacitor, and receive the charge released by the second plate of the third capacitor, that is to say, the detection circuit can only connect the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor, without connecting the first plate and the second plate of the same capacitor (that is, a movable plate and another fixed plate), which is conducive to reducing the manufacturing difficulty of the optical lens movement detection device.

[0534] It should be understood that in order to achieve the focusing function and optical image stabilization function, the optical lens may actually be moved in three-dimensional space. Therefore, the movement of the optical lens may actually include movement in the X-axis, Y-axis, and Z-axis directions. If it is necessary to detect the movement of the optical lens along the X-axis, Y-axis, and Z-axis respectively, a set of detection capacitors must be set for each movement axis. The detection circuit needs to use six wires to electrically connect to the six plates of at least three monitoring capacitors. This is very difficult for miniaturized camera lenses (such as mobile phone cameras).

[0535] To this end, some exemplary embodiments of the present application also provide an optical lens three-dimensional movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device, which are described in detail below.

[0536] Refer to Figure 57, which shows a structural schematic diagram of an optical lens three-dimensional movement detection device (also referred to as an optical lens movement detection device) according to some exemplary embodiments of the present application. The optical lens three-dimensional movement detection device is used to detect the movement and / or position of the optical lens 1 in a three-dimensional coordinate system constructed by a first axis X, a second axis Y and a third axis Z. The optical lens three-dimensional movement detection device includes a first detection capacitor 10, a second detection capacitor 20, a third detection capacitor 60 and a detection circuit 30.

[0537] As previously mentioned, the optical lens 1 can be a lens used to adjust the focus of the imaging optical system, such as a focus lens, which can include a single lens or multiple lenses. Focus adjustment is performed by moving the optical lens 1 along the optical axis of the imaging optical system. Alternatively, the optical lens 1 can also be a lens used for optical system anti-shake function, such as an anti-shake lens. It is understood that the optical lens 1 can also be other movable lenses in the optical system, and this application does not specifically limit this.

[0538] FIG58 shows a schematic structural diagram of a three-dimensional movement detection device for an optical lens according to an exemplary embodiment of the present application. Referring to FIG57 and FIG58 , the moving structure of the optical lens 1 includes a mover bracket 2 and a stator bracket 3. The optical lens 1 is fixedly connected to the mover bracket 2, and the mover bracket 2 can move relative to the stator bracket 3, thereby enabling the position adjustment of the optical lens 1. It is understood that the moving structure of the optical lens 1 may also include other components, such as a motor that drives the mover bracket 2 to move, or a coil or magnet that drives the mover bracket 2 to move.

[0539] The first capacitance of the first detection capacitor 10 can change as the optical lens 1 moves along the first axis X. For example, referring to FIG58 , the plane on which the first electrode plate 10a and the second electrode plate 10b of the first detection capacitor 10 lie is perpendicular to the first axis X. The first electrode plate 10a is fixed to the mover support 2, and the second electrode plate 10b is fixed to the stator support 3. When the optical lens 1 moves along the first axis X, the first electrode plate 10a of the first detection capacitor 10 moves with the optical lens 1, causing the distance between the electrodes of the first detection capacitor 10 to change, thereby causing the first capacitance of the first detection capacitor 10 to change as the optical lens 1 moves along the first axis X.

[0540] The second capacitance value of the second detection capacitor 20 can change as the optical lens 1 moves along the second axis Y. For example, referring to Figure 58, the plane where the first electrode plate 20a and the second electrode plate 20b of the second detection capacitor 20 are located is perpendicular to the second axis Y, the first electrode plate 20a is fixed to the mover bracket 2, and the second electrode plate 20b is fixed to the stator bracket 3. When the optical lens 1 moves along the second axis Y, the first electrode plate 20a of the second detection capacitor 20 moves with the optical lens 1, causing the electrode spacing of the second detection capacitor 20 to change, thereby causing the second capacitance value of the second detection capacitor 20 to change as the optical lens 1 moves along the second axis Y.

[0541] The third capacitance value of the third detection capacitor 60 can change as the optical lens 1 moves along the third axis Z. For example, referring to FIG58 , the plane where the first electrode plate 60a and the second electrode plate 60b of the third detection capacitor 60 are located is perpendicular to the third axis Z. The first electrode plate 60a is fixed to the mover bracket 2, and the second electrode plate 60b is fixed to the stator bracket 3. When the optical lens 1 moves along the third axis Z, the first electrode plate 60a of the third detection capacitor 60 moves with the optical lens 1, causing the electrode spacing of the third detection capacitor 60 to change, thereby causing the third capacitance value of the third detection capacitor 60 to change as the optical lens 1 moves along the third axis Z.

[0542] Any two of the first axis X, the second axis Y, and the third axis Z are not parallel to each other. Preferably, the first axis X, the second axis Y, and the third axis Z are perpendicular to each other. For ease of description, the first axis is referred to as the X-axis, the second axis is referred to as the Y-axis, and the third axis is referred to as the Z-axis. However, it should be understood that this does not constitute any limitation on the first axis, the second axis, and the third axis in the embodiments and claims of the present application.

[0543] The first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 can be electrically connected to each other, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 can be electrically connected to the detection circuit 30. The detection circuit 30 can detect the first series capacitance value of the first detection capacitor 10 and the second detection capacitor 20, the second series capacitance value of the first detection capacitor 10 and the third detection capacitor 60, and the third series capacitance value of the second detection capacitor 20 and the third detection capacitor 60, so as to determine the capacitance values ​​of the first detection capacitor 10, the second detection capacitor 20, and the third detection capacitor 60, respectively.

[0544] For example, the detection circuit 30 can inject a positive charge of a first preset charge amount into the second plate 10b of the first detection capacitor 10, and inject a negative charge of a first preset charge amount into the second plate 20b of the second detection capacitor 20. Since the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 are electrically connected to each other, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 transfer charge to each other, so that the first plate 10a of the first detection capacitor 10 accumulates a negative charge of the first preset charge amount, and the first plate 20a of the second detection capacitor 20 accumulates a positive charge of the first preset charge amount, ultimately achieving charge balance between the first detection capacitor 10 and the second detection capacitor 20. At this time, the first series capacitance value of the first detection capacitor 10 and the second detection capacitor 20 can be measured as:

[0545] Cx=Qx / Ux (69)

[0546] Wherein, Cx is the first series capacitance value, Qx is the first predetermined charge, and Ux is the voltage difference between the second plate 10 b of the first detection capacitor 10 and the second plate 20 b of the second detection capacitor 20 .

[0547] Similarly, after measuring the first series capacitance value, the detection circuit 30 can inject a second preset amount of positive charge into the second plate 10b of the first detection capacitor 10, and inject a second preset amount of negative charge into the second plate 60b of the third detection capacitor 60. Since the first plate 10a of the first detection capacitor 10 and the first plate 60a of the third detection capacitor 60 transfer charge to each other, the first plate 10a of the first detection capacitor 10 accumulates the second preset amount of negative charge, and the first plate 60a of the third detection capacitor 60 accumulates the second preset amount of positive charge, ultimately achieving charge balance between the first detection capacitor 10 and the third detection capacitor 60. Therefore, the second series capacitance value of the first detection capacitor 10 and the third detection capacitor 60 can be measured at this time as:

[0548] Cy=Qy / Uy (70)

[0549] Wherein, Cy is the second series capacitance value, Qy is the second preset charge, and Uy is the voltage difference between the second plate 10 b of the first detection capacitor 10 and the second plate 60 b of the third detection capacitor 60 .

[0550] Similarly, after measuring the second series capacitance value, the detection circuit 30 can inject a third preset amount of positive charge into the second plate 20b of the second detection capacitor 20, and inject a third preset amount of negative charge into the second plate 60b of the third detection capacitor 60. Since the first plate 20a of the second detection capacitor 20 and the first plate 60a of the third detection capacitor 60 transfer charge to each other, the first plate 20a of the second detection capacitor 20 accumulates the third preset amount of negative charge, and the first plate 60a of the third detection capacitor 60 accumulates the third preset amount of positive charge, ultimately achieving charge balance between the first detection capacitor 10 and the third detection capacitor 60. Therefore, the third series capacitance value of the second detection capacitor 20 and the third detection capacitor 60 can be measured at this time as:

[0551] Cz=Qz / Uz (71)

[0552] Wherein, Cz is the third series capacitance value, Qz is the third predetermined charge, and Uz is the voltage difference between the second plate 20 b of the second detection capacitor 20 and the second plate 60 b of the third detection capacitor 60 .

[0553] The first series capacitance value of the first detection capacitor 10 and the second detection capacitor 20, the second series capacitance value of the first detection capacitor 10 and the third detection capacitor 60, and the third series capacitance value of the second detection capacitor 20 and the third detection capacitor 60 can be calculated according to the following formula:

[0554] 1 / Cx=1 / C1+1 / C2

[0555] 1 / Cy=1 / C1+1 / C3 (72)

[0556] 1 / Cz=1 / C2+1 / C3

[0557] Wherein, Cx is the first series capacitance value, Cy is the second series capacitance value, Cz is the third series capacitance value, C1 is the first capacitance value of the first detection capacitor 10, C2 is the second capacitance value of the second detection capacitor 20, and C3 is the third capacitance value of the third detection capacitor 60. It can be seen that Cx, Cy, and Cz are known quantities obtained by measurement, and there are only three unknowns in the above three formulas: C1, C2, and C3. Therefore, the first capacitance value of the first detection capacitor 10, the second capacitance value of the second detection capacitor 20, and the third capacitance value of the third detection capacitor 60 can be calculated by combining the three formulas:

[0558] Since the first capacitance value of the first detection capacitor 10 changes as the optical lens 1 moves along the first axis X direction, the second capacitance value of the second detection capacitor 20 changes as the optical lens 1 moves along the second axis Y direction, and the third capacitance value of the third detection capacitor 60 changes as the optical lens 1 moves along the third axis Z direction, after obtaining the first capacitance value of the first detection capacitor 10, the second capacitance value of the second detection capacitor 20, and the third capacitance value of the third detection capacitor 60, the movement distance and / or position of the optical lens 1 corresponding to the first axis X, the second axis Y, and the third axis Z, respectively, can be determined.

[0559] For example, in FIG58 , the plate spacing of the first detection capacitor 10 can change as the optical lens 1 moves along the first axis X direction, but the plate-facing area of ​​the first detection capacitor 10 does not change as the optical lens 1 moves along the first axis X direction. The plate spacing of the first detection capacitor 10 can be calculated according to the following formula:

[0560] Wherein, S1 is the area of ​​the plates facing each other of the first detection capacitor 10 , d1 is the distance between the plates of the first detection capacitor 10 , ε is the dielectric constant of the dielectric between the plates, and k is the electrostatic force constant.

[0561] Since the area facing each other of the plates of the first detection capacitor 10 remains unchanged in the embodiment shown in FIG58 , and only the spacing between the plates can be changed, once the spacing between the plates of the first detection capacitor 10 is determined, the position of the optical lens 1 along the first axis X can be determined. Similarly, the position of the optical lens 1 along the second axis Y and the third axis Z can be determined, which will not be further described here.

[0562] In some embodiments of the present application, with respect to determining the movement position of the optical lens 1 along the first axis X, the plate spacing of the first detection capacitor 10 can be mapped to the coordinates of the first axis X in advance to obtain a mapping relationship (e.g., a relationship data table or relationship expression) between the plate spacing of the first detection capacitor 10 and the coordinates of the first axis X. After measuring the plate spacing of the first detection capacitor 10, the coordinates of the optical lens 1 on the first axis X can be obtained based on the mapping relationship between the plate spacing of the first detection capacitor 10 and the coordinates of the first axis X. Similarly, the coordinates of the optical lens 1 on the second axis Y and the third axis Z can be determined, which will not be repeated here.

[0563] It is understood that the first capacitance value of the first detection capacitor 10 and the coordinate of the first axis X can also be mapped to obtain a mapping relationship between the first capacitance value and the coordinate of the first axis X (for example, a relationship data table or relationship expression). After measuring the first capacitance value of the first detection capacitor 10, the coordinate of the optical lens 1 on the first axis X can be obtained based on this mapping relationship. The coordinates of the optical lens 1 on the second axis Y and the third axis Z can be determined in a similar manner, which will not be repeated here.

[0564] In some embodiments of the present application, by setting a first detection capacitor 10, a second detection capacitor 20, a third detection capacitor 60 and a detection circuit 30, and using the detection circuit 30 to detect the first series capacitance value of the first detection capacitor 10 and the second detection capacitor 20, the second series capacitance value of the first detection capacitor 10 and the third detection capacitor 60, and the third series capacitance value of the second detection capacitor 20 and the third detection capacitor 60, three formulas (for example, the above formula 36) can be jointly formulated according to the first capacitance value, the second capacitance value and the third capacitance value to obtain the first capacitance value of the first detection capacitor 10, the second capacitance value of the second detection capacitor 20 and the third capacitance value of the third detection capacitor 60 respectively. Finally, the moving position of the optical lens 1 along the first axis X direction can be determined according to the first capacitance value of the first detection capacitor 10, the moving position of the optical lens 1 along the second axis Y direction can be determined according to the second capacitance value of the second detection capacitor 20, and the moving position of the optical lens 1 along the third axis Z direction can be determined according to the third capacitance value of the third detection capacitor 60, thereby determining the three-dimensional coordinates of the optical lens 1 after or during movement.

[0565] As described above, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 are electrically connected to each other, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 are electrically connected to the detection circuit 30. Therefore, the detection circuit 30 only needs to be electrically connected to the three plates via three wires to detect the series capacitance value, thereby cleverly reducing the number of connecting wires between the detection circuit 30 and the detection capacitors, which helps to reduce the manufacturing difficulty of the optical lens movement position detection device.

[0566] In some embodiments of the present application, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 move with the optical lens 1, while the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 remain fixed. For example, referring to FIG58, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 are fixed to the mover bracket 2 to move with the optical lens 1, while the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 are fixed to the stator bracket 3 to remain fixed.

[0567] In some embodiments of the present application, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 can remain fixed, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 can move with the optical lens 1. For example, refer to Figure 59, which shows another structural schematic diagram of the three-dimensional movement detection device of the optical lens, wherein the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 are fixed on the stator bracket 3, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 are fixed on the mover bracket 2, so that the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 remain fixed, while the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20, and the second plate 60b of the third detection capacitor 60 can move with the optical lens 1.

[0568] That is to say, in some embodiments of the present application, three fixed plates or three movable plates may be electrically connected to the detection circuit 30. When the detection circuit 30 is connected to three fixed plates, the detection circuit 30 (e.g., a circuit board) may also be fixedly arranged on the stator bracket 3, so that the connection line between the detection circuit 30 and the three capacitors (the first detection capacitor 10, the second detection capacitor 20, and the third detection capacitor 60) remains fixed. When the detection circuit 30 is connected to three movable plates, the detection circuit 30 (e.g., a circuit board) may also move with the optical lens 1, for example, the circuit board of the detection circuit 30 may be arranged on the mover bracket 2, so that the connection line between the detection circuit 30 and the three capacitors may also remain fixed, thereby avoiding the need for the detection circuit 30 to be connected to the fixed plate and the movable plate respectively, which in turn causes the problem that the moving distance detection scheme of the optical lens 1 is difficult to implement and expensive, especially for miniaturized camera lenses.

[0569] It should be noted that in Figure 57, Figure 58 or Figure 59, the movable bracket 2 is a movable bracket that can simultaneously move along the first axis X, the second axis Y and the third axis Z, and the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20 and the first plate 60a of the third detection capacitor 60 are fixed on the same bracket, but the movement scheme of the optical lens 1 is not limited to this. Therefore, according to the movement scheme of the optical lens 1, the fixed positions of the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20 and the first plate 60a of the third detection capacitor 60 can also be adjusted accordingly.

[0570] For example, referring to FIG60 , FIG60 shows another schematic structural diagram of an optical lens three-dimensional movement detection device, in which the mover bracket 2 includes an anti-shake bracket 201 and a focus bracket 202. The anti-shake bracket 201 can move relative to the stator bracket 3 along the first axis X direction and the second axis Y direction, and the focus bracket 202 can move relative to the anti-shake bracket 201 along the third axis Z direction. The optical lens 1 is fixedly connected to the focus bracket 202. When the anti-shake bracket 201 moves along the first axis X direction and the second axis Y direction, and the focus bracket 202 moves along the third axis Z direction, the optical lens 1 disposed on the focus bracket 202 can move along the first axis X, the second axis Y, and the third axis Z directions.

[0571] In some embodiments, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can be fixed on the anti-shake bracket 201, and the first plate 60a of the third detection capacitor 60 can be fixed on the focusing bracket 202, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20 and the second plate 60b of the third detection capacitor 60 are fixed at corresponding positions on the stator bracket 3, so that the anti-shake bracket 201 drives the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 to move, and the focusing bracket 202 drives the first plate 60a of the third detection capacitor 60 to move, and finally the first capacitance value of the first detection capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second detection capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third detection capacitor 60 changes with the movement of the optical lens 1 along the third axis Z direction.

[0572] In some embodiments, referring to FIG. 61 , FIG. 61 shows another schematic structural diagram of an optical lens three-dimensional movement detection device, wherein the movable support 2 includes a first movable support 203, a second movable support 204, and a third movable support 205. The first movable support 203 can move relative to the stator support 3 along the first axis X direction, the second movable support 204 can move relative to the first movable support 203 along the second axis Y direction, and the third movable support 205 can move relative to the second movable support 204 along the third axis Z direction. The optical lens 1 is fixedly connected to the third movable support 205. Therefore, when the first movable support 203 moves along the first axis X direction, the second movable support 204 moves along the second axis Y direction, and the third movable support 205 moves along the third axis Z direction, the optical lens 1 (or camera lens) disposed on the third movable support 205 can move along the first axis X, the second axis Y, and the third axis Z directions.

[0573] In some embodiments, the first plate 10a of the first detection capacitor 10 can be fixed on the first movable bracket 203, the first plate 20a of the second detection capacitor 20 can be fixed on the second movable bracket 204, the first plate 60a of the third detection capacitor 60 can be fixed on the third movable bracket 205, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20 and the second plate 60b of the third detection capacitor 60 can be fixed at corresponding positions on the stator bracket 3, so that the first movable bracket 203 drives the first plate 10a of the first detection capacitor 10 to move, the second movable bracket 204 drives the first plate 20a of the second detection capacitor 20 to move, and the third movable bracket 205 drives the first plate 60a of the third detection capacitor 60 to move, and finally the first capacitance value of the first detection capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second detection capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third detection capacitor 60 changes with the movement of the optical lens 1 along the third axis Z direction.

[0574] For another example, refer to Figure 62, which shows another schematic structural diagram of an optical lens three-dimensional movement detection device, in which the mover bracket 2 includes an anti-shake bracket 201 and a focus bracket 202. The focus bracket 202 can move relative to the stator bracket 3 along the third axis Z direction, and the anti-shake bracket 201 can move relative to the focus bracket 202 along the first axis X direction and the second axis Y direction. The optical lens 1 is fixedly connected to the anti-shake bracket 201. Therefore, when the anti-shake bracket 201 moves along the first axis X direction and the second axis Y direction, and the focus bracket 202 moves along the third axis Z direction, the optical lens 1 disposed on the anti-shake bracket 201 can move along the first axis X, the second axis Y, and the third axis Z directions.

[0575] In some embodiments, the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 can be fixed on the anti-shake bracket 201, the first plate 60a of the third detection capacitor 60 can be fixed on the focusing bracket 202, and the second plate 10b of the first detection capacitor 10, the second plate 20b of the second detection capacitor 20 and the second plate 60b of the third detection capacitor 60 can be fixed at corresponding positions on the stator bracket 3, so that the anti-shake bracket 201 drives the first plate 10a of the first detection capacitor 10 and the first plate 20a of the second detection capacitor 20 to move, and the focusing bracket 202 drives the first plate 60a of the third detection capacitor 60 to move, and finally the first capacitance value of the first detection capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second detection capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third detection capacitor 60 changes with the movement of the optical lens 1 along the third axis Z direction.

[0576] It can be understood that Figures 57 to 62 only show some exemplary embodiments of the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60, and those skilled in the art can make equivalent modified designs under their guidance. For example, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 can also be fixed on the optical lens housing that carries the optical lens 1; for another example, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 can all be fixed on the focusing bracket 202 shown in Figure 60; for another example, the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20, and the first plate 60a of the third detection capacitor 60 can all be fixed on the third movable bracket 205 shown in Figure 61.

[0577] In some embodiments of the present application, refer to Figure 63, which shows another structural schematic diagram of the optical lens three-dimensional movement detection device, wherein the first electrode plate 10a of the first detection capacitor 10, the first electrode plate 20a of the second detection capacitor 20, and the first electrode plate 60a of the third detection capacitor 60 are integrally formed, that is, the first electrode plate 10a of the first detection capacitor 10, the first electrode plate 20a of the second detection capacitor 20, and the first electrode plate 60a of the third detection capacitor 60 are integral plates, and the integral plate is arranged to face the second electrode plate 10b of the first detection capacitor 10, the second electrode plate 20b of the second detection capacitor 20, and the second electrode plate 60b of the third detection capacitor 60 to form the first detection capacitor 10, the second detection capacitor 20, and the third detection capacitor 60. This realizes the mutual electrical connection of the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20 and the first plate 60a of the third detection capacitor 60, without the need to set connecting wires between the first plate 10a of the first detection capacitor 10, the first plate 20a of the second detection capacitor 20 and the third detection capacitor 60, thereby further simplifying the structure of the optical lens three-dimensional movement detection device.

[0578] It is understandable that the first electrode plate 10a of the first detection capacitor 10 and the first electrode plate 20a of the second detection capacitor 20 can be integrally formed, or the first electrode plate 10a of the first detection capacitor 10 and the first electrode plate 60a of the third detection capacitor 60 can be integrally formed, or the first electrode plate 20a of the second detection capacitor 20 and the first electrode plate 60a of the third detection capacitor 60 can be integrally formed, thereby eliminating the corresponding connecting wires.

[0579] In some embodiments of the present application, the first capacitance value of the first detection capacitor 10 changes only when the optical lens 1 moves along the first axis X direction, the second capacitance value of the second detection capacitor 20 changes only when the optical lens 1 moves along the second axis Y direction, and the third capacitance value of the third detection capacitor 60 changes only when the optical lens 1 moves along the third axis Z direction. In other words, when the optical lens 1 moves along the first axis X direction, only the first capacitance value of the first detection capacitor 10 will change, while the second capacitance value of the second detection capacitor 20 and the third capacitance value of the third detection capacitor 60 will not change. Similarly, when the optical lens 1 moves along the second axis Y direction, only the second capacitance value of the second detection capacitor 20 will change, while the first capacitance value of the first detection capacitor 10 and the third capacitance value of the third detection capacitor 60 will not change. Similarly, when the optical lens 1 moves along the third axis Z direction, only the third capacitance value of the third detection capacitor 60 will change, while the first capacitance value of the first detection capacitor 10 and the second capacitance value of the second detection capacitor 20 will not change.

[0580] For example, refe...

Claims

1. An optical lens movement detection device, used to detect the movement distance of an optical lens, the optical lens movement detection device comprising: A detection capacitor and a reference capacitor, wherein the capacitance value of the detection capacitor changes with the movement of the optical lens; a detection circuit configured to determine a moving distance of the optical lens based on a capacitance value of the detection capacitor and a capacitance value of the reference capacitor, The dielectric constants of the reference capacitor and the detection capacitor remain equal during the movement of the optical lens.

2. The optical lens movement detection device according to claim 1, wherein: The plate facing area and the plate distance of the reference capacitor remain unchanged during the movement of the optical lens.

3. The optical lens movement detection device according to claim 1, wherein: The detection capacitor includes a first detection capacitor and a second detection capacitor, and the capacitance value of at least one of the first detection capacitor and the second detection capacitor changes with the movement of the optical lens. The first electrode plate of the first detection capacitor and the first electrode plate of the second detection capacitor are electrically connected to each other, the second electrode plate of the first detection capacitor is connected to the detection circuit, and the second electrode plate of the second detection capacitor is connected to the detection circuit. The second plate of the first detection capacitor and the second plate of the second detection capacitor remain fixed, or the second plate of the first detection capacitor and the second plate of the second detection capacitor move with the optical lens.

4. The optical lens movement detection device according to claim 3, wherein: The reference capacitor includes a first reference capacitor and a second reference capacitor, The first plate of the first reference capacitor and the first plate of the second reference capacitor are electrically connected to each other, the second plate of the first reference capacitor is connected to the detection circuit, and the second plate of the second reference capacitor is connected to the detection circuit. The second plate of the first reference capacitor and the second plate of the second reference capacitor remain fixed, or the second plate of the first reference capacitor and the second plate of the second reference capacitor move with the optical lens.

5. The optical lens movement detection device according to claim 4, wherein: The first electrode plate of the first detection capacitor and the first electrode plate of the second detection capacitor move with the optical lens, and the second electrode plate of the first detection capacitor and the second electrode plate of the second detection capacitor remain fixed. The first plate of the first reference capacitor and the first plate of the second reference capacitor move with the optical lens, and the second plate of the first reference capacitor and the second plate of the second reference capacitor remain fixed.

6. The optical lens movement detection device according to claim 5, wherein: The capacitance values ​​of the first detection capacitor and the second detection capacitor are equal in magnitude during the movement of the optical lens. The capacitance values ​​of the first reference capacitor and the second reference capacitor are equal in magnitude during the movement of the optical lens.

7. The optical lens movement detection device according to claim 6, wherein: During the movement of the optical lens, the area of ​​the plates of the first detection capacitor facing each other is equal to the area of ​​the plates of the second detection capacitor facing each other, and the distance between the plates of the first detection capacitor and the distance between the plates of the second detection capacitor are equal. During the movement of the optical lens, the facing area of ​​the plates of the first reference capacitor and the second reference capacitor and the distance between the plates remain unchanged.

8. The optical lens movement detection device according to claim 3, wherein: The first electrode plate of the first detection capacitor and the first electrode plate of the second detection capacitor are integrally formed.

9. The optical lens movement detection device according to claim 4, wherein: The detection circuit includes a first fully differential operational amplifier, The second plate of the first detection capacitor is connected to the first input terminal of the first fully differential operational amplifier, and the second plate of the second detection capacitor is connected to the second input terminal of the first fully differential operational amplifier.

10. The optical lens movement detection device according to claim 9, wherein: The detection circuit also includes a first charge injection circuit and a second charge injection circuit. The first charge injection circuit is configured to inject a first preset amount of first charge into the second plate of the first detection capacitor, and the second charge injection circuit is configured to inject a second preset amount of second charge into the second plate of the second detection capacitor, The polarity of the first charge is opposite to the polarity of the second charge, and the first preset amount is equal to the second preset amount.

11. The optical lens movement detection device according to claim 10, wherein: The first charge injection circuit includes a first switch, a second switch and a third switch, and the second charge injection circuit includes a fourth switch, a fifth switch and a sixth switch. One end of the first switch is connected to the first input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the first detection capacitor. One end of the second switch is connected to the power supply end, and the other end is connected to the first node between the first detection capacitor and the first switch. One end of the third switch is connected to the ground end, and the other end is connected to the first node between the first detection capacitor and the first switch. One end of the fourth switch is connected to the second input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the second detection capacitor. One end of the fifth switch is connected to the power supply end, and the other end is connected to the second node between the second detection capacitor and the fourth switch. One end of the sixth switch is connected to the ground end, and the other end is connected to the second node between the second detection capacitor and the fourth switch.

12. The optical lens movement detection device according to claim 10, wherein: The first charge injection circuit includes a first current source and a first control switch, and the second charge injection circuit includes a second current source and a second control switch. One end of the first control switch is connected to the first current source, and the other end is connected to the second plate of the first detection capacitor. One end of the second control switch is connected to the second current source, and the other end is connected to the second plate of the second detection capacitor.

13. The optical lens movement detection device according to claim 10, wherein: The first charge injection circuit includes a first switch, a second switch, a third switch, a fourth switch and a first control capacitor. One end of the first switch is connected to the first end of the first control capacitor, and the other end is used to connect to the first preset voltage. One end of the second switch is connected to the second end of the first control capacitor, and the other end is connected to the second plate of the first detection capacitor. One end of the third switch is connected to a third node between the first switch and the first control capacitor, and the other end is grounded. One end of the fourth switch is connected to a fourth node between the second switch and the first control capacitor, and the other end is used for a second preset voltage.

14. The optical lens movement detection device according to claim 13, wherein: The second charge injection circuit includes a fifth switch, a sixth switch, a seventh switch, an eighth switch and a second control capacitor. One end of the fifth switch is connected to the first end of the second control capacitor, and the other end is used to connect to the third preset voltage. One end of the sixth switch is connected to the second end of the second control capacitor, and the other end is connected to the second electrode plate of the second detection capacitor. One end of the seventh switch is connected to a fifth node between the fifth switch and the second control capacitor, and the other end is grounded. One end of the eighth switch is connected to a sixth node between the sixth switch and the second control capacitor, and the other end is used for a fourth preset voltage.

15. The optical lens movement detection device according to claim 14, wherein: The capacitance values ​​of the first control capacitor and the second control capacitor are equal, The first preset voltage is equal to the third preset voltage in magnitude and opposite in electrical properties, and the second preset voltage is equal to the fourth preset voltage in magnitude and opposite in electrical properties.

16. The optical lens movement detection device according to claim 9, wherein: The second plate of the first reference capacitor is connected to the first input terminal of the first fully differential operational amplifier, and the second plate of the second reference capacitor is connected to the second input terminal of the first fully differential operational amplifier.

17. The optical lens movement detection device according to claim 16, wherein: The detection circuit further includes a third charge injection circuit and a fourth charge injection circuit. The third charge injection circuit is configured to inject a third preset amount of third charge into the second plate of the first reference capacitor, and the fourth charge injection circuit is configured to inject a fourth preset amount of fourth charge into the second plate of the second reference capacitor. The polarity of the third charge is opposite to the polarity of the fourth charge, and the third preset amount is equal to the fourth preset amount.

18. The optical lens movement detection device according to claim 17, wherein: The third charge injection circuit includes a seventh switch, an eighth switch, and a ninth switch, the fourth charge injection circuit includes a tenth switch, an eleventh switch, and a twelfth switch, One end of the seventh switch is connected to the first input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the first reference capacitor. One end of the eighth switch is connected to the power supply end, and the other end is connected to the seventh node between the first reference capacitor and the seventh switch. One end of the ninth switch is connected to the ground end, and the other end is connected to the seventh node between the first reference capacitor and the seventh switch. One end of the tenth switch is connected to the second input end of the first fully differential operational amplifier, and the other end is connected to the second plate of the second reference capacitor. One end of the eleventh switch is connected to the power supply end, and the other end is connected to the eighth node between the second reference capacitor and the tenth switch. One end of the twelfth switch is connected to the ground end, and the other end is connected to an eighth node between the second reference capacitor and the tenth switch.

19. The optical lens movement detection device according to claim 9, wherein: The detection circuit also includes a second fully differential operational amplifier, The second plate of the first reference capacitor is connected to the first input terminal of the second fully differential operational amplifier, and the second plate of the second reference capacitor is connected to the second input terminal of the second fully differential operational amplifier.

20. An optical image stabilization method, wherein: The method applies the optical lens movement detection device as described in any one of claims 1 to 19.

21. A focus motor, comprising the optical lens movement detection device according to any one of claims 1 to 19.

22. A camera module, comprising the focus motor as claimed in claim 21.

23. An electronic device comprising the camera module as claimed in claim 22.

Citation Information

Patent Citations

  • Apparatus for manufacturing aspherical microlens array

    CN101407095A

  • Optical lens movement detection device, optical anti-shake method, focusing motor, camera module and electronic equipment

    CN117835036A

  • Optical lens movement detection device, optical anti-shake method, focusing motor, camera module and electronic equipment

    CN117835061A

  • Optical lens movement detection device, optical image stabilization method, focus motor, image pickup device, and electronic apparatus

    CN117896606A

  • Optical lens three-dimensional movement detection device and method, computer readable storage medium, focusing motor, camera module and electronic equipment

    CN118310401A