Camera module control method, camera module and terminal equipment
By using a single drive device and transmission in the camera module, combined with multiple drive modes and critical time division, the problem of complex structure and high cost of the camera module in the prior art is solved, and a compact and efficient continuous focus function is achieved.
Patent Information
- Application Number
- CN202311323424.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2025-04-22
AI Technical Summary
When implementing continuous focus function, existing camera modules require two independent drive motors, resulting in complex structure, large size and high cost.
By using a single driving device, including a transmission member that can reciprocate axially forward and backward, the position adjustment of the two mirror group components is realized, and multiple driving modes are used to determine the driving signal to control the movement of the mirror group component.
It realizes the reduction of the complexity of the camera module structure, makes the overall structure more compact, reduces the volume and cost, and ensures the accuracy of continuous focus.
Smart Images

Figure CN119865694A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of camera technology, and in particular to a camera module control method, a camera module and a terminal device. Background Art
[0002] In order to meet users' high demands for camera quality, most camera modules on terminal devices such as mobile phones have continuous focusing (including zoom and focus) functions. At present, camera modules basically use two motors to adjust the positions of the corresponding two lens group components to achieve continuous adjustment of zoom and focus. However, the two motors require independent driving circuits and structures, which makes the camera module complex, large in size, and high in cost. For this reason, it is urgent to develop a new drive control solution for the camera module. Summary of the invention
[0003] In view of the above problems, various aspects of the present application provide a camera module control method, a camera module and a terminal device, so as to achieve the position adjustment of two lens group components for realizing the continuous focusing function by using only a single driving device, thereby achieving the purpose of reducing the structural complexity of the camera module and making the overall structure of the camera module more compact.
[0004] In one embodiment of the present application, a camera module control method is provided. The camera module has a driving device and a plurality of lens group components, the driving device includes a transmission member capable of axially reciprocating forward and backward, and two lens group components for realizing the focusing function among the plurality of lens group components are movably arranged on the transmission member. The camera module control method includes:
[0005] Acquiring focusing requirement information and current position information of the two mirror group components;
[0006] According to the focusing requirement information and the current position information, corresponding driving modes are determined for the two mirror group components from a plurality of driving modes; wherein the plurality of driving modes are divided based on the critical time at which the motion states of the two mirror group components relative to the transmission member change;
[0007] Determining a driving signal according to the driving modes corresponding to the two mirror group components;
[0008] According to the driving signal, the driving device is controlled to drive the two mirror group components to move, so as to realize the continuous focusing function of the camera module.
[0009] In another embodiment of the present application, a camera module is also provided. The camera module includes:
[0010] A driving device, including a transmission member capable of axially reciprocating forward and backward motion;
[0011] A plurality of lens group components, including two lens group components for realizing a focusing function, wherein the two lens group components are movably arranged on the transmission member;
[0012] A control device is used to implement the steps in the camera module control method provided in other embodiments of the present application.
[0013] In another embodiment of the present application, a terminal device is provided, which includes: a device body and a camera module provided in other embodiments of the present application, wherein the camera module is installed on the device body.
[0014] The technical solutions provided by the embodiments of the present application are that the camera module has only one driving device, and the one driving device can be used to drive the corresponding two mirror group components thereon to move, and realize the continuous focusing function. It can be seen that this solution can effectively reduce the structural complexity of the camera module, thereby reducing the volume and cost of the camera module, compared with the traditional solution that requires two driving devices (two motors) to realize the continuous focusing function. In the above, the driving device includes a transmission member that can axially reciprocate back and forth, and the two mirror group components used to realize the focusing function are movably arranged on the transmission member. Specifically, the continuous focusing function of the camera module is realized by the following method: obtaining focusing demand information and current position information of the two mirror group components; according to the focusing demand information and the current position information of the two mirror group components, respectively determining corresponding driving modes for the two mirror group components from multiple driving modes, and the multiple driving modes are divided based on the critical time when the motion state of the two mirror group components relative to the transmission member changes; determining a driving signal according to the driving mode corresponding to each of the two mirror group components, so as to control the driving device to drive the two mirror group components to move according to the driving signal, and realize the continuous focusing function. The drive signal determination method provided by the present solution can enable the drive device to have a long drive stroke and high-precision drive control, thereby ensuring a more accurate continuous focusing (or continuous optical zoom) effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0016] Figure 1 A schematic diagram of the structure of an existing camera module is provided for an exemplary embodiment of the present application;
[0017] Figure 2a and Figure 2b A schematic diagram of the structure of the camera module provided in the embodiment of the present application;
[0018] Figure 3A front view and a side view of a driving device in a camera module provided by an exemplary embodiment of the present application;
[0019] Figure 4a A schematic diagram showing the principle of a driving portion of a driving device provided by an exemplary embodiment of the present application undergoing reciprocating bending deformation;
[0020] Figure 4b A single-cycle driving signal applied to a driving device and a displacement-time curve diagram of a moving part in the driving device provided in an exemplary embodiment of the present application;
[0021] Figure 5 A flowchart of a camera module control method provided by an exemplary embodiment of the present application;
[0022] Figure 6 A schematic diagram of a principle of triggering a focus adjustment operation provided by an exemplary embodiment of the present application;
[0023] Figure 7 A schematic structural diagram of an exemplary embodiment of the present application, in which two corresponding mirror group components are movably arranged on a transmission member provided for a driving device;
[0024] Figure 8 A graph showing the relationship between a driving signal applied by a driving device and the displacement of a target mirror group component and time provided in accordance with an exemplary embodiment of the present application;
[0025] Figure 9a and Figure 9b A schematic diagram of the principle of dividing multiple driving modes provided in an embodiment of the present application;
[0026] Fig.9c Specific values of some parameters of two driving modes provided for an exemplary embodiment of the present application;
[0027] Fig.10 A schematic diagram of the principle process of determining a driving signal provided by an exemplary embodiment of the present application;
[0028] Fig.11 A schematic diagram of a principle of driving two corresponding mirror group components to move according to a driving signal provided in an exemplary embodiment of the present application;
[0029] Fig.12 A schematic diagram of the structure of a terminal device provided for an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0030] At present, most of the camera modules on the terminal equipment use two motors to drive the corresponding two mirror group components to move, realize the position adjustment of the two mirror group components, and thus achieve the purpose of continuous focusing (including zooming and focusing). However, since the driving circuits need to be arranged independently for the two motors, the structure of the camera module is complex, the volume is large, and the cost is high. In addition, since the driving guide rods are basically electromagnetic guide rods or ball guide rods when the two motors are used to drive the corresponding two mirror group components, and when the driving guide rods are electromagnetic guide rods, the motors need to be electromagnetic motors accordingly. Electromagnetic motors are easily subject to magnetic interference of the whole machine, and because continuous focusing requires the motor to have a long driving stroke and high-precision driving control, these also make the design of electromagnetic motors more difficult. The existing solution to the above-mentioned long driving stroke, magnetic interference and other problems is to use piezoelectric motors, but the problem that the corresponding two mirror group components need to be driven by two piezoelectric motors has not been solved. For example, in the camera module structure shown in FIG1 , it is necessary to use a piezoelectric motor 01 to drive the zoom lens group assembly 11 , and to use a piezoelectric motor 02 to drive the focus lens group assembly 12 .
[0031] From the above content, it is urgent to design a new driving control scheme for the camera module to solve the above-mentioned various problems existing in the camera module in the continuous focus scene. The above-mentioned continuous focus is also called continuous optical zoom.
[0032] To solve the above problems, the basic idea of the design drive control of the camera module in this application is: to drive and control the movement of the corresponding two mirror group components in the camera module through a single piezoelectric motor (corresponding to the driving device described below); in addition, based on the critical time corresponding to the change in the motion state of the two mirror group components, the rising edge duration and / or falling edge duration of the driving signal applied by the single voltage motor are set. For detailed descriptions of the motion state of the mirror group components and the corresponding critical time, please refer to the relevant content below. Based on the above basic design ideas, the embodiments of the present application provide a camera module control method, a camera module and a terminal device.
[0033] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.
[0034] In the embodiments of the present application, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, the words "first", "second" and the like are used to distinguish the same items or similar phases with substantially the same functions and effects. For example, the first signal generating circuit and the second signal generating circuit are only used to distinguish different signal generating circuits, and the order thereof is not limited. Those skilled in the art can understand that the words "first", "second" and the like do not limit the quantity and execution order, and the words "first", "second" and the like do not limit them to be necessarily different.
[0035] It should be noted that the words "exemplary" or "for example" in this application are used to indicate examples, illustrations or explanations. Any embodiment or design scheme described as "exemplary" or "for example" in this application should be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way. In addition, "at least one" in this application refers to one or more, and "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, B exists alone, wherein A and B can be singular or plural, etc. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b and c can represent: a, b, c, a, b and c, a and b, a and c, b and c.
[0036] The technical solutions provided by various embodiments of the present application are described in detail below in conjunction with the accompanying drawings.
[0037] The method embodiments provided in this application can be implemented on the hardware of the camera module provided below. Figure 2a and Figure 2b , a schematic diagram of the structure of the camera module provided by the present application is shown in FIG. 1 , which can be a periscope camera module, more specifically, a piezoelectric periscope camera module. Figure 2b The camera module comprises: a plurality of lens group components 1 and a driving device 2; wherein,
[0038] The plurality of lens group components 1 include two lens group components for realizing the focusing function, that is, include two lens group components that need to move.
[0039] For example, the plurality of lens group components include a zoom lens group component (Zoom lens) 11, a focus lens group component (AF (AutoFocus) lens) 12, and a fixed lens group component 13. The zoom lens group component 11 and the focus lens group component 12 are lens group components that need to move and are used to achieve a focusing function. More specifically, the zoom lens group component 11 is used to achieve a zoom function, and the focus lens group component 12 is used to achieve a focusing function. The fixed lens group component 13 is a lens group component that does not need to move and is fixedly arranged in the camera module.
[0040] In order to enable the two mirror group components for realizing the focusing function to move along a specific direction (i.e., the optical axis direction of the camera module), the camera module further includes: a mirror group guide 7. The extension direction of the mirror group guide 7 is the same as the optical axis direction. Multiple mirror group components 1 are arranged on the mirror group guide 7. Specifically, the mirror group components that need to move can be movably assembled with the mirror group guide 7, and the mirror group components that do not need to move are fixedly assembled with the mirror group guide 7. The mirror group guide 7 can guide the mirror group components that need to move to move along the optical axis direction.
[0041] The mirror group guide 7 can be a guide rod, such as a ball guide rod, a guide rail guide rod, etc. In specific configuration, multiple mirror group guides 7 can be arranged at intervals to make the mirror group assembly that needs to move move more smoothly along the optical axis. For example, two mirror group guides 7 can be arranged, and the two mirror group guides 7 are parallel to each other and distributed at opposite ends of the mirror group assembly.
[0042] It should be noted that the transmission member 22 included in the driving device 2 described below is actually a guide member, specifically a guide member for guiding the moving part 23 in the driving device 2 to move along the optical axis. If the transmission member 22 and the lens group guide member 7 are provided on one side (such as the left side) of the camera module, the transmission member 22 can be provided below the lens group guide member 7.
[0043] The driving device 2 is a piezoelectric driving device, more specifically a piezoelectric motor. This embodiment uses a voltage driving device, which has the advantages of being able to achieve a long driving stroke, high-precision driving control, and no magnetic interference, compared to the electromagnetic driving device (electromagnetic motor) used in the traditional camera module.
[0044] Figure 3 The front view and the side view of the driving device 2 are shown separately, wherein the front view is obtained by observing the other end of the self-transmission member 22 which is not connected to the driving part 21 along the optical axis direction. Figure 3 or Figure 2b The driving device 2 includes a driving part 21 and a transmission member 22 .
[0045] One end of the transmission member 22 is fixedly connected to the driving unit 21, and can make reciprocating motion back and forth along its axial direction (or along the optical axis direction) driven by the driving unit 21. The axial direction of the transmission member is related to whether the camera module is arranged along the length or width direction of the terminal device. For example, if the camera module is arranged along the length direction of the terminal device, the axial direction of the transmission member is the vertical direction, and accordingly, the reciprocating motion of the transmission member may refer to the up and down reciprocating motion. For another example, if the camera module is arranged along the width direction of the terminal device, the axial direction of the transmission member is the lateral direction, and accordingly, the reciprocating motion of the transmission member may refer to the left and right reciprocating motion.
[0046] The transmission member 22 extends longitudinally forward from the connection with the driving portion 21 . Figure 3 An example is shown in which one end of the transmission member 22 is fixed at the center of the driving part 21. In addition, the transmission member 22 is a rod-type transmission member, and its cross-sectional shape can be, but is not limited to, circular or polygonal, preferably circular.
[0047] The driving unit 21 may be composed of at least one layer (single layer or multiple layers) of piezoelectric vibrators 211. In specific implementation, it is preferred that the driving unit 21 is composed of multiple layers of piezoelectric vibrators 211 for the following reasons:
[0048] When the driving part is composed of a single-layer piezoelectric vibrator, the required driving voltage (corresponding to the signal voltage of the driving signal) will be relatively high. For example, the driving voltage may need to be 20V to 30V, while the voltage of terminal devices such as mobile phones is often low. In order to meet the driving voltage requirements, a boost circuit must be made, which will increase the complexity of the structure of the terminal device. If the driving part is composed of a multi-layer piezoelectric vibrator, the interlayer spacing between adjacent piezoelectric vibrators can be reduced by using differential electrodes, etc., so as to achieve the purpose of reducing the required driving voltage.
[0049] Figure 2b and Figure 3 The examples in which the driving part 21 is composed of a multilayer piezoelectric vibrator are shown, and the properties of the multilayer piezoelectric vibrator (such as size, shape, thickness and other morphological properties, material properties) are the same. The piezoelectric vibrator (also called piezoelectric vibrator, piezoelectric resonator) can bend and deform back and forth under the action of the driving signal to drive the transmission member 22 to reciprocate back and forth. The driving signal is a piezoelectric signal, specifically, a PWM (Pulse width modulation) signal or a sawtooth wave signal. The design and implementation of the driving signal will be described in detail in the following method embodiment.
[0050] In a specific implementation, when a driving signal is applied to both ends of the driving part 21, the driving part 21 is longitudinally compressed under the action of the electric field, and tensile stress is generated inside, so that the driving part 21 can be reciprocated and deformed. In one signal cycle of the driving signal (i.e., during one single cycle of the driving signal), the driving part 21 performs one reciprocating bending deformation. For example, see Figure 4a , a reciprocating bending deformation of the driving part 21 may include: forward bending deformation and backward bending deformation. When the driving part 21 is bent forward, it drives the transmission member 22 to move forward; the degree of forward bending deformation of the driving part 21 reaches the maximum. And, when the driving part 21 is bent backward, it drives the transmission member 22 to move backward. The displacement S0 of the transmission member 22 undergoing forward and backward reciprocating bending deformation = the absolute position difference between position a and position b. Among them, position a is the position of the other end of the transmission member that is not connected to the driving part 21 when the forward bending deformation of the driving part 21 reaches the maximum degree; position b is the position of the other end of the transmission member when the backward bending deformation of the driving part 21 reaches the maximum degree.
[0051] In addition, during the reciprocating bending deformation process of the driving portion 21, when it bends forward or backward from its original shape (flat plate) to other shapes (such as convex forward or concave backward), it is often bent and deformed slowly due to the resistance effect, and in the process of returning to the original shape (flat plate shape) from other shapes, it is often quickly restored to its original shape due to the elastic effect.
[0052] Further, if we continue to see Figure 4a , the driving device 2 may further include a moving part 23. The moving part 23 may be movably arranged on the transmission member 22. Specifically, the moving part 23 may be movably arranged on the transmission member 22 by friction fit, that is, the moving part 23 is tightly connected with the transmission member 22 (or tightly fitted), and has a certain preload force on the transmission member 22. In specific implementation, the moving part 23 may be a clamping mechanism for clamping the transmission member 22, for example, a clamping mechanism partially or entirely made of elastic material. The clamping force of the clamping mechanism is adjustable, and the clamping force is also the preload force.
[0053] Figure 7 , an example is shown in which the moving part 23 is a clamping mechanism (an elastic pre-tightening device) partially made of elastic material.
[0054] The moving part 23 can be guided to move by the transmission member 22. Specifically, when the driving part 21 performs a reciprocating bending deformation, the moving part 23 moves together with the transmission member. More specifically, during the process of the driving part 21 bending forward and deforming slowly, such as deforming from the original state to the forward convex state, the speed of the transmission rod movement is also slow. At this time, the moving part 23 will often move with the transmission member 22, and the position of the moving part 23 relative to the transmission member 22 has not changed, that is, the moving part 23 has not relative sliding relative to the transmission member 22, so the moving part 23 is in a sticky state relative to the transmission member 22; during the process of the driving part bending backward and quickly returning to the original state (flat state), the transmission member 22 also moves backward quickly. At this time, the moving part 23 cannot follow the moving action of the upper transmission member 22 due to inertia, resulting in it being able to stay at its position, and the position of the moving part 23 relative to the transmission member 22 has changed, that is, the moving part 23 has relative sliding relative to the transmission member 22, so the moving part 23 is in a sliding state relative to the transmission member 22. As can be seen from the above, the motion state of the moving part 23 relative to the transmission member 22 includes: a sticking state and a sliding state. In addition, during a reciprocating bending deformation process of the driving part 21, the position of the moving part 23 may change and generate a displacement (displacement difference). After multiple reciprocating bending deformations of the driving part 21, the moving part 23 can be finally moved to the target position.
[0055] Figure 4b The left side of the diagram shows a single-cycle driving signal applied to the driving unit 21, during which the driving unit 21 performs a reciprocating bending deformation. In the time period from t1 to t2 and the time period from t3 to t4, the driving unit 21 is in a corresponding bending deformation maintaining state. For example, when t1 is reached, the driving unit is convex forward to the maximum extent, and then, it will remain in the state of convex forward to the maximum extent during the time period from t1 to t2. Figure 4b The right side of the graph shows the displacement y2 of the moving part 23 changing with time during the process of the driving part 21 undergoing multiple reciprocating bending deformations by applying a driving signal with multiple cycles. During one reciprocating deformation of the driving part 21, the displacement generated by the moving part 23 is accumulated during the corresponding back-and-forth reciprocating motion of the transmission member driven by the driving part 21, and is related to the motion state of the moving part 23 relative to the transmission member. Specifically, the displacement generated during the viscous state is 0, and the displacement generated during the sliding state is related to the acceleration a that the moving part can obtain due to the dynamic friction of the transmission member. For example, see Figure 4bThe left side shows a single-cycle driving signal. Assuming that in the time period 0 to t1, the moving part 23 is in a sliding state relative to the transmission member, and in the time period t1 to t2, it can be considered to be in the holding stage of the sliding state. In the time period t2 to t3, the moving part 23 is in a sticky state relative to the transmission member, and in the time period t3 to t4, it can be considered to be in the holding stage of the sticky state. Then: in the time period 0 to t4, when the transmission member is driven by the driving part 21 to make a corresponding back-and-forth reciprocating motion, assuming that the initial velocity is zero, the cumulative displacement generated by the moving part 23 can be equal to: a*(t2-0) 2 .
[0056] Furthermore, the driving device 2 also includes a first carrier (not specifically indicated in the figure) for carrying the mirror group assembly. A first carrier is used to carry a mirror group assembly and is connected to a corresponding moving part 23. The moving part 23 drives the corresponding first carrier to move under the action of the driving part 21 and the transmission member 22, thereby driving the mirror group assembly on the first carrier to move.
[0057] In this embodiment, since two mirror group components need to be driven to move by the driving device 2, the driving device includes at least two first carriers and two moving parts 23. Since the mirror group component to be moved is driven to move by the corresponding moving part 23 driving the corresponding first carrier, the motion state of the mirror group component to be moved relative to the transmission member 22 can be characterized by the motion state of the corresponding moving part 23 relative to the transmission member 22; and the displacement of the mirror group component to be moved relative to the transmission member 22 during a forward and backward reciprocating motion of the transmission member can also be characterized by the displacement of the corresponding moving part 23 relative to the transmission member 22. The acceleration a obtained by the moving part due to the dynamic friction of the transmission member is related to the weight of the corresponding mirror group component, so it can also be called the acceleration a obtained by the mirror group component corresponding to the moving part due to the dynamic friction of the transmission member.
[0058] For example, combined with Figure 7 The weight of the zoom lens group assembly 11 is m1, and the dynamic friction force and dynamic friction coefficient of the transmission member 22 are F f , μ, the zoom lens group assembly 11 is driven by the moving part 231, and the moving part 231 has a preload force of F on the transmission member 22 N Then: the dynamic friction force of the transmission member 22 can make the moving part 231 or the zoom lens group assembly 11 obtain an acceleration a1=F f / m1, where F f =μ(m1g+F N ). If the moving part 231 is in a sticky state relative to the transmission member 22, the movement state of the zoom lens group assembly 12 relative to the transmission member 22 is a sticky state. Figure 4bIn the example described, it is assumed that during a reciprocating motion of the transmission member, if the cumulative displacement of the moving part 231 relative to the transmission member 22 is: a*(t2-0) 2 , then accordingly, the cumulative displacement of the zoom lens group assembly 11 relative to the transmission member 22 is a*(t2-0) 2 .
[0059] Furthermore, in order to avoid collision between the two mirror group components that need to move during the movement, the camera module may further include a limiting device 3. The limiting device 3 may be fitted with the transmission member 22 and located between the two mirror group components that need to move. In specific implementation, the limiting device may be, but is not limited to, a limiting ring, a limiting rod, etc. When the limiting device 3 is a limiting rod, one end of the limiting device 3 is fixed on the inner side of the housing 8 of the camera module, and the other end may be provided with a through hole or a groove to achieve fitting with the transmission member 22. In this case, the limiting device 3 can also support the transmission member 22.
[0060] In addition to the above components, the camera module may also include other components, such as a housing 8, a refraction component, a filter 5, a photosensitive element 6, a control device ( Figure 2b (not shown) etc. Among them,
[0061] The shell 8 has a accommodating space. The above-mentioned driving device 2, multiple lens group components 1, refractive components, carriers (such as the first carrier, the second carrier 9), filter 5, photosensitive element 6, etc. are all arranged in the accommodating space formed by the shell 8, so that the camera module has a relatively compact structural configuration.
[0062] The refraction component includes: a second carrier 9 and a refraction element 4 mounted on the second carrier 9. The refraction element 4 is used to receive imaging light from the subject (light reflected (or emitted) by the subject) and deflect the imaging light to the corresponding lens group component 1, so as to focus the imaging light to the photosensitive element 6 through the lens group component. In specific implementation, the refraction element 4 can be a reflector (such as a plane reflector) or a light deflection prism (such as a prism). Of course, the refraction element 4 can also be other types of optical elements, which is not specifically limited in this embodiment.
[0063] The filter 5 is used to filter the corresponding light. For example, if the filter 5 is an infrared filter, it is responsible for filtering out the unnecessary infrared light in the imaging light. The filtered imaging light is focused on the photosensitive element 6.
[0064] The photosensitive element 6 is an image sensor, which can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element 6 is used to convert the imaging light (optical signal) into an electrical signal and transmit it to the ISP (Image Signal Processing) for processing to convert it into a digital image signal. Furthermore, the ISP can also output the digital image to the DSP (Digital Signal Processing) for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format.
[0065] For the specific functional implementation of the control device, please refer to the relevant content of the method embodiment described below.
[0066] Here are some additional explanations: Figure 2b The components / devices included in the camera module are only schematically shown in the figure, which does not mean that the camera module only includes Figure 2b Parts / devices shown.
[0067] Figure 5 A flow chart of a camera module control method provided in one embodiment of the present application is shown. The method is performed by a control device of the camera module, and the control device may be any device with data analysis and processing capabilities, such as a processor. The camera module has a driving device and multiple lens groups, and the driving device includes a transmission member that can axially reciprocate back and forth. Two lens group assemblies among the multiple lens group assemblies for realizing the focusing function are arranged on the transmission member. For a detailed description of the driving device, lens group assemblies and other components included in the camera module, please refer to the relevant content detailed above for the camera modules provided in other embodiments of the present application. Figure 5 As shown, the camera module control method provided in the embodiment of the present application includes the following steps:
[0068] 101. Obtain focusing requirement information and current position information of the two mirror group components;
[0069] 102. Determine, according to the focusing requirement information and the current position information, driving modes corresponding to the two mirror group components from a plurality of driving modes; wherein the plurality of driving modes are divided based on critical times at which the motion states of the two mirror group components relative to the transmission member change;
[0070] 103. Determine a driving signal according to the driving modes corresponding to the two mirror group components;
[0071] 104. According to the driving signal, control the driving device to drive the two mirror group components to move, so as to realize the continuous focusing function of the camera module.
[0072] In the above 101, the focus requirement information may be obtained according to a focus operation triggered by a user, and includes a zoom multiple requirement.
[0073] For example, participate Figure 6 , the user turns on the camera function by clicking the camera application icon on the terminal device and enters the shooting interface 110. Afterwards, according to one's own shooting needs, the focusing operation is triggered on the shooting interface. For example, the user performs a pinch zoom (zooming with fingers) operation on the shooting interface to set the zoom factor to 5X (5 times); or, clicks the setting icon on the shooting interface to enter the setting item interface (not shown in the figure), and selects "manual focus" in the setting item, so as to manually set the corresponding zoom factor through the pop-up 1-N different focus level adjustment items. In response to the triggered focusing operation, the terminal device will obtain the input focusing requirement information and send it to the camera module thereon.
[0074] The current position information of the two lens group components for realizing the focusing function can be obtained based on, but not limited to, the current zoom factor, the clarity of the output image, etc. The above two lens group components specifically include: a zoom lens group component and a focus lens group component. Specifically, the current zoom factor can be used to determine the current position information of the zoom lens group component, and the clarity of the current output image can be used to determine the position information of the focus lens group. Of course, other methods can also be used to achieve the determination of the current position information of the zoom lens group component and the focus lens group component. The specific determination method can refer to the existing relevant content.
[0075] Furthermore, in this embodiment, a plurality of driving modes are preset for the two mirror group components described above, so as to provide data support for the driving device to determine the driving signal to be applied. The plurality of driving modes are divided based on the critical time of the change of the motion state of each of the two mirror group components relative to the transmission member. For a detailed description of the motion state of the mirror group component relative to the transmission member, please refer to the relevant content in other embodiments of the present application. The critical time can be derived based on Newton's laws of motion. Specifically, let the target mirror group component be any one of the two mirror group components, then the critical time corresponding to the target mirror group component can be calculated using the following steps:
[0076] S11, obtaining the weight of the target mirror group assembly and parameter information of the transmission member related to the target mirror group assembly;
[0077] S12, calculating the critical time corresponding to the target mirror group component according to the weight and the parameter information;
[0078] The parameter information at least includes: the pre-tightening force of the target mirror group assembly on the transmission member, the dynamic friction coefficient of the transmission member, and the displacement of the transmission member in the forward and backward reciprocating motion.
[0079] In specific implementation, the above-mentioned preload force specifically refers to: the preload force of the moving part connected to the target mirror group assembly and tightly matched with the transmission member. For a detailed description of the displacement of the transmission member in the forward and backward reciprocating motion, please refer to the relevant content in other embodiments above. According to Newton's law of motion, based on the weight of the target mirror group assembly and the parameter information of the transmission member related to the target mirror group assembly, the following multi-terminal relationship can be listed for the calculation of the critical time corresponding to the target mirror group assembly:
[0080]
[0081] Wherein, s0 is the displacement of the transmission member in reciprocating motion, t c represents the critical time corresponding to the target mirror group component, m represents the weight of the target mirror group component, μ represents the dynamic friction coefficient of the transmission part, and F N Indicates preload force, F f represents the kinetic friction, a represents the acceleration of the target mirror group assembly caused by the kinetic friction, and g represents the gravitational acceleration.
[0082] According to the above polynomial relationship, the critical time t corresponding to the target mirror group component can be derived: c The calculation formula is as follows:
[0083]
[0084] exist Figure 8 The solid curve ls-t shows the relationship curve between the displacement of the target mirror group component (that is, the displacement of the moving part corresponding to the target mirror group) and time, and the dotted curve lv-t represents the driving signal applied by the driving part 21 of the driving device. The rising edge duration t1 of the driving signal can also represent the first duration corresponding to the forward movement of the transmission member 22, and the falling edge duration t3-t2 can also represent the second duration corresponding to the backward movement of the transmission member 22. When the transmission member moves forward / backward, the corresponding duration is relatively long (greater than the critical time corresponding to the target mirror group component), which can reflect that the transmission member moves slowly, and the target mirror group component can follow the movement of the upper transmission member, so it is in a viscous state relative to the transmission member. When the transmission member moves forward / backward, the corresponding duration is relatively short (less than the critical time corresponding to the target mirror group component), which can reflect that the transmission member moves quickly, and the target mirror group component cannot follow the movement of the upper transmission member, and it will slide relative to the transmission member, so it is in a sliding state. Based on this content, the motion state of the target mirror group relative to the transmission member can be judged as follows:
[0085] When the following first condition is met, the motion state of the target mirror group relative to the transmission member can be considered to be a viscous state:
[0086] t1>t c , or t3-t2>t c .
[0087] Furthermore, when the following second condition is met, the motion state of the target mirror group relative to the transmission member can be considered to be a sliding state:
[0088] t1 <t c , or t3-t2 <t c .
[0089] Based on the above, Figure 7 The critical times corresponding to the zoom lens group assembly 11 and the focus lens group assembly 12 shown in the figure can be as follows:
[0090]
[0091] Among them, t c1 represents the critical time corresponding to the zoom lens group assembly 11, m1 represents the weight of the zoom lens group assembly 11, F N1 represents the preload force of the moving part 231 corresponding to the zoom lens group assembly 11; t c2 represents the critical time corresponding to the focusing lens group assembly 12, m2 represents the weight of the focusing lens group assembly 12, F N2 It represents the preload force of the moving part 232 corresponding to the focusing lens group assembly 12 .
[0092] When achieving continuous focusing, it is generally necessary to zoom first and then focus. In other words, it is necessary to first adjust the zoom lens group assembly 11 to the corresponding first target position, and then adjust the focusing lens group assembly 12 to the corresponding second target position. Based on this, the critical time t corresponding to the zoom lens group assembly 11 is c1 is often less than the critical time t corresponding to the focusing lens group component 12 c2 That is, t c1 <t c2 .
[0093] Furthermore, based on the critical times corresponding to the zoom lens group assembly 11 and the focus lens group assembly 12 calculated above, the following steps may be used to determine multiple driving modes:
[0094] S21, determining a plane rectangular coordinate system with the first time length required for the transmission member to move forward (i.e., the rising edge time length t1 of the driving signal) as the X-axis and the second time length required for the transmission member to move backward (i.e., the falling edge time length t3-t2 of the driving signal) as the Y-axis;
[0095] S22, dividing the plane rectangular coordinate system according to the critical times corresponding to the two mirror group components and the angle bisector of the plane rectangular coordinate system to obtain a division result;
[0096] S23. Determine a plurality of driving modes based on the division result.
[0097] In the above, each of the multiple driving modes includes the following parameters:
[0098] When the transmission member moves forward, the required first time duration value range and the motion states of the two mirror group components relative to the transmission member;
[0099] When the transmission member moves backward, the required second time length value range and the motion states of the two mirror group components relative to the transmission member;
[0100] The reciprocating motion of the transmission member can generate displacement information for each of the two mirror group components. The displacement information includes the displacement amount (that is, the accumulated displacement amount under the single-cycle driving signal described in the context) and the displacement direction. The displacement amount can be calculated based on the corresponding displacement calculation formula according to the motion state of the mirror group component and using the acceleration a described above. For a detailed description of the displacement amount here, please refer to the relevant content in other embodiments of the present application above. The displacement direction can reflect whether the mirror group component moves away from or closer to the driving part in the driving device after displacement.
[0101] Figure 9a FIG. 2 shows the implementation principle diagram of the above steps S21 to S22. Figure 9a As shown, there are 11 driving modes finally determined, namely, driving modes M1 to M3, driving mode M4-1, driving mode 4-2, driving modes M5 to M8, driving mode M9-1, and driving mode 9-2.
[0102] Taking driving mode M2 as an example, the first time duration required for the corresponding transmission member to move forward is in the range of: t1≥t c2 , and the second time required for the transmission member to move backward has a value range of: t c1 ≤t3-t2 <t c2 Based on this, for the zoom lens group assembly 11, since t1 ≥ t c2 , and t c2 >t c1 , so t1≥t c1 Therefore, when the transmission member moves forward (i.e., during the rising edge time period of the driving signal), the movement state of the zoom lens group assembly 11 relative to the transmission member is a viscous state; and, because t3-t2≥t c1Therefore, when the transmission member moves backward (i.e., during the falling edge time period of the driving signal), the movement state of the zoom lens group assembly 11 relative to the transmission member is also a viscous state. Figure 7 , during a forward and backward reciprocating motion of the transmission member, the zoom lens group assembly 11 will follow the movement of the transmission member, so there will be no displacement relative to the transmission member, that is, the displacement is 0. Similarly, because t1≥t c2 Therefore, when the transmission member moves forward, the movement state of the focusing lens group assembly 12 relative to the transmission member is a viscous state; and, due to t3-t2 <t c2 Therefore, when the transmission member moves forward, the focusing lens group assembly 12 moves in a sliding state relative to the transmission member. Figure 7 In a forward and backward reciprocating motion of the transmission member, the focusing lens group assembly 12 will follow the transmission member 22 in the forward motion stage of the transmission member, and will generate a displacement backwards in the backward motion stage of the transmission member because it cannot follow the upper transmission member 22. In other words, in a forward and backward reciprocating motion of the transmission member, the focusing lens group assembly 12 will generate a displacement backwards relative to the transmission member 22, and the distance between the focusing lens group assembly 12 and the driving unit 21 will decrease.
[0103] Based on the above example, the parameters included in the driving mode M2 are as follows: When the transmission member moves forward, the required first duration ranges from t1 ≥ t c2 , the zoom lens group assembly 11 and the focusing lens group assembly 12 are all in a sticky state; when the transmission member moves backward, the required second time length range is t c1 ≤t3-t2 <t c2 , the zoom lens group assembly 11 is in a sticky state, and the focusing lens group assembly 12 is in a sliding state; in one forward and backward reciprocating motion of the transmission member, the displacement of the zoom lens group assembly 11 is 0, and the focusing lens group assembly 12 generates a forward displacement δs. The forward displacement is regarded as a positive displacement, and the displacement δs of the focusing lens group assembly 12 is greater than 0.
[0104] Table 1 below is for Figure 9a The multiple driving modes shown in FIG. 1 show some parameters included in each driving mode.
[0105] Table 1 Some parameters included in multiple drive modes
[0106]
[0107] Note: In Table 1 above, for the convenience of subsequent analysis and description, the motion state of the lens group assembly is described from the perspective of the rising edge and falling edge of the driving signal, which corresponds to the forward movement and backward movement of the transmission member from the perspective of the transmission member. A displacement less than 0 or greater than 0 can reflect the displacement direction of the lens group assembly relative to the transmission member. For example, under driving mode M6, the displacement corresponding to the zoom lens group assembly 11 is less than 0, indicating that the zoom lens group assembly 11 is displaced backward relative to the transmission member, and the zoom lens group assembly 11 will move closer to the driving unit 21; the displacement corresponding to the focus lens group assembly 12 is greater than 0, which means that the focus lens group assembly 12 is displaced forward, and the focus lens group assembly 12 will move away from the driving unit 21.
[0108] Since in the continuous focusing process, it is necessary to first adjust the zoom lens group assembly 11 to achieve zooming, and then adjust the focus lens group assembly 12 to achieve focusing, and when adjusting the focus lens group assembly 12, it is necessary to ensure that the zoom lens group assembly 11 remains stationary relative to the transmission member. For this reason, when adjusting the focus lens group assembly 12, it is necessary to keep the zoom lens group assembly 11 in a viscous state relative to the transmission member. Based on this, combined with the above Table 1, it can be known that when adjusting the zoom lens group assembly 11 first, the driving mode corresponding to the zoom lens group assembly 11 needs to be selected from the driving modes M5 to M9-2; and when adjusting the focus lens group assembly 12 next, the driving mode corresponding to the focus lens group assembly 12 needs to be selected from M1 to M4-2. Specifically, according to the focusing demand information and the current position information of the zoom lens group assembly 11 and the focus lens group assembly 12, the corresponding motion state and displacement information, etc. can be analyzed for the zoom lens group assembly 11 and the focus lens group assembly 12, respectively, to achieve the above selection.
[0109] From the above, in one possible implementation, the above 102 "determining corresponding driving modes for the two mirror group components from a plurality of driving modes according to the focusing requirement information and the current position information of the two mirror group components" may specifically include:
[0110] 1021. Determine, according to the focusing demand information and the current position information, a first target motion state and first target displacement information that the zoom lens group assembly needs to correspond to when implementing a zoom function, and a second target motion state and second target displacement information that the zoom lens group assembly and the focusing lens group assembly need to correspond to when implementing a focus function;
[0111] 1022. Determine, according to parameters of each driving mode in the multiple driving modes, at least one first candidate driving mode matching the first target motion state and the first target displacement information from the multiple driving modes, and determine at least one second candidate driving mode matching the second target motion state and the second target displacement information;
[0112] 1023. Select one of the at least one first candidate driving modes to be determined as the driving mode of the zoom lens group assembly, and select one of the at least one second candidate driving modes to be determined as the driving mode of the focusing lens group assembly.
[0113] With respect to the above steps 1021 to 1023, the current position information of the zoom lens group assembly 11 and the focus lens group assembly 12 is assumed as follows: Figure 7 In the case shown, two examples are given below:
[0114] Example 1
[0115] The zoom ratio required by the user is greater than the current zoom ratio of the camera module. In this case, it is necessary to first adjust the zoom lens group assembly 11 to move backward relative to the transmission member until the corresponding target position is reached, that is, when realizing the zoom function, the zoom lens group assembly 11 needs to be in a sliding state and the displacement generated is backward (the displacement is less than 0); then, while keeping the zoom lens group assembly 11 stationary relative to the transmission member, adjust the focus lens group assembly 12 to move forward relative to the transmission member, that is: when realizing the focus function, the zoom lens group assembly needs to be in a viscous state and the displacement generated is 0, and the focus lens group assembly needs to be in a sliding state and the displacement generated is forward (the displacement is greater than 0). Based on this, combined with Table 1 above, one can be selected from drive mode M6, drive mode M8, and drive mode M9-2 as the drive mode corresponding to the zoom lens group assembly 11, and one can be selected from drive mode M2 and drive mode 4-1 as the drive mode corresponding to the focus lens group assembly 12.
[0116] Example 2:
[0117] The zoom ratio required by the user is less than the current zoom ratio of the camera module. In this case, it is necessary to first adjust the zoom lens group assembly 11 to move forward relative to the transmission member until the corresponding target position is reached, and then adjust the zoom lens group assembly 12 to move backward relative to the transmission member while keeping the zoom lens group assembly 11 stationary relative to the transmission member. Based on this, one of the drive modes M5, M7, and M9-1 can be selected as the drive mode corresponding to the zoom lens group assembly 11, and one of the drive modes M3 and M4-2 can be selected as the drive mode corresponding to the focus lens group assembly 12.
[0118] Specifically, when implementing the selection of the driving mode, in order to ensure that the continuous focusing function of the camera module can be realized in the shortest time to improve the user experience, the selection principle can be: the total time required to complete the driving of the zoom lens group component 11 and the focus lens group component 12 can be minimized. Based on this, in a specific achievable technical solution, the above 1023 "selecting one of the at least one first candidate driving modes to be determined as the driving mode of the zoom lens group component" can be implemented by the following steps:
[0119] 10231. According to the parameters included in each first candidate driving mode, a first candidate driving mode that can shorten the time required to complete driving the zoom lens group assembly is selected, and the first candidate driving mode is determined as the driving mode corresponding to the zoom lens group assembly;
[0120] Furthermore, in the above 1023, “selecting one of the at least one second candidate driving modes to be determined as the driving mode of the focusing lens group component” can be implemented by the following steps:
[0121] 10232. According to the parameters included in each second candidate driving mode, select a second candidate driving mode that can shorten the time required to complete the driving of the focusing lens group component, and determine it as the driving mode corresponding to the focusing lens group component.
[0122] For example, following the above-mentioned Example 1, it is assumed that at least one first candidate driving mode determined for the zoom lens group assembly 11 includes Figure 9a The driving mode M6, driving mode M8, driving mode M9-2 shown in FIG. 1 and at least one second candidate driving mode determined for the focusing lens group component 12 include: Figure 9a The driving modes shown in FIG. 4 are driving mode M2 and driving mode 4-1.
[0123] Assume that the weight of the zoom lens group assembly 11 and the focusing lens group assembly 12, and the preload force F of the transmission member related to the zoom lens group assembly 11 and the focusing lens group assembly 12 are N , dynamic friction coefficient μ, displacement s0 of the forward and backward reciprocating motion, the calculated dynamic friction force of the transmission member causes the zoom lens group assembly 11 and the focus lens group assembly 12 to obtain acceleration a, critical time and other parameters, as shown in Table 2:
[0124] Table 2
[0125]
[0126] Based on this, Figure 9b The figure shows the division of each driving mode when the critical time corresponding to the zoom lens group component 11 and the focus lens group component 12 is 78us and 104us respectively. Figure 9bIt can be known that the specific value ranges of the first duration and the second duration corresponding to each first candidate driving mode determined for the zoom lens group assembly 11 are as follows:
[0127] Driving mode M6: 0 < t1 ≤ 78 us, t3 - t2 > 104 us;
[0128] Driving mode M8: 0 < t1 ≤ 78 us, 78 us < t3 - t2 ≤ 104 us
[0129] Driving mode M9-2: 0 < t1 ≤ 78 us, 0 < t3 - t2 ≤ 78 us, and t3 - t2 > t1;
[0130] Combined with Table 1 above, in driving mode M9-2, within the rising edge duration and the falling edge duration of the driving signal, the zoom lens group assembly 11 will be in a sliding state. That is to say, within a single cycle of the driving signal, the zoom lens group assembly 11 will generate two opposite displacements (where the backward displacement generated is greater than the forward and backward displacements), and the opposite displacements have a canceling effect, which will cause the effective backward displacement amount generated by the zoom lens group assembly 11 within this single cycle to be relatively small. As a result, more cycles of the driving signal are required to drive the zoom lens group assembly to the corresponding target position, and the driving duration required to complete the driving of the zoom lens group assembly will be relatively long compared to driving mode M8 and driving mode M6. Although both driving mode M8 and driving mode M6 are only in a sliding state during the rising edge time of the driving signal, however, for the two of them, if the t1 value is the same (corresponding to the same rising edge duration value of the driving signal), then the value of t3 - t2 of driving mode M8 will be relatively large compared to driving mode M6. That is to say, the falling edge duration of the driving signal corresponding to driving mode M8 will be relatively long, resulting in a relatively long total duration required for a single cycle of the driving signal, and causing the driving duration required to complete the driving of the zoom lens group assembly to be relatively long compared to driving mode M6.
[0131] In summary, in order to complete the driving of the zoom lens group assembly in the shortest time, driving mode M6 can be selected as the driving mode corresponding to the zoom lens group assembly.
[0132] Similarly, driving mode M2 can be selected as the driving mode for the focusing lens group assembly.
[0133] Therefore, the driving mode selection scheme that can achieve the continuous focusing function of the camera module in the shortest time is: driving mode M6 -> driving mode M2.
[0134] After determining the driving modes of the zoom lens group component and the focus lens group component, the driving signal can be determined according to the duration value range (the first duration value range and the second duration value range) contained in the driving mode, so as to be applied to the driving part of the driving device. Specifically, in an achievable technical solution, the above 103 "determining the driving signal according to the driving modes corresponding to the two lens group components" may include:
[0135] 1031. Determine a first rising edge duration and a first falling edge duration of a single-cycle driving signal for the zoom lens group component according to a first duration value range and a second duration value range included in the driving mode of the zoom lens group component;
[0136] 1032. Determine a second rising edge duration and a second falling edge duration of a single-cycle driving signal for the focusing lens group component according to a first duration value range and a second duration value range included in the driving mode of the focusing lens group component;
[0137] 1033. Determine a first cycle number of a driving signal required for the zoom lens group component and a second cycle number of a driving signal required for the focus lens group component;
[0138] 1034. According to the first rising edge duration and the first falling edge duration, adjust the first consecutive cycle number of signals in the preset signal, and then adjust the second consecutive cycle number of signals in the preset signal according to the second rising edge duration and the second falling edge duration to obtain the driving signal.
[0139] The preset signal mentioned above is a signal with multiple periods, which may be, but is not limited to, a PWM signal or a sawtooth wave signal, etc. This embodiment does not make any specific limitation on this.
[0140] For ease of understanding, the above steps 1031 to 1034 are described below with examples.
[0141] Continuing with the example listed for step 1023, when implementing continuous focusing, the selected drive mode is: from drive mode M8 corresponding to the zoom lens group component 11 to drive mode M2 corresponding to the focusing lens group component 12; among them, the value range of the first duration included in drive mode M8 is: 0 < t1 ≤ 78 us, and the value range of the second duration is 104 us < t3 - t2 ≤ 104 us. The value range of the first duration included in drive mode M2 is: 104 us < t1, and the specific value range of the second duration is 104 us < t3 - t2 ≤ 104 us. Within the value ranges of the first duration and the second duration included in the above drive mode M8, any one duration value can be taken respectively to be used as the first rising edge duration and the first falling edge duration of the single-cycle drive signal determined for the zoom lens group component. For example, for the zoom lens group component, some specific parameter values of drive mode M8 can be: t1 = 10 us (indicating that the first rising edge duration is specifically 10 us), t3 - t2 = 80 us (indicating that the first falling edge duration is 80 us). Similarly, within the value ranges of the first duration and the second duration included in the above drive mode M8, any one duration value can be taken respectively to be used as the second rising edge duration and the second falling edge duration of the single-cycle drive signal determined for the focusing lens group component. For example, for the focusing lens group component 12, some specific parameter values of drive mode M2 can be: t1 = 110 us (indicating that the second rising edge duration is specifically 110 us), t3 - t2 = 80 us (indicating that the second falling edge duration is 80 us).
[0142] Further, assuming that the number of the first cycle of the drive signals required for the zoom lens group component 11 and the focusing lens group component 12 are Num1 and Num2 respectively, then: Refer to Fig.10 , according to the above t1 = 10 us, t3 - t2 = 80 us, the rising edge duration and the falling edge duration of the signals in consecutive Num1 cycle numbers in the preset signal can be adjusted. Denote that the last signal adjusted in this step is the j-th cycle signal in the preset signal. Then, when continuing to adjust the preset signal later, starting from the (j + 1)-th cycle signal in the preset signal, according to the above t1 = 110 us, t3 - t2 = 80 us, the rising edge duration and the falling edge duration of the signals in consecutive M2 cycle numbers in the preset signal will be adjusted. In this way, the required drive signal is finally obtained.
[0143] It can be learned from the example that the time node values of the single-cycle drive signals corresponding to the above zoom lens group component and focusing lens group component are as shown in Table 3 below.
[0144] Table 3
[0145]
[0146] In the above Table 3, δs represents the accumulated displacement of the lens group component under the action of a single-cycle driving signal, and the displacement δs can be calculated by the corresponding acceleration a shown in Table 2. For the specific calculation implementation, please refer to the relevant content in other embodiments above. For example, under the action of a single-cycle driving signal, the displacement of the zoom lens group component 11 is 393.5nm, and more specifically, the displacement generated backward is 393.5nm. The displacement 393.5nm can be based on the acceleration a=65.2m / s corresponding to the zoom lens group component 11 shown in Table 2. 2 , and the total sliding time of 25us corresponding to the zoom lens group component in the sliding state in the single-cycle driving signal. Dividing δs by the total signal time of the single-cycle driving signal can obtain the driving speed (movement speed) corresponding to the lens group component. For example, when zooming, the driving speed corresponding to the zoom lens group component 11 is: 393.5nm / 110us=3.6mm / s; when focusing, the driving speed corresponding to the focusing lens group component 12 is: 163.8nm / 280us=0.6mm / s.
[0147] The δs shown in Table 3 above can provide data support for determining the number of cycles of the driving signal required for the mirror group component.
[0148] Specifically, in a specific achievable technical solution, the above 1033 "determining the first number of cycles of the driving signal required for the zoom lens group component and the second number of cycles of the driving signal required for the focusing lens group component" can be implemented by the following steps:
[0149] 10331. Determine, according to the focusing requirement information, a first target position to which the zoom lens group assembly needs to be adjusted and a second target position to which the focusing lens group assembly needs to be adjusted;
[0150] 10332. Determine a first displacement amount that can be generated by the zoom lens group assembly within a single-cycle driving signal according to the displacement information included in the driving mode of the zoom lens group assembly;
[0151] 10333. Determine the first cycle number based on the first displacement and a first position difference between a current position of the zoom lens group assembly and a first target position;
[0152] 10334. Determine a second displacement that can be generated by the focus lens group component within a single cycle drive signal according to the displacement information included in the driving mode of the focus lens group component;
[0153] 10335. Determine the number of cycles based on the second displacement and a second position difference between the second target position and the position of the focusing lens group assembly when the zoom assembly reaches the first target position.
[0154] In specific implementation, the zoom factor required by the user can be determined according to the focusing requirement information, and then the first target position to which the zoom lens group component needs to be adjusted and the second target position to which the focusing lens group component needs to be adjusted can be determined according to the correspondence relationship information between the preset zoom factor and the position of the zoom lens group component and the position of the focusing lens group component. Fig.11 shown.
[0155] Further, for the zoom lens group assembly 11, a first position difference ΔP1 between the current position of the zoom lens group assembly and the first target position can be calculated, and a first quotient obtained by dividing the first position difference ΔP1 by the first displacement δs1 (such as 393.5 nm shown in Table 3 above) can be determined as the first period number. Similarly, for the focusing lens group assembly, a second position difference ΔP2 between the second target position and the position of the focusing lens group assembly when the zoom assembly reaches the first target position can be calculated, and a second quotient obtained by dividing the second position difference ΔP2 by the second displacement δs2 (such as 163.8 nm shown in Table 3 above) can be determined as the second period number.
[0156] Furthermore, in the above 104, the determined driving signal can be applied to the driving unit 21 of the driving device, and the driving unit 21 drives the zoom lens group assembly 11 and the focusing lens group assembly 12 to move according to the driving signal, so as to realize continuous automatic adjustment of the zoom and focus of the camera module.
[0157] For example, see Fig.11 As shown, after the driving signal determined based on the driving mode M8 and the driving mode M2 is applied to the driving unit 21, the driving unit 21 will first drive the zoom lens group assembly 11 to move backward until it reaches the first target position to complete the zooming, during which the focusing lens group assembly 12 will also move backward at the same time. After the zoom lens group assembly 11 reaches the first target position, it will drive the focusing lens group assembly 12 to move forward until it reaches the second target position to complete the focusing, during which the zoom lens assembly 11 remains stationary.
[0158] In summary, the technical solution provided by this embodiment is that the camera module has only one driving device, and the one driving device can be used to drive the corresponding two mirror group components thereon to move, and realize the continuous focusing function. It can be seen that this solution can effectively reduce the structural complexity of the camera module, thereby reducing the volume and cost of the camera module compared to the traditional solution that requires two driving devices (two motors) to realize the continuous focusing function. The above-mentioned driving device includes a transmission member that can axially reciprocate back and forth, and the two mirror group components used to realize the focusing function are arranged on the transmission member. Specifically, the continuous focusing function of the camera module is realized by the following method: obtaining focusing demand information and current position information of the two mirror group components; according to the focusing demand information and the current position information of the two mirror group components, respectively determining corresponding driving modes for the two mirror group components from multiple driving modes, and the multiple driving modes are divided based on the critical time when the motion state of each of the two mirror group components relative to the transmission member changes; determining a driving signal according to the driving mode corresponding to each of the two mirror group components, so as to control the driving device to drive the two mirror group components to move according to the driving signal, and realize the continuous focusing function. The drive signal determination method provided by the present solution can enable the drive device to have a long drive stroke and high-precision drive control, thereby ensuring a more accurate continuous focusing (or continuous optical zoom) effect.
[0159] The camera module provided by the present application can be installed on the device body of the terminal device. Therefore, the present application also provides a terminal device in one embodiment, which can be but not limited to mobile phones, tablet computers, PDAs (Personal Digital Assistants), netbooks, desktop computers, virtual reality devices (AR / VR devices), car computers, wearable devices (such as smart bracelets), drones, security equipment and other electronic devices with camera functions.
[0160] Fig.12 The structure diagram of the terminal device provided in the embodiment of the present application is shown. Fig.12 The terminal device 100 includes: a device body (not shown in the figure) and a camera module 1011 provided in other embodiments of the present application, and the camera module is installed on the device body.
[0161] For detailed description of the camera module 1011, please refer to the relevant content of other embodiments above.
[0162] In addition to the above, the terminal device 100 may also include other components, such as a processor 1012, a display screen 1013, a memory 1014, a communication component 1015, a power component 1016, and an audio component 1017, etc. Fig.12 The following only schematically shows some components of the terminal device, which does not mean that the terminal device only includes Fig.12 Components shown.
[0163] The processor 1012 is coupled to the memory 1014 and is used to execute the computer program in the memory 1014 to perform the steps or functions in the camera module control method provided in other embodiments of the present application.
[0164] The memory 1014 is used to store computer programs and can be configured to store various other data to support operations on the terminal device. Examples of such data include instructions for any application or method used to operate on the terminal device. The memory 1014 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0165] The display screen 1013 may include an LCD (Liquid Crystal Display) display screen or an OLED (Organic Light-Emitting Diode) display screen for displaying the system or interface of each application of the terminal device. And the display screen 1013 may also include a touch panel (TP) and the like. If the display screen 1013 includes a touch panel, the display screen 1013 may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation.
[0166] The above-mentioned communication component 1015 is configured to facilitate wired or wireless communication between the device where the communication component is located and other devices. The device where the communication component is located can access a wireless network based on a communication standard, such as WiFi, 2G, 3G, 4G / LTE, 5G and other mobile communication networks, or a combination thereof. In an exemplary embodiment, the communication component receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0167] The power supply component 1016 provides power to various components of the device where the power supply component is located. The power supply component may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device where the power supply component is located.
[0168] The above-mentioned audio component 1017 can be configured to output and / or input audio signals. For example, the audio component includes a microphone (MIC), and when the device where the audio component is located is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in a memory or sent via a communication component. In some embodiments, the audio component also includes a speaker for outputting an audio signal.
[0169] Accordingly, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed, each step in the above method embodiment can be implemented.
[0170] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media that include computer-usable program code. Computer-usable storage media include, but are not limited to, disk storage, CD-ROM, optical storage, etc.
[0171] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0172] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.
[0173] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0174] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0175] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0176] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0177] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0178] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A camera module control method, characterized in that: The camera module has a driving device and a plurality of lens group components, the driving device includes a transmission member capable of axially reciprocating forward and backward, and two lens group components for realizing the focusing function among the plurality of lens group components are movably arranged on the transmission member; the method comprises: Acquiring focusing requirement information and current position information of the two mirror group components; According to the focusing requirement information and the current position information, corresponding driving modes are determined for the two mirror group components from a plurality of driving modes; wherein the plurality of driving modes are divided based on the critical time at which the motion states of the two mirror group components relative to the transmission member change; Determining a driving signal according to the driving modes corresponding to the two mirror group components; According to the driving signal, the driving device is controlled to drive the two mirror group components to move, so as to realize the continuous focusing function of the camera module.
2. The method according to claim 1, characterized in that Also includes: Acquire the weight of the target mirror group component and parameter information of the transmission member related to the target mirror group component; Calculating the critical time corresponding to the target mirror group component according to the weight and the parameter information; Wherein, the target mirror group assembly is any one of the two mirror group assemblies; the parameter information includes: the pre-tightening force of the target mirror group assembly on the transmission member, the dynamic friction coefficient of the transmission member, and the displacement of the transmission member in the forward and backward reciprocating motion.
3. The method according to claim 1, characterized in that Also includes: Determine a plane rectangular coordinate system with the first time length required for the transmission member to move forward as the X-axis and the second time length required for the transmission member to move backward as the Y-axis; Dividing the plane rectangular coordinate system according to the critical times corresponding to the two mirror group components and the angle bisector of the plane rectangular coordinate system to obtain a division result; Based on the division result, a plurality of driving modes are determined.
4. The method according to any one of claims 1 to 3, characterized in that The two lens group components include a zoom lens group component and a focus lens group component, and the critical time corresponding to the zoom lens group component is shorter than the critical time corresponding to the focus lens group component; Each of the plurality of driving modes comprises the following parameters: When the transmission member moves forward, the required first time duration value range and the motion states of the two mirror group components relative to the transmission member; When the transmission member moves backward, the required second time length value range and the motion states of the two mirror group components relative to the transmission member; One back-and-forth reciprocating motion of the transmission member can generate displacement information for each of the two mirror group components.
5. The method according to claim 4, characterized in that According to the focusing requirement information and the current position information, corresponding driving modes are determined for the two mirror group components from a plurality of driving modes, including: According to the focusing demand information and the current position information, determining a first target motion state and first target displacement information that the zoom lens group component needs to correspond to when implementing a zoom function, and a second target motion state and second target displacement information that the zoom lens group component and the focusing lens group component need to correspond to when implementing a focus function; Determine, from the plurality of driving modes, at least one first candidate driving mode that matches the first target motion state and the first target displacement information, and determine at least one second candidate driving mode that matches the second target motion state and the second target displacement information, according to the parameters respectively included in the plurality of driving modes; One of the at least one first candidate driving modes is selected to be determined as the driving mode of the zoom lens group assembly, and one of the at least one second candidate driving modes is selected to be determined as the driving mode of the focusing lens group assembly.
6. The method according to claim 5, characterized in that Selecting one of the at least one first candidate driving modes to determine as the driving mode corresponding to the zoom lens group assembly includes: According to the parameters included in each first candidate driving mode, a first candidate driving mode that can shorten the time required to complete the driving of the zoom lens group assembly is selected and determined as the driving mode corresponding to the zoom lens group assembly; And, selecting one of the at least one second candidate driving modes to be determined as the driving mode corresponding to the focusing lens group component comprises: According to the parameters included in each second candidate driving mode, a second candidate driving mode that can shorten the time required to complete the driving of the focusing lens group component is selected and determined as the driving mode corresponding to the focusing lens group component.
7. The method according to claim 4, characterized in that Determining a driving signal according to the driving modes corresponding to the two mirror group components, including: Determine a first rising edge duration and a first falling edge duration of a single-cycle driving signal for the zoom lens group component according to a first duration value range and a second duration value range included in the driving mode of the zoom lens group component; Determine a second rising edge duration and a second falling edge duration corresponding to a single-cycle driving signal for the focusing lens group component according to a first duration value range and a second duration value range included in a driving mode of the focusing lens group component; Determine a first number of cycles of a driving signal required for the zoom lens group component and a second number of cycles of a driving signal required for the focus lens group component; According to the first rising edge duration and the first falling edge duration, a first continuous cycle number of signals in the preset signal are adjusted, and then according to the second rising edge duration and the second falling edge duration, a second continuous cycle number of signals in the preset signal are adjusted to obtain the driving signal.
8. The method according to claim 7, characterized in that Determining a first number of cycles of a driving signal required for the zoom lens group component and a second number of cycles of a driving signal required for the focus lens component comprises: Determining, according to the focusing requirement information, a first target position to which the zoom lens group assembly needs to be adjusted and a second target position to which the focusing lens group assembly needs to be adjusted; Determining a first displacement amount that the zoom lens group can generate within a single cycle driving signal according to the displacement information included in the driving mode of the zoom lens group assembly; determining the first number of cycles based on the first displacement amount and a first position difference between a current position of the zoom lens group assembly and a first target position; Determining a second displacement amount that the focusing lens group can generate within a single cycle driving signal according to the displacement information included in the driving mode of the focusing lens group assembly; The second cycle number is determined according to the second displacement amount and a second position difference between the second target position and the position of the focusing lens group assembly when the zoom lens group assembly reaches the first target position.
9. A camera module, characterized in that: include: A driving device, including a transmission member capable of axially reciprocating forward and backward motion; A plurality of lens group components, including two lens group components for realizing a focusing function, wherein the two lens group components are movably arranged on the transmission member; A control device for implementing the steps in the camera module control method as described in any one of claims 1 to 8.
10. The camera module according to claim 9, characterized in that: The driving device further comprises: a driving part fixedly connected to one end of the transmission member and configured to generate reciprocating bending deformation under the action of a driving signal to drive the transmission member to perform a forward and backward reciprocating motion.
11. The camera module according to claim 10, characterized in that: The driving device is a piezoelectric driving device; and, The driving part includes at least one layer of piezoelectric vibrator; the piezoelectric vibrator undergoes reciprocating bending deformation under the action of a driving signal.
12. The camera module according to any one of claims 9 to 11, characterized in that: Also includes: The limiting device is arranged between the two mirror group components.
13. A terminal device, characterized in that: include: An equipment body and a camera module as described in any one of claims 9 to 12, wherein the camera module is mounted on the equipment body.
Citation Information
Cited By
Camera module control method, camera module, and terminal device
EP4746434A1