Camera circuit, camera method, and electronic equipment
By connecting an external anti-shake chip to multiple camera modules and using motion sensors and digital-to-analog conversion modules to drive the motor for anti-shake, the problem of increased volume of smartphones due to the large number of anti-shake modules is solved, achieving lightweight design and cost optimization.
Patent Information
- Application Number
- CN202310138278.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-02-20
AI Technical Summary
In existing smartphones, the provision of an anti-shake module for each camera module increases the size of the device and prevents it from being made thinner and lighter.
An external anti-shake chip is used, which is connected to multiple camera modules through an anti-shake module. The motion sensor is used to obtain the movement of the device, and motion instructions are generated to drive the motor for anti-shake. The camera's anti-shake is achieved by combining the digital-to-analog conversion module and switch control.
It avoids the problem of increased device size caused by a large number of anti-shake modules, reduces hardware costs and power consumption, solves the calibration consistency problem of multiple camera modules, and achieves a lightweight design.
Smart Images

Figure CN116156290B_ABST
Abstract
Description
Technical Field
[0001] 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
[0002] 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.
[0003] 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.
[0004] 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. Summary of the Invention
[0005] The purpose of the embodiments of the present application is to provide a camera circuit, a camera method and a device that can solve the problem that smartphones cannot be made thinner because each camera module is equipped with an anti-shake module.
[0006] 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:
[0007] 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;
[0008] 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;
[0009] The motor is used to drive the corresponding camera to move according to the motion instruction when the motion instruction is received.
[0010] 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:
[0011] 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;
[0012] When the motor receives the motion instruction, it drives the corresponding camera to move according to the motion instruction.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes the camera circuit described in the first aspect.
[0014] 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 first aspect are implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method described in the first aspect.
[0016] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the method described in the first aspect.
[0017] 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
[0018] Figure 1 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 1 ;
[0019] Figure 2 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 2 ;
[0020] Figure 3 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 3 ;
[0021] Figure 4 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 4 ;
[0022] Figure 5 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 5 ;
[0023] Figure 6 This is a schematic diagram of the structure of a camera circuit provided in an embodiment of the present application. Figure 6 ;
[0024] Figure 7 This is a flowchart of a camera method provided in an embodiment of the present application;
[0025] Figure 8 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0026] 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.
[0027] 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.
[0028] The following describes in detail the camera circuit, camera method and device provided in the embodiments of the present application through specific embodiments and their application scenarios in combination with the accompanying drawings.
[0029] The embodiment of the present application provides a camera circuit 100, which is applied to electronic devices such as Figure 1As shown, the camera circuit 100 includes an external anti-shake chip 110 and at least two camera modules 120, wherein:
[0030] 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.
[0031] 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;
[0032] The motor is used to drive the corresponding camera to move according to the motion instruction when receiving the motion instruction.
[0033] It should be noted that Figure 1 The camera circuit 100 includes two camera modules 120 as an example, and the two camera modules 120 are respectively a camera module 120a and a camera module 120b, wherein the camera module 120a includes a camera 120a1 and a motor 120a2, and the camera module 120b includes a camera 120b1 and a motor 120b2.
[0034] 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.
[0035] 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 rotation amplitude and / or movement amplitude. Based on this, the amplitude of motion can be described by tilt angle and / or movement amount, etc.
[0036] 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.
[0037] 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:
[0038] 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.
[0039] 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.
[0040] It is understandable that the target motor is specifically a motor that will receive a motion instruction.
[0041] 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.
[0042] 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.
[0043] In one embodiment of the present application, Figure 2 As shown, the electronic device further includes a main control chip 200. The first anti-shake module 110 is connected to the main control chip 200 in the electronic device, and is used to obtain the operating status of at least two camera modules 120 from the main control chip 200 and determine the target motor according to the operating status.
[0044] In one embodiment of the present application, the first anti-shake module 110 is connected to the main control chip 200 via I2C. The main control chip 200 can be exemplarily an application processor (AP) chip.
[0045] 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.
[0046] The first anti-shake module 110 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 110 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 110 determines the camera module 120 in the operating state as the target camera module and further determines the motor in the target camera module as the target motor.
[0047] In an embodiment of the present application, the first anti-shake module 110 directly obtains the operating status of at least two camera modules from the main control module 200, without the first anti-shake module 110 judging the operating status of at least two camera modules on its own, which can reduce the use of computing resources of the first anti-shake module 110.
[0048] In one embodiment of the present application, Figure 3 As shown, the first anti-shake module 111 includes a first driving module 1111 and a first motion sensor 1112. The external anti-shake chip 110 also includes a first digital-to-analog conversion module 112 corresponding to each motor. The first driving units 1111 are connected to the corresponding motors through the first digital-to-analog conversion modules 112, and the first driving units 1111 are also connected to the first motion sensor 1112.
[0049] The first motion sensor 1112 is used to collect motion information of the electronic device;
[0050] 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;
[0051] 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.
[0052] It should be noted that Figure 2 In the figure, the external anti-shake chip 110 includes two first digital-to-analog conversion modules 112 as an example, and 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.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] In an embodiment of the present application, a method for implementing an external anti-shake chip is provided.
[0057] In one embodiment of the present application, Figure 4 As shown, 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 through the switch 114.
[0058] The second motion sensor 1114 is used to collect motion information of the electronic device;
[0059] 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;
[0060] 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.
[0061] It should be noted that Figure 4 In the figure, the external anti-shake chip includes two switches 114 as an example, and the two switches 114 are specifically switch 114a and switch 114b. In addition, the specific implementation of the second motion sensor 1114 is the same as that of the first motion sensor 1112, which will not be repeated here.
[0062] 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.
[0063] 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:
[0064] 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.
[0065] It should be noted that the switches corresponding one to one with the motors can be implemented by a single-pole multi-throw switch.
[0066] 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.
[0067] Combined with the above Figure 3 and Figure 4In the embodiment shown, 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.
[0068] In one embodiment of the present application, Figure 5 As shown, the external anti-shake chip 110 provided in the embodiment of the present application further includes a second anti-shake module 114, and the second anti-shake module 114 is connected to each camera module 120 respectively;
[0069] The second anti-shake module 114 is used to obtain the amount of motion of the electronic device. For any target camera module, it obtains the first image captured by the target camera module and generates a second image based on the first image and the amount of motion.
[0070] In the embodiment of the present application, the second anti-shake module 114 is exemplarily an electronic anti-shake module. The second anti-shake module 114 can be exemplarily connected to each camera module 120 via MIPI. The image captured by the camera head module 120 is recorded as the first image.
[0071] In this embodiment of the present application, the second anti-shake module 114 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 implemented at the software level.
[0072] In one embodiment of the present application, after the second anti-shake module 114 obtains the second image, the second anti-shake module 114 may send the second image to an image post-processing module in the electronic device.
[0073] 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 114. 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.
[0074] In one embodiment of the present application, the second anti-shake module 114 detects the motion amount of the electronic device to obtain the motion amount of the electronic device. Figure 6 As shown, the second anti-shake module includes a third motion sensor 1142 and a compensation module 1141. The compensation module 1141 is connected to the third motion sensor 1142, and the compensation module 1141 is connected to each camera module 120.
[0075] The third motion sensor 1142 is used to collect motion information of the electronic device;
[0076] The compensation module 1141 is used to obtain motion information from the third motion sensor, determine the amount of motion based on the motion information, 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.
[0077] It should be noted that, in the embodiment of the present application, the relationship between the third motion sensor 1142 and the second anti-shake module 114 can be specifically as follows: the entire second anti-shake module 114 includes the third motion sensor.
[0078] In an embodiment of the present application, a method for implementing a second anti-shake module to obtain motion amount is provided.
[0079] In another embodiment of the present application, the second anti-shake module 114 can be obtained from the first anti-shake module 111. Based on this, Figure 5 As shown, the second anti-shake module 114 is connected to the first anti-shake module 111 , and the second anti-shake module 114 is used to obtain the motion amount of the electronic device from the first anti-shake module 111 .
[0080] In the embodiment of the present application, the second anti-shake module 114 is not required to detect the motion amount of the electronic device. In this way, the use of computing resources of the second anti-shake module 114 can be reduced and the compatibility of the first anti-shake module 114 can be improved.
[0081] An embodiment of the present application further provides an electronic device, which includes the imaging circuit 100 provided in any of the above embodiments.
[0082] 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.
[0083] The present application also provides a camera method, which is applied to the camera circuit provided in any of the above embodiments, such as Figure 7 As shown, including:
[0084] S7100: A first anti-shake module obtains a 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.
[0085] S7200: When the motor receives the motion instruction, it drives the corresponding camera to move according to the motion instruction.
[0086] 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.
[0087] 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:
[0088] 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.
[0089] 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:
[0090] S11. The first motion sensor collects motion information of the electronic device;
[0091] S12. The first driving unit determines the movement amount according to the movement information;
[0092] 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:
[0093] 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;
[0094] 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.
[0095] In one embodiment of the present application, the first anti-shake module in S7100 obtains the motion amount of the electronic device, including:
[0096] S21. The second motion sensor collects motion information of the electronic device;
[0097] S22: The second driving unit obtains the motion information from the second motion sensor, and determines the motion amount according to the motion information;
[0098] 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:
[0099] 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;
[0100] 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.
[0101] In one embodiment of the present application, the camera method provided in the embodiment of the present application further includes the following S7400:
[0102] 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.
[0103] In one embodiment of the present application, S7400 is specifically implemented by the following steps:
[0104] S31, the third motion sensor collects vibration information of the electronic device;
[0105] 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.
[0106] 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.
[0107] 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.
[0108] Figure 8 A schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0109] 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.
[0110] Those skilled in the art will understand that the electronic device 1000 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 1010 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.
[0111] 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.
[0112] 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;
[0113] The motor is used to drive the corresponding camera to move according to the motion instruction when the motion instruction is received.
[0114] 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.
[0115] 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.
[0116] Among them, the main control chip can be Figure 8 The chip where the processor 1010 is located.
[0117] 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;
[0118] The first motion sensor is used to collect motion information of the electronic device;
[0119] 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;
[0120] 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.
[0121] 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;
[0122] The second motion sensor is used to collect motion information of the electronic device;
[0123] 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;
[0124] 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.
[0125] 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;
[0126] 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.
[0127] 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;
[0128] The third motion sensor is used to collect motion information of the electronic device;
[0129] 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.
[0130] 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.
[0131] 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.
[0132] 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.
[0133] 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.
[0134] 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.
[0135] 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.
[0136] 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.
[0137] 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.
[0138] 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.
[0139] 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.
[0140] 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.
[0141] 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, characterized in that: Applicable to electronic devices, including: an external anti-shake chip and at least two camera modules, wherein: 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; 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, wherein the movement amount is used to represent the movement amplitude of the electronic device; The motor is used to drive the corresponding camera to move according to the movement instruction when receiving the movement instruction; 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 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. The first motion sensor is used to collect motion information of the electronic device; The first driving unit is configured 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 configured to, upon receiving a digital motion instruction, convert the digital rotation instruction into an analog motion instruction and send the analog motion instruction to a corresponding motor.
2. The circuit according to claim 1, wherein: The first anti-shake module is connected to the main control chip in the electronic device. 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 second drive 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 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 through the switches; The second motion sensor is used to collect motion information of the electronic device; 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 digital motion instruction corresponding to 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; 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.
4. 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 connected to each of the camera modules respectively; 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.
5. The circuit according to claim 4, characterized in that 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.
6. The circuit according to claim 4, characterized in that The second anti-shake module is connected to the first anti-shake module, and is configured to obtain the motion amount of the electronic device from the first anti-shake module.
7. A camera method, characterized in that: The method is applied to the imaging circuit according to any one of claims 1 to 6, comprising: The first anti-shake module obtains a motion amount of the electronic device and sends a corresponding motion instruction to each target motor according to the motion amount, wherein the target motor is a motor in a target camera module that is in an on state, wherein the motion amount is used to represent the motion amplitude of the electronic device; When the motor receives the motion instruction, it drives the corresponding camera to move according to the motion instruction.
8. The method according to claim 7, characterized in that 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 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; 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.
9. The method according to claim 7, characterized in that 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 based on 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.
10. An electronic device, characterized in that: The electronic device comprises the imaging circuit according to any one of claims 1 to 6.
Citation Information
Patent Citations
Camera anti-shake system and method, electronic equipment and storage medium
CN109842753A
Cited By
Shooting circuit, shooting method, and electronic device
EP4672768A1