WO2020192480A1 - Camera anti-shake system, method, and electronic device - Google Patents

Camera anti-shake system, method, and electronic device Download PDF

Info

Publication number
WO2020192480A1
WO2020192480A1 PCT/CN2020/079605 CN2020079605W WO2020192480A1 WO 2020192480 A1 WO2020192480 A1 WO 2020192480A1 CN 2020079605 W CN2020079605 W CN 2020079605W WO 2020192480 A1 WO2020192480 A1 WO 2020192480A1
Authority
WO
WIPO (PCT)
Prior art keywords
shake
lens
information
chip
main control
Prior art date
Application number
PCT/CN2020/079605
Other languages
French (fr)
Chinese (zh)
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 WO2020192480A1 publication Critical patent/WO2020192480A1/en

Links

Images

Classifications

    • 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
    • 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/681Motion detection
    • H04N23/6812Motion detection based on additional sensors, e.g. acceleration sensors
    • 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
    • H04N23/687Vibration or motion blur correction performed by mechanical compensation by shifting the lens or sensor position

Definitions

  • This application relates to the field of imaging technology, and in particular to a camera anti-shake system, method, and electronic equipment.
  • the camera can reduce the impact of camera shake on imaging clarity by integrating optical image stabilization, electronic image stabilization, and photoreceptor image stabilization.
  • the traditional camera anti-shake system has the problem of low reliability.
  • a camera anti-shake system a camera anti-shake system, method, and electronic device are provided.
  • a camera anti-shake system comprising: a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip is connected to the anti-shake The drive chip is connected, the anti-shake drive chip is connected to the motor, and the motor is connected to the lens;
  • the gyroscope is used to collect angular velocity information of the lens, and send the angular velocity information to the main control chip;
  • the main control chip is used to perform application processing, and calculate the shake compensation information of the lens according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip;
  • the anti-shake drive chip is used to control the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  • An anti-shake method for a camera applied to an electronic device, the electronic device includes a main control chip, a gyroscope, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip Connected with the anti-shake drive chip, the anti-shake drive chip is connected with the motor, and the motor is connected with the lens; the method includes:
  • the main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip;
  • the anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  • An electronic device including a memory, a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the main control chip of the gyroscope is connected, and the main control chip is connected to the anti-shake drive chip and the memory
  • the anti-shake drive chip is connected to the motor, and the motor is connected to the lens;
  • a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the following operating:
  • the main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip;
  • the anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  • the camera anti-shake system, method, and electronic equipment provided in the embodiments of the application can send angular velocity information to the main control chip through the gyroscope, so that the main control chip calculates the lens shake compensation information according to the angular velocity information, and the anti-shake drive chip
  • the compensation information controls the motor to be powered on, and the anti-shake drive chip does not need a built-in processing module to calculate the shake compensation information, which can reduce the volume of the anti-shake drive chip, thereby improving the reliability of the camera anti-shake system.
  • Fig. 1 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
  • Fig. 2 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
  • Fig. 3 is a structural diagram of a camera anti-shake system in one or more embodiments.
  • Fig. 4 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
  • Fig. 5 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
  • Fig. 6 is a flowchart of a camera anti-shake method in one or more embodiments.
  • Fig. 7 is a structural block diagram of an electronic device in one or more embodiments.
  • Fig. 8 is a schematic diagram of an image processing circuit in one or more embodiments.
  • first, second, etc. used in this application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element.
  • the first chip may be referred to as the second chip, and similarly, the second chip may be referred to as the first chip. Both the first chip and the second chip are chips, but they are not the same chip.
  • Fig. 1 is a schematic structural diagram of a camera anti-shake system in an embodiment.
  • the camera anti-shake system includes a main control chip 112, a gyroscope 114, an anti-shake drive chip 122, a motor 124 and a lens 126.
  • the gyroscope 114 is connected to the main control chip 112
  • the main control chip 112 is connected to the anti-shake driving chip 122
  • the anti-shake driving chip 122 is connected to the motor 124
  • the motor 124 is connected to the lens 126.
  • the gyroscope 114 is used to collect the angular velocity information of the lens 126 and send the angular velocity information to the main control chip 112.
  • the gyroscope 114 is any angular motion detection device that can be used to detect angular velocity. In the process of capturing images by the camera, if the camera shakes or moves, the sharpness of the imaging will be affected and the captured images will be blurred. The gyroscope 114 can detect whether the lens 126 shakes, and obtain the angular velocity information of the lens 126 when the lens 126 shakes.
  • the main control chip 112 is configured to calculate the shake compensation information of the lens 126 according to the angular velocity information, and send the shake compensation information to the anti-shake driving chip 122.
  • the main control chip 112 may be the SOC (System-on-a-Chip) of the camera anti-shake system, and is the computing core and control core of the camera anti-shake system or an electronic device containing the camera anti-shake system.
  • the shake compensation information is calculated by the main control chip 112 according to the angular velocity information.
  • the anti-shake drive chip 122 controls the motor 124 to power on according to the shake compensation information, and then drives the lens 126 to move through the motor 124.
  • the moving direction of the lens 126 is opposite to the shaking direction. To eliminate lens shift caused by jitter.
  • the shake compensation information includes the compensation amount of the lens in at least one direction.
  • the shake compensation information can be determined according to the position of any point on the plane where the lens is located. For example, the shake compensation information can be determined based on the center point of the lens, or based on other points on the lens.
  • the main control chip 112 can perform application processing.
  • the main control chip can receive a camera application startup instruction and turn on the camera according to the instruction.
  • the main control chip 112 may also calculate jitter compensation information according to the angular velocity information.
  • the main control chip 112 prestores a jitter compensation algorithm, and the main control chip 112 can calculate the jitter compensation information according to the jitter compensation algorithm and the angular velocity information collected by the gyroscope.
  • the main control chip 112 can calculate the shake compensation information of the lens 126 according to the angular velocity information every time it receives the angular velocity information sent by the gyroscope 114, and send it to the anti-shake driving chip 122.
  • the jitter compensation algorithm pre-stored in the main control chip 112 can be updated according to actual application requirements.
  • the anti-shake driving chip 122 is used to control the motor 124 to be powered on according to the shake compensation information, so that the motor 124 drives the movement of the lens 126.
  • the anti-shake driver chip 122 is a chip that can be used to drive loads such as motors.
  • the lens 126 may not be limited to various fixed focus lenses, zoom lenses, wide-angle lenses, standard lenses, and the like.
  • the motor 124 may be a voice coil motor.
  • the anti-shake driving chip 122 can receive the shake compensation information initiated by the main control chip 112 and control the current of the motor 124 according to the compensation amount contained in the shake compensation information to control the distance the motor 124 drives the lens 126 to move.
  • the camera anti-shake system includes a gyroscope, a main control chip, an anti-shake drive chip, a motor, and a lens connected in sequence.
  • the gyroscope can collect the angular velocity information of the lens and send the angular velocity information to the main control chip.
  • the main control chip can calculate the shake compensation information of the lens according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip, and the anti-shake drive chip can control the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens , It can compensate the shift of the lens, reduce the shift of the lens, and improve the quality of the image collected by the camera.
  • the main control chip can calculate the lens shake compensation information according to the angular velocity information, and then send it to the anti-shake drive chip to control the motor, the anti-shake drive chip does not need an internal processing module to calculate the shake compensation information, which can reduce the anti-shake drive chip
  • the volume of the camera improves the reliability of the camera anti-shake system.
  • Fig. 2 is a schematic diagram of a camera anti-shake system in another embodiment.
  • the main control chip 112 and the gyroscope 114 included in the camera anti-shake system are provided on the main board 110 of the camera anti-shake system, and the anti-shake drive chip 122, the motor 124 and the lens 126 are provided In the camera module 120 of the camera anti-shake system.
  • the gyroscope 114 and the main control chip 112 can be connected through SPI (Serial Peripheral Interface); the main control chip 112 and the anti-shake driver chip 122 can be connected through IIC (Inter-Integrated Circuit, integrated circuit). Circuit bus) connection.
  • SPI Serial Peripheral Interface
  • IIC Inter-Integrated Circuit, integrated circuit. Circuit bus
  • the gyroscope 114 can collect the angular velocity information of the lens 126 and send the angular velocity information to the main control chip 112.
  • the main control chip 112 can calculate the shake compensation information of the lens 126 according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip 122.
  • the anti-shake driving chip 122 can control the motor 124 to be powered on according to the shake compensation information, so that the motor 124 drives the movement of the lens 126.
  • the camera module 120 is also provided with an image sensor 128, and the image sensor 128 may be connected to the main control chip 112 through a CCI (Connection Control Interface).
  • the main control chip 112 may control the image sensor 128 to be powered on through the CCI interface after receiving the image capture instruction, so that the image sensor 128 captures images based on the moved lens 126.
  • the main control chip calculates the shake compensation information of the lens according to the angular velocity information collected by the gyroscope.
  • the anti-shake drive chip controls the movement of the lens when the motor is powered on according to the shake compensation information. It does not need the anti-shake drive chip to calculate the shake compensation information, which can reduce The small size of the anti-shake driver chip reduces the size of the camera module and improves the reliability of the camera module.
  • the provided camera anti-shake system further includes a Hall sensor connected to the anti-shake drive chip 122.
  • the Hall sensor can be used to detect the current position information of the lens 126 and send the position information to the anti-shake drive chip 122.
  • the anti-shake drive chip 122 can also be used to control the motor 124 to be powered on based on the position information and the shake compensation information, so that The motor 124 drives the movement of the lens 126.
  • Hall sensor is a kind of magnetic field sensor made according to Hall effect.
  • Hall effect is essentially the deflection of moving charged particles in a magnetic field caused by Lorentz force. When charged particles (electrons or holes) are confined in the solid material, this deflection leads to an accumulation of positive and negative charges in the direction of the vertical current and magnetic field, thereby forming an additional lateral electric field.
  • the lens position information refers to the position of the lens in the camera anti-shake system. According to the position information of the lens, the offset of the lens relative to the initial position can be determined. Among them, the initial position is the position of the lens when the camera anti-shake system is in a static state.
  • a coordinate system can be established for the plane where the lens is located, such as establishing a coordinate system with the center of the initial position as the origin, so as to determine the coordinates of the lens in the coordinate system according to the Hall value output by the Hall sensor, and then the position of the lens can be determined information.
  • the plane where the lens is located generally refers to the plane where the lens is located, and is parallel to the plane of the image sensor corresponding to the lens.
  • the anti-shake driving chip 122 controls the motor 124 to be powered on based on the position information and the jitter compensation information.
  • the position information is the offset of the current lens relative to the initial position
  • the shake compensation information is the amount of shake compensation of the lens in different directions
  • the anti-shake drive chip 122 can determine the required offset of the lens according to the position information and the shake compensation information.
  • the required offset is the distance the lens needs to move in order to reduce the deviation caused by jitter.
  • the XY axis coordinate system is established on the plane where the lens 126 is located, when the current position information of the lens 126 is (+5, -12), the shake compensation information calculated by the main control chip 112
  • the anti-shake drive chip 122 determines that the required offset of the lens is -3 in the X-axis direction and +7 in the Y-axis direction
  • the anti-shake drive chip 122 controls the motor 124 to be powered on according to the required offset, so that the motor 124 drives the lens 126 to move 3 units in the negative direction of the X-axis and 7 units in the positive direction of the Y-axis.
  • the lens offset data level is in the micron level.
  • the position information may also be represented by a position vector, that is, the position information may include the offset direction and offset amount of the lens relative to the initial position.
  • the jitter compensation information and demand offset can also be represented by vectors.
  • the anti-shake driving chip 122 in the provided camera anti-shake system has a built-in Hall sensor.
  • the anti-shake drive chip 122 can also be used to obtain the current position information of the lens 126 through a built-in Hall sensor, and control the motor 124 to be powered on based on the position information and the shake compensation information, so that the motor 124 drives the lens 126 to move.
  • the anti-shake driving chip 122 used in the camera anti-shake system may be a chip with a built-in Hall sensor.
  • the anti-shake drive core 122 can obtain the current position information of the lens detected by the built-in Hall sensor when receiving the shake compensation information sent by the main control chip 112, and control the motor 124 to be powered on according to the shake compensation information and the position information to make the motor 124 The movement of the lens 126 is driven.
  • the anti-shake driver chip 122 When the anti-shake driver chip 122 does not have a built-in Hall sensor, the anti-shake driver chip 122 in the camera module is connected to the Hall sensor to provide power to the Hall sensor and receive lens position information detected by the Hall sensor. When the driver chip 122 has a built-in Hall sensor, the anti-shake driver chip can directly read the lens position information detected by the Hall sensor. The anti-shake driver chip 122 does not need to be connected to the Hall sensor through an external circuit, which can effectively reduce the anti-shake The volume of the system improves the stability of the system.
  • the main control chip 112 may also be used to determine the shake compensation algorithm corresponding to the lens 126 according to the lens information contained in the start instruction when the start instruction of the lens 126 is received.
  • the shake compensation algorithm and angular velocity information calculate the shake compensation information of the lens 126.
  • the start instruction may be generated by the user by pressing a button of the electronic device containing the camera anti-shake system, or generated by clicking a control on the touch screen of the electronic device.
  • the main control chip 112 may receive a start instruction for triggering the lens.
  • the start instruction contains lens information corresponding to the lens that needs to be started.
  • the lens information may include, but is not limited to, one or more of the unique identification of the lens in the camera anti-shake system, the type of the lens, and the configuration parameters of the lens.
  • the main control chip 112 may adopt different shake compensation algorithms for different lenses, and then determine the corresponding shake compensation algorithm according to the currently activated lens to calculate the shake compensation information of the lens.
  • the main control chip 112 can pre-store the shake compensation algorithms corresponding to the three lens identifiers, and receive the lens start instruction, Obtain the corresponding shake compensation algorithm according to the lens identification contained in the start instruction; the main control chip 112 can also prestore the shake compensation algorithm corresponding to different lens types or configuration parameters, such as for front and rear lenses, telephoto, wide-angle, and fixed-focus lenses Preset different jitter compensation algorithms. It is understandable that the main control chip 112 may also preset different algorithm parameters, so as to determine the corresponding algorithm parameters according to the lens to calculate the shake compensation information of the lens.
  • the main control chip 112 may calculate the anti-shake compensation information of the lens by fitting a model.
  • the main control chip 112 may preset reference fitting models corresponding to different lenses, and bring the angular velocity information of the lens and the corresponding jitter compensation information into the reference fitting model, and the fitting parameters of the reference fitting model can be obtained. Establish a target fitting model corresponding to the lens according to the obtained fitting parameters.
  • the reference fitting model can be expressed as Among them, x represents the angular velocity information collected by the gyroscope, y(x, w) represents the shake compensation information of the lens, w j is a constant, and j can be any natural number, which is not limited here.
  • the main control chip 112 can bring the angular velocity information of the lens and the corresponding jitter compensation information into the reference fitting model, thereby obtaining the constant w j in the reference fitting model, and then bringing the constant into the reference fitting model. Get the target fitting model corresponding to the shot.
  • the main control chip 112 can calculate the shake compensation information of the lens 126 by combining the target fitting model and the angular velocity information collected by the gyroscope 114.
  • the main control chip included in the camera anti-shake system can be used to receive the start instruction of the lens, and determine the shake compensation algorithm of the lens according to the lens information contained in the start instruction.
  • the compensation algorithm and angular velocity information calculate the lens shake compensation information. That is, for different lenses, different shake compensation algorithms are used to calculate the shake compensation information, which can improve the accuracy of the shake compensation information, thereby improving the accuracy of the camera's anti-shake.
  • the anti-shake driving chip 122 in the provided camera anti-shake system is built in the motor 124.
  • the motor 124 is generally a voice coil motor (VCM, Voice Coil Motor).
  • Voice coil motor is a device that converts electrical energy into mechanical energy, which can realize linear and limited swing angle motion.
  • the motor 124 contains a coil.
  • the coil can generate a magnetic field after being energized under the control of the anti-shake drive chip 124.
  • the interaction between the generated magnetic field and the permanent magnetic field can drive the movement of the lens 126 of the lens.
  • the motor 124 occupies a relatively large volume in the camera anti-shake system.
  • the anti-shake drive chip 122 can be built in the motor 124, which can reduce the size of the camera and simplify the camera anti-shake system.
  • the routing of the shake system can improve the stability of the camera anti-shake system.
  • Fig. 3 is a schematic structural diagram of a camera anti-shake system in another embodiment.
  • the gyroscope 114 and the main control chip 112 in the camera anti-shake system are connected through a first connection channel and a second connection channel.
  • the gyroscope 114 may be a gyroscope having at least two output channels.
  • the main control chip 112 may send the first acquisition instruction to the gyroscope 114 through the first connection channel when receiving the first start instruction of the lens; when receiving the second start instruction of the preset application, it may send the first acquisition instruction through the second connection
  • the channel sends a second acquisition instruction to the gyroscope 114.
  • the preset application program is an application program that uses the angular velocity information collected by the gyroscope to perform applications other than lens anti-shake.
  • the preset application program may be a game application program that uses the angular velocity information collected by the gyroscope to achieve somatosensory effects, or it may be a pedometer application program that uses the angular velocity information collected by the gyroscope to calculate the number of steps of the human body.
  • the startup instruction of the preset application program may be generated by clicking a button on the display screen of the electronic device including the camera anti-shake system, or may be generated by pressing a control on the touch screen, etc., and is not limited thereto.
  • the main control chip 112 can send the first acquisition instruction to the gyroscope 114 through the first connection channel when receiving the start instruction of the lens; when receiving the start instruction of the preset application program, it can send the first acquisition instruction to the gyroscope through the second connection channel.
  • 114 sends a second acquisition instruction, that is, the first acquisition instruction can turn on the first connection channel between the gyroscope 114 and the main control chip 112, and the second acquisition instruction can connect the first connection channel between the gyroscope 114 and the main control chip 112.
  • the second connection channel is turned on.
  • the main control chip 112 may also send the second acquisition instruction to the gyroscope 114 after receiving the startup instruction of the preset function.
  • the main control chip 112 may first receive the start instruction of the application with the somatosensory interaction function, and the main control chip 112 starts the application according to the start instruction and then detects whether the somatosensory interaction function is enabled.
  • the main control chip 112 sends a second acquisition instruction to the gyroscope 114.
  • the gyroscope 114 is used to collect the original angular velocity information of the lens, and generate at least one of the first angular velocity information and the second angular velocity information of different attributes according to the original angular velocity information; when the first acquisition instruction is received, the first angular velocity information It is sent to the main control chip 112 through the first connection channel; when the second acquisition instruction is received, the second angular velocity information is sent to the main control chip 112 through the second connection channel.
  • the gyroscope 114 can collect the original angular velocity information of the lens.
  • the original angular velocity information of the lens is the original angular velocity information of the camera anti-shake system where the lens is located, that is, the original angular velocity information of the electronic device containing the camera anti-shake system .
  • the attributes of the angular velocity information can be, but are not limited to, the output frequency of the angular velocity information, the bandwidth of the angular velocity information, the measurement range of the angular velocity information, and the like. In different functional applications, the required angular velocity information has different attributes.
  • the camera has a small exposure time during shooting, and the camera anti-shake system needs to control the movement of the lens during the exposure time to offset the shake of the system. Therefore, it is used for calculation
  • the output frequency of the angular velocity information of the lens shake compensation information is often greater than the output frequency used for other functions.
  • the main control chip 112 can preset the attributes of angular velocity information corresponding to different functional applications according to actual application requirements, so that the gyroscope 114 can generate at least one of the first angular velocity information and the second angular velocity information with different attributes according to the collected original angular velocity information .
  • the gyroscope 114 when the gyroscope 114 receives the first acquisition instruction, it can generate first angular velocity information corresponding to the first acquisition instruction according to the original angular velocity information, and send the first angular velocity information to the main control chip 112 through the first connection channel.
  • the gyroscope 114 When the gyroscope 114 receives the second acquisition instruction, it can generate second angular velocity information corresponding to the second acquisition instruction according to the original angular velocity information, and send the second angular velocity information to the main control chip 112 through the second connection channel.
  • the main control chip 112 in the camera anti-shake system may also be used to obtain the first attribute information corresponding to the first start instruction when the first start instruction is received, and according to the first attribute The information generates a first acquisition instruction; when the second startup instruction is received, the application identifier included in the second startup instruction is acquired, and the second acquisition instruction is generated according to the second attribute information corresponding to the application identifier.
  • the attribute information is the specific value of the output frequency of the angular velocity information, the bandwidth of the angular velocity information, and the measurement range of the angular velocity information.
  • the application identifier is the unique identifier of the application included in the system.
  • the main control chip 112 can preset attribute information corresponding to the lens and different applications. Specifically, the attribute information preset by the main control chip 112 is not limited here.
  • the attribute information corresponding to the lens may be an output frequency of 2KHz and a measurement range of 0 to 3rad/s; the attribute information of the application B may be 400Hz, 10rad/s, etc., but it is not limited thereto.
  • the attribute information corresponding to different applications may also be the same.
  • the main control chip can also pre-store attribute information corresponding to different lenses.
  • the main control chip 112 may also be used to obtain the first attribute information corresponding to the first start instruction when the first start instruction is received, generate the first acquisition instruction according to the first attribute information, and send the first acquisition instruction to the gyroscope 114;
  • receive the second startup instruction acquire the application program identifier contained in the second startup instruction, generate a second acquisition instruction according to the second attribute information corresponding to the application program identifier, and send the second acquisition instruction to the gyroscope 114 .
  • the gyroscope 114 is also used to obtain the first address corresponding to the first connection channel, obtain the first attribute information included in the first obtaining instruction, and configure the register of the gyroscope according to the first address and the first attribute information;
  • the gyroscope 114 may also obtain the second address corresponding to the second connection channel, obtain the second attribute information contained in the second obtaining instruction, and configure the register of the gyroscope 114 according to the second address and the second attribute information.
  • the register of the gyroscope 114 contains multiple addresses, where the connection channel corresponds to the address, that is, the first connection channel corresponds to the first address, and the second connection channel corresponds to the second address.
  • the gyroscope 114 can output the first angular velocity information through the first connection channel corresponding to the first address, and by reading the second address of the register in the gyroscope 114, the gyroscope 114 114 can output the second angular velocity information through the second connection channel corresponding to the second address.
  • the gyroscope can send the first angular velocity information corresponding to the first attribute information to the main control chip through the first connection channel when receiving the first acquisition instruction, and when receiving the second acquisition instruction, it will correspond to the second attribute information
  • the second angular velocity information is sent to the main control chip through the second connection channel.
  • the gyroscope can simultaneously output first angular velocity information through the first connection channel and output second angular velocity information through the second connection channel. That is, the lens anti-shake function and the preset application can share the angular velocity information of the same gyroscope, and the camera anti-shake system can output angular velocity information of different frequencies according to different applications, which can reduce the cost of the camera anti-shake system.
  • Fig. 4 is a schematic structural diagram of a camera anti-shake system in another embodiment.
  • the anti-shake driving chip in the provided camera anti-shake system may include a first sub-anti-shake driving chip 121 and a second sub-anti-shake driving chip 123, and the main control chip 112 may The first compensation information corresponding to the first direction included in the compensation information is sent to the first anti-shake driving chip 121, and the second compensation information corresponding to the second direction included in the jitter compensation information is sent to the second sub-anti-shake driver.
  • Shake driving chip 123 may include a first sub-anti-shake driving chip 121 and a second sub-anti-shake driving chip 123, and the main control chip 112 may The first compensation information corresponding to the first direction included in the compensation information is sent to the first anti-shake driving chip 121, and the second compensation information corresponding to the second direction included in the jitter compensation information is sent to the second sub-anti-shake driver.
  • the first sub anti-shake driving chip 121 is used to control the motor 124 to be powered on according to the first compensation information so that the motor 124 drives the lens 126 to move in the first direction.
  • the second sub anti-shake driving chip 123 is used for The motor 124 is controlled to be powered on according to the second compensation information, so that the motor 124 drives the lens 126 to move in the second direction.
  • the first sub anti-shake driver chip 121 and the second sub anti-shake driver chip 123 are arranged at different positions of the camera module.
  • the volume of the first sub anti-shake driving chip 121 and the second sub anti-shake driving chip 123 is smaller than the volume of the anti-shake driving chip.
  • the shake compensation information may include first compensation information corresponding to the first direction and second compensation information corresponding to the second direction.
  • first direction may be the direction of the X axis
  • the second direction may be the direction of the Y axis.
  • the main control chip 112 may send the corresponding first compensation information in the first direction contained in the jitter compensation information to the first sub anti-shake drive chip 121, and send the second compensation contained in the jitter compensation information corresponding to the second direction.
  • the information is sent to the second sub anti-shake driver chip 123, and the first sub anti-shake driver chip 121 can control the motor 124 to be powered on according to the first compensation information, so that the motor 124 drives the lens 126 to move in the first direction.
  • the shake driving chip 123 can control the motor 124 to be powered on according to the second compensation information, so that the motor 124 drives the lens 126 to move in the second direction.
  • the motor 124 in the camera anti-shake system includes a first coil corresponding to the first direction and a second coil corresponding to the second direction.
  • the first coil is used to drive the lens 126 to move in the first direction under the control of the first sub anti-shake drive chip 121
  • the second coil is used to drive the lens 126 in the second direction under the control of the second sub anti-shake drive chip 123.
  • Move in the direction
  • the first sub anti-shake driver chip 121 can control the current of the first coil to drive the lens 126 to move in the X-axis direction
  • the second sub anti-shake driver chip 123 can control the current of the second coil.
  • the first sub-anti-shake driving chip 121 is built in the first coil
  • the second sub-anti-shake driving chip 123 is built in the second coil.
  • the anti-shake driver chip is usually protrudingly arranged on the camera module. At this time, the anti-shake driver chip is prone to be unstable due to system collisions and other conditions.
  • This embodiment of the application passes The provision of two sub anti-shake driver chips can reduce the volume of the anti-shake driver chip protruding from the camera module and improve the reliability of the camera module.
  • FIG. 5 is a schematic diagram of a camera anti-shake system in an embodiment.
  • the provided camera anti-shake system includes a main board 510 and a camera module 520.
  • the main board 510 is provided with a main control chip 512, a gyroscope 514, and an anti-shake drive chip 516.
  • the camera module A motor 524 and a lens 526 are provided in 520.
  • the gyroscope 514 and the main control chip 512 may be connected through SPI; the main control chip 512 and the anti-shake driving chip 516 may be connected through IIC.
  • the gyroscope 514 can collect the angular velocity information of the lens 526 and send the angular velocity information to the main control chip 512.
  • the main control chip 512 can calculate the shake compensation information of the lens 526 according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip 516.
  • the anti-shake driver chip 516 can control the motor 524 to be powered on according to the shake compensation information, so that the motor 524 drives the movement of the lens 526.
  • the main control chip calculates the lens shake compensation information based on the angular velocity information collected by the gyroscope and sends it to the anti-shake driver chip set on the motherboard.
  • the anti-shake driver chip can control the camera.
  • the motor of the module is powered on, so that the motor drives the movement of the lens.
  • the anti-shake drive chip is arranged on the main board, which can greatly reduce the volume of the camera module and improve the reliability of the camera module.
  • the gyroscope 514 and the main control chip 512 are connected through a first connection channel and a second connection channel, and the main control chip 512 is also used for receiving the first start instruction of the lens through
  • the first connection channel sends the first acquisition instruction to the gyroscope; when the second startup instruction of the preset application program is received, the second acquisition instruction is sent to the gyroscope through the second connection channel; the gyroscope 514 is used to collect the original lens Angular velocity information, and generate at least one of the first angular velocity information and the second angular velocity information with different attributes according to the original angular velocity information.
  • the first angular velocity information is sent to the master through the first connection channel Chip; when receiving the second acquisition instruction, the second angular velocity information is sent to the main control chip 512 through the second connection channel.
  • Fig. 6 is a flowchart of a method for anti-shake of a camera in an embodiment.
  • a camera anti-shake method is provided, which is applied to an electronic device, and the electronic device includes a main control chip, a gyroscope, an anti-shake drive chip, a motor, and a lens connected in sequence,
  • the method includes:
  • the angular velocity information of the lens is collected through the gyroscope and sent to the main control chip.
  • the main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip.
  • the anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  • the camera anti-shake method provided by the embodiment of the application can collect the angular velocity information of the lens through the gyroscope and send it to the main control chip.
  • the main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to
  • the anti-shake driver chip through the anti-shake driver chip, controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens. Since the main control chip can calculate the lens shake compensation information according to the angular velocity information, and then send it to the anti-shake drive chip to control the motor, the anti-shake drive chip is not required to calculate the shake compensation information, which can reduce the size of the anti-shake drive chip. Improve the reliability of the camera anti-shake system.
  • the process of calculating the lens shake compensation information based on the angular velocity information by the main control chip further includes: when receiving the start instruction of the lens through the main control chip, according to the information contained in the start instruction The lens information determines the lens shake compensation algorithm; when the angular velocity information of the lens is received, the lens shake compensation information is calculated according to the shake compensation algorithm and the angular velocity information.
  • the electronic device further includes a Hall sensor connected to the anti-shake drive chip.
  • the anti-shake drive chip controls the motor power-on process according to the shake compensation information, including: detecting by the Hall sensor The current position information of the lens is sent to the anti-shake drive chip; the anti-shake drive chip controls the motor to be powered on based on the position information and the shake compensation information, so that the motor drives the movement of the lens.
  • the anti-shake driver chip has a built-in Hall sensor.
  • the anti-shake driver chip controls the motor power-on process according to the shake compensation information, including: obtaining through the Hall sensor built in the anti-shake driver chip The current position information of the lens, and based on the position information and shake compensation information, the motor is controlled to be powered on, so that the motor drives the movement of the lens.
  • the anti-shake driving chip includes a first sub-anti-shake driving chip and a second sub-anti-shake driving chip.
  • the camera anti-shake method may further include: using the main control chip to correspond to the first sub-anti-shake driver chip included in the shake compensation information.
  • the first compensation information in one direction is sent to the first sub anti-shake drive chip, and the second compensation information corresponding to the second direction contained in the shake compensation information is sent to the second sub anti-shake drive chip;
  • the first compensation information of the shake drive chip controls the motor to be powered on, so that the motor drives the lens to move in the first direction;
  • the second sub anti-shake drive chip is used to control the power on the motor according to the second compensation information, so that the motor drives the lens at Move in the second direction.
  • the gyroscope and the main control chip are connected through the first connection channel and the second connection channel.
  • the shake compensation information is sent to the anti-shake drive chip;
  • the angular velocity of the lens is collected by the gyroscope Information and send the angular velocity information to the main control chip, including:
  • the first acquisition instruction is sent to the gyroscope through the first connection channel; when the second start instruction of the preset application program is received, the second connection channel is used to send the first acquisition instruction to the gyroscope.
  • the meter sends the second acquisition instruction.
  • the original angular velocity information of the lens is collected by the gyroscope, and at least one of the first angular velocity information and the second angular velocity information of different attributes is generated according to the original angular velocity information.
  • the first angular velocity information is sent to the main control chip through the first connection channel; when the second acquisition instruction is received, the second angular velocity information is sent to the master through the second connection channel ⁇ chip.
  • the method before sending the first acquisition instruction to the gyroscope through the first connection channel in the provided camera anti-shake method, includes: when the first startup instruction is received through the main control chip, acquiring the first startup instruction corresponding to the first startup One attribute information, and the first acquisition instruction is generated according to the first attribute information; before sending the second acquisition instruction to the gyroscope through the second connection channel, it includes: acquiring the second startup instruction through the main control chip when the second startup instruction is received The application identifier contained in the instruction generates a second acquisition instruction according to the second attribute information corresponding to the application identifier.
  • Fig. 7 is a schematic diagram of the internal structure of an electronic device in an embodiment.
  • the electronic device includes a main control chip and a memory connected via a system bus.
  • the main control chip is used to provide computing and control capabilities to support the operation of the entire electronic device.
  • the memory may include a non-volatile storage medium and internal memory.
  • the non-volatile storage medium stores an operating system and a computer program.
  • the electronic device also includes a gyroscope and an anti-shake drive chip connected to the main control chip, a motor connected to the anti-shake drive chip, and a lens connected to the motor.
  • the computer program can be executed by the main control chip to implement a camera anti-shake method provided in the following embodiments.
  • the internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium.
  • the electronic device can be a mobile phone, a tablet computer or a personal digital assistant or a wearable device.
  • the embodiment of the application also provides an electronic device.
  • the above-mentioned electronic equipment includes an image processing circuit.
  • the image processing circuit may be implemented by hardware and/or software components, and may include various processing units that define an ISP (Image Signal Processing, image signal processing) pipeline.
  • Fig. 8 is a schematic diagram of an image processing circuit in an embodiment. As shown in FIG. 8, for ease of description, only various aspects of the image processing technology related to the embodiments of the present application are shown.
  • the image processing circuit includes an ISP processor 840 and a control logic 850.
  • the image data captured by the imaging device 810 is first processed by the ISP processor 840, and the ISP processor 840 analyzes the image data to capture image statistics that can be used to determine and/or one or more control parameters of the imaging device 810.
  • the imaging device 810 may include a camera having one or more lenses 812 and an image sensor 814.
  • the image sensor 814 may include a color filter array (such as a Bayer filter).
  • the image sensor 814 may acquire the light intensity and wavelength information captured by each imaging pixel of the image sensor 814, and provide a set of raw materials that can be processed by the ISP processor 840. Image data.
  • the sensor 820 (such as a gyroscope) can provide the collected image processing parameters (such as anti-shake parameters) to the ISP processor 840 based on the interface type of the sensor 820.
  • the sensor 820 interface may utilize SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above interfaces.
  • SMIA Standard Mobile Imaging Architecture
  • the image sensor 814 can also send the original image data to the sensor 820, the sensor 820 can provide the original image data to the ISP processor 840 based on the sensor 820 interface type, or the sensor 820 can store the original image data in the image memory 830.
  • the ISP processor 840 processes the original image data pixel by pixel in multiple formats.
  • each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 840 may perform one or more image processing operations on the original image data and collect statistical information about the image data. Among them, the image processing operations can be performed with the same or different bit depth accuracy.
  • the ISP processor 840 may also receive image data from the image memory 830.
  • the sensor 820 interface sends the original image data to the image memory 830, and the original image data in the image memory 830 is provided to the ISP processor 840 for processing.
  • the image memory 830 may be a part of a memory device, a storage device, or an independent dedicated memory in an electronic device, and may include DMA (Direct Memory Access) features.
  • the ISP processor 840 may perform one or more image processing operations, such as temporal filtering.
  • the processed image data can be sent to the image memory 830 for additional processing before being displayed.
  • the ISP processor 840 receives the processed data from the image memory 830, and performs image data processing in the original domain and in the RGB and YCbCr color spaces on the processed data.
  • the image data processed by the ISP processor 840 may be output to the display 870 for viewing by the user and/or further processed by a graphics engine or a GPU (Graphics Processing Unit, graphics processor).
  • the output of the ISP processor 840 can also be sent to the image memory 830, and the display 870 can read image data from the image memory 830.
  • the image memory 830 may be configured to implement one or more frame buffers.
  • the output of the ISP processor 840 may be sent to the encoder/decoder 860 in order to encode/decode image data.
  • the encoded image data can be saved and decompressed before being displayed on the display 870 device.
  • the encoder/decoder 860 may be implemented by a CPU or GPU or a coprocessor.
  • the statistical data determined by the ISP processor 840 may be sent to the control logic 850 unit.
  • the statistical data may include image sensor 814 statistical information such as automatic exposure, automatic white balance, automatic focus, flicker detection, black level compensation, and lens 812 shading correction.
  • the control logic 850 may include a processor and/or a microcontroller that executes one or more routines (such as firmware). The one or more routines can determine the control parameters and ISP processing of the imaging device 810 based on the received statistical data.
  • control parameters of the imaging device 810 may include sensor 820 control parameters (such as gain, integration time of exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 812 control parameters (such as focus or zoom focal length), or these The combination of parameters.
  • the ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (for example, during RGB processing), and lens 812 shading correction parameters.
  • the embodiment of the present application can implement the aforementioned camera anti-shake method by applying the aforementioned image processing technology.
  • the embodiment of the present application also provides a computer-readable storage medium.
  • One or more non-volatile computer-readable storage media containing computer-executable instructions when the computer-executable instructions are executed by one or more processors, cause the processors to perform the operation of the camera anti-shake method.
  • a computer program product containing instructions that, when running on a computer, causes the computer to execute the camera anti-shake method.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM), which acts as external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDR SDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous Link (Synchlink) DRAM
  • Rambus direct RAM
  • DRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Landscapes

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

Abstract

Provided is a camera anti-shake system, comprising: a gyroscope, a main control chip, a lens, an anti-shake driver chip, and a motor; the gyroscope is connected to the main control chip, the main control chip is connected to the anti-shake driver chip, the anti-shake driver chip is connected to the motor, and the motor is connected to the lens; the gyroscope is used for capturing information of the angular velocity of the lens and sending the angular velocity information to the main control chip; the control chip is used for application processing and calculating lens shake compensation information according to the angular velocity information, and sending jitter compensation information to the anti-shake driver chip; the anti-shake driver chip is used for controlling the power-on of the motor according to the jitter compensation information, so that the motor drives the movement of the lens.

Description

摄像头防抖系统、方法、电子设备Camera anti-shake system, method and electronic equipment
相关申请的交叉引用Cross references to related applications
本申请要求于2019年03月26日提交中国专利局、申请号为2019102312528、发明名称为“摄像头防抖系统、方法、电子设备和计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 2019102312528, and the invention title is "camera anti-shake system, method, electronic equipment and computer-readable storage medium" on March 26, 2019, all of which The content is incorporated in this application by reference.
技术领域Technical field
本申请涉及影像技术领域,特别是涉及一种摄像头防抖系统、方法、电子设备。This application relates to the field of imaging technology, and in particular to a camera anti-shake system, method, and electronic equipment.
背景技术Background technique
随着影像技术的快速发展,使用摄像头进行拍照的现象越来越普遍。人们在使用摄像头进行拍摄的过程中,存在因摄像头抖动而导致拍摄的图像模糊、不清晰的问题。目前摄像头可以通过集成光学防抖、电子防抖、感光器防抖等技术以减弱摄像头抖动对成像清晰度的影响。然而,传统的摄像头防抖系统存在可靠性低的问题。With the rapid development of imaging technology, the use of cameras to take pictures has become more and more common. When people use the camera to shoot, there is a problem that the captured image is blurred and unclear due to the camera shake. At present, the camera can reduce the impact of camera shake on imaging clarity by integrating optical image stabilization, electronic image stabilization, and photoreceptor image stabilization. However, the traditional camera anti-shake system has the problem of low reliability.
发明内容Summary of the invention
根据本申请的各种实施例提供一种摄像头防抖系统、方法、电子设备。According to various embodiments of the present application, a camera anti-shake system, method, and electronic device are provided.
一种摄像头防抖系统,所述系统包括:陀螺仪、主控芯片、镜头、防抖驱动芯片和马达;所述陀螺仪与所述主控芯片连接,所述主控芯片与所述防抖驱动芯片连接,所述防抖驱动芯片与所述马达连接,所述马达与所述镜头连接;A camera anti-shake system, the system comprising: a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip is connected to the anti-shake The drive chip is connected, the anti-shake drive chip is connected to the motor, and the motor is connected to the lens;
所述陀螺仪用于采集所述镜头的角速度信息,并将所述角速度信息发送给所述主控芯片;The gyroscope is used to collect angular velocity information of the lens, and send the angular velocity information to the main control chip;
所述主控芯片用于进行应用处理,以及根据所述角速度信息计算所述镜头的抖动补偿信息,并将所述抖动补偿信息发送给所述防抖驱动芯片;及The main control chip is used to perform application processing, and calculate the shake compensation information of the lens according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip; and
所述防抖驱动芯片用于根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake drive chip is used to control the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
一种摄像头防抖方法,应用于电子设备,所述电子设备包括主控芯片、陀螺仪、镜头、防抖驱动芯片和马达;所述陀螺仪与所述主控芯片连接,所述主控芯片与所述防抖驱动芯片连接,所述防抖驱动芯片与所述马达连接,所述马达与所述镜头连接;所述方法包括:An anti-shake method for a camera, applied to an electronic device, the electronic device includes a main control chip, a gyroscope, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip Connected with the anti-shake drive chip, the anti-shake drive chip is connected with the motor, and the motor is connected with the lens; the method includes:
通过所述陀螺仪采集所述镜头的角速度信息,并发送给所述主控芯片;Collecting the angular velocity information of the lens through the gyroscope and sending it to the main control chip;
通过所述主控芯片基于所述角速度信息计算得到所述镜头的抖动补偿信息,并将所述抖动补偿信息发送给所述防抖驱动芯片;及The main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip; and
通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
一种电子设备,包括存储器、陀螺仪、主控芯片、镜头、防抖驱动芯片和马达;所述陀螺仪所述主控芯片连接、所述主控芯片与所述防抖驱动芯片和存储器连接、所述防抖驱动芯片与所述马达连接、所述马达与所述镜头连接;所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下操作:An electronic device, including a memory, a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the main control chip of the gyroscope is connected, and the main control chip is connected to the anti-shake drive chip and the memory The anti-shake drive chip is connected to the motor, and the motor is connected to the lens; a computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the following operating:
通过所述陀螺仪采集所述镜头的角速度信息,并发送给所述主控芯片;Collecting the angular velocity information of the lens through the gyroscope and sending it to the main control chip;
通过所述主控芯片基于所述角速度信息计算得到所述镜头的抖动补偿信息,并将所述抖动补偿信息发送给所述防抖驱动芯片;及The main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip; and
通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
本申请实施例提供的摄像头防抖系统、方法、电子设备,可以通过陀螺仪发送角速度 信息给主控芯片,以使主控芯片根据角速度信息计算镜头的抖动补偿信息,防抖驱动芯片根据防抖补偿信息控制马达上电,防抖驱动芯片不需要内置处理模组来计算抖动补偿信息,可以减小防抖驱动芯片的体积,从而提高摄像头防抖系统的可靠性。The camera anti-shake system, method, and electronic equipment provided in the embodiments of the application can send angular velocity information to the main control chip through the gyroscope, so that the main control chip calculates the lens shake compensation information according to the angular velocity information, and the anti-shake drive chip The compensation information controls the motor to be powered on, and the anti-shake drive chip does not need a built-in processing module to calculate the shake compensation information, which can reduce the volume of the anti-shake drive chip, thereby improving the reliability of the camera anti-shake system.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the following drawings and description. Other features, objects and advantages of the present invention will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为一个或多个实施例中摄像头防抖系统的结构示意图。Fig. 1 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
图2为一个或多个实施例中摄像头防抖系统的结构示意图。Fig. 2 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
图3为一个或多个实施例中摄像头防抖系统的结构图。Fig. 3 is a structural diagram of a camera anti-shake system in one or more embodiments.
图4为一个或多个实施例中摄像头防抖系统的结构示意图。Fig. 4 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
图5为一个或多个实施例中摄像头防抖系统的结构示意图。Fig. 5 is a schematic structural diagram of a camera anti-shake system in one or more embodiments.
图6为一个或多个实施例中摄像头防抖方法的流程图。Fig. 6 is a flowchart of a camera anti-shake method in one or more embodiments.
图7为一个或多个实施例中电子设备的结构框图。Fig. 7 is a structural block diagram of an electronic device in one or more embodiments.
图8为一个或多个实施例中图像处理电路的示意图。Fig. 8 is a schematic diagram of an image processing circuit in one or more embodiments.
具体实施方式detailed description
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the purpose, technical solutions, and advantages of this application clearer, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
可以理解,本申请所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一芯片称为第二芯片,且类似地,可将第二芯片称为第一芯片。第一芯片和第二芯片两者都是芯片,但其不是同一芯片。It can be understood that the terms "first", "second", etc. used in this application can be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from another element. For example, without departing from the scope of the present application, the first chip may be referred to as the second chip, and similarly, the second chip may be referred to as the first chip. Both the first chip and the second chip are chips, but they are not the same chip.
图1为一个实施例中摄像头防抖系统的结构示意图。如图1所述,该摄像头防抖系统包括主控芯片112、陀螺仪114、防抖驱动芯片122、马达124和镜头126。其中,陀螺仪114与主控芯片112连接,主控芯片112与防抖驱动芯片122连接,防抖驱动芯片122与马达124连接,马达124与镜头126连接。Fig. 1 is a schematic structural diagram of a camera anti-shake system in an embodiment. As shown in FIG. 1, the camera anti-shake system includes a main control chip 112, a gyroscope 114, an anti-shake drive chip 122, a motor 124 and a lens 126. Among them, the gyroscope 114 is connected to the main control chip 112, the main control chip 112 is connected to the anti-shake driving chip 122, the anti-shake driving chip 122 is connected to the motor 124, and the motor 124 is connected to the lens 126.
陀螺仪114,用于采集镜头126的角速度信息,并将角速度信息发送给主控芯片112。The gyroscope 114 is used to collect the angular velocity information of the lens 126 and send the angular velocity information to the main control chip 112.
陀螺仪114是任意可以用于检测角速度的角运动检测装置。在摄像头拍摄图像的过程中,如果摄像头产生抖动或者移动则会影响成像的清晰度,使得采集的图像产生模糊。陀螺仪114可以检测镜头126是否发生抖动,并在镜头126发生抖动时获取镜头126的角速度信息。The gyroscope 114 is any angular motion detection device that can be used to detect angular velocity. In the process of capturing images by the camera, if the camera shakes or moves, the sharpness of the imaging will be affected and the captured images will be blurred. The gyroscope 114 can detect whether the lens 126 shakes, and obtain the angular velocity information of the lens 126 when the lens 126 shakes.
主控芯片112,用于根据角速度信息计算镜头126的抖动补偿信息,并将该抖动补偿信息发送给防抖驱动芯片122。The main control chip 112 is configured to calculate the shake compensation information of the lens 126 according to the angular velocity information, and send the shake compensation information to the anti-shake driving chip 122.
主控芯片112可以是摄像头防抖系统的SOC(System-on-a-Chip,系统级芯片),是该摄像头防抖系统或包含该摄像头防抖系统的电子设备的运算核心和控制核心。抖动补偿信息是主控芯片112根据角速度信息计算的,防抖驱动芯片122根据该抖动补偿信息控制马达124上电,进而通过马达124驱动镜头126移动,镜头126移动的方向与抖动的方向相反,以消除因抖动引起的镜头偏移。抖动补偿信息包含了镜头在至少一个方向的补偿量。抖动补偿信息可以根据镜头所在平面的任意一点的位置确定。例如,抖动补偿信息可以根据镜头的中心点确定,也可以根据镜头上的其他点确定。The main control chip 112 may be the SOC (System-on-a-Chip) of the camera anti-shake system, and is the computing core and control core of the camera anti-shake system or an electronic device containing the camera anti-shake system. The shake compensation information is calculated by the main control chip 112 according to the angular velocity information. The anti-shake drive chip 122 controls the motor 124 to power on according to the shake compensation information, and then drives the lens 126 to move through the motor 124. The moving direction of the lens 126 is opposite to the shaking direction. To eliminate lens shift caused by jitter. The shake compensation information includes the compensation amount of the lens in at least one direction. The shake compensation information can be determined according to the position of any point on the plane where the lens is located. For example, the shake compensation information can be determined based on the center point of the lens, or based on other points on the lens.
主控芯片112可以进行应用处理,例如主控芯片可以接收摄像头应用程序启动指令并根据该指令开启摄像头等。在本申请实施例中,主控芯片112还可以根据角速度信息计算抖动补偿信息。具体地,主控芯片112预存有抖动补偿算法,主控芯片112可以根据该抖动补偿算法及陀螺仪采集的角速度信息计算得到抖动补偿信息。主控芯片112可以在每一次接收到陀螺仪114发送的角速度信息时,根据该角速度信息计算镜头126的抖动补偿信息,并发送给防抖驱动芯片122。其中,主控芯片112中预存的抖动补偿算法可以根据实际应用需求进行更新。The main control chip 112 can perform application processing. For example, the main control chip can receive a camera application startup instruction and turn on the camera according to the instruction. In the embodiment of the present application, the main control chip 112 may also calculate jitter compensation information according to the angular velocity information. Specifically, the main control chip 112 prestores a jitter compensation algorithm, and the main control chip 112 can calculate the jitter compensation information according to the jitter compensation algorithm and the angular velocity information collected by the gyroscope. The main control chip 112 can calculate the shake compensation information of the lens 126 according to the angular velocity information every time it receives the angular velocity information sent by the gyroscope 114, and send it to the anti-shake driving chip 122. Among them, the jitter compensation algorithm pre-stored in the main control chip 112 can be updated according to actual application requirements.
防抖驱动芯片122,用于根据该抖动补偿信息控制马达124上电,以使马达124驱动镜头126的移动。The anti-shake driving chip 122 is used to control the motor 124 to be powered on according to the shake compensation information, so that the motor 124 drives the movement of the lens 126.
防抖驱动芯片122是可用于驱动马达等负载的芯片。镜头126可以不限于是各种定焦镜头、变焦镜头、广角镜头、标准镜头等。马达124可以是音圈马达。防抖驱动芯片122可以接收主控芯片112发动的抖动补偿信息,并根据抖动补偿信息中包含的补偿量控制马达124的电流大小,以控制马达124驱动镜头126移动的距离。The anti-shake driver chip 122 is a chip that can be used to drive loads such as motors. The lens 126 may not be limited to various fixed focus lenses, zoom lenses, wide-angle lenses, standard lenses, and the like. The motor 124 may be a voice coil motor. The anti-shake driving chip 122 can receive the shake compensation information initiated by the main control chip 112 and control the current of the motor 124 according to the compensation amount contained in the shake compensation information to control the distance the motor 124 drives the lens 126 to move.
本申请实施例提供的摄像头防抖系统中包括依次连接的陀螺仪、主控芯片、防抖驱动芯片、马达和镜头,陀螺仪可以采集镜头的角速度信息,并将角速度信息发送给主控芯片,主控芯片可以根据该角速度信息计算镜头的抖动补偿信息,并将该抖动补偿信息发送给防抖驱动芯片,防抖驱动芯片可以根据该抖动补偿信息控制马达上电,以使马达驱动镜头的移动,可以对镜头的偏移进行补偿,减少镜头偏移,提高摄像头采集图像的质量。由于可以通过主控芯片根据角速度信息计算镜头的抖动补偿信息,再发送给防抖驱动芯片以控制马达,防抖驱动芯片不需要内处理模块进行抖动补偿信息的计算,可以减小防抖驱动芯片的体积,提高摄像头防抖系统的可靠性。The camera anti-shake system provided by the embodiment of the application includes a gyroscope, a main control chip, an anti-shake drive chip, a motor, and a lens connected in sequence. The gyroscope can collect the angular velocity information of the lens and send the angular velocity information to the main control chip. The main control chip can calculate the shake compensation information of the lens according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip, and the anti-shake drive chip can control the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens , It can compensate the shift of the lens, reduce the shift of the lens, and improve the quality of the image collected by the camera. Since the main control chip can calculate the lens shake compensation information according to the angular velocity information, and then send it to the anti-shake drive chip to control the motor, the anti-shake drive chip does not need an internal processing module to calculate the shake compensation information, which can reduce the anti-shake drive chip The volume of the camera improves the reliability of the camera anti-shake system.
图2为又一个实施例中摄像头防抖系统的示意图。如图2所示,在一个实施例中,摄像头防抖系统中包含的主控芯片112和陀螺仪114设于摄像头防抖系统的主板110上,防抖驱动芯片122、马达124和镜头126设于摄像头防抖系统的摄像头模组120中。其中,陀螺仪114与主控芯片112之间可以通过SPI(Serial Peripheral Interface,串行外设接口)连接;主控芯片112与防抖驱动芯片122之间可以通过IIC(Inter-Integrated Circuit,集成电路总线)连接。陀螺仪114可以采集镜头126的角速度信息,并将角速度信息发送给主控芯片112,主控芯片112可以根据角速度信息计算镜头126的抖动补偿信息,并将该抖动补偿信息发送给防抖驱动芯片122,防抖驱动芯片122可以根据该抖动补偿信息控制马达124上电,以使马达124驱动镜头126的移动。Fig. 2 is a schematic diagram of a camera anti-shake system in another embodiment. As shown in FIG. 2, in one embodiment, the main control chip 112 and the gyroscope 114 included in the camera anti-shake system are provided on the main board 110 of the camera anti-shake system, and the anti-shake drive chip 122, the motor 124 and the lens 126 are provided In the camera module 120 of the camera anti-shake system. Among them, the gyroscope 114 and the main control chip 112 can be connected through SPI (Serial Peripheral Interface); the main control chip 112 and the anti-shake driver chip 122 can be connected through IIC (Inter-Integrated Circuit, integrated circuit). Circuit bus) connection. The gyroscope 114 can collect the angular velocity information of the lens 126 and send the angular velocity information to the main control chip 112. The main control chip 112 can calculate the shake compensation information of the lens 126 according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip 122. The anti-shake driving chip 122 can control the motor 124 to be powered on according to the shake compensation information, so that the motor 124 drives the movement of the lens 126.
进一步,摄像头模组120中还设有图像传感器128,图像传感器128可以通过CCI(Connection Control Interface,连接控制接口)与主控芯片112连接。主控芯片112可以在接收到图像采集指令,通过CCI接口控制图像传感器128上电,以使图像传感器128基于移动后的镜头126采集图像。Furthermore, the camera module 120 is also provided with an image sensor 128, and the image sensor 128 may be connected to the main control chip 112 through a CCI (Connection Control Interface). The main control chip 112 may control the image sensor 128 to be powered on through the CCI interface after receiving the image capture instruction, so that the image sensor 128 captures images based on the moved lens 126.
通过主控芯片根据陀螺仪采集的角速度信息计算镜头的抖动补偿信息,防抖驱动芯片根据抖动补偿信息控制马达上电驱动镜头的移动,不需要防抖驱动芯片做抖动补偿信息的计算,可以减小防抖驱动芯片的体积,即减少摄像头模组的体积,可以提高摄像头模组的可靠性。The main control chip calculates the shake compensation information of the lens according to the angular velocity information collected by the gyroscope. The anti-shake drive chip controls the movement of the lens when the motor is powered on according to the shake compensation information. It does not need the anti-shake drive chip to calculate the shake compensation information, which can reduce The small size of the anti-shake driver chip reduces the size of the camera module and improves the reliability of the camera module.
在一个实施例中,提供的摄像头防抖系统还包括与防抖驱动芯片122连接的霍尔传感器。霍尔传感器可以用于检测镜头126当前的位置信息,并将位置信息发送给防抖驱动芯片122,防抖驱动芯片122还可以用于基于位置信息和抖动补偿信息控制马达124上电,以使马达124驱动镜头126的移动。In an embodiment, the provided camera anti-shake system further includes a Hall sensor connected to the anti-shake drive chip 122. The Hall sensor can be used to detect the current position information of the lens 126 and send the position information to the anti-shake drive chip 122. The anti-shake drive chip 122 can also be used to control the motor 124 to be powered on based on the position information and the shake compensation information, so that The motor 124 drives the movement of the lens 126.
霍尔传感器(Hall sensor),是根据霍尔效应制作的一种磁场传感器,霍尔效应从本质上讲是运动的带电粒子在磁场中受洛仑兹力作用引起的偏转。当带电粒子(电子或空穴)被约束在固体材料中,这种偏转就导致在垂直电流和磁场的方向上产生正负电荷的聚 积,从而形成附加的横向电场。镜头的位置信息是指镜头在摄像头防抖系统的位置。根据镜头的位置信息可以确定镜头相对于初始位置的偏移量。其中,初始位置为摄像头防抖系统处于静止状态时镜头的位置。具体地,可以对镜头所在的平面建立坐标系,如以初始位置的中心为原点建立坐标系,从而根据霍尔传感器输出的霍尔值确定镜头在坐标系中的坐标,即可以确定镜头的位置信息。其中,镜头所在的平面一般是指镜头所在的,平行于镜头对应的图像传感器的平面。Hall sensor is a kind of magnetic field sensor made according to Hall effect. Hall effect is essentially the deflection of moving charged particles in a magnetic field caused by Lorentz force. When charged particles (electrons or holes) are confined in the solid material, this deflection leads to an accumulation of positive and negative charges in the direction of the vertical current and magnetic field, thereby forming an additional lateral electric field. The lens position information refers to the position of the lens in the camera anti-shake system. According to the position information of the lens, the offset of the lens relative to the initial position can be determined. Among them, the initial position is the position of the lens when the camera anti-shake system is in a static state. Specifically, a coordinate system can be established for the plane where the lens is located, such as establishing a coordinate system with the center of the initial position as the origin, so as to determine the coordinates of the lens in the coordinate system according to the Hall value output by the Hall sensor, and then the position of the lens can be determined information. Among them, the plane where the lens is located generally refers to the plane where the lens is located, and is parallel to the plane of the image sensor corresponding to the lens.
防抖驱动芯片122基于位置信息和抖动补偿信息控制马达124上电。具体地,位置信息为当前镜头相对于初始位置的偏移量,抖动补偿信息为镜头在不同方向的抖动补偿量,则防抖驱动芯片122可以根据位置信息和抖动补偿信息确定镜头的需求偏移量,需求偏移量即为镜头为了减少抖动引起的偏差而需要移动的距离。例如,以镜头126的初始位置的中心为原点,镜头126所在的平面建立XY轴坐标系,当镜头126当前的位置信息为(+5,-12),主控芯片112计算的抖动补偿信息中包含了X轴的抖动补偿量为+2,Y轴的抖动补偿量为-5时,防抖驱动芯片122确定镜头的需求偏移量为X轴方向为-3,、Y轴方向为+7,则防抖驱动芯片122根据该需求偏移量控制马达124上电,使马达124驱动镜头126在X轴负方向移动3个单位长度,在Y轴正方向移动7个单位长度。在摄像头防抖系统中,镜头偏移数据级在微米级别。可选地,位置信息也可以通过位置矢量来进行表示,即位置信息可以包含镜头相对于初始位置的偏移方向和偏移量。类似地,抖动补偿信息和需求偏移量也可以通过矢量来表示。The anti-shake driving chip 122 controls the motor 124 to be powered on based on the position information and the jitter compensation information. Specifically, the position information is the offset of the current lens relative to the initial position, and the shake compensation information is the amount of shake compensation of the lens in different directions, and the anti-shake drive chip 122 can determine the required offset of the lens according to the position information and the shake compensation information. The required offset is the distance the lens needs to move in order to reduce the deviation caused by jitter. For example, taking the center of the initial position of the lens 126 as the origin, the XY axis coordinate system is established on the plane where the lens 126 is located, when the current position information of the lens 126 is (+5, -12), the shake compensation information calculated by the main control chip 112 When the X-axis shake compensation amount is +2 and the Y-axis shake compensation amount is -5, the anti-shake drive chip 122 determines that the required offset of the lens is -3 in the X-axis direction and +7 in the Y-axis direction , The anti-shake drive chip 122 controls the motor 124 to be powered on according to the required offset, so that the motor 124 drives the lens 126 to move 3 units in the negative direction of the X-axis and 7 units in the positive direction of the Y-axis. In the camera anti-shake system, the lens offset data level is in the micron level. Optionally, the position information may also be represented by a position vector, that is, the position information may include the offset direction and offset amount of the lens relative to the initial position. Similarly, the jitter compensation information and demand offset can also be represented by vectors.
在一个实施例中,提供的摄像头防抖系统中防抖驱动芯片122内置霍尔传感器。防抖驱动芯片122还可以用于通过内置的霍尔传感器获取镜头126当前的位置信息,并基于该位置信息和抖动补偿信息控制马达124上电,以使马达124驱动镜头126的移动。In one embodiment, the anti-shake driving chip 122 in the provided camera anti-shake system has a built-in Hall sensor. The anti-shake drive chip 122 can also be used to obtain the current position information of the lens 126 through a built-in Hall sensor, and control the motor 124 to be powered on based on the position information and the shake compensation information, so that the motor 124 drives the lens 126 to move.
摄像头防抖系统采用的防抖驱动芯片122可以是内置有霍尔传感器的芯片。防抖驱动芯122可以接收到主控芯片112发送的抖动补偿信息时获取内置的霍尔传感器检测的镜头当前的位置信息,根据该抖动补偿信息和位置信息控制马达124上电,以使马达124驱动镜头126的移动。The anti-shake driving chip 122 used in the camera anti-shake system may be a chip with a built-in Hall sensor. The anti-shake drive core 122 can obtain the current position information of the lens detected by the built-in Hall sensor when receiving the shake compensation information sent by the main control chip 112, and control the motor 124 to be powered on according to the shake compensation information and the position information to make the motor 124 The movement of the lens 126 is driven.
当防抖驱动芯片122没有内置霍尔传感器时,摄像头模组中防抖驱动芯片122与霍尔传感器相连接,为霍尔传感器提供电源以及接收霍尔传感器检测的镜头位置信息时,当防抖驱动芯片122内置霍尔传感器时,防抖驱动芯片可以直接读取霍尔传感器检测的镜头位置信息,防抖驱动芯片122不需要通过外部线路与霍尔传感器进行连接,可以有效的减小防抖系统的体积,提高系统的稳定性。When the anti-shake driver chip 122 does not have a built-in Hall sensor, the anti-shake driver chip 122 in the camera module is connected to the Hall sensor to provide power to the Hall sensor and receive lens position information detected by the Hall sensor. When the driver chip 122 has a built-in Hall sensor, the anti-shake driver chip can directly read the lens position information detected by the Hall sensor. The anti-shake driver chip 122 does not need to be connected to the Hall sensor through an external circuit, which can effectively reduce the anti-shake The volume of the system improves the stability of the system.
在一个实施例中,主控芯片112还可以用于当接收到镜头126的启动指令时,根据启动指令中包含的镜头信息确定镜头126对应的抖动补偿算法,当接收镜头的角速度信息时,根据抖动补偿算法及角速度信息计算镜头126的抖动补偿信息。In one embodiment, the main control chip 112 may also be used to determine the shake compensation algorithm corresponding to the lens 126 according to the lens information contained in the start instruction when the start instruction of the lens 126 is received. When receiving the angular velocity information of the lens, according to The shake compensation algorithm and angular velocity information calculate the shake compensation information of the lens 126.
启动指令可以是用户通过按压包含该摄像头防抖系统的电子设备的按钮生成的,也可以是用于点击电子设备触摸屏上的控件生成的等。主控芯片112可以接收对镜头触发的启动指令。启动指令包含了需要启动的镜头对应的镜头信息。镜头信息可以包含但不限于是镜头在摄像头防抖系统中的唯一标识、镜头的类型、镜头的配置参数的一种或多种。主控芯片112可以针对不同的镜头采用不同的抖动补偿算法,进而根据当前所启动的镜头确定对应的抖动补偿算法来计算镜头的抖动补偿信息。例如,当摄像头防抖系统中包含唯一标识分别为A、B、C的三个镜头,则主控芯片112可以预存三个镜头标识分别对应的抖动补偿算法,并在接收到镜头的启动指令,根据启动指令包含的镜头标识获取对应的抖动补偿算法;主控芯片112也可以预存不同镜头类型或配置参数对应的抖动补偿算法,如针对前置和后置镜头,长焦、广角、定焦镜头预设不同的抖动补偿算法。可以理解的是,主控芯片112也可以预设不同的算法参数,从而根据镜头确定对应的算法参数来计算镜头的抖动补偿信息。The start instruction may be generated by the user by pressing a button of the electronic device containing the camera anti-shake system, or generated by clicking a control on the touch screen of the electronic device. The main control chip 112 may receive a start instruction for triggering the lens. The start instruction contains lens information corresponding to the lens that needs to be started. The lens information may include, but is not limited to, one or more of the unique identification of the lens in the camera anti-shake system, the type of the lens, and the configuration parameters of the lens. The main control chip 112 may adopt different shake compensation algorithms for different lenses, and then determine the corresponding shake compensation algorithm according to the currently activated lens to calculate the shake compensation information of the lens. For example, when the camera anti-shake system includes three lenses with unique identifiers A, B, and C, the main control chip 112 can pre-store the shake compensation algorithms corresponding to the three lens identifiers, and receive the lens start instruction, Obtain the corresponding shake compensation algorithm according to the lens identification contained in the start instruction; the main control chip 112 can also prestore the shake compensation algorithm corresponding to different lens types or configuration parameters, such as for front and rear lenses, telephoto, wide-angle, and fixed-focus lenses Preset different jitter compensation algorithms. It is understandable that the main control chip 112 may also preset different algorithm parameters, so as to determine the corresponding algorithm parameters according to the lens to calculate the shake compensation information of the lens.
可选地,在一个实施例中,主控芯片112可以通过拟合模型来计算镜头的防抖补偿信息。具体地,主控芯片112可以预先设定不同镜头对应的参考拟合模型,将镜头的角速度信息和对应的抖动补偿信息带入到参考拟合模型中,可以得到参考拟合模型的拟合参数,根据得到的拟合参数建立镜头对应的目标拟合模型。Optionally, in an embodiment, the main control chip 112 may calculate the anti-shake compensation information of the lens by fitting a model. Specifically, the main control chip 112 may preset reference fitting models corresponding to different lenses, and bring the angular velocity information of the lens and the corresponding jitter compensation information into the reference fitting model, and the fitting parameters of the reference fitting model can be obtained. Establish a target fitting model corresponding to the lens according to the obtained fitting parameters.
例如,参考拟合模型可以表示为
Figure PCTCN2020079605-appb-000001
其中,x表示陀螺仪采集的角速度信息,y(x,w)表示镜头的抖动补偿信息,w j为常数,j可以为任意自然数,在此不做限定。主控芯片112可以将镜头的角速度信息和对应的抖动补偿信息带入到参考拟合模型中,从而得出参考拟合模型中的常数w j,将该常数带入该参考拟合模型中即得到该镜头对应的目标拟合模型。主控芯片112可以通过该目标拟合模型结合陀螺仪114采集的角速度信息计算镜头126的抖动补偿信息。
For example, the reference fitting model can be expressed as
Figure PCTCN2020079605-appb-000001
Among them, x represents the angular velocity information collected by the gyroscope, y(x, w) represents the shake compensation information of the lens, w j is a constant, and j can be any natural number, which is not limited here. The main control chip 112 can bring the angular velocity information of the lens and the corresponding jitter compensation information into the reference fitting model, thereby obtaining the constant w j in the reference fitting model, and then bringing the constant into the reference fitting model. Get the target fitting model corresponding to the shot. The main control chip 112 can calculate the shake compensation information of the lens 126 by combining the target fitting model and the angular velocity information collected by the gyroscope 114.
上述实施例中,摄像头防抖系统包含的主控芯片可以用于接收镜头的启动指令,并根据启动指令中包含的镜头信息确定镜头的抖动补偿算法,当接收镜头的角速度信息时,根据该抖动补偿算法及角速度信息计算镜头的抖动补偿信息。即针对不同的镜头采用不同的抖动补偿算法来计算抖动补偿信息,可以提高抖动补偿信息的准确信息,从而提高摄像头防抖的准确性。In the above embodiment, the main control chip included in the camera anti-shake system can be used to receive the start instruction of the lens, and determine the shake compensation algorithm of the lens according to the lens information contained in the start instruction. When receiving the angular velocity information of the lens, according to the shake The compensation algorithm and angular velocity information calculate the lens shake compensation information. That is, for different lenses, different shake compensation algorithms are used to calculate the shake compensation information, which can improve the accuracy of the shake compensation information, thereby improving the accuracy of the camera's anti-shake.
在一个实施例中,提供的摄像头防抖系统中防抖驱动芯片122内置于马达124。In one embodiment, the anti-shake driving chip 122 in the provided camera anti-shake system is built in the motor 124.
马达124一般为音圈马达(VCM,Voice Coil Motor)。音圈马达是一种将电能转化为机械能的装置,可以实现直线型及有限摆角的运动。马达124中含有线圈,线圈可以在防抖驱动芯片124的控制下通电后产生磁场,产生的磁场与永久磁场之间的相互作用可驱动镜头的镜头126的移动。通常,马达124在摄像头防抖系统中占据较大的体积,本申请实施例提供的摄像头防抖系统,可以将防抖驱动芯片122内置于马达124中,可以减小摄像头的体积,简化摄像头防抖系统的走线,可以提高摄像头防抖系统的稳定性。The motor 124 is generally a voice coil motor (VCM, Voice Coil Motor). Voice coil motor is a device that converts electrical energy into mechanical energy, which can realize linear and limited swing angle motion. The motor 124 contains a coil. The coil can generate a magnetic field after being energized under the control of the anti-shake drive chip 124. The interaction between the generated magnetic field and the permanent magnetic field can drive the movement of the lens 126 of the lens. Generally, the motor 124 occupies a relatively large volume in the camera anti-shake system. In the camera anti-shake system provided by the embodiment of the present application, the anti-shake drive chip 122 can be built in the motor 124, which can reduce the size of the camera and simplify the camera anti-shake system. The routing of the shake system can improve the stability of the camera anti-shake system.
图3为另一个实施例中摄像头防抖系统的结构示意图。如图3所示,在一个实施例中,提供的摄像头防抖系统中陀螺仪114与主控芯片112之间通过第一连接通道和第二连接通道连接。陀螺仪114可以是具有至少两个输出通道的陀螺仪。Fig. 3 is a schematic structural diagram of a camera anti-shake system in another embodiment. As shown in FIG. 3, in one embodiment, the gyroscope 114 and the main control chip 112 in the camera anti-shake system are connected through a first connection channel and a second connection channel. The gyroscope 114 may be a gyroscope having at least two output channels.
主控芯片112可以在当接收到镜头的第一启动指令时,通过第一连接通道向陀螺仪114发送第一获取指令;当接收到预设应用程序的第二启动指令时,通过第二连接通道向陀螺仪114发送第二获取指令。The main control chip 112 may send the first acquisition instruction to the gyroscope 114 through the first connection channel when receiving the first start instruction of the lens; when receiving the second start instruction of the preset application, it may send the first acquisition instruction through the second connection The channel sends a second acquisition instruction to the gyroscope 114.
预设应用程序为利用陀螺仪采集的角速度信息进行除镜头防抖之外的其他应用的应用程序。例如,预设应用程序可以是利用陀螺仪采集的角速度信息实现体感效果的游戏类应用程序,也可以是利用陀螺仪采集的角速度信息来计算人体步数的计步类应用程序等,不限于此。预设应用程序的启动指令可以是通过点击包含该摄像头防抖系统的电子设备显示屏上的按钮生成的,也可以是用于通过按压触摸屏上的控件生成的等,不限于此。The preset application program is an application program that uses the angular velocity information collected by the gyroscope to perform applications other than lens anti-shake. For example, the preset application program may be a game application program that uses the angular velocity information collected by the gyroscope to achieve somatosensory effects, or it may be a pedometer application program that uses the angular velocity information collected by the gyroscope to calculate the number of steps of the human body. . The startup instruction of the preset application program may be generated by clicking a button on the display screen of the electronic device including the camera anti-shake system, or may be generated by pressing a control on the touch screen, etc., and is not limited thereto.
主控芯片112可以在当接收到镜头的启动指令时,通过第一连接通道向陀螺仪114发送第一获取指令;当接收到预设应用程序的启动指令时,通过第二连接通道向陀螺仪114发送第二获取指令,即第一获取指令可以将陀螺仪114与主控芯片112之间的第一连接通道导通,第二获取指令可以将陀螺仪114与主控芯片112之间的第二连接通道导通。可选地,主控芯片112也可以在接收到预设功能的启动指令后向陀螺仪114发送第二获取指令。例如,当预设功能为体感互动功能时,主控芯片112可以先接收到具有体感互动功 能的应用程序的启动指令,主控芯片112根据该启动指令启动应用程序后检测是否开启体感互动功能,当接收到体感互动功能的启动指令时,则主控芯片112向陀螺仪114发送第二获取指令。The main control chip 112 can send the first acquisition instruction to the gyroscope 114 through the first connection channel when receiving the start instruction of the lens; when receiving the start instruction of the preset application program, it can send the first acquisition instruction to the gyroscope through the second connection channel. 114 sends a second acquisition instruction, that is, the first acquisition instruction can turn on the first connection channel between the gyroscope 114 and the main control chip 112, and the second acquisition instruction can connect the first connection channel between the gyroscope 114 and the main control chip 112. The second connection channel is turned on. Optionally, the main control chip 112 may also send the second acquisition instruction to the gyroscope 114 after receiving the startup instruction of the preset function. For example, when the preset function is the somatosensory interaction function, the main control chip 112 may first receive the start instruction of the application with the somatosensory interaction function, and the main control chip 112 starts the application according to the start instruction and then detects whether the somatosensory interaction function is enabled. When receiving the activation instruction of the somatosensory interaction function, the main control chip 112 sends a second acquisition instruction to the gyroscope 114.
陀螺仪114用于采集镜头的原始角速度信息,并根据原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种;当接收到第一获取指令时,将第一角速度信息通过第一连接通道发送给主控芯片112;当接收到第二获取指令时,将第二角速度信息通过第二连接通道发送给主控芯片112。The gyroscope 114 is used to collect the original angular velocity information of the lens, and generate at least one of the first angular velocity information and the second angular velocity information of different attributes according to the original angular velocity information; when the first acquisition instruction is received, the first angular velocity information It is sent to the main control chip 112 through the first connection channel; when the second acquisition instruction is received, the second angular velocity information is sent to the main control chip 112 through the second connection channel.
当摄像头发生抖动时,陀螺仪114可以采集镜头的原始角速度信息,镜头的原始角速度信息即为镜头所在摄像头防抖系统的原始角速度信息,也即包含该摄像头防抖系统的电子设备的原始角速度信息。角速度信息的属性可以但不限于是角速度信息的输出频率、角速度信息的带宽、角速度信息的测量范围等。在不同的功能应用中,需要的角速度信息的属性不同,例如,摄像头在拍摄过程中曝光时间较小,摄像头防抖系统需要在曝光时间内控制镜头移动以抵消系统的抖动,因此,用于计算镜头的抖动补偿信息的角速度信息的输出频率往往大于用于其他功能的输出频率。When the camera shakes, the gyroscope 114 can collect the original angular velocity information of the lens. The original angular velocity information of the lens is the original angular velocity information of the camera anti-shake system where the lens is located, that is, the original angular velocity information of the electronic device containing the camera anti-shake system . The attributes of the angular velocity information can be, but are not limited to, the output frequency of the angular velocity information, the bandwidth of the angular velocity information, the measurement range of the angular velocity information, and the like. In different functional applications, the required angular velocity information has different attributes. For example, the camera has a small exposure time during shooting, and the camera anti-shake system needs to control the movement of the lens during the exposure time to offset the shake of the system. Therefore, it is used for calculation The output frequency of the angular velocity information of the lens shake compensation information is often greater than the output frequency used for other functions.
主控芯片112可以根据实际应用需求预设不同功能应用对应的角速度信息的属性,从而陀螺仪114可以根据采集的原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种。具体地,当陀螺仪114接收到第一获取指令,可以根据原始角速度信息生成对应于第一获取指令的第一角速度信息,并将该第一角速度信息通过第一连接通道发送给主控芯片112;当陀螺仪114接收到第二获取指令,可以根据原始角速度信息生成对应于第二获取指令的第二角速度信息,并将该第二角速度信息通过第二连接通道发送给主控芯片112。The main control chip 112 can preset the attributes of angular velocity information corresponding to different functional applications according to actual application requirements, so that the gyroscope 114 can generate at least one of the first angular velocity information and the second angular velocity information with different attributes according to the collected original angular velocity information . Specifically, when the gyroscope 114 receives the first acquisition instruction, it can generate first angular velocity information corresponding to the first acquisition instruction according to the original angular velocity information, and send the first angular velocity information to the main control chip 112 through the first connection channel. When the gyroscope 114 receives the second acquisition instruction, it can generate second angular velocity information corresponding to the second acquisition instruction according to the original angular velocity information, and send the second angular velocity information to the main control chip 112 through the second connection channel.
进一步地,在一个实施例中,提供的摄像头防抖系统中主控芯片112还可以用于当接收到第一启动指令时,获取第一启动指令对应的第一属性信息,并根据第一属性信息生成第一获取指令;当接收到第二启动指令时,获取第二启动指令中包含的应用程序标识,根据应用程序标识对应的第二属性信息生成第二获取指令。Further, in one embodiment, the main control chip 112 in the camera anti-shake system provided may also be used to obtain the first attribute information corresponding to the first start instruction when the first start instruction is received, and according to the first attribute The information generates a first acquisition instruction; when the second startup instruction is received, the application identifier included in the second startup instruction is acquired, and the second acquisition instruction is generated according to the second attribute information corresponding to the application identifier.
属性信息即为角速度信息的输出频率、角速度信息的带宽、角速度信息的测量范围的具体数值。应用程序标识是该系统中包含的应用程序的唯一标识。主控芯片112可以预设镜头和不同应用程序对应的属性信息。具体地,主控芯片112预设的属性信息在此不做限定。例如,镜头对应的属性信息可以是输出频率为2KHz、测量范围为0至3rad/s;应用程序B的属性信息可以是400Hz、10rad/s等,不限于此。可选地,不同应用程序对应的属性信息也可以是相同的。当摄像头防抖系统中包含多个镜头时,主控芯片也可以预存不同镜头对应的属性信息。主控芯片112还可以用于当接收到第一启动指令时,获取第一启动指令对应的第一属性信息,并根据第一属性信息生成第一获取指令,将第一获取指令发送给陀螺仪114;当接收到第二启动指令时,获取第二启动指令中包含的应用程序标识,根据应用程序标识对应的第二属性信息生成第二获取指令,并将第二获取指令发送给陀螺仪114。The attribute information is the specific value of the output frequency of the angular velocity information, the bandwidth of the angular velocity information, and the measurement range of the angular velocity information. The application identifier is the unique identifier of the application included in the system. The main control chip 112 can preset attribute information corresponding to the lens and different applications. Specifically, the attribute information preset by the main control chip 112 is not limited here. For example, the attribute information corresponding to the lens may be an output frequency of 2KHz and a measurement range of 0 to 3rad/s; the attribute information of the application B may be 400Hz, 10rad/s, etc., but it is not limited thereto. Optionally, the attribute information corresponding to different applications may also be the same. When the camera anti-shake system contains multiple lenses, the main control chip can also pre-store attribute information corresponding to different lenses. The main control chip 112 may also be used to obtain the first attribute information corresponding to the first start instruction when the first start instruction is received, generate the first acquisition instruction according to the first attribute information, and send the first acquisition instruction to the gyroscope 114; When receiving the second startup instruction, acquire the application program identifier contained in the second startup instruction, generate a second acquisition instruction according to the second attribute information corresponding to the application program identifier, and send the second acquisition instruction to the gyroscope 114 .
进一步地,陀螺仪114还用于获取第一连接通道对应的第一地址,获取第一获取指令中包含的第一属性信息,并根据第一地址和第一属性信息配置该陀螺仪的寄存器;陀螺仪114还可以获取第二连接通道对应的第二地址,获取第二获取指令中包含的第二属性信息,并根据第二地址和第二属性信息配置陀螺仪114的寄存器。陀螺仪114的寄存器中包含有多个地址,其中,连接通道与地址对应,即第一连接通道对应第一地址,第二连接通道对应第二地址。从而,通过读取陀螺仪114中寄存器的第一地址,陀螺仪114可以通过第一地址对应的第一连接通道输出第一角速度信息,通过读取陀螺仪114中寄存器的第二地址,陀螺仪114可以通过第二地址对应的第二连接通道输出第二角速度信息。Further, the gyroscope 114 is also used to obtain the first address corresponding to the first connection channel, obtain the first attribute information included in the first obtaining instruction, and configure the register of the gyroscope according to the first address and the first attribute information; The gyroscope 114 may also obtain the second address corresponding to the second connection channel, obtain the second attribute information contained in the second obtaining instruction, and configure the register of the gyroscope 114 according to the second address and the second attribute information. The register of the gyroscope 114 contains multiple addresses, where the connection channel corresponds to the address, that is, the first connection channel corresponds to the first address, and the second connection channel corresponds to the second address. Thus, by reading the first address of the register in the gyroscope 114, the gyroscope 114 can output the first angular velocity information through the first connection channel corresponding to the first address, and by reading the second address of the register in the gyroscope 114, the gyroscope 114 114 can output the second angular velocity information through the second connection channel corresponding to the second address.
陀螺仪可以在接收到第一获取指令时,将对应于第一属性信息的第一角速度信息通 过第一连接通道发送给主控芯片,当接收到第二获取指令,将对应于第二属性信息的第二角速度信息通过第二连接通道发送给主控芯片。陀螺仪可以同时通过第一连接通道输出第一角速度信息及通过第二连接通道输出第二角速度信息。即镜头防抖功能与预设应用程序可以共用一个陀螺仪的角速度信息,摄像头防抖系统可以根据不同的应用输出不同频率的角速度信息,可以降低摄像头防抖系统的成本。The gyroscope can send the first angular velocity information corresponding to the first attribute information to the main control chip through the first connection channel when receiving the first acquisition instruction, and when receiving the second acquisition instruction, it will correspond to the second attribute information The second angular velocity information is sent to the main control chip through the second connection channel. The gyroscope can simultaneously output first angular velocity information through the first connection channel and output second angular velocity information through the second connection channel. That is, the lens anti-shake function and the preset application can share the angular velocity information of the same gyroscope, and the camera anti-shake system can output angular velocity information of different frequencies according to different applications, which can reduce the cost of the camera anti-shake system.
图4为另一个实施例中摄像头防抖系统的结构示意图。如图4所示,在一个实施例中,提供的摄像头防抖系统中防抖驱动芯片可以包括第一子防抖驱动芯片121和第二子防抖驱动芯片123,主控芯片112可以将抖动补偿信息中包含的对应于第一方向的第一补偿信息发送给第一子防抖驱动芯片121,及将抖动补偿信息中包含的对应于第二方向的第二补偿信息发送给第二子防抖驱动芯片123,第一子防抖驱动芯片121用于根据第一补偿信息控制马达124上电,以使马达124驱动镜头126在第一方向上移动,第二子防抖驱动芯片123用于根据第二补偿信息控制马达124上电,以使马达124驱动镜头126在第二方向上移动。Fig. 4 is a schematic structural diagram of a camera anti-shake system in another embodiment. As shown in FIG. 4, in one embodiment, the anti-shake driving chip in the provided camera anti-shake system may include a first sub-anti-shake driving chip 121 and a second sub-anti-shake driving chip 123, and the main control chip 112 may The first compensation information corresponding to the first direction included in the compensation information is sent to the first anti-shake driving chip 121, and the second compensation information corresponding to the second direction included in the jitter compensation information is sent to the second sub-anti-shake driver. Shake driving chip 123. The first sub anti-shake driving chip 121 is used to control the motor 124 to be powered on according to the first compensation information so that the motor 124 drives the lens 126 to move in the first direction. The second sub anti-shake driving chip 123 is used for The motor 124 is controlled to be powered on according to the second compensation information, so that the motor 124 drives the lens 126 to move in the second direction.
第一子防抖驱动芯片121和第二子防抖驱动芯片123设置于摄像头模组的不同位置。第一子防抖驱动芯片121和第二子防抖驱动芯片123的体积小于防抖驱动芯片的体积。抖动补偿信息可以包含对应于第一方向的第一补偿信息和对应于第二方向的第二补偿信息。例如,当摄像头防抖系统以镜头所在平面建立XY坐标系时,则第一方向可以为X轴的方向,第二方向可以为Y轴的方向。主控芯片112可以将抖动补偿信息中包含的对应的第一方向的第一补偿信息发送给第一子防抖驱动芯片121,及将抖动补偿信息中包含的对应于第二方向的第二补偿信息发送给第二子防抖驱动芯片123,第一子防抖驱动芯片121可以根据第一补偿信息控制马达124上电,以使马达124驱动镜头126在第一方向上移动,第二子防抖驱动芯片123可以根据第二补偿信息控制马达124上电,以使马达124驱动镜头126在第二方向上移动。The first sub anti-shake driver chip 121 and the second sub anti-shake driver chip 123 are arranged at different positions of the camera module. The volume of the first sub anti-shake driving chip 121 and the second sub anti-shake driving chip 123 is smaller than the volume of the anti-shake driving chip. The shake compensation information may include first compensation information corresponding to the first direction and second compensation information corresponding to the second direction. For example, when the camera anti-shake system establishes an XY coordinate system on the plane where the lens is located, the first direction may be the direction of the X axis, and the second direction may be the direction of the Y axis. The main control chip 112 may send the corresponding first compensation information in the first direction contained in the jitter compensation information to the first sub anti-shake drive chip 121, and send the second compensation contained in the jitter compensation information corresponding to the second direction. The information is sent to the second sub anti-shake driver chip 123, and the first sub anti-shake driver chip 121 can control the motor 124 to be powered on according to the first compensation information, so that the motor 124 drives the lens 126 to move in the first direction. The shake driving chip 123 can control the motor 124 to be powered on according to the second compensation information, so that the motor 124 drives the lens 126 to move in the second direction.
进一步,在一个实施例中,提供的摄像头防抖系统中马达124包含对应于第一方向的第一线圈和对应于第二方向的第二线圈。第一线圈用于在第一子防抖驱动芯片121的控制下驱动镜头126在第一方向上移动,第二线圈用于在第二子防抖驱动芯片123的控制下驱动镜头126在第二方向上移动。例如,在上述例子中,第一子防抖驱动芯片121可以控制第一线圈的电流大小以驱动镜头126在X轴方向上移动,第二子防抖驱动芯片123可以控制第二线圈的电流大小以驱动镜头126在Y轴方向上移动。Further, in one embodiment, the motor 124 in the camera anti-shake system provided includes a first coil corresponding to the first direction and a second coil corresponding to the second direction. The first coil is used to drive the lens 126 to move in the first direction under the control of the first sub anti-shake drive chip 121, and the second coil is used to drive the lens 126 in the second direction under the control of the second sub anti-shake drive chip 123. Move in the direction. For example, in the above example, the first sub anti-shake driver chip 121 can control the current of the first coil to drive the lens 126 to move in the X-axis direction, and the second sub anti-shake driver chip 123 can control the current of the second coil. To drive the lens 126 to move in the Y-axis direction.
进一步地,在一个实施例中,提供的摄像头防抖系统中第一子防抖驱动芯片121内置于第一线圈,第二子防抖驱动芯片123内置于第二线圈。Further, in one embodiment, in the camera anti-shake system provided, the first sub-anti-shake driving chip 121 is built in the first coil, and the second sub-anti-shake driving chip 123 is built in the second coil.
当摄像头防抖系统中只包含一个防抖驱动芯片时,防抖驱动芯片通常凸出设置于摄像头模组,此时防抖驱动芯片容易因为系统的碰撞等情况而不稳定,本申请实施例通过设置两个子防抖驱动芯片,可以减小防抖驱动芯片凸出于摄像头模组的体积,提高摄像头模组的可靠性。When the camera anti-shake system contains only one anti-shake driver chip, the anti-shake driver chip is usually protrudingly arranged on the camera module. At this time, the anti-shake driver chip is prone to be unstable due to system collisions and other conditions. This embodiment of the application passes The provision of two sub anti-shake driver chips can reduce the volume of the anti-shake driver chip protruding from the camera module and improve the reliability of the camera module.
图5为一个实施例中摄像头防抖系统的示意图。如图5所示,在一个实施例中,提供的摄像头防抖系统包括主板510和摄像头模组520,主板510上设有主控芯片512、陀螺仪514和防抖驱动芯片516,摄像头模组520中设有马达524和镜头526。其中,陀螺仪514与主控芯片512之间可以通过SPI连接;主控芯片512与防抖驱动芯片516之间可以通过IIC连接。陀螺仪514可以采集镜头526的角速度信息,并将角速度信息发送给主控芯片512,主控芯片512可以根据角速度信息计算镜头526的抖动补偿信息,并将该抖动补偿信息发送给防抖驱动芯片516,防抖驱动芯片516可以根据该抖动补偿信息控制马达524上电,以使马达524驱动镜头526的移动。Figure 5 is a schematic diagram of a camera anti-shake system in an embodiment. As shown in FIG. 5, in one embodiment, the provided camera anti-shake system includes a main board 510 and a camera module 520. The main board 510 is provided with a main control chip 512, a gyroscope 514, and an anti-shake drive chip 516. The camera module A motor 524 and a lens 526 are provided in 520. Among them, the gyroscope 514 and the main control chip 512 may be connected through SPI; the main control chip 512 and the anti-shake driving chip 516 may be connected through IIC. The gyroscope 514 can collect the angular velocity information of the lens 526 and send the angular velocity information to the main control chip 512. The main control chip 512 can calculate the shake compensation information of the lens 526 according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip 516. The anti-shake driver chip 516 can control the motor 524 to be powered on according to the shake compensation information, so that the motor 524 drives the movement of the lens 526.
通过将防抖驱动芯片设置于主板上,主控芯片根据陀螺仪采集的角速度信息计算得 到镜头的抖动补偿信息后发送给设于主板上的防抖驱动芯片,防抖驱动芯片可以控制设于摄像头模组的马达上电,以使马达驱动镜头的移动,防抖驱动芯片设于主板上,可以极大的减小摄像头模组的体积,提高摄像头模组的可靠性。By setting the anti-shake driver chip on the motherboard, the main control chip calculates the lens shake compensation information based on the angular velocity information collected by the gyroscope and sends it to the anti-shake driver chip set on the motherboard. The anti-shake driver chip can control the camera. The motor of the module is powered on, so that the motor drives the movement of the lens. The anti-shake drive chip is arranged on the main board, which can greatly reduce the volume of the camera module and improve the reliability of the camera module.
进一步地,在一个实施例中,陀螺仪514与主控芯片512之间通过第一连接通道和第二连接通道连接,主控芯片512还用于当接收到镜头的第一启动指令时,通过第一连接通道向陀螺仪发送第一获取指令;当接收到预设应用程序的第二启动指令时,通过第二连接通道向陀螺仪发送第二获取指令;陀螺仪514用于采集镜头的原始角速度信息,并根据原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种,当接收到第一获取指令时,将第一角速度信息通过第一连接通道发送给主控芯片;当接收到第二获取指令时,将第二角速度信息通过第二连接通道发送给主控芯片512。Further, in one embodiment, the gyroscope 514 and the main control chip 512 are connected through a first connection channel and a second connection channel, and the main control chip 512 is also used for receiving the first start instruction of the lens through The first connection channel sends the first acquisition instruction to the gyroscope; when the second startup instruction of the preset application program is received, the second acquisition instruction is sent to the gyroscope through the second connection channel; the gyroscope 514 is used to collect the original lens Angular velocity information, and generate at least one of the first angular velocity information and the second angular velocity information with different attributes according to the original angular velocity information. When the first acquisition instruction is received, the first angular velocity information is sent to the master through the first connection channel Chip; when receiving the second acquisition instruction, the second angular velocity information is sent to the main control chip 512 through the second connection channel.
图6为一个实施例中摄像头防抖方法的流程图。如图6所示,在一个实施例中,提供了一种摄像头防抖方法,该方法应用于电子设备,电子设备包括依次连接的主控芯片、陀螺仪、防抖驱动芯片、马达和镜头,该方法包括:Fig. 6 is a flowchart of a method for anti-shake of a camera in an embodiment. As shown in FIG. 6, in one embodiment, a camera anti-shake method is provided, which is applied to an electronic device, and the electronic device includes a main control chip, a gyroscope, an anti-shake drive chip, a motor, and a lens connected in sequence, The method includes:
操作602,通过陀螺仪采集镜头的角速度信息,并发送给主控芯片。In operation 602, the angular velocity information of the lens is collected through the gyroscope and sent to the main control chip.
操作604,通过主控芯片基于角速度信息计算得到镜头的抖动补偿信息,并将抖动补偿信息发送给防抖驱动芯片。In operation 604, the main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip.
操作606,通过防抖驱动芯片根据抖动补偿信息控制马达上电,以使马达驱动镜头的移动。In operation 606, the anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
本申请实施例提供的摄像头防抖方法,可以通过陀螺仪采集镜头的角速度向信息,并发送给主控芯片,通过主控芯片基于角速度信息计算镜头的抖动补偿信息,并将抖动补偿信息发送给防抖驱动芯片,通过防抖驱动芯片根据抖动补偿信息控制马达上电,以使马达驱动镜头的移动。由于可以通过主控芯片根据角速度信息计算镜头的抖动补偿信息,再发送给防抖驱动芯片以控制马达,不需要防抖驱动芯片进行抖动补偿信息的计算,可以减小防抖驱动芯片的体积,提高摄像头防抖系统的可靠性。The camera anti-shake method provided by the embodiment of the application can collect the angular velocity information of the lens through the gyroscope and send it to the main control chip. The main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to The anti-shake driver chip, through the anti-shake driver chip, controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens. Since the main control chip can calculate the lens shake compensation information according to the angular velocity information, and then send it to the anti-shake drive chip to control the motor, the anti-shake drive chip is not required to calculate the shake compensation information, which can reduce the size of the anti-shake drive chip. Improve the reliability of the camera anti-shake system.
在一个实施例中,提供的摄像头防抖方法中通过主控芯片基于角速度信息计算得到镜头的抖动补偿信息的过程还包括:通过主控芯片当接收镜头的启动指令时,根据启动指令中包含的镜头信息确定镜头的抖动补偿算法;当接收到镜头的角速度信息时,根据抖动补偿算法及角速度信息计算镜头的抖动补偿信息。In an embodiment, in the camera anti-shake method provided, the process of calculating the lens shake compensation information based on the angular velocity information by the main control chip further includes: when receiving the start instruction of the lens through the main control chip, according to the information contained in the start instruction The lens information determines the lens shake compensation algorithm; when the angular velocity information of the lens is received, the lens shake compensation information is calculated according to the shake compensation algorithm and the angular velocity information.
在一个实施例中,电子设备还包括与防抖驱动芯片连接的霍尔传感器,该摄像头防抖方法中通过防抖驱动芯片根据抖动补偿信息控制马达上电的过程,包括:通过霍尔传感器检测镜头当前的位置信息,并将位置信息发送给防抖驱动芯片;通过防抖驱动芯片基于位置信息和抖动补偿信息控制马达上电,以使马达驱动镜头的移动。In one embodiment, the electronic device further includes a Hall sensor connected to the anti-shake drive chip. In the camera anti-shake method, the anti-shake drive chip controls the motor power-on process according to the shake compensation information, including: detecting by the Hall sensor The current position information of the lens is sent to the anti-shake drive chip; the anti-shake drive chip controls the motor to be powered on based on the position information and the shake compensation information, so that the motor drives the movement of the lens.
在一个实施例中,防抖驱动芯片内置霍尔传感器,该摄像头防抖方法中通过防抖驱动芯片根据抖动补偿信息控制马达上电的过程,包括:通过防抖驱动芯片内置的霍尔传感器获取镜头当前的位置信息,并基于位置信息和抖动补偿信息控制马达上电,以使马达驱动镜头的移动。In one embodiment, the anti-shake driver chip has a built-in Hall sensor. In the camera anti-shake method, the anti-shake driver chip controls the motor power-on process according to the shake compensation information, including: obtaining through the Hall sensor built in the anti-shake driver chip The current position information of the lens, and based on the position information and shake compensation information, the motor is controlled to be powered on, so that the motor drives the movement of the lens.
在一个实施例中,防抖驱动芯片包括第一子防抖驱动芯片和第二子防抖驱动芯片,该摄像头防抖方法还可以包括:通过主控芯片将抖动补偿信息中包含的对应于第一方向的第一补偿信息发送给第一子防抖驱动芯片,及将抖动补偿信息中包含的对应于第二方向的第二补偿信息发送给第二子防抖驱动芯片;通过第一子防抖驱动芯片第一补偿信息控制马达上电,以使马达驱动镜头在第一方向上移动;通过第二子防抖驱动芯片用于根据第二补偿信息控制马达上电,以使马达驱动镜头在第二方向上移动。In an embodiment, the anti-shake driving chip includes a first sub-anti-shake driving chip and a second sub-anti-shake driving chip. The camera anti-shake method may further include: using the main control chip to correspond to the first sub-anti-shake driver chip included in the shake compensation information. The first compensation information in one direction is sent to the first sub anti-shake drive chip, and the second compensation information corresponding to the second direction contained in the shake compensation information is sent to the second sub anti-shake drive chip; The first compensation information of the shake drive chip controls the motor to be powered on, so that the motor drives the lens to move in the first direction; the second sub anti-shake drive chip is used to control the power on the motor according to the second compensation information, so that the motor drives the lens at Move in the second direction.
在一个实施例中,陀螺仪与主控芯片之间通过第一连接通道和第二连接通道连接,该摄像头防抖方法中将抖动补偿信息发送给防抖驱动芯片;通过陀螺仪采集镜头的角速度信息,并将角速度信息发送给主控芯片,包括:In one embodiment, the gyroscope and the main control chip are connected through the first connection channel and the second connection channel. In the camera anti-shake method, the shake compensation information is sent to the anti-shake drive chip; the angular velocity of the lens is collected by the gyroscope Information and send the angular velocity information to the main control chip, including:
通过主控芯片当接收到镜头的第一启动指令时,通过第一连接通道向陀螺仪发送第一获取指令;当接收到预设应用程序的第二启动指令时,通过第二连接通道向陀螺仪发送第二获取指令。When receiving the first start instruction of the lens through the main control chip, the first acquisition instruction is sent to the gyroscope through the first connection channel; when the second start instruction of the preset application program is received, the second connection channel is used to send the first acquisition instruction to the gyroscope. The meter sends the second acquisition instruction.
通过陀螺仪采集镜头的原始角速度信息,并根据原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种。The original angular velocity information of the lens is collected by the gyroscope, and at least one of the first angular velocity information and the second angular velocity information of different attributes is generated according to the original angular velocity information.
通过陀螺仪当接收到第一获取指令时,将第一角速度信息通过第一连接通道发送给主控芯片;当接收到第二获取指令时,将第二角速度信息通过第二连接通道发送给主控芯片。When the first acquisition instruction is received through the gyroscope, the first angular velocity information is sent to the main control chip through the first connection channel; when the second acquisition instruction is received, the second angular velocity information is sent to the master through the second connection channel控chip.
在一个实施例中,提供的摄像头防抖方法中通过第一连接通道向陀螺仪发送第一获取指令之前,包括:通过主控芯片当接收到第一启动指令时,获取第一启动对应的第一属性信息,并根据第一属性信息生成第一获取指令;通过第二连接通道向陀螺仪发送第二获取指令之前,包括:通过主控芯片当接收到第二启动指令时,获取第二启动指令中包含的应用程序标识,根据应用程序标识对应的第二属性信息生成第二获取指令。In one embodiment, before sending the first acquisition instruction to the gyroscope through the first connection channel in the provided camera anti-shake method, the method includes: when the first startup instruction is received through the main control chip, acquiring the first startup instruction corresponding to the first startup One attribute information, and the first acquisition instruction is generated according to the first attribute information; before sending the second acquisition instruction to the gyroscope through the second connection channel, it includes: acquiring the second startup instruction through the main control chip when the second startup instruction is received The application identifier contained in the instruction generates a second acquisition instruction according to the second attribute information corresponding to the application identifier.
应该理解的是,虽然图6的流程图中的各个操作按照箭头的指示依次显示,但是这些操作并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些操作的执行并没有严格的顺序限制,这些操作可以以其它的顺序执行。而且,图6中的至少一部分操作可以包括多个子操作或者多个阶段,这些子操作或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子操作或者阶段的执行顺序也不必然是依次进行,而是可以与其它操作或者其它操作的子操作或者阶段的至少一部分轮流或者交替地执行。It should be understood that although the various operations in the flowchart of FIG. 6 are displayed in sequence as indicated by the arrows, these operations are not necessarily performed in sequence in the order indicated by the arrows. Unless explicitly stated in this article, there is no strict order for the execution of these operations, and these operations can be executed in other orders. Moreover, at least part of the operations in FIG. 6 may include multiple sub-operations or multiple stages. These sub-operations or stages are not necessarily executed at the same time, but may be executed at different times. The execution of these sub-operations or stages The sequence is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other operations or sub-operations or stages of other operations.
图7为一个实施例中电子设备的内部结构示意图。如图7所示,该电子设备包括通过系统总线连接的主控芯片和存储器。其中,该主控芯片用于提供计算和控制能力,支撑整个电子设备的运行。存储器可包括非易失性存储介质及内存储器。非易失性存储介质存储有操作系统和计算机程序。电子设备中还包括与主控芯片连接的陀螺仪和防抖驱动芯片,与防抖驱动芯片连接的马达,以及与马达连接的镜头。该计算机程序可被主控芯片所执行,以用于实现以下各个实施例所提供的一种摄像头防抖方法。内存储器为非易失性存储介质中的操作系统计算机程序提供高速缓存的运行环境。该电子设备可以是手机、平板电脑或者个人数字助理或穿戴式设备等。Fig. 7 is a schematic diagram of the internal structure of an electronic device in an embodiment. As shown in Figure 7, the electronic device includes a main control chip and a memory connected via a system bus. Among them, the main control chip is used to provide computing and control capabilities to support the operation of the entire electronic device. The memory may include a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The electronic device also includes a gyroscope and an anti-shake drive chip connected to the main control chip, a motor connected to the anti-shake drive chip, and a lens connected to the motor. The computer program can be executed by the main control chip to implement a camera anti-shake method provided in the following embodiments. The internal memory provides a cached operating environment for the operating system computer program in the non-volatile storage medium. The electronic device can be a mobile phone, a tablet computer or a personal digital assistant or a wearable device.
本申请实施例还提供一种电子设备。上述电子设备中包括图像处理电路,图像处理电路可以利用硬件和/或软件组件实现,可包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图8为一个实施例中图像处理电路的示意图。如图8所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。The embodiment of the application also provides an electronic device. The above-mentioned electronic equipment includes an image processing circuit. The image processing circuit may be implemented by hardware and/or software components, and may include various processing units that define an ISP (Image Signal Processing, image signal processing) pipeline. Fig. 8 is a schematic diagram of an image processing circuit in an embodiment. As shown in FIG. 8, for ease of description, only various aspects of the image processing technology related to the embodiments of the present application are shown.
如图8所示,图像处理电路包括ISP处理器840和控制逻辑器850。成像设备810捕捉的图像数据首先由ISP处理器840处理,ISP处理器840对图像数据进行分析以捕捉可用于确定和/或成像设备810的一个或多个控制参数的图像统计信息。成像设备810可包括具有一个或多个透镜812和图像传感器814的照相机。图像传感器814可包括色彩滤镜阵列(如Bayer滤镜),图像传感器814可获取用图像传感器814的每个成像像素捕捉的光强度和波长信息,并提供可由ISP处理器840处理的一组原始图像数据。传感器820(如陀螺仪)可基于传感器820接口类型把采集的图像处理的参数(如防抖参数)提供给ISP处理器840。传感器820接口可以利用SMIA(Standard Mobile Imaging Architecture,标准移动成像架构)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 8, the image processing circuit includes an ISP processor 840 and a control logic 850. The image data captured by the imaging device 810 is first processed by the ISP processor 840, and the ISP processor 840 analyzes the image data to capture image statistics that can be used to determine and/or one or more control parameters of the imaging device 810. The imaging device 810 may include a camera having one or more lenses 812 and an image sensor 814. The image sensor 814 may include a color filter array (such as a Bayer filter). The image sensor 814 may acquire the light intensity and wavelength information captured by each imaging pixel of the image sensor 814, and provide a set of raw materials that can be processed by the ISP processor 840. Image data. The sensor 820 (such as a gyroscope) can provide the collected image processing parameters (such as anti-shake parameters) to the ISP processor 840 based on the interface type of the sensor 820. The sensor 820 interface may utilize SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above interfaces.
此外,图像传感器814也可将原始图像数据发送给传感器820,传感器820可基于传感器820接口类型把原始图像数据提供给ISP处理器840,或者传感器820将原始图像数 据存储到图像存储器830中。In addition, the image sensor 814 can also send the original image data to the sensor 820, the sensor 820 can provide the original image data to the ISP processor 840 based on the sensor 820 interface type, or the sensor 820 can store the original image data in the image memory 830.
ISP处理器840按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器840可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP processor 840 processes the original image data pixel by pixel in multiple formats. For example, each image pixel may have a bit depth of 8, 10, 12, or 14 bits, and the ISP processor 840 may perform one or more image processing operations on the original image data and collect statistical information about the image data. Among them, the image processing operations can be performed with the same or different bit depth accuracy.
ISP处理器840还可从图像存储器830接收图像数据。例如,传感器820接口将原始图像数据发送给图像存储器830,图像存储器830中的原始图像数据再提供给ISP处理器840以供处理。图像存储器830可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The ISP processor 840 may also receive image data from the image memory 830. For example, the sensor 820 interface sends the original image data to the image memory 830, and the original image data in the image memory 830 is provided to the ISP processor 840 for processing. The image memory 830 may be a part of a memory device, a storage device, or an independent dedicated memory in an electronic device, and may include DMA (Direct Memory Access) features.
当接收到来自图像传感器814接口或来自传感器820接口或来自图像存储器830的原始图像数据时,ISP处理器840可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器830,以便在被显示之前进行另外的处理。ISP处理器840从图像存储器830接收处理数据,并对所述处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。ISP处理器840处理后的图像数据可输出给显示器870,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,ISP处理器840的输出还可发送给图像存储器830,且显示器870可从图像存储器830读取图像数据。在一个实施例中,图像存储器830可被配置为实现一个或多个帧缓冲器。此外,ISP处理器840的输出可发送给编码器/解码器860,以便编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器870设备上之前解压缩。编码器/解码器860可由CPU或GPU或协处理器实现。When receiving raw image data from the image sensor 814 interface or from the sensor 820 interface or from the image memory 830, the ISP processor 840 may perform one or more image processing operations, such as temporal filtering. The processed image data can be sent to the image memory 830 for additional processing before being displayed. The ISP processor 840 receives the processed data from the image memory 830, and performs image data processing in the original domain and in the RGB and YCbCr color spaces on the processed data. The image data processed by the ISP processor 840 may be output to the display 870 for viewing by the user and/or further processed by a graphics engine or a GPU (Graphics Processing Unit, graphics processor). In addition, the output of the ISP processor 840 can also be sent to the image memory 830, and the display 870 can read image data from the image memory 830. In one embodiment, the image memory 830 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 840 may be sent to the encoder/decoder 860 in order to encode/decode image data. The encoded image data can be saved and decompressed before being displayed on the display 870 device. The encoder/decoder 860 may be implemented by a CPU or GPU or a coprocessor.
ISP处理器840确定的统计数据可发送给控制逻辑器850单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、透镜812阴影校正等图像传感器814统计信息。控制逻辑器850可包括执行一个或多个例程(如固件)的处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定成像设备810的控制参数及ISP处理器840的控制参数。例如,成像设备810的控制参数可包括传感器820控制参数(例如增益、曝光控制的积分时间、防抖参数等)、照相机闪光控制参数、透镜812控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及透镜812阴影校正参数。The statistical data determined by the ISP processor 840 may be sent to the control logic 850 unit. For example, the statistical data may include image sensor 814 statistical information such as automatic exposure, automatic white balance, automatic focus, flicker detection, black level compensation, and lens 812 shading correction. The control logic 850 may include a processor and/or a microcontroller that executes one or more routines (such as firmware). The one or more routines can determine the control parameters and ISP processing of the imaging device 810 based on the received statistical data. 840 control parameters. For example, the control parameters of the imaging device 810 may include sensor 820 control parameters (such as gain, integration time of exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 812 control parameters (such as focus or zoom focal length), or these The combination of parameters. The ISP control parameters may include gain levels and color correction matrices for automatic white balance and color adjustment (for example, during RGB processing), and lens 812 shading correction parameters.
本申请实施例应用上述图像处理技术可以实现上述摄像头防抖方法。The embodiment of the present application can implement the aforementioned camera anti-shake method by applying the aforementioned image processing technology.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行摄像头防抖方法的操作。The embodiment of the present application also provides a computer-readable storage medium. One or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, cause the processors to perform the operation of the camera anti-shake method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行摄像头防抖方法。A computer program product containing instructions that, when running on a computer, causes the computer to execute the camera anti-shake method.
本申请实施例所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM),它用作外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDR SDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)。Any reference to memory, storage, database, or other media used in the embodiments of the present application may include non-volatile and/or volatile memory. Suitable non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM), which acts as external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不 能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and their descriptions are relatively specific and detailed, but they should not be understood as limiting the scope of the present application. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种摄像头防抖系统,所述系统包括:陀螺仪、主控芯片、镜头、防抖驱动芯片和马达;所述陀螺仪与所述主控芯片连接,所述主控芯片与所述防抖驱动芯片连接,所述防抖驱动芯片与所述马达连接,所述马达与所述镜头连接;A camera anti-shake system, the system comprising: a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip is connected to the anti-shake The drive chip is connected, the anti-shake drive chip is connected to the motor, and the motor is connected to the lens;
    所述陀螺仪用于采集所述镜头的角速度信息,并将所述角速度信息发送给所述主控芯片;The gyroscope is used to collect angular velocity information of the lens, and send the angular velocity information to the main control chip;
    所述主控芯片用于进行应用处理,以及根据所述角速度信息计算所述镜头的抖动补偿信息,并将所述抖动补偿信息发送给所述防抖驱动芯片;及The main control chip is used to perform application processing, and calculate the shake compensation information of the lens according to the angular velocity information, and send the shake compensation information to the anti-shake drive chip; and
    所述防抖驱动芯片用于根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake drive chip is used to control the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  2. 根据权利要求1所述的系统,其特征在于,所述主控芯片还用于当接收镜头的启动指令时,根据所述启动指令中包含的镜头信息确定所述镜头的抖动补偿算法;当接收到所述镜头的角速度信息时,根据所述抖动补偿算法及角速度信息计算所述镜头的抖动补偿信息。The system according to claim 1, wherein the main control chip is further configured to determine the shake compensation algorithm of the lens according to the lens information contained in the start instruction when receiving the start instruction of the lens; When the angular velocity information of the lens is reached, the shake compensation information of the lens is calculated according to the shake compensation algorithm and the angular velocity information.
  3. 根据权利要求1所述的系统,其特征在于,所述系统还包括与所述防抖驱动芯片连接的霍尔传感器;The system according to claim 1, wherein the system further comprises a Hall sensor connected to the anti-shake driving chip;
    所述霍尔传感器用于检测所述镜头当前的位置信息,并将所述位置信息发送给所述防抖驱动芯片;及The Hall sensor is used to detect the current position information of the lens, and send the position information to the anti-shake driving chip; and
    所述防抖驱动芯片还用于基于所述位置信息和抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake drive chip is also used to control the motor to be powered on based on the position information and the shake compensation information, so that the motor drives the movement of the lens.
  4. 根据权利要求1所述的系统,其特征在于,所述防抖驱动芯片内置霍尔传感器,所述防抖驱动芯片还用于通过内置的霍尔传感器获取所述镜头当前的位置信息,并基于所述位置信息和抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The system of claim 1, wherein the anti-shake drive chip has a built-in Hall sensor, and the anti-shake drive chip is also used to obtain the current position information of the lens through the built-in Hall sensor, and is based on The position information and the shake compensation information control the motor to be powered on, so that the motor drives the movement of the lens.
  5. 根据权利要求1至4任一项所述的系统,其特征在于,所述防抖驱动芯片内置于所述马达。The system according to any one of claims 1 to 4, wherein the anti-shake drive chip is built in the motor.
  6. 根据权利要求1所述的系统,其特征在于,所述防抖驱动芯片包括第一子防抖驱动芯片和第二子防抖驱动芯片;The system according to claim 1, wherein the anti-shake driving chip comprises a first sub-anti-shake driving chip and a second sub-anti-shake driving chip;
    所述主控芯片还用于将所述抖动补偿信息中包含的对应于第一方向的第一补偿信息发送给所述第一子防抖驱动芯片,及将所述抖动补偿信息中包含的对应于第二方向的第二补偿信息发送给所述第二子防抖驱动芯片;The main control chip is also used to send the first compensation information corresponding to the first direction contained in the jitter compensation information to the first sub anti-shake driving chip, and send the corresponding information contained in the jitter compensation information Sending the second compensation information in the second direction to the second sub anti-shake driving chip;
    所述第一子防抖驱动芯片用于根据所述第一补偿信息控制所述马达上电,以使所述马达驱动所述镜头在第一方向上移动;及The first sub anti-shake driving chip is used to control the motor to be powered on according to the first compensation information, so that the motor drives the lens to move in a first direction; and
    所述第二子防抖驱动芯片用于根据所述第二补偿信息控制所述马达上电,以使所述马达驱动所述镜头在第二方向上移动。The second anti-shake sub-driver chip is used to control the motor to be powered on according to the second compensation information, so that the motor drives the lens to move in a second direction.
  7. 根据权利要求6所述的系统,其特征在于,所述马达包含对应于第一方向的第一线圈及对应于第二方向的第二线圈;The system of claim 6, wherein the motor comprises a first coil corresponding to a first direction and a second coil corresponding to a second direction;
    所述第一线圈用于在所述第一子防抖驱动芯片的控制下驱动所述镜头在第一方向上移动;及The first coil is used to drive the lens to move in a first direction under the control of the first sub-anti-shake driving chip; and
    所述第二线圈用于在所述第二子防抖驱动芯片的控制下驱动所述镜头在第二方向上移动。The second coil is used to drive the lens to move in a second direction under the control of the second anti-shake driving chip.
  8. 根据权利要求7所述的系统,其特征在于,所述第一子防抖驱动芯片内置于所述第一线圈;所述第二子防抖驱动芯片内置于所述第二线圈。7. The system according to claim 7, wherein the first anti-shake sub-drive chip is built in the first coil; the second anti-shake sub-drive chip is built in the second coil.
  9. 根据权利要求1所述的系统,其特征在于,所述陀螺仪与所述主控芯片之间通过第一连接通道和第二连接通道连接;The system according to claim 1, wherein the gyroscope and the main control chip are connected through a first connection channel and a second connection channel;
    所述主控芯片还用于当接收到所述镜头的第一启动指令时,通过所述第一连接通道向 所述陀螺仪发送第一获取指令;当接收到预设应用程序的第二启动指令时,通过所述第二连接通道向所述陀螺仪发送第二获取指令;The main control chip is further configured to send a first acquisition instruction to the gyroscope through the first connection channel when receiving a first start instruction of the lens; when receiving a second start instruction of a preset application When instructing, send a second acquisition instruction to the gyroscope through the second connection channel;
    所述陀螺仪用于采集所述镜头的原始角速度信息,并根据所述原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种;所述陀螺仪还用于当接收到所述第一获取指令时,将所述第一角速度信息通过所述第一连接通道发送给所述主控芯片;当接收到所述第二获取指令时,将所述第二角速度信息通过所述第二连接通道发送给所述主控芯片。The gyroscope is used to collect the original angular velocity information of the lens, and generate at least one of the first angular velocity information and the second angular velocity information with different attributes according to the original angular velocity information; the gyroscope is also used to receive When the first acquisition instruction is reached, the first angular velocity information is sent to the main control chip through the first connection channel; when the second acquisition instruction is received, the second angular velocity information is passed The second connection channel is sent to the main control chip.
  10. 根据权利要求9所述的系统,其特征在于,所述主控芯片还用于当接收到所述第一启动指令时,获取所述第一启动指令对应的第一属性信息,并根据所述第一属性信息生成所述第一获取指令;及当接收到所述第二启动指令时,获取所述第二启动指令中包含的应用程序标识,根据所述应用程序标识对应的第二属性信息生成所述第二获取指令。The system according to claim 9, wherein the main control chip is further configured to obtain the first attribute information corresponding to the first startup instruction when the first startup instruction is received, and according to the The first attribute information generates the first acquisition instruction; and when the second startup instruction is received, the application identifier included in the second startup instruction is acquired, and the second attribute information corresponding to the application identifier is acquired Generate the second acquisition instruction.
  11. 根据权利要求1所述的系统,其特征在于,所述主控芯片还用于当接收到镜头的启动指令时,根据所述启动指令中包含的镜头信息确定所述镜头对应的抖动补偿算法,当接收所述镜头的角速度信息时,根据所述抖动补偿算法及角速度信息计算所述镜头的抖动补偿信息。The system according to claim 1, wherein the main control chip is further configured to determine the shake compensation algorithm corresponding to the lens according to the lens information contained in the start instruction when the start instruction of the lens is received, When the angular velocity information of the lens is received, the shake compensation information of the lens is calculated according to the shake compensation algorithm and the angular velocity information.
  12. 一种摄像头防抖方法,应用于电子设备,所述电子设备包括主控芯片、陀螺仪、镜头、防抖驱动芯片和马达;所述陀螺仪与所述主控芯片连接,所述主控芯片与所述防抖驱动芯片连接,所述防抖驱动芯片与所述马达连接,所述马达与所述镜头连接;所述方法包括:An anti-shake method for a camera, applied to an electronic device, the electronic device includes a main control chip, a gyroscope, a lens, an anti-shake drive chip, and a motor; the gyroscope is connected to the main control chip, and the main control chip Connected with the anti-shake drive chip, the anti-shake drive chip is connected with the motor, and the motor is connected with the lens; the method includes:
    通过所述陀螺仪采集所述镜头的角速度信息,并发送给所述主控芯片;Collecting the angular velocity information of the lens through the gyroscope and sending it to the main control chip;
    通过所述主控芯片基于所述角速度信息计算得到所述镜头的抖动补偿信息,并将所述抖动补偿信息发送给所述防抖驱动芯片;及The main control chip calculates the shake compensation information of the lens based on the angular velocity information, and sends the shake compensation information to the anti-shake driving chip; and
    通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动。The anti-shake driving chip controls the motor to be powered on according to the shake compensation information, so that the motor drives the movement of the lens.
  13. 根据权利要求12所述的方法,其特征在于,所述通过所述主控芯片基于所述角速度信息计算得到所述镜头的抖动补偿信息,包括:The method according to claim 12, wherein said calculating said lens shake compensation information based on said angular velocity information by said main control chip comprises:
    当通过所述主控芯片接收到镜头的启动指令时,通过主控芯片根据所述启动指令中包含的镜头信息确定所述镜头的抖动补偿算法;及当接收到所述镜头的角速度信息时,根据所述抖动补偿算法及角速度信息计算所述镜头的抖动补偿信息。When receiving the start instruction of the lens through the main control chip, the main control chip determines the shake compensation algorithm of the lens according to the lens information contained in the start instruction; and when the angular velocity information of the lens is received, Calculate the shake compensation information of the lens according to the shake compensation algorithm and angular velocity information.
  14. 根据权利要求12所述的方法,其特征在于,所述通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,包括:The method according to claim 12, wherein said controlling said motor to be powered on according to said shake compensation information by said anti-shake drive chip comprises:
    通过与所述防抖驱动芯片连接的霍尔传感器检测镜头当前的位置信息,并将位置信息发送给所述防抖驱动芯片;及Detect the current position information of the lens through the Hall sensor connected to the anti-shake drive chip, and send the position information to the anti-shake drive chip; and
    通过所述防抖驱动芯片基于所述位置信息和抖动补偿信息控制所述马达上电。The anti-shake drive chip controls the motor to be powered on based on the position information and the jitter compensation information.
  15. 根据权利要求12所述的方法,其特征在于,所述通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,包括:The method according to claim 12, wherein said controlling said motor to be powered on according to said shake compensation information by said anti-shake drive chip comprises:
    通过所述防抖驱动芯片内置的霍尔传感器获取所述镜头当前的位置信息,并基于所述位置信息和抖动补偿信息控制所述马达上电。The current position information of the lens is acquired through the Hall sensor built into the anti-shake drive chip, and the motor is controlled to be powered on based on the position information and the shake compensation information.
  16. 根据权利要求12所述的方法,其特征在于,所述防抖驱动芯片包括第一子防抖驱动芯片和第二子防抖驱动芯片;所述将所述抖动补偿信息发送给所述防抖驱动芯片,包括:The method according to claim 12, wherein the anti-shake driving chip comprises a first sub anti-shake driving chip and a second sub anti-shake driving chip; and the sending the shake compensation information to the anti-shake Driver chip, including:
    通过所述主控芯片将所述抖动补偿信息中包含的对应于第一方向的第一补偿信息发送给所述第一子防抖驱动芯片,及将所述抖动补偿信息中包含的对应于第二方向的第二补偿信息发送给所述第二子防抖驱动芯片;The main control chip sends the first compensation information corresponding to the first direction contained in the shake compensation information to the first sub anti-shake drive chip, and sends the shake compensation information contained in the shake compensation information corresponding to the first direction Sending second compensation information in two directions to the second sub anti-shake driving chip;
    所述通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,以使所述马达 驱动所述镜头的移动,包括:The controlling the motor to be powered on by the anti-shake driving chip according to the shake compensation information so that the motor drives the movement of the lens includes:
    通过所述第一子防抖驱动芯片根据所述第一补偿信息控制所述马达上电,以使所述马达驱动所述镜头在第一方向上移动;及Controlling the motor to be powered on according to the first compensation information by the first sub-anti-shake driving chip, so that the motor drives the lens to move in a first direction; and
    通过所述第二子防抖驱动芯片根据所述第二补偿信息控制所述马达上电,以使所述马达驱动所述镜头在第二方向上移动。The second sub anti-shake driving chip controls the motor to be powered on according to the second compensation information, so that the motor drives the lens to move in a second direction.
  17. 根据权利要求16所述的方法,其特征在于,所述马达包括对应于第一方向的第一线圈及对应于第二方向的第二线圈;The method of claim 16, wherein the motor includes a first coil corresponding to a first direction and a second coil corresponding to a second direction;
    所述通过所述防抖驱动芯片根据所述抖动补偿信息控制所述马达上电,以使所述马达驱动所述镜头的移动,包括:The controlling the motor to be powered on according to the shake compensation information by the anti-shake drive chip so that the motor drives the movement of the lens includes:
    通过所述第一子防抖驱动芯片根据所述第一补偿信息控制所述第一线圈上电,以使所述第一线圈驱动所述镜头在第一方向上移动;及Controlling the power-on of the first coil according to the first compensation information by the first sub anti-shake driving chip, so that the first coil drives the lens to move in a first direction; and
    通过所述第二子防抖驱动芯片根据所述第二补偿信息控制所述第二线圈上电,以使所述第二线圈驱动所述镜头在第二方向上移动。The second sub-anti-shake driving chip controls the power-on of the second coil according to the second compensation information, so that the second coil drives the lens to move in a second direction.
  18. 根据权利要求12所述的方法,其特征在于,所述通过所述陀螺仪采集所述镜头的角速度信息,并将所述角速度信息发送给所述主控芯片,包括:The method of claim 12, wherein the collecting angular velocity information of the lens through the gyroscope and sending the angular velocity information to the main control chip comprises:
    通过所述主控芯片当接收到所述镜头的第一启动指令时,通过第一连接通道向所述陀螺仪发送第一获取指令;当接收到预设应用程序的第二启动指令时,通过所述第二连接通道向所述陀螺仪发送第二获取指令;When receiving the first start instruction of the lens through the main control chip, send the first acquisition instruction to the gyroscope through the first connection channel; when receiving the second start instruction of the preset application, pass Sending, by the second connection channel, a second acquisition instruction to the gyroscope;
    通过所述陀螺仪采集所述镜头的原始角速度信息,并根据所述原始角速度信息生成不同属性的第一角速度信息和第二角速度信息中的至少一种;及Collecting the original angular velocity information of the lens through the gyroscope, and generating at least one of first angular velocity information and second angular velocity information of different attributes according to the original angular velocity information; and
    通过所述陀螺仪当接收到所述第一获取指令时,将所述第一角速度信息通过所述第一连接通道发送给所述主控芯片,当接收到所述第二获取指令时,将所述第二角速度信息通过所述第二连接通道发送给所述主控芯片。When the first acquisition instruction is received through the gyroscope, the first angular velocity information is sent to the main control chip through the first connection channel, and when the second acquisition instruction is received, the The second angular velocity information is sent to the main control chip through the second connection channel.
  19. 根据权利要求18所述的方法,其特征在于,所述通过所述第一连接通道向所述陀螺仪发送第一获取指令之前,包括:The method according to claim 18, wherein before the sending a first acquisition instruction to the gyroscope through the first connection channel, the method comprises:
    通过所述主控芯片当接收到所述第一启动指令时,获取所述第一启动指令对应的第一属性信息,并根据所述第一属性信息生成所述第一获取指令;Acquiring the first attribute information corresponding to the first starting instruction through the main control chip when the first starting instruction is received, and generating the first acquisition instruction according to the first attribute information;
    所述通过所述第二连接通道向所述陀螺仪发送第二获取指令之前,包括:Before the sending a second acquisition instruction to the gyroscope through the second connection channel, the method includes:
    通过所述主控芯片当接收到所述第二启动指令时,获取所述第二启动指令中包含的应用程序标识,根据所述应用程序标识对应的第二属性信息生成所述第二获取指令。When the second startup instruction is received through the main control chip, the application program identifier included in the second startup instruction is acquired, and the second acquisition instruction is generated according to the second attribute information corresponding to the application program identifier .
  20. 一种电子设备,其特征在于,包括陀螺仪、主控芯片、镜头、防抖驱动芯片和马达;所述陀螺仪所述主控芯片连接、所述主控芯片与所述防抖驱动芯片连接、所述防抖驱动芯片与所述马达连接、所述马达与所述镜头连接;所述主控芯片上包含有存储器和处理器,所述存储器中存储有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求12至19中任一项所述摄像头防抖方法的步骤。An electronic device, characterized by comprising a gyroscope, a main control chip, a lens, an anti-shake drive chip, and a motor; the main control chip of the gyroscope is connected, and the main control chip is connected to the anti-shake drive chip , The anti-shake drive chip is connected to the motor, and the motor is connected to the lens; the main control chip includes a memory and a processor, the memory stores a computer program, and the computer program is When the processor is executed, the processor is caused to execute the steps of the camera anti-shake method according to any one of claims 12 to 19.
PCT/CN2020/079605 2019-03-26 2020-03-17 Camera anti-shake system, method, and electronic device WO2020192480A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910231252.8A CN110035228B (en) 2019-03-26 2019-03-26 Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium
CN201910231252.8 2019-03-26

Publications (1)

Publication Number Publication Date
WO2020192480A1 true WO2020192480A1 (en) 2020-10-01

Family

ID=67236617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/079605 WO2020192480A1 (en) 2019-03-26 2020-03-17 Camera anti-shake system, method, and electronic device

Country Status (2)

Country Link
CN (1) CN110035228B (en)
WO (1) WO2020192480A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118075602A (en) * 2024-04-24 2024-05-24 上海艾为微电子技术有限公司 Driving device, image acquisition module and voltage adjustment method

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110049238B (en) * 2019-03-26 2021-09-07 Oppo广东移动通信有限公司 Camera anti-shake system and method, electronic device, and computer-readable storage medium
CN110035228B (en) * 2019-03-26 2021-09-07 Oppo广东移动通信有限公司 Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium
CN110536057B (en) * 2019-08-30 2021-06-08 Oppo广东移动通信有限公司 Image processing method and device, electronic equipment and computer readable storage medium
CN111953883A (en) * 2020-09-11 2020-11-17 重庆市天实精工科技有限公司 Optical anti-shake camera module, camera anti-shake system and method and mobile terminal
CN112804423B (en) * 2020-12-29 2022-05-31 维沃移动通信有限公司 Camera module and electronic equipment
CN112911107B (en) * 2021-01-19 2022-09-27 维沃移动通信有限公司 Camera module and electronic equipment
CN112911110B (en) * 2021-01-21 2022-08-26 维沃移动通信有限公司 Optical anti-shake control method and device for camera module and electronic equipment
CN112788242B (en) * 2021-02-07 2022-08-26 维沃移动通信有限公司 Camera module and electronic equipment
CN114338994B (en) * 2021-12-30 2024-06-11 Oppo广东移动通信有限公司 Optical anti-shake method, apparatus, electronic device, and computer-readable storage medium
CN115086646A (en) * 2022-06-09 2022-09-20 昆山丘钛微电子科技股份有限公司 Anti-shake control method and system, test fixture and handheld device

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009008164A1 (en) * 2007-07-09 2009-01-15 Panasonic Corporation Digital single-lens reflex camera
CN103533238A (en) * 2013-09-30 2014-01-22 武汉烽火众智数字技术有限责任公司 Image stabilization device and method for dome camera
CN104079836A (en) * 2014-07-04 2014-10-01 广东欧珀移动通信有限公司 Photographing method and device based on mobile terminal
CN104994304A (en) * 2015-07-31 2015-10-21 小米科技有限责任公司 Optical anti-vibration method and device, and terminal equipment
CN105049682A (en) * 2014-04-18 2015-11-11 三星电机株式会社 Digital photographing system and method for controlling the same
CN105814484A (en) * 2013-12-11 2016-07-27 旭化成微电子株式会社 Camera shake correction device and adjustment method therefor, camera shake correction circuit, camera shake correction method, camera module and position control method for optical element of camera module
CN109922264A (en) * 2019-03-26 2019-06-21 Oppo广东移动通信有限公司 Camera stabilization system and method, electronic equipment, computer readable storage medium
CN109951639A (en) * 2019-03-26 2019-06-28 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN109951640A (en) * 2019-03-26 2019-06-28 Oppo广东移动通信有限公司 Camera anti-fluttering method and system, electronic equipment, computer readable storage medium
CN110012224A (en) * 2019-03-26 2019-07-12 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN110035228A (en) * 2019-03-26 2019-07-19 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN110049238A (en) * 2019-03-26 2019-07-23 Oppo广东移动通信有限公司 Camera stabilization system and method, electronic equipment, computer readable storage medium
CN110049236A (en) * 2019-03-26 2019-07-23 Oppo广东移动通信有限公司 Camera Anti-shaking circuit, mobile terminal, assemble method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106131395A (en) * 2016-06-17 2016-11-16 上海与德通讯技术有限公司 Stabilization system and anti-fluttering method

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009008164A1 (en) * 2007-07-09 2009-01-15 Panasonic Corporation Digital single-lens reflex camera
CN103533238A (en) * 2013-09-30 2014-01-22 武汉烽火众智数字技术有限责任公司 Image stabilization device and method for dome camera
CN108828874A (en) * 2013-12-11 2018-11-16 旭化成微电子株式会社 The position control method of camera module and its optical element
CN105814484A (en) * 2013-12-11 2016-07-27 旭化成微电子株式会社 Camera shake correction device and adjustment method therefor, camera shake correction circuit, camera shake correction method, camera module and position control method for optical element of camera module
CN105049682A (en) * 2014-04-18 2015-11-11 三星电机株式会社 Digital photographing system and method for controlling the same
CN104079836A (en) * 2014-07-04 2014-10-01 广东欧珀移动通信有限公司 Photographing method and device based on mobile terminal
CN104994304A (en) * 2015-07-31 2015-10-21 小米科技有限责任公司 Optical anti-vibration method and device, and terminal equipment
CN109922264A (en) * 2019-03-26 2019-06-21 Oppo广东移动通信有限公司 Camera stabilization system and method, electronic equipment, computer readable storage medium
CN109951639A (en) * 2019-03-26 2019-06-28 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN109951640A (en) * 2019-03-26 2019-06-28 Oppo广东移动通信有限公司 Camera anti-fluttering method and system, electronic equipment, computer readable storage medium
CN110012224A (en) * 2019-03-26 2019-07-12 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN110035228A (en) * 2019-03-26 2019-07-19 Oppo广东移动通信有限公司 Camera stabilization system, method, electronic equipment and computer readable storage medium
CN110049238A (en) * 2019-03-26 2019-07-23 Oppo广东移动通信有限公司 Camera stabilization system and method, electronic equipment, computer readable storage medium
CN110049236A (en) * 2019-03-26 2019-07-23 Oppo广东移动通信有限公司 Camera Anti-shaking circuit, mobile terminal, assemble method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118075602A (en) * 2024-04-24 2024-05-24 上海艾为微电子技术有限公司 Driving device, image acquisition module and voltage adjustment method

Also Published As

Publication number Publication date
CN110035228B (en) 2021-09-07
CN110035228A (en) 2019-07-19

Similar Documents

Publication Publication Date Title
WO2020192480A1 (en) Camera anti-shake system, method, and electronic device
CN110012224B (en) Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium
CN109842753B (en) Camera anti-shake system, camera anti-shake method, electronic device and storage medium
EP3435655B1 (en) Electronic device for acquiring image using plurality of cameras and method for processing image using the same
CN109951638B (en) Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium
CN111147741B (en) Focusing processing-based anti-shake method and device, electronic equipment and storage medium
CN109194876B (en) Image processing method, image processing device, electronic equipment and computer readable storage medium
WO2019237977A1 (en) Image compensation method, computer readable storage medium and electronic device
CN109788189B (en) Five-dimensional video stabilization device and method for fusing camera and gyroscope
WO2020192479A1 (en) Camera stabilization system and method, and electronic device
KR20190032061A (en) Electronic device performing image correction and operation method of thereof
WO2020038087A1 (en) Method and apparatus for photographic control in super night scene mode and electronic device
CN113454982A (en) Electronic device for stabilizing image and operation method thereof
WO2015081555A1 (en) Photographing method for dual-camera device and dual-camera device
CN110300263B (en) Gyroscope processing method and device, electronic equipment and computer readable storage medium
KR102330264B1 (en) Electronic device for playing movie based on movment information and operating mehtod thereof
CN110177212B (en) Image processing method and device, electronic equipment and computer readable storage medium
CN113875219B (en) Image processing method and device, electronic equipment and computer readable storage medium
US11968448B2 (en) Imaging support device, imaging apparatus, imaging system, imaging support system, imaging support method, and program
CN110177213B (en) Gyroscope parameter adjusting method and device, terminal and computer readable storage medium
US20210160429A1 (en) Electronic device including tilt ois and method for capturing image and processing captured image
US11917295B2 (en) Method for correcting shaking at high magnification and electronic device therefor
CN110278374B (en) Image processing method and device, electronic equipment and computer readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20778549

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20778549

Country of ref document: EP

Kind code of ref document: A1