WO2023279791A1 - 控制方法、控制装置、摄像头组件、电子设备和介质 - Google Patents

控制方法、控制装置、摄像头组件、电子设备和介质 Download PDF

Info

Publication number
WO2023279791A1
WO2023279791A1 PCT/CN2022/085821 CN2022085821W WO2023279791A1 WO 2023279791 A1 WO2023279791 A1 WO 2023279791A1 CN 2022085821 W CN2022085821 W CN 2022085821W WO 2023279791 A1 WO2023279791 A1 WO 2023279791A1
Authority
WO
WIPO (PCT)
Prior art keywords
image sensor
shake
lens
focus
camera assembly
Prior art date
Application number
PCT/CN2022/085821
Other languages
English (en)
French (fr)
Inventor
胡攀
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2023279791A1 publication Critical patent/WO2023279791A1/zh

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/50Constructional details
    • H04N23/54Mounting of pick-up tubes, electronic image sensors, deviation or focusing coils
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/67Focus control based on electronic image sensor signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/68Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
    • H04N23/682Vibration or motion blur correction
    • H04N23/685Vibration or motion blur correction performed by mechanical compensation

Definitions

  • the present application relates to the technical field of image stabilization, and in particular to a control method, a control device, a camera assembly, electronic equipment and a medium.
  • optical image stabilization technology has appeared in order to improve the problem of blurred and unclear images caused by camera shake, but in related technologies, the technical solution of optical image stabilization does not consider some special scenes, resulting in shake compensation in special scenes. The effect is poor, and the sharpness of the captured image is low.
  • Embodiments of the present application provide a control method, a control device, a camera assembly, electronic equipment, and a medium.
  • the control method in the embodiment of the present application is used for a camera assembly.
  • the camera assembly includes a lens and an image sensor, and the image sensor can obtain external light through the lens and generate a corresponding original image, and the control method includes: performing a focusing operation when receiving a shooting command; When the operation is completed, determine the current focal length of the lens; determine the shake compensation displacement of the image sensor according to the current focal length of the lens and the shake angle of the camera assembly; drive the image sensor according to the shake compensation displacement Move for camera shake compensation.
  • the control device in the embodiment of the present application is used for a camera assembly.
  • the camera assembly includes a lens and an image sensor.
  • the image sensor can acquire external light through the lens and generate a corresponding original image.
  • the control device includes a focus module, a first determination module, a second determination module and a compensation module.
  • the focusing module is used for performing a focusing operation when a shooting command is received.
  • the first determining module is configured to determine the current focal length of the lens when the focusing operation is completed.
  • the second determination module is configured to determine the shake compensation displacement of the image sensor according to the current focal length of the lens and the shake angle of the camera assembly.
  • the compensation module is used to drive the image sensor to move according to the shake compensation displacement to perform shooting shake compensation.
  • the camera assembly in the embodiment of the present application includes a lens, an image sensor and a processor.
  • the image sensor can acquire external light through the lens and generate a corresponding original image.
  • the processor is configured to: perform a focusing operation when receiving a shooting command; determine the current focal length of the lens when the focusing operation is completed; determine the current focal length of the lens according to the current focal length of the lens and the shake angle of the camera assembly.
  • the shake compensation displacement amount of the image sensor; the image sensor is driven to move according to the shake compensation displacement amount to perform shooting shake compensation.
  • the electronic device in the embodiment of the present application includes a housing and the camera assembly described in the above embodiment, and the camera assembly is combined with the housing.
  • the computer-readable storage medium has a computer program stored thereon, and is characterized in that, when the program is executed by a processor, the steps of the control method described in the above-mentioned embodiment are realized.
  • control device In the above-mentioned control method, control device, camera assembly, electronic equipment and medium, shooting shake compensation is performed after the focusing operation is completed, which can avoid the degradation or even sudden change of the shake compensation effect caused by untimely signal synchronization.
  • the shake compensation displacement of the image sensor is determined according to the current focal length of the lens and the shake angle of the camera assembly, which can ensure stable and consistent shake compensation under different current focal lengths and ensure the consistency of the anti-shake effect.
  • FIG. 1 is a schematic flow chart of a control method in an embodiment of the present application
  • FIG. 2 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a camera assembly according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a first driver of a camera assembly according to an embodiment of the present application.
  • FIG. 5 is a schematic flow diagram of a control method in an embodiment of the present application.
  • Fig. 6 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 7 is a schematic flow diagram of a control method in an embodiment of the present application.
  • Fig. 8 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of a second driving member of the camera assembly according to the embodiment of the present application.
  • FIG. 10 is a schematic flowchart of a control method in an embodiment of the present application.
  • FIG. 11 is a schematic flowchart of a control method in an embodiment of the present application.
  • FIG. 12 is a schematic diagram of a camera assembly according to an embodiment of the present application.
  • Fig. 13 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of a control method in an embodiment of the present application.
  • Fig. 15 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 16 is a schematic flowchart of a control method in an embodiment of the present application.
  • FIG. 17 is a schematic flowchart of a control method in an embodiment of the present application.
  • Fig. 18 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 19 is a schematic flowchart of a control method in an embodiment of the present application.
  • Fig. 20 is a schematic diagram of a control device according to an embodiment of the present application.
  • FIG. 21 is a schematic diagram of an electronic device according to an embodiment of the present application.
  • Camera assembly 100 lens 111, image sensor 113, processor 114, first driver 115, second driver 117, image processor 119, anti-shake drive circuit 121, focus drive circuit 123;
  • Control device 200 focus module 21, first determination module 23, second determination module 25, compensation module 27, reset module 29;
  • An electronic device 1000 and a casing 300 An electronic device 1000 and a casing 300 .
  • first and second are used for description purposes only, and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features.
  • a feature defined as “first” or “second” may explicitly or implicitly include one or more of said features.
  • “plurality” means two or more, unless otherwise specifically defined.
  • the control method in the embodiment of the present application is used in the camera assembly 100 .
  • the camera assembly 100 includes a lens 111 and an image sensor 113 .
  • the image sensor 113 can acquire external light through the lens 111 and generate a corresponding original image.
  • Control methods include:
  • the control method in the embodiment of the present application can be realized by the control device 200 in the embodiment of the present application.
  • the control device 200 is used for the camera assembly 100 .
  • the camera assembly 100 includes a lens 111 and an image sensor 113 .
  • the image sensor 113 can acquire external light through the lens 111 and generate a corresponding original image.
  • the control device 200 includes a focus module 21 , a first determination module 23 , a second determination module 25 and a compensation module 27 .
  • the focusing module 21 is used for performing a focusing operation when a shooting command is received.
  • the first determining module 23 is configured to determine the current focal length of the lens 111 when the focusing operation is completed.
  • the second determination module 25 is configured to determine the shake compensation displacement of the image sensor 113 according to the current focal length of the lens 111 and the shake angle of the camera assembly 100 .
  • the compensation module 27 is used to drive the image sensor 113 to move according to the shake compensation displacement to perform shooting shake compensation.
  • the control method in the embodiment of the present application may be realized by the camera assembly 100 in the embodiment of the present application.
  • the camera assembly 100 includes a lens 111 , an image sensor 113 and a processor 114 .
  • the image sensor 113 can acquire external light through the lens 111 and generate a corresponding original image.
  • the processor 114 is used for performing a focusing operation when receiving a shooting command, and for determining the current focal length of the lens 111 when the focusing operation is completed, and for determining an image according to the current focal length of the lens 111 and the shaking angle of the camera assembly 100
  • the shake compensation displacement of the sensor 113 is used to drive the image sensor 113 to move according to the shake compensation displacement to perform shooting shake compensation.
  • the shooting shake compensation is performed after the focusing operation is completed, so as to avoid that when the focus control and the shooting anti-shake compensation control work independently
  • the degradation of the jitter compensation effect caused in time, or even a sudden change for example, the point focus quickly switches to the close-up perspective.
  • determining the shake compensation displacement amount of the image sensor 113 according to the current focal length of the lens 111 and the shake angle of the camera assembly 100 can ensure stable and consistent shake compensation under different current focal lengths and ensure the consistency of the anti-shake effect.
  • the user can initiate a shooting command through the camera assembly 100, for example, the user can initiate a shooting command through a key, touch, or a voice command.
  • the shooting command can also be initiated by an application program (Application, APP) installed on the camera assembly 100 .
  • a capture command may include a photo capture request or a video recording request.
  • the focusing operation can be understood as moving the lens 111 to change the focal length of the lens 111 so that when the light reflected by the subject passes through the lens 111 and is captured by the image sensor 113 , an original image with higher definition can be generated.
  • the focusing operation may be automatic focusing or manual focusing by the user, which is not limited here. It can be understood that the camera assembly 100 can automatically determine the current focal length of the lens 111 after the focusing operation is completed.
  • the shake compensation displacement is the distance that the image sensor 113 is driven to move from the calibration position in order to avoid blurring or low definition of the acquired original image caused by shaking.
  • the camera assembly 100 includes a gyroscope, and the shaking angle of the camera assembly 100 can be determined through measurement data of the gyroscope.
  • the image sensor 113 is driven to move in the same direction as the shaking direction of the camera assembly 100 to perform shooting shake compensation. For example, when the shaking direction of the camera assembly 100 is vertically downward, the image sensor 113 is driven to move vertically downward, and the moving length is the shake compensation displacement amount.
  • the lens 111 includes a lens barrel 1111
  • the camera assembly 100 includes a first driving member 115
  • the first driving member 115 can drive the lens 111 to move along the axis of the lens barrel 1111 to complete the focusing operation.
  • the lens 111 can complete the focusing operation under the driving of the first driving member 115 .
  • the first driving member 115 may include a ball-type voice coil motor, a shrapnel-type voice coil motor, a piezoelectric motor, and the like.
  • the lens 111 also includes a lens, and the lens is fixedly mounted on the lens barrel 1111 .
  • the lens barrel 1111 can be cylindrical, and the first driving member 115 can drive the cylindrical lens barrel 1111 to drive the lens to move along the axial direction under the condition of passing a changing current, so as to complete the focusing operation.
  • the first driving member 115 includes a first magnetic member 1151, a first coil 1153 (Coil), a first magnetic induction sensor 1155, a first iron shell 1157 and a first ball
  • the bearing 1159, the first magnetic part 1151 is fixedly installed on the lens barrel 1111, the first coil 1153 and the first magnetic induction sensor 1155 are fixedly installed on the first iron shell 1157, and the first coil 1153 can drive the lens 111 under the action of the first driving current Move
  • the first magnetic induction sensor 1155 can measure the position of the lens 111 based on the change of the magnetic flux when the lens 111 moves
  • the first ball bearing 1159 is arranged on the lens barrel 1111 to control the stability of the lens 111 when moving along the axis of the lens barrel 1111
  • Focus operations include:
  • the focusing module 21 includes a measuring unit 211 and a driving unit 213 .
  • the measuring unit 211 is configured to determine the current position of the lens 111 according to the data measured by the first magnetic induction sensor 1155 .
  • the driving unit 213 is used to adjust the first driving current of the first coil 1153 to drive the lens 111 to move from the current position to the focusing position.
  • the control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is used for determining the current position of the lens 111 according to the data measured by the first magnetic induction sensor 1155 , and for adjusting the first driving current of the first coil 1153 to drive the lens 111 to move from the current position to the focusing position.
  • the lens 111 can be driven to the focus position stably and accurately.
  • the first driving member 115 is a ball-type voice coil motor. It can be understood that when the lens 111 moves along the axis of the lens barrel 1111 , there may be tilting, stop oscillation, hysteresis, etc., and the use of a ball-type voice coil motor can ensure the accuracy of the image sensor 113 below the lens 111 .
  • the first magnetic member 1151 may include a magnet. In the embodiment shown in FIG. 4 , the first magnetic member 1151 is fixedly installed on the outer wall of the lens barrel 1111 , and the length of the first magnetic member 1151 is the same as that of the lens barrel 1111 .
  • the first magnetic induction sensor 1155 may include a Hall sensor (Hall).
  • the first magnetic induction sensor 1155 is opposite to the first magnetic element 1151 . Since the first magnetic part 1151 is fixedly mounted on the lens barrel 1111, when the lens barrel 1111 moves relative to the first iron shell 1157, the first magnetic part 1151 and the lens barrel 1111 keep moving synchronously, and the first magnetic induction sensor 1155 moves relative to the first iron shell 1157. The housing 1157 remains stationary, therefore, the first magnetic induction sensor 1155 can measure the position of the lens 111 based on the change of the magnetic flux when the lens 111 moves.
  • the first coil 1153 passes a variable first driving current, a Lorentz force can be generated, and after the Lorentz force acts on the first magnetic member 1151 , the first magnetic member 1151 drives the lens 111 to move. Since the data measured by the first magnetic induction sensor 1155 is transmitted to the focus drive circuit 123 in real time, the first drive current can be continuously adjusted to ensure that the lens 111 reaches an accurate focus position.
  • the focus position can be understood as the position of the lens 111 that enables the light reflected by the subject to pass through the lens 111 and be captured by the image sensor 113 to generate an original image with high definition.
  • the focal length of the lens 111 can be determined according to the focus position and the first correspondence.
  • the camera assembly 100 includes a second driving member 117, and the second driving member 117 can drive the image sensor 113 to move under the action of the second driving current.
  • Step 07 includes:
  • the compensation module 27 includes a first determination unit 271 and a first compensation unit 273 .
  • the first determining unit 271 is configured to determine the second driving current according to the shake compensation displacement amount.
  • the first compensation unit 273 is used for driving the image sensor 113 to move according to the second driving current to perform camera shake compensation.
  • the control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to determine a second driving current according to the shake compensation displacement amount, and to drive the image sensor 113 to move according to the second driving current to perform shooting shake compensation.
  • the image sensor 113 can be driven to move more accurately, so as to complete the shooting shake compensation.
  • the second driving element 117 can be a voice coil motor.
  • the second driving member 117 includes a second magnetic member 1171, a second coil 1173 (Coil), a second magnetic induction sensor 1175, a second iron shell 1177 and a second ball bearing 1179,
  • the second magnetic part 1171 is fixedly installed on the image sensor 113
  • the second coil 1173 and the second magnetic induction sensor 1175 are fixedly installed on the second iron shell 1177
  • the second coil 1173 can drive the image sensor 113 to move under the action of the second driving current
  • the second magnetic induction sensor 1175 can measure the position of the image sensor 113 based on the change of the magnetic flux when the image sensor 113 moves
  • the second ball bearing 1179 is arranged on the side of the image sensor 113 to control the stability of the image sensor 113 when moving along the side direction .
  • the second magnetic induction sensor 1175 may include a Hall sensor (Hall). It can be understood that the principle of driving the movement of the image sensor 113 by the second driving member 117 is basically the same as the principle of driving the movement of the lens 111 by the first driving member 115 , and will not be repeated here to avoid redundancy.
  • the second driving current can be determined according to the jitter compensation displacement and the preset second corresponding relationship, Furthermore, under the action of the second driving current, the second coil drives the image sensor 113 to move to perform camera shake compensation.
  • step 07 includes:
  • control method in the above embodiments can be realized by the control device 200 in the embodiments of the present application.
  • the compensation module 27 is configured to drive the image sensor 113 to move according to the shake compensation displacement during the exposure process of the image sensor 113 to perform shooting shake compensation.
  • control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to drive the image sensor 113 to move according to the shake compensation displacement during the exposure process of the image sensor 113 to perform shooting shake compensation.
  • performing shake compensation when the image sensor 113 is exposed can save power consumption of anti-shake compensation, and avoid meaningless displacement of the image sensor 113 during non-exposure time.
  • shooting shake compensation is performed in real time, even if the image sensor is not in the exposure process, shooting shake compensation will be performed, because the shooting shake compensation frequency is high and the compensation range is small, generally its main purpose is to suppress motion Blurring, rather than image stabilization during video shooting, therefore, the effective working period of shooting shake compensation is the exposure period, and shooting shake compensation is not required during the frame interval period and readout period before exposure.
  • camera assembly 100 comprises image processor 119 (ISP) and anti-shake drive circuit 121 (OIS Driver IC), in the process of image sensor 113 exposure, step 075 comprises :
  • the compensation module 27 includes a first sending unit 275 , an exposure unit 277 and a second compensation unit 279 .
  • the first sending unit 275 is configured to send an exposure enable command to the image sensor 113 and an anti-shake enable command to the anti-shake driving circuit 121 when the image processor 119 receives the focus complete signal.
  • the exposure unit 277 is configured to perform exposure when the image sensor 113 receives an exposure enable command.
  • the second compensation unit 279 is used to drive the image sensor 113 to move according to the shake compensation displacement amount to perform shooting shake compensation during the exposure process of the image sensor 113 when the anti-shake driving circuit 121 receives the anti-shake enabling command.
  • the control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is used to send an exposure enable command to the image sensor 113 when the image processor 119 receives the focus completion signal, and send an anti-shake enable command to the anti-shake driving circuit 121, and is used to activate the image sensor 113 performs exposure when receiving the exposure enabling command, and is used to drive the image sensor 113 to move according to the shake compensation displacement amount during the exposure process of the image sensor 113 when the anti-shake driving circuit 121 receives the anti-shake enabling command for shooting shake compensation.
  • the camera assembly 100 includes a focus drive circuit 123 (AF Driver IC).
  • AF Driver IC focus driving circuit 123
  • the focus driving circuit 123 When the focus driving circuit 123 completes the focusing operation, the focus driving circuit 123 generates a focus completion signal and sends the focus completion signal to the image processor 119 .
  • the moment when the image processor 119 sends the exposure enable command is the same or substantially the same as the moment when the image processor 119 sends the anti-shake enable command. Basically the same, that is, the time difference between the time when the exposure enable command is sent and the time when the anti-shake enable command is sent is within a relatively small threshold (for example, 10 ms).
  • the image sensor 113 receives the exposure enabling command
  • exposure is performed immediately.
  • the anti-shake driving circuit 121 receives the anti-shake enabling command, it immediately performs shooting shake compensation. It can be understood that since the time when the image processor 119 sends the exposure enable command is the same or substantially the same as the time when the anti-shake enable command is sent, the time when the image sensor 113 starts to expose and the time when the anti-shake drive circuit 121 starts shooting shake compensation are also the same or basically the same, thus ensuring that the shooting shake compensation is performed within the exposure timing.
  • control method further includes:
  • control device 200 in the embodiments of the present application.
  • the control device 200 further includes a reset module 29 .
  • the reset module 29 is used to reset the posture of the image sensor 113 when the exposure of the image sensor 113 is completed.
  • control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to reset the attitude of the image sensor 113 when the exposure of the image sensor 113 is completed.
  • the image sensor 113 has a consistent full-stroke margin before shooting shake compensation for each frame of the original image, thereby improving the overall shooting anti-shake compensation effect.
  • the position of the image sensor 113 usually changes due to camera shake compensation.
  • the image sensor 113 is reset to The position is calibrated so as to ensure the compensation margin for shooting shake compensation when the image sensor 113 is exposed next time.
  • the camera assembly 100 includes an image processor 119 and an anti-shake drive circuit 121, and step 09 includes:
  • the reset module 29 is configured to send an anti-shake reset command to the anti-shake drive circuit 121 to reset the attitude of the image sensor 113 when the exposure of the image sensor 113 is completed.
  • control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to send an anti-shake reset command to the anti-shake driving circuit 121 to reset the attitude of the image sensor 113 when the exposure of the image sensor 113 is completed.
  • the image sensor 113 can be reset in time.
  • the image sensor 113 reads out the original image to the image processor 119 to ensure that the image processor 119 performs subsequent processing on the original image.
  • the image processor 119 processes the original image to generate an output image, and transmits the output image to an application program for storage or display.
  • the time when the image sensor 113 outputs the original image is the same or substantially the same as the time when the anti-shake reset command is sent.
  • the camera assembly 100 includes an image processor 119 and a focus drive circuit 123, and step 01 includes:
  • the focusing module 21 includes a second sending unit 215 and a focusing unit 217 .
  • the second sending unit 215 is configured to send a focus command to the focus driving circuit 123 when the image processor 119 receives the shooting command.
  • the focus unit 217 is used to perform a focus operation when the focus drive circuit 123 receives a focus command.
  • the control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to send a focus command to the focus drive circuit 123 when the image processor 119 receives a shooting command, and is used to perform a focus operation when the focus drive circuit 123 receives a focus command.
  • the image processor 119 when the image processor 119 receives the shooting command, it can quickly know the focusing operation of the focusing driving circuit 123 .
  • the focus driving circuit 123 may be a closed-loop auto-focus control link.
  • the shooting command can also be initiated by an application program 125 (Application, APP) installed on the camera assembly 100 .
  • Application, APP Application, APP
  • control algorithms of the focus drive circuit 123 and the anti-shake drive circuit 121 can be placed in the image processor 119 or the image sensor 113, and both the image processor 119 and the image sensor 113 have processing capabilities, which can simplify the focus drive circuit.
  • the camera assembly 100 includes a focus drive circuit 123 and an anti-shake drive circuit 121, and step 03 includes:
  • the first determining module 23 includes a third sending unit 231 and a second determining unit 233 .
  • the third sending unit 231 is configured to send a focus completion signal to the anti-shake drive circuit 121 when the focus drive circuit 123 completes the focus operation.
  • the second determination unit 233 is configured to determine the current focal length of the lens 111 according to the focus completion signal when the anti-shake driving circuit 121 receives the focus completion signal.
  • the control method in the foregoing embodiments may be implemented by the camera assembly 100 in the embodiments of the present application.
  • the processor 114 is configured to send a focus complete signal to the anti-shake drive circuit 121 when the focus drive circuit 123 completes the focus operation, and to determine according to the focus complete signal when the anti-shake drive circuit 121 receives the focus complete signal.
  • the current focal length of the lens 111 is configured to send a focus complete signal to the anti-shake drive circuit 121 when the focus drive circuit 123 completes the focus operation, and to determine according to the focus complete signal when the anti-shake drive circuit 121 receives the focus complete signal.
  • the anti-shake driving circuit 121 can quickly determine the current focal length of the lens 111 .
  • the focus complete signal may include the current focal length information of the lens 111 , therefore, the anti-shake drive circuit 121 may directly determine the current focus distance of the lens 111 when receiving the focus complete signal.
  • an electronic device 1000 includes a housing 300 and the camera assembly 100 of the above-mentioned embodiment, and the camera assembly 100 is combined with the housing 300 .
  • camera shake compensation is performed after the focusing operation is completed, which can avoid the degradation or even sudden change of the shake compensation effect caused by untimely signal synchronization.
  • the shake compensation displacement of the image sensor is determined according to the current focal length of the lens and the shake angle of the camera assembly, which can ensure stable and consistent shake compensation under different current focal lengths and ensure the consistency of the anti-shake effect.
  • the electronic device 1000 may include a mobile phone, a tablet computer, a camera, a game console, a smart watch or other terminals with a shooting function.
  • the electronic device 1000 is a mobile phone.
  • the camera assembly 100 is combined with the casing 300 , for example, the camera assembly 100 can be installed in the casing 300 .
  • the computer-readable storage medium of the embodiments of the present application stores a computer program thereon, and when the program is executed by a processor, the steps of the control method of any of the above-mentioned embodiments are realized.
  • a computer program includes computer program code.
  • the computer program code may be in source code form, object code form, executable file or some intermediate form, etc.
  • the computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, removable hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random memory Access memory (RAM, Random Access Memory), and software distribution media, etc.
  • the processor can be a central processing unit, or other general-purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
  • DSP Digital Signal Processor
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Studio Devices (AREA)
  • Adjustment Of Camera Lenses (AREA)

Abstract

一种控制方法、控制装置(200)、摄像头组件(100)、电子设备(1000)和介质。控制方法用于摄像头组件(100)。摄像头组件(100)包括镜头(111)和图像传感器(113),图像传感器(113)能够通过镜头(111)获取外界光线并生成相应的原始图像,控制方法包括:在接收到拍摄命令时,进行对焦操作;在对焦操作完成时,确定镜头(111)的当前焦距;根据镜头(111)的当前焦距和摄像头组件(100)的抖动角度确定图像传感器(113)的抖动补偿位移量;根据抖动补偿位移量驱动图像传感器(113)移动以进行拍摄抖动补偿。

Description

控制方法、控制装置、摄像头组件、电子设备和介质
优先权信息
本申请请求2021年07月09日向中国国家知识产权局提交的、专利申请号为202110777091.X的专利申请的优先权和权益,并且通过参照将其全文并入此处。
技术领域
本申请涉及拍摄防抖技术领域,特别涉及一种控制方法、控制装置、摄像头组件、电子设备和介质。
背景技术
通常情况下,为了得到清晰度较高的影像,在拍摄过程中,需要保持拍摄设备处于基本稳定的状态,这样无疑会增大拍摄难度。尽管为了改善拍摄设备抖动导致拍摄的影像模糊、不清晰的问题,出现了光学防抖技术,但是,在相关技术中,光学防抖的技术方案并未考虑一些特殊场景,导致特殊场景下抖动补偿效果较差,拍摄的影像的清晰度较低。
发明内容
本申请的实施方式提供了一种控制方法、控制装置、摄像头组件、电子设备和介质。
本申请实施方式的控制方法用于摄像头组件。所述摄像头组件包括镜头和图像传感器,所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像,所述控制方法包括:在接收到拍摄命令时,进行对焦操作;在所述对焦操作完成时,确定所述镜头的当前焦距;根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量;根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
本申请实施方式的控制装置用于摄像头组件。所述摄像头组件包括镜头和图像传感器。所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像。所述控制装置包括对焦模块、第一确定模块、第二确定模块和补偿模块。对焦模块用于在接收到拍摄命令时,进行对焦操作。第一确定模块用于在所述对焦操作完成时,确定所述镜头的当前焦距。第二确定模块用于根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量。补偿模块用于根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
本申请实施方式的摄像头组件包括镜头、图像传感器和处理器。所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像。所述处理器用于:在接收到拍摄命令时,进行对焦操作;在所述对焦操作完成时,确定所述镜头的当前焦距;根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量;根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
本申请实施方式的电子设备包括壳体及上述实施方式所述的摄像头组件,所述摄像头组件与所述壳体结合。
本申请实施方式的计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行的情况下,实现上述实施方式所述的控制方法的步骤。
上述控制方法、控制装置、摄像头组件、电子设备和介质中,在对焦操作完成后进行拍摄抖动补偿,能够避免由于信号同步不及时导致的抖动补偿效果的退化,甚至突变。此外,根据镜头的当前焦距和摄像头组件的抖动角度确定图像传感器的抖动补偿位移量,能够确保在不同的当前焦距下,进行稳定一致的抖动补偿,保证了防抖效果的一致性。
本申请的附加方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。
附图说明
本申请的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:
图1是本申请实施方式的控制方法的流程示意图;
图2是本申请实施方式的控制装置的示意图;
图3是本申请实施方式的摄像头组件的示意图;
图4是本申请实施方式的摄像头组件的第一驱动件的示意图;
图5是本申请实施方式的控制方法的流程示意图;
图6是本申请实施方式的控制装置的示意图;
图7是本申请实施方式的控制方法的流程示意图;
图8是本申请实施方式的控制装置的示意图;
图9是本申请实施方式的摄像头组件的第二驱动件的示意图;
图10是本申请实施方式的控制方法的流程示意图;
图11是本申请实施方式的控制方法的流程示意图;
图12是本申请实施方式的摄像头组件的示意图;
图13是本申请实施方式的控制装置的示意图;
图14是本申请实施方式的控制方法的流程示意图;
图15是本申请实施方式的控制装置的示意图;
图16是本申请实施方式的控制方法的流程示意图;
图17是本申请实施方式的控制方法的流程示意图;
图18是本申请实施方式的控制装置的示意图;
图19是本申请实施方式的控制方法的流程示意图;
图20是本申请实施方式的控制装置的示意图;
图21是本申请实施方式的电子设备的示意图。
主要元件符号说明:
摄像头组件100、镜头111、图像传感器113、处理器114、第一驱动件115、第二驱动件117、图像处理器119、防抖驱动电路121、对焦驱动电路123;
控制装置200、对焦模块21、第一确定模块23、第二确定模块25、补偿模块27、复位模块29;
电子设备1000、壳体300。
具体实施方式
下面详细描述本申请的实施方式,所述实施方式的实施方式在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施方式是示例性的,仅用于解释本申请,而不能理解为对本申请的限制。
在本申请的实施方式的描述中,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个所述特征。在本申请的实施方式的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。
请参阅图1-图3,本申请实施方式的控制方法用于摄像头组件100。摄像头组件100包括镜头111和图像传感器113。图像传感器113能够通过镜头111获取外界光线并生成相应的原始图像。控制方法包括:
01:在接收到拍摄命令时,进行对焦操作;
03:在对焦操作完成时,确定镜头111的当前焦距;
05:根据镜头111的当前焦距和摄像头组件100的抖动角度确定图像传感器113的抖动补偿位移量;
07:根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
本申请实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,控制装置200用于摄像头组件100。摄像头组件100包括镜头111和图像传感器113。图像传感器113能够通过镜头111获取外界光线并生成相应的原始图像。控制装置200包括对焦模块21、第一确定模块23、第二确定模块25和补偿模块27。对焦模块21用于在接收到拍摄命令时,进行对焦操作。第一确定模块23用于在对焦操作完成时,确定镜头111的当前焦距。第二确定模块25用于根据镜头111的当前焦距和摄像头组件100的抖动角度确定图像传感器113的抖动补偿位移量。补偿模块27用于根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
本申请实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,摄像头组件100包括镜头111、图像传感器113和处理器114。图像传感器113能够通过镜头111获取外界光线并生成相应的原始图像。处理器114用于在接收到拍摄命令时,进行对焦操作,及用于在对焦操作完成时,确定镜头111的当前焦距,及用于根据镜头111的当前焦距和摄像头组件100的抖动角度确定图像传感器113的抖动补偿位移量,及用于根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
本申请实施方式的控制方法、控制装置200和摄像头组件100的技术方案中,在对焦操作完成后进行拍摄抖动补偿,能够避免对焦控制和拍摄防抖补偿控制二者独立工作时,由于信号同步不及时导致的抖动补偿效果的退化,甚至突变(比如点对焦快速切换近景远景)。此外,根据镜头111的当前焦距和摄像头组件100的抖动角度确定图像传感器113的抖动补偿位移量,能够确保在不同的当前焦距下,进行稳定一致的抖动补偿,保证了防抖效果的一致性。
具体地,用户可以通过摄像头组件100发起拍摄命令,例如,用户可以通过按键、触摸或者语音命令等形式发起拍摄命令。拍摄命令也可由摄像头组件100安装的应用程序(Application,APP)发起。拍摄命令可包括照片拍摄请求或视频录制请求。
对焦操作,可以理解为,移动镜头111改变镜头111的焦距以使得拍摄对象反射的光线通过镜头111被图像传感器113获取时能够生成清晰度较高的原始图像。对焦操作可以是自动对焦,也可以是用户手动对焦,在此不做限定。可以理解,在对焦操作完成后摄像头组件100能够自动确定镜头111的当前焦距。
在某些实施方式中,抖动补偿位移量是为了避免抖动造成获取的原始图像模糊或者清晰度较低而驱动图像传感器113从标定位置开始移动的长度。抖动位移补偿量可由以下公式表示:X=f*tanθ。其中,X为抖动位移补偿量,f为镜头111的当前焦距,θ为摄像头组件100的抖动角度。在某些实施方式中,摄像头组件100包括陀螺仪,摄像头组件100的抖动角度可通过陀螺仪的测量数据确定。
进一步地,在确定抖动补偿位移量之后,沿着与摄像头组件100抖动方向相同的方向驱动图像传感器113移动,以进行拍摄抖动补偿。例如,当摄像头组件100抖动方向为竖直向下时,驱动图像传感器113沿竖直向下的方向移动,移动长度为抖动补偿位移量。
请参阅图4,在某些实施方式中,镜头111包括镜筒1111,摄像头组件100包括第一驱动件115,第一驱动件115能够驱动镜头111沿镜筒1111的轴线方向移动以完成对焦操作。
如此,镜头111能够在第一驱动件115的驱动下完成对焦操作。
具体地,第一驱动件115可包括滚珠式音圈马达、弹片式音圈马达、压电马达等。镜头111还包括透镜,透镜固定安装于镜筒1111。镜筒1111可呈圆柱型,第一驱动件115在通变化的电流的情况下能够驱动圆柱型的镜筒1111沿轴线方向带动透镜移动,从而完成对焦操作。
请参阅图5和图6,在某些实施方式中,第一驱动件115包括第一磁性件1151、第一线圈1153(Coil)、第一磁感应传感器1155、第一铁壳1157和第一滚珠轴承1159,第一磁性件1151固定安装于镜筒1111,第一线圈1153和第一磁感应传感器1155固定安装于第一铁 壳1157,第一线圈1153能够在第一驱动电流的作用下驱动镜头111移动,第一磁感应传感器1155能够基于镜头111移动时磁通量的变化来测量镜头111的位置,第一滚珠轴承1159设于镜筒1111以控制镜头111沿镜筒1111的轴线方向移动时的稳定性,对焦操作包括:
011:根据第一磁感应传感器1155测量的数据确定镜头111的当前位置;
013:调节第一线圈1153的第一驱动电流,以驱动镜头111从当前位置移动至对焦位置。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,对焦模块21包括测量单元211和驱动单元213。测量单元211用于根据第一磁感应传感器1155测量的数据确定镜头111的当前位置。驱动单元213用于调节第一线圈1153的第一驱动电流,以驱动镜头111从当前位置移动至对焦位置。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于根据第一磁感应传感器1155测量的数据确定镜头111的当前位置,及用于调节第一线圈1153的第一驱动电流,以驱动镜头111从当前位置移动至对焦位置。
如此,能够稳定、准确地将镜头111驱动至对焦位置。
具体地,第一驱动件115为滚珠式音圈马达。可以理解,镜头111在沿镜筒1111的轴线方向移动过程中可能出现倾斜、停止震荡、迟滞等现象,采用滚珠式音圈马达可以保证镜头111下方图像传感器113的精度。第一磁性件1151可包括磁铁。在图4的实施方式中,第一磁性件1151固定安装于镜筒1111的外侧壁,第一磁性件1151的长度与镜筒1111的长度相同。第一磁感应传感器1155可包括霍尔传感器(Hall)。第一磁感应传感器1155与第一磁性件1151相对设置。由于第一磁性件1151固定安装于镜筒1111,当镜筒1111相对于第一铁壳1157运动时,第一磁性件1151与镜筒1111保持同步运动,第一磁感应传感器1155相对于第一铁壳1157保持静止,因此,第一磁感应传感器1155能够基于镜头111移动时磁通量的变化来测量镜头111的位置。
进一步地,当第一线圈1153通变化的第一驱动电流时可以产生洛伦兹力,洛伦兹力作用于第一磁性件1151后,第一磁性件1151带动镜头111进行移动。由于第一磁感应传感器1155测量的数据实时传给对焦驱动电路123,因此可以持续调节第一驱动电流来确保镜头111到达准确的对焦位置。对焦位置可以理解为能够使得拍摄对象反射的光线通过镜头111被图像传感器113获取时生成清晰度较高的原始图像的镜头111的位置。
在某些实施方式中,对焦位置与镜头111的焦距存在第一对应关系,根据对焦位置和第一对应关系,可以确定镜头111的焦距。
请参阅图7-图9,在某些实施方式中,摄像头组件100包括第二驱动件117,第二驱动件117能够在第二驱动电流的作用下驱动图像传感器113移动,步骤07包括:
071:根据抖动补偿位移量确定第二驱动电流;
073:根据第二驱动电流驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,补偿模块27包括第一确定单元271和第一补偿单元273。第一确定单元271用于根据抖动补偿位移量确定第二驱动电流。第一补偿单元273用于根据第二驱动电流驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于根据抖动补偿位移量确定第二驱动电流,及用于根据第二驱动电流驱动图像传感器113移动以进行拍摄抖动补偿。
如此,能够较准确地驱动图像传感器113移动,从而完成拍摄抖动补偿。
具体地,第二驱动件117可为音圈马达。请结合图9,在某些实施方式中,第二驱动件117包括第二磁性件1171、第二线圈1173(Coil)、第二磁感应传感器1175、第二铁壳1177和第二滚珠轴承1179,第二磁性件1171固定安装于图像传感器113,第二线圈1173和第二磁感应传感器1175固定安装于第二铁壳1177,第二线圈1173能够在第二驱动电流的作用下驱动图像传感器113移动,第二磁感应传感器1175能够基于图像传感器113移动时磁通量 的变化来测量图像传感器113的位置,第二滚珠轴承1179设于图像传感器113的侧边以控制图像传感器113沿侧边方向移动时的稳定性。第二磁感应传感器1175可包括霍尔传感器(Hall)。可以理解的是,第二驱动件117驱动图像传感器113移动的原理与第一驱动件115驱动镜头111移动的原理基本相同,为避免冗余,此不赘述。
进一步地,抖动补偿位移量与第二驱动电流存在预设的第二对应关系,在确定抖动补偿位移量之后,根据抖动补偿位移量和预设的第二对应关系,能够确定第二驱动电流,进而在第二驱动电流的作用下,第二线圈驱动图像传感器113移动以进行拍摄抖动补偿。
请参阅图10,在某些实施方式中,步骤07包括:
075:在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,补偿模块27用于在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
如此,在图像传感器113曝光时进行抖动补偿可以节省防抖补偿的功耗开销,避免非曝光时间内无意义的图像传感器113位移。可以理解,在相关技术中,拍摄抖动补偿为实时进行的,即使图像传感器未处于曝光过程中,也会进行拍摄抖动补偿,由于拍摄抖动补偿频率高,补偿范围小,一般其主要目的在于抑制运动模糊,而不是做视频拍摄时的图像稳定,因此,拍摄抖动补偿的有效工作时段为曝光时段,在曝光之前的帧间隔时段和读出时段,并不需要进行拍摄抖动补偿。
请参阅图11-图13,在某些实施方式中,摄像头组件100包括图像处理器119(ISP)和防抖驱动电路121(OIS Driver IC),在图像传感器113曝光的过程中,步骤075包括:
0751:在图像处理器119接收到对焦完成信号(Focus Ready Notification)时,发送曝光使能命令(Exposure Request)至图像传感器113,以及发送防抖使能命令(Stabilize Request)至防抖驱动电路121;
0753:在图像传感器113接收到曝光使能命令时,进行曝光;
0755:在防抖驱动电路121接收到防抖使能命令时,在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,补偿模块27包括第一发送单元275、曝光单元277和第二补偿单元279。第一发送单元275用于在图像处理器119接收到对焦完成信号时,发送曝光使能命令至图像传感器113,以及发送防抖使能命令至防抖驱动电路121。曝光单元277用于在图像传感器113接收到曝光使能命令时,进行曝光。第二补偿单元279用于在防抖驱动电路121接收到防抖使能命令时,在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在图像处理器119接收到对焦完成信号时,发送曝光使能命令至图像传感器113,以及发送防抖使能命令至防抖驱动电路121,及用于在图像传感器113接收到曝光使能命令时,进行曝光,及用于在防抖驱动电路121在接收到防抖使能命令时,在图像传感器113曝光的过程中,根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
如此,边曝光边补偿,在图像传感器113曝光时进行抖动补偿可以节省防抖补偿的功耗开销,避免非曝光时间内无意义的图像传感器113位移。
具体地,摄像头组件100包括对焦驱动电路123(AF Driver IC)。在对焦驱动电路123完成对焦操作时,对焦驱动电路123生成对焦完成信号,并将对焦完成信号发送至图像处理器119。图像处理器119发送曝光使能命令的时刻和发送防抖使能命令的时刻相同或基本相 同。基本相同,即发送曝光时能命令的时刻和发送防抖使能命令的时刻的时间差在较小的一个阈值(例如10ms)之内。
进一步地,在图像传感器113接收到曝光使能命令时,立即进行曝光。在防抖驱动电路121接收到防抖使能命令时,立即进行拍摄抖动补偿。可以理解,由于图像处理器119发送曝光使能命令的时刻和发送防抖使能命令的时刻相同或基本相同,因此,图像传感器113开始曝光的时刻与防抖驱动电路121开始拍摄抖动补偿的时刻也相同或基本相同,从而保证了在曝光时序内进行拍摄抖动补偿。
需要指出的是,上述所提到的具体数值只为了作为例子详细说明本申请的实施,而不应理解为对本申请的限制。在其他例子或实施方式或实施例中,可根据本申请来选择其他数值,在此不作具体限定。
请参阅图14和图15,在某些实施方式中,在步骤07之后,控制方法还包括:
09:在图像传感器113曝光完成时,复位图像传感器113的姿态。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,控制装置200还包括复位模块29。复位模块29用于在图像传感器113曝光完成时,复位图像传感器113的姿态。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在图像传感器113曝光完成时,复位图像传感器113的姿态。
如此,每帧原始图像进行拍摄抖动补偿之前图像传感器113具有一致的满行程余量,从而提升整体的拍摄防抖补偿效果。
具体地,在图像传感器113的曝光过程中,由于进行拍摄抖动补偿,图像传感器113的位置通常会发生改变,通过预先确定标定位置,在每次图像传感器113曝光完成时,将图像传感器113复位至标定位置,从而可以保证下一次图像传感器113曝光时拍摄抖动补偿的补偿余量。
请参阅图16,在某些实施方式中,摄像头组件100包括图像处理器119和防抖驱动电路121,步骤09包括:
091:在图像传感器113曝光完成时,发送防抖复位命令(Stabilize Reset Request)至防抖驱动电路121以复位图像传感器113的姿态。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,复位模块29用于在图像传感器113曝光完成时,发送防抖复位命令至防抖驱动电路121以复位图像传感器113的姿态。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在图像传感器113曝光完成时,发送防抖复位命令至防抖驱动电路121以复位图像传感器113的姿态。
如此,在图像传感器113曝光完成时,图像传感器113能够及时复位。
具体地,在图像传感器113曝光完成时,图像传感器113将原始图像读出至图像处理器119,以保证图像处理器119对原始图像进行后续处理。在某些实施方式中,图像处理器119处理原始图像生成输出图像,并将输出图像传输至应用程序,由应用程序进行存储或者显示。图像传感器113输出原始图像的时刻与发送防抖复位命令的时刻相同或基本相同。
请参阅图17和图18,在某些实施方式中,摄像头组件100包括图像处理器119和对焦驱动电路123,步骤01包括:
015:在图像处理器119接收到拍摄命令(Capture Request)时,发送对焦命令(Focus Request)至对焦驱动电路123;
017:在对焦驱动电路123接收到对焦命令时,进行对焦操作。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,对焦模块21包括第二发送单元215和对焦单元217。第二发送单元215用于在图像处理器119接收到拍摄命令时,发送对焦命令至对焦驱动电路123。对焦单元217用于在对焦驱动电路123接 收到对焦命令时,进行对焦操作。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在图像处理器119接收到拍摄命令时,发送对焦命令至对焦驱动电路123,及用于在对焦驱动电路123接收到对焦命令时,进行对焦操作。
如此,在图像处理器119接收到拍摄命令时,能够快速知识对焦驱动电路123进行对焦操作。
具体地,对焦驱动电路123可为闭环自动对焦控制链路。拍摄命令也可由摄像头组件100安装的应用程序125(Application,APP)发起。
需要指出的是,对焦驱动电路123和防抖驱动电路121的控制算法可以放置于图像处理器119或者图像传感器113中,图像处理器119和图像传感器113都具备处理能力,这样可以简化对焦驱动电路123和防抖驱动电路121的硬件成本,并且由于对焦操作和拍摄防抖补偿的控制算法与图像处理器119的处理时序或图像传感器113的处理时序位于同一个处理组件中,因此可以减少处理组件间的I2C或者SPI同步通信连接,在处理组件内部同步进程线程控制直接实现同步,成本更低,精度更高,稳定性更好。
请参阅图19和图20,在某些实施方式中,摄像头组件100包括对焦驱动电路123和防抖驱动电路121,步骤03包括:
031:在对焦驱动电路123完成对焦操作时,发送对焦完成信号(Focus Ready Notification)至防抖驱动电路121;
033:在防抖驱动电路121接收到对焦完成信号时,根据对焦完成信号确定镜头111的当前焦距。
上述实施方式的控制方法可由本申请实施方式的控制装置200实现。具体地,第一确定模块23包括第三发送单元231和第二确定单元233。第三发送单元231用于在对焦驱动电路123完成对焦操作时,发送对焦完成信号至防抖驱动电路121。第二确定单元233用于在防抖驱动电路121接收到对焦完成信号时,根据对焦完成信号确定镜头111的当前焦距。
上述实施方式的控制方法可由本申请实施方式的摄像头组件100实现。具体地,处理器114用于在对焦驱动电路123完成对焦操作时,发送对焦完成信号至防抖驱动电路121,及用于在防抖驱动电路121接收到对焦完成信号时,根据对焦完成信号确定镜头111的当前焦距。
如此,在对焦驱动电路123完成对焦操作时,防抖驱动电路121能够快速地确定镜头111的当前焦距。
具体地,对焦完成信号中可包含镜头111的当前焦距信息,因此,在防抖驱动电路121接收到对焦完成信号时,可以直接确定镜头111的当前焦距。
请参阅图21,本申请实施方式的电子设备1000包括壳体300及上述实施方式的摄像头组件100,摄像头组件100与壳体300结合。
本申请实施方式的电子设备1000的技术方案中,在对焦操作完成后进行拍摄抖动补偿,能够避免由于信号同步不及时导致的抖动补偿效果的退化,甚至突变。此外,根据镜头的当前焦距和摄像头组件的抖动角度确定图像传感器的抖动补偿位移量,能够确保在不同的当前焦距下,进行稳定一致的抖动补偿,保证了防抖效果的一致性。
具体地,电子设备1000可包括手机、平板电脑、相机、游戏机、智能手表或者其他具有拍摄功能的终端。在图21所示的实施方式中,电子设备1000为手机。摄像头组件100与壳体300结合,例如,摄像头组件100可安装在壳体300内。
需要指出的是,上述对控制方法、控制装置200和摄像头组件100的实施方式和有益效果的解释说明,也适应本实施方式的电子设备1000,为避免冗余,在此不作详细展开。
本申请实施方式的计算机可读存储介质,其上存储有计算机程序,程序被处理器执行的情况下,实现上述任一实施方式的控制方法的步骤。
例如,程序被处理器执行的情况下,实现以下控制方法的步骤:
01:在接收到拍摄命令时,进行对焦操作;
03:在对焦操作完成时,确定镜头111的当前焦距;
05:根据镜头111的当前焦距和摄像头组件100的抖动角度确定图像传感器113的抖动补偿位移量;
07:根据抖动补偿位移量驱动图像传感器113移动以进行拍摄抖动补偿。
可以理解,计算机程序包括计算机程序代码。计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。计算机可读存储介质可以包括:能够携带计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、以及软件分发介质等。处理器可以是中央处理器,还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。
流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。
尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (23)

  1. 一种控制方法,用于摄像头组件,其特征在于,所述摄像头组件包括镜头和图像传感器,所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像,所述控制方法包括:
    在接收到拍摄命令时,进行对焦操作;
    在所述对焦操作完成时,确定所述镜头的当前焦距;
    根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量;
    根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
  2. 根据权利要求1所述的控制方法,其特征在于,所述镜头包括镜筒,所述摄像头组件包括第一驱动件,所述第一驱动件能够驱动所述镜头沿所述镜筒的轴线方向移动以完成所述对焦操作。
  3. 根据权利要求2所述的控制方法,其特征在于,所述第一驱动件包括第一磁性件、第一线圈、第一磁感应传感器、第一铁壳和第一滚珠轴承,所述第一磁性件固定安装于所述镜筒,所述第一线圈和所述第一磁感应传感器固定安装于所述第一铁壳,所述第一线圈能够在第一驱动电流的作用下驱动所述镜头移动,所述第一磁感应传感器能够基于所述镜头移动时磁通量的变化来测量所述镜头的位置,所述第一滚珠轴承设于所述镜筒以控制所述镜头沿所述镜筒的轴线方向移动时的稳定性,所述对焦操作包括:
    根据所述第一磁感应传感器测量的数据确定所述镜头的当前位置;
    调节所述第一线圈的所述第一驱动电流,以驱动所述镜头从所述当前位置移动至对焦位置。
  4. 根据权利要求1所述的控制方法,其特征在于,所述摄像头组件包括第二驱动件,所述第二驱动件能够在第二驱动电流的作用下驱动所述图像传感器移动,所述根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿,包括:
    根据所述抖动补偿位移量确定所述第二驱动电流;
    根据所述第二驱动电流驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  5. 根据权利要求1所述的控制方法,其特征在于,所述根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿,包括:
    在所述图像传感器曝光的过程中,根据所述抖动补偿位移量驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  6. 根据权利要求5所述的控制方法,其特征在于,所述摄像头组件包括图像处理器和防抖驱动电路,所述在所述图像传感器曝光的过程中,根据所述抖动补偿位移量驱动所述图像传感器移动以进行所述拍摄抖动补偿,包括:
    在所述图像处理器接收到对焦完成信号时,发送曝光使能命令至所述图像传感器,以及发送防抖使能命令至所述防抖驱动电路;
    在所述图像传感器接收到所述曝光使能命令时,进行曝光;
    在所述防抖驱动电路接收到所述防抖使能命令时,在所述图像传感器曝光的过程中,根据所述抖动补偿位移量驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  7. 根据权利要求1所述的控制方法,其特征在于,在所述根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿之后,所述控制方法还包括:
    在所述图像传感器曝光完成时,复位所述图像传感器的姿态。
  8. 根据权利要求7所述的控制方法,其特征在于,所述摄像头组件包括图像处理器和防抖驱动电路,所述在所述图像传感器曝光完成时,复位所述图像传感器的姿态,包括:
    在所述图像传感器曝光完成时,发送防抖复位命令至所述防抖驱动电路以复位所述图像传感器的姿态。
  9. 根据权利要求1所述的控制方法,其特征在于,所述摄像头组件包括图像处理器和 对焦驱动电路,所述在接收到拍摄命令时,进行对焦操作,包括:
    在所述图像处理器接收到所述拍摄命令时,发送对焦命令至所述对焦驱动电路;
    在所述对焦驱动电路接收到所述对焦命令时,进行所述对焦操作。
  10. 根据权利要求1所述的控制方法,其特征在于,所述摄像头组件包括对焦驱动电路和防抖驱动电路,所述在所述对焦操作完成时,确定所述镜头的当前焦距,包括:
    在所述对焦驱动电路完成所述对焦操作时,发送对焦完成信号至所述防抖驱动电路;
    在所述防抖驱动电路接收到所述对焦完成信号时,根据所述对焦完成信号确定所述镜头的所述当前焦距。
  11. 一种控制装置,用于摄像头组件,其特征在于,所述摄像头组件包括镜头和图像传感器,所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像,所述控制装置包括:
    对焦模块,用于在接收到拍摄命令时,进行对焦操作;
    第一确定模块,用于在所述对焦操作完成时,确定所述镜头的当前焦距;
    第二确定模块,用于根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量;
    补偿模块,用于根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
  12. 根据权利要求11所述的控制装置,其特征在于,所述镜头包括镜筒,所述摄像头组件包括第一驱动件,所述第一驱动件能够驱动所述镜头沿所述镜筒的轴线方向移动以完成所述对焦操作。
  13. 根据权利要求12所述的控制装置,其特征在于,所述第一驱动件包括第一磁性件、第一线圈、第一磁感应传感器、第一铁壳和第一滚珠轴承,所述第一磁性件固定安装于所述镜筒,所述第一线圈和所述第一磁感应传感器固定安装于所述第一铁壳,所述第一线圈能够在第一驱动电流的作用下驱动所述镜头移动,所述第一磁感应传感器能够基于所述镜头移动时磁通量的变化来测量所述镜头的位置,所述第一滚珠轴承设于所述镜筒以控制所述镜头沿所述镜筒的轴线方向移动时的稳定性,所述对焦模块包括:
    测量单元,用于根据所述第一磁感应传感器测量的数据确定所述镜头的当前位置;
    驱动单元,用于调节所述第一线圈的所述第一驱动电流,以驱动所述镜头从所述当前位置移动至对焦位置。
  14. 根据权利要求11所述的控制装置,其特征在于,所述摄像头组件包括第二驱动件,所述第二驱动件能够在第二驱动电流的作用下驱动所述图像传感器移动,所述补偿模块包括:
    第一确定单元,用于根据所述抖动补偿位移量确定所述第二驱动电流;
    第一补偿单元,用于根据所述第二驱动电流驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  15. 根据权利要求11所述的控制装置,其特征在于,所述补偿模块还用于在所述图像传感器曝光的过程中,根据所述抖动补偿位移量驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  16. 根据权利要求15所述的控制装置,其特征在于,所述摄像头组件包括图像处理器和防抖驱动电路,所述补偿模块还包括:
    第一发送单元,用于在所述图像处理器接收到对焦完成信号时,发送曝光使能命令至所述图像传感器,以及发送防抖使能命令至所述防抖驱动电路;
    曝光单元,用于在所述图像传感器接收到所述曝光使能命令时,进行曝光;
    第二补偿单元,用于在所述防抖驱动电路接收到所述防抖使能命令时,在所述图像传感器曝光的过程中,根据所述抖动补偿位移量驱动所述图像传感器移动以进行所述拍摄抖动补偿。
  17. 根据权利要求11所述的控制装置,其特征在于,所述控制装置还包括:
    复位模块,用于在所述图像传感器曝光完成时,复位所述图像传感器的姿态。
  18. 根据权利要求17所述的控制装置,其特征在于,所述摄像头组件包括图像处理器和防抖驱动电路,所述复位模块还用于在所述图像传感器曝光完成时,发送防抖复位命令至所述防抖驱动电路以复位所述图像传感器的姿态。
  19. 根据权利要求11所述的控制装置,其特征在于,所述摄像头组件包括图像处理器和对焦驱动电路,所述对焦模块还包括:
    第二发送单元,用于在所述图像处理器接收到所述拍摄命令时,发送对焦命令至所述对焦驱动电路;
    对焦单元,用于在所述对焦驱动电路接收到所述对焦命令时,进行所述对焦操作。
  20. 根据权利要求11所述的控制装置,其特征在于,所述摄像头组件包括对焦驱动电路和防抖驱动电路,所述第一确定模块包括:
    第三发送单元,用于在所述对焦驱动电路完成所述对焦操作时,发送对焦完成信号至所述防抖驱动电路;
    第二确定单元,用于在所述防抖驱动电路接收到所述对焦完成信号时,根据所述对焦完成信号确定所述镜头的所述当前焦距。
  21. 一种摄像头组件,其特征在于,所述摄像头组件包括镜头、图像传感器和处理器,所述图像传感器能够通过所述镜头获取外界光线并生成相应的原始图像,所述处理器用于:
    在接收到拍摄命令时,进行对焦操作;
    在所述对焦操作完成时,确定所述镜头的当前焦距;
    根据所述镜头的当前焦距和所述摄像头组件的抖动角度确定所述图像传感器的抖动补偿位移量;
    根据所述抖动补偿位移量驱动所述图像传感器移动以进行拍摄抖动补偿。
  22. 一种电子设备,其特征在于,所述电子设备包括:
    壳体;及
    权利要求21所述的摄像头组件,所述摄像头组件与所述壳体结合。
  23. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述程序被处理器执行的情况下,实现权利要求1-10任一项所述的控制方法的步骤。
PCT/CN2022/085821 2021-07-09 2022-04-08 控制方法、控制装置、摄像头组件、电子设备和介质 WO2023279791A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110777091.XA CN113472991B (zh) 2021-07-09 2021-07-09 控制方法、控制装置、摄像头组件、电子设备和介质
CN202110777091.X 2021-07-09

Publications (1)

Publication Number Publication Date
WO2023279791A1 true WO2023279791A1 (zh) 2023-01-12

Family

ID=77879368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/085821 WO2023279791A1 (zh) 2021-07-09 2022-04-08 控制方法、控制装置、摄像头组件、电子设备和介质

Country Status (2)

Country Link
CN (1) CN113472991B (zh)
WO (1) WO2023279791A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118473284A (zh) * 2023-10-08 2024-08-09 荣耀终端有限公司 滚珠马达的倾斜处理方法、装置及滚珠马达

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113472991B (zh) * 2021-07-09 2023-04-25 Oppo广东移动通信有限公司 控制方法、控制装置、摄像头组件、电子设备和介质
CN116437206A (zh) * 2021-12-30 2023-07-14 Oppo广东移动通信有限公司 防抖方法、装置、电子设备和计算机可读存储介质
CN115022548A (zh) * 2022-06-23 2022-09-06 Oppo广东移动通信有限公司 控制方法、控制装置、电子设备和介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056831A1 (en) * 2004-09-13 2006-03-16 Konica Minolta Photo Imaging, Inc. Digital camera
CN110012224A (zh) * 2019-03-26 2019-07-12 Oppo广东移动通信有限公司 摄像头防抖系统、方法、电子设备和计算机可读存储介质
CN111147741A (zh) * 2019-12-27 2020-05-12 Oppo广东移动通信有限公司 基于对焦处理的防抖方法和装置、电子设备、存储介质
CN112969017A (zh) * 2021-02-10 2021-06-15 维沃移动通信有限公司 摄像头模组及电子设备
CN113472991A (zh) * 2021-07-09 2021-10-01 Oppo广东移动通信有限公司 控制方法、控制装置、摄像头组件、电子设备和介质

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8212860B2 (en) * 2008-10-23 2012-07-03 Pentax Ricoh Imaging Company, Ltd. Digital camera having an image mover
JP5181001B2 (ja) * 2010-08-09 2013-04-10 キヤノン株式会社 像振れ補正装置及びその制御方法、及び、像振れ補正装置を搭載した撮像装置及び光学機器
JP5249377B2 (ja) * 2011-03-22 2013-07-31 キヤノン株式会社 撮像装置、及びその制御方法、プログラム
CN104601897B (zh) * 2015-02-13 2017-11-03 浙江宇视科技有限公司 一种摄像机防抖装置及防抖方法
CN106303220B (zh) * 2016-07-29 2017-10-31 广东欧珀移动通信有限公司 防抖系统校准方法、装置和移动终端
CN108353131B (zh) * 2016-10-17 2021-05-04 华为技术有限公司 获取图像的方法和终端设备
CN107483825B (zh) * 2017-09-08 2019-12-24 上海创功通讯技术有限公司 一种自动调整焦距的方法和装置
CN111258021A (zh) * 2018-11-30 2020-06-09 新思考电机有限公司 驱动装置、照相装置以及电子设备
CN110794547B (zh) * 2019-08-31 2022-06-24 东莞睿恩科技有限公司 滚珠式音圈马达的透镜驱动装置、相机装置及电子设备
CN112532862A (zh) * 2019-09-18 2021-03-19 新思考电机有限公司 致动器、照相机模块以及照相机搭载装置
KR20210071253A (ko) * 2019-12-06 2021-06-16 삼성전자주식회사 카메라 이동 제어 방법 및 장치
CN111158103B (zh) * 2019-12-31 2022-08-02 Oppo广东移动通信有限公司 变焦镜头、相机模组和电子装置
CN111726508A (zh) * 2020-07-06 2020-09-29 瑞声新能源发展(常州)有限公司科教城分公司 镜头模组

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056831A1 (en) * 2004-09-13 2006-03-16 Konica Minolta Photo Imaging, Inc. Digital camera
CN110012224A (zh) * 2019-03-26 2019-07-12 Oppo广东移动通信有限公司 摄像头防抖系统、方法、电子设备和计算机可读存储介质
CN111147741A (zh) * 2019-12-27 2020-05-12 Oppo广东移动通信有限公司 基于对焦处理的防抖方法和装置、电子设备、存储介质
CN112969017A (zh) * 2021-02-10 2021-06-15 维沃移动通信有限公司 摄像头模组及电子设备
CN113472991A (zh) * 2021-07-09 2021-10-01 Oppo广东移动通信有限公司 控制方法、控制装置、摄像头组件、电子设备和介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118473284A (zh) * 2023-10-08 2024-08-09 荣耀终端有限公司 滚珠马达的倾斜处理方法、装置及滚珠马达

Also Published As

Publication number Publication date
CN113472991A (zh) 2021-10-01
CN113472991B (zh) 2023-04-25

Similar Documents

Publication Publication Date Title
WO2023279791A1 (zh) 控制方法、控制装置、摄像头组件、电子设备和介质
KR100712085B1 (ko) 광학기기
US9769384B2 (en) Imaging apparatus capable of detecting position of movable image pickup device at first resolving power and at second resolving power higher than first resolving power and, at which second resolving power, deviation amount is less than or equal to pixel shift amount
TWI403157B (zh) 防震裝置
WO2018082619A1 (zh) 双摄像头设备和终端设备
JP2003172961A (ja) ブレ補正装置及び撮影装置
JP2008035308A (ja) 電子カメラ及びレンズユニット
US10708503B2 (en) Image capture system, image capturing apparatus, lens unit, control methods therefor, and storage medium
JP2009098274A (ja) 像ぶれ補正装置を有する光学機器
JP2007163595A (ja) 光学機器
JP2011180262A (ja) フォーカス制御装置
JP2023138602A (ja) 防振制御装置及び方法、及び、撮像装置
JP2018165756A (ja) 撮像装置
KR20220035970A (ko) 광학 이미지 안정화 장치 및 제어 방법
JP2011239131A (ja) 撮像装置
JP4169178B2 (ja) 手振れ補正機能付き撮像装置
JP4356282B2 (ja) ブレ補正撮影装置
US11445113B2 (en) Stabilization control apparatus, image capture apparatus, and stabilization control method
JP6455139B2 (ja) 撮影システム
JP4487487B2 (ja) ブレ補正装置を備えた撮影装置
JP2020160163A (ja) 撮像装置およびその制御方法
JP2008158233A (ja) ブレ補正装置、及び光学装置
JP2012042589A (ja) 像振れ補正機構、レンズ鏡筒、および撮像装置
JP2014006477A (ja) 撮像装置、レンズ装置および撮像装置の制御方法
JP2013003325A (ja) 光学装置

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22836550

Country of ref document: EP

Kind code of ref document: A1