CN113766109A - Camera module, lens switching control method, device and equipment - Google Patents

Camera module, lens switching control method, device and equipment Download PDF

Info

Publication number
CN113766109A
CN113766109A CN202111026803.0A CN202111026803A CN113766109A CN 113766109 A CN113766109 A CN 113766109A CN 202111026803 A CN202111026803 A CN 202111026803A CN 113766109 A CN113766109 A CN 113766109A
Authority
CN
China
Prior art keywords
image sensor
lens
camera module
driving mechanism
lenses
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111026803.0A
Other languages
Chinese (zh)
Inventor
扬世刚
李廷
曹东升
蔡蓉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Thunder Software Technology Co ltd
Original Assignee
Chengdu Thunder Software Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Thunder Software Technology Co ltd filed Critical Chengdu Thunder Software Technology Co ltd
Priority to CN202111026803.0A priority Critical patent/CN113766109A/en
Publication of CN113766109A publication Critical patent/CN113766109A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/50Constructional details
    • H04N23/55Optical parts specially adapted for electronic image sensors; Mounting thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/57Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices

Abstract

The invention discloses a camera module, a switching control method, a device and equipment of a lens, wherein the camera module comprises: the device comprises a bearing piece, a plurality of lenses fixedly arranged on the bearing piece, an image sensor which is positioned below the lenses and can move, and a driving mechanism; the driving mechanism is used for driving the image sensor to move so as to align the image sensor with one of the lenses. The camera module realizes the multiplexing of the image sensor by matching the image sensor with the plurality of lenses, and meets the requirement of a user on the diversification of the camera function; simultaneously, the whole volume and the cost of camera module have been reduced, and the relative motion between camera lens and the external equipment has been avoided to a plurality of camera lenses of fixed mounting, and then has avoidd to have the gap between camera lens and the external equipment, has reached the sealed requirements such as dustproof and waterproof. Further, when the imaging quality of the image sensor is high, the image acquired by each matched lens can have a high imaging effect.

Description

Camera module, lens switching control method, device and equipment
Technical Field
The invention relates to the technical field of electronic equipment, in particular to a camera module, a lens switching control method, a lens switching control device and equipment.
Background
Along with the development of intelligent terminal and communication, intelligent terminal's shooting function is stronger and stronger, and the quantity that sets up of camera is also more and more, for example from the single camera of the tight shot of original function machine to the camera of zooming in tandem of intelligent machine, the camera etc. after two front four that appear now again. The setting mode of a plurality of cameras on the mobile terminal, its function has increased the macro and has shot, long-focus is shot and wide angle shooting etc. and it can promote the experience that the consumer shot, but has also increased the cost, leads to the cell-phone price to rise, especially image sensing chip (sensor), accounts for than higher in the cost of whole camera module.
On the other hand, because of cost and design, in a plurality of camera modules of cell-phone, often only main camera module chooses for use the image sensing chip that imaging quality is higher, and other vice cameras then choose for use the image sensing chip that the price is lower relatively, leads to vice camera's the imaging effect not to reach main camera, has influenced user's use and has experienced.
Disclosure of Invention
The inventor finds that in general, the camera modules of the terminal equipment are all composed of one sensor, one lens and other components, and at present, a mobile phone has a plurality of camera modules, so that a mobile phone camera has a plurality of module switching phenomena; moreover, much time is consumed when the camera modules are switched, and much effort is consumed by research personnel in software debugging because the switching time of the camera is optimized within dozens of milliseconds; in addition, in the initial stage of the project, because the number of camera modules of the terminal equipment is large, the lighting of the camera modules also takes a large amount of time.
In view of the above problems, the present invention has been made to provide a camera module, a switching control method of a lens, a device and an apparatus that overcome or at least partially solve the above problems.
In a first aspect, an embodiment of the present invention provides a camera module, which may include: the device comprises a bearing piece, a plurality of lenses fixedly arranged on the bearing piece, an image sensor which is positioned below the lenses and can move, and a driving mechanism;
the driving mechanism is used for driving the image sensor to move so as to align the image sensor with one of the lenses.
Optionally, the method may further include: a rail disposed on the carrier; the image sensor is arranged on the track;
the arrangement mode of the lenses on the bearing piece is matched with the shape of the track;
the driving mechanism is used for driving the image sensor to move on the track.
Optionally, the method may further include: a rack and a gear connected to the drive mechanism; the rack is meshed with the gear;
the image sensor is arranged at one end of the rack far away from the gear; the arrangement mode of the lenses on the bearing piece is matched with the extending shape of the rack;
the driving mechanism is used for driving the gear to rotate so as to drive the image sensor on the rack to move.
Optionally, the method may further include: a turntable;
the image sensor is arranged on the turntable; the driving mechanism is used for driving the turntable to rotate so as to drive the image sensor to rotate;
the bearing piece is disc-shaped, and the plurality of lenses are arranged on the bearing piece according to a preset angle.
Optionally, the method may further include: the gear-type power transmission device comprises a rotating shaft, a gear and a rack which is meshed with the rotating shaft and the gear respectively;
the rotating shaft is arranged in the center of the rotating disc, and the gear is connected with the driving mechanism;
the driving mechanism is used for driving the gear to rotate so as to drive the rotating shaft meshed with the rack to rotate, so that the turntable drives the image sensor to rotate.
Optionally, the method may further include: a transmission belt; the driving mechanism is connected with the rotary table through the transmission belt;
the driving mechanism drives the turntable to rotate through the transmission belt, so that the image sensor on the turntable rotates.
In a second aspect, an embodiment of the present invention provides a method for controlling switching of lenses in a camera module according to the first aspect, where the method includes:
receiving a control instruction, and determining a matched target lens according to scene parameters contained in the control instruction;
judging whether the target lens is a current lens aligned by the image sensor;
if not, controlling the driving mechanism to drive the image sensor to move below the target lens and align;
wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time.
Optionally, the controlling the driving mechanism to drive the image sensor to move below the target lens and align includes:
calculating the movement displacement and/or the rotation angle of the image sensor according to the position of the current lens and the position of the target lens;
and controlling the driving mechanism to drive the image sensor to move by corresponding displacement and/or rotate by corresponding angle to be aligned with the target lens.
Optionally, the method may further include:
the camera module is started to respectively acquire image data acquired by the image sensor under the plurality of lenses;
comparing the definition values of the image data collected by the image sensor under the lens, and rotating the lens matched with the image sensor;
controlling the driving mechanism to drive the image sensor to move below the lens and align;
or the like, or, alternatively,
and the camera module is started to control the driving mechanism to drive the image sensor to move to a position below the default lens and align.
Optionally, before controlling the driving mechanism to drive the image sensor to move below the target lens and align, the method may further include:
and controlling the image sensor to stop collecting image data.
In a third aspect, an embodiment of the present invention provides a device for controlling switching of lenses in a camera module according to the first aspect, where the device includes:
the receiving module is used for receiving a control instruction;
the determining module is used for determining the matched target shot according to the scene parameters contained in the control instruction;
the judging module is used for judging whether the target lens is a current lens aligned by the image sensor;
the moving module is used for controlling the driving mechanism to drive the image sensor to move to a position below the target lens and align if the judging module judges that the image sensor is not located;
wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time.
In a fourth aspect, an embodiment of the present invention provides an electronic device, which may include: a housing and the camera module of the first aspect;
the camera module is fixedly arranged on the shell.
Optionally, the electronic device may further include: a main control board;
a plurality of shooting windows are arranged on the shell; the plurality of lenses correspond to the shooting windows; the image sensor and the driving mechanism are respectively electrically connected with the main control board.
In a fifth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the lens switching control method according to the second aspect.
In a sixth aspect, an embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the lens switching control method according to the second aspect when executing the program.
The technical scheme provided by the embodiment of the invention has the beneficial effects that at least:
the embodiment of the invention provides a camera module, a lens switching control method, a lens switching control device and equipment, wherein the camera module comprises: the device comprises a bearing piece, a plurality of lenses fixedly arranged on the bearing piece, an image sensor which is positioned below the lenses and can move, and a driving mechanism; the driving mechanism is used for driving the image sensor to move so as to align the image sensor with one of the lenses. The camera module provided by the embodiment of the invention realizes the multiplexing of the image sensor by matching the image sensor with the plurality of lenses, and meets the requirement of a user on the diversification of the camera shooting function; simultaneously, the whole volume and the cost of camera module have been reduced, and the relative motion between camera lens and the external equipment has been avoided to a plurality of camera lenses of fixed mounting, and then has avoidd the defect that has the gap to lead to airtight requirements such as dustproof and waterproof between camera lens and the external equipment.
Further, when image sensor's imaging quality is higher, just can make the image that every camera lens of matching was gathered all have higher formation of image effect to make the whole formation of image effect of the module of making a video recording obtain promoting, and then can promote user's use and experience.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 2 is a second schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 3 is a third schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 4 is a fourth schematic structural diagram of a camera module according to an embodiment of the present invention;
fig. 5 is a fifth schematic structural view of a camera module according to an embodiment of the present invention;
fig. 6 is a sixth schematic structural view of a camera module according to an embodiment of the present invention;
fig. 7 is a flowchart of a lens switching control method according to an embodiment of the present invention;
fig. 8 is a detailed flowchart of a lens switching control method according to an embodiment of the present invention;
fig. 9 is an example of a specific handover control method provided in the embodiment of the present invention;
fig. 10 is a schematic structural diagram of a lens switching control device according to an embodiment of the present invention.
Wherein 10 is a bearing part; 11 is a lens; 12 is an image sensor; 13 is a driving mechanism; 14 is a track; 15 is a rack; 16 is a gear; 17 is a rotary table; 18 is a rotating shaft; and 19 is a transmission belt.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
An embodiment of the present invention provides a camera module, and referring to fig. 1 to 6, the camera module may include: a carrier 10, a plurality of lenses 11 fixedly disposed on the carrier 10, an image sensor 12 movable below the lenses 11, and a driving mechanism 13; the driving mechanism 13 is used for driving the image sensor 12 to move so as to align the image sensor 12 with one of the lenses 11.
The camera module provided by the embodiment of the invention realizes the multiplexing of the image sensor by matching the image sensor with the plurality of lenses, and meets the requirement of a user on the diversification of the camera shooting function; meanwhile, the embodiment of the invention reduces the whole volume and the cost of the camera module, and the plurality of lenses which are fixedly arranged avoid the relative movement between the lenses and the external equipment, thereby avoiding the gap between the lenses and the external equipment and meeting the sealing requirements of dust prevention, water prevention and the like.
Further, when image sensor's imaging quality is higher, just can make the image that every camera lens of matching was gathered all have higher formation of image effect to make the whole formation of image effect of the module of making a video recording obtain promoting, and then can promote user's use and experience. Furthermore, one image sensor is used for matching, so that the development period of engineers is shortened, and the optimization in the whole software debugging is more convenient.
It should be noted that the lens in the embodiment of the present invention includes, but is not limited to, the following lenses: a macro lens, a telephoto lens, a wide-angle lens, a zoom lens, and a fixed focus lens. It should be noted that, the camera module in this embodiment may further include a hollow housing, the bearing, the lens, the image sensor, and the driving mechanism are disposed in a hollow structure surrounded by the housing, and the bearing and the driving mechanism are disposed on an inner surface of the housing respectively.
The embodiment of the invention provides two lens arrangement modes, one is linear arrangement mode, and the other is circumferential distribution mode, wherein the two lens arrangement modes adopt different driving modes when driving the image sensor to move and align, and the specific description is as follows.
It should be noted that, in the embodiment of the present invention, the driving mechanism may be a voice coil motor, a piezoelectric ceramic motor, a stepper motor, or the like, and the specific type or type of the driving mechanism is not limited in the embodiment of the present invention.
In an optional embodiment, the lens arrangement in this embodiment is a linear arrangement, and referring to fig. 2, the camera module may further include: a rail 14 provided on the carrier 10; the image sensor 12 is mounted on the rail 14;
the arrangement of the plurality of lenses 11 on the carrier 10 matches the shape of the rail 14;
the driving mechanism 13 is used for driving the image sensor 12 to move on the rail 14.
The rail provided in the embodiment of the present invention may be a slide rail, and the rail may support the image sensor, and the image sensor may slide on the rail. Furthermore, the inventor finds that if one image sensor matches multiple lenses, when the multiple lenses move and the image sensor is fixedly arranged, empty spaces of the multiple lenses need to be reserved to match all the lenses (for example, if there are n lenses, there need to be 2n-1 lens positions to match all the lenses).
In another alternative embodiment, the lens arrangement in this embodiment is a linear arrangement, and referring to fig. 3, the camera module may further include: a rack 15 and a gear 16 connected to the drive mechanism 13; the rack 15 is meshed with the gear 16;
the image sensor 12 is arranged at one end of the rack 15 far away from the gear 16; the arrangement mode of the plurality of lenses 11 on the carrier 10 is matched with the extending shape of the rack 15;
the driving mechanism 13 is used for driving the gear 16 to rotate so as to drive the image sensor 12 on the rack 15 to move.
In this embodiment, the driving gear drives the rack to stretch when rotating, so as to drive the image sensor to move under one of the lenses and align. It should be noted that the rack in this embodiment may be a long strip or a curved rack, and the specific shape of the rack is not limited in this embodiment of the present invention, but the arrangement manner of the plurality of lenses on the carrier must match the shape of the rack, that is, match the movement track of the rack. It should be noted that, in the present embodiment, the rack is configured such that only one side of the rack engaged with the gear is provided with teeth, and the other side is used for fixedly mounting the image sensor.
In another alternative embodiment, the lens arrangement manner in this embodiment is a circumferential distribution arrangement manner, and as shown in fig. 4, the camera module may further include: a turntable 17;
the image sensor 12 is arranged on the turntable 17; the driving mechanism 13 is used for driving the turntable 17 to rotate, so that the turntable 17 drives the image sensor 12 to rotate; the carrier 10 has a disk shape, and a plurality of lenses 11 are arranged on the carrier 10 at a predetermined angle.
It should be noted that, in the embodiment of the present invention, the centers of the turntable and the carrier are located on the same straight line in the vertical direction. Further, in this embodiment, the distance from the axis of each lens to the center of the bearing member is also the same, and the distance is the same as the distance from the image sensor to the center of the turntable, so that it can be ensured that the image sensor on the turntable can be matched with any lens when the turntable rotates.
When the image sensor in the embodiment of the present invention is disposed on the turntable, at least 3 driving methods may be adopted to drive the turntable to rotate, which are as follows:
< embodiment 1>
Referring to fig. 4, the output end of the driving mechanism 13 is directly connected to the center of the turntable 17, that is, the output end of the driving mechanism is vertically connected to the center of the turntable, and when the driving mechanism drives the turntable to rotate, the driving mechanism drives the image sensor on the turntable to move.
The inventor finds that when the driving mechanisms are connected to the center of the turntable, the thickness of the whole camera module is larger, and such an assembly relationship is not favorable for being applied to ultrathin intelligent electronic equipment, such as a smart phone, a smart tablet computer and the like, and the space occupation of the camera module used by the intelligent electronic equipment is as small as possible. In order to save the space occupation ratio of the camera module, the inventor innovatively adopts the driving connection modes of the modes 2 and 3.
< mode 2>
Referring to fig. 5, the camera module may include: a rotating shaft 18, a gear 16 and a rack 15 respectively engaged with the rotating shaft 18 and the gear 16; the rotating shaft 18 is arranged at the center of the rotating disc 17, and the gear 16 is connected with the driving mechanism 13; the driving mechanism 13 is used for driving the gear 16 to rotate so as to drive the rotating shaft 18 meshed with the rack 15 to rotate, so that the turntable 17 drives the image sensor 12 to rotate.
It should be noted that, in the embodiment of the present invention, the driving mechanism is disposed side by side with other portions of the camera module, so that the space in the vertical direction is compressed, and the thickness of the whole camera module is reduced. The turntable is driven to drive the image sensor to rotate to a position below the target lens and align the target lens in a mechanical connection mode of a gear, a rack, a rotating shaft and the like.
< mode 3>
Referring to fig. 6, the camera module may include: a belt 19; the driving mechanism 13 is connected with the rotary table 17 through a transmission belt 19;
the driving mechanism 13 drives the turntable 17 to rotate through the transmission belt 19, so as to rotate the image sensor 12 on the turntable 17.
It should be noted that the above-mentioned driving belt can be a belt or a chain, and when the above-mentioned driving belt is used, a clamping groove can be arranged at the circumferential edge of the turntable so as to facilitate the embedding of the driving belt, and a protrusion/convex tooth can also be arranged at the circumferential edge of the turntable so as to facilitate the clamping of the chain and the like. Of course, a transmission shaft may be disposed at the center of the turntable to connect the transmission belt, and the connection manner of the transmission belt and the turntable is not particularly limited in the embodiment of the present invention.
Based on the same inventive concept, an embodiment of the present invention further provides a method for controlling switching of lenses in the camera module, in the present invention, switching of lenses is implemented by moving a position of an image sensor, and as shown in fig. 7, the method may include the following steps:
and step S71, receiving a control command.
In this step, the control instruction received by the camera module may be a control instruction sent by a user, or a control instruction sent by an upper control device of the camera module. For example, when the camera module is installed on a smart phone, a control instruction for switching a photographing mode (and generating a switching lens) by clicking a user can be received, or the control instruction can be sent by the smart phone when an APP in the smart phone is adapted to a photographing scene.
And step S72, determining the matched target shot according to the scene parameters contained in the control command.
It should be noted that the control instruction in the embodiment of the present invention includes scene parameters, and different scene parameters may match different camera lenses, and this step is mainly a process of identifying and determining a target lens.
Wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time. The photographing mode may include: the method comprises a portrait shooting mode, a large-aperture shooting mode, a night scene shooting mode and the like.
And step S73, judging whether the target lens is the current lens aligned by the image sensor. If not, go to step S74; otherwise, step S75 is executed.
And step S74, controlling the driving mechanism to drive the image sensor to move to the position below the target lens and align.
And step S75, lenses do not need to be switched.
The method for controlling the lens switching in the camera module, provided by the embodiment of the invention, determines the target lens matched with the photographing by identifying the scene parameters contained in the control command, judges whether the target lens is the current lens aligned with the image sensor, and controls the driving mechanism to drive the image sensor to move to the position below the target lens and align the target lens if the target lens is not the current lens aligned with the image sensor. The lens switching control method is a control method aiming at matching a plurality of lenses with one image sensor, realizes the multiplexing of the image sensor and meets the requirement of a user on the diversification of the camera shooting function.
In an optional embodiment, the implementation of step S74 includes: calculating the movement displacement and/or the rotation angle of the image sensor according to the position of the current lens and the position of the target lens;
and controlling the driving mechanism to drive the image sensor to move by corresponding displacement and/or rotate by corresponding angle to be aligned with the target lens.
It should be noted that, in the embodiment of the present invention, it is necessary to pre-store the configuration information of the lens and the position information of the lens, and the upper control device controlling the camera module generates the driving control instruction according to the configuration information and the position information, so as to control the image sensor to move under the target lens and align when it is determined that the target lens is not the current lens aligned by the image sensor.
In a specific embodiment, referring to fig. 8, after the camera module is started, the method for controlling switching of lenses in the camera module may specifically include the following steps:
step S801, acquiring image data collected by the image sensor under the plurality of lenses respectively.
In this step, after the camera module is opened, the driving mechanism can drive the image sensor to move under each lens and align, and then image data is collected to generate a plurality of images.
And S802, comparing the definition values of the image data collected by the image sensor under the lens, and selecting the lens matched with the image sensor.
In this step, sharpness value comparison is performed on a plurality of collected image data (i.e., generated images), for example, images with the highest sharpness under all different shots are compared, and the shot is determined as a shot paired with the image sensor.
Step S803, control the driving mechanism to drive the image sensor to move under the lens and align. At this time, the image acquired under the shot is the clearest image, but the image is not necessarily a shooting scene required by the user or APP.
And step S804, controlling the driving mechanism to drive the image sensor to move to a position below the default lens and align.
And step S805, receiving a control instruction. This step can be referred to as step S71, and will not be described herein.
Step S806, determining the matched target shots according to the scene parameters included in the control command. This step can be referred to as step S72, and will not be described herein.
Step S807, determine whether the target lens is the current lens aligned by the image sensor. If not, executing step S808; otherwise, step S811 is performed. This step can be referred to as step S73, and will not be described herein.
And step S808, controlling the image sensor to stop collecting the image data. In the step, the image sensor stops collecting the image data, so that the situation that the collected image data is not a correct image or the collected image data is incomplete when the lens is switched is avoided, and poor picture experience such as unsmooth blocking is avoided for a user.
And step 809, calculating the movement displacement and/or the rotation angle of the image sensor according to the position of the current lens and the position of the target lens. In this step, the displacement or angle of the image sensor from the aligned current lens to the target lens is calculated by calculating the position information of the lens and the position information of the target lens, so as to generate a control command of movement to control the driving mechanism to move the image sensor.
It should be noted that, in this embodiment, the execution sequence of the step S808 and the step S809 is not sequential, the step S808 may be executed first, the step S809 may be executed first, or the steps may also be executed simultaneously, which is not specifically limited in this embodiment of the present invention.
And step S810, controlling the driving mechanism to drive the image sensor to move by corresponding displacement and/or rotate by corresponding angle, and aligning with the target lens.
Step S811, no lens switching is required.
After step S810 or step S811 is executed, image data is collected and an image is generated, and then a next control instruction is received, which is not described again in the embodiment of the present invention.
In a more specific embodiment, referring to fig. 9, the upper control device of the camera module is a camera apk, and after the camera module is turned on, it is determined whether a lens needs to be switched, and if the lens does not need to be switched, an image is previewed directly and normally; if the lens needs to be switched, the camera apk controls the image sensor to acquire image data (stream off) so as to avoid the occurrence of an imaging stuck phenomenon, and the stream off is used for turning off the sensor to acquire data so as to prevent the sensor from moving to cause poor picture experience for a user; feeding a finished result of stream off back to the camera apk, controlling a driving mechanism (such as a driving motor) to operate by the camera apk so as to drive an image sensor (sensor) to move, wherein the camera apk mainly issues an instruction to which lens the camera apk needs to move, and then the camera HAL controls a specific moving distance and drives the motor to complete the movement of the sensor; and after the image sensor reaches the target lens, starting to collect data (stream on), and immediately issuing the stream on after the camera apk receives the completion of the movement of the sensor, so that the sensor starts to collect the data.
Based on the same inventive concept, an embodiment of the present invention further provides a device for controlling switching of lenses in a camera module, and as shown in fig. 10, the device may include: the receiving module 14, the determining module 15, the judging module 16 and the moving module 13 work according to the following working principles:
the receiving module 14 is configured to receive a control instruction.
The determining module 15 is configured to determine the matched target shots according to the scene parameters included in the control instruction; wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time.
The judging module 16 is configured to judge whether the target lens is a current lens aligned with the image sensor.
And if the judgment module judges that the image sensor is not under the target lens, the moving module 13 is used for controlling the driving mechanism to drive the image sensor to move under the target lens and align the image sensor.
In an alternative embodiment, referring to fig. 10, the apparatus may further include a calculation module 17, where the calculation module 17 is configured to calculate a displacement and/or an angle of the image sensor according to a current lens position and a target lens position, so as to control the driving mechanism to drive the image sensor to move by the corresponding displacement and/or angle.
In an alternative embodiment, referring to fig. 10, the apparatus may further include: the camera module is started, and the acquisition module 11 respectively acquires image data acquired by the image sensor under the plurality of lenses; the selection module 12 compares the definition values of the image data acquired by the image sensor under the lens, and selects the lens matched with the image sensor; the moving module 13 is further configured to control the driving mechanism to drive the image sensor to move under the lens and align.
In another alternative embodiment, referring to fig. 10, the camera module is started, and the moving module 13 is further configured to control the driving mechanism to drive the image sensor to move to a position below the default lens and align the image sensor.
In another alternative embodiment, before the moving module 13 controls the driving mechanism to drive the image sensor to move below the target lens and align, the method may further include: and controlling the image sensor to stop collecting image data.
With regard to the switching control device of the lens in the above embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which may include: the camera module comprises a shell and the camera module; the camera module is fixedly arranged on the shell.
The electronic device in this embodiment may be a smart phone, a smart tablet, a smart camera, and the like, which is not limited in this embodiment of the present invention.
In an optional embodiment, the electronic device may further include a main control board; a plurality of shooting windows are arranged on the shell; the plurality of lenses correspond to the shooting windows; the image sensor and the driving mechanism are respectively electrically connected with the main control board.
Based on the same inventive concept, the embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for controlling switching of lenses in the camera module.
Based on the same inventive concept, the embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the method for controlling switching of lenses in the camera module when executing the program.
The above electronic device, the computer-readable storage medium, and the computer device in the embodiments of the present invention have been described in detail in the above camera module or the method for controlling switching of lenses in the camera module, and will not be described in detail herein.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (15)

1. The utility model provides a camera module which characterized in that includes: the device comprises a bearing piece, a plurality of lenses fixedly arranged on the bearing piece, an image sensor which is positioned below the lenses and can move, and a driving mechanism;
the driving mechanism is used for driving the image sensor to move so as to align the image sensor with one of the lenses.
2. The camera module of claim 1, further comprising: a rail disposed on the carrier; the image sensor is arranged on the track;
the arrangement mode of the lenses on the bearing piece is matched with the shape of the track;
the driving mechanism is used for driving the image sensor to move on the track.
3. The camera module of claim 1, further comprising: a rack and a gear connected to the drive mechanism; the rack is meshed with the gear;
the image sensor is arranged at one end of the rack far away from the gear; the arrangement mode of the lenses on the bearing piece is matched with the extending shape of the rack;
the driving mechanism is used for driving the gear to rotate so as to drive the image sensor on the rack to move.
4. The camera module of claim 1, further comprising: a turntable;
the image sensor is arranged on the turntable; the driving mechanism is used for driving the turntable to rotate so as to drive the image sensor to rotate;
the bearing piece is disc-shaped, and the plurality of lenses are arranged on the bearing piece according to a preset angle.
5. The camera module of claim 4, further comprising: the gear-type power transmission device comprises a rotating shaft, a gear and a rack which is meshed with the rotating shaft and the gear respectively;
the rotating shaft is arranged in the center of the rotating disc, and the gear is connected with the driving mechanism;
the driving mechanism is used for driving the gear to rotate so as to drive the rotating shaft meshed with the rack to rotate, so that the turntable drives the image sensor to rotate.
6. The camera module of claim 4, further comprising: a transmission belt; the driving mechanism is connected with the rotary table through the transmission belt;
the driving mechanism drives the turntable to rotate through the transmission belt, so that the image sensor on the turntable rotates.
7. A method for controlling the switching of the lens in the camera module according to any one of claims 1 to 6, comprising:
receiving a control instruction, and determining a matched target lens according to scene parameters contained in the control instruction;
judging whether the target lens is a current lens aligned by the image sensor;
if not, controlling the driving mechanism to drive the image sensor to move below the target lens and align;
wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time.
8. The method of claim 7, wherein controlling the drive mechanism to drive the image sensor to move under the target lens and align comprises:
calculating the movement displacement and/or the rotation angle of the image sensor according to the position of the current lens and the position of the target lens;
and controlling the driving mechanism to drive the image sensor to move by corresponding displacement and/or rotate by corresponding angle to be aligned with the target lens.
9. The method of claim 7, further comprising:
the camera module is started to respectively acquire image data acquired by the image sensor under the plurality of lenses;
comparing the definition values of the image data collected by the image sensor under the lens, and rotating the lens matched with the image sensor;
controlling the driving mechanism to drive the image sensor to move below the lens and align;
or the like, or, alternatively,
and the camera module is started to control the driving mechanism to drive the image sensor to move to a position below the default lens and align.
10. The method according to any one of claims 7 to 9, wherein before controlling the driving mechanism to drive the image sensor to move under the target lens and align, further comprising:
and controlling the image sensor to stop collecting image data.
11. A switching control device for a lens in a camera module according to any one of claims 1 to 6, comprising:
the receiving module is used for receiving a control instruction;
the determining module is used for determining the matched target shot according to the scene parameters contained in the control instruction;
the judging module is used for judging whether the target lens is a current lens aligned by the image sensor;
the moving module is used for controlling the driving mechanism to drive the image sensor to move to a position below the target lens and align if the judging module judges that the image sensor is not located;
wherein the scene parameters include at least one of: shooting mode, light brightness, object focusing distance and shooting time.
12. An electronic device, comprising: a housing and a camera module according to any one of claims 1 to 6;
the camera module is fixedly arranged on the shell.
13. The electronic device of claim 12, further comprising: a main control board;
a plurality of shooting windows are arranged on the shell; the plurality of lenses correspond to the shooting windows; the image sensor and the driving mechanism are respectively electrically connected with the main control board.
14. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the method of controlling switching of lenses in a camera module according to any one of claims 1 to 6 according to any one of claims 7 to 10.
15. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method for controlling switching of a lens in a camera module according to any one of claims 7 to 10 when executing the program.
CN202111026803.0A 2021-09-02 2021-09-02 Camera module, lens switching control method, device and equipment Pending CN113766109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111026803.0A CN113766109A (en) 2021-09-02 2021-09-02 Camera module, lens switching control method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111026803.0A CN113766109A (en) 2021-09-02 2021-09-02 Camera module, lens switching control method, device and equipment

Publications (1)

Publication Number Publication Date
CN113766109A true CN113766109A (en) 2021-12-07

Family

ID=78792683

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111026803.0A Pending CN113766109A (en) 2021-09-02 2021-09-02 Camera module, lens switching control method, device and equipment

Country Status (1)

Country Link
CN (1) CN113766109A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973946A (en) * 2013-01-29 2014-08-06 亚洲光学股份有限公司 Image acquisition device sharing image sensing assembly
CN107566707A (en) * 2017-09-29 2018-01-09 努比亚技术有限公司 Two-lens photographic device and mobile terminal
CN108881680A (en) * 2018-06-12 2018-11-23 维沃移动通信有限公司 A kind of camera structure and mobile terminal
CN109922179A (en) * 2019-03-21 2019-06-21 维沃移动通信(杭州)有限公司 A kind of camera module, camera control method and terminal
CN212086319U (en) * 2020-06-30 2020-12-04 北京小米移动软件有限公司 Camera module and electronic equipment
CN112351156A (en) * 2019-08-06 2021-02-09 华为技术有限公司 Lens switching method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973946A (en) * 2013-01-29 2014-08-06 亚洲光学股份有限公司 Image acquisition device sharing image sensing assembly
CN107566707A (en) * 2017-09-29 2018-01-09 努比亚技术有限公司 Two-lens photographic device and mobile terminal
CN108881680A (en) * 2018-06-12 2018-11-23 维沃移动通信有限公司 A kind of camera structure and mobile terminal
CN109922179A (en) * 2019-03-21 2019-06-21 维沃移动通信(杭州)有限公司 A kind of camera module, camera control method and terminal
CN112351156A (en) * 2019-08-06 2021-02-09 华为技术有限公司 Lens switching method and device
CN212086319U (en) * 2020-06-30 2020-12-04 北京小米移动软件有限公司 Camera module and electronic equipment

Similar Documents

Publication Publication Date Title
CN102016680B (en) Interchangeable lens, camera body, and camera system
CN102147556B (en) Focusing method and device for mobile device and mobile device
CN101098398A (en) Digital camera and controlling method for digital camera
CN105227819A (en) Change joint, camera arrangement and image capture method
US7483219B2 (en) Imaging apparatus and driving method of its imaging optical system
US7274401B2 (en) Digital camera for fast start up
CN104285172A (en) Image pickup apparatus, lens apparatus, and image pickup system
CN101364032A (en) Projection device
CN104079837A (en) Focusing method and device based on image sensor
CN103376618B (en) Lens devices and the imaging device that comprises this lens devices
US20130070124A1 (en) Lens barrel, imaging pickup device, and camera
KR0116359Y1 (en) Zoom lens camera
CN102628979B (en) Zoom type lens barrel and image pickup apparatus
US20120026300A1 (en) Imaging apparatus
CN110381245B (en) Image acquisition device
CN113766109A (en) Camera module, lens switching control method, device and equipment
CN2632725Y (en) Portable camera apparatus with panoramic camera function
CN1749839A (en) Image pickup apparatus and power supply control method therefor
CN112954217B (en) Electronic equipment and focusing method
JP2007148075A (en) Lens driving device and lens driving method
KR100773160B1 (en) Lens driving system for auto-focus and method for controling the same
WO2019183808A1 (en) Control method, control device, imaging system, aircraft and storage medium
CN101360188A (en) Focusing system and focusing method
CN101399918B (en) Image display device, image pickup device, image display controlling method
US20130113986A1 (en) Lens Driving Device and Lens Driving Method Thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20211207

RJ01 Rejection of invention patent application after publication