Camera module, chip, electronic equipment and control method of camera module

By using the locking motor to lock the lens assembly in the camera module, the problem of lens tremor in motion scenes is solved, the shooting effect is improved and the design and maintenance process is simplified.

CN119233055AActive Publication Date: 2024-12-31HUAWEI TECH CO LTD

Patent Information

Application Number
CN202310801481.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-30
Publication Date
2024-12-31
Estimated Expiration
2043-06-30

AI Technical Summary

Technical Problem

In motion or vibration scenarios, cameras with autofocus function are prone to lens tremors, affecting the shooting effect.

Method used

A camera module is designed that includes a substrate, a locking motor and an autofocus motor to lock the lens assembly after autofocus through the locking assembly, ensuring that the lens assembly is fixed when needed, thereby avoiding tremor.

Benefits of technology

It effectively improves the shooting effect in sports scenes, reduces lens tremor, improves the design diversity of the autofocus motor and locking motor, and simplifies modular production and maintenance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119233055A_ABST
    Figure CN119233055A_ABST
Patent Text Reader

Abstract

The invention relates to a camera module, a chip, an electronic device and a control method of the camera module, the camera module comprises a substrate, a locking motor, an automatic focusing motor and a lens assembly, the locking motor is located between the substrate and the automatic focusing motor, and the automatic focusing motor surrounds and is connected with the lens assembly; the locking motor comprises a locking assembly and a driving assembly, and the driving assembly is used for driving the locking assembly to be in a locking state after the camera module completes automatic focusing; the driving assembly is further used for driving the locking assembly to be in an unlocking state before the camera module starts automatic focusing; wherein in the locking state, the locking assembly is used for locking the lens assembly, so that the lens assembly is fixed relative to the position of the substrate; and in the unlocking state, the locking assembly and the lens assembly are unlocked, so that the camera module can be automatically focused. The camera module provided by the invention can solve the problems of repeated focusing and tremor in a motion state.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of lens driving devices, and in particular to a camera module, a chip, an electronic device, and a control method for a camera module. Background Art

[0002] With the popularity of smart phones, the camera function of mobile phones has greatly increased the frequency of taking photos and videos in people's daily lives, and the autofocus function (AF-auto focus) has become a basic function of most mobile phone cameras on the market; however, cameras with autofocus function will experience lens shake in special scenes such as motion or vibration, which directly affects the experience of taking photos and videos, resulting in poor shooting effects.

[0003] How to design a camera module that can avoid lens shake in scenes such as motion or vibration and improve the shooting effect of the camera module is a direction of continuous research in the industry. Summary of the invention

[0004] The embodiments of the present application provide a camera module, a chip, an electronic device, and a control method of the camera module, in order to solve the problem of lens tremor in scenes such as motion or vibration.

[0005] In a first aspect, an embodiment of the present application provides a camera module, comprising a substrate, a locking motor, an autofocus motor and a lens assembly, wherein the autofocus motor surrounds and is connected to the lens assembly, and along the optical axis direction of the camera module, the locking motor is located between the substrate and the autofocus motor; the locking motor comprises a locking assembly and a driving assembly, wherein the driving assembly is used to drive the locking assembly to a locked state after the camera module completes autofocus; the driving assembly is also used to drive the locking assembly to an unlocked state before the camera module starts autofocus; wherein, in the locked state, the locking assembly locks the lens assembly so that the position of the lens assembly is fixed relative to the substrate, and in the unlocked state, the locking assembly is unlocked from the lens assembly so that the camera module can automatically focus.

[0006] In the present embodiment, on the one hand, based on the driving component for driving the locking component to switch positions between a locked state and an unlocked state, in the locked state, the locking component and the lens component are locked, and in the unlocked state, the locking component and the lens component are unlocked, so that the lens component can be locked by the locking component when autofocus is not required, and when autofocus is required, the locking component and the lens component are unlocked, and then the lens component is focused by the autofocus motor. Therefore, the camera module in the present embodiment can fix the position of the lens component in specific scenarios. For example, in a sports scenario, the position of the lens component can be fixed by the locking component to avoid vibration, thereby effectively improving the shooting effect of the camera module during movement.

[0007] On the other hand, under the premise that the camera module in this embodiment can solve the vibration problem, the positional relationship between the autofocus motor and the locking motor is decoupled, and the shape design of the autofocus motor and the locking motor will not be affected by each other, which is conducive to improving the design and shape diversity of the autofocus motor and the locking motor. For example, different types of autofocus motors can be used to match different types of locking motors. Moreover, since the positional relationship between the autofocus motor and the locking motor is decoupled, it is conducive to modular production, replacement and maintenance, and improves convenience. On the other hand, under the premise that the camera module can solve the vibration problem and the autofocus motor and the locking motor can be decoupled from each other, based on the locking motor being located between the substrate and the autofocus motor, the movable space between the lens assembly and the substrate can be effectively utilized, thereby having little impact on the overall size of the camera module.

[0008] In some embodiments, the lens assembly includes a first part and a second part interconnected as one, the autofocus motor surrounds and connects the first part, in a first direction, the second part is opposite to the locking assembly, and the locking assembly is used to lock or unlock with the second part, and the first direction is perpendicular to the optical axis direction of the camera module. In this embodiment, by defining the first part and the second part of the lens assembly, the second part here refers to the part that cooperates with the locking assembly, and the second part will be different when locked in different positions. In the direction perpendicular to the optical axis of the camera module, the second part is opposite to the locking assembly, and the locking assembly is used to lock or unlock with the second part. The locking assembly in this embodiment is used to lock or unlock with the second part that is not surrounded by the autofocus motor, which facilitates the fixed connection between the locking assembly and the second part. The locking motor and the autofocus motor correspond to different parts of the lens assembly in the optical axis direction, so that the two can be decoupled, effectively reducing the difficulty of the structural design of the locking motor, improving the structural rationality of the lens assembly, and also improving the diversity of the structural design of the locking motor.

[0009] In some embodiments, the second part is a sleeve-shaped structure, and the second part includes an outer side wall, a bottom wall and an inner side wall, the bottom wall faces the substrate, and the outer side wall faces the locking assembly, and the locking assembly is used to abut the outer side wall after the camera module completes focusing at any position. In this embodiment, a specific locking structure is provided, and the outer side wall of the locking assembly and the second part is abutted to achieve locking by limiting the specific structure of the second part. Since the locking assembly can abut different positions of the outer side wall, the locking assembly can be locked or unlocked with the lens assembly when the lens assembly is located at any stroke point in the focusing stroke. In this embodiment, the locking assembly can abut at any position on the side wall of the second part, so that the locking assembly can be locked or unlocked with the lens assembly when the lens assembly is located at any stroke point in the focusing stroke, so that the lens assembly can be locked for any focusing position, so that the lens assembly can be locked at a focusing position with a good focusing effect, which can improve the user experience.

[0010] In some embodiments, when the lens assembly is located at any travel point in the focus stroke, in the first direction, the lens assembly is at least partially opposite to the locking assembly, and the portion of the lens assembly facing the locking assembly is the second portion, and the locking assembly is used to lock or unlock with the second portion. Since when the lens assembly is located at any travel point in the focus stroke, in the first direction, the lens assembly is at least partially opposite to the locking assembly, the second portion can be locked or unlocked by the locking assembly at any focus position, so that the lens assembly can be locked at a focus position with a good focus effect, which can improve the user experience.

[0011] In some embodiments, the autofocus motor is surrounded by a accommodating space, and the locking motor is surrounded by a receiving space. The accommodating space is connected to the receiving space in the optical axis direction of the camera module. The first part is located in the accommodating space, and the second part is located in the receiving space.

[0012] In this embodiment, based on the second part being located in the receiving space, in the locked state, the locking assembly is fixedly connected to the second part located in the receiving space, and the first part cooperates with the autofocus motor, thereby facilitating independent control and position decoupling of the locking motor and the autofocus motor over the camera module. In addition, since the locking motor surrounds the receiving space, the second part of the lens assembly is located in the receiving space, thereby being able to effectively protect the second part of the lens assembly, and also facilitating meeting the camera module's requirements for sealing performance.

[0013] In some embodiments, the locking assembly includes a base and a locking member movably disposed on the base, the base is fixedly connected between the substrate and the autofocus motor, and the driving assembly can drive the locking member to move relative to the base so that the locking member and the second part are locked or unlocked. In this embodiment, based on the base being fixedly connected between the substrate and the autofocus motor, the locking member cooperates with the second part to achieve unlocking or locking of the lens assembly, and the unlocking or locking of the lens assembly is achieved through the cooperation of the locking member and the base.

[0014] In some embodiments, there are two locking members, which are respectively a first locking member and a second locking member. One end of the first locking member and one end of the second locking member are rotatably connected to the base. The driving component can drive the first locking member and the second locking member to rotate toward each other to resist and clamp the second part so that the first locking member and the second locking member are locked with the second part. The driving component can also drive the first locking member and the second locking member to rotate away from each other so that the first locking member and the second locking member are unlocked from the second part.

[0015] In this embodiment, the first locking member is rotatably arranged on the base, and the second locking member is rotatably arranged on the base, and the driving assembly can drive the first locking member and the second locking member to rotate toward each other to resist and clamp the second part, thereby realizing the locking of the lens assembly, and the driving assembly can also drive the first locking member and the second locking member to rotate away from each other, thereby realizing the unlocking of the lens assembly. The first locking member and the second locking member are rotatably arranged on the base, so that the first locking member and the second locking member both make circular motion around their respective rotating shafts. Under the limiting effect of the respective rotating shafts of the first locking member and the second locking member, the motion path of the first locking member and the second locking member can be more accurate. For the camera module with high precision requirements, the first locking member and the second locking member are rotatably arranged on the base, which is conducive to improving the position accuracy when the locking assembly and the lens assembly are fixed, and then it is conducive to improving the overall design accuracy of the camera module. In addition, the first locking member and the second locking member are rotatably arranged on the base, which is also conducive to reducing the design difficulty and structural complexity of the driving assembly, and is conducive to reducing the overall size of the camera module.

[0016] In some embodiments, the driving assembly includes a first permanent magnet, a second permanent magnet, a first magnetic member, a second magnetic member and an electromagnet, the first permanent magnet is fixedly connected to the first locking member, the second permanent magnet is fixedly connected to the second locking member, the first magnetic member, the second magnetic member and the electromagnet are all fixed to the base, the electromagnet is located between the first permanent magnet and the second permanent magnet, the first permanent magnet is located between the first magnetic member and the electromagnet, the second permanent magnet is located between the second magnetic member and the electromagnet, and the electromagnet is used to drive the first locking member and the second locking member to rotate toward or away from each other. In some embodiments, when the electromagnet inputs current in a first current direction, the electromagnet can attract the first permanent magnet and the second permanent magnet to move toward the electromagnet to drive the first locking member and the second locking member to rotate toward each other. When the electromagnet inputs current in a second current direction opposite to the first current direction, the electromagnet can repel the first permanent magnet line and the second permanent magnet to move away from the electromagnet to drive the first locking member and the second locking member to rotate away from each other. In the locked state, the first permanent magnet and the second permanent magnet are both magnetically attracted to the electromagnet. In the unlocked state, the first permanent magnet is magnetically attracted to the first magnetic member, and the second permanent magnet is magnetically attracted to the second magnetic member.

[0017] In this embodiment, through the cooperation between the first permanent magnet, the second permanent magnet, the first magnetic part, the second magnetic part and the electromagnet, on the one hand, the design difficulty of the first permanent magnet, the second permanent magnet, the first magnetic part, the second magnetic part and the electromagnet is low, and the volume is convenient to be miniaturized, which is conducive to reducing the design difficulty of the locking motor and simplifying the size of the locking motor. On the other hand, the locking and unlocking functions of the lens assembly can be realized only by switching a set of current forwards and reverses, thereby improving the control convenience. In addition, in the locked state, even if the locking motor is powered off, the locking assembly can be kept in the locked state under the magnetic adsorption effect of the iron core of the electromagnet and the first permanent magnet and the second permanent magnet, thereby saving electric energy and reducing heat generation.

[0018] In some embodiments, the other end of the first locking member includes a first worm gear tooth portion, and the other end of the second locking member includes a second worm gear tooth portion. The driving assembly includes a power source, a rotating shaft, and a first worm gear tooth portion and a second worm gear tooth portion provided on the rotating shaft. The tooth directions of the first worm gear tooth portion and the second worm gear tooth portion are opposite. The first worm gear tooth portion is meshed with the first worm wheel gear portion, and the second worm gear tooth portion is meshed with the second worm wheel gear portion. The power source can drive the rotating shaft to rotate forward or reversely to drive the first locking member and the second locking member to rotate relative to or opposite to each other.

[0019] In this embodiment, based on the meshing of the first worm gear teeth with the first worm wheel gear teeth and the meshing of the second worm gear teeth with the second worm wheel gear teeth, the power source can drive the rotating shaft to rotate in the forward or reverse direction to drive the first locking member and the second locking member to rotate relative to or opposite to each other. When the first locking member and the second locking member rotate toward each other, the second part can be clamped to achieve locking of the lens assembly. When the first locking member and the second locking member rotate opposite to each other, the lens assembly can be unlocked. In this embodiment, through the worm gear, the first worm gear teeth can drive the first worm wheel gear teeth to rotate, and when the power source does not provide power, the first worm gear teeth and the first worm wheel gear teeth can achieve self-locking. The second worm gear teeth can drive the second worm wheel gear teeth to rotate, and when the power source does not provide power, the second worm gear teeth can achieve self-locking with the second worm wheel gear teeth. Therefore, even when no power is provided, the locking assembly can be kept in a locked state, thereby saving electric energy and reducing heat. In addition, since the first worm wheel tooth portion and the second worm tooth portion are both arranged on the rotating shaft, and the tooth directions of the first worm tooth portion and the second worm tooth portion are opposite, the driving of the first locking member and the second locking member can be achieved by one rotating shaft and one power source, thereby simplifying the structure of the drive component.

[0020] In some embodiments, the locking assembly includes a plurality of locking members, wherein the plurality of locking members are arranged around the second part, and the plurality of locking members are rotatably connected to the base. The driving assembly can drive the plurality of locking members to rotate toward a first rotation direction to abut against and clamp the second part so that the locking members are locked with the second part. The driving assembly can also drive the plurality of locking members to rotate toward a second rotation direction so that the locking members are unlocked from the second part, wherein the first rotation direction and the second rotation direction are opposite.

[0021] In this embodiment, based on the arrangement of multiple locking members surrounding the second part, the multiple locking members are rotatably connected to the base, which is not only conducive to improving the position accuracy when the locking assembly and the lens assembly are fixed, as in the two locking members in the above embodiment, but also conducive to improving the overall design accuracy of the camera module. In addition, since there are multiple locking members, the lens assembly can be clamped together at multiple points, which is conducive to maintaining the uniformity of the force of the lens assembly in all directions, and is conducive to improving the locking stability of the lens assembly and the position accuracy when locked.

[0022] In some embodiments, the drive assembly includes a turntable, a worm and a power source, the turntable and the base are rotatably connected, the turntable includes a worm gear tooth portion, the worm is meshed with the worm gear tooth portion, and multiple locking members are rotatably connected to the turntable. The rotating shaft of the locking member rotating relative to the base and the rotating shaft of the locking member rotating relative to the turntable are arranged at intervals, and the power source can drive the worm to rotate forward or reverse, so as to drive the turntable to rotate forward or reverse, so as to drive multiple locking members to rotate in the first rotation direction or the second rotation direction.

[0023] In this embodiment, the driving assembly in this embodiment also adopts a worm gear, and when the power source does not provide power, the locking state of the locking assembly can also be maintained, thereby saving energy and reducing heat. In addition, since a turntable is connected to multiple locking members at the same time, the rotation synchronization of the multiple locking members can be ensured, which is conducive to improving the position accuracy of the locking member and the lens assembly in the locked state.

[0024] In some embodiments, the number of the locking members is two, and the two locking members are respectively a first locking member and a second locking member, and the first locking member and the second locking member are both slidably connected to the base along a preset direction, and the driving component can drive the first locking member and the second locking member to slide toward each other along the preset direction to resist and clamp the second part so that the first locking member and the second lock are locked with the second part, and the driving component can also drive the first locking member and the second locking member to slide away from each other along the preset direction so that the first locking member and the second lock are unlocked from the second part.

[0025] In this embodiment, the first locking member and the second locking member are slidably arranged on the base along a preset direction, and the locking and unlocking of the lens assembly are achieved through the cooperation of the first locking member and the second locking member.

[0026] In some embodiments, the drive assembly includes a rotating shaft, a power source, and a first threaded portion and a second threaded portion arranged on the rotating shaft, the axial direction of the rotating shaft is the same as the preset direction, the first locking member is engaged with the first threaded portion, and the second locking member is engaged with the second threaded portion, and the power source can drive the rotating shaft to rotate forward or reverse to drive the first locking member and the second locking member to slide relative to or away from each other.

[0027] In this embodiment, through the cooperation between the first threaded portion and the second threaded portion on the rotating shaft and the first locking member and the second locking member, the first locking member and the second locking member can be driven to slide simultaneously through one rotating shaft, thereby reducing the complexity of the structure and ensuring the synchronization of the sliding of the first locking member and the second locking member, which is beneficial to improving the position accuracy of the locking member and the lens assembly in the locked state.

[0028] In some embodiments, the camera module also includes an image processing module, the locking motor surrounds a receiving space, the image processing module is disposed in the receiving space, and the image processing module is disposed on the substrate and located between the substrate and the lens assembly.

[0029] In this embodiment, the image processing module is disposed in the receiving space, thereby utilizing the receiving space to help reduce the overall size of the camera module.

[0030] In a second aspect, the present application provides a camera module, comprising a lens assembly, a locking motor and an autofocus motor. The locking motor and the autofocus motor are stacked along the optical axis direction of the camera module. The locking motor and the autofocus motor are two independent lens assembly drive modules. The autofocus motor surrounds and is connected to the lens assembly. The autofocus motor is used to drive the lens assembly along the optical axis direction to achieve focusing. When the lens assembly is at any stroke point in the focusing stroke, the locking motor can lock or unlock with the lens assembly.

[0031] In this embodiment, the upper and lower positional relationship between the locking motor and the autofocus motor is not limited. The camera module in this embodiment can realize the position fixation of the lens assembly in specific scenarios. For example, in a motion scene, the position of the lens assembly can be fixed by the locking motor to avoid the occurrence of vibration, thereby effectively improving the shooting effect of the camera module during motion. Since the locking motor and the autofocus motor are two independent lens assembly drive modules, the autofocus motor and the locking motor are in a positional relationship decoupling state, and the morphological design of the autofocus motor and the locking motor will not be affected by each other, which is conducive to improving the design morphological diversity of the autofocus motor and the locking motor. For example, different types of autofocus motors can be used to match different types of locking motors. Moreover, since the autofocus motor and the locking motor are in a positional relationship decoupling state, it is conducive to modular production, replacement and maintenance, and improves convenience. In addition, since the locking motor can lock or unlock the lens assembly when the lens assembly in this embodiment is located at any stroke point in the focusing stroke, the lens assembly can be locked for any focusing position, so that the lens assembly can be locked at a focusing position with a good focusing effect, which can improve the user experience.

[0032] In a third aspect, the present application provides an electronic device, comprising a processor and a camera module as described in any embodiment of the first aspect and the second aspect above, wherein the processor is electrically connected to the camera module.

[0033] In a fourth aspect, the present application provides a method for controlling a camera module, which is applied to the electronic device in the third aspect, and the method for controlling the camera module includes:

[0034] Start the photo or video mode;

[0035] Detecting whether the electronic device enters a sports mode;

[0036] After determining that the electronic device is in the motion mode, the autofocus motor starts and drives the lens assembly to move to achieve autofocus;

[0037] When the automatic focusing is completed, the locking motor starts and locks the lens assembly;

[0038] Take a photo or video.

[0039] In this embodiment, through the control method of the camera module in this embodiment, the locking motor can be used to fix the lens assembly in the motion mode scene, thereby avoiding repeated focusing and shaking in the motion scene and improving the shooting effect.

[0040] In some embodiments, detecting whether the electronic device enters a sports mode includes:

[0041] Detecting whether the electronic device is in motion, and when the electronic device is in motion, the electronic device enters the motion mode, wherein the motion refers to whether the moving speed exceeds a preset value or the acceleration exceeds a preset value; or

[0042] It is detected whether the electronic device receives a signal for entering a sports mode input from a user interface. When the electronic device receives the signal for entering a sports mode input from a user interface, the electronic device enters the sports mode.

[0043] In this embodiment, whether the electronic device enters the sports mode can be determined by automatically detecting whether it is in motion, or it can be manually entered into the sports mode by manually inputting a sports mode signal, thereby meeting the dual control requirements of manual and automatic control and improving the user experience.

[0044] In a fifth aspect, the present application provides a method for controlling a camera module, which is applied to an electronic device, and the method for controlling the camera module includes:

[0045] Start the photo or video mode;

[0046] Reading focus data within a preset time period, wherein the focus data includes a focus position and a duration;

[0047] Acquire a target focus position from the focus data, wherein the target focus position is a position where a duration corresponding to a focus position of a lens assembly of the electronic device exceeds a preset duration;

[0048] The lens assembly of the electronic device completes focusing at the target focusing position;

[0049] locking the lens assembly at the target focus position;

[0050] Take a photo or video.

[0051] In this embodiment, through the control method of the camera module in this embodiment, when the lens assembly obtains the target focus position, the lens assembly is locked at the target focus position, so that the lens assembly can be maintained at the desired focus position for shooting without repeated focusing, which not only improves intelligence and facilitates user use, but also reduces power consumption caused by repeated focusing. In addition, there is no need to input current to the autofocus motor to maintain the focus position, thereby saving power consumption of the autofocus motor.

[0052] In a sixth aspect, the present application provides a method for controlling a camera module, which is applied to the electronic device in the third aspect, and the method for controlling the camera module includes:

[0053] Receive a command to exit the photo or video mode;

[0054] Read the target focus position within a preset time period;

[0055] The lens assembly of the electronic device moves to the target focusing position;

[0056] locking a lens assembly of the electronic device at the target focus position;

[0057] Exit the photo or video recording mode.

[0058] In this embodiment, after each use of the photo or video mode of the electronic device, the lens assembly of the electronic device will automatically lock at the target focus position (such as the focus position that the user is accustomed to), so that after the subsequent use of the photo or video mode of the electronic device, you can directly take photos or videos at the target focus position. For example, in some application scenarios where snapshots are required, since the lens assembly will automatically lock at the target focus position after the photo or video mode of the electronic device was used last time, when taking photos or videos again, the user can directly perform the photo or video function at the target focus position that the user is accustomed to. Compared with the mode of automatically focusing first and then taking photos when taking snapshots, the snapshot reaction time is long and it is easy to be out of focus. The camera module in this embodiment does not need the step of automatic focusing when taking snapshots, and the shooting speed is faster and the shooting effect is better.

[0059] In some embodiments, the control method further includes taking a preset number of photos at the target focus position in response to a photo taking instruction or taking a video at the target focus position in response to a video taking instruction.

[0060] In some embodiments, after taking a preset number of photos at the target focus position or taking a video at the target focus position, the control method of the camera module further includes:

[0061] Unlock the lens assembly.

[0062] In this embodiment, after the previous round of snapshots is completed, the autofocus function can be turned on when the next round of photo shooting is performed. Based on the previous round of snapshots, the autofocus motor has a longer autofocus response time, which is conducive to improving the focusing effect. In addition, through the focusing of the autofocus motor, photos or videos with different effects from when the lens assembly is shot at the target focus position accustomed to the user can be obtained, thereby increasing the shooting diversity of photos or videos.

[0063] In the seventh aspect, the present application provides a chip including a processor and a memory, wherein the processor is coupled to the memory, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the chip executes the control method of the camera module as described in any of the above embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0064] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0065] Figure 1 is a front structural schematic diagram of an electronic device provided by the present application;

[0066] Figure 2 yes Figure 1 A schematic diagram of the back structure of an electronic device;

[0067] Figure 3 A schematic structural diagram of a camera module provided in an embodiment of the present application;

[0068] Figure 4 for Figure 3 An exploded schematic diagram of the camera module in FIG.

[0069] Figure 5 for Figure 3 Schematic diagram of the exploded structure of the autofocus motor in the camera module;

[0070] Figure 6 for Figure 3Schematic diagram of the overall structure of the locking motor in the camera module;

[0071] Figure 7 for Figure 6 An exploded schematic diagram of the locking motor in FIG.

[0072] Figure 8 for Figure 6 A schematic structural diagram of a base of a locking motor;

[0073] Fig. 9 for Figure 6 A schematic structural diagram of a locking member of a locking motor;

[0074] Fig.10 for Figure 3 A schematic diagram of the structure of the locking motor and the lens assembly being assembled, wherein the locking assembly is in a locked state;

[0075] Fig.11 for Figure 3 A schematic diagram of the structure of the locking motor and the lens assembly in which the locking assembly is in an unlocked state;

[0076] Fig.12 for Figure 3 A cross-sectional view of a camera module in FIG.

[0077] Fig.13 A partial structural diagram of another camera module provided in an embodiment of the present application;

[0078] Fig.14 for Fig.13 Schematic diagram of the decomposition of

[0079] Fig.15 A partial structural diagram of another camera module provided in an embodiment of the present application;

[0080] Fig.16 A partial structural diagram of another camera module provided in an embodiment of the present application;

[0081] Fig.17 for Fig.16 Schematic diagram of the decomposition of

[0082] Fig.18 for Fig.16 A schematic diagram of the assembly structure of the locking member and the base;

[0083] Fig.19 for Fig.16 Schematic diagram of the assembly structure of the locking member and the turntable;

[0084] Fig. 20 A flowchart of a possible camera module control method provided in this application;

[0085] Fig.21 A flowchart of another possible camera module control method provided in this application;

[0086] Fig. 22 A flowchart of another possible camera module control method provided in the present application. DETAILED DESCRIPTION

[0087] The following first explains some terms involved in the embodiments of the present application.

[0088] The terms "first", "second", "third", "fourth", etc. in the specification and claims of the embodiments of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein, for example. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0089] Vertical. The vertical defined in this application is not limited to an absolute vertical intersection relationship (angle of 90 degrees). It allows for a relationship that is not absolutely vertical due to factors such as assembly tolerance, design tolerance, and influence of structural flatness. It also allows for errors in a small angle range. For example, an assembly error range of 80 to 100 degrees can be understood as a vertical relationship.

[0090] Parallelism. The parallelism defined in this application is not limited to absolute parallelism. This definition of parallelism can be understood as basic parallelism, which allows for situations where the absolute parallelism is not caused by factors such as assembly tolerance, design tolerance, and the influence of structural flatness. These situations will lead to the sliding fitting part and the first door panel not being absolutely parallel, but this application also defines this situation as parallelism.

[0091] The optical axis is the direction in which the optical system transmits light, referring to the principal ray of the central field of view. For symmetrical transmission systems, it generally coincides with the centerline of rotation of the optical system.

[0092] Auto Focus (AF) uses the principle of light reflection from the object. The light reflected from the object is imaged and received on the image sensor after passing through the lens. Through computer processing, it drives the electric focus device to focus.

[0093] The electronic devices involved in the embodiments of the present application may include handheld devices, vehicle-mounted devices, wearable devices, computing devices, etc. For example, the electronic devices may specifically include cellular phones, smartphones, personal digital assistants (PDA), tablet computers, laptops, laptop computers, cameras, video recorders, cameras, smart watches, unmanned aerial vehicles, smart wristbands, vehicle-mounted computers, wireless headphones, glasses and helmets, and other electronic devices with imaging functions. The embodiments of the present application do not impose any special restrictions on the specific forms of the above-mentioned electronic devices. For ease of understanding, the following is an explanation using the electronic device as a mobile phone as an example.

[0094] Figure 1 is a front structural schematic diagram of an electronic device provided by the present application; Figure 2 yes Figure 1 Schematic diagram of the back structure of an electronic device.

[0095] See also Figure 1 and Figure 2 The electronic device 100 may include a housing 101, a display panel (DP) 102, and a camera module (CCM) 103.

[0096] The housing 101 is formed with a storage space for arranging various components of the electronic device 100, and the housing 101 can also protect the electronic device 100. The camera module 103 is arranged in the storage space formed by the housing 101 and the display screen 102. In some embodiments, the housing 101 includes a back cover and a middle frame, and the display screen 102 and the camera module 103 can be fixed on the middle frame. The material of the housing 101 can be metal, plastic, ceramic or glass.

[0097] The display screen 102 can be a liquid crystal display (LCD) screen, an organic light emitting diode (OLED) display screen, etc., wherein the OLED display screen can be a flexible display screen or a hard display screen. The display screen 102 can be an ordinary regular screen, or a special-shaped screen, a folding screen, etc. For example, the display screen 102 can be relatively freely rotated and folded to form an arc, a sphere, a cylinder, etc. The display screen 102 can be arranged on the front of the electronic device 100, or on the back of the electronic device 100, or on both the front and back of the electronic device 100. The front of the electronic device 100 can be understood as the side facing the user when the user uses the electronic device 100, and the back of the electronic device 100 can be understood as the side facing away from the user when the user uses the electronic device 100.

[0098] The camera module 103 is used to capture images or videos. When the camera module 103 is disposed on the front of the electronic device 100, it can be used to shoot the scene on the front side of the electronic device 100, and in some embodiments, it can be referred to as a front camera; when the camera module 103 is disposed on the back of the electronic device 100, it can be used to shoot the scene on the back side of the electronic device 100, and in some embodiments, it can be referred to as a rear camera. When shooting, the user can select the corresponding camera module according to the shooting requirements. The camera module 103 can be used to shoot scenes at different distances, such as far, near or macro, which is not particularly limited in the embodiments of the present application.

[0099] It should be understood that Figure 1The installation position of the camera module 103 is only schematic. When the camera module 103 is used as a front camera, it can be installed at any position on the front of the electronic device 100, such as the left side of the receiver, the middle of the upper part of the electronic device 100, the lower part of the electronic device 100 (or the chin), or the four corners of the electronic device 100. When the camera module 103 is used as a rear camera, it can be installed at any position on the back of the electronic device 100, such as the upper left corner or the upper right corner. In some other embodiments, the camera module 103 can also be set not on the main body of the electronic device 100, but on the edge protruding relative to the main body of the electronic device 100, or on a component that can be moved or rotated relative to the electronic device 100, and the component can be retracted or rotated from the main body of the electronic device 100. When the camera module 103 can rotate relative to the electronic device 100, the camera module 103 is equivalent to the front camera and the rear camera, that is, by rotating the same camera module 103, it can not only shoot the scene on the front side of the electronic device 100, but also shoot the scene on the back side of the electronic device 100. In other embodiments, when the display screen 102 is foldable, the camera module 103 can be used as a front camera or a rear camera as the display screen 102 is folded.

[0100] The embodiment of the present application does not limit the number of camera modules 103, which can be one, two, three, four or even more. For example, one or more camera modules 103 can be set on the front of the electronic device 100, and / or one or more camera modules 103 can be set on the back of the electronic device 100. When multiple camera modules 103 are set, the multiple camera modules 103 can be completely the same or different, for example, the multiple camera modules 103 have different lens optical parameters, different lens setting positions, different lens shapes, etc. The embodiment of the present application does not limit the relative positions of the multiple camera modules when they are set.

[0101] Optionally, the electronic device 100 may further include a protective lens 104 for protecting the camera module 103. The protective lens 104 is disposed on the housing 101 and covers the camera module 103. When the protective lens 104 is used to protect the front camera, the protective lens 104 may only cover the front camera module or cover the entire front of the electronic device 100, wherein when the protective lens 104 covers the entire front of the electronic device 100, it can be used to protect the front camera module and the display screen 102 at the same time, and the protective lens 104 is a cover glass (Cover Glass, CG). When the protective lens 104 is used to protect the rear camera, the protective lens 104 may cover the entire back of the electronic device 100, or may only be disposed at a position corresponding to the rear camera module. The material of the protective lens 104 may be glass, sapphire, ceramic, etc., and the embodiments of the present application are not particularly limited. In some embodiments, the protective lens 104 is transparent, and light outside the electronic device 100 can enter the camera module 103 through the protective lens 104.

[0102] It should be understood that Figure 1 and Figure 2 The structure illustrated in the figure does not constitute a specific limitation on the electronic device 100. The electronic device 100 may include more or fewer components than those shown in the figure. For example, the electronic device 100 may also include one or more components such as a battery, a flash, a fingerprint recognition module, an earpiece, buttons, sensors, etc. The electronic device 100 may also be provided with a component arrangement different from that shown in the figure.

[0103] Figure 3 A schematic structural diagram of a camera module 103 provided in an embodiment of the present application; Figure 4 for Figure 3 Schematic diagram of the exploded view of the camera module 103.

[0104] For the convenience of description, the optical axis direction of the camera module 103 is defined as the Z direction, the side of the optical axis direction Z in the direction of the object to be photographed is the front side, and the side opposite to the object to be photographed is the rear side. The first direction is perpendicular to the optical axis direction Z, the first direction is the X direction, the second direction perpendicular to the optical axis direction Z and the first direction X is the Y direction, the direction close to the optical axis in the X and Y directions is the inner side, and the direction opposite to the optical axis is the outer side. The definitions of the X, Y, Z directions and the front, rear, inner, and outer sides are also applicable to the drawings to be described later.

[0105] It should be noted that the above-mentioned definitions of the X, Y, Z directions and the front, back, inside and outside are only for the convenience of describing the positional relationship and connection relationship between the various components in the embodiments of the present application and should not be understood as a limitation on the embodiments of the present application.

[0106] See also Figure 3 and Figure 4The camera module 103 may include a substrate 10 , an autofocus motor 20 , a locking motor 30 and a lens assembly 40 .

[0107] The substrate 10 can be a printed circuit board (PCB), and the substrate 10 can be connected to a flexible printed circuit (FPC). The end of the flexible printed circuit can be connected to a board-to-board (BTB) connector to be snapped onto the main board inside the electronic device 100.

[0108] The autofocus motor 20 is used to drive the lens assembly 40 to move to change the focus position, thereby achieving autofocus. Specifically, the autofocus motor 20 is used to drive the lens assembly 40 to move forward and backward along the optical axis direction Z to achieve the autofocus function. In some embodiments, the focus motor can be a voice coil motor (VCM), a shape memory alloy motor, a piezo motor, a stepper motor, etc.

[0109] The locking motor 30 is used to lock or unlock the lens assembly 40, wherein when the lens assembly 40 is locked, the lens assembly 40 is restricted from moving in the optical axis direction Z, and the autofocus motor 20 can no longer drive the lens assembly 40 to move. When the lens assembly 40 is unlocked, the autofocus motor 20 can drive the lens assembly 40 to move along the optical axis direction Z. Through the locking motor 30, the camera module 103 in this embodiment can achieve the position fixation of the lens assembly 40 in specific scenarios. For example, in a sports scenario, the position of the lens assembly 40 can be fixed by the locking motor 30, which can avoid the occurrence of vibration, thereby effectively improving the shooting effect of the camera module 103 during sports.

[0110] The lens assembly 40 is used to collect the light signal reflected by the object. In some embodiments, the lens assembly 40 may include a lens barrel and a lens group installed inside the lens barrel. In some embodiments, the number of lenses in the lens group may be 5 to 10, such as 7, 8, etc. In some embodiments, the material of the lens may be a solid lens or a liquid lens.

[0111] In some embodiments, Figure 3, the autofocus motor 20 surrounds and connects the lens assembly 40, the locking motor 30 is located between the substrate 10 and the autofocus motor 20, and the locking motor 30 is arranged on the substrate 10. Under the premise that the camera module 103 in this embodiment can solve the vibration problem, on the one hand, the autofocus motor 20 and the locking motor 30 are in a positional relationship decoupling state, and the morphological designs of the autofocus motor 20 and the locking motor 30 will not be affected by each other, which is conducive to improving the design morphological diversity of the autofocus motor 20 and the locking motor 30, and is conducive to modular production and subsequent rapid assembly. After modularization, it is also conducive to replacement and maintenance, and improves convenience. On the other hand, because the lens assembly 40 in the camera module 103 needs to maintain a certain distance from the substrate 10 to facilitate the autofocus motor 20 to focus on the lens assembly 40, usually a support needs to be set at this position to form a space for the lens assembly 40 to focus. In this embodiment, under the premise that the camera module 103 can solve the vibration problem and the autofocus motor 20 and the locking motor 30 can be decoupled from each other, based on the locking motor 30 being located between the substrate 10 and the autofocus motor 20, the space between the lens assembly 40 and the substrate 10 for setting the support is effectively utilized, so that the addition of the locking motor 30 has little effect on the overall size of the camera module 103.

[0112] In some embodiments, such as Figure 4 The camera module 103 may further include an image processing module 50, which is used to process the light signal reflected by the subject captured by the lens assembly 40. In some embodiments, the image processing module 50 is disposed between the lens assembly 40 and the substrate 10. In some embodiments, the image processing module 50 is accommodated in the area surrounded by the locking motor 30, thereby making full use of the effectively usable space to reduce the overall size of the camera module 103.

[0113] In some implementations, the image processing module 50 includes an image sensor, a filter, and a driver chip.

[0114] Image sensors are also called photosensitive elements. Image sensors use the photoelectric conversion function of photoelectric devices to convert the light image on the photosensitive surface into an electrical signal that is proportional to the light image. In some embodiments, the image sensor can be a charge-coupled device (CCD) or a complementary metal oxide semiconductor device (complementary metal oxide semiconductor).

[0115] In some embodiments, the filter is disposed opposite to the image sensor, and in some embodiments, the filter may be blue glass (BG) for filtering infrared rays. Of course, in other embodiments, the filter may also be an IRCUT double filter or other types of filters.

[0116] In some implementations, the driving chip is used to receive a driving signal from the processor and convert the driving signal into a current for driving the auto-focus motor 20 and the locking motor 30 to drive the auto-focus motor 20 and the locking motor 30 to operate.

[0117] Figure 5 for Figure 3 Schematic diagram of the exploded structure of the autofocus motor 20 in the camera module 103.

[0118] See also Figure 4 and Figure 5 The autofocus motor 20 includes a fixed part 21 and a movable part 22. The movable part 22 is located inside the fixed part 21. The lens assembly 40 is connected to the movable part 22. The movable part 22 can move along the optical axis direction Z relative to the fixed part 21, and then the movable part 22 can drive the lens assembly 40 to move along the optical axis direction Z to achieve autofocus.

[0119] In some embodiments, a first through hole 221 extending parallel to the optical axis direction Z is disposed in the middle of the movable portion 22 , and the first through hole 221 is used to install the lens assembly 40 .

[0120] The fixing portion 21 includes a housing 211 and a magnetic circuit assembly, and the magnetic circuit assembly is disposed on the housing 211 .

[0121] In some embodiments, the housing 211 surrounds a receiving space 2111, and the movable part 22 and the magnetic circuit assembly are installed in the receiving space 2111. In some embodiments, the receiving space 2111 penetrates the housing 211 along the optical axis direction Z to facilitate the assembly of the lens assembly 40.

[0122] The focus motor further includes a reed assembly 23, which is respectively connected to the movable part 22 and the fixed part 21, and can provide elastic force. For example, the reed assembly 23 is used to stabilize the movable part 22 at a preset position when the camera module 103 is not powered on, for example, the movable part 22 is close to or stabilized at the bottom position under the action of the elastic force.

[0123] In some embodiments, Figure 5The leaf spring assembly 23 includes an upper leaf spring 231 and a lower leaf spring 232 which are spaced apart along the optical axis direction Z. Specifically, the upper leaf spring 231 includes a first outer connecting portion 2311 connected to the fixed portion 21 and a first inner connecting portion 2312 connected to the movable portion 22, and the lower leaf spring 232 includes a second outer connecting portion 2321 connected to the fixed portion 21 and a second inner connecting portion 2322 connected to the movable portion 22. It can be understood that the first outer connecting portion 2311 and the second outer connecting portion 2321 can be connected to the housing 211 or to the magnetic circuit assembly.

[0124] It is understandable that in some other embodiments, the reed assembly 23 may also include one or more than three reeds, and the present application does not impose a strict limitation on this.

[0125] In some embodiments, Figure 5 As shown, the upper spring piece 231 or the lower spring piece 232 simultaneously provides elastic force to the movable part 22 to stabilize the movable part 22 in a preset position when power is not supplied. In other embodiments, when the camera module 103 is not powered, one of the upper spring piece 231 or the lower spring piece 232 may be deformed to generate elastic force, thereby providing pre-pressure to stabilize the movable part 22 of the focus motor in a preset position. The other of the upper spring piece 231 or the lower spring piece 232 may not be deformed, and this is not limited in the embodiments of the present application.

[0126] In addition, in an unstable environment, the elastic force generated by the deformation of the upper spring piece 231 and the lower spring piece 232 is conducive to enabling the lens to overcome inertia and obtain a clear shooting effect. Exemplarily, when the camera module 103 is powered on, the movable part 22 leaves the preset position, and the upper spring piece 231 and the lower spring piece 232 are deformed to generate elastic force, which is used to restore the movable part 22 to the initial preset position.

[0127] In addition, the elastic force generated by the upper spring 231 and the lower spring 232 can buffer the movement of the movable part 22, balance the torque, and improve the stability of the lens assembly 40. In some embodiments, the upper spring 231 and / or the lower spring 232 can be made of conductive material to provide a current path for the circuit in the camera module 103.

[0128] It is understandable that, in some other implementations, the focus motor may also include a focus coil, an auxiliary coil, a Hall assembly and other components, which are not described in detail here.

[0129] Figure 6 for Figure 3 Schematic diagram of the overall structure of the locking motor 30 in the camera module 103; Figure 7 for Figure 6 An exploded schematic diagram of the locking motor 30; Figure 8for Figure 6 A schematic structural diagram of a base 32 of a locking motor 30; Fig. 9 for Figure 6 Schematic diagram of the structure of the locking member 33 of the locking motor 30.

[0130] See also Figure 6-Figure 9 The locking motor 30 may include a locking component 31 and a driving component 36. The driving component 36 is used to drive the locking component 31 to switch between a locked state and an unlocked state. For example, the driving component 36 is used to drive the locking component 31 to be in a locked state after the camera module 103 completes autofocusing. The driving component 36 is also used to drive the locking component 31 to be in an unlocked state before the camera module 103 starts autofocusing. In the locked state, the locking component 31 is locked with the lens component 40. At this time, the lens component 40 (as described above) is locked, and the lens component 40 can no longer move along the optical axis direction Z, and the autofocus motor 20 (as described above) cannot focus on the lens component 40. In the unlocked state, the locking component 31 is disconnected from the lens component 40. At this time, the lens component 40 is unlocked, and the lens component 40 can move along the optical axis direction Z, for example, it can move along the optical axis direction Z for autofocusing under the action of the autofocus motor 20 in the above embodiment.

[0131] In this embodiment, the driving component 36 is used to drive the locking component 31 to switch between a locked state and an unlocked state. In the locked state, the locking component 31 locks the lens component 40. In the unlocked state, the locking component 31 and the lens component 40 are unlocked, so that the position of the lens component 40 can be fixed by the locking component 31 when the lens component 40 needs to be fixed. When autofocus is required, the locking component 31 and the lens component 40 are unlocked, and then the lens component 40 is focused by the autofocus motor 20. The camera module 103 in this embodiment can realize the position fixation of the lens component 40 in specific scenarios. For example, in a sports scene, the position of the lens component 40 can be fixed by the locking component 31, which can avoid repeated focusing and trembling, thereby effectively improving the shooting effect during movement. For another example, in a snapshot scenario, the lens assembly 40 can be moved to the user's accustomed focusing position in advance, and then the locking assembly 31 can be driven to the locked state through the driving assembly 36. The "user's accustomed focusing position" refers to the focusing position frequently used by the user in daily use. The photos or videos taken at this position meet the user's aesthetic needs. Therefore, the lens assembly 40 is locked when the user is in the accustomed focusing position. At this time, the snapshot does not require the automatic focusing process, and there is usually no extra time for automatic focusing when snapshotting, which leads to the problem of out-of-focus and blurred images. The camera module 103 in this embodiment can skip the automatic focusing step and directly take photos or videos at the user's accustomed focusing position, so that clearer photos or images that meet the user's aesthetic needs can be obtained. For another example, in a scenario where the user is accustomed to using manual focus, when the user manually focuses to a preset focus position and intends to take multiple photos or videos at the preset focus position, the locking component 31 can be driven to a locked state by the driving component 36, so that the user does not need to repeat manual focus when shooting, which can improve the user's shooting experience and save energy loss caused by repeated focusing. It can be understood that the camera module 103 in this embodiment can also be applied to more scenarios.

[0132] The locking assembly 31 may include a base 32 and a locking member 33 movably disposed on the base 32 . For example, the locking member 33 may be rotatably disposed on the base 32 . For another example, the locking member 33 may be movably disposed on the base 32 .

[0133] In some embodiments, the base 32 is fixedly connected between the substrate 10 and the autofocus motor 20, and the driving assembly 36 can drive the locking member 33 to move relative to the base 32 so that the locking member 33 and the second part 42 are locked or unlocked, so that the locking assembly 31 switches between a locked state and an unlocked state, wherein, in the locked state, the locking member 33 locks the lens assembly 40; in the unlocked state, the locking member 33 and the lens assembly 40 are unlocked, and can be driven to move along the optical axis direction Z by the autofocus motor 20 in the previous embodiment.

[0134] It is understandable that the formation of the base 32 is not specifically limited. For example, it can be roughly cube-shaped, roughly rectangular, roughly cylindrical, etc., and of course it can also be other shapes.

[0135] See also Figure 6-Figure 8 In some embodiments, the base 32 includes a bottom wall 321 and a side wall 322 surrounding and connected to the periphery of the bottom wall 321 , and the side wall 322 and the bottom wall 321 enclose a receiving space 301 .

[0136] In some embodiments, a second through hole 3211 communicating with the receiving space 301 is defined on the bottom wall 321 , and the second through hole 3211 can be used to pass the lens assembly 40 .

[0137] See also Figure 6 , Figure 7 and Fig. 9In some embodiments, the locking assembly 31 includes two locking members 33, the two locking members 33 are respectively a first locking member 34 and a second locking member 35, one end of the first locking member 34 is rotatably set on the base 32, such as one end of the first locking member 34 is rotatably set on the bottom wall 321, and one end of the second locking member 35 is rotatably set on the base 32, such as one end of the second locking member 35 is rotatably set on the bottom wall 321, the driving assembly 36 can drive the first locking member 34 and the second locking member 35 to rotate toward each other to resist and clamp the lens assembly 40, at this time, the locking assembly 31 is in a locked state, and the lens assembly 40 is locked; the driving assembly 36 can also drive the first locking member 34 and the second locking member 35 to rotate away from each other, at this time, the locking assembly 31 is in an unlocked state, and the lens assembly 40 is unlocked. It can be understood that the opposite rotation in this embodiment means that the space enclosed by the first locking member 34 and the second locking member 35 will become smaller after the rotation. Specifically, the opposite rotation of the first locking member 34 and the second locking member 35 means that the first locking member 34 rotates toward the direction close to the optical axis, and the second locking member 35 rotates toward the direction close to the optical axis. The opposite rotation in this embodiment means that the space enclosed by the first locking member 34 and the second locking member 35 will become larger after the rotation. Specifically, the opposite rotation of the first locking member 34 and the second locking member 35 means that the first locking member 34 rotates toward the direction away from the optical axis, and the second locking member 35 rotates toward the direction away from the optical axis.

[0138] In this embodiment, the first locking member 34 is rotatably disposed on the base 32, and the second locking member 35 is rotatably disposed on the base 32. The driving assembly 36 can drive the first locking member 34 and the second locking member 35 to rotate toward each other to resist and clamp the lens assembly 40, thereby locking the lens assembly 40. The driving assembly 36 can also drive the first locking member 34 and the second locking member 35 to rotate away from each other, thereby unlocking the lens assembly 40. The first locking member 34 and the second locking member 35 are rotatably arranged on the base 32, so that the first locking member 34 and the second locking member 35 both make circular motions around their respective rotation axes. Under the limiting effect of the respective rotation axes of the first locking member 34 and the second locking member 35, the motion paths of the first locking member 34 and the second locking member 35 can be more precise. For the camera module 103 with high precision requirements, the first locking member 34 and the second locking member 35 are rotatably arranged on the base 32, which is conducive to improving the position accuracy when the locking assembly 31 and the lens assembly 40 are fixed, thereby improving the overall design accuracy of the camera module 103. In addition, the first locking member 34 and the second locking member 35 are rotatably arranged on the base 32, which is also conducive to reducing the design difficulty and structural complexity of the driving assembly 36, and is conducive to reducing the overall size of the camera module 103.

[0139] See also Figure 6 , Figure 7 and Fig. 9 In some embodiments, the first locking member 34 includes a first clamping portion 341 and a first rotating portion 342 and a first free portion 343 connected at both ends of the first clamping portion 341. The first rotating portion 342 is rotatably arranged on the bottom wall 321. The first clamping portion 341 is used to clamp the lens assembly 40. The driving assembly 36 can drive the first locking member 34 to rotate by driving the first free portion 343 to move.

[0140] See also Figure 6 and Figure 7 In some embodiments, the first clamping portion 341 includes a first clamping surface 3411, and the first clamping surface 3411 is a curved surface. Of course, in some other embodiments, the first clamping surface 3411 may also be a plane or a curved surface of other shapes.

[0141] See also Figure 6 and Figure 7 In some embodiments, the second locking member 35 includes a second clamping portion 351 and a second rotating portion 352 and a second free portion 353 connected at both ends of the second clamping portion 351. The second rotating portion 352 is rotatably arranged on the bottom wall 321. The second clamping portion 351 is used to clamp the lens assembly 40. The driving assembly 36 can drive the second locking member 35 to rotate by driving the second free portion 353 to move.

[0142] In some embodiments, Figure 7 As shown, the second clamping portion 351 includes a second clamping surface 3511, and the second clamping surface 3511 is a curved surface. Of course, in some other embodiments, the second clamping surface 3511 can also be a plane or a curved surface of other shapes.

[0143] In some embodiments, Figure 6 As shown, a first rotating shaft 323 and a second rotating shaft 324 are provided on the bottom wall 321 , the first rotating portion 342 is rotatably connected to the first rotating shaft 323 , and the second rotating portion 352 is rotatably connected to the second rotating shaft 324 .

[0144] In some embodiments, Figure 6As shown, the bottom wall 321 is further provided with a first limiting column 325 and a second limiting column 326, and the first free portion 343 is provided with a first limiting groove 3431, and the first limiting column 325 is assembled into the first limiting groove 3431, wherein the first limiting column 325 can move a certain distance in any direction relative to the first limiting groove 3431 in the first limiting groove 3431, so that within a certain range, the first limiting column 325 will not interfere with the rotation of the first locking member 34, and when it exceeds a certain range, the length of the movement path of the first locking member 34 can be limited by the first limiting groove 3431, reducing the travel between the locked state and the unlocked state, and reducing the reaction time. The second free portion 353 is provided with a second limiting groove 3531 with a structure similar to the first limiting groove 3431.

[0145] See also Figure 6-Figure 7 The driving assembly 36 includes a first permanent magnet 361 , a second permanent magnet 362 , a first magnetic member 363 , a second magnetic member 364 and an electromagnet 365 .

[0146] In some embodiments, the first permanent magnet 361 is fixedly connected to the first locking member 34, and the second permanent magnet 362 is fixedly connected to the second locking member 35. For example, in some embodiments, the first permanent magnet 361 is bonded to the first locking member 34. Of course, the first permanent magnet 361 and the first locking member 34 can also be snap-fitted or welded; the second permanent magnet 362 is bonded to the second locking member 35. Of course, the second permanent magnet 362 and the second locking member 35 can also be snap-fitted or welded.

[0147] In some embodiments, the electromagnet 365 is fixedly connected to the base 32 and is located between the first permanent magnet 361 and the second permanent magnet 362, so that the magnetic attraction or repulsion force between the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362 can drive the first locking member 34 and the second locking member 35 to rotate relative to the base 32, so that the locking assembly 31 can be switched between a locked state and an unlocked state.

[0148] In some embodiments, the first magnetic member 363 is fixedly connected to the base 32, for example, the first magnetic member 363 can be fixedly connected to the base 32 by bonding or snap-fitting, the first permanent magnet 361 is located between the first magnetic member 363 and the electromagnet 365, the second magnetic member 364 is fixedly connected to the base 32, for example, the second magnetic member 364 can be fixedly connected to the base 32 by bonding or snap-fitting, the second permanent magnet 362 is located between the second magnetic member 364 and the electromagnet 365, when the current in the first current direction is input to the electromagnet 365, the electromagnet 365 can absorb the first permanent magnet 361 and the second permanent magnet 362 to move toward the electromagnet 365 to drive The first locking member 34 and the second locking member 35 are driven to rotate toward each other, thereby driving the locking assembly 31 to a locked state; when the electromagnet 365 inputs a current in a second current direction opposite to the first current direction, the electromagnet 365 can repel the first permanent magnet 361 and the second permanent magnet 362 to move away from the electromagnet 365, so as to drive the first locking member 34 and the second permanent magnet 365 to rotate away from each other, thereby driving the locking assembly 31 to an unlocked state; in the locked state, the first permanent magnet 361 and the second permanent magnet 362 are both magnetically attracted to the electromagnet 365, and in the unlocked state, the first permanent magnet 361 is magnetically attracted to the first magnetic member 363, and the second permanent magnet 362 is magnetically attracted to the second magnetic member 364.

[0149] In this embodiment, through the cooperation between the first permanent magnet 361, the second permanent magnet 362, the first magnetic member 363, the second magnetic member 364 and the electromagnet 365, on the one hand, the design difficulty of the first permanent magnet 361, the second permanent magnet 362, the first magnetic member 363, the second magnetic member 364 and the electromagnet 365 is low, and the volume is small and convenient, which is conducive to reducing the design difficulty of the locking motor 30 and simplifying the size of the locking motor 30. On the other hand, the locking and unlocking functions of the lens assembly 40 can be realized only by switching a set of current forward and reverse, which improves the control convenience. In addition, in the locked state, even if the locking motor 30 is powered off, the locking assembly 31 can be kept in the locked state under the magnetic adsorption effect of the iron core of the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362, thereby saving electric energy and reducing heat.

[0150] In some other embodiments, the driving assembly 36 may include only the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362. In the unlocked state, the electromagnet 365 is not energized, and the distance between the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362 is large enough so that the iron core of the electromagnet 365 cannot drive the first permanent magnet 361 and the second permanent magnet 362 to move by magnetic adsorption force. However, when the electromagnet 365 is energized, the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362 are energized. The magnetic attraction force between the magnets 362 can drive the first permanent magnet 361 and the second permanent magnet 362 to move toward each other, so that the iron core of the electromagnet 365 is magnetically attracted to the first permanent magnet 361 and the second permanent magnet 362, so that the locking assembly 31 is in a locked state. When the electromagnet 365 is powered off, the locking assembly 31 can be kept in a locked state through the magnetic attraction between the iron core of the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362, thereby saving electricity and reducing heat.

[0151] Fig.10 for Figure 3 A schematic diagram of the structure of the locking motor 30 and the lens assembly 40 being assembled, wherein the locking assembly 31 is in a locked state; Fig.11 for Figure 3 A schematic diagram of the structure of the locking motor 30 and the lens assembly 40 being assembled, wherein the locking assembly 31 is in an unlocked state; Fig.12 for Figure 3 103 in FIG. 104. It can be understood that Fig.10 This is only one of the many structures of the locking assembly 31 in the present application, and the locking assemblies 31 of different structures can all achieve the locked state; Fig.11 The locked state is one of the multiple unlocked states of the locking assembly 31 in the present application. The locking assembly 31 in the present application may also include other forms of locked states.

[0152] See also Figure 10-12 , when the lens assembly 40 is located at any travel point in the focus stroke, the locking assembly 31 can be locked or unlocked with the lens assembly 40. It can be understood that the "focus stroke" refers to the path that the lens assembly 40 can move when focusing through the autofocus motor 20, and a certain position of the lens assembly 40 on the path is a certain travel point of the lens assembly 40. In this embodiment, since the locking assembly 31 can be locked or unlocked with the lens assembly 40 when the lens assembly 40 is located at any travel point in the focus stroke, the lens assembly 40 can be locked for any focus position, so that the lens assembly 40 can be locked at a focus position with a good focus effect, which can improve the user experience.

[0153] See also Figure 10-12In some embodiments, the lens assembly 40 includes a first part 41 and a second part 42 that are interconnected as one body, the autofocus motor 20 surrounds and is connected to the first part 41, and in the optical axis direction Z perpendicular to the camera module 103, such as the first direction X, the second part 42 is opposite to the locking assembly 31, and the locking assembly 31 is used to lock or unlock the second part 42. In this embodiment, the locking assembly 31 is used to lock or unlock the second part 42 that is not surrounded by the autofocus motor 20, and in the optical axis direction Z perpendicular to the camera module 103, the second part 42 is opposite to the locking assembly 31, that is, the second part 42 is not surrounded by the autofocus motor 20, which facilitates the locking assembly 31 to lock the second part 42. The locking motor 30 and the autofocus motor 20 correspond to different parts of the lens assembly 40 in the optical axis direction Z, so that the position between the autofocus motor 20 and the locking motor 30 is decoupled, which effectively reduces the structural design difficulty of the locking motor 30, improves the structural rationality of the lens assembly 40, and can also improve the structural design diversity of the locking motor 30.

[0154] It can be understood that the first direction X in this embodiment can be any direction perpendicular to the optical axis direction Z of the camera module 103, not just the first direction X shown in the drawings.

[0155] See also Fig.10 and Fig.12 In some embodiments, when the lens assembly 40 is located at any point in the focus stroke, in the first direction X, the lens assembly 40 is at least partially opposite to the locking assembly 31, and the portion of the lens assembly facing the locking assembly 31 is the second portion 42. Since when the lens assembly 40 is located at any point in the focus stroke, in the first direction X, the lens assembly 40 is at least partially opposite to the locking assembly 31, the second portion 42 can be locked or unlocked by the locking assembly 31 at any focus position, so that the lens assembly 40 can be locked at a focus position with a good focus effect, which can improve the user experience.

[0156] It is understandable that the length of the first portion 41 and the second portion 42 in the optical axis direction Z of the camera module 103 can vary with the focus of the lens assembly 40, for example, the second portion at the focus upper stroke point is shorter than the second portion 42 at the focus lower stroke point in the optical axis direction Z. In this embodiment, regardless of any focus position, the portion of the lens assembly 40 surrounded by the autofocus motor 20 is referred to as the first portion 41, and the portion of the lens assembly 40 not surrounded by the autofocus motor 20 is referred to as the second portion 42. It is understandable that the "focus upper stroke point" refers to the position farthest from the substrate 10 to which the lens assembly 40 can move in the optical axis direction Z of the camera module 103 when focusing, and the "focus lower stroke point" refers to the position closest to the substrate 10 to which the lens assembly 40 can move in the optical axis direction Z of the camera module 103 when focusing.

[0157] See also Figure 10-12 In some embodiments, the portion of the lens assembly 40 accommodated in the accommodation space 2111 is the first portion 41, and the first portion 41 can be fixedly connected to the movable portion 22, so that the movable portion 22 can move along the optical axis direction Z to drive the lens assembly 40 to achieve autofocus. The portion of the lens assembly 40 located outside the accommodation space 2111 is the second portion 42, so as to facilitate the locking and unlocking of the second portion 42 by the locking motor 30, and facilitate the position decoupling setting between the autofocus motor 20 and the locking motor 30, effectively reduce the structural design difficulty of the locking motor 30, improve the structural rationality of the lens assembly 40, and also improve the structural design diversity of the locking motor 30.

[0158] It is understandable that the shape of the lens assembly 40 in this embodiment is not limited, for example, it can be roughly cylindrical, or roughly square or rectangular.

[0159] See also Fig.10 and Fig.12 In some embodiments, the second portion 42 is a sleeve-shaped structure, and the second portion 42 includes an outer wall 422, a bottom wall 423, and an inner wall 424. The bottom wall 423 faces the substrate 10, and the outer wall 422 faces the locking assembly 31. The locking assembly 31 is used to abut the outer wall 422. In this embodiment, the locking assembly 31 abuts against the outer wall 422, so that the second portion 42 can be locked and unlocked.

[0160] See also Fig.10 and Fig.12In some embodiments, the locking assembly 31 can abut against different positions of the outer side wall 422, so that when the lens assembly 40 is located at any travel point in the focusing stroke, the locking assembly 31 can be locked or unlocked with the lens assembly 40. In this embodiment, the locking assembly 31 can abut against any position on the side wall of the second portion 42, so that when the lens assembly 40 is located at any travel point in the focusing stroke, the locking assembly 31 can be locked or unlocked with the lens assembly 40, so that the lens assembly 40 can be locked for any focusing position, so that the lens assembly 40 can be locked at a focusing position with a good focusing effect, which can improve the user experience.

[0161] It can be understood that when the lens assembly 40 is located at any stroke point in the focusing stroke, the matching portion between the second portion 42 and the locking assembly 31 is sufficient to meet the requirement of being locked by the locking assembly 31 .

[0162] See also Figure 10-12 In some embodiments, the accommodating space 2111 and the receiving space 301 are directly opposite and connected in the optical axis direction Z. The second portion 42 is located in the receiving space 301, which is convenient for cooperating with the locking assembly 31 located in the receiving space 301 to achieve locking and unlocking of the second portion 42 by the locking assembly 31. Moreover, the second portion 42 of the lens assembly 40 is located in the receiving space 301, thereby being able to effectively protect the second portion 42 of the lens assembly 40, and also facilitating the realization of the sealing performance requirements of the camera module 103.

[0163] See also Figure 7 as well as Figure 10-12In some specific implementations, the side wall 322 of the base 32 is fixed on the substrate 10, the bottom wall 321 of the base 32 is connected to the side of the side wall 322 facing the autofocus motor 20, the shell 211 is set on the bottom wall 321, the second through hole 3211 surrounded by the bottom wall 321 is opposite to and connected with the first through hole 221 surrounded by the movable part 22, the first part 41 of the lens assembly 40 is fixed to the first through hole 221, and the second part 42 of the lens assembly 40 passes through the second through hole 3211 and enters the accommodating space 301 to cooperate with the locking assembly 31 to realize the locking and unlocking of the lens assembly 40. In this embodiment, when a current in a first current direction is input to the electromagnet 365, the electromagnet 365 can attract the first permanent magnet 361 and the second permanent magnet 362 to move toward the electromagnet 365, so as to drive the first locking member 34 and the second locking member 35 to rotate toward each other, thereby driving the locking assembly 31 to a locked state, at which time, the first permanent magnet 361 and the second permanent magnet 362 are both magnetically attracted to the electromagnet 365. In the locked state, the second portion 42 is clamped and clamped by the first locking member 34 and the second locking member 35, so that the movement of the lens assembly 40 in the optical axis direction Z can be restricted by restricting the movement of the second portion 42 in the optical axis direction Z. When the electromagnet 365 inputs a current in a second current direction opposite to the first current direction, the electromagnet 365 can repel the first permanent magnet 361 and the second permanent magnet 362 to move away from the electromagnet 365, so as to drive the first locking member 34 and the second locking member 35 to rotate in opposite directions, thereby driving the locking assembly 31 to the unlocked state; at this time, the first permanent magnet 361 is magnetically attracted to the first magnetic member 363, and the second permanent magnet 362 is magnetically attracted to the second magnetic member 364. In the locked state, the autofocus motor 20 can be powered on and working, or it can be powered off, but in the locked state, the force applied by the autofocus motor 20 to the first part 41 is not enough to drive the lens assembly 40 to disengage from the locking assembly 31, that is, in the locked state, the lens assembly 40 always remains stationary in the optical axis direction Z. In the unlocked state, the first locking member 34 and the second locking member 35 may be spaced apart from the second portion 42, that is, there is a gap 421 between the second portion 42 and the first locking member 34 and the second locking member 35, and the autofocus motor 20 can drive the lens assembly 40 to move in the optical axis direction Z to achieve autofocus. Of course, in some embodiments, in the unlocked state, the first locking member 34 and the second locking member 35 may also be in a state of clamping but not clamping the second portion 42. At this time, although there is no gap 421 between the first locking member 34 and the second locking member 35 and the second portion 42, the lens assembly 40 can still move along the optical axis direction Z under the drive of the autofocus motor 20.

[0164] In some embodiments, in the locked state, the locking motor 30 is powered off, and the locking assembly 31 can be kept in the locked state under the magnetic attraction between the iron core of the electromagnet 365 and the first permanent magnet 361 and the second permanent magnet 362, thereby saving electricity and reducing heat.

[0165] In some embodiments, when in the unlocked state, the locking motor 30 is powered off. Due to the magnetic attraction between the first permanent magnet 361 and the first magnetic part 363, and the magnetic attraction between the second permanent magnet 362 and the second magnetic part 364, the locking assembly 31 can be maintained in the unlocked state, thereby saving electricity and reducing heat.

[0166] In some embodiments, Fig.12 As shown, the image processing module 50 is disposed in a receiving space 301 surrounded by the base 32 , so that the receiving space 301 can be fully utilized, which is beneficial to reducing the overall size of the camera module 103 .

[0167] Fig.13 It is a partial structural diagram of another camera module 103 provided in an embodiment of the present application; Fig.14 for Fig.13 This embodiment may include most of the technical features of the above embodiment, and the following mainly describes the difference between the two, and most of the same contents between the two are not repeated.

[0168] See also Fig.13 and Fig.14 The camera module 103 includes a substrate 10, an autofocus motor 20, a locking motor 30 and a lens assembly 40, wherein the substrate 10, the autofocus motor 20 and the lens assembly 40 can be configured with reference to the above embodiment, and will not be described in detail below. The main difference between this embodiment and the above embodiment is that the specific structure of the locking motor 30 in this embodiment is different from the structure of the locking motor 30 in the above embodiment, especially the driving assembly 36 of the locking motor 30 is greatly different.

[0169] In some embodiments, Fig.14As shown, the locking motor 30 may include a locking assembly 31 and a driving assembly 36. The locking assembly 31 includes a base 32, a first locking member 34 and a second locking member 35. The first locking member 34 has the same structure as the substrate 10 of the first locking member 34 in the previous embodiment, and the main difference is that a first worm gear portion 3432 is formed on the first free portion 343 of the first locking member 34 in the present embodiment. The second locking member 35 has the same structure as the substrate 10 of the second locking member 35 in the previous embodiment, and the main difference is that a second worm gear portion 3532 is formed on the second free portion 353 of the second locking member 35 in the present embodiment. The first clamping portion 341 and the first rotating portion 342 of the first locking member 34, and the second clamping portion 351 and the second rotating portion 352 of the second locking member 35 can all refer to the previous embodiment, and will not be repeated here. The base 32 is basically the same as the base 32 in the previous embodiment, with the main difference being that the first limit column 325 and the second limit column 326 are not provided on the bottom wall 321 in this embodiment, and the base 32 in this embodiment includes a limit block 327, which is provided between the first free portion 343 and the second free portion 353. The limit block 327 can limit the length of the movement path of the first locking member 34 and the second locking member 35, thereby reducing the travel between the locked state and the unlocked state and reducing the reaction time.

[0170] In some embodiments, Fig.14As shown, the drive assembly 36 includes a power source 366, a rotating shaft 367, and a first worm gear portion 368 and a second worm gear portion 369 arranged on the rotating shaft 367, wherein the power source 366 can be a motor, a rotary cylinder or a hydraulic cylinder, etc., the tooth directions of the first worm gear portion 368 and the second worm gear portion 369 are opposite, the first worm gear portion 368 is meshed with the first worm wheel gear portion 3432, and the second worm gear portion 369 is meshed with the second worm wheel gear portion 3532, and the power source 366 can drive the rotating shaft 367 to rotate in the forward or reverse direction to drive the first locking member 34 and the second locking member 35 to rotate relative to or opposite to each other. When the first locking member 34 and the second locking member 35 rotate towards each other (refer to the previous embodiment for details), the first locking member 34 and the second locking member 35 can clamp the lens assembly 40 to achieve the locking of the lens assembly 40. When the first locking member 34 and the second locking member 35 rotate away from each other (refer to the previous embodiment for details), the lens assembly 40 can be unlocked. In this embodiment, through the worm gear, the first worm gear tooth portion 368 can drive the first worm wheel gear portion 3432 to rotate, and when the power source 366 does not provide power, the first worm gear tooth portion 368 and the first worm wheel gear portion 3432 can achieve self-locking, and the second worm gear tooth portion 369 can drive the second worm wheel gear portion 3532 to rotate, and when the power source 366 does not provide power, the second worm gear tooth portion 369 and the second worm wheel gear portion 3532 can achieve self-locking, so that when no power is provided, the locking assembly 31 can be kept in a locked state, thereby saving electric energy and reducing heat. In addition, since the first worm gear tooth portion 3432 and the second worm tooth portion 369 are both arranged on the rotating shaft 367, and the tooth directions of the first worm tooth portion 368 and the second worm tooth portion 369 are opposite, the driving of the first locking member 34 and the second locking member 35 can be achieved by a rotating shaft 367 and a power source 366, thereby simplifying the structure of the drive assembly 36.

[0171] Fig.15 This is a partial structural diagram of another camera module 103 provided in an embodiment of the present application; this embodiment may include most of the technical features of the above embodiments, and the following mainly explains the difference between the two, and most of the same contents between the two will not be repeated.

[0172] See also Fig.15 The camera module 103 includes a substrate 10, an autofocus motor 20, a locking motor 30 and a lens assembly 40, wherein the substrate 10, the autofocus motor 20 and the lens assembly 40 can be configured with reference to the above embodiment, and will not be described in detail below. The main difference between this embodiment and the above embodiment is that the specific structure of the locking motor 30 in this embodiment is different from the structure of the locking motor 30 in the above embodiment, especially the driving assembly 36 of the locking motor 30 is greatly different.

[0173] In some embodiments, Fig.15As shown, the locking motor 30 may include a locking assembly 31 and a driving assembly 36 . The locking assembly 31 includes a base 32 , a first locking member 34 , and a second locking member 35 .

[0174] The structure of the first locking member 34 is basically the same as that of the first locking member 34 in the above embodiment, and the main difference is that the first locking member 34 in this embodiment slides relative to the base 32 along a preset direction, instead of the first locking member 34 in the above embodiment rotating relative to the base 32. Specifically, the first locking member 34 includes a first clamping portion 341, a first sliding portion 345 and a first free portion 343 located at both ends of the first clamping portion 341, a first guide groove 3451 is provided on the first sliding portion 345, and the shape of the first guide groove 3451 can be a waist-shaped groove, a rectangular groove or other long strip grooves, and a first guide rod is provided on the base 32, and the first guide rod can be a waist-shaped, rectangular rod or square rod, and of course, it can also be a combined guide rod composed of two or more circular rods, and the first guide rod can slide relative to the first guide groove 3451 along a preset direction, and the preset direction is also the length direction of the first guide groove 3451. As for the first clamping portion 341 in this embodiment, reference can be made to the above embodiment, and no further description is given here.

[0175] The structure of the second locking member 35 is basically the same as that of the second locking member 35 in the previous embodiment, and the main difference is that the second locking member 35 in this embodiment slides relative to the base 32 along a preset direction, instead of the second locking member 35 in the previous embodiment rotating relative to the base 32. Specifically, the second locking member 35 includes a second clamping portion 351, a second sliding portion 355 located at both ends of the second clamping portion 351, and a second free portion 353. The second sliding portion 355 is provided with a second guide groove 3551, and the shape of the second guide groove 3551 can be a waist-shaped groove, a rectangular groove or a long strip groove. The base 32 is provided with a second guide rod, which can be a waist-shaped, rectangular rod or square rod, and can also be a combined guide rod composed of two or more round rods. The second guide rod can slide relative to the second guide groove 3551 along a preset direction, and the preset direction is also the length direction of the second guide groove 3551. As for the second clamping portion 351 in this embodiment, reference can be made to the previous embodiment, and no further description is given here.

[0176] The base 32 is basically the same as the base 32 in the previous embodiment, with the main difference being that the first limit column 325 and the second limit column 326 are not provided on the bottom wall 321 in this embodiment, and the base 32 in this embodiment includes a limit block 327, which is provided between the first free portion 343 and the second free portion 353. The limit block 327 can limit the length of the movement path of the first locking member 34 and the second locking member 35, thereby reducing the travel between the locked state and the unlocked state and reducing the reaction time.

[0177] In this embodiment, the first locking member 34 and the second locking member 35 can slide toward each other in a preset direction under the drive of the driving assembly 36 to resist and clamp the lens assembly 40, thereby driving the locking assembly 31 to a locked state (refer to the previous embodiment) to lock the lens assembly 40. The first locking member 34 and the second locking member 35 can also be driven to slide away from each other in a preset direction under the drive of the driving assembly 36, thereby driving the locking assembly 31 to an unlocked state (refer to the previous embodiment) to unlock the lens assembly 40.

[0178] In some embodiments, Fig.15 As shown, the first clamping surface 3411 on the first clamping portion 341 is an arc surface, the second clamping surface 3511 on the second clamping portion 351 is an arc surface, and the second part 42 of the lens assembly 40 is cylindrical. The outer diameter of the second part 42 is the same as the inner diameter of the first clamping surface 3411 and the second clamping surface 3511. Therefore, in the locked state, the first clamping surface 3411 and the second clamping surface 3511 can be completely attached to the outer surface of the second part 42, so that the second part 42 is subjected to balanced force when clamped, and the lens assembly 40 will not deviate from the original optical axis, so as to improve the fixing accuracy.

[0179] It can be understood that the shape of the lens assembly 40 and the shapes of the first clamping surface 3411 and the second clamping surface 3511 can be adjusted according to needs, and the above implementation is only one of many embodiments of the present application.

[0180] In some embodiments, Fig.15 As shown, the drive assembly 36 includes a rotating shaft 367, a power source 366, and a first threaded portion 370 and a second threaded portion 371 arranged on the rotating shaft 367. The axial direction of the rotating shaft 367 is the same as the preset direction. The first locking member 34 is engaged with the first threaded portion 370, specifically, the first free portion 343 is engaged with the first threaded portion 370, and the second free portion 353 of the second locking member 35 is engaged with the second threaded portion 371, specifically, the second free portion 353 is engaged with the second threaded portion 371. The power source 366 can drive the rotating shaft 367 to rotate forward or reversely to drive the first locking member 34 and the second locking member 35 to slide relative to or away from each other. Through the cooperation between the first threaded portion 370 and the second threaded portion 371 on the rotating shaft 367 and the first locking member 34 and the second locking member 35, the first locking member 34 and the second locking member 35 can be driven to slide axially along the rotating shaft 367 at the same time through a rotating shaft 367, so that the first locking member 34 and the second locking member 35 can slide relative to or away from each other, thereby reducing the complexity of the structure and ensuring the synchronization of the sliding of the first locking member 34 and the second locking member 35, which is beneficial to improving the position accuracy of the locking member 33 and the lens assembly 40 in the locked state.

[0181] In some embodiments, the preset direction is parallel to the first direction X in the above embodiments. It is understood that in some other embodiments, the preset direction may not be parallel to the first direction X.

[0182] It can be understood that the sliding toward each other in this embodiment refers to the movement in which the distance between the first locking member 34 and the second locking member 35 gradually decreases, while the sliding away from each other refers to the movement in which the distance between the first locking member 34 and the second locking member 35 gradually increases.

[0183] Fig.16 It is a partial structural diagram of another camera module 103 provided in an embodiment of the present application; Fig.17 for Fig.16 Schematic diagram of the decomposition of Fig.18 for Fig.16 Schematic diagram of the assembly structure of the locking member 33 and the base 32; Fig.19 for Fig.16 Schematic diagram of the assembly structure of the locking member 33 and the rotating disk 372. This embodiment can include most of the technical features of the above embodiment. The following mainly describes the difference between the two, and most of the same contents between the two are not repeated.

[0184] See also Figure 16-Figure 19 The camera module 103 includes a substrate 10, an autofocus motor 20, a locking motor 30 and a lens assembly 40, wherein the substrate 10, the autofocus motor 20 and the lens assembly 40 can be configured with reference to the above embodiment, and will not be described in detail below. The main difference between this embodiment and the above embodiment is that the specific structure of the locking motor 30 in this embodiment is different from the structure of the locking motor 30 in the above embodiment, especially the driving assembly 36 of the locking motor 30 is greatly different.

[0185] In some embodiments, Fig.16 and Fig.17As shown, the locking motor 30 may include a locking assembly 31 and a driving assembly 36, wherein the locking assembly 31 includes a base 32 and a plurality of locking members 33, specifically two or more locking members 33. The base 32 includes a bottom wall 321 and a side wall 322, wherein the bottom wall 321 and the side wall 322 enclose a receiving space 301, wherein the bottom wall 321, the side wall 322 and the receiving space 301 etc. may refer to the above embodiments, and will not be described in detail here. A plurality of locking members 33 are arranged around the lens assembly 40, and the plurality of locking members 33 are rotatably connected to the base 32, and the driving assembly 36 can drive the plurality of locking members 33 to rotate toward a first rotation direction a to abut against and clamp the lens assembly 40, so as to drive the locking assembly 31 to a locked state, and lock the lens assembly 40. The driving assembly 36 can also drive the plurality of locking members 33 to rotate toward a second rotation direction b, so as to drive the locking assembly 31 to an unlocked state, and unlock the lens assembly 40, wherein the first rotation direction a and the second rotation direction b are opposite. Based on the fact that multiple locking members 33 are arranged around the lens assembly 40, the multiple locking members 33 are rotatably connected to the base 32, which can not only help improve the position accuracy when the locking assembly 31 and the lens assembly 40 are fixed, just like the two locking members 33 in the above embodiment, but also help improve the overall design accuracy of the camera module 103. In addition, since there are multiple locking members 33, the lens assembly 40 can be clamped together at multiple points, which is conducive to maintaining the uniformity of the force on the lens assembly 40 in multiple directions, and is conducive to improving the locking stability of the lens assembly 40 and the position accuracy when locked.

[0186] In some embodiments, Fig.16 and Fig.17 As shown, the shapes and sizes of the multiple locking members 33 are the same, and the multiple locking members 33 are evenly spaced around the optical axis, that is, when rotating around the optical axis, the multiple locking members 33 can overlap with each other. In this embodiment, since the multiple locking members 33 are evenly spaced around the optical axis, when the multiple locking members 33 clamp the lens assembly 40, specifically the second part 42 of the lens assembly 40, the second part 42 in this embodiment is cylindrical, so that the multiple locking members 33 can evenly clamp the second part 42, which is conducive to improving the position accuracy when the locking assembly 31 and the lens assembly 40 are fixed, and further conducive to improving the overall design accuracy of the camera module 103.

[0187] In some embodiments, Fig.16 and Fig.17As shown, the locking member 33 is provided with a first rotating shaft 323, the bottom wall 321 of the base 32 is provided with a first rotating hole 3212, the locking member 33 is rotatably mounted on the first rotating hole 3212 via the first rotating shaft 323, the locking member 33 is provided with a second rotating hole 331, and the locking member 33 is rotatably connected to the driving assembly 36 via the second rotating hole 331. The axes of the first rotating shaft 323 and the second rotating hole 331 do not coincide, for example, the first rotating shaft 323 and the second rotating hole 331 are spaced apart, or the first rotating shaft 323 and the second rotating shaft 324 corresponding to each locking member 33 are spaced apart.

[0188] In some embodiments, Fig.16 , Fig.17 and Fig.19 As shown, the driving assembly 36 includes a rotating disk 372, a worm 374 and a power source for driving the worm 374 to rotate when the rotating disk 372 is rotated relative to the base 32. A worm gear portion 373 is provided on the periphery of the rotating disk 372. The worm 374 meshes with the worm gear portion 373. The locking members 33 are all rotatably connected with the rotating disk 372. Specifically, a second rotating shaft 324 is provided on the rotating disk 372. Each locking member 33 is rotatably installed in a second rotating shaft 324 through a second rotating hole 331 thereon. The power source can drive the worm 374 to rotate forward or reversely to drive the rotating disk 372 to rotate forward or reversely. The forward or reverse rotation of the rotating disk 372 can drive the plurality of locking members 33 to rotate toward the first rotation direction a or the second rotation direction b, thereby driving the locking assembly 31 to change between the locked state and the unlocked state to achieve the locking and unlocking of the lens assembly 40. The drive assembly 36 in this embodiment also adopts the worm gear 374, and when the power source does not provide power, it can also maintain the locked state of the locking assembly 31, thereby saving energy and reducing heat. In addition, since a turntable 372 is connected to multiple locking members 33 at the same time, the rotation synchronization of multiple locking members 33 can be ensured, which is conducive to improving the position accuracy of the locking member 33 and the lens assembly 40 in the locked state.

[0189] The embodiment of the present application also provides another camera module, including a lens assembly 40, a locking motor 30 and an autofocus motor 20. The locking motor 30 and the autofocus motor 20 are stacked along the optical axis direction Z of the camera module 103. The locking motor 30 and the autofocus motor 20 are two independent lens assembly 40 drive modules. The autofocus motor 20 surrounds and connects the lens assembly 40. The autofocus motor 20 is used to drive the lens assembly 40 along the optical axis direction Z to achieve focusing. When the lens assembly 40 is located at any stroke point in the focusing stroke, the locking motor 30 can be locked or unlocked with the lens assembly 40. Among them, the lens assembly 40, the locking motor 30 and the autofocus motor 20 in this embodiment can all refer to the previous embodiment, and will not be repeated in this embodiment.

[0190] In this embodiment, the upper and lower position relationship of the locking motor 30 and the autofocus motor 20 is not limited. It is sufficient that the locking motor 30 and the autofocus motor 20 are two independent lens assembly 40 drive modules, that is, the position of the locking motor 30 and the autofocus motor 20 is decoupled. For example, the locking motor 30 can be located below the autofocus motor 20, or above or to the side of the autofocus motor 20.

[0191] The camera module 103 in this embodiment can realize the position fixation of the lens assembly 40 in a specific scenario. For example, in a sports scenario, the position of the lens assembly 40 is fixed by the locking motor 30, which can avoid the occurrence of vibration, thereby effectively improving the shooting effect of the camera module 103 during sports. Since the locking motor 30 and the autofocus motor 20 are two independent lens assembly 40 drive modules, the autofocus motor 20 and the locking motor 30 are in a positional relationship decoupling state, and the morphological design of the autofocus motor 20 and the locking motor 30 will not be affected by each other, which is conducive to improving the design morphological diversity of the autofocus motor 20 and the locking motor 30. For example, different types of autofocus motors 20 can be used to match different types of locking motors 30. Moreover, since the autofocus motor 20 and the locking motor 30 are in a positional relationship decoupling state, it is conducive to modular production, replacement and maintenance, and improves convenience. In addition, since the locking motor 30 in this embodiment can lock or unlock the lens assembly 40 when the lens assembly 40 is located at any stroke point in the focusing stroke, the lens assembly 40 can be locked for any focusing position, so that the lens assembly 40 can be locked at a focusing position with a good focusing effect, which can improve the user experience.

[0192] Fig. 20 A flowchart of a possible control method of the camera module 103 provided in this application.

[0193] The embodiment of the present application further provides a control method of the camera module 103, which is applied to the electronic device 100 in the above embodiment. The control method of the camera module 103 includes the following steps:

[0194] S100, start the photo or video mode.

[0195] In step S100, the photo or video mode can be entered manually on the user interface. In some other implementations, the photo or video mode can be entered automatically through intelligent control. For example, in some scenarios, taking a mobile phone as an example, when the user holds up the mobile phone and points it at the object to be photographed for 3 seconds or more, it automatically turns on and enters the photo or video mode. In some other implementations, the photo or video mode can be entered remotely through other smart devices. It should be noted that starting to enter the photo or video mode is different from executing the action command of taking a photo or video. Specifically, the photo or video mode must be entered first, and then the action of taking a photo or video can be executed.

[0196] S200, detecting whether the electronic device 100 enters a sports mode.

[0197] In step S200, it is possible to detect whether the electronic device 100 enters the motion mode in a variety of ways. For example, in some embodiments, it is possible to detect whether the electronic device 100 is moving. After detecting that the electronic device 100 is moving, the electronic device 100 enters the motion mode. The motion in this embodiment refers to a motion with a speed exceeding a preset value, or a motion with an acceleration exceeding a preset value, wherein the preset value can be set according to the needs. It is understood that the electronic device 100 in this embodiment can refer to the text embodiment, and will not be described in detail here.

[0198] In some implementations, the magnitude of acceleration may be detected by an accelerometer, and then a determination may be made as to whether the magnitude of acceleration exceeds a preset value.

[0199] In some implementations, it is possible to detect whether the electronic device 100 receives a signal for switching to a motion mode input from a user interface, and the electronic device 100 enters the motion mode after receiving the signal for switching to a motion mode input from a user interface.

[0200] The electronic device 100 in the embodiment of the present application can detect whether the electronic device 100 enters the sports mode by at least two methods: manual input and automatic detection, which improves the convenience of user use and improves the user experience.

[0201] S300, after determining that the electronic device 100 is in the motion mode, the auto focus motor 20 starts and drives the lens assembly 40 to move to achieve auto focus.

[0202] In some implementations, after the electronic device 100 is in motion mode, an autofocus signal is generated, the camera module 103 responds to the autofocus signal, and the autofocus motor 20 drives the lens assembly 40 to move to achieve autofocus.

[0203] Through step S300, after the electronic device 100 enters the sports mode, the auto-focus motor 20 can drive the lens assembly 40 to automatically focus, so as to perform the following step S400.

[0204] S400 , after the automatic focusing is completed, the locking motor 30 is started and the lens assembly 40 is locked.

[0205] In some implementations, a locking signal is generated after the autofocus is completed, and the camera module 103 responds to the locking signal and the locking motor 30 locks the lens assembly 40 .

[0206] In step S400, when the autofocus is completed, it means that the focus is on a clear image. The locking motor 30 can be the locking motor 30 in the previous embodiment, or it can be a locking motor 30 of other structures that can realize the locking and unlocking of the lens assembly 40. Among them. When the locking motor 30 locks the lens assembly 40, it is equivalent to the lens assembly 40 being locked when the locking assembly 31 in the previous embodiment is in a locked state. For example, when the locking motor 30 in step S400 is the locking motor 30 in the previous embodiment, the power can be cut off after the locking motor 30 locks the lens assembly 40. After the power is cut off, the locking motor 30 still has a fixing effect on the lens assembly 40, and the lens assembly 40 still cannot move along the optical axis direction Z, thereby saving electricity.

[0207] S500, taking a photo or video.

[0208] In step S500, the function of taking a photo or shooting a video can be executed manually by inputting into the user interface, or it can be executed intelligently by a preset method. For example, in some scenarios, the function of taking a photo or shooting a video can be executed intelligently by smile recognition, voice recognition, etc.

[0209] The control method of the camera module 103 in this embodiment can solve the problems of repeated focusing and shaking in a moving state. Specifically, the autofocus motor 20 will drive the lens assembly 40 to focus automatically. However, in the moving state, in the next state after the focusing is completed, since the distance between the lens assembly 40 and the object to be photographed changes again, the autofocus motor 20 will automatically focus on the lens assembly 40 again. This repeated focusing causes poor shooting effects. The control method of the camera module 103 in this embodiment, after entering the motion mode through the judgment of step S200, the autofocus motor 20 will drive the lens assembly 40 to focus automatically. However, after the focusing is completed, the lens assembly 40 can be locked through step S400. Thereafter, the autofocus motor 20 can no longer repeatedly focus automatically. Compared with repeated focusing, the shooting effect after the lens assembly 40 is locked is better.

[0210] It is understandable that after the locking motor 30 fixes and locks the lens assembly 40, the autofocus motor 20 can be automatically powered off to save electricity.

[0211] In some embodiments, after detecting that the electronic device 100 exits the motion mode, the locking motor 30 can receive an unlocking signal, at which time the lens assembly 40 is unlocked, and the autofocus motor 20 can drive the lens assembly 40 to move along the optical axis to achieve autofocus. Specifically, the motion mode can be exited manually by the user, or the motion mode can be automatically exited when the moving speed or acceleration is less than a preset value within a preset time period. The preset time period and the preset value can be set by yourself.

[0212] Fig.21 This is a flowchart of another possible control method of the camera module 103 provided in the present application. The control method of the camera module 103 can be applied to the electronic device 100 in the above embodiment. It is understandable that the control method of the camera module 103 can also be applied to electronic devices different from the above embodiment.

[0213] The embodiment of the present application also provides a method for controlling the camera module 103. The method for controlling the camera module 103 includes the following steps:

[0214] S100, start the photo or video mode.

[0215] The step S100 in this embodiment can refer to the above Fig. 20 The step S100 in the embodiment is not described in detail here.

[0216] S200, reading focus data within a preset time period, wherein the focus data includes a focus position and a duration.

[0217] In step S200, the preset time period may refer to the past 24 hours before starting the photo or video mode, or the past 10 days before starting the photo or video mode, or all the time from activating the phone to starting the photo or video mode. It is understandable that the preset time period may be set according to demand.

[0218] The focus position refers to the position of the lens assembly 40 when the electronic device 100 is in the state of taking a photo or video. In this embodiment, the focus position of the lens assembly 40 can be expressed by the focal length.

[0219] S300, obtaining a target focus position from the focus data, wherein the target focus position is a position where the duration corresponding to the focus position of the lens assembly 40 exceeds a preset duration.

[0220] In step S300, the preset duration may refer to a set time span, such as a preset duration of 10 minutes. The preset duration may be set according to the needs.

[0221] The target focus position refers to the focus position of the lens assembly 40. When the duration of maintaining a focus position exceeds a preset duration (e.g., 10 minutes) among all the focus positions that the lens assembly 40 can reach, the focus position is the target focus position in this embodiment. For example, when the lens assembly maintains the focus position of a focal length of 15 mm for a preset duration (e.g., 10 minutes), the focus position of the lens assembly at a focal length of 15 mm is the target focus position.

[0222] It is understandable that the duration that the lens assembly 40 is maintained at the focus position refers to the sum of all the time that the lens assembly 40 is at the focus position. It should be noted that the target focus position in step S300 may refer to a point or a range. For example, the target focus position may be a focus position with a focal length of 15 mm or a focus position with a focal length of 10 mm-15 mm.

[0223] In some implementations, the target focus position needs to be further screened. For example, when there is more than one focus position that exceeds the preset time length, the target focus position is the focus position that exceeds the preset time length the longest among the multiple focus positions that exceed the preset time length.

[0224] S400, the lens assembly 40 of the electronic device 100 completes focusing at a target focusing position.

[0225] In step S400, the lens assembly 40 can be focused at the target focus position by the auto focus motor 20 in the above embodiment. It is understandable that when the target focus position refers to a range, the focus position of the lens assembly 40 can be within the range.

[0226] It is understandable that after the target focus position is obtained, if the lens assembly 40 is just in the target focus position, step S500 below can be directly executed. After the target focus position is obtained, if the lens assembly 40 is not in the target focus position, step S400 is executed.

[0227] S500, locking the lens assembly 40 at the target focusing position.

[0228] In step S500 , the locking motor 30 in the above embodiment may be used to start and lock the lens assembly 40 at the target focus position.

[0229] The principle of the locking motor 30 in this embodiment locking the lens assembly 40 in the focus position can be referred to in the previous text. Fig. 20 The step S400 in the embodiment is not described in detail here.

[0230] S600, taking a photo or video.

[0231] The step S600 of this embodiment can be referred to in the previous text. Fig. 20 The S500 step in the embodiment is not described in detail here.

[0232] By using the control method of the camera module 103 in this embodiment, when the lens assembly 40 obtains the target focus position, the lens assembly 40 is locked at the target focus position, so that the lens assembly 40 can be maintained at the desired focus position for shooting without repeated focusing, which not only improves intelligence and facilitates user use, but also reduces power consumption caused by repeated focusing. In addition, there is no need to input current to the autofocus motor 20 to maintain the focus position, thereby saving power consumption of the autofocus motor 20.

[0233] It is understandable that after the locking motor 30 fixes and locks the lens assembly 40, the autofocus motor 20 can be automatically powered off to save electricity.

[0234] It is understandable that when the locking motor 30 in the above embodiment is used, after the locking motor has fixedly locked the lens assembly 40 , the locking motor 30 can still lock the lens assembly 40 after being powered off.

[0235] In some specific application scenarios, for example, in some embodiments, the camera mode needs to be used, such as when a course needs to be recorded. First, the photo or video mode is started, and then the electronic device 100 intelligently reads the focus data within a preset time period (for example, within 10 minutes), and then obtains whether the time when the lens assembly 40 is in a certain focus position (for example, the focus position when the focal length is 20 mm) exceeds the preset time length (for example, 3 minutes). The focus position when the focal length is 20 mm is the target focus position, and then the lens assembly 40 of the electronic device 100 completes the focus, so that the lens assembly 40 is in the target focus position, and then the lens assembly 40 is locked, for example, by starting and locking the lens assembly 40 at the focus position when the focal length is 20 mm through the locking motor 30, and then the locking motor 30 and the autofocus motor 20 can both stop working, but the lens assembly 40 can be locked at the focus position when the focal length is 20 mm, and continue to execute the camera instruction. The control method of the camera module 103 in this embodiment not only improves intelligence and facilitates user use, but also reduces power consumption caused by repeated focusing. Moreover, there is no need to input current to the autofocus motor 20 to maintain the focus position, thereby saving power consumption of the autofocus motor 20.

[0236] It can be understood that in this embodiment, the locking motor 30 can be manually input to exit the fixation of the lens assembly 40, or the locking motor 30 can be automatically exited by a preset intelligent method, such as turning off the shooting or video mode and then reopening the shooting or video mode.

[0237] Fig. 22 The present application provides a flowchart of another possible method for controlling the camera module 103. The method for controlling the camera module 103 can be applied to the electronic device 100 in the above embodiment. It is understandable that the method for controlling the camera module 103 can also be applied to electronic devices different from those in the above embodiment.

[0238] The embodiment of the present application further provides a control method of the camera module 103, which is applied to the electronic device 100 in the above embodiment. The control method of the camera module 103 includes the following steps:

[0239] S100, receiving an instruction to exit a photo or video recording mode.

[0240] S200, reading a target focus position within a preset time period.

[0241] In step S200, the target focus position may be Fig.21 The target focus position in the embodiments may also be a target focus position set according to other logics. For example, the target focus position when shooting a portrait and the target focus position when shooting a landscape may be different. For example, when determining the target focus position, it is possible to first identify whether the target object is a person or a landscape, and then determine the focus position of the lens assembly 40 whose corresponding time length exceeds the preset time length to obtain the target focus position.

[0242] In some embodiments, the target focus position is the focus position that the user is accustomed to, such as the focus position that the user often uses for taking pictures. For example, within a preset time period (such as the past month), the focus position used by the user for shooting for more than a preset time (such as 50 minutes) is the target focus position. It is understandable that the target focus position that the user is accustomed to can be a point or a range. The preset time period can be within the past 24 hours before starting the photo or video mode, or within the past 10 days before starting the photo or video mode, or all the time from activating the phone to starting the photo or video mode. It is understandable that the preset time period can be set according to demand.

[0243] S300 , the lens assembly 40 of the electronic device 100 moves to a target focusing position.

[0244] In step S300 , the lens assembly 40 may be driven by the auto focus motor 20 to move to a target focus position.

[0245] When executing step S300, it is first determined whether the lens assembly 40 is in the target focus position. Specifically, it can be determined intelligently by a preset method or manually by a manual input method.

[0246] When the lens assembly 40 is not at the target focus position, an auto focus signal is generated. In response to the auto focus signal, the electronic device 100 drives the lens assembly 40 to move to the target focus position by the auto focus motor 20 .

[0247] S400 , locking the lens assembly 40 of the electronic device 100 at a target focus position.

[0248] In step S400 , the lens assembly 40 may be locked at the target focus position by locking the motor 30 .

[0249] Specifically, after the lens assembly 40 moves to the target focus position that the user is used to, a locking signal is generated, the camera module 103 responds to the locking signal, and the locking motor 30 locks the lens assembly 40 at the target focus position. In this embodiment, the camera module 103 responds to the locking signal, and the locking motor 30 locks the lens assembly 40 at the target focus position. Fig. 20 The step S400 in the embodiment is not described in detail here.

[0250] S500, exit photo or video mode.

[0251] Through steps S100-S500, after each use of the photo or video mode of the electronic device 100, the lens assembly 40 of the electronic device 100 will be automatically locked at the target focus position (such as the focus position accustomed to the user), so that after the subsequent use of the photo or video mode of the electronic device 100, photos or videos can be taken directly at the target focus position.

[0252] For example, in some application scenarios where snapshots need to be taken, since the lens assembly 40 will automatically lock at the target focus position after the last use of the photo or video mode of the electronic device 100, when taking photos or videos again, the user can directly perform the photo or video function at the target focus position that the user is accustomed to. Compared with the mode of automatically focusing before taking photos when snapshotting, the snapshot reaction time is long and it is easy to be out of focus. The camera module 103 in this embodiment does not require the automatic focusing step when snapshotting, and the shooting speed is faster and the shooting effect is better.

[0253] In some implementations, after step S500, the control method of the camera module 103 further includes the following steps:

[0254] S600, in response to a photo taking instruction, taking a preset number of photos at a target focus position or in response to a video taking instruction, taking a video at a target focus position.

[0255] In step S600, a snapshot signal may be generated in a variety of ways. For example, in some embodiments, a snapshot signal may be generated after the camera module 103 is turned off and the photo or video mode is turned on again. For another example, in some embodiments, after the camera module 103 is turned on but the photo or video function is not used for a preset time period, a snapshot signal may be generated after the photo or video function is used again. In addition, the preset number of photos in S600 may be one or more photos.

[0256] In some embodiments, after step S600, the control method of the camera module 103 further includes:

[0257] S700, unlocking the lens assembly 40.

[0258] In step S700, an unlock signal may be generated after a preset number of photos are captured at the target focus position or after a video is shot at the target focus position. The camera module 103 responds to the unlock signal and the locking motor 30 cancels the lock on the lens assembly 40.

[0259] Of course, in some other implementations, the unlocking signal may also be generated by manual input.

[0260] After step S700, the control method of the camera module 103 further includes:

[0261] S800, the lens assembly 40 is automatically focused.

[0262] In step S800 , the camera module 103 may specifically respond to the auto-focus signal, and the auto-focus motor 20 may drive the camera module 103 to move to achieve auto-focus.

[0263] S900, taking a photo or video.

[0264] The step S900 of this embodiment can refer to the above Fig. 20 The S500 step in the embodiment is not described in detail here.

[0265] Through step S900, after the first round of snapshots are completed through step S600, the next round of photo taking can be performed through step S900, specifically, steps S700-S900 are executed in sequence to unlock and turn on the autofocus function. Through the focusing of the autofocus motor 20, photos or videos with different effects from when the lens assembly 40 is shot at the target focus position accustomed to the user can be obtained, thereby increasing the shooting diversity of photos or videos.

[0266] It should be noted that the electronic device 100 and camera module 103 provided in the embodiment of the present application may be the electronic device 100 and camera module 103 in the above embodiment, or other electronic devices 100 and camera module 103 having specific autofocus and locking functions but having different structures from the electronic device 100 and camera module 103 in the above embodiment. Similarly, the autofocus motor 20 and the locking motor 30 may be the autofocus motor 20 and the locking motor 30 in the above embodiment, or other structures of the autofocus motor 20 and the locking motor 30 capable of realizing autofocus. Similarly, the lens assembly 40 may be the lens assembly 40 in the above embodiment, or other structures of the lens assembly 40.

[0267] An embodiment of the present application also provides a chip, the chip includes a processor and a memory, the processor is coupled to the memory, the memory is used to store computer program code, the computer program code includes computer instructions, when the processor executes the computer instructions, the chip executes the control method of the camera module 103 as described above.

[0268] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A camera module, characterized in that: It includes a substrate, a locking motor, an autofocus motor and a lens assembly, wherein the autofocus motor surrounds and is connected to the lens assembly, and along the optical axis direction of the camera module, the locking motor is located between the substrate and the autofocus motor; The locking motor includes a locking assembly and a driving assembly, wherein the driving assembly is used to drive the locking assembly to a locked state after the camera module completes autofocus; the driving assembly is also used to drive the locking assembly to an unlocked state before the camera module starts autofocus; wherein, in the locked state, the locking assembly is used to lock the lens assembly so that the position of the lens assembly is fixed relative to the substrate; in the unlocked state, the locking assembly is unlocked from the lens assembly so that the camera module can automatically focus.

2. The camera module according to claim 1, characterized in that: The lens assembly includes a first part and a second part that are interconnected as a whole. The autofocus motor surrounds and is connected to the first part. In a first direction, the second part is opposite to the locking assembly. The locking assembly is used to lock or unlock with the second part. The first direction is perpendicular to the optical axis direction of the camera module.

3. The camera module according to claim 2, characterized in that: The second part is a sleeve-shaped structure, and the second part includes an outer wall, a bottom wall and an inner wall, the bottom wall faces the substrate, and the outer wall faces the locking assembly, and the locking assembly is used to hold the outer wall against the camera module after focusing is completed at any position.

4. The camera module according to claim 2 or 3, characterized in that: The locking assembly includes a base and a locking member movably arranged on the base, the base is fixedly connected between the substrate and the autofocus motor, and the driving assembly can drive the locking member to move relative to the base so that the locking member is locked or unlocked with the second part.

5. The camera module according to claim 4, characterized in that: There are two locking members, which are respectively a first locking member and a second locking member. One end of the first locking member and one end of the second locking member are both rotatably connected to the base. The driving component can drive the first locking member and the second locking member to rotate toward each other to resist and clamp the second part. The driving component can also drive the first locking member and the second locking member to rotate away from each other to unlock the first locking member and the second locking member from the second part.

6. The camera module according to claim 5, characterized in that: The driving assembly includes a first permanent magnet, a second permanent magnet, a first magnetic part, a second magnetic part and an electromagnet. The first permanent magnet is fixedly connected to the first locking part, the second permanent magnet is fixedly connected to the second locking part, the first magnetic part, the second magnetic part and the electromagnet are all fixed to the base, the electromagnet is located between the first permanent magnet and the second permanent magnet, the first permanent magnet is located between the first magnetic part and the electromagnet, the second permanent magnet is located between the second magnetic part and the electromagnet, and the electromagnet is used to drive the first locking part and the second locking part to rotate towards or away from each other.

7. The camera module according to claim 5, characterized in that: One end of the first locking member includes a first worm gear tooth portion, and the other end of the second locking member includes a second worm gear tooth portion. The driving assembly includes a power source, a rotating shaft, and a first worm gear tooth portion and a second worm gear tooth portion provided on the rotating shaft. The tooth directions of the first worm gear tooth portion and the second worm gear tooth portion are opposite. The first worm gear tooth portion is meshed with the first worm wheel gear portion, and the second worm gear tooth portion is meshed with the second worm wheel gear portion.

8. The camera module according to claim 4, characterized in that: There are multiple locking members, and the multiple locking members are arranged around the second part. The multiple locking members are rotatably connected to the base. The driving component can drive the multiple locking members to rotate in a first rotation direction to abut and clamp the second part. The driving component can also drive the multiple locking members to rotate in a second rotation direction to unlock the locking members from the second part, wherein the first rotation direction and the second rotation direction are opposite.

9. The camera module according to claim 8, characterized in that: The driving assembly includes a turntable, a worm and a power source. The turntable is rotatably connected to the base. The turntable includes a worm gear portion. The worm is meshed with the worm gear portion. A plurality of locking members are rotatably connected to the turntable. A rotating shaft for the locking member to rotate relative to the base and a rotating shaft for the locking member to rotate relative to the turntable are arranged at intervals. The power source can drive the worm to rotate forward or reversely, so as to drive the turntable to rotate forward or reversely, so as to drive a plurality of the locking members to rotate in a first rotation direction or a second rotation direction.

10. The camera module according to claim 4, characterized in that: There are two locking members, which are respectively a first locking member and a second locking member. The first locking member and the second locking member are both slidably connected to the base along a preset direction. The driving component can drive the first locking member and the second locking member to slide toward each other along the preset direction to resist and clamp the second part so that the first locking member and the second lock are locked with the second part. The driving component can also drive the first locking member and the second locking member to slide away from each other along the preset direction so that the first locking member and the second lock are unlocked from the second part.

11. The camera module according to claim 10, characterized in that: The driving assembly includes a rotating shaft, a power source, and a first threaded portion and a second threaded portion arranged on the rotating shaft. The axial direction of the rotating shaft is the same as the preset direction. The first locking member is engaged with the first threaded portion, and the second locking member is engaged with the second threaded portion. The power source can drive the rotating shaft to rotate forward or reversely to drive the first locking member and the second locking member to slide relative to or away from each other.

12. The camera module according to any one of claims 1 to 11, characterized in that: The camera module also includes an image processing module. The locking motor surrounds a receiving space. The image processing module is disposed in the receiving space. The image processing module is disposed on the substrate and is located between the substrate and the lens assembly.

13. A camera module, characterized in that: It includes a lens assembly, a locking motor and an autofocus motor. The locking motor and the autofocus motor are stacked along the optical axis direction of the camera module. The locking motor and the autofocus motor are two independent lens assembly drive modules. The autofocus motor surrounds and is connected to the lens assembly. The autofocus motor is used to drive the lens assembly along the optical axis direction to achieve focusing. When the lens assembly is located at any stroke point in the focusing stroke, the locking motor can be locked or unlocked with the lens assembly.

14. An electronic device, characterized in that: It comprises a processor and a camera module as described in any one of claims 1 to 13 above, wherein the processor is electrically connected to the camera module.

15. A method for controlling a camera module, applied to the electronic device according to claim 14, characterized in that: The control method of the camera module includes: Start the photo or video mode; Detecting whether the electronic device enters a sports mode; After determining that the electronic device is in the motion mode, the autofocus motor is started and drives the lens assembly to move to achieve autofocus; After the automatic focusing is completed, the locking motor starts and locks the lens assembly; Take a photo or video.

16. A camera module control method, applied to electronic equipment, characterized in that: The control method of the camera module includes: Start the photo or video mode; Reading focus data within a preset time period, wherein the focus data includes a focus position and a duration; Acquire a target focus position from the focus data, wherein the target focus position is a position where a duration corresponding to a focus position of a lens assembly of the electronic device exceeds a preset duration; The lens assembly of the electronic device completes focusing at the target focusing position; locking the lens assembly at the target focus position; Take a photo or video.

17. A camera module control method, applied to electronic equipment, characterized in that: The control method of the camera module includes: Receive a command to exit the photo or video mode; Read the target focus position; The lens assembly of the electronic device moves to the target focusing position; locking a lens assembly of the electronic device at the target focus position; Exit the photo or video mode.

18. The method for controlling a camera module according to claim 17, characterized in that: The method further comprises: In response to a photo taking instruction, a preset number of photos are taken at the target focus position, or in response to a video taking instruction, a video is taken at the target focus position.

19. The method for controlling a camera module according to claim 17 or 18, characterized in that: After taking a preset number of photos or taking a video at the target focus position, the control method of the camera module further includes: Unlock the lens assembly.

20. A chip, characterized in that: It includes a processor and a memory, the processor is coupled to the memory, the memory is used to store computer program code, the computer program code includes computer instructions, and when the processor executes the computer instructions, the chip executes the control method of the camera module described in any one of claims 15-19.

Citation Information

Patent Citations

  • Imaging device

    CN108604045A

  • Optical lens, camera module, electronic equipment and shooting method of camera module

    CN114167570A

  • Camera device and intelligent terminal

    CN115604559A

  • Camera and electronic equipment

    CN115802138A

  • Image blur reduction device, lens device, and imaging apparatus

    JP2019105769A

Cited By

  • Motor, camera module and electronic equipment

    CN120166296A

  • Motor, camera module, and electronic device

    WO2026166355A1