Power supply circuits and electronic equipment
By providing a power supply circuit in the electronic device to adjust the power supply voltage of the motor driver IC according to the focus position, the power consumption and heat problems caused by the constant voltage power supply are solved, and the user experience is improved.
Patent Information
- Application Number
- CN202110949086.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-18
- Publication Date
- 2025-10-14
- Estimated Expiration
- 2041-08-18
AI Technical Summary
In the prior art, the camera motor driver IC of an electronic device is powered by a constant voltage power supply, which results in increased power consumption and heat, affecting the user experience.
A power supply circuit is provided to adjust the power supply voltage of the motor driver IC according to different focus positions, maintain a small impedance to reduce power consumption and heat, and adjust the power supply voltage by obtaining feedback voltage or current value through the processor.
It effectively reduces the power consumption and heat of the motor driver IC, improving the user experience of the electronic device camera.
Smart Images

Figure CN115714890B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of smart terminal technology, and in particular to power supply circuits and electronic equipment. Background Art
[0002] Currently, camera motors in electronic devices such as mobile phones are mostly voice coil motors (VCMs). They rely on the magnetic force of a coil energized to push a magnet to focus the camera. The coil current is controlled by a motor driver IC. Currently, this motor driver IC is often powered by a constant voltage power supply. This power supply method causes the driver IC to consume unnecessary power, generating heat and impacting the user experience of the camera on the electronic device. Summary of the Invention
[0003] The present application provides a power supply circuit and electronic device that can reduce the power consumption and heat generated by a motor driver IC and improve the user experience of the camera on the electronic device.
[0004] In a first aspect, the present application provides a power supply circuit for use in an electronic device, the electronic device including a first camera module, the first camera module including: a first motor driver IC and a first motor, the first motor driver IC being configured to drive the first motor, the power supply circuit including: a first power supply circuit, wherein a voltage output terminal of the first power supply circuit is connected to a voltage input terminal of the first motor driver IC; and the first power supply circuit being configured to output a power supply voltage having a first voltage value to the first motor driver IC, the first voltage value being a voltage value corresponding to a first focus position of a lens in the first camera module. The power supply circuit outputs different power supply voltages to the first motor driver IC for different focus positions, thereby enabling the first motor driver IC to maintain a relatively low impedance, eliminating the need to increase impedance to drive the first motor. This reduces power consumption and heat generated by the motor driver IC, thereby improving the user experience of the camera on the electronic device.
[0005] In one possible implementation, the first voltage value is the minimum voltage required by the first motor driver IC to drive the first motor and position the lens of the first camera module to the first focus position without increasing the impedance of the conductive switch. This minimizes the power consumption of the first motor driver IC, thereby reducing power consumption and heat generated by the motor driver IC and improving the user experience of the camera on the electronic device.
[0006] In one possible implementation, the first power supply circuit is specifically used to: obtain a feedback voltage of the first motor driver IC, and adjust the supply voltage output by the first power supply circuit according to the feedback voltage so that the supply voltage is the supply voltage corresponding to the first focus position.
[0007] In one possible implementation, it also includes: a processor; wherein the processor is used to: calculate a first voltage value based on the first current value, and send a control signal to the first power supply circuit based on the first voltage value; the first current value is the current value required by the first motor to focus the lens of the first camera module; the first power supply circuit is specifically used to: adjust the supply voltage output by the first power supply circuit according to the control signal, so that the voltage value of the supply voltage is the first voltage value.
[0008] In one possible implementation, the device further includes a processor, wherein the processor is configured to calculate a first voltage value based on the first current value, and send the first voltage value to the first power supply circuit; the first current value is a current value required by the first motor to focus the lens of the first camera module;
[0009] The first power supply circuit is specifically configured to receive the first voltage value and output a power supply voltage of the first voltage value.
[0010] In one possible implementation, the first power supply circuit is used to output a supply voltage of a first voltage value to the motor driver IC, including: the first power supply circuit is used to obtain a first current value, calculate a first voltage value based on the first current value, and output the first voltage from the voltage output end; the first current value is the current value required by the first motor to focus the lens of the first camera module.
[0011] In one possible implementation, it also includes: a processor; wherein the first signal receiving end of the first power supply circuit is connected to the first signal output end of the processor, and the first signal receiving end of the first power supply circuit is used to receive the first current value sent by the processor; the first power supply circuit is used to: obtain the first current value from the processor.
[0012] In a possible implementation, it also includes: the feedback signal receiving end of the first power supply circuit is connected to the voltage feedback end of the first motor driver IC, and the feedback signal receiving end is used to receive the first feedback voltage output by the voltage feedback end of the first motor driver IC, and the first feedback voltage is positively correlated with the voltage received by the voltage receiving end of the first motor driver IC; the first power supply circuit is used to: adjust the output voltage of the voltage output end according to the first feedback voltage until the voltage received by the voltage input end of the first motor driver IC reaches the first voltage value.
[0013] In a possible implementation, it also includes: a feedback signal receiving end of the first power supply circuit is connected to the second signal output end of the processor, and the feedback signal receiving end of the first power supply circuit is used to receive a feedback voltage value sent by the processor, and the feedback voltage value is a voltage value calculated by the processor based on the real-time focus information obtained from the first image sensor, and the feedback voltage value is positively correlated with the voltage received by the voltage receiving end of the first motor driver IC; the first power supply circuit is used to: adjust the output voltage of the voltage output end according to the feedback voltage value until the voltage received by the voltage input end of the first motor driver IC reaches the first voltage value.
[0014] In one possible implementation, it also includes: a second power supply circuit, wherein the voltage output terminal and the feedback signal input terminal of the second power supply circuit are both connected to the voltage input terminal of the first image sensor; the first image sensor is the image sensor in the first camera module; the second power supply circuit is used to adjust the voltage output by the voltage output terminal according to the feedback voltage received by the feedback signal input terminal, so that the voltage received by the voltage input terminal of the first image sensor reaches a first target voltage value, and the first target voltage value is the minimum voltage value required by the first image sensor.
[0015] In a possible implementation, it also includes: the voltage output end of the first power supply circuit is connected to the voltage input end of the second motor driver IC; the second motor driver IC is a motor driver IC in the second camera module, used to drive the second motor in the second camera module; the second camera module is arranged in the electronic device; the first power supply circuit is also used to: output a supply voltage of a first voltage value to the second motor driver IC, and the first voltage value is greater than or equal to the second voltage value corresponding to the second focusing position of the lens in the second camera module.
[0016] In one possible implementation, the second voltage value is the minimum voltage required for the second motor driver IC to drive the second motor without increasing the impedance of the conduction switch tube, so that the lens of the second camera module reaches the second focus position.
[0017] In a possible implementation, the feedback signal receiving end of the first power supply circuit is connected to the voltage feedback end of the first motor driver IC, including: the feedback signal receiving end of the first power supply circuit is connected to the voltage feedback end of the first motor driver IC through a first diode.
[0018] In a possible implementation, it also includes: the feedback signal receiving end of the first power supply circuit is also connected to the voltage feedback end of the second motor driver IC through a second diode, and the feedback signal receiving end is used to receive the second feedback voltage output by the voltage feedback end of the second motor driver IC, and the second feedback voltage is positively correlated with the voltage received by the voltage receiving end of the second motor driver IC.
[0019] In one possible implementation, it further includes: a third power supply circuit, wherein the voltage output terminal and the feedback signal input terminal of the third power supply circuit are both connected to the voltage input terminal of the second image sensor; the second image sensor is the image sensor in the second camera module; the third power supply circuit is used to adjust the voltage output by the voltage output terminal according to the feedback voltage received by the feedback signal input terminal, so that the voltage received by the voltage input terminal of the second image sensor reaches a second target voltage value, and the second target voltage value is the minimum voltage value required by the second image sensor.
[0020] In a second aspect, an embodiment of the present application provides an electronic device, comprising the power supply circuit described in any one of the first aspects. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 This is a schematic diagram of the working principle of the motor driver IC in the prior art;
[0022] Figure 2 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application;
[0023] Figure 3 This is a schematic diagram of a power supply circuit structure according to an embodiment of the present application;
[0024] Figure 4 This is another schematic diagram of the power supply circuit structure according to an embodiment of the present application;
[0025] Figure 5A This is another schematic diagram of a power supply circuit structure according to an embodiment of the present application;
[0026] Figure 5B This is another schematic diagram of a power supply circuit structure according to an embodiment of the present application;
[0027] Figure 5C A schematic diagram of the structure of a motor driver IC according to an embodiment of the present application;
[0028] Figure 5D A structure schematic diagram of a first power supply circuit of an embodiment of the present application;
[0029] Figure 5E A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0030] Figure 5F A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0031] Figure 5G A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0032] Figure 6A A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0033] Figure 6B A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0034] Figure 7A A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0035] Figure 7B A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0036] Figure 7C A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0037] Figure 8A A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0038] Figure 8B A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0039] Figure 9 A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0040] Figure 10A A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0041] Figure 10B A structure schematic diagram of a second power supply circuit of an embodiment of the present application;
[0042] Figure 11 A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0043] Figure 12 A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0044] Figure 13 A structure schematic diagram of another power supply circuit of an embodiment of the present application;
[0045] Figure 14 Another power supply circuit structure schematic diagram for the embodiment of the present application;
[0046] Figure 15 Another power supply circuit structure schematic diagram for the embodiment of the present application;
[0047] Figure 16 Another power supply circuit structure schematic diagram for the embodiment of the present application. DETAILED DESCRIPTION
[0048] The terms used in the embodiment part of the present application are only used for explaining the specific embodiments of the present application, and are not intended to limit the present application.
[0049] Electronic devices such as mobile phones are provided with camera modules, and motors for focusing are provided in the camera modules. These motors are mostly in the form of voice coil motors (VCM), which rely on the magnetic force of the coil after being electrified to push the magnet to focus the lens in the camera module. The current of the coil is controlled by a motor drive IC. At present, the power supply for this motor drive IC mostly adopts constant voltage power supply, which will cause unnecessary power consumption of the motor drive IC, and further generate heat, affecting the user's experience of using the camera on the electronic device.
[0050] Figure 1 A principle schematic diagram for the motor drive IC to supply power to the coil in the motor. The power supply of the motor drive IC is connected to the coil of the motor through four MOS tubes. The motor drive IC can transmit the required current and current direction to the coil of the motor by controlling the on-off state and impedance of the four MOS tubes M1-M4.
[0051] The power supply current output by the motor drive IC to the motor coil is usually the largest under macro, and the maximum power supply current I max The calculation formula is I max = VDD / (R 线圈 + R MOS-max ), and R MOS-max may be the minimum impedance of the MOS tube. In general focusing scenarios, the power supply current I normal output by the motor drive IC to the motor coil is much smaller than the maximum power supply current I max . In the case where the power supply voltage VDD of the motor drive IC is constant, the motor drive IC needs to increase the impedance R MOS of the MOS tube to generate a current I normal on the coil.
[0052] At this time, the calculation formula of the increased impedance R MOS-normal of the MOS tube is: RMOS-normal =(VDD / I normal )-R 线圈 , R will be generated on the MOS tube MOS-normal *I normal This part of the power consumption does not produce any effect, it only affects the heating of the electronic equipment and is completely redundant.
[0053] Based on the above analysis, it can be seen that when existing electronic devices use camera modules, the motor driver IC will generate excess power consumption, causing the electronic devices to generate excess heat, affecting the user experience of the camera in the electronic device.
[0054] In order to solve the above problems, the embodiments of the present application provide a power supply circuit and an electronic device, which can reduce the power consumption and heat generated by the motor driver IC during the focusing process of the camera module, and improve the user experience of the camera on the electronic device.
[0055] The method provided in the embodiments of the present application can be applied to electronic devices, in which a camera module that uses a motor to focus the lens is provided. The electronic devices may be, for example: mobile phones, cameras, tablet computers (Pad, portable Android device), personal computers (PC, person computer), wearable devices such as smart glasses, smart watches, smart screens, etc.
[0056] For example, Figure 2 : The figure shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identification module (SIM) card interface 195. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0057] It should be understood that the structure illustrated in the embodiments of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0058] The processor 110 may include one or more processing units. For example, the processor 110 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.
[0059] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.
[0060] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.
[0061] In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface.
[0062] The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may include multiple I2C bus lines. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, and the like via different I2C bus interfaces. For example, the processor 110 may be coupled to the touch sensor 180K via the I2C interface, enabling communication between the processor 110 and the touch sensor 180K via the I2C bus interface, thereby implementing the touch function of the electronic device 100.
[0063] The I2S interface can be used for audio communication. In some embodiments, the processor 110 can include multiple I2S buses. The processor 110 can be coupled to the audio module 170 via the I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the I2S interface, enabling the function of answering calls through a Bluetooth headset.
[0064] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 can be coupled via a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 via the PCM interface, enabling the function of answering calls via a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
[0065] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 110 and the wireless communication module 160. For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 via the UART interface, enabling the function of playing music through Bluetooth headphones.
[0066] The MIPI interface can be used to connect the processor 110 to peripheral devices such as the display 194 and the camera 193. MIPI interfaces include the camera serial interface (CSI) and the display serial interface (DSI). In some embodiments, the processor 110 and the camera 193 communicate via the CSI interface to implement the camera function of the electronic device 100. The processor 110 and the display 194 communicate via the DSI interface to implement the display function of the electronic device 100.
[0067] The GPIO interface can be configured via software. The GPIO interface can be configured as either a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 110 to the camera 193, display 194, wireless communication module 160, audio module 170, sensor module 180, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.
[0068] The USB interface 130 is an interface that complies with USB standards and may be a Mini USB interface, a Micro USB interface, a USB Type-C interface, or the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, or to transfer data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio. This interface can also be used to connect other electronic devices, such as augmented reality devices.
[0069] It is understood that the interface connection relationship between the modules illustrated in the embodiment of the present invention is merely an illustrative illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods from the above embodiments, or a combination of multiple interface connection methods.
[0070] The charging management module 140 is configured to receive charging input from a charger. The charger can be either a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 can receive charging input from the wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 can receive wireless charging input via the wireless charging coil of the electronic device 100. While charging the battery 142, the charging management module 140 can also provide power to the electronic device via the power management module 141.
[0071] The power management module 141 is used to connect the battery 142, the charging management module 140, and the processor 110. The power management module 141 receives input from the battery 142 and / or the charging management module 140, and provides power to the processor 110, the internal memory 121, the display 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In some other embodiments, the power management module 141 can also be set in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 can also be set in the same device.
[0072] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.
[0073] Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In other embodiments, the antennas can be used in conjunction with a tuning switch.
[0074] The mobile communication module 150 can provide solutions for wireless communications including 2G / 3G / 4G / 5G applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a low noise amplifier (LNA), etc. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, and filter, amplify, and process the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and convert it into electromagnetic waves for radiation through the antenna 1. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 can be set in the same device as at least some of the modules of the processor 110.
[0075] The modem processor may include a modulator and a demodulator. The modulator is used to modulate the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After being processed by the baseband processor, the low-frequency baseband signal is passed to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be an independent device. In other embodiments, the modem processor may be independent of the processor 110 and be set in the same device as the mobile communication module 150 or other functional modules.
[0076] The wireless communication module 160 can provide wireless communication solutions including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared (IR), etc., which are applied to the electronic device 100. The wireless communication module 160 can be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The wireless communication module 160 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2.
[0077] In some embodiments, the antenna 1 and the mobile communication module 150 of the electronic device 100 are coupled, and the antenna 2 and the wireless communication module 160 are coupled, so that the electronic device 100 can communicate with a network and other devices through wireless communication technology. The wireless communication technology can include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology, etc. The GNSS can include a global positioning system (GPS), a global navigation satellite system (GLONASS), a beidu navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and / or a satellite based augmentation systems (SBAS).
[0078] The electronic device 100 implements a display function through a GPU, a display screen 194, and an application processor, etc. The GPU is a microprocessor for image processing, which is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 can include one or more GPUs, which execute program instructions to generate or change display information.
[0079] Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, electronic device 100 may include one or N display screens 194, where N is a positive integer greater than one.
[0080] The electronic device 100 can implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, and an application processor.
[0081] The ISP processes data fed back by camera 193. For example, when taking a photo, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, which is then passed to the ISP for processing and converted into a visible image. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. It can also optimize parameters such as exposure and color temperature of the captured scene. In some embodiments, the ISP can be located within camera 193.
[0082] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then passes the electrical signal to the ISP for conversion into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.
[0083] The digital signal processor is used to process digital signals, in addition to being able to process digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
[0084] The video codec is used to compress or decompress digital video. The electronic device 100 can support one or more video codecs. In this way, the electronic device 100 can play or record videos in multiple encoding formats, such as: moving picture experts group (MPEG) 1, MPEG 2, MPEG 3, MPEG 4, etc.
[0085] The NPU is a neural-network (NN) calculation processor, which can quickly process input information by drawing on the structure of a biological neural network, such as drawing on the transmission mode between human brain neurons, and can also constantly self-learn. Through the NPU, the electronic device 100 can realize intelligent cognition applications such as image recognition, face recognition, voice recognition, text understanding, etc.
[0086] The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to realize data storage functions. For example, music, video, etc. Files are saved in the external memory card.
[0087] The internal memory 121 can be used to store computer executable program codes, which include instructions. The internal memory 121 can include a program storage area and a data storage area. The program storage area can store an operating system, at least one application program required by a function (such as a sound playing function, an image playing function, etc.), etc. The data storage area can store data created during the use of the electronic device 100 (such as audio data, a phonebook, etc.), etc. In addition, the internal memory 121 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash storage (UFS), etc. The processor 110 executes various function applications and data processing of the electronic device 100 by running instructions stored in the internal memory 121 and / or instructions stored in the memory disposed in the processor.
[0088] The electronic device 100 can realize audio functions through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the earphone interface 170D, and the application processor, etc. For example, music playing, recording, etc.
[0089] The audio module 170 is configured to convert digital audio information into an analog audio signal output, and to convert an analog audio input into a digital audio signal. The audio module 170 can also be configured to encode and decode audio signals. In some embodiments, the audio module 170 can be disposed in the processor 110, or some of the functions of the audio module 170 can be disposed in the processor 110.
[0090] The speaker 170A, also referred to as a "loudspeaker", is configured to convert an audio electrical signal into a sound signal. The electronic device 100 can listen to music or listen to a hands-free call through the speaker 170A.
[0091] The receiver 170B, also referred to as a "earpiece", is configured to convert an audio electrical signal into a sound signal. When the electronic device 100 receives a call or a voice message, the user can listen to the voice by holding the receiver 170B close to the ear.
[0092] The microphone 170C, also referred to as a "microphone", "sound transducer", is configured to convert a sound signal into an electrical signal. When making a call or sending a voice message, the user can speak into the microphone 170C by holding the mouth close to the microphone 170C, and the sound signal is input into the microphone 170C. The electronic device 100 can be provided with at least one microphone 170C. In other embodiments, the electronic device 100 can be provided with two microphones 170C, in addition to collecting sound signals, noise reduction functions can also be achieved. In other embodiments, the electronic device 100 can also be provided with three, four or more microphones 170C, in addition to collecting sound signals, noise reduction, and can also identify the source of the sound, and realize the function of directional recording, etc.
[0093] The earphone interface 170D is configured to connect a wired earphone. The earphone interface 170D can be a USB interface 130, or a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
[0094] The pressure sensor 180A is configured to sense a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be disposed on the display screen 194. The pressure sensor 180A
[0095] There are many types of pressure sensors, such as impedance pressure sensors, inductance pressure sensors, and capacitance pressure sensors. A capacitance pressure sensor can include at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation is applied to the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 can also calculate the position of the touch according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation instructions. For example, when a touch operation with a touch operation intensity less than a first pressure threshold is applied to a short message application icon, an instruction to view short messages is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold is applied to the short message application icon, an instruction to create a new short message is executed.
[0096] The gyroscope sensor 180B can be used to determine the motion posture of the electronic device 100. In some embodiments, the angular velocity of the electronic device 100 around three axes (i.e., the x, y, and z axes) can be determined by the gyroscope sensor 180B. The gyroscope sensor 180B can be used for anti-shake photography. For example, when the shutter is pressed, the gyroscope sensor 180B detects the angle of the shaking of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and lets the lens offset the shaking of the electronic device 100 by reverse movement to achieve anti-shake. The gyroscope sensor 180B can also be used for navigation and motion sensing game scenarios.
[0097] The barometric pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude, assists in positioning and navigation by using the air pressure value measured by the barometric pressure sensor 180C.
[0098] The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can use the magnetic sensor 180D to detect the opening and closing of a flip cover. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 can detect the opening and closing of the flip cover according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the cover or the opening and closing state of the flip cover, the electronic device 100 can set features such as automatic unlocking of the flip cover.
[0099] The acceleration sensor 180E can detect the magnitude of acceleration of the electronic device 100 in various directions (generally three axes). When the electronic device 100 is stationary, the acceleration sensor 180E can detect the magnitude and direction of gravity. The acceleration sensor 180E can also be used to identify the posture of the electronic device, and can be applied to landscape / portrait screen switching and pedometer applications.
[0100] The distance sensor 180F is used to measure distance. The electronic device 100 can measure distance using infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure distance to achieve fast focusing.
[0101] The proximity light sensor 180G may include, for example, a light emitting diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 uses a photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 can determine that there is no object near the electronic device 100. The electronic device 100 can use the proximity light sensor 180G to detect that the user is holding the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. The proximity light sensor 180G can also be used in leather case mode and pocket mode to automatically unlock and lock the screen.
[0102] Ambient light sensor 180L is used to sense ambient light brightness. Electronic device 100 can adaptively adjust the brightness of display screen 194 based on the perceived ambient light. Ambient light sensor 180L can also be used to automatically adjust white balance when taking photos. Ambient light sensor 180L can also work with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent accidental touches.
[0103] The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to implement fingerprint unlocking, access application locks, fingerprint photography, fingerprint call answering, etc.
[0104] The temperature sensor 180J is used to detect temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to prevent the electronic device 100 from shutting down abnormally due to low temperature. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to prevent abnormal shutdown due to low temperature.
[0105] The touch sensor 180K is also called a "touch-sensitive device." The touch sensor 180K can be disposed on the display screen 194. The touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen." The touch sensor 180K is used to detect touch operations applied thereto or in the vicinity thereof. The touch sensor can transmit the detected touch operations to the application processor to determine the type of touch event. Visual output related to the touch operations can be provided via the display screen 194. In other embodiments, the touch sensor 180K can also be disposed on the surface of the electronic device 100, at a location different from that of the display screen 194.
[0106] The bone conduction sensor 180M can obtain vibration signals. In some embodiments, the bone conduction sensor 180M can obtain vibration signals from the vibrating bones of the human body. The bone conduction sensor 180M can also contact the human pulse to receive blood pressure pulse signals. In some embodiments, the bone conduction sensor 180M can also be set in headphones to form bone conduction headphones. The audio module 170 can parse out voice signals based on the vibration signals of the vibrating bones of the human body obtained by the bone conduction sensor 180M to implement voice functions. The application processor can parse heart rate information based on the blood pressure pulse signals obtained by the bone conduction sensor 180M to implement heart rate detection functions.
[0107] The buttons 190 include a power button, a volume button, and the like. The buttons 190 may be mechanical buttons or touch buttons. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100.
[0108] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
[0109] The indicator 192 may be an indicator light, which may be used to indicate the charging status, power level changes, messages, missed calls, notifications, etc.
[0110] The SIM card interface 195 is configured to connect a SIM card. The SIM card can be connected to or disconnected from the electronic device 100 by being inserted into or pulled out of the SIM card interface 195. The electronic device 100 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM cards, Micro SIM cards, SIM cards, and the like. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the multiple cards can be the same or different. The SIM card interface 195 can be compatible with different types of SIM cards. The SIM card interface 195 can also be compatible with external storage cards. The electronic device 100 interacts with a network through the SIM card to implement functions such as calling and data communication. In some embodiments, the electronic device 100 uses an eSIM, that is, an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
[0111] The software system of the electronic device 100 can use a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. Specifically, the software system can be an Android system, a Hongmeng system, or the like.
[0112] For ease of understanding, the following embodiments of the present application will take an electronic device with a structure as shown in Figure 2 FIG. 1 as an example, and the methods provided by the embodiments of the present application will be described in detail in combination with the drawings and application scenarios.
[0113] Referring to Figure 3 , the working principle of the motor drive IC driving the motor is shown. As shown in Figure 3 , the camera module includes a motor drive IC 310 and a motor 320. The electronic device also includes a processor 330. The motor 320 includes a coil L, which is used to change the position by magnetic force after being powered on, and then focus the lens in the camera module. The motor drive IC 310 can control the position of the coil L by the direction and size of the current, and then realize the focusing function of the camera module. Different positions of the coil L correspond to different focusing positions of the lens.
[0114] The processor 330 can be the processor 110 of the electronic device in Figure 2 , or a processor for controlling the camera module other than the processor of the electronic device. The embodiments of the present application are not limited.
[0115] The processor 330 is configured to obtain focusing information of the camera module, calculate a current value required by the coil L of the motor 320 according to the focusing information, which is referred to as a first current value below. Optionally, a user can change the focusing parameter in the shooting interface provided by the electronic device, so that the processor 330 can obtain the focusing information of the camera module.
[0116] The motor driving IC 310 can output a fixed number of different currents corresponding to the precision of the motor driving IC 310, and the different currents can control the motor 320 to generate a corresponding fixed number of different displacements. For example, the output current range of the motor driving IC 310 is 0-100 mA, and the precision is 10 bits. The motor driving IC 310 can output 1024 different currents between 0-100 mA, and the motor 320 can generate 1024 different displacements. The processor 330 and the motor driving IC 310 can use a code to represent the 1024 different currents and the corresponding different displacements, for example, an integer 0-1023 can be used to represent. 0-1023 represents the current of the different current values output by the motor driving IC 310 to the motor 320, and also represents the different displacements generated by the motor 320. Based on the above description, the first current value calculated by the processor 330 can be represented by the above code.
[0117] The processor 330 calculates the first current value according to the focusing information. The embodiment of the application does not limit the method of calculating the first current value by the processor 330.
[0118] The current value signal output end D30 of the processor 330 is connected to the first data receiving end D11 of the motor driving IC 310. After the processor 330 calculates the first current value, the first current value is sent to the motor driving IC 310 through the current value signal output end D30. Optionally, the current value signal output end D30 can be a pin of an I2C interface.
[0119] The first current output end Is1 and the second current output end Is2 of the motor driving IC 310 are respectively connected to the two ends of the coil L to provide current for the coil L. The motor driving IC 310 can output current with a corresponding current value to the motor 320 according to the received first current value. After the coil L in the motor 320 receives the current, the coil L can push the connected magnet through the generated magnetic force, and then the magnet pushes the lens of the camera module to the corresponding position, so as to realize the focusing of the lens.
[0120] Referring to Figure 4 is a schematic diagram of an application scenario of a power supply circuit. Figure 4 The coil L of the motor, the motor driving IC 310, and the first power supply circuit 400 are shown in
[0121] The voltage output end Vout1 of the first power supply circuit 400 is connected to the voltage input end VDD1 of the motor driving IC 310. The first power supply circuit 400 is configured to output a corresponding power supply voltage to the motor driving IC according to different focusing positions of the lens.
[0122] Optionally, the power supply voltage output by the first power supply circuit 400 can be the minimum voltage required for driving the motor to the focusing position without increasing the impedance of the on switch tube of the motor drive IC. The voltage value of the minimum voltage is referred to as the first voltage value corresponding to the motor drive IC.
[0123] The calculation formula of the first voltage value V1 can be: V1=I(R L +R MOS ), wherein I is the first current value, R L is the impedance of the coil L, and R MOS is the impedance of the on MOS tube in the motor drive IC 310.
[0124] Optionally, R MOS may be the minimum impedance of the on MOS tube, so that by controlling the first power supply circuit 400 to output a suitable power supply voltage to the motor drive IC 310, the motor drive IC 310 can both output a suitable current to the coil in the motor and make the power consumption of the motor drive IC 310 reach the minimum.
[0125] For example, the impedance of the coil L of the motor is 26.5Ω, the minimum impedance of the MOS tube is 2.5Ω, the maximum required current is 100mA, and the ordinary scene current is 50mA.
[0126] At this time, compared with the implementation manner of outputting a fixed voltage in the prior art, the power consumption difference is shown in Table 1 below. Assuming that the voltage output by the first power supply circuit of the present application to the motor drive IC can be adjusted to 1.8V, the heat consumption of the motor drive IC in the technical solution of the present application is reduced by 55mW compared with the scheme of outputting a fixed voltage in the prior art.
[0127] Voltage Current / mA IC voltage division IC heat consumption 2.9V 50 1.575 78.8 mW 1.8V 50 0.475 23.7 mW
[0128] Table 1
[0129] In another power supply circuit provided by the present application, for example, as shown in Figure 5A The voltage output end Vout1 of the first power supply circuit 400 is connected to the voltage input end VDD1 of the motor drive IC 310, and the voltage feedback end V bias of the motor drive IC 310 can be connected to the feedback signal input end FB1 of the first power supply circuit 400, and the motor drive IC 310 can be used to: output a corresponding bias voltage to the feedback end FB1 of the first power supply circuit 400 according to the focusing position;
[0130] The first power supply circuit 400 can be specifically used for: adjusting the power supply voltage according to the bias voltage.
[0131] For example, for example, as shown in Figure 5BAs shown, the first power supply circuit can include a voltage output circuit, a voltage output end Vout111 of the voltage output circuit as a voltage output end Vout1 of the first power supply circuit 400, and a bias voltage received by a feedback end FB1 of the first power supply circuit 400 to adjust a voltage output by the voltage output end Vout11 of the voltage output circuit through resistors R1, R2 and R3, that is, to adjust a power supply voltage output by the voltage output end Vout1 of the first power supply circuit.
[0132] For example Figure 5C As shown, it is a structural schematic diagram of a motor drive IC 310, and the Y HALL BIAS port can be used as a voltage feedback end V bias ;
[0133] For example Figure 5D As shown, it is a structural schematic diagram of a first power supply circuit, and the chip A1 can be a BUCK power supply chip, which corresponds to Figure 5B a voltage output circuit, and the resistors R51-R54 are used to adjust a power supply voltage output by the BUCK power supply chip, and the capacitors C51-C59 are used for filtering.
[0134] In another power supply circuit provided by the present application, as shown in Figure 5E the first voltage value can be calculated by the processor 330 according to the first current value, and a control signal can be output according to the first voltage value to control the first power supply circuit 400 to output a power supply voltage of the first voltage value. As shown in Figure 5E the control signal output end CTR of the processor 330 can be used to output the above-mentioned control signal to the feedback end FB1 of the first power supply circuit 400.
[0135] For example Figure 5F As shown, the control signal output by the processor 330 can be a pulse width modulation (PWM) signal, and at this time, the implementation structure of the first power supply circuit 400 can be as shown in Figure 5F As shown in Figure 5B a low-pass filter circuit is added to the structure shown in, which is used to filter the PWM signal into a direct current signal, and the direct current signal adjusts a voltage output by the voltage output end Vout11 of the voltage output circuit through the resistors R1-R3, that is, adjusts a power supply voltage output by the voltage output end Vout1 of the first power supply circuit.
[0136] In another power supply circuit provided by the present application, the processor 330 and the first power supply circuit 400 can also communicate through an I2C interface, and the control signal can be transmitted to the first power supply circuit 400 through the I2C interface to control the first power supply circuit 400 to output a power supply voltage of the first voltage value. At this time,Figure 5E The control signal output end CTR of the processor 330 and the feedback end FB1 of the first power supply circuit 400 can be implemented by the data pin SDA in the I2C interface. At this time, the implementation structure of the first power supply circuit 400 is, for example Figure 5G As shown in the figure, the chip A2 can be a BUCK power supply chip, the power supply input pin VIN of the chip A2 can be connected to the system voltage end VBAT_SYS of the electronic device, the enable pin EN is used to receive a switch control signal, the switch control signal is used to control whether the chip A2 works, the enable pin EN can be connected to the processor 330, and the processor 330 outputs the above-mentioned switch control signal to the chip A2; the voltage output pins VOUT1 and VOUT2 are connected to the voltage input end VDD1 of the motor drive IC 310 as the voltage output end Vout, and provide a power supply voltage for the motor drive IC 310. The data pin SDA in the I2C interface can be used to receive a control signal from the processor 330, and correspondingly, the chip A2 can output a power supply voltage of a first voltage value according to the control signal.
[0137] It should be noted that in addition to the above-mentioned embodiments of controlling the first power supply circuit to output a power supply voltage of a first voltage value through the I2C interface or the PWM, the DAC and the like can also be used to control the first power supply circuit to output a power supply voltage of a first voltage value, and the specific implementation is not described here.
[0138] In another possible implementation, the first power supply circuit 400 can be specifically configured to: obtain a first current value, calculate a first voltage value according to the first current value, and adjust the voltage of the voltage output end Vout to the first voltage value according to the first voltage value. The first current value is the current required by the coil in the motor under the current focusing information.
[0139] Optionally, the power supply voltage output by the first power supply circuit 400 can be the minimum voltage required by the first motor drive IC to output a current of the first current value without increasing the impedance of the conducting switch tube.
[0140] Referring to Figure 6A , the first power supply circuit 400 can obtain the first current value from the processor 330. The first data output end D31 of the processor 330 is connected to the signal input end D41 of the first power supply circuit 400, and the first power supply circuit 400 sends the first current value through the first data output end D31.
[0141] Optionally, the first power supply circuit 400 can include a dynamic voltage regulation direct current (DC)-direct current power supply circuit, for example, a BUCK circuit. For example, the implementation of the first power supply circuit can refer to Figure 5G , the difference is that the chip A2 needs to calculate the first voltage value according to the first current value, and then output a power supply voltage of the first voltage value
[0142] Due to the device loss in the circuit, although the first power supply circuit outputs the voltage of the first voltage value, the voltage received by the voltage input end VDD of the motor drive IC 310 can deviate from the first voltage value. In order to solve this problem, the voltage feedback end V bias The feedback signal input end FB1 of the first power supply circuit 400 can be connected. The voltage feedback end V bias The output feedback voltage is positively correlated with the power supply voltage received by the voltage input end VDD of the motor drive IC 310, that is, the greater the power supply voltage, the greater the feedback voltage, and the smaller the power supply voltage, the smaller the feedback voltage. Correspondingly, the first power supply circuit 400 can relatively accurately adjust the power supply voltage received by the voltage input end VDD of the motor drive IC 310 to the first voltage value according to the feedback voltage. Figure 6A The power supply circuit shown can output appropriate power supply voltage to the motor drive IC 310 according to the demand current of the coil L, so that the motor drive IC can output the demand current of the coil L without increasing the impedance of the MOS tube, so that the motor drive IC can drive the motor with relatively smaller power consumption. Correspondingly, the motor drive IC generates less heat, thereby reducing power consumption and heat generation, and improving user experience.
[0143] Referring to Figure 6B , unlike Figure 6A The first power supply circuit 400 can not obtain the information of the power supply voltage received by the motor drive IC from the motor drive IC, but obtain the current focusing position from the CMOS sensor 600 of the camera module by the processor 330. At this time,
[0144] The second data output end D32 of the processor 330 is connected with the feedback signal input end FB1 of the first power supply circuit 400, and the data input end D33 of the processor 330 is connected with the data output end D61 of the CMOS sensor 600. The processor 330 obtains the current focusing position from the CMOS sensor 600, calculates the actual power supply voltage received by the motor drive IC according to the current focusing position, adjusts the output voltage of the first power supply circuit 400 according to the actual power supply voltage, and adjusts the actual power supply voltage received by the motor drive IC to the first voltage value.
[0145] In another power supply circuit provided in the present application, the power supply circuit in the above embodiment can be expanded from supplying power to one motor drive IC to supplying power to multiple motor drive ICs. At this time, the voltage value of the power supply voltage output by the first power supply circuit is the maximum first voltage value among the corresponding first voltage values of the multiple motor drive ICs, so that the output voltage meets the working of the multiple motor drive ICs at the same time and the minimum voltage.
[0146] if Figures 5A-5G The power supply circuit shown is extended to power two motor driver ICs. The first power supply circuit is specifically used to select the largest feedback signal from multiple feedback signals, and adjust the power supply voltage according to the feedback signal, so that the output voltage value of the first power supply circuit is the largest first voltage value among the first voltage values corresponding to multiple motor driver ICs.
[0147] in, Figure 7A The circuit shown is Figure 5F The circuit shown is extended to power two motor driver ICs as an example; Figure 7B The power supply circuit shown is Figure 5E The power supply circuit shown is extended to power two motor driver ICs as an example; the voltage feedback terminal Vbias of the motor driver IC and the feedback signal input terminal FB1 of the first power supply circuit can be connected through a diode to prevent current from flowing back into the motor driver IC.
[0148] It should be noted that if the power supply of the motor driver IC is extended to multiple motor driver ICs, and the processor calculates the first voltage value corresponding to the motor driver IC, the processor can be specifically used to: calculate the first voltage value corresponding to each motor driver IC, select the largest first voltage value therefrom, and control the output voltage value of the first power supply circuit to be the power supply voltage of the above-mentioned largest first voltage value.
[0149] If Figure 6A The power supply circuit shown is extended to power multiple motor driver ICs. The first power supply circuit is specifically used to: calculate the first voltage value corresponding to each motor driver IC, select the largest first voltage value therefrom, and output the power supply voltage value of the above-mentioned largest first voltage value.
[0150] At this time, the feedback voltage received by the feedback signal input terminal FB1 of the first power supply circuit is the largest feedback voltage among the feedback voltages of multiple motor driver ICs. Therefore, the first power supply circuit can adjust the actual power supply voltage received by the multiple motor driver ICs according to the maximum feedback voltage, thereby adjusting the power supply voltage received by the multiple motor driver ICs to the minimum voltage that meets the simultaneous operation of multiple motor driver ICs.
[0151] In another power supply circuit provided in this application, Figure 7A and Figure 7B The technical solutions shown can be combined to obtain, for example Figure 7C For the specific implementation of the power supply circuit shown, reference may be made to the corresponding description in the aforementioned embodiments.
[0152] For example Figure 8ATaking two motor driver ICs as an example, at this time, the feedback voltage received by the feedback signal input terminal FB1 of the first power supply circuit is a relatively larger feedback voltage among the feedback voltages of the two motor driver ICs. Therefore, the power supply circuit can adjust the output voltage to the minimum voltage that satisfies the simultaneous operation of the two motor driver ICs.
[0153] It should be noted that the above-mentioned multiple motor driver ICs may belong to the same camera module or to different camera modules, which is not limited in the embodiment of the present application.
[0154] If Figure 6B The power supply circuit shown is expanded from supplying power to one motor driver IC to supplying power to at least multiple motor driver ICs. At this time, the first power supply circuit can select the largest first voltage value from the first voltage values corresponding to multiple motor driver ICs, and output the voltage of the above-mentioned largest first voltage value from the voltage output end of the first power supply circuit, so that the output voltage satisfies the simultaneous operation of multiple motor driver ICs and the voltage is minimum.
[0155] Optionally, the processor can obtain the focus position from multiple CMOS sensors corresponding to multiple motor driver ICs, calculate the actual power supply voltage received by each motor driver IC, select the maximum power supply voltage, and adjust the power supply voltage actually received by the multiple motor driver ICs according to the power supply voltage, thereby adjusting the power supply voltage received by the multiple motor driver ICs to the minimum voltage that meets the simultaneous operation of multiple motor driver ICs.
[0156] For example Figure 8B Taking two motor driver ICs as an example, the processor obtains the focus position from two CMOS sensors and calculates the minimum voltage required for the two motor driver ICs to operate. It then adjusts the output voltage of the power supply circuit to the minimum voltage required for multiple motor driver ICs to operate simultaneously.
[0157] In another power supply circuit provided in this application, Figure 8A and Figure 8B The technical solutions shown can be combined to obtain, for example Figure 9 The power supply circuit shown.
[0158] In another power supply circuit provided in the present application, an adjustable second power supply circuit may also be used to power the CMOS sensor, for example Figure 10A As shown, the second power supply circuit includes:
[0159] The power supply voltage terminal VDD of the CMOS sensor 1010 is connected to the feedback signal input terminal FB2 of the second power supply circuit 1020 , and the output terminal Vout2 of the second power supply circuit 1020 is connected to the power supply voltage terminal VDD of the CMOS sensor 1010 ;
[0160] The second power supply circuit 1020 may adjust the output voltage of the second power supply circuit 1020 according to the actual power supply voltage received by the power supply voltage terminal VDD, so that the actual power supply voltage received by the power supply voltage terminal VDD of the CMOS sensor 1010 reaches a target voltage value.
[0161] Figure 10B A possible implementation structure of the second power supply circuit is shown. Specifically, the second power supply circuit can be implemented using a power supply chip, such as a BUCK power supply chip. The power input pin VIN of the power supply chip can be connected to the system voltage terminal VBAT_SYS of the electronic device. The enable pin EN is used to receive a switch control signal from the power supply chip, and the switch control signal controls whether the power supply chip is working. The enable pin EN can be connected to the processor 330, and the processor 330 outputs the above switch control signal to the power supply chip. The voltage output pin LX / SW is used to connect to the power supply voltage terminal VDD of the output end CMOS sensor 1010 to provide a power supply voltage for the CMOS sensor 1010. The feedback signal input pin FB is connected to the power supply voltage terminal VDD of the CMOS sensor 1010 to obtain the actual power supply voltage received by the power supply voltage terminal VDD of the CMOS sensor 1010, and adjust the output voltage of the voltage output pin LX / SW accordingly.
[0162] It should be noted that the above Figures 4-9 The circuit shown can also be used Figure 10A and Figure 10B The power supply circuit shown is for CMOS Sensor 1010. Figures 11-16 The examples shown are not described here one by one.
[0163] The present application also provides an electronic device, including: Figures 3-15 The power supply circuit provided by any embodiment.
[0164] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent the existence of A alone, the existence of A and B at the same time, and the existence of B alone. Among them, A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" and similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can represent: a, b, c, a and b, a and c, b and c or a and b and c, where a, b, c can be single or multiple.
[0165] Those skilled in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented using a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0166] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0167] In the several embodiments provided in this application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of this application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), magnetic disk or optical disk, and other media that can store program code.
[0168] The above description is merely a specific embodiment of the present application. Any person skilled in the art may easily conceive of variations or substitutions within the technical scope disclosed in this application, and such variations or substitutions shall be within the scope of protection of this application. The scope of protection of this application shall be subject to the scope of protection of the claims.
Claims
1. A power supply circuit, applied to an electronic device, wherein the electronic device includes a first camera module, wherein the first camera module includes: A first motor driver IC and a first motor, wherein the first motor driver IC is used to drive the first motor, characterized in that: The voltage input terminal of the first motor driver IC is connected to the coil of the first motor through four MOS transistors. The first motor driver IC is used to transmit a required current and current direction to the coil of the first motor by controlling the switching state and impedance of the four MOS transistors. The current and current direction are used to control the position of the coil; The power supply circuit includes: a first power supply circuit, wherein: The voltage output terminal of the first power supply circuit is connected to the voltage input terminal of the first motor driver IC; The first power supply circuit is used to output a power supply voltage of a first voltage value to the first motor driver IC, where the first voltage value is a voltage value corresponding to a first focus position of a lens in the first camera module.
2. The power supply circuit according to claim 1, wherein: The supply voltage of the first voltage value is the minimum voltage required for the first motor driver IC to drive the first motor without increasing the impedance of the conduction switch tube, so that the lens of the first camera module reaches the first focusing position.
3. The power supply circuit according to claim 1 or 2, characterized in that: The first power supply circuit is specifically used to: obtain a feedback voltage of the first motor driver IC, and adjust the supply voltage output by the first power supply circuit according to the feedback voltage so that the supply voltage is the supply voltage corresponding to the first focus position.
4. The power supply circuit according to claim 1 or 2, characterized in that: Also includes: processor; wherein, The processor is configured to: calculate a first voltage value according to a first current value, and send a control signal to the first power supply circuit according to the first voltage value; The first current value is a current value required by the first motor to focus the lens of the first camera module; The first power supply circuit is specifically configured to adjust the supply voltage output by the first power supply circuit according to the control signal, so that the voltage value of the supply voltage is the first voltage value.
5. The power supply circuit according to claim 1 or 2, characterized in that: Also includes: processor; wherein, The processor is configured to: calculate a first voltage value according to the first current value, and send the first voltage value to the first power supply circuit; The first current value is a current value required by the first motor to focus the lens of the first camera module; The first power supply circuit is specifically configured to receive the first voltage value and output a power supply voltage of the first voltage value.
6. The power supply circuit according to claim 1 or 2, characterized in that: The first power supply circuit is configured to output a power supply voltage of a first voltage value to the motor driver IC, and includes: The first power supply circuit is used to obtain a first current value, calculate a first voltage value based on the first current value, and output the first voltage from the voltage output end; the first current value is the current value required by the first motor to focus the lens of the first camera module.
7. The power supply circuit according to claim 6, characterized in that: Also includes: processor; wherein, The first signal receiving end of the first power supply circuit is connected to the first signal output end of the processor, and the first signal receiving end of the first power supply circuit is used to receive the first current value sent by the processor; The first power supply circuit is configured to obtain the first current value from the processor.
8. The power supply circuit according to claim 6, characterized in that: Also includes: A feedback signal receiving terminal of the first power supply circuit is connected to a voltage feedback terminal of the first motor driver IC, and the feedback signal receiving terminal is used to receive a first feedback voltage output by the voltage feedback terminal of the first motor driver IC, wherein the first feedback voltage is positively correlated with a voltage received by the voltage receiving terminal of the first motor driver IC; The first power supply circuit is used to adjust the output voltage of the voltage output terminal according to the first feedback voltage until the voltage received by the voltage input terminal of the first motor driver IC reaches the first voltage value.
9. The power supply circuit according to claim 6, characterized in that: Also includes: A feedback signal receiving end of the first power supply circuit is connected to the second signal output end of the processor, and the feedback signal receiving end of the first power supply circuit is used to receive a feedback voltage value sent by the processor, wherein the feedback voltage value is a voltage value calculated by the processor based on real-time focus information obtained from the first image sensor, and the feedback voltage value is positively correlated with a voltage received by the voltage receiving end of the first motor driver IC; The first power supply circuit is used to adjust the output voltage of the voltage output terminal according to the feedback voltage value until the voltage received by the voltage input terminal of the first motor driver IC reaches the first voltage value.
10. The power supply circuit according to claim 1 or 2, characterized in that: Also includes: a second power supply circuit, wherein a voltage output terminal and a feedback signal input terminal of the second power supply circuit are both connected to the voltage input terminal of the first image sensor; The first image sensor is an image sensor in the first camera module; The second power supply circuit is used to adjust the voltage output by the voltage output end according to the feedback voltage received by the feedback signal input end, so that the voltage received by the voltage input end of the first image sensor reaches a first target voltage value, and the first target voltage value is the minimum voltage value required by the first image sensor.
11. The power supply circuit according to claim 1 or 2, characterized in that: Also includes: The voltage output terminal of the first power supply circuit is connected to the voltage input terminal of the second motor driver IC; The second motor driver IC is a motor driver IC in the second camera module, and is used to drive the second motor in the second camera module; the second camera module is provided in the electronic device; The first power supply circuit is further used to: output a power supply voltage of a first voltage value to the second motor driver IC, and the first voltage value is greater than or equal to a second voltage value corresponding to the second focus position of the lens in the second camera module.
12. The power supply circuit according to claim 11, characterized in that: The second voltage value is the minimum voltage required for the second motor driver IC to drive the second motor without increasing the impedance of the conduction switch tube, so that the lens of the second camera module reaches the second focus position.
13. The power supply circuit according to claim 11, characterized in that: The feedback signal receiving end of the first power supply circuit is connected to the voltage feedback end of the first motor driver IC, including: The feedback signal receiving end of the first power supply circuit is connected to the voltage feedback end of the first motor driver IC through a first diode.
14. The power supply circuit according to claim 13, wherein: Also includes: The feedback signal receiving end of the first power supply circuit is also connected to the voltage feedback end of the second motor driver IC through a second diode. The feedback signal receiving end is used to receive the second feedback voltage output by the voltage feedback end of the second motor driver IC. The second feedback voltage is positively correlated with the voltage received by the voltage receiving end of the second motor driver IC.
15. The power supply circuit according to claim 11, wherein: Also includes: a third power supply circuit, wherein a voltage output terminal and a feedback signal input terminal of the third power supply circuit are both connected to the voltage input terminal of the second image sensor; The second image sensor is an image sensor in the second camera module; The third power supply circuit is used to adjust the voltage output by the voltage output terminal according to the feedback voltage received by the feedback signal input terminal, so that the voltage received by the voltage input terminal of the second image sensor reaches a second target voltage value, and the second target voltage value is the minimum voltage value required by the second image sensor.
16. An electronic device, characterized in that: The power supply circuit comprises the power supply circuit according to any one of claims 1 to 15.
Citation Information
Patent Citations
Photographic module and driving circuit thereof
TW201628394A