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

By using three sets of capacitors and detection circuits in the camera module to detect the three-dimensional moving position of the optical lens, the problem of complicated wire connections in the existing technology is solved, and the precise moving position detection of the optical lens in the three-dimensional coordinate system is realized, reducing the cost Manufacturing difficulty and cost.

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

Patent Information

Application Number
CN202410423152.6
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-01
Estimated Expiration
2044-04-09

AI Technical Summary

Technical Problem

It is difficult for existing camera modules to achieve miniaturization and reduce costs when detecting the three-dimensional moving position of optical lenses. Especially when it is necessary to detect the moving positions in the X-axis, Y-axis, and Z-axis directions respectively, the wire connections are complicated and difficult to implement.

Method used

Three sets of capacitors and detection circuits are used. By detecting the series capacitance value of the capacitor, the capacitance value of each capacitor is calculated to realize the movement position detection of the optical lens in the three-dimensional coordinate system, reduce wire connections, and simplify the manufacturing process.

Benefits of technology

It realizes the precise movement position detection of the optical lens in the three-dimensional coordinate system, reduces the manufacturing difficulty and cost, and is suitable for miniaturized camera equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118310401B_ABST
    Figure CN118310401B_ABST
Patent Text Reader

Abstract

The present application provides an optical lens three-dimensional movement detection device, method, computer-readable storage medium, focus motor, camera module and electronic device. The optical lens three-dimensional movement detection device includes: a first capacitor, a second capacitor and a third capacitor, the first capacitance value of the first capacitor changes with the movement of the optical lens along the first axis, the second capacitance value of the second capacitor changes with the movement of the optical lens along the second axis, and the third capacitance value of the third capacitor changes with the movement of the optical lens along the third axis; 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 detection circuit of the present application can realize the three-dimensional detection of the optical lens by only three wires electrically connected to three plates, which is conducive to reducing the manufacturing difficulty of the mobile position detection device of the optical lens.
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 a three-dimensional movement detection device and method for an optical lens, a computer-readable storage medium, a focus motor, a camera module, and an electronic device. 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 to facilitate the camera device to 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 camera 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 and 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. The solution measures the capacitance value of the capacitor to calculate the change in the spacing / area between the two plates of the capacitor, thereby determining the moving position of the optical lens. However, the focusing movement process of the optical lens and the optical image stabilization movement process actually include movement in the X-axis, Y-axis and Z-axis directions. If it is necessary to detect the moving position of the optical lens along the X-axis, Y-axis and Z-axis directions respectively, the detection circuit needs to electrically connect the three sets of capacitor plates at the same time, which is very difficult for miniaturized camera lenses (such as mobile phone camera devices). Summary of the invention

[0004] The present application provides an optical lens three-dimensional 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 a three-dimensional movement detection device for an optical lens, which is used to detect the movement position of an optical lens in a coordinate system constructed by a first axis, a second axis, and a third axis, wherein the first axis, the second axis, and the third axis are perpendicular to each other, and comprises:

[0006] A first capacitor, a second capacitor and a third capacitor, wherein a first capacitance value of the first capacitor changes as the optical lens moves along the first axis, a second capacitance value of the second capacitor changes as the optical lens moves along the second axis, and a third capacitance value of the third capacitor changes as the optical lens moves along the third axis;

[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] Among them, 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.

[0009] In a second aspect, the present application provides a method for detecting three-dimensional movement of an optical lens, the method being applied to the three-dimensional movement detection device of an optical lens as described in the first aspect, the method comprising:

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

[0011] Determining 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;

[0012] The moving position of the optical lens in the coordinate system constructed by the first axis, the second axis and the third axis is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

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

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

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

[0016] In a sixth aspect, the present application provides an electronic device comprising the camera module as described in the fifth aspect.

[0017] The present application sets a first capacitor, a second capacitor, a third capacitor and a detection circuit. Since 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 first capacitance value of the first capacitor, the second capacitance value of the second capacitor and the third capacitor can be calculated by combining three formulas according to the second series capacitance value, the first capacitance value, the second capacitance value and the third capacitance value, respectively, and finally the moving position of the optical lens along the first axis direction can be determined according to the first capacitance value of the first capacitor, the moving position of the optical lens along the second axis direction can be determined according to the second capacitance value of the second capacitor, and the moving position of the optical lens along the third axis direction can be determined according to the third capacitance value of the third capacitor, thereby realizing the three-dimensional coordinates of the optical lens after or during movement.

[0018] At the same time, 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. That is to say, the detection circuit only needs to be electrically connected to the three plates through three wires, thereby greatly reducing the wires between the detection circuit and the detection capacitor, which is conducive to reducing the manufacturing difficulty of the mobile position detection device of the optical lens. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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.

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

[0021] Figure 2 It is a structural schematic diagram of an optical lens three-dimensional movement detection device provided in an embodiment of the present application;

[0022] Figure 3 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0023] Figure 4 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0024] Figure 5 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0025] Figure 6 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0026] Figure 7 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0027] Figure 8 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0028] Fig. 9 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0029] Fig.10 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0030] Fig.11 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0031] Fig.12 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0032] Fig.13 is a schematic diagram of an equivalent circuit of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

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

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

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

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

[0037] Fig.18 is another equivalent circuit diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0038] Fig.19is another equivalent circuit diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0039] Fig. 20 is another equivalent circuit diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0040] Fig.21 is another structural schematic diagram of the optical lens three-dimensional movement detection device provided in the embodiment of the present application;

[0041] Fig. 22 It is a flow chart of a method for detecting three-dimensional movement of an optical lens provided in an embodiment of the present application;

[0042] Fig.23 It is a schematic diagram of a process for determining the moving position of an optical lens provided in an embodiment of the present application;

[0043] Fig.24 It is another flow chart of determining the moving position of the optical lens provided in the embodiment of the present application.

[0044] Among them, 1 is an optical lens, 2 is a moving bracket, 201 is an anti-shake bracket, 202 is a focus bracket, 203 is a first moving bracket, 204 is a second moving bracket, 205 is a third moving bracket, 3 is a stator bracket, a first axis X, a second axis Y, and a third axis Z;

[0045] 10 a first capacitor, 11 a first plate of the first capacitor, 12 a second plate of the first capacitor, 20 a second capacitor, 21 a first plate of the second capacitor, 22 a second plate of the second capacitor, 30 a third capacitor, 31 a first plate of the third capacitor, 32 a second plate of the third capacitor, 50 a fourth capacitor, 51 a first plate of the fourth capacitor, 52 a second plate of the fourth capacitor;

[0046] 40 detection circuit, 41 switch circuit, 42 measurement circuit, 421 first charge injection circuit, 422 second charge injection circuit;

[0047] A first switch Sc1, a second switch Sc2, a third switch Sc3, a fourth switch Sc4, a fifth switch Sc5, and a sixth switch Sc6;

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

[0049] 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

[0050] 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.

[0051] 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.

[0052] 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.

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

[0054] 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.

[0055] See also Figure 1 , Figure 1 A 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;

[0056] C=Q / U=εS / 4πkd

[0057] 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, k is the electrostatic force constant, S is the area facing the plates, and d is the distance between the plates.

[0058] When the optical lens drives the plates to move away from or closer to each other along the X-axis direction to change the distance between the plates, the moving distance of the optical lens is:

[0059]

[0060] Where D is the moving distance of the optical lens, and d0 is the initial plate spacing of the capacitor.

[0061] It can be seen that the detection circuit needs to electrically connect 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 along the X-axis direction. Moreover, when it is necessary to detect the moving distances along the X-axis, Y-axis and Z-axis directions respectively, the detection circuit needs to simultaneously set six wires to connect the six plates corresponding to the three detection capacitors, which is very difficult for miniaturized camera lenses (such as mobile phone cameras).

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

[0063] First, see Figure 2 , Figure 2A structural schematic diagram of a three-dimensional movement detection device for an optical lens 1 in an embodiment of the present application is shown, wherein the three-dimensional movement detection device for the optical lens 1 is used to detect the movement position of the optical lens 1 in a coordinate system constructed by a first axis X, a second axis Y and a third axis Z, and the three-dimensional movement detection device for the optical lens 1 includes a first capacitor 10, a second capacitor 20, a third capacitor 30 and a detection circuit 40.

[0064] 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.

[0065] Generally, see Figure 3 , Figure 3 A schematic diagram of the structure of a three-dimensional movement detection device for an optical lens 1 in an embodiment of the present application is shown. The moving structure of the optical lens 1 includes a mover bracket 2 and a stator bracket 3. The optical lens 1 is fixedly connected to the mover bracket 2. The mover bracket 2 can move 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.

[0066] The first capacitance value of the first capacitor 10 changes as the optical lens 1 moves along the first axis X direction. For example, Figure 3 The plane where the first plate 11 of the first capacitor 10 and the second plate 12 of the first capacitor 10 are located is perpendicular to the first axis X, and the first plate 11 of the first capacitor 10 is fixed on the mover bracket 2, and the second plate 12 of the first capacitor 10 is fixed on the stator bracket 3. When the optical lens 1 moves along the first axis X direction, the first plate 11 of the first capacitor 10 moves with the optical lens 1, so that the plate spacing of the first capacitor 10 changes, so that the first capacitance value of the first capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction.

[0067] The second capacitance value of the second capacitor 20 changes as the optical lens 1 moves along the second axis Y direction. For example, see Figure 3The plane where the first plate 21 of the second capacitor 20 and the second plate 22 of the second capacitor 20 are located is perpendicular to the second axis Y, and the first plate 21 of the second capacitor 20 is fixed on the mover bracket 2, and the second plate 22 of the second capacitor 20 is fixed on the stator bracket 3. When the optical lens 1 moves along the second axis Y direction, the first plate 21 of the second capacitor 20 moves with the optical lens 1, so that the plate spacing of the second capacitor 20 changes, so that the second capacitance value of the second capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction.

[0068] The third capacitance value of the third capacitor 30 changes as the optical lens 1 moves along the third axis Z direction. For example, see Figure 3 , 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 perpendicular to the third axis Z, and the first plate 31 of the third capacitor 30 is fixed on the mover bracket 2, and the second plate 32 of the third capacitor 30 is fixed on the stator bracket 3. When the optical lens 1 moves along the third axis Z direction, the first plate 31 of the third capacitor 30 moves with the optical lens 1, so that the plate spacing of the third capacitor 30 changes, so that the second capacitance value of the third capacitor 30 changes with the movement of the optical lens 1 along the third axis Z direction.

[0069] It should be pointed out that in the embodiment of the present application, any two of the first axis X, the second axis Y and the third axis Z are not parallel to each other. Preferably, the first axis X, the second axis Y and the third axis Z are perpendicular to each other. For the sake of convenience, the embodiment of the present application takes the first axis X as the X-axis, the second axis Y as the Y-axis, and the third axis Z as the Z-axis as an example for illustrative description, which should not be understood as a limitation on the first axis X, the second axis Y and the third axis Z in the claims of the present application.

[0070] 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.

[0071] 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 negative charge of a preset first charge amount, and the first plate 21 of the second capacitor 20 accumulates a positive 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:

[0072] Cx=Qx / Ux

[0073] 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 .

[0074] Similarly, after measuring the first series capacitance value, the detection circuit 40 can inject a positive charge of a second preset charge amount into the second plate 12 of the first capacitor 10, and inject a negative charge of a second preset charge amount 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 negative charges of the second preset charge amount, and the first plate 31 of the third capacitor 30 accumulates positive charges of the second preset charge amount, and finally the charge balance of the first capacitor 10 and the third capacitor 30 is achieved. Therefore, the second series capacitance value of the first capacitor 10 and the third capacitor 30 can be measured at this time as follows:

[0075] Cy=Qy / Uy

[0076] 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 .

[0077] 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 first plate 31 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:

[0078] Cz=Qz / Uz

[0079] 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 .

[0080] 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:

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

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

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

[0084] Among them, Cx is the first series capacitance value, Cy is the second series capacitance value, Cz is the third series capacitance value, C1 is the first capacitance value of the first capacitor 10 , C2 is the second capacitance value of the second capacitor 20 , and C3 is the third capacitance value of the third capacitor 30 .

[0085] 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 first capacitance value of the first capacitor 10, the second capacitance value of the second capacitor 20, and the third capacitance value of the third capacitor 30 can be calculated by combining the three formulas:

[0086]

[0087]

[0088]

[0089] Since the first capacitance value of the first capacitor 10 changes as the optical lens 1 moves along the first axis X direction, the second capacitance value of the second capacitor 20 changes as the optical lens 1 moves along the second axis Y direction, and the third capacitance value of the third capacitor 30 changes as the optical lens 1 moves along the third axis Z direction, after obtaining the capacitance values ​​of the first capacitor 10, the second capacitor 20, and the third capacitor 30, the moving positions of the optical lens 1 corresponding to the first axis X, the second axis Y, and the third axis Z, respectively, can be determined.

[0090] For example, Figure 3 For example, the plate spacing of the first capacitor 10 can change with the movement of the optical lens 1 along the first axis X direction, but the plate-facing area of ​​the first capacitor 10 does not change with the movement of the optical lens 1. Then, the plate spacing of the first capacitor 10 can be calculated according to the following formula:

[0091]

[0092]

[0093] 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 .

[0094] Because in Figure 3 The area facing the plates of the first capacitor 10 remains unchanged, and only 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 along the first axis X direction can be determined. The moving position of the optical lens 1 corresponding to the second axis Y and the third axis Z is the same, and will not be repeated here.

[0095] 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.

[0096] 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 based on the mapping relationship between the first capacitance value and the coordinates of the first axis X.

[0097] In the embodiment of the present application, the present application sets a first capacitor 10, a second capacitor 20, a third capacitor 30 and a detection circuit 40. Since the detection circuit 40 is used to 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, the first capacitance value of the first capacitor 10, the second capacitance value of the second capacitor 20 and the third capacitance value of the third capacitor 30 can be calculated according to three formulas based on the second series capacitance value, the first capacitance value, the second capacitance value and the third capacitance value, respectively. Finally, the moving position of the optical lens 1 along the first axis X direction can be determined according to the first capacitance value of the first capacitor 10, the moving position of the optical lens 1 along the second axis Y direction can be determined according to the second capacitance value of the second capacitor 20, and the moving position of the optical lens 1 along the third axis Z direction can be determined according to the third capacitance value of the third capacitor 30, thereby realizing the three-dimensional coordinates of the optical lens 1 after or during movement.

[0098] At the same time, 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. That is to say, the detection circuit 40 is only electrically connected to the three plates through three wires and detects the series capacitance value, thereby cleverly reducing the wires between the detection circuit 40 and the detection capacitor, which is beneficial to reducing the manufacturing difficulty of the mobile position detection device of the optical lens.

[0099] In some embodiments of the present application, 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. Figure 3 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] In some embodiments of the present application, 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. For example, see Figure 4 , Figure 4 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein 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, 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 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, 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 move with the optical lens 1.

[0101] That is to say, in some embodiments of the present application, the detection circuit 40 is electrically connected to three fixed electrodes or three movable electrodes, wherein, for the embodiment in which the detection circuit 40 is connected to three fixed electrodes, the detection circuit 40 (such as a circuit board) can also be fixedly set on the stator bracket 3, so that the connection line between the detection circuit 40 and the three capacitors (the first capacitor 10, the second capacitor 20 and the third capacitor 30) remains fixed; similarly, for the embodiment in which the detection circuit 40 is connected to three movable electrodes, the circuit board on which the detection circuit 40 is set can also move with the optical lens 1, for example, the circuit board is set on the mover bracket 2, so that the connection line between the detection circuit 40 and the three capacitors also remains fixed, thereby avoiding the need for the detection circuit 40 to be connected to the fixed electrodes and the movable electrodes respectively, which makes the moving distance detection scheme of the optical lens 1 difficult to implement and costly, especially for miniaturized camera lenses.

[0102] It should be pointed out that in Figure 2 , Figure 3 or Figure 4 In the figure, the movable bracket 2 is a movable bracket that can simultaneously realize the first axis X direction, the second axis Y direction and the third axis Z direction. At this time, 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 same bracket, but the movement scheme of the optical lens 1 is not limited to this. Therefore, according to the movement scheme of the optical lens 1, the fixed positions of the first plate 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 adjusted accordingly.

[0103] For example, see Figure 5 , Figure 5 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the movable bracket 2 includes an anti-shake bracket 201 and a focus bracket 202, the anti-shake bracket 201 can move along the first axis X direction and the second axis Y direction relative to the stator bracket 3, and the focus bracket 202 can move along the third axis Z direction relative to the anti-shake bracket 201, and the optical lens 1 is fixedly connected to the focus bracket 202, so when the anti-shake bracket 201 moves along the first axis X direction and the second axis Y direction, and the focus bracket 202 moves along the third axis Z direction, the optical lens 1 set on the focus bracket 202 can realize the movement of the first axis X, the second axis Y and the third axis Z directions.

[0104] At this time, the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 can be fixed on the anti-shake bracket 201, and the first plate 31 of the third capacitor 30 can be fixed on the focusing bracket 202, 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 at the corresponding positions of the stator bracket 3, so that the anti-shake bracket 201 drives the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 to move, and the focusing bracket 202 drives the first plate 31 of the third capacitor 30 to move, and finally achieves the purpose that the first capacitance value of the first capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third capacitor 30 changes with the movement of the optical lens 1 along the third axis Z direction.

[0105] For example, see Figure 6 , Figure 6 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the movable bracket 2 includes a first movable bracket 203, a second movable bracket 204 and a third movable bracket 205, the first movable bracket 203 can move along the first axis X direction relative to the stator bracket 3, the second movable bracket 204 can move along the second axis Y direction relative to the first movable bracket 203, and the third movable bracket 205 can move along the third axis Z direction relative to the second movable bracket 204, and the optical lens 1 is fixedly connected to the third movable bracket 205, so when the first movable bracket 203 moves along the first axis X direction, the second movable bracket 204 moves along the second axis Y direction, and the third movable bracket 205 moves along the third axis Z direction, the optical lens 1 (or camera lens) arranged on the third movable bracket 205 can realize the movement of the first axis X, the second axis Y and the third axis Z directions.

[0106] At this time, the first plate 11 of the first capacitor 10 can be fixed on the first movable bracket 203, the first plate 21 of the second capacitor 20 can be fixed on the second movable bracket 204, and the first plate 31 of the third capacitor 30 can be fixed on the third movable bracket 205, 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 can be fixed at the corresponding position of the stator bracket 3, so that the first movable bracket 203 drives the first plate 11 of the first capacitor 10 to move, the second movable bracket 204 drives the first plate 21 of the second capacitor 20 to move, and the third movable bracket 205 drives the third plate of the third capacitor 30 to move, and finally the first capacitance value of the first capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third capacitor 30 changes with the movement of the optical lens 1 along the third axis Z direction.

[0107] For another example, see Figure 8 , Figure 8 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the movable bracket 2 includes an anti-shake bracket 201 and a focus bracket 202, the focus bracket 202 can move along the third axis Z direction relative to the stator bracket 3, the anti-shake bracket 201 can move along the first axis X direction and the second axis Y direction relative to the focus bracket 202, and the optical lens 1 is fixedly connected to the anti-shake bracket 201. Therefore, when the anti-shake bracket 201 moves along the first axis X direction and the second axis Y direction, and the focus bracket 202 moves along the third axis Z direction, the optical lens 1 arranged on the anti-shake bracket 201 can realize the movement of the first axis X, the second axis Y and the third axis Z directions.

[0108] At this time, the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 can be fixed on the anti-shake bracket 201, and the first plate 31 of the third capacitor 30 can be fixed on the focusing bracket 202, 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 at the corresponding positions of the stator bracket 3, so that the anti-shake bracket 201 drives the first plate 11 of the first capacitor 10 and the first plate 21 of the second capacitor 20 to move, and the focusing bracket 202 drives the first plate 31 of the third capacitor 30 to move, and finally achieves the purpose that the first capacitance value of the first capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the second capacitance value of the second capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the third capacitance value of the third capacitor 30 changes with the movement of the optical lens 1 along the third axis Z direction.

[0109] It should be noted that the above Figures 2 to 8 As only an exemplary embodiment 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, those skilled in the art can make equivalent modified designs under the guidance of the present application. For example, 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 can also be fixed on the optical lens housing loaded with the optical lens; for another example, 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 can also be all fixed on Figure 5 For another 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 may all be fixed on Figure 6 On the third mobile bracket 205 in.

[0110] In some embodiments of the present application, see Figure 8 , Figure 8 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 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, which not only realizes 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 does not 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 three-dimensional movement detection device of the optical lens 1.

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

[0112] In some embodiments of the present application, the first capacitance value of the first capacitor 10 changes only when the optical lens 1 moves along the first axis X direction; the second capacitance value of the second capacitor 20 changes only when the optical lens 1 moves along the second axis Y direction; the third capacitance value of the third capacitor 30 changes only when the optical lens 1 moves along the third axis Z direction.

[0113] That is to say, when the optical lens 1 moves along the first axis X direction, only the first capacitance value of the first capacitor 10 will change, while the second capacitance value of the second capacitor 20 and the third capacitance value of the third capacitor 30 will not be changed; similarly, when the optical lens 1 moves along the second axis Y direction, only the second capacitance value of the second capacitor 20 will change, while the first capacitance value of the first capacitor 10 and the third capacitance value of the third capacitor 30 will not be changed; similarly, when the optical lens 1 moves along the third axis Z direction, only the third capacitance value of the third capacitor 30 will change, while the first capacitance value of the first capacitor 10 and the second capacitance value of the second capacitor 20 will not be changed.

[0114] For example, see Figure 3 , the plane where the first plate 11 of the first capacitor 10 and the second plate 12 of the first capacitor 10 are located is perpendicular to the first axis X, and the length and width of the first plate 11 of the first capacitor 10 are greater than the length and width of the second plate 12 thereof, so when the optical lens 1 moves along the first axis X direction, the plate spacing of the first capacitor 10 only changes with the movement of the optical lens 1 along the first axis X direction, and the plate-facing area of ​​the first capacitor 10 remains unchanged; when the optical lens 1 moves along the second axis Y direction or the third axis Z direction, the plate spacing of the first capacitor 10 remains unchanged, and due to the size relationship between the first plate 11 and the second plate 12 of the first capacitor 10, the plate-facing area of ​​the first capacitor 10 remains unchanged at this time, and finally the plate spacing of the first capacitor 10 only changes with the movement of the optical lens 1 along the first axis X direction, but the plate-facing area of ​​the first capacitor 10 remains unchanged and does not change with the movement of the optical lens 1, that is, the first capacitance value of the first capacitor 10 only changes when the optical lens 1 moves along the first axis X direction.

[0115] Likewise, see Figure 3, the plane where the first plate 21 of the second capacitor 20 and the second plate 22 of the second capacitor 20 are located is perpendicular to the second axis Y, and the length and width of the first plate 21 of the second capacitor 20 are greater than the length and width of the second plate 22, so when the optical lens 1 moves along the second axis Y direction, the plate spacing of the second capacitor 20 changes, and the plate-facing area of ​​the second capacitor 20 remains unchanged; when the optical lens 1 moves along the first axis X direction or the third axis Z direction, the plate spacing of the second capacitor 20 remains unchanged, due to the size relationship between the first plate 21 and the second plate 22 of the second capacitor 20, the plate-facing area of ​​the second capacitor 20 remains unchanged at this time, and finally the purpose of the plate spacing of the second capacitor 20 only changing with the movement of the optical lens 1 along the second axis Y direction, and the plate-facing area of ​​the second capacitor 20 not changing with the movement of the optical lens 1 is achieved, that is, the second capacitance value of the second capacitor 20 only changes when the optical lens 1 moves along the second axis Y direction.

[0116] Likewise, see Figure 3 , 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 perpendicular to the third axis Z, and the length and width of the first plate 31 of the third capacitor 30 are greater than the length and width of the second plate 32 thereof, so when the optical lens 1 moves along the third axis Z direction, the plate spacing of the third capacitor 30 changes, and the plate-facing area of ​​the third capacitor 30 remains unchanged at this time; when the optical lens 1 moves along the first axis X direction or the second axis Y direction, the plate spacing of the third capacitor 30 remains unchanged, and due to the size relationship between the first plate 31 and the second plate 32 of the third capacitor 30, the plate-facing area of ​​the third capacitor 30 remains unchanged at this time, and finally the purpose of the plate spacing of the third capacitor 30 only changing with the movement of the optical lens 1 along the third axis Z direction, and the plate-facing area of ​​the third capacitor 30 not changing with the movement of the optical lens 1 is achieved, that is, the third capacitance value of the third capacitor 30 only changes when the optical lens 1 moves along the third axis Z direction.

[0117] It can be understood that the first capacitance value of the first capacitor 10 can also change when the optical lens 1 moves along the second axis Y direction and / or the third axis Z direction; and / or, the second capacitance value of the second capacitor 20 can also change when the optical lens 1 moves along the first axis X direction and / or the third axis Z direction; and / or, the third capacitance value of the third capacitor 30 can also change when the optical lens 1 moves along the first axis X direction and / or the second axis Y direction.

[0118] For example, see Fig. 9 , Fig. 9Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the first plate 21 of the second capacitor 20 and the second plate 22 of the second capacitor 20 do not completely overlap, and when the optical lens 1 moves along the third axis Z direction, the area directly facing the plates of the second capacitor 20 will change, so that the second capacitance value of the second capacitor 20 can change when the optical lens 1 moves along the third axis Z direction.

[0119] It should be noted that, for the embodiment in which the area of ​​the plates of the second capacitor 20 is changed when the optical lens 1 moves along the third axis Z direction, the present application can still measure the moving position of the optical lens 1 in the second axis Y direction by determining the plate spacing. Specifically, the plate spacing of the second capacitor 20 can be calculated according to the following formula:

[0120]

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

[0122] Although the plate facing area of ​​the second capacitor 20 changes when the optical lens 1 moves along the third axis Z direction, it is only necessary to record the plate spacing d2 after the optical lens 1 moves along the second axis Y direction each time, and then update the parameter of the plate facing area S2' of the second capacitor 20 according to the recorded plate spacing d2 after the optical lens 1 moves along the third axis Z direction. After the optical lens 1 moves along the second axis Y direction next time, the plate spacing of the second capacitor 20 can be calculated according to the updated plate facing area S2', and the measurement of the moving position of the optical lens 1 in the second axis Y direction can be achieved by analogy.

[0123] In some embodiments of the present application, see Fig.10 , Fig.10 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 in an embodiment of the present application is shown, wherein the three-dimensional movement detection device of the optical lens 1 also includes a fourth capacitor 50; the dielectric constants of the first capacitor 10, the second capacitor 20, the third capacitor 30 and the fourth capacitor 50 remain equal during the movement of the optical lens 1.

[0124] 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, the dielectric constants of the first capacitor 10, the second capacitor 20, the third capacitor 30 and the fourth capacitor 50 remain equal during the movement of the optical lens 1, and the fourth capacitor 50 can be used as a reference capacitor to eliminate the influence of the dielectric constant.

[0125] For example, Fig.10 For example, the plate facing area and the plate spacing of the fourth capacitor 50 remain unchanged during the movement of the optical lens 1, and the detection circuit 40 is also used to detect the fourth capacitance value of the fourth capacitor 50. The first capacitance value of the first capacitor 10, the second capacitance value of the second capacitor 20, the third capacitance value of the third capacitor 30, and the fourth capacitance value of the fourth capacitor 50 can be calculated according to the following formula:

[0126]

[0127]

[0128]

[0129]

[0130] Among them, S3 is the plate facing area of ​​the third capacitor 30, d3 is the plate distance of the third capacitor 30, C4 is the capacitance value of the fourth capacitor 50, S4 is the plate facing area of ​​the fourth capacitor 50, and d4 is the plate distance of the fourth capacitor 50.

[0131] The capacitance ratios of the first capacitor 10 and the fourth capacitor 50, the second capacitor 20 and the fourth capacitor 50, and the third capacitor 30 and the fourth capacitor 50 can be calculated according to the following formula:

[0132]

[0133]

[0134]

[0135] Therefore, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be calculated according to the following formula:

[0136]

[0137]

[0138]

[0139] In the above formula, S1, S2, S3, d4, and S4 are all 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, the third series capacitance value Cz, and the fourth capacitance value C4, the plate spacings of the first capacitor 10, the second capacitor 20, and the third capacitor 30 can be calculated, and finally the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y, and the third axis Z can be determined. At the same time, since the parameter of the dielectric constant is eliminated by the capacitance ratio in the above formula, the change in the environment of the capacitor (such as temperature change) causes the dielectric constant of the capacitor to change, and 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.

[0140] 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, 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 3 The plates of the first capacitor 10, the second capacitor 20, the third capacitor 30 and the fourth capacitor 50 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, the third capacitor 30 and the fourth capacitor 50 remain equal during the movement of the optical lens 1.

[0141] In some embodiments of the present application, the detection circuit 40 measures the fourth capacitance value of the fourth capacitor 50 at a first measurement frequency; the detection circuit 40 measures 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 at a second measurement frequency; wherein the first measurement frequency is less than the second measurement frequency.

[0142] It should be noted that, since environmental factors generally change less, the measurement frequency of the fourth capacitance value of the fourth capacitor 50 can be reduced. For example, the fourth capacitance value of the fourth capacitor 50 is measured once every 30 seconds, and 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 are measured at a frequency of 60 Hz, thereby reducing the number of capacitance values ​​that the detection circuit 40 needs to measure each time it measures the moving position of the optical lens 1, thereby reducing circuit consumption.

[0143] In some embodiments of the present application, for example, in an embodiment in which the plate facing area and the plate spacing of the fourth capacitor 50 remain unchanged during the movement of the optical lens 1, the first plate 51 of the fourth capacitor 50 and the second plate 52 of the fourth capacitor 50 remain fixed, for example, see Fig.10 The first plate 51 of the fourth capacitor 50 and the second plate 52 of the fourth capacitor 50 are fixed on the stator bracket 3, so that the plate facing area and the plate spacing of the fourth capacitor 50 remain unchanged during the movement of the optical lens 1.

[0144] It can be understood that in some exemplary embodiments, the first plate 51 of the fourth capacitor 50 and the second plate 52 of the fourth capacitor 50 can also be moved with the optical lens 1, for example, the first plate 51 of the fourth capacitor 50 and the second plate 52 of the fourth capacitor 50 are fixed on the mover bracket 2.

[0145] In some embodiments of the present application, the detection circuit 40 is also used to detect the fourth series capacitance value of the first capacitor 10 and the fourth capacitor 50. The sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1. Therefore, the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 can also be used as a reference capacitance value to eliminate the influence of the change in dielectric constant.

[0146] For example, see Fig.11 , the first electrode plate 11 of the first capacitor 10 and the first electrode plate 51 of the fourth capacitor 50 are respectively fixed on the opposite sides of the movable bracket 2. When the movable bracket 2 moves along the second axis Y or the third axis Z, the electrode plate facing area and the electrode plate spacing of the first capacitor 10 and the fourth capacitor 50 remain unchanged. Therefore, the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1 along the second axis Y or the third axis Z; and when the movable bracket 2 moves along the first axis X, the electrode plate facing area of ​​the first capacitor 10 and the fourth capacitor 50 remains unchanged, the electrode plate spacing of one of the first capacitor 10 and the fourth capacitor 50 increases, and the electrode plate spacing of the other decreases, that is, the sum of the electrode plate spacings of the first capacitor 10 and the fourth capacitor 50 remains unchanged, so the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1 along the first axis X, that is, the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1.

[0147] For example, after measuring the fourth series capacitance value of the first capacitor 10 and the fourth capacitor 50, the fourth capacitance value of the fourth capacitor 50 can be calculated according to the fourth series capacitance value and the first capacitance value of the first capacitor 10 using the following formula:

[0148]

[0149] Wherein, CL is the fourth series capacitance value.

[0150] Assuming that the plate-facing area of ​​the first capacitor 10 is equal to the plate-facing area of ​​the fourth capacitor 50, the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 (reference capacitance value) can be calculated according to the following formula:

[0151]

[0152] Wherein, C0 is a reference capacitance value with a constant capacitance value, and d0 is the sum of the distances between the plates of the first capacitor 10 and the fourth capacitor 50 .

[0153] Then, the capacitance ratios of the first capacitance value to the reference capacitance value, the second capacitance value to the reference capacitance value, and the third capacitance value to the reference capacitance value can be calculated according to the following formula:

[0154]

[0155]

[0156]

[0157] Therefore, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be calculated according to the following formula:

[0158]

[0159]

[0160]

[0161] In the above formula, S1, S2, S3, and d0 are all 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, the third series capacitance value Cz, and the fourth series capacitance value CL, the plate spacings of the first capacitor 10, the second capacitor 20, and the third capacitor 30 can be calculated, and finally the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y, and the third axis Z can be determined. At the same time, since the parameter of the dielectric constant is eliminated by the capacitance ratio in the above formula, the change in the environment of the capacitor (such as temperature change) causes the dielectric constant of the capacitor to change, and 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.

[0162] In some embodiments of the present application, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30, and the first plate 51 of the fourth capacitor 50 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, the second plate 32 of the third capacitor 30, and the second plate 52 of the fourth capacitor 50 are 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, the first plate 31 of the third capacitor 30, and the first plate 51 of the fourth capacitor 50 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, the second plate 32 of the third capacitor 30, and the second plate 52 of the fourth capacitor 50 remain fixed.

[0163] For example, see Fig.11 The first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30 and the first plate 51 of the fourth capacitor 50 are fixed on the mover bracket 2, the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20, the second plate 32 of the third capacitor 30 and the second plate 52 of the fourth capacitor 50 are fixed on the stator bracket 3, that is, the detection circuit 40 is connected to four fixed plates, so it can also avoid the need for the detection circuit 40 to be connected to the fixed plate and the movable plate respectively, which ultimately makes the moving distance detection scheme of the optical lens 1 difficult to implement and costly.

[0164] It can be understood that the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30 and the first plate 51 of the fourth capacitor 50 can also be kept fixed, while the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20, the second plate 32 of the third capacitor 30 and the second plate 52 of the fourth capacitor 50 move with the optical lens 1. For example, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30 and the first plate 51 of the fourth capacitor 50 are fixed on the stator bracket 3, and the second plate 12 of the first capacitor 10, the second plate 22 of the second capacitor 20, the second plate 32 of the third capacitor 30 and the second plate 52 of the fourth capacitor 50 are fixed on the mover bracket 2.

[0165] In some embodiments of the present application, the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30, and the first plate 51 of the fourth capacitor 50 are integrally formed to reduce the number of connecting wires of the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30, and the first plate 51 of the fourth capacitor 50.

[0166] It is understandable that any two or any three of the first plate 11 of the first capacitor 10, the first plate 21 of the second capacitor 20, the first plate 31 of the third capacitor 30 and the first plate 51 of the fourth capacitor 50 can be integrally formed to reduce the corresponding connecting wires.

[0167] In some embodiments of the present application, the plate spacing of the first capacitor 10 changes only with the movement of the optical lens 1 along the first axis X direction, and the plate-facing area of ​​the first capacitor 10 does not change with the movement of the optical lens 1; the plate spacing of the second capacitor 20 changes only with the movement of the optical lens 1 along the second axis Y direction, and the plate-facing area of ​​the second capacitor 20 does not change with the movement of the optical lens 1; the plate spacing of the third capacitor 30 changes only with the movement of the optical lens 1 along the third axis Z direction, and the plate-facing area of ​​the third capacitor 30 does not change with the movement of the optical lens 1; the plate spacing of the fourth capacitor 50 changes only with the movement of the optical lens 1 along the first axis X direction, and the fourth plate-facing area of ​​the first capacitor 10 does not change with the movement of the optical lens 1. Among them, the sum of the plate spacing of the first capacitor 10 and the plate spacing of the fourth capacitor 50 does not change with the movement of the optical lens 1, so as to ensure that the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1.

[0168] In some embodiments of the present application, see Fig.12 , Fig.12 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 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 with the measuring circuit 42.

[0169] 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.

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

[0171] 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.

[0172] 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 first series capacitance value of the first capacitor 10 and the third capacitor 30.

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

[0174] In some embodiments of the present application, for example, the three-dimensional movement detection device for the optical lens 1 further includes an embodiment of a fourth capacitor 50 in which the area of ​​the electrodes facing each other and the distance between the electrodes remain unchanged during the movement of the optical lens 1. Fig.14 , Fig.14 Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the switch circuit 41 also includes a fifth switching switch Sc5 and a sixth switching switch Sc6, the first end of the fifth switching switch Sc5 is connected to the first electrode plate 51 of the fourth capacitor 50, and the second end of the fifth switch is connected to the first input end of the measurement circuit 42; the first end of the sixth switching switch Sc6 is connected to the second electrode plate 52 of the fourth capacitor 50, and the second end of the sixth switch is connected to the second input end of the measurement circuit 42.

[0175] Specifically, when the first switching switch Sc1, the second switching switch Sc2, the third switching switch Sc3 and the fourth switching switch Sc4 are disconnected, and the fifth switching switch Sc5 and the sixth switching switch Sc6 are closed, the path between the first plate 51 of the fourth capacitor 50 and the first input terminal of the measurement circuit 42, and the path between the second plate 52 of the fourth capacitor 50 and the second input terminal of the measurement circuit 42 are turned on, and the measurement circuit 42 can detect the fourth capacitance value of the fourth capacitor 50.

[0176] In some embodiments of the present application, for example, in an embodiment in which the sum of the capacitance values ​​of the first capacitor 10 and the fourth capacitor 50 of the optical lens 1 three-dimensional movement detection device remains unchanged during the movement of the optical lens 1, refer to Fig.15 , Fig.15Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 in the embodiment of the present application is shown, wherein the switching circuit 41 also includes a fifth switching switch Sc5, the first end of the fifth switching switch Sc5 is connected to the second plate 52 of the fourth capacitor 50, and the second end of the fifth switch is connected to the second input end of the measurement circuit 42.

[0177] Specifically, when the second switching switch Sc2, the third switching switch Sc3 and the fourth switching switch Sc4 are disconnected, and the first switching switch Sc1 and the fifth switching switch Sc5 are closed, 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 52 of the fourth capacitor 50 and the second input terminal of the measuring circuit 42 are turned on, and the measuring circuit 42 can detect the fourth capacitance value of the fourth capacitor 50.

[0178] 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.

[0179] In some embodiments of the present application, see Fig.16 , Fig.16 Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 in an embodiment of the present application is shown, wherein the measurement circuit 42 includes a fully differential operational amplifier OP; 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 OP; 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 OP.

[0180] The fully differential operational amplifier OP can amplify the voltage difference between the second plates of the two capacitors connected in series, so that the analog-to-digital converter can amplify the voltage difference and convert it into a digital signal to achieve voltage measurement. 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:

[0181]

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

[0183] 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 are not described in detail here.

[0184] 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.17 , Fig.17 Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 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 OP, 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 OP; 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.

[0185] 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.

[0186] 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.

[0187] As an example, see Fig.18 , Fig.18Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 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 OPOP, 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 OPOP, 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.

[0188] 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.

[0189] As another example, see Fig.19 , Fig.19 Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 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.

[0190] 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:

[0191] Q=I*t

[0192] 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.

[0193] As another example, see Fig. 20 , Fig. 20 Another equivalent circuit schematic diagram of the three-dimensional movement detection device of the optical lens 1 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.

[0194] 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:

[0195] Q1=V2*C01

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

[0197] 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:

[0198] Q2=-V1*C01

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

[0200] 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:

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

[0202] 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.

[0203] Continue reading Fig. 20 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.

[0204] 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:

[0205] Q3=V4*C02

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

[0207] 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:

[0208] Q4=-V3*C02

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

[0210] 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:

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

[0212] 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.

[0213] 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.

[0214] 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.21 , Fig.21 Another structural schematic diagram of the three-dimensional movement detection device of the optical lens 1 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.

[0215] Furthermore, in order to better implement the optical lens 1 three-dimensional movement detection device in the embodiment of the present application, on the basis of the optical lens 1 three-dimensional movement detection device, the present application also provides an optical lens 1 three-dimensional movement detection method, the method is applied to the optical lens 1 three-dimensional movement detection device described in any of the above embodiments, refer to Fig. 22 , Fig. 22 A schematic diagram of a process of a method for detecting three-dimensional movement of an optical lens 1 in an embodiment of the present application is shown. The method for detecting three-dimensional movement of an optical lens 1 includes:

[0216] Step S2101, 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;

[0217] Step S2102, 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;

[0218] Step S2103, determining the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z according to the first capacitance value, the second capacitance value and the third capacitance value.

[0219] Specifically, the first capacitance value of the first capacitor 10, the second capacitance value of the second capacitor 20, and the third 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:

[0220]

[0221]

[0222]

[0223] After determining the first capacitance value, the second capacitance value, and the third capacitance value, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be determined. For example, Figure 3 Taking the case that the plate spacing of the first capacitor 10 changes with the movement of the optical lens 1 along the first axis X direction, the plate spacing of the second capacitor 20 changes with the movement of the optical lens 1 along the second axis Y direction, and the plate spacing of the third capacitor 30 changes with the movement of the optical lens 1 along the third axis Z direction as an example, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be calculated according to the following formula:

[0224]

[0225]

[0226]

[0227] After determining the plate spacing of the first capacitor 10 , the plate spacing of the second capacitor 20 , and the plate spacing of the third capacitor 30 , the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y, and the third axis Z can be determined.

[0228] In some embodiments of the present application, for example, the three-dimensional movement detection device of the optical lens 1 further includes an embodiment of a fourth capacitor 50 in which the area of ​​the plates facing each other and the distance between the plates remain unchanged during the movement of the optical lens 1, and the three-dimensional movement detection method of the optical lens 1 further includes:

[0229] The fourth capacitance value of the fourth capacitor 50 is obtained, the dielectric constants of the first capacitor 10, the second capacitor 20, the third capacitor 30 and the fourth capacitor 50 remain equal during the movement of the optical lens 1, and the plate facing area and the plate spacing of the fourth capacitor 50 remain unchanged during the movement of the optical lens 1.

[0230] Specifically, see Fig.23 , Fig.23 A schematic diagram of a process for determining the moving position of the optical lens 1 in an embodiment of the present application is shown. The steps of determining the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z according to the first capacitance value, the second capacitance value and the third capacitance value include:

[0231] Step S2201, determining a first coordinate of the optical lens 1 along the first axis X direction in the coordinate system according to the first capacitance value and the fourth capacitance value;

[0232] Step S2202, determining a second coordinate of the optical lens 1 along the second axis Y direction in the coordinate system according to the second capacitance value and the fourth capacitance value;

[0233] Step S2203, determining a third coordinate of the optical lens 1 along the third axis Z direction in the coordinate system according to the third capacitance value and the fourth capacitance value.

[0234] For example, Fig.10 For example, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be calculated according to the following formula:

[0235]

[0236]

[0237]

[0238] In the above formula, S1, S2, S3, d4, and S4 are all 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, the third series capacitance value Cz, and the fourth capacitance value C4, and calculating the first capacitance value, the second capacitance value, and the third capacitance value, the plate spacing of the first capacitor 10, the second capacitor 20, and the third capacitor 30 can be calculated, and finally the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y, and the third axis Z can be determined. At the same time, since the parameter of the dielectric constant is eliminated by the capacitance ratio in the above formula, the change in the environment of the capacitor (such as temperature change) causes the dielectric constant of the capacitor to change, and 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.

[0239] In some embodiments of the present application, for example, in an embodiment in which the sum of the capacitance values ​​of the first capacitor 10 and the fourth capacitor 50 of the three-dimensional movement detection device of the optical lens 1 remains unchanged during the movement of the optical lens 1, the three-dimensional movement detection method of the optical lens 1 further includes:

[0240] Obtaining a fourth series capacitance value of the first capacitor 10 and the fourth capacitor 50, wherein the dielectric constants of the first capacitor 10, the second capacitor 20, the third capacitor 30, and the fourth capacitor 50 remain equal during the movement of the optical lens 1, and the sum of the first capacitance value of the first capacitor 10 and the fourth capacitance value of the fourth capacitor 50 does not change with the movement of the optical lens 1;

[0241] Determine a fourth capacitance value of the fourth capacitor 50 according to the first capacitance value of the first capacitor 10 and the fourth series capacitance value;

[0242] A reference capacitance value is determined according to the first capacitance value and the fourth capacitance value, and the reference capacitance value does not change with the movement of the optical lens 1 .

[0243] For example, see Fig.11 , after measuring the fourth series capacitance value of the first capacitor 10 and the fourth capacitor 50, the fourth capacitance value of the fourth capacitor 50 can be calculated according to the fourth series capacitance value and the first capacitance value of the first capacitor 10 according to the following formula:

[0244]

[0245] Assuming that the area of ​​the plates of the first capacitor 10 is equal to the area of ​​the plates of the fourth capacitor 50, the reference capacitance value can be calculated according to the following formula:

[0246]

[0247] It can be seen that since the sum d0 of the plate distances between the first capacitor 10 and the fourth capacitor 50 remains unchanged, the reference capacitance value C0 also remains unchanged. Therefore, the reference capacitance value C0 can be used to calculate the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z.

[0248] Specifically, see Fig.24 , Fig.24 A schematic diagram of a process for determining the moving position of the optical lens 1 in an embodiment of the present application is shown. The steps of determining the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z according to the first capacitance value, the second capacitance value and the third capacitance value include:

[0249] Determine a first coordinate of the optical lens 1 along the first axis X direction in the coordinate system according to the first capacitance value and the reference capacitance value;

[0250] Determine a second coordinate of the optical lens 1 along the second axis Y direction in the coordinate system according to the second capacitance value and the reference capacitance value;

[0251] The third coordinate of the optical lens 1 along the third axis Z direction in the coordinate system is determined according to the third capacitance value and the reference capacitance value.

[0252] For example, Fig.11 For example, the plate spacing of the first capacitor 10, the plate spacing of the second capacitor 20, and the plate spacing of the third capacitor 30 can be calculated according to the following formula:

[0253]

[0254]

[0255]

[0256] In the above formula, S1, S2, S3, d0 are all 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, the third series capacitance value Cz and the fourth series capacitance value CL, and calculating the first capacitance value, the second capacitance value, the third capacitance value and the reference capacitance value, the plate spacing of the first capacitor 10, the second capacitor 20 and the third capacitor 30 can be calculated, and finally the moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z can be determined. At the same time, since the parameter of dielectric constant is eliminated by means of capacitance ratio in the above formula, the change of the environment in which the capacitor is located (such as temperature change) causes the dielectric constant of the capacitor to change, and will not cause errors in the detection of the moving position of the optical lens 1, and finally improve the robustness of the focus detection scheme.

[0257] 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 one of the optical lens 1 three-dimensional movement detection methods provided in the embodiments of the present invention. For example, the computer program is loaded by a processor to execute the following steps:

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

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

[0260] The moving position of the optical lens 1 in the coordinate system constructed by the first axis X, the second axis Y and the third axis Z is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

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

[0262] 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 the 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 three-dimensional movement detection device of the above embodiment, it has all the beneficial effects of the above optical lens 1 three-dimensional movement detection device, which will not be described in detail here.

[0263] 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 three-dimensional motion detection device of the above embodiment, it has all the beneficial effects of the above optical lens 1 three-dimensional motion detection device, which will not be repeated here.

[0264] 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.

[0265] 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.

[0266] 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.

[0267] 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.

[0268] 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.

[0269] 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.

[0270] The above is a detailed introduction to a three-dimensional motion detection device, method, computer-readable storage medium, focus motor, camera module and electronic device for an optical lens 1 provided in an embodiment 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 those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. An optical lens three-dimensional movement detection device, It is characterized in that The optical lens three-dimensional movement detection device is used to detect the movement position of the optical lens in the coordinate system constructed by the first axis, the second axis and the third axis, and includes: A first capacitor, a second capacitor and a third capacitor, wherein a first capacitance value of the first capacitor changes as the optical lens moves along a first axis, a second capacitance value of the second capacitor changes as the optical lens moves along a second axis, and a third capacitance value of the third capacitor changes as the optical lens moves along a third axis; 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; The first series capacitance value, the second series capacitance value, and the third series capacitance value are used to determine the first capacitance value, the second capacitance value, and the third capacitance value; The first plate of the first 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.

2. The optical lens three-dimensional movement detection device according to claim 1, It is characterized in that 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.

3. The optical lens three-dimensional movement detection device as claimed in claim 2, It is 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.

4. The optical lens three-dimensional movement detection device according to claim 1, It is characterized in that The first capacitance value of the first capacitor changes only when the optical lens moves along the first axis direction; The second capacitance value of the second capacitor changes only when the optical lens moves along the second axis direction; The third capacitance value of the third capacitor changes only when the optical lens moves along the third axis direction.

5. The optical lens three-dimensional movement detection device as claimed in claim 4, It is characterized in that The distance between the plates of the first capacitor changes only with the movement of the optical lens along the first axis, and the area of ​​the plates facing each other of the first capacitor does not change with the movement of the optical lens; The distance between the plates of the second capacitor changes only with the movement of the optical lens along the second axis, and the area of ​​the plates facing each other of the second capacitor does not change with the movement of the optical lens; The distance between the plates of the third capacitor changes only with the movement of the optical lens along the third axis, and the area facing the plates of the third capacitor does not change with the movement of the optical lens.

6. The optical lens three-dimensional movement detection device according to claim 1, It is characterized in that The optical lens three-dimensional movement detection device also includes a fourth capacitor; The dielectric constants of the first capacitor, the second capacitor, the third capacitor, and the fourth capacitor remain equal during the movement of the optical lens.

7. The optical lens three-dimensional movement detection device according to claim 6, It is characterized in that The area of ​​the plates facing each other and the distance between the plates of the fourth capacitor remain unchanged during the movement of the optical lens; The detection circuit is further used to detect a fourth capacitance value of the fourth capacitor.

8. The optical lens three-dimensional movement detection device according to claim 7, It is characterized in that The detection circuit measures a fourth capacitance value of the fourth capacitor at a first measurement frequency; The detection circuit measures 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 at a second measurement frequency; The first measurement frequency is smaller than the second measurement frequency.

9. The optical lens three-dimensional movement detection device according to claim 7, It is characterized in that The first electrode plate of the fourth capacitor and the second electrode plate of the fourth capacitor remain fixed; or The first plate of the fourth capacitor and the second plate of the fourth capacitor move with the optical lens.

10. The optical lens three-dimensional movement detection device according to claim 6, It is characterized in that The sum of the first capacitance value of the first capacitor and the fourth capacitance value of the fourth capacitor does not change with the movement of the optical lens; The detection circuit is further used to detect a fourth series capacitance value of the first capacitor and the fourth capacitor.

11. The optical lens three-dimensional movement detection device according to claim 10, It is characterized in that The first plate of the first capacitor, the first plate of the second capacitor, the first plate of the third capacitor, and the first plate of the fourth capacitor are electrically connected to each other, and the second plate of the first capacitor, the second plate of the second capacitor, the second plate of the third capacitor, and the second plate of the fourth capacitor are electrically connected to the detection circuit; The first plate of the first capacitor, the first plate of the second capacitor, the first plate of the third capacitor and the first plate of the fourth capacitor move with the optical lens, and the second plate of the first capacitor, the second plate of the second capacitor, the second plate of the third capacitor and the second plate of the fourth capacitor remain fixed; or The first plate of the first capacitor, the first plate of the second capacitor, the first plate of the third capacitor and the first plate of the fourth capacitor remain fixed, and the second plate of the first capacitor, the second plate of the second capacitor, the second plate of the third capacitor and the second plate of the fourth capacitor move with the optical lens.

12. The optical lens three-dimensional movement detection device according to claim 11, It is characterized in that The first electrode plate of the first capacitor, the first electrode plate of the second capacitor, the first electrode plate of the third capacitor, and the first electrode plate of the fourth capacitor are integrally formed.

13. The optical lens three-dimensional movement detection device according to claim 10, It is characterized in that The distance between the plates of the first capacitor changes only with the movement of the optical lens along the first axis, and the area of ​​the plates facing each other of the first capacitor does not change with the movement of the optical lens; The distance between the plates of the second capacitor changes only with the movement of the optical lens along the second axis, and the area of ​​the plates facing each other of the second capacitor does not change with the movement of the optical lens; The distance between the plates of the third capacitor changes only with the movement of the optical lens along the third axis, and the area of ​​the plates facing each other of the third capacitor does not change with the movement of the optical lens; The distance between the plates of the fourth capacitor changes only with the movement of the optical lens along the first axis, and the area facing the fourth plate of the first capacitor does not change with the movement of the optical lens; The sum of the plate spacing of the first capacitor and the plate spacing of the fourth capacitor does not change with the movement of the optical lens.

14. The optical lens three-dimensional movement detection device according to claim 1, It is 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.

15. The optical lens three-dimensional movement detection device according to claim 14, It is 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.

16. The optical lens three-dimensional movement detection device according to claim 15, It is 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.

17. The optical lens three-dimensional movement detection device according to claim 16, It is 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.

18. A method for detecting three-dimensional movement of an optical lens, It is characterized in that The method is applied to the optical lens three-dimensional movement detection device according to any one of claims 1 to 17, 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 in the coordinate system constructed by the first axis, the second axis and the third axis is determined according to the first capacitance value, the second capacitance value and the third capacitance value.

19. The method for detecting three-dimensional movement of an optical lens as claimed in claim 18, It is characterized in that The optical lens three-dimensional movement detection device further includes a fourth capacitor, and the method includes: Obtaining a fourth capacitance value of a fourth capacitor, wherein the dielectric constants of the first capacitor, the second capacitor, the third capacitor, and the fourth capacitor remain equal during the movement of the optical lens, and the plate facing area and the plate spacing of the fourth capacitor remain unchanged during the movement of the optical lens; The step of determining the moving position of the optical lens in the coordinate system constructed by the first axis, the second axis and the third axis according to the first capacitance value, the second capacitance value and the third capacitance value comprises: Determining a first coordinate of the optical lens along a first axis in a coordinate system according to the first capacitance value and the fourth capacitance value; Determining a second coordinate of the optical lens along a second axis in a coordinate system according to the second capacitance value and the fourth capacitance value; A third coordinate of the optical lens along a third axis in a coordinate system is determined according to the third capacitance value and the fourth capacitance value.

20. The method for detecting three-dimensional movement of an optical lens according to claim 18, It is characterized in that The optical lens three-dimensional movement detection device further includes a fourth capacitor, and the method includes: Obtaining a fourth series capacitance value of the first capacitor and the fourth capacitor, wherein the dielectric constants of the first capacitor, the second capacitor, the third capacitor, and the fourth capacitor remain equal during the movement of the optical lens, and the sum of the first capacitance value of the first capacitor and the fourth capacitance value of the fourth capacitor does not change with the movement of the optical lens; Determining a fourth capacitance value of the fourth capacitor according to the first capacitance value of the first capacitor and the fourth series capacitance value; Determining a reference capacitance value according to the first capacitance value and the fourth capacitance value, wherein the reference capacitance value does not change with the movement of the optical lens; The step of determining the moving position of the optical lens in the coordinate system constructed by the first axis, the second axis and the third axis according to the first capacitance value, the second capacitance value and the third capacitance value comprises: Determining a first coordinate of the optical lens along a first axis in a coordinate system according to the first capacitance value and the reference capacitance value; Determining a second coordinate of the optical lens along a second axis in a coordinate system according to the second capacitance value and the reference capacitance value; A third coordinate of the optical lens along a third axis in a coordinate system is determined according to the third capacitance value and the reference capacitance value.

21. A computer-readable storage medium, It is 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 three-dimensional movement detection method of an optical lens as described in any one of claims 18 to 20.

22. A focus motor, It is characterized in that It comprises the optical lens three-dimensional movement detection device as described in any one of claims 1 to 17.

23. A camera module, It is characterized in that Comprising a focus motor as claimed in claim 22.

24. An electronic device, It is characterized in that Including the camera module as described in claim 23.