Shooting circuit, shooting method, and electronic device
By connecting an external anti-shake chip to multiple camera modules, and using a motor to drive the camera to move, it solves the problem of increased volume caused by the large number of anti-shake modules in smartphones, and achieves a thinner, lighter and lower-cost design.
Patent Information
- Application Number
- PCT/CN2024/077370
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-02-20
- Filing Date
- 2024-02-18
- Publication Date
- 2024-08-29
AI Technical Summary
Multiple camera modules in smartphones are equipped with anti-shake modules, which increases the size of the device and makes it impossible to achieve thinness and lightness.
It uses an external anti-shake chip, connects to multiple camera modules through an anti-shake module, and uses a motor to drive the camera to move to achieve anti-shake, avoiding the need to set up a separate anti-shake module for each camera module.
The number of anti-shake modules is reduced, avoiding the problems of increased volume and high cost. It also reduces power consumption and calibration consistency issues, enabling a thinner and lighter device design.
Smart Images

Figure CN2024077370_29082024_PF_FP_ABST
Abstract
Description
Camera circuit, camera method, and electronic equipment
[0001] Cross-references
[0002] This application claims priority to the Chinese patent application filed with the China Patent Office on February 20, 2023, with application number 202310138278.4 and application name “Camera Circuit, Camera Method and Electronic Device”. The entire contents of the application are incorporated by reference into this application. Technical Field
[0003] The present application belongs to the technical field of electronic circuits, and specifically relates to a camera circuit, a camera method, and an electronic device. Background Art
[0004] With the development of economy and technology, smartphones have become more and more widely used. As a result, consumers' requirements for smartphone camera capabilities are also getting higher and higher.
[0005] Currently, anti-shake technology has become a key technology for improving smartphone camera performance. Specifically, anti-shake technology involves: setting up an anti-shake module for each camera module; for each anti-shake module, determining the amount of smartphone shake based on the anti-shake module; and adjusting the corresponding camera based on the shake amount.
[0006] However, current smartphones typically include multiple camera modules. Therefore, if each camera module is equipped with an anti-shake module, the large number of anti-shake modules will increase the size of the smartphone, preventing it from being thinner and lighter. Currently, making smartphones thinner and lighter is one of the key research directions.
[0007] Summary of the Invention
[0008] The purpose of the embodiments of the present application is to provide a camera circuit, a camera method and an electronic device that can solve the problem that smartphones cannot be made thinner because each camera module is equipped with an anti-shake module.
[0009] In a first aspect, an embodiment of the present application provides a camera circuit, which is applied to an electronic device and includes: an external anti-shake chip and at least two camera modules, wherein:
[0010] The external anti-shake chip includes a first anti-shake module, and any of the camera modules includes a motor and a camera driven by the motor, and the first anti-shake module is respectively connected to each of the motors;
[0011] The first anti-shake module is used to obtain the movement amount of the electronic device and send a corresponding movement instruction to each target motor according to the movement amount, wherein the target motor is a motor in the target camera module that is in the turned-on state;
[0012] The motor is used to drive the corresponding camera to move according to the motion instruction when the motion instruction is received.
[0013] In a second aspect, an embodiment of the present application provides an imaging method, which is applied to the imaging circuit as described in the first aspect, including:
[0014] The first anti-shake module obtains the movement amount of the electronic device and sends a corresponding movement instruction to each target motor according to the movement amount, wherein the target motor is a motor in the target camera module that is in the turned-on state;
[0015] When the motor receives the motion instruction, it drives the corresponding camera to move according to the motion instruction.
[0016] In a third aspect, an embodiment of the present application provides an electronic device, which includes the camera circuit described in the first aspect.
[0017] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the second aspect are implemented.
[0018] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method described in the second aspect.
[0019] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the second aspect.
[0020] In an embodiment of the present application, a camera circuit is provided for use in an electronic device, comprising: an external anti-shake chip and at least two camera modules, wherein: the external anti-shake chip includes a first anti-shake module, each camera module includes a motor and a camera driven by the motor, and the first anti-shake module is connected to each motor respectively; the first anti-shake module is used to obtain the amount of motion of the electronic device and, based on the amount of motion, send a corresponding motion instruction to each target motor, wherein the target motor is a motor in a target camera module that is in an on state; the motor is used to drive the corresponding camera to move according to the motion instruction when receiving the motion instruction. In an embodiment of the present application, at least two camera modules achieve anti-shake through an external anti-shake chip. That is, there is no need to set a one-to-one corresponding anti-shake module for each camera module. When an electronic device includes multiple camera modules, the problem of the electronic device being unable to be made thinner and lighter due to the large number of anti-shake modules in the electronic device can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] FIG1 is a structural schematic diagram 1 of an imaging circuit provided in an embodiment of the present application;
[0022] FIG2 is a second structural diagram of an imaging circuit provided in an embodiment of the present application;
[0023] FIG3 is a third structural diagram of an imaging circuit provided in an embodiment of the present application;
[0024] FIG4 is a fourth structural diagram of an imaging circuit provided in an embodiment of the present application;
[0025] FIG5 is a fifth structural diagram of an imaging circuit provided in an embodiment of the present application;
[0026] FIG6 is a sixth structural diagram of an imaging circuit provided in an embodiment of the present application;
[0027] FIG7 is a flow chart of a camera method according to an embodiment of the present application;
[0028] FIG8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0029] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.
[0030] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.
[0031] The following describes in detail the camera circuit, camera method and electronic device provided by the embodiments of the present application through specific embodiments and their application scenarios in combination with the accompanying drawings.
[0032] An embodiment of the present application provides a camera circuit 100, which is applied to an electronic device. As shown in FIG1 , the camera circuit 100 includes an external anti-shake chip 110 and at least two camera modules 120, wherein:
[0033] The external anti-shake chip 110 includes a first anti-shake module 111 . Each camera module 120 includes a motor and a camera driven by the motor. The first anti-shake module 111 is connected to each motor respectively.
[0034] The first anti-shake module 111 is used to obtain the movement amount of the electronic device and send a corresponding movement instruction to each target motor according to the movement amount. The target motor is the motor in the target camera module that is in the turned-on state;
[0035] The motor is used to drive the corresponding camera to move according to the motion instruction when receiving the motion instruction.
[0036] It should be noted that Figure 1 shows the example of a camera circuit 100 including two camera modules 120, and the two camera modules 120 are respectively camera module 120a and camera module 120b, wherein camera module 120a includes camera 120a1 and motor 120a2, and camera module 120b includes camera 120b1 and motor 120b2.
[0037] In one embodiment of the present application, the at least two camera modules 120 may be at least one front-facing camera module and / or at least one rear-facing camera module. The front-facing camera module and the rear-facing camera module may each be any one of a wide-angle camera module, a main camera module, a portrait camera module, and a telephoto camera module. It should be noted that the types of the front-facing camera module and the rear-facing camera module are not limited in the embodiments of the present application.
[0038] In the embodiment of the present application, when the electronic device shakes, the camera module 120 fixed to the electronic device also shakes. Based on this, the amount of motion of the electronic device is the amount of motion generated when at least two camera modules 120 shake. The amount of motion is used to represent the amplitude of motion of the electronic device, which can include a rotation amplitude and / or a movement amplitude. Based on this, for example, the amplitude of motion can be described by a tilt angle and / or a movement amount.
[0039] The first anti-shake module 111 pre-stores a mapping relationship between the amount of motion corresponding to each camera module and the motion command of the corresponding motor. After obtaining the amount of motion, the first anti-shake module 111 searches the mapping relationship to obtain the motion command corresponding to each target motor. Furthermore, the first anti-shake module 111 sends a corresponding motion command to each target motor. The motion command is an instruction to restore the camera in the camera module 120 to the position before the electronic device shook. In one embodiment of the present application, the specific embodiment of the motion command can be a current or voltage that drives the motor to rotate.
[0040] In one embodiment of the present application, the first anti-shake module 111 obtains the motion amount of the electronic device and sends a corresponding motion instruction to each target motor according to the motion amount. Specifically, the implementation may be:
[0041] The first anti-shake module 111 runs a main thread and sub-threads corresponding to the camera modules. The main thread is used to obtain the amount of motion and start the sub-thread corresponding to the target camera module. When started, the sub-thread obtains the amount of motion from the main thread and sends corresponding rotation instructions to the corresponding motor based on the amount of motion.
[0042] When the motor receives a motion command, it drives the camera to move according to the motion command. At this point, the camera returns to its position before the electronic device was shaken. This achieves anti-shake for the camera module in the electronic device.
[0043] It is understandable that the target motor is specifically a motor that will receive a motion instruction.
[0044] In light of the above, in the embodiment of the present application, at least two camera modules achieve anti-shake via an external anti-shake chip. This eliminates the need for a corresponding anti-shake module for each camera module. This avoids the problems of increasing the size of the electronic device due to the large number of anti-shake modules, which prevent it from being thinner and lighter, increasing hardware and software costs, consuming high power when two or more camera modules are in operation, and calibration consistency issues between multiple anti-shake modules.
[0045] In an embodiment of the present application, a camera circuit is provided for use in an electronic device, comprising: an external anti-shake chip and at least two camera modules, wherein: the external anti-shake chip includes a first anti-shake module, each camera module includes a motor and a camera driven by the motor, and the first anti-shake module is connected to each motor respectively; the first anti-shake module is used to obtain the amount of motion of the electronic device and, based on the amount of motion, send a corresponding motion instruction to each target motor, wherein the target motor is a motor in the target camera module that is in the on state; the motor is used to drive the corresponding camera to move according to the motion instruction when receiving the motion instruction. In an embodiment of the present application, at least two camera modules achieve anti-shake through a single external anti-shake chip. That is, there is no need to set up a one-to-one corresponding anti-shake module for each camera module. In this way, when an electronic device includes multiple camera modules, the problem of the electronic device being unable to be made thinner and lighter due to the large number of anti-shake modules in the electronic device can be avoided.
[0046] In one embodiment of the present application, as shown in FIG2 , the electronic device further includes a main control chip 200. A first anti-shake module 111 is connected to the main control chip 200 in the electronic device. The first anti-shake module 111 is configured to obtain the operating status of at least two camera modules 120 from the main control chip 200 and determine the target motor based on the operating status.
[0047] In one embodiment of the present application, the first anti-shake module 111 is connected to the main control chip 200 via an Inter-Integrated Circuit (I2C) bus. The main control chip 200 can be exemplarily an application processor (AP) chip.
[0048] In the embodiment of the present application, the main control chip 200 is illustratively connected to each camera module 120 via a MIPI interface to determine the operating status of each camera module, wherein the operating status includes operating and non-operating.
[0049] The first anti-shake module 111 directly obtains the operating status of at least two camera modules 120 from the main control chip 200. After obtaining the operating status of the at least two camera modules 120, the first anti-shake module 111 determines which of the at least two camera modules 120 are in the operating state based on the operating status. Furthermore, the first anti-shake module 111 determines the camera module 120 in the operating state as the target camera module and further, the motor in the target camera module as the target motor.
[0050] In an embodiment of the present application, the first anti-shake module 111 directly obtains the operating status of at least two camera modules from the main control module 200, without the first anti-shake module 111 having to determine the operating status of at least two camera modules on its own, thereby reducing the use of computing resources of the first anti-shake module 111.
[0051] In one embodiment of the present application, as shown in FIG3 , the first anti-shake module 111 includes a first drive unit 1111 and a first motion sensor 1112 . The external anti-shake chip 110 further includes a first digital-to-analog conversion module 112 corresponding to each motor. The first drive units 1111 are connected to the corresponding motors via the first digital-to-analog conversion modules 112 , and the first drive units 1111 are also connected to the first motion sensor 1112 .
[0052] The first motion sensor 1112 is used to collect motion information of the electronic device;
[0053] The first driving unit 1111 is used to obtain motion information from the first motion sensor 1112, determine the amount of motion based on the motion information, and send a corresponding digital motion instruction to the first digital-to-analog conversion module 112 corresponding to each target motor based on the motion amount;
[0054] The first digital-to-analog conversion module 112 is configured to, upon receiving a digital motion instruction, convert the digital motion instruction into an analog motion instruction and send the analog motion instruction to a corresponding motor.
[0055] 2 shows an example in which the external anti-shake chip 110 includes two first digital-to-analog conversion modules 112. The two first digital-to-analog conversion modules 112 are respectively a first digital-to-analog conversion module 112a and a first digital-to-analog conversion module 112b.
[0056] In one example of the present application, the first motion sensor 1112 may be a gyroscope sensor, which is used to collect three-axis angular velocity. That is, in this embodiment of the present application, the motion information of the electronic device may specifically be the three-axis angular velocity of the electronic device.
[0057] Taking the motion information of the electronic device as the three-axis angular velocity of the electronic device as an example, the specific implementation method of the first driving unit 1111 determining the motion amount based on the motion information can be: integrating the three-axis angular velocity of the electronic device, calculating the tilt angle of the electronic device caused by shaking, that is, calculating the motion amount of the electronic device.
[0058] Furthermore, the first drive unit 1111 sends a corresponding digital motion command to the first digital-to-analog conversion module 112 corresponding to each target motor based on the jitter amount. Upon receiving the digital motion command, the first digital-to-analog conversion module 112 converts the digital motion command into an analog motion command and sends the analog motion command to the corresponding motor. It is understood that the digital motion command is specifically received by the first digital-to-analog conversion module corresponding to the target motor.
[0059] In an embodiment of the present application, a method for implementing an external anti-shake chip is provided.
[0060] In one embodiment of the present application, as shown in FIG4 , the first anti-shake module 111 includes a second drive unit 1113 and a second motion sensor 1114. The external anti-shake chip 110 also includes a second digital-to-analog conversion module 113 and a switch 114 corresponding to each motor. The second drive unit 1113 is respectively connected to the second motion sensor 1114, the second digital-to-analog conversion module 113, and the control end of each switch 114. The second digital-to-analog conversion module 1113 is respectively connected to the corresponding motor via the switch 114.
[0061] The second motion sensor 1114 is used to collect motion information of the electronic device;
[0062] The second driving unit 1113 is configured to obtain motion information from the second motion sensor 1114, determine the amount of motion based on the motion information, and send a digital motion instruction corresponding to each target motor to the second digital-to-analog conversion module 113 in a time-division manner based on the amount of motion, and control the target switch to be turned on. The target switch is the switch corresponding to the target motor corresponding to the digital motion instruction sent at the current moment;
[0063] The second digital-to-analog conversion module 113 is configured to, upon receiving a digital motion instruction, convert the digital motion instruction into an analog motion instruction and send the corresponding analog motion instruction to the target motor.
[0064] 4 illustrates an example of an external anti-shake chip including two switches 114, specifically switch 114a and switch 114b. Furthermore, the second motion sensor 1114 is implemented in the same manner as the first motion sensor 1112, and will not be further described here.
[0065] In this embodiment of the present application, the second drive unit 1113 sends digital motion commands corresponding to different target motors to the second digital-to-analog conversion module 113 in a time-division manner. Simultaneously, the second drive unit 1113 controls the switch corresponding to the target motor corresponding to the currently sent digital motion command to be turned on. At this point, the second digital-to-analog conversion module 113 converts the digital motion command into an analog motion command and then sends the analog motion command to the corresponding target motor.
[0066] In an example, the target motors are motor 120a2 and motor 120b2, and the second drive unit sends a digital motion instruction corresponding to motor 120a2 to the second digital-to-analog conversion module 113 during the time period t1-t2, and sends a digital motion instruction corresponding to motor 120b2 to the second digital-to-analog conversion module 113 during the time period t2-t3. This embodiment is described as follows. Specifically:
[0067] The second drive unit sends the digital motion instruction corresponding to motor 120a2 to the second digital-to-analog conversion module 113 during the t1-t2 time period. Furthermore, the second drive unit controls switch 114a to be turned on during the t1-t2 time period. In this case, the second digital-to-analog conversion module 113 converts the digital motion instruction corresponding to motor 120a2 into an analog motion instruction and sends it during the t1-t2 time period. Since switch 114a is turned on and switch 114b is turned off, motor 120a2 receives the analog motion instruction, while motor 120b2 does not. Furthermore, the second drive unit sends the digital motion instruction corresponding to motor 120b2 to the second digital-to-analog conversion module 113 during the t2-t3 time period. Furthermore, the second drive unit controls switch 114b to be turned on and switch 114a to be turned off during the t2-t3 time period. In this case, the second digital-to-analog conversion module converts the digital motion instruction corresponding to motor 120b2 into an analog motion instruction and sends it during the t2-t3 time period. Since the switch 114b is turned on and the switch 114a is turned off, the motor 120b2 receives the analog motion command, while the motor 120a2 does not receive the analog motion command.
[0068] It should be noted that the switches corresponding one to one with the motors can be implemented by a single-pole multi-throw switch.
[0069] In an embodiment of the present application, a second digital-to-analog conversion module is used to implement the sending of analog motion instructions to multiple target motors. This can reduce the number of components of the camera circuit provided in the embodiment of the present application, thereby reducing the hardware cost of the camera circuit provided in the embodiment of the present application.
[0070] In combination with the embodiments shown in Figures 3 and 4 above, taking into account factors such as hardware cost and hardware design, two digital-to-analog conversion modules can be set in the external anti-shake chip 110, one digital-to-analog conversion module is connected to the motor in the front camera module, and the other digital-to-analog conversion module is connected to the motor in each camera module in the rear camera module.
[0071] In one embodiment of the present application, as shown in FIG5 , the external anti-shake chip 110 provided in the embodiment of the present application further includes a second anti-shake module 115 , and the second anti-shake module 115 is connected to each camera module 120 respectively;
[0072] The second anti-shake module 115 is used to obtain the amount of motion of the electronic device. For any target camera module, it obtains a first image captured by the target camera module and generates a second image based on the first image and the amount of motion.
[0073] In the embodiment of the present application, the second anti-shake module 115 is illustratively an electronic anti-shake module. The second anti-shake module 115 can be illustratively connected to each camera module 120 via a Mobile Industry Processor Interface (MIPI). The image captured by the camera module 120 is recorded as the first image.
[0074] In this embodiment of the present application, the second anti-shake module 115 compensates the first image based on the amount of motion (for example, if the amount of motion indicates that the electronic device has rotated 30° clockwise, the first image is rotated 30° counterclockwise) to obtain the second image. In this way, anti-shake of the camera module can be achieved at the software level.
[0075] In one embodiment of the present application, after the second anti-shake module 115 obtains the second image, the second anti-shake module 115 may send the second image to an image post-processing module in the electronic device.
[0076] In the embodiment of the present application, the external anti-shake chip provided in the embodiment of the present application is provided with a second anti-shake module 115. Based on this, the external anti-shake chip provided in the embodiment of the present application can also implement anti-shake of the camera module at the software level.
[0077] In one embodiment of the present application, the second anti-shake module 115 detects the amount of motion of the electronic device to obtain the amount of motion of the electronic device. On this basis, as shown in Figure 6, the second anti-shake module includes a third motion sensor 1152 and a compensation module 1151. The compensation module 1151 is connected to the third motion sensor 1152, and the compensation module 1151 is connected to each camera module 120.
[0078] The third motion sensor 1152 is used to collect motion information of the electronic device;
[0079] The compensation module 1151 is used to obtain motion information from the third motion sensor, determine the amount of motion based on the motion information, obtain the first image captured by any target camera module, and generate a second image based on the first image and the amount of motion.
[0080] It should be noted that, in the embodiment of the present application, the relationship between the third motion sensor 1152 and the second anti-shake module 115 can be specifically as follows: the entire second anti-shake module 115 includes the third motion sensor.
[0081] In an embodiment of the present application, a method for implementing a second anti-shake module to obtain motion amount is provided.
[0082] In another embodiment of the present application, the second anti-shake module 115 can obtain the information from the first anti-shake module 111. Based on this, as shown in FIG5 , the second anti-shake module 115 is connected to the first anti-shake module 111, and the second anti-shake module 115 is used to obtain the motion amount of the electronic device from the first anti-shake module 111.
[0083] In the embodiment of the present application, the second anti-shake module 115 is not required to detect the amount of motion of the electronic device, which can reduce the use of computing resources of the second anti-shake module 115 and improve the compatibility of the first anti-shake module 114.
[0084] An embodiment of the present application further provides an electronic device, which includes the imaging circuit 100 provided by any of the above embodiments.
[0085] In one embodiment of the present application, the electronic device may be exemplified by: a mobile phone, a tablet computer, a laptop computer, an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, etc., which is not specifically limited in the embodiment of the present application.
[0086] The present application further provides an imaging method, which is applied to the imaging circuit provided in any of the above embodiments, as shown in FIG7 , including:
[0087] S7100: The first anti-shake module obtains the motion amount of the electronic device, and sends a corresponding motion instruction to each target motor according to the motion amount, where the target motor is a motor in a target camera module that is in an on state.
[0088] S7200: When the motor receives the motion instruction, it drives the corresponding camera to move according to the motion instruction.
[0089] In the embodiment of the present application, at least two camera modules achieve anti-shake via an external anti-shake chip. This eliminates the need for a corresponding anti-shake module for each camera module. This avoids the problems of increasing the size of the electronic device due to the large number of anti-shake modules, which prevent it from being thinner and lighter, increasing hardware and software costs, consuming high power when two or more camera modules are in operation, and calibration consistency issues between multiple anti-shake modules.
[0090] In one embodiment of the present application, the camera method provided in the embodiment of the present application further includes, before sending a corresponding motion instruction to each target motor according to the motion amount in S7100, the following steps:
[0091] S7300: The first anti-shake module obtains the operating status of the camera module from the main control chip, and determines the target motor according to the operating status.
[0092] In one embodiment of the present application, the first anti-shake module in the above S7100 obtains the motion amount of the electronic device, including:
[0093] S11. The first motion sensor collects motion information of the electronic device;
[0094] S12, the first driving unit determines the movement amount according to the movement information;
[0095] In this embodiment, the first anti-shake module in S7100 sends a corresponding motion instruction to each of the target motors according to the motion amount, including:
[0096] S13, the first driving unit sends a corresponding digital motion instruction to the first digital-to-analog conversion module corresponding to each of the target motors according to the motion amount;
[0097] S14. Upon receiving the digital motion instruction, the first digital-to-analog conversion module converts the digital motion instruction into an analog motion instruction, and sends the analog motion instruction to the corresponding motor.
[0098] In one embodiment of the present application, the first anti-shake module in S7100 obtains the motion amount of the electronic device, including:
[0099] S21. The second motion sensor collects motion information of the electronic device;
[0100] S22: The second driving unit obtains the motion information from the second motion sensor, and determines the motion amount according to the motion information;
[0101] In this embodiment, the first anti-shake module in S7100 sends a corresponding motion instruction to each of the target motors according to the motion amount, including:
[0102] S23, the second driving module sends the corresponding digital motion instruction of each target motor to the second digital-to-analog conversion module in a time-division manner according to the motion amount, and controls the target switch to be turned on, where the target switch is the switch corresponding to the target motor corresponding to the digital motion instruction sent at the current moment;
[0103] S24 , when the second digital-to-analog conversion module receives the digital motion instruction, it converts the digital motion instruction into an analog motion instruction, and sends the corresponding analog motion instruction to the target motor.
[0104] In one embodiment of the present application, the camera method provided in the embodiment of the present application further includes the following S7400:
[0105] S7400: The second anti-shake module obtains the amount of motion of the electronic device, obtains a first image captured by any target camera module, and generates a second image based on the first image and the amount of motion.
[0106] In one embodiment of the present application, S7400 is specifically implemented by the following steps:
[0107] S31, the third motion sensor collects vibration information of the electronic device;
[0108] S32. The compensation module obtains the motion information from the third motion sensor, determines the amount of motion based on the jitter information, obtains the first image captured by any target camera module, and generates a second image based on the first image and the amount of motion.
[0109] In one embodiment of the present application, in the above S7400, the second anti-shake module obtaining the motion amount of the electronic device includes: the second anti-shake module obtaining the motion amount of the electronic device from the first anti-shake module.
[0110] It should be noted that the implementation of each step in the above method embodiment can refer to the relevant specific implementation in the above camera circuit, which will not be described in detail.
[0111] FIG8 is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0112] The electronic device 1000 includes, but is not limited to, a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, a processor 1010, and an external anti-shake chip 1011. The sensor 1005 includes at least two camera modules 10051.
[0113] Those skilled in the art will appreciate that the electronic device 1000 may further include a power source (such as a battery) for powering various components. The power source may be logically connected to the processor 1010 via a power management system, thereby enabling the power management system to manage charging, discharging, and power consumption. The electronic device structure shown in FIG8 does not limit the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components, or have different component arrangements, which will not be described in detail here.
[0114] The external anti-shake chip 1011 includes a first anti-shake module. Each camera module includes a motor and a camera driven by the motor. The first anti-shake module is connected to each motor respectively.
[0115] The first anti-shake module is used to obtain the movement amount of the electronic device and send a corresponding movement instruction to each target motor according to the movement amount, wherein the target motor is a motor in the target camera module that is in the turned-on state;
[0116] The motor is used to drive the corresponding camera to move according to the motion instruction when the motion instruction is received.
[0117] In the embodiment of the present application, at least two camera modules achieve stabilization through a single external stabilization chip. This eliminates the need for a corresponding stabilization module for each camera module. This avoids the problem of increasing the size of the electronic device due to the large number of stabilization modules, which prevents it from being thinner and lighter, when the electronic device includes multiple camera modules.
[0118] Optionally, the first anti-shake module is connected to a main control chip in the electronic device, and the first anti-shake module is further used to obtain the operating status of the camera module from the main control chip, and determine the target motor according to the operating status.
[0119] The main control chip may be the chip where the processor 1010 in FIG. 8 is located.
[0120] Optionally, the first anti-shake module includes a first drive unit and a first motion sensor, and the external anti-shake chip further includes a first digital-to-analog conversion module corresponding to each of the motors, the first drive units are respectively connected to the corresponding motors via the first digital-to-analog conversion modules, and the first drive units are also connected to the first motion sensor;
[0121] The first motion sensor is used to collect motion information of the electronic device;
[0122] The first driving unit is configured to determine the movement amount according to the movement information, and send a corresponding digital movement instruction to the first digital-to-analog conversion module corresponding to each of the target motors according to the movement amount;
[0123] The first digital-to-analog conversion module is configured to, upon receiving a digital motion instruction, convert the digital motion instruction into an analog motion instruction and send the analog motion instruction to a corresponding motor.
[0124] Optionally, the first anti-shake module includes a second drive unit and a second motion sensor, the external anti-shake chip further includes a second digital-to-analog conversion module and a switch corresponding to each of the motors, the second drive unit is respectively connected to the second motion sensor, the second digital-to-analog conversion module, and the control end of each of the switches, and the second digital-to-analog conversion modules are respectively connected to the corresponding motors via the switches;
[0125] The second motion sensor is used to collect motion information of the electronic device;
[0126] The second driving unit is configured to obtain the motion information from the second motion sensor, determine the motion amount based on the motion information, and send a corresponding digital motion instruction for each target motor to the second digital-to-analog conversion module in a time-division manner based on the motion amount, and control a target switch to be turned on, wherein the target switch is the switch corresponding to the target motor corresponding to the digital motion instruction sent at the current moment;
[0127] The second digital-to-analog conversion module is configured to, upon receiving a digital motion instruction, convert the digital motion instruction into an analog motion instruction and send the corresponding analog motion instruction to the target motor.
[0128] Optionally, the external anti-shake chip further includes a second anti-shake module, and the second anti-shake module is connected to each of the camera modules respectively;
[0129] The second anti-shake module is used to obtain the amount of motion of the electronic device, obtain a first image captured by any target camera module, and generate a second image based on the first image and the amount of motion.
[0130] Optionally, the second anti-shake module includes a third motion sensor and a compensation module, the compensation module is connected to the third motion sensor, and the compensation module is respectively connected to each of the camera modules;
[0131] The third motion sensor is used to collect motion information of the electronic device;
[0132] The compensation module is used to obtain the motion information from the third motion sensor, determine the amount of motion based on the motion information, obtain the first image captured by the target camera module for any target camera module, and generate a second image based on the first image and the amount of motion.
[0133] Optionally, the second anti-shake module is connected to the first anti-shake module, and the second anti-shake module is used to obtain the movement amount of the electronic device from the first anti-shake module.
[0134] It should be understood that in an embodiment of the present application, the input unit 1004 may include a graphics processing unit (GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and at least one of other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.
[0135] The memory 1009 can be used to store software programs and various data. The memory 1009 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 1009 may include a volatile memory or a non-volatile memory, or the memory 1009 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 1009 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0136] Processor 1010 may include one or more processing units. Optionally, processor 1010 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 1010.
[0137] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned camera method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0138] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0139] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned camera method embodiment and achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0140] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0141] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned camera method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0142] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), including a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0144] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.
Claims
1. A camera circuit, applied to electronic equipment, comprising: External anti-shake chip and at least two camera modules, including: The external anti-shake chip includes a first anti-shake module, any of the camera modules includes a motor and a camera driven by the motor, and the first anti-shake module is respectively connected to each of the motors; The first anti-shake module is used to obtain the movement amount of the electronic device, and send a corresponding movement instruction to each target motor according to the movement amount, and the target motor is a motor in the target camera module in the turned-on state; The motor is used to drive the corresponding camera to move according to the motion instruction when the motion instruction is received.
2. The circuit according to claim 1, wherein The first anti-shake module is connected to the main control chip in the electronic device, and the first anti-shake module is used to obtain the operating status of the at least two camera modules from the main control chip, and determine the target motor according to the operating status.
3. The circuit according to claim 1, wherein: The first anti-shake module includes a first driving unit and a first motion sensor, the external anti-shake chip also includes a first digital-to-analog conversion module corresponding to each of the motors, the first driving unit is connected to the corresponding motor through the first digital-to-analog conversion module, and the first driving unit is also connected to the first motion sensor; The first motion sensor is used to collect motion information of the electronic device; The first driving unit is used to obtain the motion information from the first motion sensor, determine the motion amount according to the motion information, and send a corresponding digital motion instruction to the first digital-to-analog conversion module corresponding to each of the target motors according to the motion amount; The first digital-to-analog conversion module is used for converting the digital rotation instruction into an analog motion instruction when receiving the digital motion instruction, and sending the analog motion instruction to the corresponding motor.
4. The circuit according to claim 1, wherein: The first anti-shake module includes a second driving unit and a second motion sensor, the external anti-shake chip also includes a second digital-to-analog conversion module and a switch corresponding to each of the motors, the second driving unit is respectively connected to the second motion sensor, the second digital-to-analog conversion module and the control end of each of the switches, and the second digital-to-analog conversion modules are respectively connected to the corresponding motors through the switches; The second motion sensor is used to collect motion information of the electronic device; The second driving unit is used to obtain the motion information from the second motion sensor, determine the motion amount according to the motion information, and send a digital motion instruction corresponding to each target motor to the second digital-to-analog conversion module in a time-division manner according to the motion amount, and control the target switch to be turned on, wherein the target switch is a switch corresponding to the target motor corresponding to the digital motion instruction sent at the current moment; The second digital-to-analog conversion module is used for, upon receiving a digital motion instruction, converting the digital motion instruction into an analog motion instruction and sending the corresponding analog motion instruction to the target motor.
5. The circuit according to claim 1, wherein: The external anti-shake chip further includes a second anti-shake module, and the second anti-shake module is respectively connected to each of the camera modules; The second anti-shake module is used to obtain the amount of motion of the electronic device, and for any target camera module, obtain a first image captured by the target camera module, and generate a second image based on the first image and the amount of motion.
6. The circuit according to claim 5, wherein: The second anti-shake module includes a third motion sensor and a compensation module, the compensation module is connected to the third motion sensor, and the compensation module is respectively connected to each of the camera modules; The third motion sensor is used to collect motion information of the electronic device; The compensation module is used to obtain the motion information from the third motion sensor, determine the amount of motion based on the motion information, obtain the first image captured by the target camera module for any target camera module, and generate a second image based on the first image and the amount of motion.
7. The circuit according to claim 5, wherein: The second anti-shake module is connected to the first anti-shake module, and the second anti-shake module is used to obtain the movement amount of the electronic device from the first anti-shake module.
8. A camera method, the method being applied to the camera circuit according to any one of claims 1 to 7, comprising: The first anti-shake module obtains the movement amount of the electronic device, and sends a corresponding movement instruction to each target motor according to the movement amount, wherein the target motor is a motor in a target camera module that is in an on state; When receiving the motion instruction, the motor drives the corresponding camera to move according to the motion instruction.
9. The method according to claim 8, wherein: The first anti-shake module includes a first driving unit and a first motion sensor, and the external anti-shake chip also includes a first digital-to-analog conversion module corresponding to each of the motors. The first anti-shake module obtains the motion amount of the electronic device, including: The first motion sensor collects motion information of the electronic device; The first driving unit determines the movement amount according to the movement information; The first anti-shake module generates a corresponding motion instruction to each of the target motors according to the motion amount, including: The first driving unit sends a corresponding digital motion instruction to the first digital-to-analog conversion module corresponding to each of the target motors according to the motion amount; When receiving the digital motion instruction, the first digital-to-analog conversion module converts the digital motion instruction into an analog motion instruction and sends the analog motion instruction to the corresponding motor.
10. The method according to claim 8, wherein: The method further comprises: The second anti-shake module obtains the motion amount of the electronic device, obtains a first image captured by any target camera module, and generates a second image according to the first image and the motion amount; The second anti-shake module obtains the movement amount of the electronic device from the first anti-shake module.
11. An electronic device, comprising the imaging circuit according to any one of claims 1 to 7.
12. A readable storage medium storing a program or an instruction, wherein the program or the instruction, when executed by a processor, implements the steps of the imaging method according to any one of claims 8 to 10.
13. A chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the steps of the imaging method according to any one of claims 8 to 10.
14. A computer program product, wherein the program product is stored in a storage medium and is executed by at least one processor to implement the steps of the imaging method according to any one of claims 8 to 10.
Citation Information
Patent Citations
Lens control method and mobile terminal
CN108337381A
Camera anti-shake system and method, electronic device and computer readable storage medium
CN109951639A
Camera anti-shake system and method, electronic equipment and computer readable storage medium
CN110049238A
Image pickup circuit, image pickup method and electronic equipment
CN116156290A
Lens driving apparatus with closed-loop Anti-shake structure
US20160299350A1
