WO2020192479A1 - Camera stabilization system and method, and electronic device - Google Patents
Camera stabilization system and method, and electronic device Download PDFInfo
- Publication number
- WO2020192479A1 WO2020192479A1 PCT/CN2020/079594 CN2020079594W WO2020192479A1 WO 2020192479 A1 WO2020192479 A1 WO 2020192479A1 CN 2020079594 W CN2020079594 W CN 2020079594W WO 2020192479 A1 WO2020192479 A1 WO 2020192479A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- angular velocity
- data
- chip
- driving
- jitter compensation
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims description 39
- 230000006641 stabilisation Effects 0.000 title abstract 2
- 238000011105 stabilization Methods 0.000 title abstract 2
- 238000012545 processing Methods 0.000 claims abstract description 55
- 238000004590 computer program Methods 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 12
- 238000003384 imaging method Methods 0.000 description 10
- 238000005259 measurement Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 238000001514 detection method Methods 0.000 description 3
- 239000013598 vector Substances 0.000 description 3
- 230000005355 Hall effect Effects 0.000 description 2
- 238000003705 background correction Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000006073 displacement reaction Methods 0.000 description 2
- 239000002245 particle Substances 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 239000000872 buffer Substances 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 230000005684 electric field Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 238000001914 filtration Methods 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000002994 raw material Substances 0.000 description 1
- 239000011343 solid material Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/681—Motion detection
- H04N23/6812—Motion detection based on additional sensors, e.g. acceleration sensors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/685—Vibration or motion blur correction performed by mechanical compensation
Definitions
- the electric signal output by the driving chip is received by a motor, and the lens is driven to move according to the electric signal.
- the electric signal output by the driving chip is received by a motor, and the lens is driven to move according to the electric signal.
- 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 schematic structural diagram of a camera anti-shake system in one or more embodiments.
- FIG. 4 is a schematic diagram of the structure of the motor and the driving chip 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. 8 is a flowchart of a method for anti-shake of a camera in one or more embodiments.
- Fig. 10 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.
- first angular velocity data may be referred to as second angular velocity data
- second angular velocity data may be referred to as first angular velocity data.
- Both the first angular velocity data and the second angular velocity data are angular velocity data, but they are not the same angular velocity data.
- Fig. 1 is a schematic structural diagram of a camera anti-shake system in an embodiment.
- the camera anti-shake system includes a gyroscope 102, a main control chip 104, a driving chip 106, and a motor 108.
- the gyroscope 102 is connected to the main control chip 104
- the main control chip 104 is connected to the driving chip 106
- the driving chip 106 is connected to the motor 108. among them:
- the gyroscope 102 is used to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
- the main control chip 104 is connected to the gyroscope, and is used to receive the first angular velocity data output by the gyroscope, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform processing according to the second angular velocity data Application processing
- the driving chip 106 is connected to the main control chip, and is used to receive the jitter compensation data sent by the main control chip, and output an electrical signal according to the jitter compensation data;
- the lens can collect light in the shooting scene, and the light collected by the lens is converted into an image through an image sensor.
- the gyroscope can detect the shaking of the lens. When the lens shakes, it can send the collected data to the main control chip to calculate the displacement of the lens, and then control the motor to drive the lens to move according to the calculated displacement.
- the error caused by shaking is compensated to avoid blurring of the image due to the shaking of the lens.
- the gyroscope provided in this embodiment includes an output terminal, and one channel of data can be output through the output terminal.
- the above-mentioned gyroscope can obtain the first angular velocity data and the second angular velocity data of different attributes, and output them through the output terminal.
- the mode of the above-mentioned gyroscope collecting data can be adjusted. In the first mode, the gyroscope collects the first angular velocity data of the first attribute, and in the second mode, the gyroscope collects the second angular velocity data of the second attribute. Both angular velocity data are sent to the main control chip through the output terminal of the gyroscope, but only one angular velocity data can be output at a time.
- the driver chip may include a single-channel driver chip and a multi-channel driver chip, but is not limited thereto.
- Single-channel drive chip refers to a drive chip that only has one electrical signal to the motor
- multi-channel drive chip refers to a drive chip that can output multiple electrical signals to the motor at the same time. It can be understood that the single-channel driver chip is not limited to only one output terminal, but can also have multiple output terminals, and there is only one output terminal that outputs an electrical signal to the motor.
- the electrical signal can be a current signal, a voltage signal, or other types of electrical signals, which is not limited here.
- the above-mentioned gyroscope is also used to collect original angular velocity data, and generate first angular velocity data of the first attribute according to the original angular velocity data, or generate second angular velocity data of the second attribute according to the original angular velocity data.
- the above-mentioned main control chip is also used to obtain the target application identification of the target application that initiated the image acquisition instruction when the image acquisition instruction is detected; obtain the first attribute corresponding to the first angular velocity data according to the target application identification data.
- the image acquisition instruction may include the target application identifier of the target application, and the target application identifier may uniquely identify the target application.
- the corresponding relationship between the application identifier and the first attribute data is established in advance, and the first attribute data corresponding to the target application identifier can be obtained according to the pre-established corresponding relationship.
- the above-mentioned gyroscope is also used to read the first attribute data stored in the register, and generate first angular velocity data corresponding to the first attribute data according to the original angular velocity data; or read the second attribute data stored in the register , Generating the second angular velocity data corresponding to the second attribute data according to the original angular velocity data.
- the gyroscope Before collecting the angular velocity data, the gyroscope will read the attribute data of the angular velocity data in the register, generate corresponding angular velocity data according to the read attribute data, and then output the generated angular velocity data.
- the aforementioned camera anti-shake system includes a gyroscope, a main control chip, a driving chip, and a motor.
- the first angular velocity data or the second angular velocity data can be collected through the gyroscope, and the main control chip calculates the shake compensation data according to the first angular velocity data.
- the second angular velocity data is applied and processed, and the driving chip can power on the motor according to the shake compensation data, thereby driving the lens to move.
- the shaking of the lens can be detected according to the collected angular velocity data, and then the lens can be driven to move in different driving directions to realize compensation for the shaking of the lens and improve the accuracy of the collected image.
- Fig. 2 is a schematic structural diagram of a camera anti-shake system in another embodiment.
- the camera anti-shake system includes a gyroscope 102, a main control chip 104, a single-channel driver chip 1060, a single-channel driver chip 1062, and a motor 108.
- the gyroscope 102 is connected to the main control chip 104
- the main control chip 104 is connected to the single-channel driving chip 1060 and the single-channel driving chip 1062 respectively
- both the single-channel driving chip 1060 and the single-channel driving chip 1062 are connected to the motor 108. among them:
- a fitting function can be established in advance, the lens can be controlled to shake before the image is taken, and the reference angular velocity data during the lens shake and the offset of the lens can be collected through the gyroscope, according to the offset of the lens The corresponding reference jitter compensation data can be obtained. Then according to the collected reference angular velocity data and reference jitter compensation data, the constants in the fitting function are calculated. Finally, the calculated constant is brought into the fitting function to establish a model, that is, a model representing the corresponding relationship between the first angular velocity data and the jitter compensation data is obtained.
- the first driver chip 506 may also include at least two first single-channel driver chips, and the at least two first single-channel driver chips respectively correspond to 522 different first driving directions of the first lens.
- the second driving chip 508 includes at least two second single-channel driving chips, and the at least two second single-channel driving chips respectively correspond to different second driving directions of the second lens 542;
- the first jitter compensation data sent by the main control chip is received through the first drive chip, the first electrical signal is output according to the first jitter compensation data, the second jitter compensation data sent by the main control chip is received through the second drive chip, and The second electrical signal is output according to the second jitter compensation data.
- the ISP processor 1040 may also receive image data from the image memory 1030.
- the sensor 1020 interface sends the original image data to the image memory 1030, and the original image data in the image memory 1030 is then provided to the ISP processor 1040 for processing.
- the image memory 1030 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, direct memory access) features.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Adjustment Of Camera Lenses (AREA)
- Studio Devices (AREA)
Abstract
A camera stabilization system, comprising: a gyroscope, used to acquire first angular velocity data of a first attribute, or to acquire second angular velocity data of a second attribute; a main control chip, connected to the gyroscope and used to receive the first angular velocity data outputted by the gyroscope and calculate shaking compensation data on the basis of the first angular velocity data, or to receive the second angular velocity data outputted by the gyroscope and perform application processing on the basis of the second angular velocity data; a drive chip, connected to the main control chip and used to receive the shaking compensation data outputted by the main control chip and output an electrical signal on the basis of the shaking compensation data; and a motor, used to receive the electrical signal outputted by the drive chip and drive a lens to move on the basis of the electrical signal.
Description
相关申请的交叉引用Cross references to related applications
本申请要求于2019年03月26日提交中国专利局、申请号为2019102325640、发明名称为“摄像头防抖系统和方法、电子设备、计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on March 26, 2019, the application number is 2019102325640, and the invention title is "camera anti-shake system and method, electronic equipment, computer-readable storage medium", all of which The content is incorporated in this application by reference.
本申请涉及计算机技术领域,特别是涉及一种摄像头防抖系统和方法、电子设备。This application relates to the field of computer technology, in particular to a camera anti-shake system and method, and electronic equipment.
摄像头在拍摄图像的过程中,可以收集拍摄场景的光线,然后通过感光元件将收集的光线转化成电信号进行存储。摄像头从手机光线到成像的过程中,需要一定的时长,如果在成像的过程中摄像头产生了抖动,就会造成收集的光线产生变化,从而使得成像得到的图像产生模糊。In the process of capturing images, the camera can collect the light of the shooting scene, and then use the photosensitive element to convert the collected light into electrical signals for storage. It takes a certain amount of time for the camera to go from the light of the mobile phone to the imaging. If the camera shakes during the imaging process, the collected light will change and the image obtained by imaging will be blurred.
发明内容Summary of the invention
根据本申请的各种实施例提供一种摄像头防抖系统和方法、电子设备。According to various embodiments of the present application, a camera anti-shake system and method, and electronic equipment are provided.
一种摄像头防抖系统,包括:A camera anti-shake system, including:
陀螺仪,用于获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;The gyroscope is used to obtain the first angular velocity data of the first attribute or the second angular velocity data of the second attribute;
主控芯片,与所述陀螺仪连接,用于接收所述陀螺仪输出的第一角速度数据,根据所述第一角速度数据计算得到抖动补偿数据,或接收所述陀螺仪输出的第二角速度数据,根据所述第二角速度数据进行应用处理;The main control chip, connected to the gyroscope, is used to receive the first angular velocity data output by the gyroscope, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope , Perform application processing according to the second angular velocity data;
驱动芯片,与所述主控芯片连接,用于接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号;及The driving chip is connected to the main control chip, and is used to receive the jitter compensation data sent by the main control chip, and output an electric signal according to the jitter compensation data; and
马达,用于接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动。The motor is used for receiving the electrical signal output by the driving chip, and driving the lens to move according to the electrical signal.
一种摄像头防抖方法,包括:An anti-shake method for a camera includes:
控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;Control the gyroscope to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
通过主控芯片接收所述陀螺仪输出的第一角速度数据,根据所述第一角速度数据计算得到抖动补偿数据,或接收所述陀螺仪输出的第二角速度数据,根据所述第二角速度数据进行应用处理;Receive the first angular velocity data output by the gyroscope through the main control chip, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform processing according to the second angular velocity data Application processing
通过驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号;及Receiving the jitter compensation data sent by the main control chip through the driving chip, and outputting an electrical signal according to the jitter compensation data; and
通过马达接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动。The electric signal output by the driving chip is received by a motor, and the lens is driven to move according to the electric signal.
一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如下操作:An electronic device includes a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor performs the following operations:
控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;Control the gyroscope to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
通过主控芯片接收所述陀螺仪输出的第一角速度数据,根据所述第一角速度数据计算得到抖动补偿数据,或接收所述陀螺仪输出的第二角速度数据,根据所述第二角速度数据进行应用处理;Receive the first angular velocity data output by the gyroscope through the main control chip, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform processing according to the second angular velocity data Application processing
通过驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号;Receiving the jitter compensation data sent by the main control chip through a driving chip, and outputting an electrical signal according to the jitter compensation data;
通过马达接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动。The electric signal output by the driving chip is received by a motor, and the lens is driven to move according to the electric signal.
本申请实施例提供的摄像头防抖系统和方法、电子设备,可以根据获取的角速度数据侦测镜头的抖动情况,然后驱动镜头在不同驱动方向上移动,以实现对镜头抖动的补偿, 提高了采集图像的准确性。另外,上述摄像头防抖系统中陀螺仪可以采集不同属性的角速度数据,主控芯片根据不同属性的角速度数据可以实现不同的处理,这样就不需要针对不同处理分别安装对应的陀螺仪,节省了系统的成本。The camera anti-shake system and method, and electronic equipment provided by the embodiments of the application can detect the shaking of the lens according to the acquired angular velocity data, and then drive the lens to move in different driving directions, so as to realize the compensation of the lens shaking and improve the collection The accuracy of the image. In addition, the gyroscope in the aforementioned camera anti-shake system can collect angular velocity data of different attributes, and the main control chip can implement different processing according to the angular velocity data of different attributes, so that there is no need to install corresponding gyroscopes for different processing, saving the system the cost of.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本发明的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。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.
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。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 schematic structural diagram of a camera anti-shake system in one or more embodiments.
图4为一个或多个实施例中马达和驱动芯片的结构示意图。FIG. 4 is a schematic diagram of the structure of the motor and the driving chip 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 flowchart of a camera anti-shake method in one or more embodiments.
图8为一个或多个实施例中摄像头防抖方法的流程图。FIG. 8 is a flowchart of a method for anti-shake of a camera in one or more embodiments.
图9为一个或多个实施例中摄像头防抖方法的流程图。Fig. 9 is a flowchart of a camera anti-shake method in one or more embodiments.
图10为一个或多个实施例中图像处理电路的示意图。Fig. 10 is a schematic diagram of an image processing circuit in one or more embodiments.
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。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 angular velocity data may be referred to as second angular velocity data, and similarly, the second angular velocity data may be referred to as first angular velocity data. Both the first angular velocity data and the second angular velocity data are angular velocity data, but they are not the same angular velocity data.
图1为一个实施例中摄像头防抖系统的结构示意图。如图1所示,该摄像头防抖系统包括陀螺仪102、主控芯片104、驱动芯片106、马达108。其中,陀螺仪102与主控芯片104连接,主控芯片104与驱动芯片106连接,驱动芯片106与马达108连接。其中: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 gyroscope 102, a main control chip 104, a driving chip 106, and a motor 108. Among them, the gyroscope 102 is connected to the main control chip 104, the main control chip 104 is connected to the driving chip 106, and the driving chip 106 is connected to the motor 108. among them:
陀螺仪102,用于获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;The gyroscope 102 is used to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
主控芯片104,与陀螺仪连接,用于接收陀螺仪输出的第一角速度数据,根据第一角速度数据计算得到抖动补偿数据,或接收陀螺仪输出的第二角速度数据,根据第二角速度数据进行应用处理;The main control chip 104 is connected to the gyroscope, and is used to receive the first angular velocity data output by the gyroscope, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform processing according to the second angular velocity data Application processing
驱动芯片106,与主控芯片连接,用于接收主控芯片发送的抖动补偿数据,并根据抖动补偿数据输出电信号;The driving chip 106 is connected to the main control chip, and is used to receive the jitter compensation data sent by the main control chip, and output an electrical signal according to the jitter compensation data;
马达108,用于接收驱动芯片输出的电信号,并根据电信号驱动镜头移动。The motor 108 is used for receiving electrical signals output by the driving chip, and driving the lens to move according to the electrical signals.
在本申请实施例中,镜头可以采集拍摄场景中的光线,通过图像传感器将镜头采集的光线转换为图像。陀螺仪可以侦测镜头的抖动,当镜头产生抖动的时候,就可以将采集的数据发送给主控芯片计算镜头产生的位移量,然后根据计算得到的位移量控制马达带动 镜头进行移动,从而对抖动产生的误差进行补偿,以避免因镜头的抖动导致图像模糊。In the embodiment of the present application, the lens can collect light in the shooting scene, and the light collected by the lens is converted into an image through an image sensor. The gyroscope can detect the shaking of the lens. When the lens shakes, it can send the collected data to the main control chip to calculate the displacement of the lens, and then control the motor to drive the lens to move according to the calculated displacement. The error caused by shaking is compensated to avoid blurring of the image due to the shaking of the lens.
陀螺仪是一种高速回转体的动量矩敏感壳体相对惯性空间绕正交于自转轴的角运动检测装置,可以包括压电陀螺仪、机械陀螺仪、光纤陀螺仪、激光陀螺仪等,不限于此。陀螺仪可以检测镜头在一个或多个方向上的角速度,从而根据检测得到角速度判断镜头的抖动情况。Gyroscope is a high-speed rotating body's momentum-sensitive shell relative to the inertial space around the angular movement detection device orthogonal to the rotation axis. It can include piezoelectric gyroscope, mechanical gyroscope, fiber optic gyroscope, laser gyroscope, etc. Limited to this. The gyroscope can detect the angular velocity of the lens in one or more directions, thereby judging the shake of the lens based on the angular velocity obtained by the detection.
本实施例中提供的陀螺仪包括一个输出端,可以通过输出端输出一路数据。上述陀螺仪可以获取不同属性的第一角速度数据和第二角速度数据,并通过输出端输出。上述陀螺仪采集数据的模式可以调节,在第一模式下陀螺仪采集第一属性的第一角速度数据,在第二模式下陀螺仪采集第二属性的第二角速度数据,第一角速度数据和第二角速度数据都通过陀螺仪的输出端发送给主控芯片,但是一次只能输出一种角速度数据。The gyroscope provided in this embodiment includes an output terminal, and one channel of data can be output through the output terminal. The above-mentioned gyroscope can obtain the first angular velocity data and the second angular velocity data of different attributes, and output them through the output terminal. The mode of the above-mentioned gyroscope collecting data can be adjusted. In the first mode, the gyroscope collects the first angular velocity data of the first attribute, and in the second mode, the gyroscope collects the second angular velocity data of the second attribute. Both angular velocity data are sent to the main control chip through the output terminal of the gyroscope, but only one angular velocity data can be output at a time.
其中,角速度数据的属性可以但不限于是角速度数据的输出频率、测量范围、带宽等,输出频率是指陀螺仪输出角速度数据的频率,测量范围是指陀螺仪测量的角速度数据的变化范围,带宽是指单位时间内输出的角速度数据的数据量。例如,第一角速度数据可以是以30HZ(赫兹)频率输出的,第二角速度数据可以是以200HZ(赫兹)频率输出的。Among them, the attributes of the angular velocity data can be, but are not limited to, the output frequency, measurement range, bandwidth, etc. of the angular velocity data. The output frequency refers to the frequency of the angular velocity data output by the gyroscope, and the measurement range refers to the variation range and bandwidth of the angular velocity data measured by the gyroscope. It refers to the amount of angular velocity data output per unit time. For example, the first angular velocity data may be output at a frequency of 30HZ (Hertz), and the second angular velocity data may be output at a frequency of 200HZ (Hertz).
具体的,陀螺仪的输出端分别通过SPI(Serial Peripheral Interface,串行外设接口)与主控芯片连接,也可以是通过其他方式与主控芯片连接,不限于此。主控芯片可以是SOC(System on Chip,系统级芯片)、CPU(Central Processing Unit,中央处理器)等,在此不做限定。主控芯片可以用于根据第一角速度数据进行防抖处理,还可以根据第二角速度数据进行应用处理。Specifically, the output terminals of the gyroscope are respectively connected to the main control chip through SPI (Serial Peripheral Interface), and may also be connected to the main control chip in other ways, and are not limited to this. The main control chip can be SOC (System on Chip), CPU (Central Processing Unit, Central Processing Unit), etc., which are not limited here. The main control chip can be used to perform anti-shake processing based on the first angular velocity data, and can also perform application processing based on the second angular velocity data.
应用处理是指对系统中安装的应用程序发起的指令进行处理,也就是说主控芯片是系统级芯片,既可以实现镜头的防抖功能,又可以实现对应用程序的处理。例如,电子设备中安装该摄像头防抖系统,还可以安装其他器件或应用程序,摄像头防抖系统中的主控芯片处理除了能实现对镜头的防抖功能之外,还能对其他器件或应用程序发起的应用指令进行处理。该系统级主控芯片拥有强大的处理功能,既能提高防抖精度,又能避免单独针对摄像头防抖系统安装处理芯片所造成的浪费,从而节省了系统成本。Application processing refers to the processing of instructions initiated by the application installed in the system, that is to say, the main control chip is a system-level chip, which can realize the anti-shake function of the lens and the processing of the application. For example, if the camera anti-shake system is installed in electronic equipment, other devices or applications can also be installed. The main control chip processing in the camera anti-shake system can not only realize the anti-shake function of the lens, but also other devices or applications. Application instructions initiated by the program are processed. The system-level main control chip has powerful processing functions, which can not only improve the accuracy of anti-shake, but also avoid the waste caused by installing a processing chip for the camera anti-shake system alone, thereby saving system costs.
具体的,抖动补偿数据是指根据对镜头产生抖动进行补偿的数据,主控芯片中可以预先设置计算抖动补偿数据的算法,在获取到第一角速度数据之后,就可以根据第一角速度数据计算抖动补偿数据。Specifically, the jitter compensation data refers to the data that compensates for the jitter produced by the lens. The main control chip can be preset to calculate the algorithm for the jitter compensation data. After the first angular velocity data is obtained, the jitter can be calculated based on the first angular velocity data. Compensation data.
例如,抖动补偿数据具体可以是对镜头补偿的偏移量,当镜头发生抖动的时候,镜头会向某个方向上偏移一定的距离,抖动补偿数据则可以表示为镜头往抖动的反方向补偿的距离。For example, the shake compensation data can specifically be the offset of the lens compensation. When the lens shakes, the lens will shift a certain distance in a certain direction, and the shake compensation data can be expressed as compensation for the lens shaking in the opposite direction. the distance.
驱动芯片(Driver Integrated Circuit)可以包括单通道驱动芯片和多通道驱动芯片,不限于此。单通道驱动芯片是指只有一路电信号到马达的驱动芯片,多通道驱动芯片是指可以同时输出多路电信号到马达的驱动芯片。可以理解的是,单通道驱动芯片并不限于只有一个输出端,也可以有多个输出端,而输出电信号到马达的输出端只有一个。电信号可以是电流信号、电压信号,还可以是其他类型的电信号,在此不做限定。The driver chip (Driver Integrated Circuit) may include a single-channel driver chip and a multi-channel driver chip, but is not limited thereto. Single-channel drive chip refers to a drive chip that only has one electrical signal to the motor, and multi-channel drive chip refers to a drive chip that can output multiple electrical signals to the motor at the same time. It can be understood that the single-channel driver chip is not limited to only one output terminal, but can also have multiple output terminals, and there is only one output terminal that outputs an electrical signal to the motor. The electrical signal can be a current signal, a voltage signal, or other types of electrical signals, which is not limited here.
驱动芯片连接马达,在接收到主控芯片发送的抖动补偿数据之后,就可以根据抖动补偿数据输出电信号。马达可以根据电信号上电,上电之后的马达可以驱动镜头移动。电信号中可以携带的方向标识和信号强度,根据方向标识可以识别推动镜头在哪个方向上移动,根据信号强度可以推动镜头移动不同的距离。The drive chip is connected to the motor, and after receiving the jitter compensation data sent by the main control chip, it can output electrical signals according to the jitter compensation data. The motor can be powered on according to the electrical signal, and the motor after power on can drive the lens to move. The direction indicator and signal strength that can be carried in the electrical signal can be identified in which direction the lens is pushed to move according to the direction indicator, and the lens can be pushed to move different distances according to the signal strength.
在一个实施例中,上述驱动芯片可以包括至少两个单通道驱动芯片,该至少两个单通道驱动芯片分别对应不同的驱动方向。上述主控芯片还用于根据第一角速度数据计算对应于各个驱动方向的抖动补偿数据,并将各个驱动方向的抖动补偿数据分别发送给对应的单通道驱动芯片;上述单通道驱动芯片用于接收主控芯片发送的抖动补偿数据,并根据抖动补偿数据输出驱动方向对应的电信号;上述马达还用于接收单通道驱动芯片输出的电信 号,并根据电信号驱动镜头在对应的驱动方向上移动。In one embodiment, the above-mentioned driving chip may include at least two single-channel driving chips, and the at least two single-channel driving chips respectively correspond to different driving directions. The above-mentioned main control chip is also used to calculate the jitter compensation data corresponding to each driving direction according to the first angular velocity data, and send the jitter compensation data of each driving direction to the corresponding single-channel driver chip; the above-mentioned single-channel driver chip is used for receiving The jitter compensation data sent by the main control chip, and output the electrical signal corresponding to the driving direction according to the jitter compensation data; the above-mentioned motor is also used to receive the electrical signal output by the single-channel drive chip, and drive the lens to move in the corresponding drive direction according to the electrical signal .
若上述摄像头防抖系统中包含至少两个单通道驱动芯片,则可以通过各个单通道驱动芯片来传输不同驱动方向上的信号。具体的,驱动方向用于表示对镜头进行抖动补偿的方向,即为镜头克服抖动偏移的方向。可以预先设置镜头的驱动方向,主控芯片可以根据第一角速度数据分别计算对应于各个驱动方向的抖动补偿数据,然后将各个抖动补偿数据发送到对应的单通道驱动芯片。If the camera anti-shake system includes at least two single-channel driver chips, each single-channel driver chip can be used to transmit signals in different driving directions. Specifically, the driving direction is used to indicate the direction in which the lens shake compensation is performed, that is, the direction in which the lens overcomes the shake offset. The drive direction of the lens can be set in advance, and the main control chip can calculate the shake compensation data corresponding to each drive direction according to the first angular velocity data, and then send each shake compensation data to the corresponding single-channel drive chip.
上述每一个单通道驱动芯片接收到抖动补偿数据之后,都会根据抖动补偿数据输出一个电信号。单通道驱动芯片输出的电信号可以包含信号强度和方向标识,信号强度用于表示输出的电流大小,方向标识用于表示对应的镜头的驱动方向。将不同信号强度和方向标识的电信号分别输出给对应的马达,马达根据电信号驱动镜头在对应的驱动方向上移动,并驱动镜头移动信号强度对应的距离。After receiving the jitter compensation data, each of the aforementioned single-channel driver chips will output an electrical signal according to the jitter compensation data. The electrical signal output by the single-channel drive chip may include signal strength and direction identification, the signal strength is used to indicate the magnitude of the output current, and the direction identification is used to indicate the driving direction of the corresponding lens. The electrical signals with different signal strengths and direction indicators are respectively output to the corresponding motors, and the motors drive the lens to move in the corresponding driving direction according to the electrical signals, and drive the lens to move the distance corresponding to the signal strength.
进一步地,上述摄像头防抖系统中还可以包括至少两个马达,即每一个单通道驱动芯片连接一个马达,上述至少两个马达都与镜头连接。这样每一个马达都对应一个驱动方向,从而推动镜头在对应的驱动方向上移动。Further, the aforementioned camera anti-shake system may also include at least two motors, that is, each single-channel drive chip is connected to one motor, and the aforementioned at least two motors are both connected to the lens. In this way, each motor corresponds to a driving direction, thereby pushing the lens to move in the corresponding driving direction.
举例说明,假设电子设备中安装可以两个单通道驱动芯片,每一个单通道驱动芯片连接一个马达,两个马达可以分别驱动镜头在x、y方向上移动,那么马达就可以根据电信号的信号强度驱动镜头分别在x、y方向上移动不同的距离。For example, suppose that two single-channel driver chips can be installed in an electronic device, and each single-channel driver chip is connected to a motor. The two motors can drive the lens to move in the x and y directions respectively, then the motor can be based on the electrical signal. The intensity drives the lens to move different distances in the x and y directions.
在本申请提供的实施例中,陀螺仪生成的第一角速度数据或第二角速度数据是根据采集的原始角速度数据生成的,即陀螺仪可以首先采集原始角速度数据,然后再根据原始角速度数据生成第一角速度数据或第二角速度数据。例如,以200HZ的频率采集原始角速度数据,然后可以根据采集的原始角速度数据分别以100HZ的频率输出第一角速度数据,以50HZ的频率输出第二角速度数据。因此上述陀螺仪还用于采集原始角速度数据,并根据原始角速度数据生成第一属性的第一角速度数据,或根据原始角速度数据生成第二属性的第二角速度数据。In the embodiment provided in this application, the first angular velocity data or the second angular velocity data generated by the gyroscope is generated according to the collected original angular velocity data, that is, the gyroscope can first collect the original angular velocity data, and then generate the second angular velocity data based on the original angular velocity data. One angular velocity data or second angular velocity data. For example, collecting the original angular velocity data at a frequency of 200HZ, and then outputting the first angular velocity data at a frequency of 100HZ and the second angular velocity data at a frequency of 50HZ according to the collected original angular velocity data. Therefore, the above-mentioned gyroscope is also used to collect original angular velocity data, and generate first angular velocity data of the first attribute according to the original angular velocity data, or generate second angular velocity data of the second attribute according to the original angular velocity data.
在上述摄像头防抖系统中,主控芯片还可以用于主控芯片还用于获取第一角速度数据对应的第一属性数据,并根据第一属性数据配置陀螺仪的寄存器;或获取第二角速度数据对应的第二属性数据,并根据第二属性数据配置陀螺仪的寄存器。In the aforementioned camera anti-shake system, the main control chip can also be used for the main control chip to obtain the first attribute data corresponding to the first angular velocity data, and configure the register of the gyroscope according to the first attribute data; or obtain the second angular velocity The second attribute data corresponding to the data, and the register of the gyroscope is configured according to the second attribute data.
属性数据用于表示角速度数据的属性,具体可以包括角速度数据的输出频率、测量范围、带宽等,不限于此。第一属性数据用于表示第一角速度数据的属性,第二属性数据用于表示第二角速度数据的属性,第一属性数据和第二属性数据不同。例如,第一属性数据可以是输出频率为25HZ、测量范围为-30度/秒到30度/秒;第一属性数据可以是输出频率为100HZ、测量范围为-150度/秒到150度/秒。The attribute data is used to represent the attributes of the angular velocity data, and may specifically include the output frequency, measurement range, bandwidth, etc. of the angular velocity data, but is not limited thereto. The first attribute data is used to represent the attribute of the first angular velocity data, the second attribute data is used to represent the attribute of the second angular velocity data, and the first attribute data is different from the second attribute data. For example, the first attribute data may be that the output frequency is 25HZ and the measurement range is -30 degrees/sec to 30 degrees/sec; the first attribute data may be that the output frequency is 100HZ and the measurement range is -150 degrees/sec to 150 degrees/sec. second.
陀螺仪在采集角速度之前,可以先对陀螺仪的参数进行配置,主要是配置陀螺仪输出的角速度数据的属性。具体的,可以在陀螺仪对应的寄存器中写入配置参数,即对应写入输出的角速度数据的属性数据。在配置寄存器的时候,还可以将输出角速度数据的输出端地址写入寄存器,陀螺仪在输出角速度数据的时候,会先从寄存器中读取输出端地址,然后通过输出端地址对应的输出端输出角速度数据。Before the gyroscope collects the angular velocity, the parameters of the gyroscope can be configured first, mainly to configure the attributes of the angular velocity data output by the gyroscope. Specifically, the configuration parameter can be written in the register corresponding to the gyroscope, that is, the attribute data corresponding to the written output angular velocity data. When configuring the register, you can also write the output terminal address of the output angular velocity data into the register. When the gyroscope outputs the angular velocity data, it will first read the output terminal address from the register, and then output it through the output terminal corresponding to the output terminal address Angular velocity data.
在本申请实施例中,上述主控芯片还用于当检测到图像采集指令时,获取发起图像采集指令的目标应用程序的目标应用标识;根据目标应用标识获取第一角速度数据对应的第一属性数据。In the embodiment of the present application, the above-mentioned main control chip is also used to obtain the target application identification of the target application that initiated the image acquisition instruction when the image acquisition instruction is detected; obtain the first attribute corresponding to the first angular velocity data according to the target application identification data.
可以理解的是,图像采集指令是用于采集图像的指令,当检测到图像采集指令的时候,会给图像传感器上电,以采集图像。在检测到图像采集指令之后,可以通过陀螺仪采集第一角速度数据,并根据第一角速度数据实现对镜头的防抖处理。因此,当检测到图像采集指令时,可以根据发起图像采集指令的目标应用程序来调整对应的属性。例如,数据精度要求比较高的应用程序,可以控制陀螺仪输出高频率的角速度数据。It is understandable that the image acquisition instruction is an instruction for acquiring an image. When an image acquisition instruction is detected, the image sensor will be powered on to acquire an image. After the image acquisition instruction is detected, the first angular velocity data can be collected by the gyroscope, and the anti-shake processing of the lens can be realized according to the first angular velocity data. Therefore, when an image acquisition instruction is detected, the corresponding attributes can be adjusted according to the target application that initiated the image acquisition instruction. For example, applications that require relatively high data accuracy can control the gyroscope to output high-frequency angular velocity data.
具体的,图像采集指令中可以包含目标应用程序的目标应用标识,该目标应用标识可以唯一标示目标应用程序。预先建立应用标识和第一属性数据的对应关系,根据该预先建立的对应关系可以即可获取目标应用标识对应的第一属性数据。Specifically, the image acquisition instruction may include the target application identifier of the target application, and the target application identifier may uniquely identify the target application. The corresponding relationship between the application identifier and the first attribute data is established in advance, and the first attribute data corresponding to the target application identifier can be obtained according to the pre-established corresponding relationship.
在一个实施例中,上述陀螺仪还用于读取寄存器中存储的第一属性数据,根据原始角速度数据生成第一属性数据对应的第一角速度数据;或读取寄存器中存储的第二属性数据,根据原始角速度数据生成第二属性数据对应的第二角速度数据。陀螺仪在采角速度数据之前,会在寄存器中读取角速度数据的属性数据,根据读取的属性数据生成对应的角速度数据,然后将生成的角速度数据输出。In one embodiment, the above-mentioned gyroscope is also used to read the first attribute data stored in the register, and generate first angular velocity data corresponding to the first attribute data according to the original angular velocity data; or read the second attribute data stored in the register , Generating the second angular velocity data corresponding to the second attribute data according to the original angular velocity data. Before collecting the angular velocity data, the gyroscope will read the attribute data of the angular velocity data in the register, generate corresponding angular velocity data according to the read attribute data, and then output the generated angular velocity data.
上述摄像头防抖系统,包括陀螺仪、主控芯片、驱动芯片和马达,通过陀螺仪可以采集第一角速度数据或第二角速度数据,并通过主控芯片分别根据第一角速度数据计算抖动补偿数据以及第二角速度数据进行应用处理,驱动芯片可以根据抖动补偿数据对马达上电,从而驱动镜头移动。这样可以根据采集的角速度数据侦测镜头的抖动情况,然后驱动镜头在不同驱动方向上移动,以实现对镜头抖动的补偿,提高了采集图像的准确性。另外,上述摄像头防抖系统中陀螺仪可以采集不同属性的角速度数据,主控芯片根据不同属性的角速度数据可以实现不同的处理,这样就不需要针对不同处理分别安装对应的陀螺仪,节省了系统的成本。The aforementioned camera anti-shake system includes a gyroscope, a main control chip, a driving chip, and a motor. The first angular velocity data or the second angular velocity data can be collected through the gyroscope, and the main control chip calculates the shake compensation data according to the first angular velocity data. The second angular velocity data is applied and processed, and the driving chip can power on the motor according to the shake compensation data, thereby driving the lens to move. In this way, the shaking of the lens can be detected according to the collected angular velocity data, and then the lens can be driven to move in different driving directions to realize compensation for the shaking of the lens and improve the accuracy of the collected image. In addition, the gyroscope in the aforementioned camera anti-shake system can collect angular velocity data of different attributes, and the main control chip can implement different processing according to the angular velocity data of different attributes, so that there is no need to install corresponding gyroscopes for different processing, saving the system the cost of.
图2为另一个实施例中摄像头防抖系统的结构示意图。如图2所示,该摄像头防抖系统包括陀螺仪102、主控芯片104、单通道驱动芯片1060、单通道驱动芯片1062、马达108。其中,陀螺仪102与主控芯片104连接,主控芯片104分别与单通道驱动芯片1060和单通道驱动芯片1062连接,单通道驱动芯片1060和单通道驱动芯片1062均与马达108连接。其中:Fig. 2 is a schematic structural diagram of a camera anti-shake system in another embodiment. As shown in FIG. 2, the camera anti-shake system includes a gyroscope 102, a main control chip 104, a single-channel driver chip 1060, a single-channel driver chip 1062, and a motor 108. Among them, the gyroscope 102 is connected to the main control chip 104, and the main control chip 104 is connected to the single-channel driving chip 1060 and the single-channel driving chip 1062 respectively, and both the single-channel driving chip 1060 and the single-channel driving chip 1062 are connected to the motor 108. among them:
陀螺仪102,用于获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;The gyroscope 102 is used to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
主控芯片104,用于根据第一角速度数据计算对应于各个驱动方向的抖动补偿数据,并将各个驱动方向的所述抖动补偿数据分别发送给对应的单通道驱动芯片1060和单通道驱动芯片1062;The main control chip 104 is configured to calculate the jitter compensation data corresponding to each driving direction according to the first angular velocity data, and send the jitter compensation data of each driving direction to the corresponding single-channel driver chip 1060 and the single-channel driver chip 1062 respectively ;
单通道驱动芯片1060和单通道驱动芯片1062,用于接收主控芯片104发送的抖动补偿数据,并根据抖动补偿数据输出驱动方向对应的电信号;The single-channel driver chip 1060 and the single-channel driver chip 1062 are used to receive the jitter compensation data sent by the main control chip 104, and output an electrical signal corresponding to the driving direction according to the jitter compensation data;
马达108,接收单通道驱动芯片1060和单通道驱动芯片1062输出的电信号,并根据电信号驱动镜头110在对应的驱动方向上移动。The motor 108 receives the electrical signals output by the single-channel driver chip 1060 and the single-channel driver chip 1062, and drives the lens 110 to move in the corresponding driving direction according to the electrical signals.
在本申请实施例中,陀螺仪可以为两轴、四轴等,不限于此。陀螺仪采集的角速度数据可以表示镜头的在单位时长内转动的角度,例如角速度数据可以是60度/秒、12度/秒、34度/秒等,在此不做限定。In the embodiment of the present application, the gyroscope may be two-axis, four-axis, etc., and is not limited thereto. The angular velocity data collected by the gyroscope may indicate the angle of rotation of the lens within a unit time. For example, the angular velocity data may be 60 degrees/second, 12 degrees/second, 34 degrees/second, etc., which are not limited here.
在拍摄图像的过程,若镜头产生了抖动,就会造成图像的偏移。镜头的抖动可能是多个方向的,例如对镜头建立一个三维空间直角坐标系,则镜头的抖动方向则可以通过三个方向的向量进行表示。因此,在对镜头做抖动补偿的时候,也可以从多个方向上对镜头进行补偿。In the process of taking an image, if the lens shakes, it will cause the image to shift. The jitter of the lens may be in multiple directions. For example, if a three-dimensional rectangular coordinate system is established for the lens, the jitter direction of the lens can be represented by vectors in three directions. Therefore, when the camera shake is compensated, the lens can also be compensated from multiple directions.
驱动方向用于表示对镜头进行抖动补偿的方向,即为镜头克服抖动偏移的方向。可以预先设置镜头的驱动方向,主控芯片在接收到第一角速度数据之后,可以根据第一角速度数据计算镜头在任一方向上的偏移量,然后根据镜头的偏移量计算出对镜头的在各个驱动方向上的抖动补偿数据。The driving direction is used to indicate the direction in which the lens shake compensation is performed, that is, the direction in which the lens overcomes the shake offset. The driving direction of the lens can be set in advance. After receiving the first angular velocity data, the main control chip can calculate the offset of the lens in any direction according to the first angular velocity data, and then calculate the offset of the lens according to the offset of the lens. Shake compensation data in the driving direction.
可以预先设置第一角速度数据和抖动补偿数据的对应关系,在读取到陀螺仪采集到的第一角速度数据之后,就可以根据第一角速度数据计算得到对应的抖动补偿数据。抖动补偿数据可以包括对应于不同驱动方向上镜头的补偿偏移量,根据抖动补偿数据可以驱动 镜头在不同的驱动方向上移动,从而实现对抖动的补偿。The corresponding relationship between the first angular velocity data and the jitter compensation data can be preset. After the first angular velocity data collected by the gyroscope is read, the corresponding jitter compensation data can be calculated based on the first angular velocity data. The shake compensation data may include compensation offsets corresponding to the lens in different driving directions, and the lens may be driven to move in different driving directions according to the shake compensation data, so as to realize the compensation for the shake.
在一个实施例中,可以预先建立一个拟合函数,在拍摄图像之前可以控制镜头产生抖动,并通过陀螺仪采集镜头抖动过程中的参考角速度数据以及镜头的偏移量,根据镜头的偏移量可以得到对应的参考抖动补偿数据。然后根据采集的参考角速度数据和参考抖动补偿数据,计算拟合函数中的常量。最后将计算得到的常量带入拟合函数从而建立模型,即得到表示第一角速度数据和抖动补偿数据的对应关系的模型。In one embodiment, a fitting function can be established in advance, the lens can be controlled to shake before the image is taken, and the reference angular velocity data during the lens shake and the offset of the lens can be collected through the gyroscope, according to the offset of the lens The corresponding reference jitter compensation data can be obtained. Then according to the collected reference angular velocity data and reference jitter compensation data, the constants in the fitting function are calculated. Finally, the calculated constant is brought into the fitting function to establish a model, that is, a model representing the corresponding relationship between the first angular velocity data and the jitter compensation data is obtained.
例如,拟合函数可以表示为
其中,x表示陀螺仪采集的第一角速度数据,y(x,w)表示镜头的抖动补偿数据,w
j为常量,j可以为任意自然数,在此不做限定。求出各个常量w
j之后就可以建立第一角速度数据和抖动补偿数据的对应关系。
For example, the fitting function can be expressed as Among them, x represents the first angular velocity data collected by the gyroscope, y(x, w) represents the shake compensation data of the lens, w j is a constant, and j can be any natural number, which is not limited here. After each constant w j is calculated, the corresponding relationship between the first angular velocity data and the jitter compensation data can be established.
具体的,主控芯片可以包括至少两个输出端,每个输出端分别与一个单通道驱动芯片相连,然后分别通过各个输出端输出对应的抖动补偿数据。单通道驱动芯片输出的电信号可以包含信号强度和方向标识,信号强度用于表示输出的电流大小,方向标识用于表示镜头的驱动方向。马达可以根据电信号中包含的方向标识和信号强度上电,从而驱动镜头在不同的方向上移动相应的距离。Specifically, the main control chip may include at least two output terminals, and each output terminal is respectively connected to a single-channel driver chip, and then respectively output corresponding jitter compensation data through each output terminal. The electrical signal output by the single-channel driver chip may include signal strength and direction identification. The signal strength is used to indicate the magnitude of the output current, and the direction identification is used to indicate the driving direction of the lens. The motor can be powered on according to the direction indicator and signal strength contained in the electrical signal, thereby driving the lens to move the corresponding distance in different directions.
例如,主控芯片包括输出端A和输出端B,单通道驱动芯片包括单通道驱动芯片A和单通道驱动芯片B,主控芯片输出端A与单通道驱动芯片A连接,主控芯片输出端B与单通道驱动芯片B连接,单通道驱动芯片A和单通道驱动芯片B分别对应驱动方向X和驱动方向Y。则主控芯片在发送抖动补偿数据的时候,就可以将驱动方向X对应的抖动补偿数据从输出端A输出到驱动芯片A,将驱动方向Y对应的抖动补偿数据从输出端B输出到驱动芯片B。For example, the main control chip includes output A and output B, the single-channel drive chip includes single-channel drive chip A and single-channel drive chip B, the output end of the main control chip is connected to the single-channel drive chip A, and the output end of the main control chip B is connected to the single-channel driver chip B, and the single-channel driver chip A and the single-channel driver chip B correspond to the driving direction X and the driving direction Y respectively. When the main control chip sends the jitter compensation data, it can output the jitter compensation data corresponding to the drive direction X from the output terminal A to the drive chip A, and output the jitter compensation data corresponding to the drive direction Y from the output terminal B to the drive chip. B.
在一个实施例中,主控芯片与各个单通道驱动芯片之间分别通过集成电路总线IIC(Inter-Integrated Circuit,集成电路总线)连接,每一个单通道驱动芯片对应一个IIC地址。主控芯片在发送数据给单通道驱动芯片的时候,可以先查找IIC地址查找到连接驱动芯片的IIC,然后通过IIC传给对应的驱动芯片。具体的,主控芯片可以获取各个单通道驱动芯片对应的IIC地址,并根据获取的IIC地址将各个驱动方向的抖动补偿数据分别发送给对应的单通道驱动芯片。In one embodiment, the main control chip and each single-channel driver chip are respectively connected through an integrated circuit bus (Inter-Integrated Circuit, integrated circuit bus), and each single-channel driver chip corresponds to an IIC address. When the main control chip sends data to the single-channel driver chip, it can first search for the IIC address to find the IIC connected to the driver chip, and then pass it to the corresponding driver chip through the IIC. Specifically, the main control chip may obtain the IIC address corresponding to each single-channel driver chip, and send the jitter compensation data of each driving direction to the corresponding single-channel driver chip according to the obtained IIC address.
马达在接收单通道驱动芯片输出的电信号之后,可以根据电信号上电,并在上电之后产生相应的磁场,驱动镜头在对应的驱动方向上移动,从而控制镜头通过移动产生的偏移来对抖动进行补偿。After the motor receives the electrical signal output by the single-channel drive chip, it can be powered on according to the electrical signal and generate a corresponding magnetic field after it is powered on to drive the lens to move in the corresponding driving direction, thereby controlling the offset generated by the movement of the lens. Compensate for jitter.
在一个实施例中,可以以镜头对应的图像传感器所在的平面建立二维直角坐标系,其二维坐标系的原点位置在本申请中不做进一步的限定。抖动补偿数据可以理解为镜头抖动后的位置与镜头抖动前的位置在二维坐标系中的矢量偏移,也即,镜头抖动后的位置相对于镜头抖动前的位置的矢量距离。In one embodiment, a two-dimensional rectangular coordinate system can be established on the plane where the image sensor corresponding to the lens is located, and the origin of the two-dimensional coordinate system is not further limited in this application. The shake compensation data can be understood as the vector offset in the two-dimensional coordinate system between the position after the lens shake and the position before the lens shake, that is, the vector distance between the position after the lens shake and the position before the lens shake.
镜头在抖动过程中会产生移动,而图像传感器是保持不动的,因此在移动镜头之后采集的图像会产生一定程度上的偏移。镜头偏移量的单位为code,图像偏移量的单位为像素(pixel),可以根据镜头的偏移量获取到图像的偏移量。The lens will move during the shaking process, and the image sensor remains stationary, so the image collected after moving the lens will have a certain degree of offset. The unit of the lens offset is code, and the unit of the image offset is pixel (pixel), and the image offset can be obtained according to the lens offset.
上述摄像头防抖系统,可以根据采集的角速度数据侦测镜头的抖动情况,然后通过至少两个单通道驱动芯片计算对应于不同驱动方向的电信号,从而驱动镜头在不同驱动方向上移动,以实现对镜头抖动的补偿,提高了采集图像的准确性。另外,上述摄像头防抖 系统中陀螺仪可以采集不同属性的角速度数据,主控芯片根据不同属性的角速度数据可以实现不同的处理,这样就不需要针对不同处理分别安装对应的陀螺仪,节省了系统的成本。The aforementioned camera anti-shake system can detect the shaking of the lens according to the collected angular velocity data, and then calculate the electrical signals corresponding to different driving directions through at least two single-channel drive chips, thereby driving the lens to move in different driving directions to achieve The compensation of lens shake improves the accuracy of the captured image. In addition, the gyroscope in the aforementioned camera anti-shake system can collect angular velocity data of different attributes, and the main control chip can implement different processing according to the angular velocity data of different attributes, so that there is no need to install corresponding gyroscopes for different processing, saving the system the cost of.
图3为又一个实施例中摄像头防抖系统的结构示意图。如图3所示,该摄像头防抖系统包括主板10和摄像头模组12,主板10上设置陀螺仪102、主控芯片104和驱动芯片106,摄像头模组12中设置马达108和镜头110。其中,上述驱动芯片106中还设置霍尔传感器1064。上述霍尔传感器1064用于采集镜头110的位置数据;驱动芯片106可以根据抖动补偿数据和霍尔传感器1064采集的位置数据输出电信号。Fig. 3 is a schematic structural diagram of a camera anti-shake system in another embodiment. As shown in FIG. 3, the camera anti-shake system includes a main board 10 and a camera module 12. The main board 10 is provided with a gyroscope 102, a main control chip 104 and a driving chip 106, and the camera module 12 is provided with a motor 108 and a lens 110. Wherein, the above-mentioned driving chip 106 is also provided with a Hall sensor 1064. The aforementioned Hall sensor 1064 is used to collect position data of the lens 110; the driving chip 106 can output electrical signals according to the shake compensation data and the position data collected by the Hall sensor 1064.
具体的,霍尔传感器(Hall sensor)是根据霍尔效应制作的一种磁场传感器,霍尔效应从本质上讲是运动的带电粒子在磁场中受洛仑兹力作用引起的偏转。当带电粒子(电子或空穴)被约束在固体材料中,这种偏转就导致在垂直电流和磁场的方向上产生正负电荷的聚积,从而形成附加的横向电场。Specifically, a Hall sensor is a magnetic field sensor made based on the Hall effect. The Hall effect is essentially the deflection of moving charged particles in a magnetic field caused by the Lorentz force. When charged particles (electrons or holes) are confined in the solid material, this deflection leads to the accumulation of positive and negative charges in the direction of the vertical current and magnetic field, thereby forming an additional lateral electric field.
霍尔传感器可以检测镜头的位置,并将检测到的镜头的位置反馈给驱动芯片,驱动芯片可以结合镜头的位置输出电信号。具体地,可以对镜头所在的平面建立坐标系,如以镜头未产生抖动时的初始位置为原点建立坐标系,从而根据霍尔传感器输出的霍尔值确定镜头在坐标系中的坐标,即可以确定镜头的位置数据。其中,镜头所在的平面一般是指镜头所在的,平行于镜头对应的图像传感器的平面。The Hall sensor can detect the position of the lens and feed back the detected position of the lens to the driving chip, which can output electrical signals in conjunction with the position of the lens. Specifically, a coordinate system can be established for the plane where the lens is located. For example, the coordinate system can be established by taking the initial position of the lens without shaking 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. Determine the position data of the lens. 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.
在一个实施例中,上述马达108具体为音圈马达(Voice Coil Motor,VCM),上述驱动芯片106设置于音圈马达108内。这样可以节省摄像头防抖系统的空间,提高系统稳定性。In an embodiment, the above-mentioned motor 108 is specifically a voice coil motor (Voice Coil Motor, VCM), and the above-mentioned driving chip 106 is disposed in the voice coil motor 108. This can save the space of the camera anti-shake system and improve system stability.
图4为一个实施例中马达和驱动芯片的结构示意图。如图4所示,马达108为音圈马达,马达108的线圈内可以设置驱动芯片106,如此减少驱动芯片占用的面积,提高系统稳定性。上述摄像头防抖系统还可以包括轨道112、磁铁114、镜头架116和滚珠118,其镜头架116用于固定镜头。由左手定律可知,马达108上电后线圈中的电流与磁铁114形成的磁场会生成安培力,通过生成的安培力推动滚珠118在轨道112中移动,通过滚珠118的移动带动镜头架116的移动,从而使镜头产生移动。FIG. 4 is a schematic diagram of the structure of the motor and the driving chip in an embodiment. As shown in FIG. 4, the motor 108 is a voice coil motor, and a driving chip 106 can be arranged in the coil of the motor 108, thus reducing the area occupied by the driving chip and improving system stability. The aforementioned camera anti-shake system may further include a rail 112, a magnet 114, a lens holder 116 and a ball 118, and the lens holder 116 is used to fix the lens. According to the left-hand law, after the motor 108 is powered on, the magnetic field formed by the current in the coil and the magnet 114 will generate ampere force. The generated ampere force pushes the ball 118 to move in the track 112, and the movement of the ball 118 drives the movement of the lens holder 116. This causes the lens to move.
由此可见,马达在驱动镜头移动的时候,镜头停留的位置不同,所处的磁场也会有变化,对马达上电的电流也会有所影响。因此单通道驱动芯片可以根据抖动补偿数据和镜头的位置数据来输出电信号。It can be seen that when the motor drives the lens to move, the position where the lens stays is different, and the magnetic field in which it is located will also change, which will also affect the current that the motor is powered on. Therefore, the single-channel driver chip can output electrical signals according to the shake compensation data and the position data of the lens.
上述摄像头防抖系统,可以根据采集的角速度数据侦测镜头的抖动情况,根据角速度数据计算抖动补偿数据,然后根据抖动补偿数据和镜头的位置数据输出的电信号对马达上电,从而驱动镜头移动,以实现对镜头抖动的补偿,提高了采集图像的准确性。The above-mentioned camera anti-shake system can detect the shake of the lens according to the collected angular velocity data, calculate the shake compensation data according to the angular velocity data, and then power on the motor based on the electric signal output from the shake compensation data and the position data of the lens, thereby driving the lens to move , In order to realize the compensation of the lens shake and improve the accuracy of the collected images.
图5为又一个实施例中摄像头防抖系统的结构示意图。如图5所示,该摄像头防抖系统包括陀螺仪502、主控芯片504、第一驱动芯片506、第二驱动芯片508、第一马达520、第一镜头522、第二马达540和第二镜头542。其中,陀螺仪502与主控芯片504连接,主控芯片504还分别与第一驱动芯片506和第二驱动芯片508连接,第一驱动芯片506与第一马达520连接,第一马达520和第一镜头522连接,第二驱动芯片508和第二马达540连接,第二马达540和第二镜头542连接。其中,陀螺仪502、主控芯片504、第一驱动芯片506、第二驱动芯片508设置于主板50上,第一马达520和第一镜头522设置于第一摄像头模组52中,第二马达540和第二镜头542设置于第二摄像头模组54中。Fig. 5 is a schematic structural diagram of a camera anti-shake system in another embodiment. As shown in Figure 5, the camera anti-shake system includes a gyroscope 502, a main control chip 504, a first drive chip 506, a second drive chip 508, a first motor 520, a first lens 522, a second motor 540, and a second Lens 542. Wherein, the gyroscope 502 is connected to the main control chip 504, the main control chip 504 is also connected to the first driving chip 506 and the second driving chip 508 respectively, the first driving chip 506 is connected to the first motor 520, the first motor 520 and the second A lens 522 is connected, the second driving chip 508 is connected with the second motor 540, and the second motor 540 is connected with the second lens 542. Among them, the gyroscope 502, the main control chip 504, the first driving chip 506, and the second driving chip 508 are arranged on the main board 50, the first motor 520 and the first lens 522 are arranged in the first camera module 52, and the second motor 540 and the second lens 542 are arranged in the second camera module 54.
陀螺仪502,用于获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;The gyroscope 502 is used to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;
主控芯片504,用于接收陀螺仪502输出的第一角速度数据,根据第一角速度数据计算得到第一抖动补偿数据和第二抖动补偿数据,将第一抖动补偿数据发送给第一驱动芯片 506,将第二抖动补偿数据发送给第二驱动芯片508,或接收第二输出端输出的第二角速度数据,根据第二角速度数据进行应用处理;The main control chip 504 is configured to receive the first angular velocity data output by the gyroscope 502, calculate the first jitter compensation data and the second jitter compensation data according to the first angular velocity data, and send the first jitter compensation data to the first driving chip 506 , Send the second jitter compensation data to the second driving chip 508, or receive the second angular velocity data output by the second output terminal, and perform application processing according to the second angular velocity data;
第一驱动芯片506,用于接收主控芯片504发送的第一抖动补偿数据,并根据第一抖动补偿数据输出第一电信号;The first driving chip 506 is configured to receive the first jitter compensation data sent by the main control chip 504, and output a first electrical signal according to the first jitter compensation data;
第二驱动芯片508,用于接收主控芯片504发送的第二抖动补偿数据,并根据第二抖动补偿数据输出第二电信号;The second driving chip 508 is configured to receive the second jitter compensation data sent by the main control chip 504, and output a second electrical signal according to the second jitter compensation data;
第一马达520,用于接收第一驱动芯片506输出的第一电信号,并根据第一电信号驱动第一镜头522移动;The first motor 520 is configured to receive the first electrical signal output by the first driving chip 506, and drive the first lens 522 to move according to the first electrical signal;
第二马达540,用于接收第二驱动芯片508输出的第二电信号,并根据第二电信号驱动第二镜头542移动。The second motor 540 is configured to receive the second electrical signal output by the second driving chip 508 and drive the second lens 542 to move according to the second electrical signal.
具体的,上述摄像头防抖系统中可以包括一个镜头,也可以包括两个或两个以上的镜头,这样在对镜头进行防抖的时候,可以对每一个镜头分别设置对应的马达和驱动芯片,从而实现防抖功能。Specifically, the aforementioned camera anti-shake system may include one lens, or two or more lenses, so that when the lens is anti-shake, a corresponding motor and drive chip can be set for each lens. So as to realize the anti-shake function.
上述摄像头防抖系统,可以根据采集的角速度数据侦测镜头的抖动情况,然后根据角速度数据驱动至少两个镜头移动,以实现对至少两个镜头抖动的补偿,提高了采集图像的准确性。The aforementioned camera anti-shake system can detect the shaking of the lens according to the collected angular velocity data, and then drive at least two lenses to move according to the angular velocity data to realize the compensation for the shaking of the at least two lenses and improve the accuracy of the collected images.
在一个实施例中,第一摄像头模组52中还可以设置第一霍尔传感器,第一霍尔传感器与第一驱动芯片506连接,第一霍尔传感器用于获取第一镜头522的第一位置数据,并将第一位置数据发送给第一驱动芯片506。第一驱动芯片508还用于接收主控芯片504发送的第一抖动补偿数据,接收第一霍尔传感器发送的第一位置数据,并根据第一抖动补偿数据和第一位置数据输出第一电信号。In an embodiment, a first Hall sensor may be further provided in the first camera module 52, the first Hall sensor is connected to the first driving chip 506, and the first Hall sensor is used to obtain the first lens 522. Position data, and send the first position data to the first driving chip 506. The first driving chip 508 is also configured to receive the first jitter compensation data sent by the main control chip 504, receive the first position data sent by the first Hall sensor, and output the first electric power according to the first jitter compensation data and the first position data. signal.
第二摄像头模组54中还可以设置第二霍尔传感器,第二霍尔传感器与第二驱动芯片508连接,第二霍尔传感器用于获取第二镜头542的第二位置数据,并将第二位置数据发送给第二驱动芯片508。第二驱动芯片508还用于接收主控芯片504发送的第二抖动补偿数据,接收第二霍尔传感器发送的第二位置数据,并根据第二抖动补偿数据和第二位置数据输出第二电信号。The second camera module 54 may also be provided with a second Hall sensor. The second Hall sensor is connected to the second driving chip 508. The second Hall sensor is used to obtain the second position data of the second lens 542 and to combine the The second position data is sent to the second driving chip 508. The second driving chip 508 is also used to receive the second jitter compensation data sent by the main control chip 504, receive the second position data sent by the second Hall sensor, and output the second electric power according to the second jitter compensation data and the second position data. signal.
在本申请提供的实施例中,第一驱动芯片506还可以包括至少两个第一单通道驱动芯片,至少两个第一单通道驱动芯片分别对应522第一镜头的不同第一驱动方向,第二驱动芯片508包括至少两个第二单通道驱动芯片,至少两个第二单通道驱动芯片分别对应第二镜头542的不同第二驱动方向;In the embodiment provided in this application, the first driver chip 506 may also include at least two first single-channel driver chips, and the at least two first single-channel driver chips respectively correspond to 522 different first driving directions of the first lens. The second driving chip 508 includes at least two second single-channel driving chips, and the at least two second single-channel driving chips respectively correspond to different second driving directions of the second lens 542;
主控芯片还用于根据第一角速度数据计算对应于各个第一驱动方向的第一抖动补偿数据,将各个第一驱动方向的第一抖动补偿数据分别发送给对应的第一单通道驱动芯片,以及根据第二角速度数据计算对应于各个第二驱动方向的第二抖动补偿数据,将各个第二驱动方向的第二抖动补偿数据分别发送给对应的第二单通道驱动芯片;The main control chip is also used to calculate the first jitter compensation data corresponding to each first driving direction according to the first angular velocity data, and send the first jitter compensation data of each first driving direction to the corresponding first single-channel driving chip, respectively, And calculating the second jitter compensation data corresponding to each second driving direction according to the second angular velocity data, and sending the second jitter compensation data of each second driving direction to the corresponding second single-channel driving chip;
第一单通道驱动芯片用于接收主控芯片发送的第一抖动补偿数据,并根据第一抖动补偿数据输出各个第一驱动方向对应的第一电信号;The first single-channel driving chip is configured to receive the first jitter compensation data sent by the main control chip, and output first electrical signals corresponding to each first driving direction according to the first jitter compensation data;
第二单通道驱动芯片用于接收主控芯片发送的第二抖动补偿数据,并根据第二抖动补偿数据输出各个第二驱动方向对应的第二电信号;The second single-channel driving chip is configured to receive the second jitter compensation data sent by the main control chip, and output the second electrical signals corresponding to each second driving direction according to the second jitter compensation data;
第一马达还用于接收第一单通道驱动芯片输出的第一电信号,并根据第一电信号驱动第一镜头在对应的第一驱动方向上移动;The first motor is also used to receive the first electrical signal output by the first single-channel drive chip, and drive the first lens to move in the corresponding first drive direction according to the first electrical signal;
第二马达还用于接收第二单通道驱动芯片输出的第二电信号,并根据第二电信号驱动第二镜头在对应的第二驱动方向上移动。The second motor is also used for receiving the second electric signal output by the second single-channel driving chip, and driving the second lens to move in the corresponding second driving direction according to the second electric signal.
图6为一个实施例中摄像头防抖方法的流程图。该摄像头防抖方法可以应用于包含上述摄像头防抖系统的电子设备,如图6所示,该摄像头防抖方法包括操作602至操作 608。其中:Fig. 6 is a flowchart of a method for anti-shake of a camera in an embodiment. The camera anti-shake method can be applied to an electronic device including the above-mentioned camera anti-shake system. As shown in FIG. 6, the camera anti-shake method includes operations 602 to 608. among them:
操作602,控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据。In operation 602, the gyroscope is controlled to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute.
操作604,通过主控芯片接收陀螺仪输出的第一角速度数据,根据第一角速度数据计算得到抖动补偿数据,或接收陀螺仪输出的第二角速度数据,根据第二角速度数据进行应用处理。Operation 604: Receive the first angular velocity data output by the gyroscope through the main control chip, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform application processing according to the second angular velocity data.
操作606,通过驱动芯片接收主控芯片发送的抖动补偿数据,并根据抖动补偿数据输出电信号。In operation 606, the jitter compensation data sent by the main control chip is received through the driving chip, and an electrical signal is output according to the jitter compensation data.
输出电信号的操作具体可以包括:通过驱动芯片中设置的霍尔传感器采集镜头的位置数据,并根据抖动补偿数据和位置数据输出电信号。The operation of outputting an electric signal may specifically include: collecting position data of the lens through a Hall sensor provided in the driving chip, and outputting an electric signal according to the shake compensation data and the position data.
操作608,通过马达接收驱动芯片输出的电信号,并根据电信号驱动镜头移动。In operation 608, the electric signal output by the driving chip is received by the motor, and the lens is driven to move according to the electric signal.
电子设备驱动镜头移动之后,可以控制镜头对应的图像传感器上电,从而进行上电生成图像。在操作606之后还可以包括:控制镜头对应的图像传感器上电,采集目标图像,并获取采集上述目标图像时镜头的目标位置数据,然后根据预设转换函数确定与目标位置数据相对应的图像偏移量,并根据图像偏移量对上述目标图像进行补偿。After the electronic device drives the lens to move, the image sensor corresponding to the lens can be controlled to be powered on to generate an image. After operation 606, it may further include: controlling the image sensor corresponding to the lens to be powered on, collecting the target image, and obtaining the target position data of the lens when the above-mentioned target image is collected, and then determining the image offset corresponding to the target position data according to the preset conversion function. The target image is compensated according to the image offset.
其中,上述目标位置数据是指在采集目标图像时镜头的位置,由于该位置是在坐标系中表示的,因此根据目标位置数据就可以得到镜头相对于坐标原点的镜头偏移量。预设转换函数可以根据特定的标定方式获取,预设转换函数可以用于将镜头偏移的位置信息转换为图像偏移量,即将镜头偏移量转换为图像偏移量。例如,可以将镜头在XY平面沿x轴的镜头偏移量与沿y轴的镜头偏移量带入至预设偏移转换函数中对应的变量,通过计算获取对应的图像偏移量d1。The above-mentioned target position data refers to the position of the lens when the target image is collected. Since the position is expressed in the coordinate system, the lens offset of the lens relative to the coordinate origin can be obtained according to the target position data. The preset conversion function can be obtained according to a specific calibration method, and the preset conversion function can be used to convert the position information of the lens offset into an image offset, that is, to convert the lens offset into an image offset. For example, the lens offset along the x-axis and the lens offset along the y-axis of the lens in the XY plane can be brought into the corresponding variable in the preset offset conversion function, and the corresponding image offset d1 can be obtained by calculation.
上述摄像头防抖方法,通过陀螺仪采集第一角速度数据或第二角速度数据,并通过主控芯片分别根据第一角速度数据计算抖动补偿数据以及第二角速度数据进行应用处理,驱动芯片可以根据抖动补偿数据对马达上电,从而驱动镜头移动。这样可以根据采集的角速度数据侦测镜头的抖动情况,然后驱动镜头在不同驱动方向上移动,以实现对镜头抖动的补偿,提高了采集图像的准确性。另外,上述摄像头防抖系统中陀螺仪可以采集不同属性的角速度数据,主控芯片根据不同属性的角速度数据可以实现不同的处理,这样就不需要针对不同处理分别安装对应的陀螺仪,节省了系统的成本。In the camera anti-shake method, the first angular velocity data or the second angular velocity data is collected through a gyroscope, and the main control chip calculates the jitter compensation data and the second angular velocity data respectively according to the first angular velocity data for application processing, and the driver chip can compensate according to the jitter The data powers on the motor to drive the lens to move. In this way, the shaking of the lens can be detected according to the collected angular velocity data, and then the lens can be driven to move in different driving directions to realize compensation for the shaking of the lens and improve the accuracy of the collected image. In addition, the gyroscope in the aforementioned camera anti-shake system can collect angular velocity data of different attributes, and the main control chip can implement different processing according to the angular velocity data of different attributes, so that there is no need to install corresponding gyroscopes for different processing, saving the system the cost of.
图7为另一个实施例中摄像头防抖方法的流程图。如图7所示,该摄像头防抖方法包括操作702至操作708。其中:FIG. 7 is a flowchart of a method for anti-shake of a camera in another embodiment. As shown in FIG. 7, the camera anti-shake method includes operations 702 to 708. among them:
操作702,控制陀螺仪采集原始角速度数据,并根据原始角速度数据生成第一属性的第一角速度数据,或根据原始角速度数据生成第二属性的第二角速度数据。In operation 702, control the gyroscope to collect raw angular velocity data, and generate first angular velocity data of the first attribute according to the raw angular velocity data, or generate second angular velocity data of the second attribute according to the original angular velocity data.
电子设备根据原始角速度数据生成第一角速度数据或第二角速度数据之前,还包括:获取第一角速度数据对应的第一属性数据,并根据第一属性数据配置陀螺仪的寄存器;或获取第二角速度数据对应的第二属性数据,并根据第二属性数据配置陀螺仪的寄存器。Before the electronic device generates the first angular velocity data or the second angular velocity data according to the original angular velocity data, it further includes: acquiring the first attribute data corresponding to the first angular velocity data, and configuring the register of the gyroscope according to the first attribute data; or acquiring the second angular velocity The second attribute data corresponding to the data, and the register of the gyroscope is configured according to the second attribute data.
在一个实施例中,获取第一属性数据的操作具体可以包括:当检测到图像采集指令时,获取发起图像采集指令的目标应用程序的目标应用标识;根据目标应用标识获取第一角速度数据对应的第一属性数据。In one embodiment, the operation of acquiring the first attribute data may specifically include: when the image acquisition instruction is detected, acquiring the target application identifier of the target application that initiated the image acquisition instruction; acquiring the corresponding first angular velocity data according to the target application identifier The first attribute data.
在一个实施例中,生成角速度数据的操作具体包括:读取寄存器中存储的第一属性数据,根据原始角速度数据生成第一属性数据对应的第一角速度数据;或读取寄存器中存储的第二属性数据,根据原始角速度数据生成第二属性数据对应的第二角速度数据。In an embodiment, the operation of generating angular velocity data specifically includes: reading the first attribute data stored in the register, and generating the first angular velocity data corresponding to the first attribute data according to the original angular velocity data; or reading the second attribute data stored in the register. The attribute data generates second angular velocity data corresponding to the second attribute data according to the original angular velocity data.
操作704,通过主控芯片接收陀螺仪输出的第一角速度数据,根据第一角速度数据计算对应于各个驱动方向的抖动补偿数据,并将各个驱动方向的抖动补偿数据分别发送给对应的单通道驱动芯片,或接收陀螺仪输出的第二角速度数据,根据第二角速度数据进行应 用处理。In operation 704, the first angular velocity data output by the gyroscope is received through the main control chip, the jitter compensation data corresponding to each driving direction is calculated according to the first angular velocity data, and the jitter compensation data of each driving direction is sent to the corresponding single-channel driver. The chip or receives the second angular velocity data output by the gyroscope, and performs application processing according to the second angular velocity data.
操作706,通过单通道驱动芯片接收主控芯片发送的抖动补偿数据,并根据抖动补偿数据输出驱动方向对应的电信号。Operation 706: Receive the jitter compensation data sent by the main control chip through the single-channel drive chip, and output an electrical signal corresponding to the driving direction according to the jitter compensation data.
操作708,通过马达接收单通道驱动芯片输出的电信号,并根据电信号驱动镜头在对应的驱动方向上移动。In operation 708, the electric signal output by the single-channel driving chip is received through the motor, and the lens is driven to move in the corresponding driving direction according to the electric signal.
上述摄像头防抖方法,可以根据采集的角速度数据侦测镜头的抖动情况,然后通过至少两个单通道驱动芯片计算对应于不同驱动方向的电信号,从而驱动镜头在不同驱动方向上移动,以实现对镜头抖动的补偿,提高了采集图像的准确性。另外,上述摄像头防抖系统中陀螺仪可以采集不同属性的角速度数据,主控芯片根据不同属性的角速度数据可以实现不同的处理,这样就不需要针对不同处理分别安装对应的陀螺仪,节省了系统的成本。The aforementioned camera anti-shake method can detect the shaking of the lens according to the collected angular velocity data, and then calculate the electrical signals corresponding to different driving directions through at least two single-channel drive chips, thereby driving the lens to move in different driving directions to achieve The compensation of lens shake improves the accuracy of the captured image. In addition, the gyroscope in the aforementioned camera anti-shake system can collect angular velocity data of different attributes, and the main control chip can implement different processing according to the angular velocity data of different attributes, so that there is no need to install corresponding gyroscopes for different processing, saving the system the cost of.
在一个实施例中,上述驱动芯片可以包括第一驱动芯片和第二驱动芯片,马达包括第一马达和第二马达,镜头包括第一镜头和第二镜头。如图8所示,上述摄像头防抖方法还可以包括:In an embodiment, the above-mentioned driving chip may include a first driving chip and a second driving chip, the motor includes a first motor and a second motor, and the lens includes a first lens and a second lens. As shown in FIG. 8, the aforementioned camera anti-shake method may further include:
操作802,根据第一角速度数据计算得到第一抖动补偿数据和第二抖动补偿数据。In operation 802, the first jitter compensation data and the second jitter compensation data are calculated according to the first angular velocity data.
操作804,通过第一驱动芯片接收主控芯片发送的第一抖动补偿数据,根据第一抖动补偿数据输出第一电信号,通过第二驱动芯片接收主控芯片发送的第二抖动补偿数据,并根据第二抖动补偿数据输出第二电信号。In operation 804, the first jitter compensation data sent by the main control chip is received through the first drive chip, the first electrical signal is output according to the first jitter compensation data, the second jitter compensation data sent by the main control chip is received through the second drive chip, and The second electrical signal is output according to the second jitter compensation data.
操作806,通过第一马达用于接收第一驱动芯片输出的第一电信号,根据第一电信号驱动第一镜头移动,通过第二马达接收第二驱动芯片输出的第二电信号,并根据第二电信号驱动第二镜头移动。In operation 806, the first motor is used to receive the first electrical signal output by the first drive chip, the first lens is driven to move according to the first electrical signal, and the second electrical signal output from the second drive chip is received by the second motor, and The second electrical signal drives the second lens to move.
通过根据采集的角速度数据侦测镜头的抖动情况,然后根据角速度数据驱动至少两个镜头移动,以实现对至少两个镜头抖动的补偿,提高了采集图像的准确性。By detecting the shake of the lens according to the collected angular velocity data, and then driving at least two lenses to move according to the angular velocity data, to realize the compensation for the shake of the at least two lenses, the accuracy of the collected image is improved.
在一个实施例中,上述第一驱动芯片包括至少两个第一单通道驱动芯片,至少两个第一单通道驱动芯片分别对应第一镜头的不同第一驱动方向,第二驱动芯片包括至少两个第二单通道驱动芯片,至少两个第二单通道驱动芯片分别对应第二镜头的不同第一驱动方向。如图9所示,上述摄像头防抖方法具体还可以包括:In an embodiment, the above-mentioned first driver chip includes at least two first single-channel driver chips, the at least two first single-channel driver chips respectively correspond to different first driving directions of the first lens, and the second driver chip includes at least two At least two second single-channel driving chips correspond to different first driving directions of the second lens. As shown in FIG. 9, the aforementioned camera anti-shake method may specifically include:
操作902,根据第一角速度数据计算对应于各个第一驱动方向的第一抖动补偿数据,将各个第一驱动方向的第一抖动补偿数据分别发送给对应的第一单通道驱动芯片,以及根据第一角速度数据计算对应于各个第二驱动方向的第二抖动补偿数据,将各个第二驱动方向的第二抖动补偿数据分别发送给对应的第二单通道驱动芯片。Operation 902: Calculate first jitter compensation data corresponding to each first driving direction according to the first angular velocity data, send the first jitter compensation data of each first driving direction to the corresponding first single-channel driver chip, and An angular velocity data is calculated corresponding to the second jitter compensation data of each second driving direction, and the second jitter compensation data of each second driving direction is respectively sent to the corresponding second single-channel driving chip.
操作904,通过第一单通道驱动芯片接收主控芯片发送的第一抖动补偿数据,根据第一抖动补偿数据输出各个第一驱动方向对应的第一电信号,通过第二单通道驱动芯片接收主控芯片发送的第二抖动补偿数据,并根据第二抖动补偿数据输出各个第二驱动方向对应的第二电信号。In operation 904, the first jitter compensation data sent by the main control chip is received through the first single-channel driver chip, the first electrical signals corresponding to each first driving direction are output according to the first jitter compensation data, and the master is received through the second single-channel driver chip. Controlling the second jitter compensation data sent by the chip, and outputting second electrical signals corresponding to each second driving direction according to the second jitter compensation data.
操作906,通过第一马达接收第一单通道驱动芯片输出的第一电信号,根据第一电信号驱动第一镜头在对应的第一驱动方向上移动,通过第二马达接收第二单通道驱动芯片输出的第二电信号,并根据第二电信号驱动第二镜头在对应的第二驱动方向上移动。In operation 906, the first electrical signal output by the first single-channel driver chip is received by the first motor, the first lens is driven to move in the corresponding first driving direction according to the first electrical signal, and the second single-channel driver is received by the second motor. The second electrical signal output by the chip drives the second lens to move in the corresponding second driving direction according to the second electrical signal.
可以理解的是,虽然图6-9的流程图中的各个操作按照箭头的指示依次显示,但是这些操作并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些操作的执行并没有严格的顺序限制,这些操作可以以其它的顺序执行。而且,图6-9中的至少一部分操作可以包括多个子操作或者多个阶段,这些子操作或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子操作或者阶段的执行顺序也不必然是依次进行,而是可以与其它操作或者其它操作的子操作或者阶段的至少一部分轮流或者交替地执行。It can be understood that although the various operations in the flowcharts of FIGS. 6-9 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 Figures 6-9 can include multiple sub-operations or multiple stages. These sub-operations or stages are not necessarily executed at the same time, but can be executed at different times. These sub-operations or stages The execution order of is not necessarily performed sequentially, but may be performed alternately or alternately with other operations or at least part of the sub-operations or stages of other operations.
本申请实施例还提供一种电子设备。上述电子设备中包括图像处理电路,图像处理电 路可以利用硬件和/或软件组件实现,可包括定义ISP(Image Signal Processing,图像信号处理)管线的各种处理单元。图10为一个实施例中图像处理电路的示意图。如图10所示,为便于说明,仅示出与本申请实施例相关的图像处理技术的各个方面。The embodiment of the application also provides an electronic device. The above-mentioned electronic equipment includes an image processing circuit, which can be implemented by hardware and/or software components, and can include various processing units that define an ISP (Image Signal Processing, image signal processing) pipeline. Fig. 10 is a schematic diagram of an image processing circuit in an embodiment. As shown in FIG. 10, for ease of description, only various aspects of the image processing technology related to the embodiments of the present application are shown.
如图10所示,图像处理电路包括ISP处理器1040和控制逻辑器1050。成像设备1010捕捉的图像数据首先由ISP处理器1040处理,ISP处理器1040对图像数据进行分析以捕捉可用于确定和/或成像设备1010的一个或多个控制参数的图像统计信息。成像设备1010可包括具有一个或多个镜头1012和图像传感器1014的照相机。图像传感器1014可包括色彩滤镜阵列(如Bayer滤镜),图像传感器1014可获取用图像传感器1014的每个成像像素捕捉的光强度和波长信息,并提供可由ISP处理器1040处理的一组原始图像数据。传感器1020(如陀螺仪)可基于传感器1020接口类型把采集的图像处理的参数(如防抖参数)提供给ISP处理器1040。传感器1020接口可以利用SMIA(Standard Mobile Imaging Architecture,标准移动成像架构)接口、其它串行或并行照相机接口或上述接口的组合。As shown in FIG. 10, the image processing circuit includes an ISP processor 1040 and a control logic 1050. The image data captured by the imaging device 1010 is first processed by the ISP processor 1040, and the ISP processor 1040 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 1010. The imaging device 1010 may include a camera having one or more lenses 1012 and an image sensor 1014. The image sensor 1014 may include a color filter array (such as a Bayer filter). The image sensor 1014 may obtain the light intensity and wavelength information captured by each imaging pixel of the image sensor 1014, and provide a set of raw materials that can be processed by the ISP processor 1040. Image data. The sensor 1020 (such as a gyroscope) can provide the collected image processing parameters (such as anti-shake parameters) to the ISP processor 1040 based on the interface type of the sensor 1020. The sensor 1020 interface can use SMIA (Standard Mobile Imaging Architecture) interface, other serial or parallel camera interfaces, or a combination of the above interfaces.
此外,图像传感器1014也可将原始图像数据发送给传感器1020,传感器1020可基于传感器1020接口类型把原始图像数据提供给ISP处理器1040,或者传感器1020将原始图像数据存储到图像存储器1030中。In addition, the image sensor 1014 can also send raw image data to the sensor 1020, and the sensor 1020 can provide the raw image data to the ISP processor 1040 based on the sensor 1020 interface type, or the sensor 1020 can store the raw image data in the image memory 1030.
ISP处理器1040按多种格式逐个像素地处理原始图像数据。例如,每个图像像素可具有8、10、12或14比特的位深度,ISP处理器1040可对原始图像数据进行一个或多个图像处理操作、收集关于图像数据的统计信息。其中,图像处理操作可按相同或不同的位深度精度进行。The ISP processor 1040 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 1040 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处理器1040还可从图像存储器1030接收图像数据。例如,传感器1020接口将原始图像数据发送给图像存储器1030,图像存储器1030中的原始图像数据再提供给ISP处理器1040以供处理。图像存储器1030可为存储器装置的一部分、存储设备、或电子设备内的独立的专用存储器,并可包括DMA(Direct Memory Access,直接直接存储器存取)特征。The ISP processor 1040 may also receive image data from the image memory 1030. For example, the sensor 1020 interface sends the original image data to the image memory 1030, and the original image data in the image memory 1030 is then provided to the ISP processor 1040 for processing. The image memory 1030 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, direct memory access) features.
当接收到来自图像传感器1014接口或来自传感器1020接口或来自图像存储器1030的原始图像数据时,ISP处理器1040可进行一个或多个图像处理操作,如时域滤波。处理后的图像数据可发送给图像存储器1030,以便在被显示之前进行另外的处理。ISP处理器1040从图像存储器1030接收处理数据,并对所述处理数据进行原始域中以及RGB和YCbCr颜色空间中的图像数据处理。ISP处理器1040处理后的图像数据可输出给显示器1070,以供用户观看和/或由图形引擎或GPU(Graphics Processing Unit,图形处理器)进一步处理。此外,ISP处理器1040的输出还可发送给图像存储器1030,且显示器1070可从图像存储器1030读取图像数据。在一个实施例中,图像存储器1030可被配置为实现一个或多个帧缓冲器。此外,ISP处理器1040的输出可发送给编码器/解码器1060,以便编码/解码图像数据。编码的图像数据可被保存,并在显示于显示器1070设备上之前解压缩。编码器/解码器1060可由CPU或GPU或协处理器实现。When receiving raw image data from the image sensor 1014 interface or from the sensor 1020 interface or from the image memory 1030, the ISP processor 1040 may perform one or more image processing operations, such as temporal filtering. The processed image data can be sent to the image memory 1030 for additional processing before being displayed. The ISP processor 1040 receives processed data from the image memory 1030, 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 1040 may be output to the display 1070 for viewing by the user and/or further processed by a graphics engine or GPU (Graphics Processing Unit, graphics processor). In addition, the output of the ISP processor 1040 can also be sent to the image memory 1030, and the display 1070 can read image data from the image memory 1030. In one embodiment, the image memory 1030 may be configured to implement one or more frame buffers. In addition, the output of the ISP processor 1040 may be sent to the encoder/decoder 1060 in order to encode/decode image data. The encoded image data can be saved and decompressed before being displayed on the display 1070 device. The encoder/decoder 1060 may be implemented by a CPU or GPU or a coprocessor.
ISP处理器1040确定的统计数据可发送给控制逻辑器1050单元。例如,统计数据可包括自动曝光、自动白平衡、自动聚焦、闪烁检测、黑电平补偿、镜头1012阴影校正等图像传感器1014统计信息。控制逻辑器1050可包括执行一个或多个例程(如固件)的处理器和/或微控制器,一个或多个例程可根据接收的统计数据,确定成像设备1010的控制参数及ISP处理器1040的控制参数。例如,成像设备1010的控制参数可包括传感器1020控制参数(例如增益、曝光控制的积分时间、防抖参数等)、照相机闪光控制参数、镜头1012控制参数(例如聚焦或变焦用焦距)、或这些参数的组合。ISP控制参数可包括用于自动白平衡和颜色调整(例如,在RGB处理期间)的增益水平和色彩校正矩阵,以及镜头1012阴影校正参数。The statistical data determined by the ISP processor 1040 may be sent to the control logic 1050 unit. For example, the statistical data may include image sensor 1014 statistical information such as automatic exposure, automatic white balance, automatic focus, flicker detection, black level compensation, and lens 1012 shading correction. The control logic 1050 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 1010 based on the received statistical data. The control parameters of the device 1040. For example, the control parameters of the imaging device 1010 may include sensor 1020 control parameters (such as gain, integration time for exposure control, anti-shake parameters, etc.), camera flash control parameters, lens 1012 control parameters (such as focal length for focusing or zooming), 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 1012 shading correction parameters.
在一个实施例中,可以运用图10中图像处理技术实现上述实施例提供的摄像头防抖 方法的操作。In an embodiment, the image processing technology in FIG. 10 may be used to implement the operation of the camera anti-shake method provided in the foregoing embodiment.
本申请实施例还提供了一种计算机可读存储介质。一个或多个包含计算机可执行指令的非易失性计算机可读存储介质,当所述计算机可执行指令被一个或多个处理器执行时,使得所述处理器执行上述实施例提供的摄像头防抖方法的操作。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 execute the camera protection provided by the foregoing embodiments The operation of the shaking method.
一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的摄像头防抖方法。A computer program product containing instructions, when it runs on a computer, causes the computer to execute the camera anti-shake method provided in the foregoing embodiments.
本申请实施例所使用的对存储器、存储、数据库或其它介质的任何引用可包括非易失性和/或易失性存储器。合适的非易失性存储器可包括只读存储器(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 this application, and their descriptions are more specific and detailed, but they should not be construed as limiting the scope of this 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)
- 一种摄像头防抖系统,包括:A camera anti-shake system, including:陀螺仪,用于获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;The gyroscope is used to obtain the first angular velocity data of the first attribute or the second angular velocity data of the second attribute;主控芯片,与所述陀螺仪连接,用于接收所述陀螺仪输出的第一角速度数据,根据所述第一角速度数据计算得到抖动补偿数据,或接收所述陀螺仪输出的第二角速度数据,根据所述第二角速度数据进行应用处理;The main control chip, connected to the gyroscope, is used to receive the first angular velocity data output by the gyroscope, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope , Perform application processing according to the second angular velocity data;驱动芯片,与所述主控芯片连接,用于接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号;及The driving chip is connected to the main control chip, and is used to receive the jitter compensation data sent by the main control chip, and output an electric signal according to the jitter compensation data; and马达,用于接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动。The motor is used for receiving the electrical signal output by the driving chip, and driving the lens to move according to the electrical signal.
- 根据权利要求1所述摄像头防抖系统,其特征在于,所述陀螺仪还用于采集原始角速度数据,并根据所述原始角速度数据生成所述第一属性的第一角速度数据,或根据所述原始角速度数据生成所述第二属性的第二角速度数据。The camera anti-shake system according to claim 1, wherein the gyroscope is also used to collect raw angular velocity data, and generate the first angular velocity data of the first attribute according to the raw angular velocity data, or according to the The raw angular velocity data generates the second angular velocity data of the second attribute.
- 根据权利要求2所述摄像头防抖系统,其特征在于,所述主控芯片还用于获取所述第一角速度数据对应的第一属性数据,并根据第一属性数据配置所述陀螺仪的寄存器;或获取所述第二角速度数据对应的第二属性数据,并根据所述第二属性数据配置所述陀螺仪的寄存器。The camera anti-shake system according to claim 2, wherein the main control chip is further used to obtain first attribute data corresponding to the first angular velocity data, and configure the register of the gyroscope according to the first attribute data Or obtain the second attribute data corresponding to the second angular velocity data, and configure the register of the gyroscope according to the second attribute data.
- 根据权利要求3所述摄像头防抖系统,其特征在于,所述主控芯片还用于当检测到图像采集指令时,获取发起所述图像采集指令的目标应用程序的目标应用标识;根据所述目标应用标识获取所述第一角速度数据对应的第一属性数据。The camera anti-shake system according to claim 3, wherein the main control chip is further configured to obtain the target application identifier of the target application that initiated the image acquisition instruction when the image acquisition instruction is detected; according to the The target application identifier acquires the first attribute data corresponding to the first angular velocity data.
- 根据权利要求3所述摄像头防抖系统,其特征在于,所述陀螺仪还用于读取所述寄存器中存储的第一属性数据,根据所述原始角速度数据生成第一属性数据对应的第一角速度数据;或读取所述寄存器中存储的第二属性数据,根据所述原始角速度数据生成第二属性数据对应的第二角速度数据。The camera anti-shake system according to claim 3, wherein the gyroscope is also used to read the first attribute data stored in the register, and generate the first attribute data corresponding to the first attribute data according to the original angular velocity data. Angular velocity data; or read the second attribute data stored in the register, and generate second angular velocity data corresponding to the second attribute data according to the original angular velocity data.
- 根据权利要求1所述摄像头防抖系统,其特征在于,所述驱动芯片包括至少两个单通道驱动芯片,所述至少两个单通道驱动芯片分别对应不同的驱动方向;The camera anti-shake system according to claim 1, wherein the driving chip comprises at least two single-channel driving chips, and the at least two single-channel driving chips respectively correspond to different driving directions;所述主控芯片还用于根据所述第一角速度数据计算对应于各个驱动方向的抖动补偿数据,并将各个驱动方向的所述抖动补偿数据分别发送给对应的单通道驱动芯片;The main control chip is further configured to calculate the jitter compensation data corresponding to each drive direction according to the first angular velocity data, and send the jitter compensation data of each drive direction to the corresponding single-channel drive chip;所述单通道驱动芯片用于接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出所述驱动方向对应的电信号;The single-channel drive chip is used to receive the jitter compensation data sent by the main control chip, and output an electrical signal corresponding to the drive direction according to the jitter compensation data;所述马达还用于接收所述单通道驱动芯片输出的所述电信号,并根据所述电信号驱动所述镜头在对应的驱动方向上移动。The motor is also used to receive the electrical signal output by the single-channel drive chip, and drive the lens to move in a corresponding drive direction according to the electrical signal.
- 根据权利要求1所述摄像头防抖系统,其特征在于,所述驱动芯片中设置霍尔传感器,所述霍尔传感器用于采集所述镜头的位置数据;The camera anti-shake system according to claim 1, wherein a Hall sensor is provided in the driving chip, and the Hall sensor is used to collect position data of the lens;所述驱动芯片还用于根据所述抖动补偿数据和位置数据输出电信号。The driving chip is also used to output electrical signals according to the jitter compensation data and position data.
- 根据权利要求1所述摄像头防抖系统,其特征在于,所述马达为音圈马达,所述驱动芯片设置于所述音圈马达内。The camera anti-shake system according to claim 1, wherein the motor is a voice coil motor, and the driving chip is disposed in the voice coil motor.
- 根据权利要求1所述摄像头防抖系统,其特征在于,所述驱动芯片包括第一驱动芯片和第二驱动芯片,所述马达包括第一马达和第二马达,所述镜头包括第一镜头和第二镜头;The camera anti-shake system according to claim 1, wherein the drive chip comprises a first drive chip and a second drive chip, the motor comprises a first motor and a second motor, and the lens comprises a first lens and Second shot所述主控芯片还用于根据所述第一角速度数据计算得到第一抖动补偿数据和第二抖动补偿数据;The main control chip is further configured to calculate first jitter compensation data and second jitter compensation data according to the first angular velocity data;所述第一驱动芯片用于接收所述主控芯片发送的第一抖动补偿数据,并根据所述第一抖动补偿数据输出第一电信号;The first driving chip is configured to receive first jitter compensation data sent by the main control chip, and output a first electrical signal according to the first jitter compensation data;所述第一马达用于接收所述第一驱动芯片输出的所述第一电信号,并根据所述第一电信号驱动所述第一镜头移动;The first motor is configured to receive the first electrical signal output by the first driving chip, and drive the first lens to move according to the first electrical signal;所述第二驱动芯片用于接收所述主控芯片发送的第二抖动补偿数据,并根据所述第二抖动补偿数据输出第二电信号;The second driving chip is configured to receive second jitter compensation data sent by the main control chip, and output a second electrical signal according to the second jitter compensation data;所述第二马达用于接收所述第二驱动芯片输出的所述第二电信号,并根据所述第二电信号驱动所述第二镜头移动。The second motor is used for receiving the second electrical signal output by the second driving chip, and driving the second lens to move according to the second electrical signal.
- 根据权利要求9所述摄像头防抖系统,其特征在于,所述第一驱动芯片包括至少两个第一单通道驱动芯片,所述至少两个第一单通道驱动芯片分别对应所述第一镜头的不同第一驱动方向,所述第二驱动芯片包括至少两个第二单通道驱动芯片,所述至少两个第二单通道驱动芯片分别对应所述第二镜头的不同第二驱动方向;The camera anti-shake system according to claim 9, wherein the first drive chip comprises at least two first single-channel drive chips, and the at least two first single-channel drive chips respectively correspond to the first lens Different first driving directions of the second lens, the second driving chip includes at least two second single-channel driving chips, and the at least two second single-channel driving chips respectively correspond to different second driving directions of the second lens;所述主控芯片还用于根据所述第一角速度数据计算对应于各个第一驱动方向的第一抖动补偿数据,将各个第一驱动方向的所述第一抖动补偿数据分别发送给对应的第一单通道驱动芯片,以及根据所述第一角速度数据计算对应于各个第二驱动方向的第二抖动补偿数据,将各个第二驱动方向的所述第二抖动补偿数据分别发送给对应的第二单通道驱动芯片;The main control chip is further configured to calculate first jitter compensation data corresponding to each first driving direction according to the first angular velocity data, and send the first jitter compensation data for each first driving direction to the corresponding first driving direction. A single-channel driver chip, and calculate the second jitter compensation data corresponding to each second drive direction according to the first angular velocity data, and send the second jitter compensation data of each second drive direction to the corresponding second Single channel driver chip;所述第一单通道驱动芯片用于接收所述主控芯片发送的第一抖动补偿数据,并根据所述第一抖动补偿数据输出各个所述第一驱动方向对应的第一电信号;The first single-channel driving chip is configured to receive first jitter compensation data sent by the main control chip, and output first electrical signals corresponding to each of the first driving directions according to the first jitter compensation data;所述第二单通道驱动芯片用于接收所述主控芯片发送的第二抖动补偿数据,并根据所述第二抖动补偿数据输出各个所述第二驱动方向对应的第二电信号;The second single-channel driving chip is configured to receive second jitter compensation data sent by the main control chip, and output second electrical signals corresponding to each of the second driving directions according to the second jitter compensation data;所述第一马达还用于接收所述第一单通道驱动芯片输出的所述第一电信号,并根据所述第一电信号驱动所述第一镜头在对应的所述第一驱动方向上移动;The first motor is also used to receive the first electrical signal output by the first single-channel drive chip, and drive the first lens in the corresponding first drive direction according to the first electrical signal mobile;所述第二马达还用于接收所述第二单通道驱动芯片输出的所述第二电信号,并根据所述第二电信号驱动所述第二镜头在对应的所述第二驱动方向上移动。The second motor is also used to receive the second electrical signal output by the second single-channel drive chip, and drive the second lens in the corresponding second drive direction according to the second electrical signal mobile.
- 根据权利要求1至10中任一项所述摄像头防抖系统,其特征在于,所述摄像头防抖系统包括主板和摄像头模组,所述陀螺仪、主控芯片和驱动芯片设置在所述主板上,所述马达设置在所述摄像头模组中。The camera anti-shake system according to any one of claims 1 to 10, wherein the camera anti-shake system comprises a main board and a camera module, and the gyroscope, main control chip and driving chip are arranged on the main board Above, the motor is arranged in the camera module.
- 一种摄像头防抖方法,包括:An anti-shake method for a camera includes:控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据;Control the gyroscope to obtain the first angular velocity data of the first attribute, or obtain the second angular velocity data of the second attribute;通过主控芯片接收所述陀螺仪输出的第一角速度数据,根据所述第一角速度数据计算得到抖动补偿数据,或接收所述陀螺仪输出的第二角速度数据,根据所述第二角速度数据进行应用处理;Receive the first angular velocity data output by the gyroscope through the main control chip, calculate the jitter compensation data according to the first angular velocity data, or receive the second angular velocity data output by the gyroscope, and perform processing according to the second angular velocity data Application processing通过驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号;及Receiving the jitter compensation data sent by the main control chip through the driving chip, and outputting an electrical signal according to the jitter compensation data; and通过马达接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动。The electric signal output by the driving chip is received by a motor, and the lens is driven to move according to the electric signal.
- 根据权利要求12所述摄像头防抖方法,其特征在于,所述控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据,包括:The camera anti-shake method according to claim 12, wherein said controlling the gyroscope to obtain first angular velocity data of a first attribute or obtaining second angular velocity data of a second attribute comprises:控制所述陀螺仪采集原始角速度数据,并根据所述原始角速度数据生成第一属性的第一角速度数据,或根据所述原始角速度数据生成第二属性的第二角速度数据。Control the gyroscope to collect original angular velocity data, and generate first angular velocity data of a first attribute according to the original angular velocity data, or generate second angular velocity data of a second attribute according to the original angular velocity data.
- 根据权利要求13所述摄像头防抖方法,其特征在于,所述控制陀螺仪获取第一属性的第一角速度数据,或获取第二属性的第二角速度数据之前,还包括:The camera anti-shake method according to claim 13, wherein before said controlling the gyroscope to obtain the first angular velocity data of the first attribute, or before obtaining the second angular velocity data of the second attribute, the method further comprises:获取所述第一角速度数据对应的第一属性数据,并根据第一属性数据配置所述陀螺仪的寄存器;或Obtain the first attribute data corresponding to the first angular velocity data, and configure the register of the gyroscope according to the first attribute data; or获取所述第二角速度数据对应的第二属性数据,并根据所述第二属性数据配置所述陀螺仪的寄存器。Acquire second attribute data corresponding to the second angular velocity data, and configure a register of the gyroscope according to the second attribute data.
- 根据权利要求14所述摄像头防抖方法,其特征在于,所述获取所述第一角速度数据对应的第一属性数据,包括:The camera anti-shake method according to claim 14, wherein said acquiring first attribute data corresponding to said first angular velocity data comprises:当检测到图像采集指令时,获取发起所述图像采集指令的目标应用程序的目标应用标 识;及When an image acquisition instruction is detected, obtain the target application identifier of the target application that initiated the image acquisition instruction; and根据所述目标应用标识获取所述第一角速度数据对应的第一属性数据。Acquire first attribute data corresponding to the first angular velocity data according to the target application identifier.
- 根据权利要求14所述摄像头防抖方法,其特征在于,所述根据所述原始角速度数据生成第一属性的第一角速度数据,或根据所述原始角速度数据生成第二属性的第二角速度数据,包括:The camera anti-shake method according to claim 14, wherein the first angular velocity data of the first attribute is generated according to the original angular velocity data, or the second angular velocity data of the second attribute is generated according to the original angular velocity data, include:读取所述寄存器中存储的第一属性数据,根据所述原始角速度数据生成第一属性数据对应的第一角速度数据;或Reading the first attribute data stored in the register, and generating first angular velocity data corresponding to the first attribute data according to the original angular velocity data; or读取所述寄存器中存储的第二属性数据,根据所述原始角速度数据生成第二属性数据对应的第二角速度数据。The second attribute data stored in the register is read, and the second angular velocity data corresponding to the second attribute data is generated according to the original angular velocity data.
- 根据权利要求12所述摄像头防抖方法,其特征在于,所述驱动芯片包括至少两个单通道驱动芯片,所述至少两个单通道驱动芯片分别对应不同的驱动方向;The camera anti-shake method according to claim 12, wherein the driving chip comprises at least two single-channel driving chips, and the at least two single-channel driving chips respectively correspond to different driving directions;所述根据所述第一角速度数据计算得到抖动补偿数据,包括:The calculating the jitter compensation data according to the first angular velocity data includes:根据所述第一角速度数据计算对应于各个驱动方向的抖动补偿数据,并将各个驱动方向的所述抖动补偿数据分别发送给对应的单通道驱动芯片;Calculating the jitter compensation data corresponding to each driving direction according to the first angular velocity data, and sending the jitter compensation data of each driving direction to the corresponding single-channel driving chip;所述通过驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号,包括:The receiving the jitter compensation data sent by the main control chip through the driving chip and outputting an electrical signal according to the jitter compensation data includes:通过所述单通道驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出所述驱动方向对应的电信号;Receiving the jitter compensation data sent by the main control chip through the single-channel driving chip, and outputting an electrical signal corresponding to the driving direction according to the jitter compensation data;所述通过马达接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动,包括:The step of receiving the electrical signal output by the driving chip through a motor and driving the lens to move according to the electrical signal includes:通过马达接收所述单通道驱动芯片输出的所述电信号,并根据所述电信号驱动所述镜头在对应的驱动方向上移动。The electric signal output by the single-channel driving chip is received by a motor, and the lens is driven to move in a corresponding driving direction according to the electric signal.
- 根据权利要求12所述摄像头防抖方法,其特征在于,所述驱动芯片包括第一驱动芯片和第二驱动芯片,所述马达包括第一马达和第二马达,所述镜头包括第一镜头和第二镜头;The camera anti-shake method according to claim 12, wherein the driving chip comprises a first driving chip and a second driving chip, the motor comprises a first motor and a second motor, and the lens comprises a first lens and Second shot所述根据所述第一角速度数据计算得到抖动补偿数据,包括:The calculating the jitter compensation data according to the first angular velocity data includes:根据所述第一角速度数据计算得到第一抖动补偿数据和第二抖动补偿数据;Calculating the first jitter compensation data and the second jitter compensation data according to the first angular velocity data;所述通过驱动芯片接收所述主控芯片发送的抖动补偿数据,并根据所述抖动补偿数据输出电信号,包括:The receiving the jitter compensation data sent by the main control chip through the driving chip and outputting an electrical signal according to the jitter compensation data includes:通过所述第一驱动芯片接收所述主控芯片发送的第一抖动补偿数据,根据所述第一抖动补偿数据输出第一电信号,通过所述第二驱动芯片接收所述主控芯片发送的第二抖动补偿数据,并根据所述第二抖动补偿数据输出第二电信号;Receive the first jitter compensation data sent by the main control chip through the first drive chip, output a first electrical signal according to the first jitter compensation data, and receive the data sent by the main control chip through the second drive chip Second jitter compensation data, and output a second electrical signal according to the second jitter compensation data;所述通过马达接收所述驱动芯片输出的所述电信号,并根据所述电信号驱动镜头移动,包括:The step of receiving the electrical signal output by the driving chip through a motor and driving the lens to move according to the electrical signal includes:通过所述第一马达用于接收所述第一驱动芯片输出的所述第一电信号,根据所述第一电信号驱动所述第一镜头移动,通过所述第二马达接收所述第二驱动芯片输出的所述第二电信号,并根据所述第二电信号驱动所述第二镜头移动。The first motor is used to receive the first electrical signal output by the first drive chip, the first lens is driven to move according to the first electrical signal, and the second motor is received by the second motor. The second electrical signal output by the driving chip, and the second lens is driven to move according to the second electrical signal.
- 根据权利要求18所述摄像头防抖方法,其特征在于,所述第一驱动芯片包括至少两个第一单通道驱动芯片,所述至少两个第一单通道驱动芯片分别对应所述第一镜头的不同第一驱动方向,所述第二驱动芯片包括至少两个第二单通道驱动芯片,所述至少两个第二单通道驱动芯片分别对应所述第二镜头的不同第一驱动方向;The camera anti-shake method according to claim 18, wherein the first driver chip comprises at least two first single-channel driver chips, and the at least two first single-channel driver chips respectively correspond to the first lens Different first driving directions of the second lens, the second driving chip includes at least two second single-channel driving chips, and the at least two second single-channel driving chips respectively correspond to different first driving directions of the second lens;所述根据所述第一角速度数据计算得到第一抖动补偿数据和第二抖动补偿数据,包括:The calculating the first jitter compensation data and the second jitter compensation data according to the first angular velocity data includes:根据所述第一角速度数据计算对应于各个第一驱动方向的第一抖动补偿数据,将各个第一驱动方向的所述第一抖动补偿数据分别发送给对应的第一单通道驱动芯片,以及根据 所述第一角速度数据计算对应于各个第二驱动方向的第二抖动补偿数据,将各个第二驱动方向的所述第二抖动补偿数据分别发送给对应的第二单通道驱动芯片;Calculate the first jitter compensation data corresponding to each first driving direction according to the first angular velocity data, send the first jitter compensation data of each first driving direction to the corresponding first single-channel driver chip, and according to Calculating the second jitter compensation data corresponding to each second driving direction from the first angular velocity data, and sending the second jitter compensation data of each second driving direction to the corresponding second single-channel driving chip;所述通过所述第一驱动芯片接收所述主控芯片发送的第一抖动补偿数据,根据所述第一抖动补偿数据输出第一电信号,通过所述第二驱动芯片接收所述主控芯片发送的第二抖动补偿数据,并根据所述第二抖动补偿数据输出第二电信号,包括:Receiving the first jitter compensation data sent by the main control chip through the first drive chip, outputting a first electrical signal according to the first jitter compensation data, and receiving the main control chip through the second drive chip The sent second jitter compensation data and outputting the second electrical signal according to the second jitter compensation data include:通过所述第一单通道驱动芯片接收所述主控芯片发送的第一抖动补偿数据,根据所述第一抖动补偿数据输出各个所述第一驱动方向对应的第一电信号,通过所述第二单通道驱动芯片接收所述主控芯片发送的第二抖动补偿数据,并根据所述第二抖动补偿数据输出各个所述第二驱动方向对应的第二电信号;Receive the first jitter compensation data sent by the main control chip through the first single-channel drive chip, output first electrical signals corresponding to each of the first driving directions according to the first jitter compensation data, and pass the first Two single-channel drive chips receive the second jitter compensation data sent by the main control chip, and output second electrical signals corresponding to each of the second drive directions according to the second jitter compensation data;所述通过所述第一马达用于接收所述第一驱动芯片输出的所述第一电信号,根据所述第一电信号驱动所述第一镜头移动,通过所述第二马达接收所述第二驱动芯片输出的所述第二电信号,并根据所述第二电信号驱动所述第二镜头移动,包括:The first motor is used to receive the first electrical signal output by the first driving chip, the first lens is driven to move according to the first electrical signal, and the second motor is used to receive the The second electrical signal output by the second driving chip and driving the second lens to move according to the second electrical signal includes:通过所述第一马达接收所述第一单通道驱动芯片输出的所述第一电信号,根据所述第一电信号驱动所述第一镜头在对应的所述第一驱动方向上移动,通过所述第二马达接收所述第二单通道驱动芯片输出的所述第二电信号,并根据所述第二电信号驱动所述第二镜头在对应的所述第二驱动方向上移动。The first electric signal output by the first single-channel driving chip is received by the first motor, and the first lens is driven to move in the corresponding first driving direction according to the first electric signal, and The second motor receives the second electrical signal output by the second single-channel drive chip, and drives the second lens to move in the corresponding second drive direction according to the second electrical signal.
- 一种电子设备,包括存储器及处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求12至19中任一项所述的方法的操作。An electronic device, comprising a memory and a processor, and a computer program is stored in the memory. When the computer program is executed by the processor, the processor executes any one of claims 12 to 19 Method of operation.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910232564.0 | 2019-03-26 | ||
CN201910232564.0A CN110049238B (en) | 2019-03-26 | 2019-03-26 | Camera anti-shake system and method, electronic device, computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2020192479A1 true WO2020192479A1 (en) | 2020-10-01 |
Family
ID=67275273
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/079594 WO2020192479A1 (en) | 2019-03-26 | 2020-03-17 | Camera stabilization system and method, and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110049238B (en) |
WO (1) | WO2020192479A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115190222A (en) * | 2021-04-06 | 2022-10-14 | 广州视源电子科技股份有限公司 | Electronic equipment and control method of movable camera |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110035228B (en) * | 2019-03-26 | 2021-09-07 | Oppo广东移动通信有限公司 | Camera anti-shake system, method, electronic device and computer-readable storage medium |
CN110049238B (en) * | 2019-03-26 | 2021-09-07 | Oppo广东移动通信有限公司 | Camera anti-shake system and method, electronic device, computer-readable storage medium |
KR20210093566A (en) * | 2020-01-20 | 2021-07-28 | 삼성전기주식회사 | Camera module |
CN111371997A (en) * | 2020-03-16 | 2020-07-03 | Oppo广东移动通信有限公司 | Control method of mobile equipment and mobile equipment |
CN114257718B (en) * | 2020-09-25 | 2024-02-09 | 北京小米移动软件有限公司 | Electronic equipment |
CN112616003B (en) * | 2020-12-30 | 2022-05-06 | 维沃移动通信有限公司 | Camera module and electronic equipment |
CN115086646A (en) * | 2022-06-09 | 2022-09-20 | 昆山丘钛微电子科技股份有限公司 | Anti-shake control method and system, test fixture and handheld device |
CN116761074B (en) * | 2022-10-28 | 2024-04-19 | 荣耀终端有限公司 | Optical image stabilization module, optical image stabilization method and electronic equipment |
CN116156290A (en) * | 2023-02-20 | 2023-05-23 | 维沃移动通信有限公司 | Camera circuit, camera method and electronic device |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009008164A1 (en) * | 2007-07-09 | 2009-01-15 | Panasonic Corporation | Digital single-lens reflex camera |
CN104079836A (en) * | 2014-07-04 | 2014-10-01 | 广东欧珀移动通信有限公司 | A mobile terminal-based photographing method and photographing device |
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 anti-shake system and method, electronic device, computer-readable storage medium |
CN109951640A (en) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | Camera anti-shake method and system, electronic device and computer-readable storage medium |
CN109951639A (en) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110012224A (en) * | 2019-03-26 | 2019-07-12 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110035228A (en) * | 2019-03-26 | 2019-07-19 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110049238A (en) * | 2019-03-26 | 2019-07-23 | Oppo广东移动通信有限公司 | Camera anti-shake system and method, electronic device, computer-readable storage medium |
CN110049236A (en) * | 2019-03-26 | 2019-07-23 | Oppo广东移动通信有限公司 | Camera anti-shake circuit, mobile terminal and assembling method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106131395A (en) * | 2016-06-17 | 2016-11-16 | 上海与德通讯技术有限公司 | Stabilization system and anti-fluttering method |
-
2019
- 2019-03-26 CN CN201910232564.0A patent/CN110049238B/en active Active
-
2020
- 2020-03-17 WO PCT/CN2020/079594 patent/WO2020192479A1/en active Application Filing
Patent Citations (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009008164A1 (en) * | 2007-07-09 | 2009-01-15 | Panasonic Corporation | Digital single-lens reflex camera |
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 |
CN108828874A (en) * | 2013-12-11 | 2018-11-16 | 旭化成微电子株式会社 | The position control method of camera module and its optical element |
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 | 广东欧珀移动通信有限公司 | A mobile terminal-based photographing method and photographing device |
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 anti-shake system and method, electronic device, computer-readable storage medium |
CN109951640A (en) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | Camera anti-shake method and system, electronic device and computer-readable storage medium |
CN109951639A (en) * | 2019-03-26 | 2019-06-28 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110012224A (en) * | 2019-03-26 | 2019-07-12 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110035228A (en) * | 2019-03-26 | 2019-07-19 | Oppo广东移动通信有限公司 | Camera anti-shake system, camera anti-shake method, electronic device, and computer-readable storage medium |
CN110049238A (en) * | 2019-03-26 | 2019-07-23 | Oppo广东移动通信有限公司 | Camera anti-shake system and method, electronic device, computer-readable storage medium |
CN110049236A (en) * | 2019-03-26 | 2019-07-23 | Oppo广东移动通信有限公司 | Camera anti-shake circuit, mobile terminal and assembling method |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115190222A (en) * | 2021-04-06 | 2022-10-14 | 广州视源电子科技股份有限公司 | Electronic equipment and control method of movable camera |
Also Published As
Publication number | Publication date |
---|---|
CN110049238B (en) | 2021-09-07 |
CN110049238A (en) | 2019-07-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2020192479A1 (en) | Camera stabilization system and method, and electronic device | |
CN109922264B (en) | Camera anti-shake system and method, electronic device, and computer-readable storage medium | |
CN110012224B (en) | Camera anti-shake system, method, electronic device and computer-readable storage medium | |
CN108737734B (en) | Image compensation method and apparatus, computer readable storage medium and electronic device | |
CN109842753B (en) | Camera anti-shake system, method, electronic device and storage medium | |
CN110035228B (en) | Camera anti-shake system, method, electronic device and computer-readable storage medium | |
CN108769528B (en) | Image compensation method and apparatus, computer-readable storage medium, and electronic device | |
CN109951640A (en) | Camera anti-shake method and system, electronic device and computer-readable storage medium | |
CN109951638B (en) | Camera anti-shake system, method, electronic device and computer-readable storage medium | |
WO2020088133A1 (en) | Image processing method and apparatus, electronic device and computer-readable storage medium | |
CN111147741A (en) | Focusing processing-based anti-shake method and device, electronic equipment and storage medium | |
CN110300263B (en) | Gyroscope processing method and apparatus, electronic device, computer-readable storage medium | |
CN109963080B (en) | Image acquisition method, device, electronic device and computer storage medium | |
KR102452575B1 (en) | Apparatus and method for compensating variation of images caused by optical image stabilization motion | |
KR102452564B1 (en) | Apparatus and method for estimating optical image stabilization motion | |
CN113875219B (en) | Image processing method and device, electronic device, computer-readable storage medium | |
CN109671028B (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
CN110177213B (en) | Gyroscope parameter adjustment method and device, terminal, and computer-readable storage medium | |
CN110113542B (en) | Anti-shake method and apparatus, electronic device, computer readable storage medium | |
CN110336993B (en) | Depth camera control method, device, electronic device and storage medium | |
CN110266950B (en) | Gyroscope processing method and apparatus, electronic device, computer-readable storage medium | |
US12149826B2 (en) | Image processing method and device, electronic device, and computer-readable storage medium | |
CN110233969A (en) | Image processing method and device, electronic equipment and computer readable storage medium | |
JP5393877B2 (en) | Imaging device and integrated circuit | |
CN110278374B (en) | Image processing method and apparatus, electronic device, 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: 20776586 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: 20776586 Country of ref document: EP Kind code of ref document: A1 |