Anti-shake control method and device, electronic equipment and medium
By setting a gyroscope on the camera module to obtain shake parameters and drive the image stabilization lens to perform shake compensation, the problem of long data acquisition time in terminal image stabilization control is solved, achieving rapid shake compensation and error reduction, and simplifying the lens module structure.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-11-12
- Publication Date
- 2026-03-20
AI Technical Summary
In existing technologies, terminal image stabilization control requires a long time to access gyroscope data, resulting in large image stabilization compensation errors and limited effectiveness.
By setting a gyroscope on the camera module, the shake parameters are obtained and the operation of the gyroscope is controlled to drive the image stabilization lens to perform shake compensation, thus simplifying the lens module structure.
It enables rapid acquisition of shake parameters, shortens shake compensation response time, reduces shake compensation error, and simplifies lens module structure.
Smart Images

Figure CN116132800B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure relates to the field of electronic technology, and in particular, to a method and device for anti-shake control, an electronic device, and a medium. BACKGROUND
[0002] In related technologies, in the anti-shake control of a terminal, data of a gyroscope on the terminal needs to be called, and the time for data acquisition is relatively long, which may cause an increase in error of anti-shake compensation and limit the anti-shake effect. SUMMARY
[0003] To overcome the problems in related technologies, the present disclosure provides a method and device for anti-shake control, an electronic device, and a medium.
[0004] According to a first aspect of an embodiment of the present disclosure, a method for anti-shake control is provided, including:
[0005] obtaining a shaking parameter of a camera module by a gyroscope arranged on the camera module, wherein the camera module includes an anti-shake lens and a lens barrel, the gyroscope includes a rotating ring, an inner balance ring, an outer balance ring, and a base, the base is fixed in the lens barrel, the outer balance ring is rotationally arranged in the base, the inner balance ring is rotationally arranged in the outer balance ring, the rotating ring is rotationally arranged in the inner balance ring, and the anti-shake lens is fixed on the rotating ring;
[0006] controlling the gyroscope to operate according to the shaking parameter, so as to drive the anti-shake lens to perform shaking compensation.
[0007] Optionally, the shaking parameter includes a shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring.
[0008] Optionally, the controlling the gyroscope to operate according to the shaking parameter includes:
[0009] determining a target compensation rotation angle of each of the outer balance ring, the inner balance ring, and the rotating ring according to the shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring;
[0010] controlling each of the outer balance ring, the inner balance ring, and the rotating ring to rotate the corresponding target compensation rotation angle.
[0011] Optionally, the determining the target compensation rotation angle of each of the outer balance ring, the inner balance ring, and the rotating ring according to the shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring includes:
[0012] determining a deflection angle of the anti-shake lens relative to a center axis of the lens module according to the shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring;
[0013] According to the deflection angle, a target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring is determined.
[0014] Optionally, the deflection angle of the outer balance ring, the inner balance ring and the rotating ring is determined by:
[0015] According to the deflection detection time length and the instantaneous angular velocity of the outer balance ring, the inner balance ring and the rotating ring, the deflection angle of the outer balance ring, the inner balance ring and the rotating ring is determined.
[0016] Optionally, the deflection angle includes a first deflection component of the anti-shake lens deflected along the rotation axis of the outer balance ring, a second deflection component of the anti-shake lens deflected along the rotation axis of the inner balance ring, and a third deflection component of the anti-shake lens deflected along the rotation axis of the rotating ring, and the deflection angle of the anti-shake lens is determined according to the deflection angle of the outer balance ring, the inner balance ring and the rotating ring, including:
[0017] According to the deflection angle of the outer balance ring, the first deflection component is determined;
[0018] According to the deflection angle of the inner balance ring, the second deflection component is determined;
[0019] According to the deflection angle of the rotating ring, the third deflection component is determined.
[0020] Optionally, the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring is determined according to the deflection angle, including:
[0021] According to the first deflection component, the target compensation rotation angle of the outer balance ring is determined;
[0022] According to the second deflection component, the target compensation rotation angle of the inner balance ring is determined;
[0023] According to the third deflection component, the target compensation rotation angle of the rotating ring is determined.
[0024] According to a second aspect of the embodiments of the present disclosure, an anti-shake control device is provided, including:
[0025] The acquisition module is configured to acquire a jitter parameter of a camera module through a gyroscope arranged on the camera module, wherein the camera module comprises an anti-shake lens and a lens barrel, the gyroscope comprises a rotating ring, an inner balance ring, an outer balance ring and a base, the base is fixed in the lens barrel, the outer balance ring is rotationally arranged in the base, the inner balance ring is rotationally arranged in the outer balance ring, the rotating ring is rotationally arranged in the inner balance ring, and the anti-shake lens is fixed on the rotating ring.
[0026] The compensation module is configured to control the gyroscope to operate according to the jitter parameter, so as to drive the anti-shake lens to perform jitter compensation.
[0027] Optionally, the jitter parameter comprises a jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring.
[0028] Optionally, the compensation module comprises:
[0029] The first compensation submodule is configured to determine a target compensation rotation angle of each of the outer balance ring, the inner balance ring and the rotating ring according to the jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring.
[0030] The second compensation submodule is configured to control each of the outer balance ring, the inner balance ring and the rotating ring to rotate by the corresponding target compensation rotation angle.
[0031] Optionally, the first compensation submodule is configured to determine the target compensation rotation angle of each of the outer balance ring, the inner balance ring and the rotating ring according to the jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring by the following manner:
[0032] determining a deflection angle of the anti-shake lens according to the jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring;
[0033] determining the target compensation rotation angle of each of the outer balance ring, the inner balance ring and the rotating ring according to the deflection angle.
[0034] Optionally, the acquisition module is configured to determine the jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring by the following manner:
[0035] determining the jitter angle of each of the outer balance ring, the inner balance ring and the rotating ring according to a jitter detection duration and an instantaneous angular velocity of each of the outer balance ring, the inner balance ring and the rotating ring.
[0036] Optionally, the deflection angle includes a first deflection component of the anti-shake lens deflected along a rotation axis of the outer gimbal ring, a second deflection component of the anti-shake lens deflected along a rotation axis of the inner gimbal ring, and a third deflection component of the anti-shake lens deflected along a rotation axis of the rotating ring, and the first compensation submodule is configured to determine the deflection angle of the anti-shake lens according to the shake angle of the outer gimbal ring, the inner gimbal ring, and the rotating ring respectively by:
[0037] determining the first deflection component according to the shake angle of the outer gimbal ring;
[0038] determining the second deflection component according to the shake angle of the inner gimbal ring;
[0039] determining the third deflection component according to the shake angle of the rotating ring.
[0040] Optionally, the first compensation submodule is configured to determine the target compensation rotation angle of the outer gimbal ring, the inner gimbal ring, and the rotating ring respectively according to the deflection angle by:
[0041] determining the target compensation rotation angle of the outer gimbal ring according to the first deflection component;
[0042] determining the target compensation rotation angle of the inner gimbal ring according to the second deflection component;
[0043] determining the target compensation rotation angle of the rotating ring according to the third deflection component.
[0044] According to a third aspect of embodiments of the present disclosure, an electronic device is provided, including:
[0045] a camera module, a gyroscope is arranged on the camera module, the gyroscope includes a rotating ring, an inner gimbal ring, an outer gimbal ring, and a base, the base is fixed in a lens barrel of the camera module, the outer gimbal ring is rotationally arranged in the base, the inner gimbal ring is rotationally arranged in the outer gimbal ring, the rotating ring is rotationally arranged in the inner gimbal ring, and an anti-shake lens of the camera module is fixed on the rotating ring;
[0046] a processor;
[0047] a memory for storing processor-executable instructions, the executable instructions are executed by the processor to implement the anti-shake control method provided by the first aspect of the present disclosure.
[0048] Optionally, the gyroscope comprises a rotating ring, an inner balance ring, an outer balance ring and a base, the camera module comprises a lens barrel, the base is fixed in the lens barrel, the outer balance ring is rotationally arranged in the base, the inner balance ring is rotationally arranged in the outer balance ring, the rotating ring is rotationally arranged in the inner balance ring, and the anti-shake lens is fixed on the rotating ring.
[0049] According to a fourth aspect of the embodiments of the present disclosure, a computer readable storage medium is provided, and the computer readable storage medium has stored computer program instructions. The computer program instructions are executed by a processor to implement the steps of the anti-shake control method provided in the first aspect of the present disclosure.
[0050] The technical solutions provided by the embodiments of the present disclosure can have the following beneficial effects:
[0051] The gyroscope arranged on the lens module can obtain the shaking parameter of the camera module, so that the shaking parameter of the camera module can be quickly obtained, and the shaking compensation can be more quickly implemented. In this way, the reaction time of the shaking compensation can be shortened, and the error of the shaking compensation can be reduced.
[0052] Further, in the present solution, the anti-shake lens is arranged on the gyroscope. After the anti-shake parameter is obtained by the gyroscope, the gyroscope can be controlled according to the shaking parameter, so that the anti-shake lens can be driven to perform the shaking compensation. In this way, the structure of the lens module can be simplified.
[0053] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF DRAWINGS
[0054] The accompanying drawings, which are incorporated into and form part of the specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0055] Figure 1 is a flowchart of an anti-shake control method according to an exemplary embodiment.
[0056] Figure 2 is a structural schematic diagram of a gyroscope according to an exemplary embodiment.
[0057] Figure 3 is a flowchart of an anti-shake control method according to another exemplary embodiment.
[0058] Figure 4 is a structural schematic diagram of a gyroscope according to another exemplary embodiment.
[0059] Figure 5 is a structural schematic diagram of a gyroscope according to another exemplary embodiment.
[0060] Figure 6 is a structural schematic diagram of a gyroscope according to yet another example embodiment.
[0061] Figure 7 is a structural schematic diagram of a gyroscope according to yet another example embodiment.
[0062] Figure 8 is a block diagram of an anti-shake control device according to an example embodiment.
[0063] Figure 9 is a block diagram of an electronic device according to an example embodiment. DETAILED DESCRIPTION
[0064] The example embodiments will be described in detail herein with reference to the accompanying drawings. In the following description, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following example embodiments are not meant to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
[0065] As described in the background, in the related art, in the anti-shake control of the terminal, the data of the gyroscope on the terminal needs to be called, and the time for data acquisition is relatively long, so the delay of the anti-shake control according to the acquired data is relatively large, which further causes the error of the anti-shake compensation to increase, and the anti-shake effect is limited.
[0066] Therefore, the present disclosure provides an anti-shake control method, device, electronic device and medium to reduce the error of the anti-shake compensation.
[0067] Figure 1 is a flowchart of an anti-shake control method according to an example embodiment. Referring to Figure 1 The embodiments of the present disclosure provide an anti-shake control method, which can include steps S21 and S22.
[0068] In step S21, a shaking parameter of a gyroscope arranged on a camera module is acquired, wherein the camera module can include an anti-shake lens and a lens barrel.
[0069] Figure 2 is a structural schematic diagram of a gyroscope according to an example embodiment. Referring to Figure 2, the gyroscope 10 can include a rotating ring 11, an inner balance ring 12, an outer balance ring 13, and a base 14, the base 14 can be fixed in a lens barrel (not shown in the figure), the outer balance ring 13 can be rotationally arranged in the base 14 (for example, the outer balance ring 13 can be connected with the base 14 through a rotating shaft), the inner balance ring 12 can be rotationally arranged in the outer balance ring 13 (for example, the inner balance ring 12 can be connected with the outer balance ring 13 through a rotating shaft), the rotating ring 11 can be rotationally arranged in the inner balance ring 12 (for example, the rotating ring 11 can be connected with the inner balance ring 12 through a rotating shaft), and an anti-shake lens (not shown in the figure) can be fixed in the rotating ring 11. For example, the anti-shake lens can be adhesively fixed on the rotating ring 11, or the anti-shake lens can also be clamped in the rotating ring 11.
[0070] Referring to Figure 2 , the rotation axis of the outer balance ring 13 can be perpendicular to the rotation axis of the inner balance ring 12, and the rotating shaft axis of the rotating ring 11 can be perpendicular to the rotating shaft axis of the inner balance ring 12. In this way, when the lens module shakes, the outer balance ring 13 can rotate relative to the base 14, the inner balance ring 12 can rotate relative to the outer balance ring 13, and the rotating ring 11 can rotate relative to the inner balance ring 12.
[0071] In this way, the shaking parameter of the camera module can be obtained through the gyroscope on the camera module, which can improve the speed of obtaining the shaking parameter, facilitate to reduce the delay of the shaking compensation, and further facilitate to reduce the error of the shaking compensation.
[0072] In step S22, the gyroscope is controlled to operate according to the obtained shaking parameter, so as to drive the anti-shake lens to perform shaking compensation.
[0073] In the scheme, the original driving structure of the anti-shake lens can be omitted by controlling the gyroscope to operate to drive the anti-shake lens to perform shaking compensation, which facilitates to simplify the structure of the lens module.
[0074] Based on Figure 2 The shaking parameter of the gyroscope can include the shaking angles of the outer balance ring, the inner balance ring, and the rotating ring.
[0075] In this way, by obtaining the shaking angles of the outer balance ring, the inner balance ring, and the rotating ring, the deflection of the anti-shake lens fixed on the rotating ring can be determined, so as to facilitate to perform shaking compensation.
[0076] Figure 3 is a flow chart of an anti-shake control method according to another exemplary embodiment. Referring to Figure 2 and Figure 3 Step S22 can include step S221 and step S222.
[0077] In step S221, the target compensation rotation angle of the outer gimbal ring, the inner gimbal ring and the rotation ring is determined respectively according to the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring.
[0078] It can be understood that the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring can represent the deflection degree of the anti-shake lens, and thus the target compensation rotation angle of the outer gimbal ring, the inner gimbal ring and the rotation ring can be determined respectively according to the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring.
[0079] In step S222, the outer gimbal ring, the inner gimbal ring and the rotation ring are controlled to rotate the corresponding target compensation rotation angle, so that the anti-shake lens is driven to perform jitter compensation.
[0080] In this scheme, the jitter compensation of the anti-shake lens is realized by controlling the rotation of the outer gimbal ring, the inner gimbal ring and the rotation ring of the gyroscope, and the anti-shake lens can realize jitter compensation by using the corresponding rotation shaft of the outer gimbal ring, the inner gimbal ring and the rotation ring. The rotation of the anti-shake lens is more flexible, which is convenient for better jitter compensation.
[0081] For example, the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring can be determined according to the detection time length and the instantaneous angular velocity of the outer gimbal ring, the inner gimbal ring and the rotation ring.
[0082] For example, the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring can be obtained by integrating once according to the detection time length and the instantaneous angular velocity of the outer gimbal ring, the inner gimbal ring and the rotation ring.
[0083] For example, the jitter angle of the outer gimbal ring, the inner gimbal ring and the rotation ring can be calculated by the following formula:
[0084]
[0085] In formula (1), A is the jitter angle of the outer gimbal ring, x is the instantaneous angular velocity of the outer gimbal ring, t1 is the start time of jitter detection, and t2 is the end time of jitter detection. It can be understood that the difference between t2 and t1 can be the detection time length.
[0086]
[0087] In formula (2), B is the jitter angle of the inner gimbal ring, and y is the instantaneous angular velocity of the inner gimbal ring.
[0088]
[0089] In formula (3), C is the jitter angle of the rotation ring, and z is the instantaneous angular velocity of the rotation ring.
[0090] For example, the deflection angle can include a first deflection component of the anti-shake lens deflected along the rotation axis of the outer balance ring, a second deflection component of the anti-shake lens deflected along the rotation axis of the inner balance ring, and a third deflection component of the anti-shake lens deflected along the rotation axis of the rotating ring. The step of determining the deflection angle of the anti-shake lens according to the shake angle of each of the outer balance ring, the inner balance ring and the rotating ring can include:
[0091] The first deflection component is determined according to the shake angle of the outer balance ring, the second deflection component is determined according to the shake angle of the inner balance ring, and the third deflection component is determined according to the shake angle of the rotating ring.
[0092] For example, the first deflection component can be equal in value to the shake angle of the outer balance ring, the second deflection component can be equal in value to the shake angle of the inner balance ring, and the third deflection component can be equal in value to the shake angle of the rotating ring.
[0093] In this way, after obtaining the shake angle of each of the outer balance ring, the inner balance ring and the rotating ring, the first deflection component, the second deflection component and the third deflection component of the anti-shake lens can be determined.
[0094] On the basis of determining the first deflection component, the second deflection component and the third deflection component of the anti-shake lens, the step of determining the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring according to the deflection angle can include:
[0095] The target compensation rotation angle of the outer balance ring is determined according to the first deflection component, the target compensation rotation angle of the inner balance ring is determined according to the second deflection component, and the target compensation rotation angle of the rotating ring is determined according to the third deflection component.
[0096] For example, the target compensation rotation angle of the outer balance ring can be equal in value to the first deflection component, the target compensation rotation angle of the inner balance ring can be equal in value to the second deflection component, and the target compensation rotation angle of the rotating ring can be equal in value to the third deflection component.
[0097] In this way, after determining the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring, the outer balance ring, the inner balance ring and the rotating ring can be controlled to rotate the corresponding target compensation rotation angle to drive the anti-shake lens to perform shake compensation.
[0098] Figure 4 is a structural schematic diagram of a gyroscope according to another example embodiment, Figure 5 is a structural schematic diagram of a gyroscope according to another example embodiment, Figure 6 is a structural schematic diagram of a gyroscope according to another example embodiment, Figure 7is a structural schematic diagram of a gyroscope according to yet another exemplary embodiment. Referring to Figure 2 , Figure 4 to Figure 7 For example, the rotation axis of the outer gimbal ring 13 can coincide with the central axis of the camera module. For example, the initial state of the gyroscope can be the state shown in Figure 4 and Figure 5 , Figure 5 may be a view in the direction of arrow E in Figure 4 . Referring to Figure 4 and Figure 5 , the initial state of the gyroscope can be that the outer gimbal ring 13 is parallel to the horizontal plane, the inner gimbal ring 12 and the rotating ring 111 are kept in a vertical state, and the plane in which the inner gimbal ring 12 and the rotating ring 11 are located is perpendicular to the rotation axis of the outer gimbal ring 13, Figure 4 may be parallel to the rotation axis of the inner gimbal ring 12, for example.
[0099] In the case of camera module shaking, the outer gimbal ring 13, the inner gimbal ring 12 and the rotating ring 11 can rotate, for example, in one possible case, at the end of the shaking detection, the state of the gyroscope can be the state shown in Figure 6 and Figure 7 , wherein Figure 6 may have the same view angle as Figure 4 , Figure 7 may be a view of the gyroscope in the direction of arrow F in Figure 6 , Figure 7 may have the same view angle as the view angle of Figure 5 .
[0100] At the end of the shaking detection, the shaking angles of the outer gimbal ring 13, the inner gimbal ring 12 and the rotating ring 11 can be determined, for example, with reference to the above formulas (1) to (3), so that the first deflection component can be determined according to the shaking angle of the outer gimbal ring 13, the second deflection component can be determined according to the shaking angle of the inner gimbal ring 12, and the third deflection component can be determined according to the shaking angle of the rotating ring 11.
[0101] Subsequently, the target compensation rotation angle of the outer gimbal ring 13 can be determined according to the first deflection component, the target compensation rotation angle of the inner gimbal ring 12 can be determined according to the second deflection component, and the target compensation rotation angle of the rotating ring 11 can be determined according to the third deflection component. Finally, the outer gimbal ring 13, the inner gimbal ring 12 and the rotating ring 11 are respectively controlled to rotate the corresponding target compensation rotation angles, so that the anti-shake lens is driven to perform shaking compensation.
[0102] For example, in one possible case, after the anti-shake lens is driven to perform shaking compensation, the gyroscope can return to the state shown in Figure 4 and Figure 5 .
[0103] In a possible implementation, the lens module can include a processor, and the method can be applied to the processor on the lens module. In this way, the lens module can realize the anti-shake compensation by itself, facilitating the modular design of the terminal.
[0104] Figure 8 is a block diagram of an anti-shake control device according to an example embodiment. Referring to Figure 8 , the embodiments of the present disclosure also provide an anti-shake control device 400, which can include an acquisition module 401 and a compensation module 402.
[0105] The acquisition module 401 can be configured to acquire a shaking parameter of a gyroscope arranged on a camera module, where the camera module can include an anti-shake lens and a lens barrel, the gyroscope includes a rotating ring, an inner balance ring, an outer balance ring, and a base, the base is fixed in the lens barrel, the outer balance ring is rotationally arranged in the base, the inner balance ring is rotationally arranged in the outer balance ring, the rotating ring is rotationally arranged in the inner balance ring, and the anti-shake lens is fixed on the rotating ring.
[0106] The compensation module 402 can be configured to control the gyroscope to operate according to the shaking parameter, so as to drive the anti-shake lens to perform shaking compensation.
[0107] In this way, the shaking parameter of the camera module can be quickly acquired by the gyroscope arranged on the lens module, so that the shaking compensation can be more quickly realized. In this way, the reaction time of the shaking compensation can be shortened, and the error of the shaking compensation can be reduced.
[0108] Further, in the present solution, the anti-shake lens is arranged on the gyroscope, and after the anti-shake parameter is acquired by the gyroscope, the gyroscope can be controlled to operate according to the shaking parameter, so as to drive the anti-shake lens to perform shaking compensation. In this way, the structure of the lens module can be simplified.
[0109] For example, the shaking parameter can include a shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring.
[0110] For example, the compensation module 402 can include:
[0111] A first compensation submodule can be configured to determine a target compensation rotation angle of each of the outer balance ring, the inner balance ring, and the rotating ring according to the shaking angle of each of the outer balance ring, the inner balance ring, and the rotating ring.
[0112] A second compensation submodule can be configured to control each of the outer balance ring, the inner balance ring, and the rotating ring to rotate the corresponding target compensation rotation angle.
[0113] Exemplarily, the first compensation submodule can be configured to determine the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring respectively according to the jitter angle of the outer balance ring, the inner balance ring and the rotating ring respectively, by the following manner:
[0114] determine the deflection angle of the anti-shake lens according to the jitter angle of the outer balance ring, the inner balance ring and the rotating ring respectively; and determine the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring respectively according to the deflection angle.
[0115] Exemplarily, the acquisition module 401 can be configured to determine the jitter angle of the outer balance ring, the inner balance ring and the rotating ring respectively by the following manner:
[0116] determine the jitter angle of the outer balance ring, the inner balance ring and the rotating ring respectively according to the jitter detection duration and the instantaneous angular velocity of the outer balance ring, the inner balance ring and the rotating ring respectively.
[0117] Exemplarily, the deflection angle can include a first deflection component of the anti-shake lens deflected along the rotation axis of the outer balance ring, a second deflection component of the anti-shake lens deflected along the rotation axis of the inner balance ring, and a third deflection component of the anti-shake lens deflected along the rotation axis of the rotating ring, and the first compensation submodule can be configured to determine the deflection angle of the anti-shake lens according to the jitter angle of the outer balance ring, the inner balance ring and the rotating ring respectively, by the following manner:
[0118] determine the first deflection component according to the jitter angle of the outer balance ring; determine the second deflection component according to the jitter angle of the inner balance ring; and determine the third deflection component according to the jitter angle of the rotating ring.
[0119] Exemplarily, the first compensation submodule can be configured to determine the target compensation rotation angle of the outer balance ring, the inner balance ring and the rotating ring respectively according to the deflection angle, by the following manner:
[0120] determine the target compensation rotation angle of the outer balance ring according to the first deflection component; determine the target compensation rotation angle of the inner balance ring according to the second deflection component; and determine the target compensation rotation angle of the rotating ring according to the third deflection component.
[0121] As to the apparatus in the above-mentioned embodiments, the specific manners in which various modules perform operations have been described in details in the embodiments relating to the method, and thus will not be described in details here.
[0122] The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions, which, when executed by a processor, implement the steps of the anti-shake control method provided by the present disclosure.
[0123] Figure 9is a block diagram of an electronic device 800 according to an exemplary embodiment. The electronic device 800 can be, for example, a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
[0124] Referring to Figure 9 The electronic device 800 can include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.
[0125] The processing component 802 usually controls overall operations of the electronic device 800, such as operations associated with displaying, making phone calls, data communications, camera operations, and recording operations. The processing component 802 can include one or more processors 820 to execute instructions to complete all or part of steps of the anti-shake control method described above. In addition, the processing component 802 can include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0126] The memory 804 is configured to store various types of data to support operations of the electronic device 800. Examples of the data include instructions for any application or method operating on the electronic device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 can be implemented by any type of volatile or non-volatile storage devices or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0127] The power component 806 provides power to various components of the electronic device 800. The power component 806 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 800.
[0128] The multimedia component 808 includes a screen to provide an output interface between the electronic device 800 and a user. In some embodiments, the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense a touch, a slide, and a gesture on the touch panel. The touch sensor can not only sense a boundary of a touching or a sliding action, but also detect duration and intensity of the touching or sliding action. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the electronic device 800 is in an operating mode, such as a camera mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each of the front camera and the rear camera can be a fixed optical lens system or have a focal length and optical zooming capability.
[0129] The audio component 810 is configured to output and / or input an audio signal. For example, the audio component 810 includes a microphone (MIC) to receive an external audio signal when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, the audio component 810 further includes a speaker to output an audio signal.
[0130] The I / O interface 812 provides an interface for the processing component 802 and peripheral interface modules, such as a keypad, a click wheel, buttons, and the like. The buttons can include, but are not limited to, a home button, a volume button, a start button, and a lock button.
[0131] The sensor component 814 includes one or more sensors to provide various state assessments for the electronic device 800. For example, the sensor component 814 can detect an open / closed position of the electronic device 800, relative positioning of components, such as a display and a keypad of the electronic device 800, a change in position of the electronic device 800 or a component of the electronic device 800, presence or absence of user contact with the electronic device 800, orientation or acceleration / deceleration of the electronic device 800, and a temperature change of the electronic device 800. The sensor component 814 can include a proximity sensor configured to detect presence of a nearby object without any physical touch. The sensor component 814 can further include a light sensor such as a CMOS or CCD image sensor for use in an imaging application. In some embodiments, the sensor component 814 can further include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0132] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an example embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an example embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on Radio Frequency Identification (RFID) techniques, infrared data association (IrDA) techniques, ultra-wideband (UWB) techniques, Bluetooth (BT) techniques, and other techniques.
[0133] The electronic device 800 can further include a camera module, and a gyroscope can be disposed on the camera module. A lens of the camera module can be disposed on the gyroscope. The gyroscope can include a base, an inner gimbal ring, an outer gimbal ring, and a base, and the camera module can include a lens barrel. The base can be fixed in the lens barrel, the outer gimbal ring can be rotatably disposed in the base, the inner gimbal ring can be rotatably disposed in the outer gimbal ring, the inner gimbal ring can be rotatably disposed in the inner gimbal ring, and the lens can be fixed to the inner gimbal ring.
[0134] In an example embodiment, the electronic device 800 can be implemented with one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic elements for performing the above-described anti-shake control method.
[0135] In an example embodiment, a non-transitory computer-readable storage medium including instructions, such as the memory 804 including instructions, is also provided. The instructions can be executable by the processor 820 of the electronic device 800 to perform the above-described anti-shake control method. The non-transitory computer-readable storage medium can be, for example, a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disc, and an optical data storage device, etc.
[0136] In another example embodiment, a computer program product is also provided. The computer program product includes a computer program capable of being executed by a programmable apparatus, and the computer program has code portions for performing the above-described anti-shake control method when executed by the programmable apparatus.
[0137] Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
[0138] It should be understood that the present disclosure is not limited to the precise structures as herein described and illustrated in the drawings, and that various modifications and changes can be made without departing from its scope. The scope of the present disclosure is limited only by the claims that follow.
Claims
1. A method for stabilizing image control, characterized in that, include: The camera module's shake parameters are obtained using a gyroscope mounted on it. The camera module includes a stabilized lens and a lens barrel. The gyroscope includes a rotating ring, an inner balance ring, an outer balance ring, and a base. The base is fixed inside the lens barrel. The outer balance ring is rotatably mounted inside the base. The inner balance ring is rotatably mounted inside the outer balance ring. The rotating ring is rotatably mounted inside the inner balance ring. The stabilized lens is fixed to the rotating ring. The shake parameters include the shake angles of the outer balance ring, the inner balance ring, and the rotating ring, respectively. The gyroscope is controlled to operate according to the jitter parameters in order to drive the image stabilization lens to perform jitter compensation. The step of controlling the operation of the gyroscope according to the jitter parameters includes: Based on the jitter angles of the outer balance ring, the inner balance ring, and the rotating ring, the target compensation rotation angles of the outer balance ring, the inner balance ring, and the rotating ring are determined respectively. The target compensation rotation angles corresponding to the rotation of the outer balance ring, the inner balance ring, and the rotating ring are controlled respectively.
2. The method according to claim 1, characterized in that, The step of determining the target compensation rotation angles of the outer balance ring, the inner balance ring, and the rotating ring based on their respective jitter angles includes: The deflection angle of the image stabilization lens is determined based on the jitter angles of the outer balance ring, the inner balance ring, and the rotating ring. Based on the deflection angle, the target compensation rotation angles corresponding to the outer balance ring, the inner balance ring, and the rotating ring are determined.
3. The method according to claim 2, characterized in that, The jitter angles of the outer balance ring, the inner balance ring, and the rotating ring are determined in the following way: Based on the jitter detection duration and the instantaneous angular velocities of the outer balance ring, the inner balance ring, and the rotating ring, the jitter angles of each of the three rings are determined.
4. The method according to claim 2, characterized in that, The deflection angle includes a first deflection component of the image stabilizing lens deflecting along the rotation axis of the outer balance ring, a second deflection component of the image stabilizing lens deflecting along the rotation axis of the inner balance ring, and a third deflection component of the image stabilizing lens deflecting along the rotation axis of the rotating ring. Determining the deflection angle of the image stabilizing lens based on the respective jitter angles of the outer balance ring, the inner balance ring, and the rotating ring includes: The first deflection component is determined based on the shaking angle of the outer balance ring; The second deflection component is determined based on the shaking angle of the inner balance ring; The third deflection component is determined based on the jitter angle of the rotating ring.
5. The method according to claim 4, characterized in that, The step of determining the target compensation rotation angles corresponding to the outer balance ring, the inner balance ring, and the rotating ring based on the deflection angle includes: The target compensation rotation angle of the outer balance ring is determined based on the first deflection component. The target compensation rotation angle of the inner balance ring is determined based on the second deflection component. The target compensation rotation angle of the rotating ring is determined based on the third deflection component.
6. A shake-resistant control device, characterized in that, include: The acquisition module is configured to acquire the shake parameters of the camera module via a gyroscope mounted on the camera module. The camera module includes a stabilized lens and a lens barrel. The gyroscope includes a rotating ring, an inner balance ring, an outer balance ring, and a base. The base is fixed inside the lens barrel. The outer balance ring is rotatably mounted inside the base. The inner balance ring is rotatably mounted inside the outer balance ring. The rotating ring is rotatably mounted inside the inner balance ring. The stabilized lens is fixed on the rotating ring. The shake parameters include the shake angles of the outer balance ring, the inner balance ring, and the rotating ring, respectively. The compensation module is configured to control the operation of the gyroscope according to the jitter parameters in order to drive the image stabilization lens to perform jitter compensation; The compensation module includes: The first compensation submodule is configured to determine the target compensation rotation angle of the outer balance ring, the inner balance ring, and the rotating ring respectively based on the jitter angle of each of the outer balance ring, the inner balance ring, and the rotating ring; The second compensation submodule is configured to control the target compensation rotation angle corresponding to the rotation of the outer balance ring, the inner balance ring, and the rotating ring, respectively.
7. An electronic device, characterized in that, include: A camera module is provided with a gyroscope, which includes a rotating ring, an inner balance ring, an outer balance ring, and a base. The base is fixed inside the lens barrel of the camera module. The outer balance ring is rotatably disposed inside the base. The inner balance ring is rotatably disposed inside the outer balance ring. The rotating ring is rotatably disposed inside the inner balance ring. The image stabilization lens of the camera module is fixed on the rotating ring. processor; A memory for storing processor-executable instructions, which, when executed by the processor, enable the implementation of the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium having computer program instructions stored thereon, characterized in that, When executed by a processor, the program instructions implement the steps of the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Anti-shake method for camera and camera
CN108156362A
A moving camera camera lens for having waterproof function
CN207473265U