Optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device

Through the innovative design of the three-capacitor structure and detection circuit, the problem of high cost and difficulty in miniaturization of optical lens movement distance detection in the existing technology is solved, and efficient optical lens movement detection is achieved, which is suitable for miniaturized camera equipment.

CN118310400BActive Publication Date: 2024-10-25WUHAN JUXIN MICROELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410423150.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2024-04-01
Filing Date
2024-04-09
Publication Date
2024-10-25
Estimated Expiration
2044-04-09

AI Technical Summary

Technical Problem

The optical lens moving distance detection solution in existing camera modules is expensive and difficult to miniaturize. Especially in mobile phone camera devices, it is necessary to electrically connect the moving and fixed plates at the same time to measure the capacitance value, resulting in a complex structure and increased cost.

Method used

Using a three-capacitor structure, the moving position of the optical lens is determined by detecting the series capacitance value of the capacitor, and the detection circuit is used to connect three moving or fixed plates, avoiding the need for simultaneous electrical connection of the moving and fixed plates, and realizing optical Closed-loop control of lens movement detection.

Benefits of technology

It reduces the cost of detecting the moving distance of optical lenses, simplifies the structural design, realizes efficient detection of focus and anti-shake functions, and is suitable for miniaturized camera equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118310400B_ABST
    Figure CN118310400B_ABST
Patent Text Reader

Abstract

The present application provides an optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic equipment, the optical lens movement detection device includes: a first capacitor, a second capacitor and a third capacitor, the capacitance value of at least one of the first capacitor, the second capacitor and the third capacitor changes with the movement of the optical lens; a detection circuit, the detection circuit is used to detect the first series capacitance value of the first capacitor and the second capacitor, the second series capacitance value of the first capacitor and the third capacitor, and the third series capacitance value of the second capacitor and the third capacitor. The present application can avoid the need for the detection circuit to be connected to a fixed plate and a moving plate respectively, which ultimately leads to the phenomenon that the moving distance detection scheme of the optical lens is difficult to implement and the cost is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of camera technology, and in particular to an optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic equipment. Background Art

[0002] At present, camera modules usually need to have optical focus and optical image stabilization functions. Among them, optical focus refers to the movement of the optical lens (or optical lens) along the optical axis of the optical system, so that the camera equipment can adjust the focus and obtain a clear image. Optical image stabilization refers to the movement of the optical lens (or optical lens) 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. Therefore, the camera module needs to have an optical lens movement detection function to detect the moving position of the optical lens during the focusing process or the optical image stabilization process, and realize the closed-loop control process of optical lens movement control-optical lens movement detection.

[0003] In the related art, in order to reduce the cost of the solution for detecting the moving position of the optical lens, there is a solution that uses a capacitor structure to detect the moving position of the optical lens, which 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 position of the optical lens. However, this solution requires that one plate of the capacitor be set on a mobile structure (such as a mobile bracket for loading the optical lens), and the other plate be set on a fixed structure (such as a fixed bracket), and the detection circuit needs to electrically connect the two plates at the same time to measure the capacitance value of the capacitor structure, which is very difficult and costly for a miniaturized camera lens (such as a mobile phone camera device). Summary of the invention

[0004] The present application provides an optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device, aiming to solve the above technical problems.

[0005] In a first aspect, the present application provides an optical lens movement detection device, which is used to detect the movement position of an optical lens along a preset direction, and includes:

[0006] A first capacitor, a second capacitor and a third capacitor, wherein the capacitance value of at least one of the first capacitor, the second capacitor and the third capacitor changes with the movement of the optical lens;

[0007] A detection circuit, the detection circuit is used to detect a first series capacitance value of the first capacitor and the second capacitor, a second series capacitance value of the first capacitor and the third capacitor, and a third series capacitance value of the second capacitor and the third capacitor;

[0008] 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;

[0009] The first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor are electrically connected to each other, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor are electrically connected to the detection circuit;

[0010] The first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor move with the optical lens, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor remain fixed; or

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

[0012] In a second aspect, the present application provides an optical lens movement detection method, which is applied to the optical lens movement detection device as described in the first aspect, and the method comprises:

[0013] Obtaining a first series capacitance value of the first capacitor and the second capacitor, a second series capacitance value of the first capacitor and the third capacitor, and a third series capacitance value of the second capacitor and the third capacitor;

[0014] Determine a first capacitance value of the first capacitor, a second capacitance value of the second capacitor, and a third capacitance value according to the first series capacitance value, the second series capacitance value, and the third series capacitance value;

[0015] The moving position of the optical lens along a preset direction is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

[0016] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the optical lens movement detection method as described in the second aspect.

[0017] In a fourth aspect, the present application provides a focus motor, comprising the optical lens movement detection device as described in the first aspect.

[0018] In a fifth aspect, the present application provides a camera module, comprising a focus motor as described in the fourth aspect.

[0019] In a sixth aspect, the present application provides an electronic device, comprising a camera module as described in the fifth aspect. The present application sets a first capacitor, a second capacitor, a third capacitor and a detection circuit, and the first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor are electrically connected to each other, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor are electrically connected to the detection circuit, and the first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor move with the optical lens, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor remain fixed, or the first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor remain fixed, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor move with the optical lens, that is, the detection circuit is connected to three moving or three fixed plates, and the detection circuit measures the first capacitor and the second After obtaining the first series capacitance value of the capacitor, the second series capacitance value of the first capacitor and the third capacitor, and the third series capacitance value of the second capacitor and the third capacitor, three formulas can be combined according to the second series capacitance value, the first capacitance value, the second capacitance value and the third capacitance value to respectively calculate the capacitance value of the first capacitor, the capacitance value of the second capacitor and the capacitance value of the third capacitor. Since the capacitance value of at least one of the first capacitor, the second capacitor and the third capacitor changes with the movement of the optical lens, the moving position of the optical lens can be determined according to the capacitance value of the first capacitor, the capacitance value of the second capacitor and the capacitance value of the third capacitor, thereby realizing a closed-loop control process of optical lens movement control-optical lens movement detection, and avoiding the need for the detection circuit to be connected to a fixed electrode and a movable electrode respectively, which ultimately makes the optical lens movement distance detection scheme difficult to implement and costly. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 It is a schematic diagram of a moving distance detection scheme of an optical lens in the related art;

[0022] Figure 2 is a structural schematic diagram of an optical lens movement detection device provided in an embodiment of the present application;

[0023] Figure 3 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0024] Figure 4 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0025] Figure 5 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0026] Figure 6 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0027] Figure 7 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0028] Figure 8 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0029] Fig. 9 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0030] Fig.10 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0031] Fig.11 is a schematic diagram of an equivalent circuit of an optical lens movement detection device provided in an embodiment of the present application;

[0032] Fig.12 is another equivalent circuit diagram of the optical lens movement detection device provided in the embodiment of the present application;

[0033] Fig.13 is another equivalent circuit diagram of the optical lens movement detection device provided in the embodiment of the present application;

[0034] Fig.14 is another equivalent circuit diagram of the optical lens movement detection device provided in the embodiment of the present application;

[0035] Fig.15 is another equivalent circuit diagram of the optical lens movement detection device provided in the embodiment of the present application;

[0036] Fig.16 is another equivalent circuit diagram of the optical lens movement detection device provided in the embodiment of the present application;

[0037] Fig.17 is another structural schematic diagram of the optical lens movement detection device provided in an embodiment of the present application;

[0038] Fig.18 It is a flow chart of the optical lens movement detection method provided in the embodiment of the present application.

[0039] Among them, 1 is an optical lens, 2 is a mover bracket, 3 is a stator bracket, 10 is a first capacitor, 11 is a first plate of the first capacitor, 12 is a second plate of the first capacitor, 20 is a second capacitor, 21 is a first plate of the second capacitor, 22 is a second plate of the second capacitor, 30 is a third capacitor, 31 is a first plate of the third capacitor, 32 is a second plate of the third capacitor, 40 is a detection circuit, 41 is a switch circuit, 42 is a measurement circuit, 421 is a first charge injection circuit, and 422 is a second charge injection circuit;

[0040] A first switch Sc1, a second switch Sc2, a third switch Sc3, and a fourth switch Sc4;

[0041] a fully differential operational amplifier OP, a first sub-switch s1, a second sub-switch s2, a third sub-switch s3, a fourth sub-switch s4, a fifth sub-switch s5, a sixth sub-switch s6, a second fully differential operational amplifier OP2, a seventh sub-switch s7, an eighth sub-switch s8, a ninth sub-switch s9, a tenth sub-switch s10, an eleventh sub-switch s11, and a twelfth sub-switch s12;

[0042] A first current source I1, a second current source I2, a first control switch S01, a second control switch S02, a first switch S1, a second switch S2, a third switch S3, a fourth switch S4, a first control capacitor C1, a fifth switch S5, a sixth switch S6, a seventh switch S7, an eighth switch S8, and a second control capacitor C2. DETAILED DESCRIPTION

[0043] 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 described embodiments 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 creative work are within the scope of protection of the present invention.

[0044] 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, which 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 technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0045] 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 being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.

[0046] The embodiments of the present application provide an optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device, which are described in detail below.

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

[0048] See also Figure 1 , Figure 1A schematic diagram of a moving distance detection scheme for an optical lens in the related art is shown, wherein the scheme requires that one plate of a capacitor be set on a moving structure (e.g., a moving bracket for loading an optical lens), and the other plate be set on a fixed structure (e.g., a fixed bracket for mounting a moving bracket to make it move), and the detection circuit needs to electrically connect the two plates at the same time, and then the capacitance calculation formula can be obtained;

[0049] C=Q / U=εS / d

[0050] Among them, C is the capacitance value of the capacitor being tested, Q is the charge accumulated in the capacitor, U is the voltage difference between the two plates, ε is the dielectric constant of the medium between the plates, S is the area facing the plates, and d is the distance between the plates.

[0051] When the optical lens drives the plates to move away from or towards each other, the moving position of the optical lens is:

[0052]

[0053] Wherein, D is the moving position of the optical lens (i.e., the distance between the capacitor plates).

[0054] When the optical lens drives the electrode plate to translate parallel to the length direction of the other electrode plate (assuming the electrode plate is rectangular), the moving distance of the optical lens is:

[0055]

[0056] Wherein, B is the width of the plate.

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

[0058] To this end, the present application provides an optical lens movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device, which are described in detail below.

[0059] First, see Figure 2 , Figure 2 A schematic diagram of the structure of an optical lens movement detection device in an embodiment of the present application is shown, wherein the optical lens movement detection device is used to detect the movement position of the optical lens along a preset direction, and the optical lens movement detection device includes:

[0060] A first capacitor 10, a second capacitor 20 and a third capacitor 30, wherein the capacitance value of at least one of the first capacitor 10, the second capacitor 20 and the third capacitor 30 changes with the movement of the optical lens 1;

[0061] A detection circuit 40, the detection circuit 40 is used to detect a first series capacitance value of the first capacitor 10 and the second capacitor 20, a second series capacitance value of the first capacitor 10 and the third capacitor 30, and a third series capacitance value of the second capacitor 20 and the third capacitor 30;

[0062] 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;

[0063] The first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 are electrically connected to each other, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20, and the second plate 32 of the third capacitor 30 are electrically connected to the detection circuit 40;

[0064] The first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 move with the optical lens 1, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 remain fixed; or

[0065] The first plate 11 of the first capacitor 10 , the first plate 21 of the second capacitor 20 , and the first plate 31 of the third capacitor 30 remain fixed, and the second plate 12 of the first capacitor 10 , the second plate 22 of the second capacitor 20 , and the second plate 32 of the third capacitor 30 move with the optical lens 1 .

[0066] 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 can be composed of a single lens or multiple lenses, and the focus is adjusted by moving the optical lens 1 in the optical axis direction of the camera optical system; or, the optical lens 1 can also be a lens used in 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 shaking condition to maintain 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.

[0067] Generally, see Figure 2The 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 relative to the stator bracket 3, so that the distance adjustment of the optical lens 1 can be achieved through the relative movement of the mover bracket 2 and the stator bracket 3. 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 a magnet that drives the mover bracket 2 to move.

[0068] It should be noted that the movable bracket 2 referred to in the present application may refer to a focusing bracket in a camera motor that enables the optical lens 1 to focus by moving, or may refer to an anti-shake bracket in a camera motor that enables the optical lens 1 to perform optical image stabilization by moving. That is to say, the optical lens 1 movement detection device of the present application detects the movement position of the optical lens 1 along a preset direction, which may refer to the movement position of the optical lens 1 along the optical axis direction, or the movement position of the optical lens 1 along a direction perpendicular to the optical axis.

[0069] The capacitance value of at least one of the first capacitor 10, the second capacitor 20 and the third capacitor 30 changes with the movement of the optical lens 1, for example, Figure 2 When the mover bracket 2 moves along a preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 changes, while the plate facing area and the distance between the plates of the third capacitor 30 remain unchanged. Therefore, the capacitance values ​​of the first capacitor 10 and the second capacitor 20 can change with the movement of the optical lens 1.

[0070] For example, see Figure 3 , Figure 3 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown. When the mover bracket 2 moves along a preset direction, the plate spacing of the first capacitor 10, the second capacitor 20 and the third capacitor 30 changes, so the capacitance values ​​of the first capacitor 10, the second capacitor 20 and the third capacitor 30 can change with the movement of the optical lens 1.

[0071] For another example, see Figure 4 , Figure 4 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown. When the movable bracket 2 moves along a preset direction, the plate spacing of the first capacitor 10 changes, while the plate facing area and the plate spacing of the second capacitor 20 and the third capacitor 30 remain unchanged. Therefore, the capacitance value of the first capacitor 10 can change with the movement of the optical lens 1.

[0072] It should be pointed out that Figures 2 to 4In the figure, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 are fixed on the mover bracket 2, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 are fixed on the stator bracket 3, which is intended to exemplarily illustrate the arrangement of the first capacitor 10, the second capacitor 20 and the third capacitor 30. In fact, the arrangement of the plates of the first capacitor 10, the second capacitor 20 and the third capacitor 30 is not limited to this. For example, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 can also be fixed on the lens loaded with the optical lens 1, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 are fixed on the stator bracket 3.

[0073] The first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 are electrically connected to each other, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20, and the second plate 32 of the third capacitor 30 are electrically connected to the detection circuit 40. The detection circuit 40 can detect the first series capacitance value of the first capacitor 10 and the second capacitor 20, the second series capacitance value of the first capacitor 10 and the third capacitor 30, and the third series capacitance value of the second capacitor 20 and the third capacitor 30, so as to determine the capacitance values ​​of the first capacitor 10, the second capacitor 20, and the third capacitor 30, respectively.

[0074] For example, the detection circuit 40 may first inject a positive charge of a first preset charge amount into the second plate 12 of the first capacitor 10, and inject a negative charge of a first preset charge amount into the second plate 22 of the second capacitor 20. Since the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 are electrically connected to each other, the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 transfer charges to each other, so that the first plate 11 of the first capacitor 10 accumulates a positive charge of a preset first charge amount, and the first plate 21 of the second capacitor 20 accumulates a negative charge of a first preset charge amount, and finally achieves charge balance between the first capacitor 10 and the second capacitor 20. Therefore, at this time, the first series capacitance value of the first capacitor 10 and the second capacitor 20 can be measured as:

[0075] Cx=Qx / Ux

[0076] Wherein, Cx is the first series capacitance value, Qx is the first preset charge, and Ux is the voltage difference between the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 .

[0077] Similarly, after measuring the first series capacitance value, the detection circuit 40 can inject a second preset amount of positive charge into the second plate 12 of the first capacitor 10, and inject a second preset amount of negative charge into the second plate 32 of the third capacitor 30. Since the first plate 11 of the first capacitor 10 and the first plate 31 of the third capacitor 30 transfer charges to each other, the first plate 11 of the first capacitor 10 accumulates a second preset amount of negative charge, and the second plate 32 of the third capacitor 30 accumulates a second preset amount of positive charge, and finally achieves charge balance between the first capacitor 10 and the third capacitor 30. Therefore, the second series capacitance value of the first capacitor 10 and the third capacitor 30 can be measured at this time as follows:

[0078] Cy=Qy / Uy

[0079] Wherein, Cy is the second series capacitance value, Qy is the second preset charge, and Uy is the voltage difference between the second electrode plate 12 of the first capacitor 10 and the second electrode plate 32 of the third capacitor 30 .

[0080] Similarly, after measuring the second series capacitance value, the detection circuit 40 can inject a third preset charge amount of positive charge into the second plate 22 of the second capacitor 20, and inject a third preset charge amount of negative charge into the second plate 32 of the third capacitor 30. Since the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 transfer charges to each other, the first plate 21 of the second capacitor 20 accumulates a third preset charge amount of negative charge, and the second plate 32 of the third capacitor 30 accumulates a third preset charge amount of positive charge, and finally achieves charge balance between the first capacitor 10 and the third capacitor 30. Therefore, the third series capacitance value of the second capacitor 20 and the third capacitor 30 can be measured at this time as follows:

[0081] Cz=Qz / Uz

[0082] Wherein, Cz is the third series capacitance value, Qz is the third preset charge, and Uz is the voltage difference between the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 .

[0083] The first series capacitance value, the second series capacitance value of the first capacitor 10 and the third capacitor 30, and the third series capacitance value of the second capacitor 20 and the third capacitor 30 can be calculated according to the following formulas:

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

[0085] 1 / Cy=1 / C1+1 / C3

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

[0087] 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 capacitance value of the first capacitor 10 , C2 is the capacitance value of the second capacitor 20 , and C3 is the capacitance value of the third capacitor 30 .

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

[0089]

[0090]

[0091]

[0092] Since the capacitance value of at least one of the first capacitor 10, the second capacitor 20 and the third capacitor 30 changes with the movement of the optical lens 1, after obtaining the capacitance values ​​of the first capacitor 10, the second capacitor 20 and the third capacitor 30, the moving position of the optical lens 1 can be determined. Figure 4 For example, the distance between the plates of the first capacitor 10 can change with the movement of the optical lens 1, and the distance between the plates of the first capacitor 10 can be calculated according to the following formula:

[0093]

[0094]

[0095] Wherein, S1 is the area of ​​the plates facing each other of the first capacitor 10 , and d1 is the distance between the plates of the first capacitor 10 .

[0096] Because in Figure 4 The area facing the plates of the first capacitor 10 remains unchanged, while the distance between the plates changes. Therefore, after obtaining the distance between the plates of the first capacitor 10, the moving position of the optical lens 1 can be determined, and finally the focus detection / anti-shake detection function can be realized.

[0097] In some embodiments of the present application, with respect to determining the moving position of the optical lens 1 along the first axis X, the first capacitor 10 plate spacing and the first axis X can be mapped in advance to obtain a mapping relationship between the first capacitor 10 plate spacing and the coordinates of the first axis X (for example, a relationship data table or a relationship expression). After measuring the first capacitor 10 plate spacing, the coordinates of the optical lens 1 on the first axis X can be obtained based on the mapping relationship between the first capacitor 10 plate spacing and the coordinates of the first axis X. The coordinates of the optical lens 1 on the second axis Y and the third axis Z are the same, and will not be repeated here.

[0098] It can be understood that the first capacitance value of the first capacitor 10 can also be mapped to the first axis X to obtain a mapping relationship between the first capacitance value and the coordinates of the first axis X (for example, a relationship data table or a relationship expression). After measuring the first capacitance value of the first capacitor 10, the coordinates of the optical lens 1 on the first axis X can be obtained according to the mapping relationship between the first capacitance value and the coordinates of the first axis X; or, the first series capacitance value, the second series capacitance value and the third series capacitance value can be directly mapped to the first axis X, the second axis Y and the third axis Z, and the first series capacitance value, the second series capacitance value, the third series capacitance value and the mapping relationship can be directly used to determine the coordinates of the optical lens 1 on the first axis X, the second axis Y and the third axis Z.

[0099] In the embodiment of the present application, the detection circuit 40 is connected to three movable or three fixed plates, for example, Figures 2 to 4 The first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 are fixed on the mover bracket 2, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 are fixed on the stator bracket 3, so that the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 move with the optical lens 1, while the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 remain fixed.

[0100] For example, see Figure 5 , Figure 5 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 are fixed on the stator bracket 3, the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 are fixed on the mover bracket 2, so that the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 remain fixed, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 move with the optical lens 1.

[0101] It can be seen that since the detection circuit 40 is connected to three movable or three fixed electrodes, it can avoid the need for the detection circuit 40 to be connected to a fixed electrode and a movable electrode respectively, which ultimately makes the moving distance detection scheme of the optical lens difficult to implement and costly.

[0102] In addition, since the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 are not electrically connected to the detection circuit 40, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 can be electrically suspended. Even if the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, and the first plate 31 of the third capacitor 30 have parasitic capacitance (for example, parasitic capacitance generated relative to the metal structure of the optical lens or the mover bracket 2), the interference introduced by the parasitic capacitance can also be symmetrically suppressed by the fully differential circuit, thereby eliminating the interference of the parasitic capacitance and improving the detection accuracy of the detection circuit.

[0103] In some embodiments of the present application, the plate facing area and the plate spacing of the third capacitor 30 remain unchanged during the movement of the optical lens 1 along a preset direction, and the dielectric constants of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain equal during the movement of the optical lens 1. Figure 2 The plane where the first plate 31 of the third capacitor 30 and the second plate 32 of the third capacitor 30 are located is parallel to the preset direction, and the second plate 32 of the third capacitor 30 always covers the first plate 31 of the third capacitor 30 during the movement of the mover bracket 2. Therefore, the plate facing area and the plate spacing of the third capacitor 30 remain unchanged during the movement of the optical lens 1 along the preset direction.

[0104] It should be noted that the dielectric constant ε of the medium between the plates is required to calculate the moving position 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 capacitor will change, and then an error will be generated when calculating the moving position of the optical lens 1 according to the capacitance value of the capacitor, which leads to the problem of low robustness of the current focus detection scheme. In the above embodiment, since the plate-facing area and the plate spacing of the third capacitor 30 remain unchanged during the movement of the optical lens 1 in a preset direction, and the dielectric constants of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain equal during the movement of the optical lens 1, then when calculating the moving position of the optical lens 1, the influence of the dielectric constant can be eliminated.

[0105] For example, Figure 4 Taking the case where the capacitance value of the first capacitor 10 changes as the optical lens 1 moves along a preset direction as an example, the capacitance value of the first capacitor 10 and the capacitance value of the third capacitor 30 can be calculated according to the following formula:

[0106]

[0107]

[0108] Wherein, S3 is the area of ​​the plates facing each other of the third capacitor 30 , and d3 is the distance between the plates of the third capacitor 30 .

[0109] Therefore, the capacitance ratio of the first capacitor 10 to the third capacitor 30 can be calculated according to the following formula:

[0110]

[0111] Therefore, the plate spacing of the first capacitor 10 can be calculated according to the following formula:

[0112]

[0113] In the above formula, S1, d3, and S3 are constant and known quantities during the movement of the optical lens 1. Therefore, after measuring the first series capacitance value Cx, the second series capacitance value Cy, and the third series capacitance value Cz, the plate spacing of the first capacitor 10 can be calculated, and the moving position of the optical lens 1 can be finally determined. At the same time, because in the above formula, the parameter of the dielectric constant is eliminated by the capacitance ratio of the first capacitor 10 to the third capacitor 30, when the dielectric constant of the capacitor changes due to changes in the environment in which the capacitor is located (such as temperature changes), it will not cause errors in the detection of the moving position of the optical lens 1, and ultimately improve the robustness of the focus detection scheme.

[0114] It can be understood that the first capacitor 10, the second capacitor 20 and the third capacitor 30 are in the same environment, and when the environmental factors (air medium, temperature or pressure, etc.) are consistent, it can be considered that the dielectric constants of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain equal during the movement of the optical lens 1. Figures 2 to 4 The plates of the first capacitor 10, the second capacitor 20 and the third capacitor 30 are located in the chamber of the stator bracket 3 and the mover bracket 2. Due to the consistent environmental factors, the dielectric constants of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain equal during the movement of the optical lens 1.

[0115] In some embodiments of the present application, the capacitance values ​​of the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1, for example, see Figure 2 , the plane where the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 are located is perpendicular to the preset direction, then when the optical lens 1 moves along the preset direction, the plate spacing between the first capacitor 10 and the second capacitor 20 will be changed, so that the capacitance values ​​of the first capacitor 10 and the second capacitor 20 will change. After the capacitance values ​​of the first capacitor 10 and the second capacitor 20 are measured, the plate spacing between the first capacitor 10 and the second capacitor 20 can be determined, and finally the moving position of the optical lens 1 can be obtained.

[0116] For example, taking the case where the plate facing area and the plate spacing of the third capacitor 30 remain unchanged during the movement of the optical lens 1 along the preset direction, according to the above formula, the plate spacing of the first capacitor 10 and the plate spacing of the second capacitor 20 can be calculated according to the following formula:

[0117]

[0118]

[0119] Since the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 move synchronously, the above process actually measures the moving position of the optical lens 1 twice. Therefore, the two measurement results can be compared to obtain the final moving position of the optical lens 1, or the two measurement results can be mathematically processed / empirically processed to obtain the final moving position of the optical lens.

[0120] In some embodiments of the present application, for example, in an embodiment where the capacitance values ​​of the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1, during the movement of the optical lens 1 along a preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 changes with the movement of the optical lens 1, and the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 remains unchanged. Figure 2 The plane where the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 are located is perpendicular to the preset direction, and the first plate 11 of the first capacitor 10 overlaps with the second plate 12 of the first capacitor 10, and the first plate 21 of the second capacitor 20 overlaps with the second plate 22 of the second capacitor 20. Therefore, when the optical lens 1 moves along the preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 changes with the movement of the optical lens 1, and the area facing each other of the plates of the first capacitor 10 and the second capacitor 20 remains unchanged.

[0121] In some embodiments of the present application, for example, in an embodiment where the capacitance values ​​of the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1, during the movement of the optical lens 1 along a preset direction, the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 changes with the movement of the optical lens 1, and the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged. Figure 6 , Figure 6Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, the plane where the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 are located is parallel to the preset direction, the first plate 11 of the first capacitor 10 and the second plate 12 of the first capacitor 10 do not completely overlap, and the first plate 21 of the second capacitor 20 and the second plate 22 of the second capacitor 20 do not completely overlap, so when the optical lens 1 moves along the preset direction, the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 will change with the movement of the optical lens 1, but the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged.

[0122] In some embodiments of the present application, when the optical lens 1 moves along a preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged, the plate-facing area of ​​one of the first capacitor 10 and the second capacitor 20 increases, and the plate-facing area of ​​the other decreases. Figure 6 When the optical lens 1 moves in the vertical upward direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged, the area directly facing the plates of the first capacitor 10 decreases, and the area directly facing the plates of the second capacitor 20 increases; conversely, when the optical lens 1 moves in the vertical downward direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged, the area directly facing the plates of the second capacitor 20 decreases, and the area directly facing the plates of the first capacitor 10 increases.

[0123] In some embodiments of the present application, when the optical lens 1 moves along a preset direction, the area of ​​the plates of the first capacitor 10 and the second capacitor 20 remains unchanged, the distance between the plates of one of the first capacitor 10 and the second capacitor 20 increases, and the distance between the plates of the other decreases. Figure 7 , Figure 7 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown. When the optical lens 1 moves in the vertical upward direction, the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 remains unchanged, the distance between the plates of the first capacitor 10 increases, and the distance between the plates of the second capacitor 20 decreases; conversely, when the optical lens 1 moves in the vertical downward direction, the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 remains unchanged, the distance between the plates of the first capacitor 10 decreases, and the distance between the plates of the second capacitor 20 increases.

[0124] It can be understood that, when the optical lens 1 moves along the preset direction, the area of ​​the plates facing each other or the distance between the plates of the first capacitor 10 and the second capacitor 20 can also be increased or decreased synchronously.

[0125] In some embodiments of the present application, see Figure 8 , Figure 8Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, the first electrode plate 11 of the first capacitor 10, the first electrode plate 21 of the second capacitor 20 and the first electrode plate 31 of the third capacitor 30 are integrally formed, that is, the first electrode plate 11 of the first capacitor 10, the first electrode plate 21 of the second capacitor 20 and the first electrode plate 31 of the third capacitor 30 are integral electrodes, and the first capacitor 10, the second capacitor 20 and the third capacitor 30 can be formed by only placing the integral electrode plate directly opposite the second electrode plate 12 of the first capacitor 10, the second electrode plate 22 of the second capacitor 20 and the second electrode plate 32 of the third capacitor 30, not only realizing the mutual electrical connection of the first electrode plate 11 of the first capacitor 10, the first electrode plate 21 of the second capacitor 20 and the first electrode plate 31 of the third capacitor 30, but also eliminating the need to set a connecting wire between the first electrode plate 11 of the first capacitor 10, the first electrode plate 21 of the second capacitor 20 and the third capacitor 30, thereby achieving the purpose of simplifying the structure of the optical lens 1 movement detection device.

[0126] In some embodiments of the present application, see Fig. 9 , Fig. 9 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, the first electrode plate 11 of the first capacitor 10 and the first electrode plate 21 of the second capacitor 20 are integrally formed, that is, the first electrode plate 11 of the first capacitor 10 and the first electrode plate 21 of the second capacitor 20 are integral plates, and the first capacitor 10 and the second capacitor 20 can be formed by only placing the integral electrode plate directly opposite the second electrode plate 12 of the first capacitor 10 and the second electrode plate 22 of the second capacitor 20, which not only realizes the mutual electrical connection between the first electrode plate 11 of the first capacitor 10 and the first electrode plate 21 of the second capacitor 20, but also eliminates the need to set a connecting wire between the first electrode plate 11 of the first capacitor 10 and the first electrode plate 21 of the second capacitor 20.

[0127] It is understandable that the first plate 11 of the first capacitor 10 and the first plate 31 of the third capacitor 30 may be integrally formed, or the first plate 21 of the second capacitor 20 and the first plate 31 of the third capacitor 30 may be integrally formed, thereby reducing the corresponding connecting wires.

[0128] In some embodiments of the present application, see Figure 2In the process of the optical lens 1 moving along the preset direction, the areas directly facing each other of the plates of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain unchanged. At the same time, the planes where the second plates 12 of the first capacitor 10 and the second plates 22 of the second capacitor 20 are located are perpendicular to the preset direction, and the second plates 32 of the third capacitor 30 are parallel to the preset direction. Therefore, in the process of the optical lens 1 moving along the preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 will change, but the distance between the plates of the third capacitor 30 remains unchanged, and finally the capacitance values ​​of the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1 along the preset direction, but the distance between the plates and the area directly facing each other of the third capacitor 30 remain unchanged, so as to utilize the capacitance ratio of the first capacitor 10 to the third capacitor 30 and the capacitance ratio of the second capacitor 20 to the third capacitor 30 to eliminate the influence of the dielectric constant.

[0129] In some embodiments of the present application, see Figure 6 , during the movement of the optical lens 1 along the preset direction, the area of ​​the plates facing the third capacitor 30 remains unchanged, the areas of the plates facing the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1, and the planes where the second plates 12 of the first capacitor 10, the second plates 22 of the second capacitor 20, and the second plates 32 of the third capacitor 30 are located are parallel to the preset direction. Therefore, during the movement of the optical lens 1 along the preset direction, the areas of the plates facing the first capacitor 10 and the second capacitor 20 will change, but the areas of the plates facing the third capacitor 30 remain unchanged, and finally the capacitance values ​​of the first capacitor 10 and the second capacitor 20 change with the movement of the optical lens 1 along the preset direction, but the plate spacing and the areas of the plates facing the third capacitor 30 remain unchanged, so as to eliminate the influence of the dielectric constant by utilizing the capacitance ratio of the first capacitor 10 to the third capacitor 30 and the capacitance ratio of the second capacitor 20 to the third capacitor 30.

[0130] In some embodiments of the present application, see Fig.10 , Fig.10 Another structural schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the detection circuit 40 includes a switching circuit 41 and a measuring circuit 42; the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 are connected to the input end of the switching circuit 41, and the input end of the measuring circuit 42 is connected to the output end of the switching circuit 41; the switching circuit 41 is used to conduct the path between any two of the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 and the measuring circuit 42, and the measuring circuit 42 is used to detect the series capacitance value of the two capacitors whose paths are conducted to the measuring circuit 42.

[0131] For example, when the switch circuit 41 connects the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 to the measuring circuit 42, the measuring circuit 42 can detect the first series capacitance value of the first capacitor 10 and the second capacitor 20; for another example, when the switch circuit 41 connects the second plate 12 of the first capacitor 10 and the second plate 32 of the third capacitor 30 to the measuring circuit 42, the measuring circuit 42 can detect the second series capacitance value of the first capacitor 10 and the third capacitor 30; for another example, when the switch circuit 41 connects the second plate 22 of the second capacitor 20 and the second plate 32 of the third capacitor 30 to the measuring circuit 42, the measuring circuit 42 can detect the third series capacitance value of the second capacitor 20 and the third capacitor 30.

[0132] As an example, see Fig.11 , Fig.11 A schematic diagram of an equivalent circuit of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the switch circuit 41 includes a first switch Sc1, a second switch Sc2, a third switch Sc3 and a fourth switch Sc4; a first end of the first switch Sc1 is electrically connected to the second plate 12 of the first capacitor 10, and a second end of the first switch Sc1 is electrically connected to a first input end of a measuring circuit 42; a first end of the second switch Sc2 is electrically connected to the second plate 22 of the second capacitor 20, and a second end of the second switch Sc2 is electrically connected to the first input end of the measuring circuit 42; a first end of the third switch Sc3 is electrically connected to the second plate 22 of the second capacitor 20, and a second end of the third switch Sc3 is electrically connected to a second input end of the measuring circuit 42; a first end of the fourth switch Sc4 is electrically connected to the second plate 32 of the third capacitor 30, and a second end of the fourth switch Sc4 is electrically connected to a second input end of the measuring circuit 42.

[0133] For example, when the first switching switch Sc1 and the third switching switch Sc3 are closed, but the second switching switch Sc2 and the fourth switching switch Sc4 are opened, the path between the second plate 12 of the first capacitor 10 and the first input terminal of the measuring circuit 42, and the path between the second plate 22 of the second capacitor 20 and the second input terminal of the measuring circuit 42 are turned on, and the measuring circuit 42 can detect the first series capacitance value of the first capacitor 10 and the second capacitor 20.

[0134] When the first switching switch Sc1 and the fourth switching switch Sc4 are closed, but the second switching switch Sc2 and the third switching switch Sc3 are opened, the path between the second plate 12 of the first capacitor 10 and the first input terminal of the measuring circuit 42, and the path between the second plate 32 of the third capacitor 30 and the second input terminal of the measuring circuit 42 are turned on, and the measuring circuit 42 can detect the second series capacitance value of the first capacitor 10 and the third capacitor 30.

[0135] When the second switching switch Sc2 and the fourth switching switch Sc4 are closed, but the first switching switch Sc1 and the third switching switch Sc3 are opened, the path between the second plate 22 of the second capacitor 20 and the first input terminal of the measuring circuit 42, and the path between the second plate 32 of the third capacitor 30 and the second input terminal of the measuring circuit 42 are turned on, and the measuring circuit 42 can detect the third series capacitance value of the second capacitor 20 and the third capacitor 30.

[0136] It can be understood that the switch circuit 41 is only an exemplary embodiment, and the first switch Sc1, the second switch Sc2, the third switch Sc3 and the fourth switch Sc4 can be transistors with switch functions such as MOS tubes, IGBT tubes, triodes, etc. At the same time, it should be pointed out that the switch circuit 41 and the measuring circuit 42 can be circuits integrated in a dedicated chip (such as a camera chip) or circuits integrated on a circuit board, and this application does not make specific limitations.

[0137] In some embodiments of the present application, see Fig.12 , Fig.12 Another equivalent circuit schematic diagram of the optical lens 1 movement detection device in an embodiment of the present application is shown, wherein the measurement circuit 42 includes a fully differential operational amplifier; the second end of the first switching switch Sc1 and the second end of the second switching switch Sc2 are electrically connected to the first input end of the fully differential operational amplifier; the second end of the third switching switch Sc3 and the second end of the fourth switching switch Sc4 are electrically connected to the second input end of the fully differential operational amplifier.

[0138] The fully differential operational amplifier can amplify the voltage difference between the second plates of the two capacitors connected in series, so that the analog-to-digital converter can measure the amplified voltage difference. For example, when the first switch Sc1 and the third switch Sc3 are closed, but the second switch Sc2 and the fourth switch Sc4 are open, the first series capacitance value of the first capacitor 10 and the second capacitor 20 can be calculated according to the following formula:

[0139]

[0140] Wherein, k is the signal amplification factor of the fully differential operational amplifier, U1 is the output voltage of the fully differential operational amplifier, and Q1 is the charge accumulated in the first capacitor 10 and the second capacitor 20 .

[0141] It can be understood that the second series capacitance value of the first capacitor 10 and the third capacitor 30 and the third series capacitance value of the second capacitor 20 and the third capacitor 30 are similar and will not be described in detail here.

[0142] In some embodiments of the present application, in order to facilitate the injection of charges into the first capacitor 10, the second capacitor 20 and the third capacitor 30, refer to Fig.13 , Fig.13 Another equivalent circuit schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the measurement circuit 42 also includes a first charge injection circuit 421 and a second charge injection circuit 422; the first charge injection circuit 421 is configured to inject a first preset amount of first charge into the first input terminal of the fully differential operational amplifier, and the second charge injection circuit 422 is configured to inject a second preset amount of second charge into the second input terminal of the fully differential operational amplifier; 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.

[0143] For example, when the first switching switch Sc1 and the third switching switch Sc3 are closed, but the second switching switch Sc2 and the fourth switching switch Sc4 are opened, the first charge injection circuit 421 injects positive charge into the second plate 12 of the first capacitor 10, and the second charge injection circuit 422 injects negative charge into the second plate 22 of the second capacitor 20. Since the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 are connected to each other and charge is transferred, the first plate 11 of the first capacitor 10 accumulates negative charge, while the second plate 22 of the second capacitor 20 accumulates positive charge. Therefore, there is no need to charge the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20. Ultimately, the first plate 11 of the first capacitor 10 accumulates negative charge to reach a charge balance state of the capacitor, while the first plate 21 of the second capacitor 20 accumulates positive charge to reach a charge balance state of the capacitor.

[0144] It can be understood that the above is a method of injecting charge during the process of measuring the first series capacitance value of the first capacitor 10 and the second capacitor 20. The same is true for measuring the second series capacitance value of the first capacitor 10 and the third capacitor 30 and the third series capacitance value of the second capacitor 20 and the third capacitor 30, which will not be repeated here.

[0145] As an example, see Fig.14 , Fig.14Another equivalent circuit diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the first charge injection circuit 421 includes a first sub-switch s1, a second sub-switch s2 and a third sub-switch s3, and the second charge injection circuit 422 includes a fourth sub-switch s4, a fifth sub-switch s5 and a sixth sub-switch s6; one end of the first sub-switch s1 is connected to the first input end of the fully differential operational amplifier OP, and the other end is connected to the first node M1 between the second sub-switch s2 and the third sub-switch s3; the second sub-switch s2 is connected to the power supply end, and one end of the third sub-switch s3 is connected to the ground end; one end of the fourth sub-switch s4 is connected to the second input end of the fully differential operational amplifier OP, and the other end is connected to the second node M2 ​​between the fifth sub-switch s5 and the sixth sub-switch s6; the fifth sub-switch s5 is connected to the power supply end, and one end of the sixth sub-switch s6 is connected to the ground end.

[0146] Taking the measurement of the first series capacitance value of the first capacitor 10 and the second capacitor 20 as an example, when the first switching switch Sc1 and the third switching switch Sc3 are closed, the second switching switch Sc2 and the fourth switching switch Sc4 are opened, the first sub-switch s1 and the fourth sub-switch s4 are opened, and the second sub-switch s2 and the sixth sub-switch s6 are closed, and the third sub-switch s3 and the fifth sub-switch s5 are opened, the power supply terminal VDD charges the second plate 12 of the first capacitor 10 with positive charge through the second sub-switch s2, and the ground terminal charges the second plate 22 of the second capacitor 20 with an equal amount of negative charge through the sixth sub-switch s6, ultimately achieving the purpose of charging the first capacitor 10 and the second capacitor 20 connected in series.

[0147] As another example, see Fig.15 , Fig.15 Another equivalent circuit schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the first charge injection circuit 421 includes a first current source I1 and a first control switch S01, and the second charge injection circuit 422 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 12 of the first 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 22 of the second capacitor 20.

[0148] Taking the measurement of the first series capacitance value of the first capacitor 10 and the second capacitor 20 as an example, when the first switch Sc1 and the third switch Sc3 are closed, but the second switch Sc2 and the fourth switch Sc4 are opened, the first current source I1 can inject current into the second plate 12 of the first capacitor 10 through the control of the first control switch S01, so that the second plate 12 of the first capacitor 10 accumulates positive charge; and the second current source I2 can extract the positive charge of the second plate 22 of the second capacitor 20 through the control of the second control switch S02, so that the second plate 22 of the second capacitor 20 accumulates negative charge. Specifically, the amount of injected charge can be calculated according to the following formula:

[0149] Q=I*t

[0150] Wherein, Q is the charge accumulated on the second plate 12 of the first capacitor 10 / the second plate 22 of the second capacitor 20, I is the current of the first current source I1 / the second current source I2, and t is the closing time of the first control switch S01 / the second control switch S02.

[0151] As another example, see Fig.16 , Fig.16 Another equivalent circuit schematic diagram of the optical lens 1 movement detection device in the embodiment of the present application is shown, wherein the first charge injection circuit 421 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 used to access the first preset voltage; 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 12 of the first 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 used for grounding; 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 for the second preset voltage.

[0152] Specifically, taking the measurement of the first series capacitance value of the first capacitor 10 and the second capacitor 20 as an example, when the first switch Sc1 and the third switch Sc3 are closed, the second switch Sc2 and the fourth switch Sc4 are opened, the third switch S3 and the fourth switch S4 are closed, and the first switch S1 and the second switch S2 are opened, the charge accumulated on the corresponding plate at the second end of the first control capacitor C1 after charging is completed is:

[0153] Q1=V2*C01

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

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

[0156] Q2=-V1*C01

[0157] Wherein, V1 is a first preset voltage.

[0158] 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 12 of the first capacitor 10 is:

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

[0160] It can be seen that by changing the first preset voltage, the second preset voltage and the size of the first control capacitor C1, the amount of charge transferred from the first control capacitor C1 to the second plate 12 of the first capacitor 10 can be controlled, thereby achieving the control of the amount of charge injected into the second plate 12 of the first capacitor 10.

[0161] Continue reading Fig.16 The second charge injection circuit 422 includes 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 access the third preset voltage; 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 electrode plate 22 of the second 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 used for grounding; 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 for the fourth preset voltage.

[0162] Similarly, taking the measurement of the first series capacitance value of the first capacitor 10 and the second capacitor 20 as an example, when the first switch Sc1 and the third switch Sc3 are closed, the second switch Sc2 and the fourth switch Sc4 are opened, the seventh switch S7 and the eighth switch S8 are closed, and the fifth switch S5 and the sixth switch S6 are opened, the charge accumulated on the corresponding plate at the second end of the second control capacitor C2 after charging is completed is:

[0163] Q3=V4*C02

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

[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

[0167] Wherein, V3 is the third preset voltage.

[0168] 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 22 of the second capacitor 20 is:

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

[0170] It can be seen that by changing the third preset voltage, the fourth preset voltage and the size of the second control capacitor C2, the amount of charge transferred from the second control capacitor C2 to the second plate 22 of the second capacitor 20 can be controlled, thereby achieving the control of the amount of charge injected into the second plate 22 of the second capacitor 20.

[0171] 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 electrical properties, and the second preset voltage and the fourth preset voltage are equal in magnitude and opposite in electrical properties. 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, so the first charge injection circuit 421 can inject positive charge into the second plate 12 of the first capacitor 10, and the second charge injection circuit 422 can inject negative charge into the second plate 22 of the second capacitor 20, and at the same time, the amount of charge injected into the second plate 12 of the first capacitor 10 and the second plate 22 of the second capacitor 20 are equal.

[0172] It can be understood that the above contents about the detection circuit 40 are intended to clearly illustrate the implementation verification process of the present application. Under the guidance of the present application, those skilled in the art can also make equivalent modified designs. For example, refer to Fig.17 , Fig.17 Another structural schematic diagram of the optical lens 1 movement detection device in an embodiment of the present application is shown, wherein the detection circuit 40 includes three measurement circuits 42 described in any of the above embodiments to respectively measure the first series capacitance value of the first capacitor 10 and the second capacitor 20, the second series capacitance value of the first capacitor 10 and the third capacitor 30, and the third series capacitance value of the second capacitor 20 and the third capacitor 30.

[0173] Furthermore, in order to better implement the optical lens 1 movement detection device in the embodiment of the present application, on the basis of the optical lens 1 movement detection device, the present application also provides an optical lens 1 movement detection method, which is applied to the optical lens 1 movement detection device described in any of the above embodiments, Fig.18 , Fig.18 A schematic flow chart of a method for detecting movement of an optical lens 1 in an embodiment of the present application is shown. The method for detecting movement of an optical lens 1 includes:

[0174] Step S1801, obtaining a first series capacitance value of the first capacitor 10 and the second capacitor 20, a second series capacitance value of the first capacitor 10 and the third capacitor 30, and a third series capacitance value of the second capacitor 20 and the third capacitor 30;

[0175] Step S1802, determining a first capacitance value of the first capacitor 10, a second capacitance value of the second capacitor 20, and a third capacitance value of the third capacitor 30 according to the first series capacitance value, the second series capacitance value, and the third series capacitance value;

[0176] Step S1803, determining the moving position of the optical lens 1 along a preset direction according to the first capacitance value, the second capacitance value and the third capacitance value.

[0177] Specifically, the capacitance value of the first capacitor 10 , the capacitance value of the second capacitor 20 , and the capacitance value of the third capacitor 30 can be calculated by combining three formulas according to the first series capacitance value, the second series capacitance value, and the third series capacitance value:

[0178]

[0179]

[0180]

[0181] After determining the first capacitance value, the second capacitance value, and the third capacitance value, the moving position of the optical lens 1 along the preset direction can be determined. For example, Figure 4 For example, the distance between the plates of the first capacitor 10 can change with the movement of the optical lens 1, and the distance between the plates of the first capacitor 10 can be calculated according to the following formula:

[0182]

[0183] After the distance between the plates of the first capacitor 10 is determined, the moving position of the optical lens 1 can be determined.

[0184] In some embodiments of the present application, the plate facing area and the plate spacing of the third capacitor 30 remain unchanged during the movement of the optical lens 1 along a preset direction, and the dielectric constants of the first capacitor 10, the second capacitor 20 and the third capacitor 30 remain equal during the movement of the optical lens 1.

[0185] As an example, see Figure 2 In the process of the optical lens 1 moving along the preset direction, the distance between the plates of the first capacitor 10 and the second capacitor 20 changes with the movement of the optical lens 1, and the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 remains unchanged. According to the first capacitance value, the second capacitance value and the third capacitance value of the third capacitor 30, the step of determining the moving position of the optical lens 1 along the preset direction includes:

[0186] Determine the plate spacing of the first capacitor 10 according to the first capacitance value, the third capacitance value and the plate spacing of the third capacitor 30; and / or

[0187] The plate distance of the second capacitor 20 is determined according to the second capacitance value, the third capacitance value and the plate distance of the third capacitor 30 .

[0188] Specifically, according to the above formula and the capacitance calculation formula, it can be known that the plate spacing of the first capacitor 10 and the plate spacing of the second capacitor 20 can be calculated according to the following formula:

[0189]

[0190]

[0191] Wherein, S2 is the area of ​​the plates facing each other of the second capacitor 20 , and d2 is the distance between the plates of the second capacitor 20 .

[0192] After obtaining the plate spacing of the first capacitor 10 and the plate spacing of the second capacitor 20, the moving position of the optical lens 1 can be determined. For example, the plate spacing of the first capacitor 10 is used as the basis for determining the moving position of the optical lens. For another example, the average value of the plate spacing of the first capacitor 10 and the plate spacing of the second capacitor 20 is used as the basis for determining the moving position of the optical lens.

[0193] As another example, see Figure 6 , when the optical lens 1 moves along a preset direction, the area of ​​the plates facing each other of the first capacitor 10 and the second capacitor 20 changes with the movement of the optical lens 1, and the distance between the plates of the first capacitor 10 and the second capacitor 20 remains unchanged;

[0194] The step of determining the moving position of the optical lens 1 along a preset direction according to the first capacitance value, the second capacitance value and the third capacitance value comprises:

[0195] Determine the area of ​​the plates of the first capacitor 10 according to the first capacitance value, the third capacitance value and the area of ​​the plates of the third capacitor 30; and / or

[0196] The area of ​​the plates of the second capacitor 20 is determined according to the second capacitance value, the third capacitance value, and the area of ​​the plates of the third capacitor 30 .

[0197] Specifically, according to the above formula and the capacitance calculation formula, it can be known that the plate facing area of ​​the first capacitor 10 and the plate facing area of ​​the second capacitor 20 can be calculated according to the following formula:

[0198]

[0199]

[0200] After obtaining the plate facing area of ​​the first capacitor 10 and the plate facing area of ​​the second capacitor 20, the moving position of the optical lens 1 can be determined. For example, the plate facing area of ​​the first capacitor 10 is used as the basis for determining the moving position of the optical lens, and for another example, the average value of the plate facing area of ​​the first capacitor 10 and the plate facing area of ​​the second capacitor 20 is used as the basis for determining the moving position of the optical lens.

[0201] Furthermore, an embodiment of the present invention further provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any of the optical lens movement detection methods provided in the embodiments of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:

[0202] Obtain a first series capacitance value of the first capacitor 10 and the second capacitor 20, a second series capacitance value of the first capacitor 10 and the third capacitor 30, and a third series capacitance value of the second capacitor 20 and the third capacitor 30;

[0203] Determine a first capacitance value of the first capacitor 10, a second capacitance value of the second capacitor 20, and a third capacitance value of the third capacitor 30 according to the first series capacitance value, the second series capacitance value, and the third series capacitance value;

[0204] The moving position of the optical lens 1 along a preset direction is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

[0205] Furthermore, in order to better implement the optical lens 1 movement detection device in the embodiment of the present application, on the basis of the optical lens 1 movement detection device, the present application also provides a focus motor, and the focus motor includes the optical lens 1 movement detection device described in any of the above embodiments. Since the focus motor in the embodiment of the present application is provided with the optical lens 1 movement detection device in the above embodiment, it has all the beneficial effects of the above optical lens 1 movement detection device, which will not be described in detail here.

[0206] Furthermore, in order to better implement the focus motor in the embodiment of the present application, on the basis of the focus motor, the present application also provides a camera module, which includes a focus motor as in any of the above embodiments. Since the camera module in the embodiment of the present application is provided with the optical lens 1 movement detection device in the above embodiment, it has all the beneficial effects of the above optical lens 1 movement detection device, which will not be described in detail here.

[0207] Furthermore, in order to better implement the camera module in the embodiment of the present application, on the basis of the camera module, the present application also provides an electronic device, and the electronic device 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). 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 1 movement detection device of the above embodiment, it has all the beneficial effects of the above optical lens 1 movement detection device, which will not be repeated here.

[0208] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.

[0209] The basic concepts have been described above. Obviously, for those skilled in the art, the above detailed disclosure is only for example and does not constitute a limitation of the present application. Although not explicitly stated herein, those skilled in the art may make various modifications, improvements and amendments to the present application. Such modifications, improvements and amendments are suggested in the present application, so such modifications, improvements and amendments still belong to the spirit and scope of the exemplary embodiments of the present application.

[0210] At the same time, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "an embodiment", and / or "some embodiments" refer to a certain feature, structure or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that "one embodiment" or "an embodiment" or "an alternative embodiment" mentioned twice or more in different positions in this specification does not necessarily refer to the same embodiment. In addition, some features, structures or characteristics in one or more embodiments of the present application can be appropriately combined.

[0211] Similarly, it should be noted that in order to simplify the description of the disclosure of this application and thus help understand one or more embodiments of the invention, in the above description of the embodiments of this application, multiple features are sometimes combined into one embodiment, figure or description thereof. However, this disclosure method does not mean that the features required by the object of this application are more than the features mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiment disclosed above.

[0212] In some embodiments, numbers describing the number of components and attributes are used. It should be understood that such numbers used in the description of the embodiments are modified by the modifiers "about", "approximately" or "substantially" in some examples. Unless otherwise specified, "about", "approximately" or "substantially" indicate that the numbers are allowed to vary by ±20%. Accordingly, in some embodiments, the numerical parameters used in the specification and claims are approximate values, which may change according to the required features of individual embodiments. In some embodiments, the numerical parameters should take into account the specified significant digits and adopt the general method of retaining digits. Although the numerical domains and parameters used to confirm the breadth of their range in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values ​​is as accurate as possible within the feasible range.

[0213] Each patent, patent application, patent application publication, and other materials, such as articles, books, specifications, publications, documents, etc., cited in this application is hereby incorporated by reference in its entirety, except for application history documents that are inconsistent with or conflicting with the content of this application, and documents that limit the broadest scope of the claims of this application (currently or later attached to this application). It should be noted that if the descriptions, definitions, and / or use of terms in the accompanying materials of this application are inconsistent or conflicting with the content described in this application, the descriptions, definitions, and / or use of terms in this application shall prevail.

[0214] The above is a detailed introduction to an optical lens 1 movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device provided in the embodiments of the present application. Specific examples are used herein to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the ideas of the present invention, there will be changes in the specific implementation methods and application scopes. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An optical lens movement detection device, characterized in that: The optical lens movement detection device is used to detect the movement position of the optical lens along a preset direction, and includes: A first capacitor, a second capacitor and a third capacitor, wherein the capacitance value of at least one of the first capacitor, the second capacitor and the third capacitor changes with the movement of the optical lens; a detection circuit, the detection circuit being used to detect a first series capacitance value of the first capacitor and the second capacitor, a second series capacitance value of the first capacitor and the third capacitor, and a third series capacitance value of the second capacitor and the third capacitor; Wherein, the first series capacitance value, the second series capacitance value and the third series capacitance value are used to determine a first capacitance value, a second capacitance value and a third capacitance value; The first plate of the first capacitor, the first plate of the second capacitor, and the first plate of the third capacitor are electrically connected to each other, and the second plate of the first capacitor, the second plate of the second capacitor, and the second plate of the third capacitor are electrically connected to the detection circuit; The first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor move with the optical lens, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor remain fixed; or The first plate of the first capacitor, the first plate of the second capacitor and the first plate of the third capacitor remain fixed, and the second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor move with the optical lens.

2. The optical lens movement detection device according to claim 1, characterized in that: The plate facing area and plate spacing of the third capacitor remain unchanged during the movement of the optical lens along the preset direction, and the dielectric constants of the first capacitor, the second capacitor and the third capacitor remain equal during the movement of the optical lens.

3. The optical lens movement detection device according to claim 2, characterized in that: The capacitance values ​​of the first capacitor and the second capacitor change with the movement of the optical lens.

4. The optical lens movement detection device according to claim 3, characterized in that: During the movement of the optical lens along the preset direction, the distance between the plates of the first capacitor and the second capacitor changes with the movement of the optical lens, and the area of ​​the plates facing each other remains unchanged; or When the optical lens moves along the preset direction, the facing area of ​​the plates of the first capacitor and the second capacitor changes with the movement of the optical lens, and the distance between the plates of the first capacitor and the second capacitor remains unchanged.

5. The optical lens movement detection device according to claim 3, characterized in that: During the movement of the optical lens along the preset direction, the distance between the plates of the first capacitor and the second capacitor remains unchanged, the plate-facing area of ​​one of the first capacitor and the second capacitor increases, and the plate-facing area of ​​the other decreases; or During the movement of the optical lens along the preset direction, the facing areas of the plates of the first capacitor and the second capacitor remain unchanged, the distance between the plates of one of the first capacitor and the second capacitor increases, and the distance between the plates of the other decreases.

6. The optical lens movement detection device according to claim 1, characterized in that: The first electrode plate of the first capacitor, the first electrode plate of the second capacitor, and the first electrode plate of the third capacitor are integrally formed; or The first electrode plate of the first capacitor and the first electrode plate of the second capacitor are integrally formed; or The first electrode plate of the first capacitor and the first electrode plate of the third capacitor are integrally formed; or The first electrode plate of the second capacitor and the first electrode plate of the third capacitor are integrally formed.

7. The optical lens movement detection device according to claim 1, characterized in that: The planes where the second plate of the first capacitor and the second plate of the second capacitor are located are perpendicular to the preset direction, and the second plate of the third capacitor is parallel to the preset direction; When the optical lens moves along the preset direction, the facing areas of the plates of the first capacitor, the second capacitor and the third capacitor remain unchanged.

8. The optical lens movement detection device according to claim 1, characterized in that: The planes where the second plate of the first capacitor, the second plate of the second capacitor, and the second plate of the third capacitor are located are parallel to the preset direction; When the optical lens moves along the preset direction, the area facing the plates of the third capacitor remains unchanged, and the areas facing the plates of the first capacitor and the second capacitor change with the movement of the optical lens.

9. The optical lens movement detection device according to claim 1, characterized in that: The detection circuit includes a switch circuit and a measurement circuit; The second plate of the first capacitor, the second plate of the second capacitor and the second plate of the third capacitor are connected to the input end of the switch circuit, and the input end of the measurement circuit is connected to the output end of the switch circuit; The switching circuit is used to conduct the path between any two of the second plate of the first capacitor, the second plate of the second capacitor, and the second plate of the third capacitor and the measurement circuit, and the measurement circuit is used to detect the series capacitance value of the two capacitors whose paths are conducted to the measurement circuit.

10. The optical lens movement detection device according to claim 9, characterized in that: The switch circuit includes a first switch, a second switch, a third switch and a fourth switch; A first end of the first switching switch is electrically connected to the second plate of the first capacitor, and a second end of the first switching switch is electrically connected to the first input end of the measurement circuit; A first end of the second switch is electrically connected to the second plate of the second capacitor, and a second end of the second switch is electrically connected to the first input end of the measurement circuit; A first end of the third switch is electrically connected to the second plate of the second capacitor, and a second end of the third switch is electrically connected to the second input end of the measurement circuit; A first end of the fourth switch is electrically connected to the second plate of the third capacitor, and a second end of the fourth switch is electrically connected to the second input end of the measurement circuit.

11. The optical lens movement detection device according to claim 10, characterized in that: The measurement circuit includes a fully differential operational amplifier; The second end of the first switch and the second end of the second switch are electrically connected to the first input end of the fully differential operational amplifier; The second end of the third switch and the second end of the fourth switch are electrically connected to the second input end of the fully differential operational amplifier.

12. The optical lens movement detection device according to claim 11, characterized in that: The measurement 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 first input terminal of the fully differential operational amplifier, and the second charge injection circuit is configured to inject a second preset amount of second charge into the second input terminal of the fully differential operational amplifier; 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.

13. An optical lens movement detection method, characterized in that: The method is applied to the optical lens movement detection device according to any one of claims 1 to 12, and the method comprises: Obtaining a first series capacitance value of the first capacitor and the second capacitor, a second series capacitance value of the first capacitor and the third capacitor, and a third series capacitance value of the second capacitor and the third capacitor; Determine a first capacitance value of the first capacitor, a second capacitance value of the second capacitor, and a third capacitance value of the third capacitor according to the first series capacitance value, the second series capacitance value, and the third series capacitance value; The moving position of the optical lens along a preset direction is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

14. The optical lens movement detection method according to claim 13, characterized in that: The plate facing area and plate spacing of the third capacitor remain unchanged during the movement of the optical lens along the preset direction, and the dielectric constants of the first capacitor, the second capacitor and the third capacitor remain equal during the movement of the optical lens.

15. The optical lens movement detection method according to claim 14, characterized in that: During the movement of the optical lens along the preset direction, the distance between the plates of the first capacitor and the second capacitor changes with the movement of the optical lens, and the area of ​​the plates facing each other remains unchanged; The step of determining the moving position of the optical lens along a preset direction according to the first capacitance value, the second capacitance value, and the third capacitance value comprises: Determining the plate spacing of the first capacitor according to the first capacitance value, the third capacitance value, and the plate spacing of the third capacitor; and / or The plate distance of the second capacitor is determined according to the second capacitance value, the third capacitance value and the plate distance of the third capacitor.

16. The optical lens movement detection method according to claim 14, characterized in that: When the optical lens moves along the preset direction, the area of ​​the plates of the first capacitor and the second capacitor facing each other changes with the movement of the optical lens, and the distance between the plates of the first capacitor and the second capacitor remains unchanged; The step of determining the moving position of the optical lens along a preset direction according to the first capacitance value, the second capacitance value, and the third capacitance value comprises: Determine the area directly facing the plates of the first capacitor according to the first capacitance value, the third capacitance value, and the area directly facing the plates of the third capacitor; and / or The area directly facing the plates of the second capacitor is determined according to the second capacitance value, the third capacitance value, and the area directly facing the plates of the third capacitor.

17. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the optical lens movement detection method according to any one of claims 13 to 16.

18. A focus motor, characterized in that: It comprises the optical lens movement detection device as described in any one of claims 1 to 12.

19. A camera module, characterized in that: Comprising the focus motor as claimed in claim 18.

20. An electronic device, characterized in that: Including the camera module as described in claim 19.