Voltage regulation method, voltage regulation circuit, electronic device and readable storage medium

By using the same pin to transmit temperature and load status signals in the linear voltage stabilizing circuit, and adaptively adjusting the output voltage of the switching power supply circuit, the problem of increased cost of the linear voltage stabilizing circuit is solved, and the transient response and power supply of the circuit are improved. efficiency.

CN112671231BActive Publication Date: 2024-08-23VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011481641.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-16
Publication Date
2024-08-23
Estimated Expiration
2040-12-16

AI Technical Summary

Technical Problem

In the existing technology, the linear voltage regulator circuit transmits current, temperature and load status information through three signal lines, resulting in increased die and packaging costs.

Method used

By obtaining the output pin voltage of the linear regulator circuit, combined with output current and temperature detection, the output voltage of the switching power supply circuit is adaptively adjusted, and the same pin is used to transmit temperature and load status signals, reducing pin waste and optimizing voltage conversion efficiency. .

Benefits of technology

It achieves efficient temperature and load signal transmission, reduces system complexity and cost, improves transient response capabilities and overall power supply efficiency, and extends battery power supply time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112671231B
    Figure CN112671231B
Patent Text Reader

Abstract

The present application provides a voltage regulation method, a voltage regulation circuit, an electronic device and a readable storage medium, which belong to the field of power supply circuits. The voltage regulation method includes: obtaining the output current of a switching power supply circuit of an electronic device, and obtaining the voltage of a first output pin of a linear voltage regulator circuit; determining the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit according to the voltage of the first output pin; adjusting the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit. The temperature and the load state of the linear voltage regulator circuit are provided by the same pin, which reduces the waste of pins and reduces the complexity of signal transmission control. Then, the output voltage of the switching power supply circuit is adjusted according to the output current, the load state and the temperature of the linear voltage regulator circuit to optimize the transient response and voltage conversion efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of power supply circuits, and specifically relates to a voltage regulation method, a voltage regulation circuit, an electronic device, and a readable storage medium. Background Art

[0002] In order to optimize the efficiency of linear voltage regulator circuits (such as low dropout regulators (LDO)) in battery-powered scenarios, the efficiency optimization power supply scheme using adaptive saturation voltage is of great significance in low output voltage and high output current scenarios.

[0003] In the related art, in order to realize the saturation voltage self-adaptation of the linear voltage regulator circuit, it is necessary to collect the current, temperature and load status information of the linear voltage regulator circuit, and then set the output voltage of the front-end switching power supply circuit of the linear voltage regulator circuit to different voltage values ​​related to the saturation voltage according to the current, temperature and load status information. In this process, the inventors found that there are at least the following problems in the related art:

[0004] Since the current, temperature and load status information of the linear voltage regulator circuit need to be collected, the linear voltage regulator circuit needs to output three signal lines to the control circuit, which will increase the die and packaging costs of the linear voltage regulator circuit and the control circuit. Summary of the invention

[0005] The purpose of the embodiments of the present application is to provide a voltage regulation method, a voltage regulation circuit, an electronic device and a readable storage medium, which can solve the problem in the related art that the linear voltage regulation circuit transmits current, temperature and load status information respectively through three signal lines, resulting in an increase in the bare chip and packaging cost of the linear voltage regulation circuit and the control circuit.

[0006] In order to solve the above technical problems, this application is implemented as follows:

[0007] In a first aspect, an embodiment of the present application provides a voltage regulation method, the method comprising:

[0008] Acquire the output current of the switching power supply circuit of the electronic device, and acquire the voltage of the first output pin of the linear voltage regulator circuit of the electronic device;

[0009] Determining the load state of the linear voltage stabilization circuit and the temperature of the linear voltage stabilization circuit according to the voltage of the first output pin;

[0010] The output voltage of the switching power supply circuit is adjusted according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

[0011] In a second aspect, an embodiment of the present application provides a voltage regulation circuit, the circuit comprising:

[0012] Linear voltage stabilization circuit, the linear voltage stabilization circuit includes:

[0013] First output pin;

[0014] A temperature detection circuit, connected to the first output pin, for detecting the temperature of the linear voltage stabilization circuit;

[0015] A load detection circuit, connected to the first output pin, for detecting a load state of the linear voltage stabilization circuit;

[0016] A switching power supply circuit, the switching power supply circuit comprising:

[0017] A current detection circuit, used for detecting the output current of the switching power supply circuit;

[0018] A regulating circuit, used for regulating the output voltage of the switching power supply circuit;

[0019] The control circuit is used to determine the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit according to the voltage of the first output pin, and control the regulation circuit to regulate the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

[0020] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method of the first aspect.

[0021] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.

[0022] In a fifth aspect, an embodiment of the present application provides an electronic device, which includes a voltage regulating circuit as in the second aspect.

[0023] In a sixth aspect, an embodiment of the present application provides a chip, the chip including 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 of the first aspect.

[0024] In the embodiment of the present application, the temperature and load status of the linear voltage regulator circuit are provided by the same pin, so as to realize the efficient transmission of temperature and load step signals, reduce the waste of pins, and reduce the complexity of signal transmission control. Furthermore, according to the output current of the switching power supply circuit, the temperature and load status of the linear voltage regulator circuit, the output voltage of the front-end switching power supply circuit is adaptively adjusted to realize the optimization of transient response and voltage conversion efficiency, which can improve the transient response performance in electronic equipment, improve the overall power supply efficiency and endurance effect, and reduce power loss and temperature rise. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 It is one of the flowcharts of the voltage regulation method according to the embodiment of the present application;

[0026] Figure 2 This is the second flow chart of the voltage regulation method according to the embodiment of the present application;

[0027] Figure 3 It is one of the structural schematic diagrams of the voltage regulation circuit of the embodiment of the present application;

[0028] Figure 4 This is the second structural schematic diagram of the voltage regulation circuit of the embodiment of the present application;

[0029] Figure 5 A schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments 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 without creative work are within the scope of protection of this application.

[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.

[0032] The voltage regulation method, voltage regulation circuit, electronic device and readable storage medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0033] The embodiment of the present application provides a voltage regulation method, such as Figure 1 As shown, the voltage regulation method includes:

[0034] Step 102, obtaining an output current of a switching power supply circuit of the electronic device, and obtaining a voltage of a first output pin of a linear voltage regulator circuit of the electronic device;

[0035] Step 104, determining the load state of the linear voltage stabilizing circuit and the temperature of the linear voltage stabilizing circuit according to the voltage of the first output pin;

[0036] Step 106, adjusting the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

[0037] In this embodiment, the electronic device includes a switching power supply circuit and a linear voltage regulator circuit. The switching power supply circuit is connected to the linear voltage regulator circuit. The switching power supply circuit and the linear voltage regulator circuit form a power supply network. First, the switching power supply circuit is used to achieve a relatively large voltage drop, and then the linear voltage regulator circuit is used to achieve a clean output voltage.

[0038] In an embodiment of the present application, the output current, load status and temperature of the linear voltage regulator circuit are obtained in real time, and then the output voltage of the front-end switching power supply circuit is adaptively adjusted to achieve optimization of transient response and voltage conversion efficiency. In electronic devices, the transient response performance can be improved, the overall power supply efficiency and battery life can be improved, and power loss and temperature rise can be reduced.

[0039] Specifically, on the one hand, because the output current and input current of the linear voltage regulator circuit are completely equal when slight bias loss is ignored, and the switching power supply circuits of the previous stage mostly have OCP, that is, they have overcurrent detection capability, the output current of the switching power supply circuit can be used to characterize the output current of the linear voltage regulator circuit. The linear voltage regulator circuit only needs to provide temperature and load status signals, and does not need to occupy the pin resources of the linear voltage regulator circuit to transmit the output current.

[0040] On the other hand, the temperature and load status provided by the linear voltage regulator circuit are transmitted by the same pin. Since the temperature signal is a continuous signal and the load step signal itself is a non-continuous instantaneous signal, the temperature signal can be transmitted in the steady state based on the same signal line, and the load step signal can be transmitted when a load step event occurs, so as to achieve efficient transmission of temperature and load step signals, reduce pin waste, and reduce the complexity of signal transmission control.

[0041] It should be noted that the load of the electronic device includes sensors, cameras, flashes, buttons, speakers and other devices. The linear voltage regulator circuit can be an LDO, and the switching power supply circuit can include a buck circuit, a boost circuit, a buck-boost circuit, a charge pump circuit, a flyback circuit and other switching power supplies.

[0042] Furthermore, in an embodiment of the present application, the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit are determined according to the voltage of the first output pin, including: when the voltage of the first output pin is less than or equal to the first voltage threshold, the load state is determined to be a changing state; when the voltage of the first output pin is greater than or equal to the second voltage threshold, the load state is determined to be a stable state, and the temperature of the linear voltage regulator circuit is determined according to the voltage of the first output pin; wherein the second voltage threshold is greater than the first voltage threshold.

[0043] In this embodiment, when the voltage of the first output pin is less than or equal to the first voltage threshold, that is, the voltage of the first output pin is a falling edge voltage, and the voltage of the first output pin is much smaller than the voltage when the temperature signal is normally transmitted, it is determined that a load step event has occurred; when the voltage of the first output pin is greater than or equal to the second voltage threshold, it is determined that the load step event has ended, and the first output pin transmits a temperature signal, and the temperature can be determined based on the voltage of the first output pin.

[0044] Through the above method, the system architecture can be simplified in the adaptive saturation voltage power supply system, and the transmission of two key signals can be realized by using one pin, thereby reducing the waste of pins.

[0045] It should be noted that the voltage of the first output pin is related to the current change rate of the output capacitor of the linear voltage regulator circuit. Specifically, when the current change rate of the output capacitor of the linear voltage regulator circuit is greater than or equal to the first preset threshold, it is determined that a load step event has occurred, that is, the linear voltage regulator circuit has a load change. At this time, the voltage of the first output pin will be less than or equal to the first voltage threshold; when the current change rate of the output capacitor of the linear voltage regulator circuit is less than the preset threshold, it is determined that the load step event has ended and entered a steady state. At this time, the voltage of the first output pin will be greater than or equal to the second voltage threshold, and the first output pin outputs a temperature signal.

[0046] Furthermore, in an embodiment of the present application, the output voltage of the switching power supply circuit is adjusted according to the output current, the load state and the temperature of the linear voltage regulator circuit, including: determining the saturation voltage according to the output current and the temperature of the linear voltage regulator circuit; and when the load state is a stable state, adjusting the output voltage of the switching power supply circuit to the sum of the output voltage of the linear voltage regulator circuit and the saturation voltage.

[0047] In this embodiment, the load state includes a changing state and a stable state. When the load is determined to be in a stable state, it indicates that the load of the electronic device has not experienced a step event, or the step event has ended and has entered a stable state. At this time, the output voltage of the switching power supply circuit is set to the sum of the output voltage of the linear voltage regulator circuit and the saturation voltage, that is, V out1 =V out2 +V dropout , where V out1 Represents the output voltage of the switching power supply circuit, V out2 Represents the output voltage of the linear voltage regulator circuit, V dropout It represents saturation voltage. Saturation voltage refers to the minimum VDS voltage (i.e., drain-source voltage) required to ensure that the adjustment tube inside the linear voltage regulator circuit can stably operate in the constant current region to achieve closed-loop steady-state control. In the LDO circuit, it is the minimum input-output voltage difference requirement.

[0048] When the load is determined to be in a changing state, it indicates that a step event occurs in the load of the electronic device. At this time, the output voltage of the switching power supply circuit is set to the sum of the output voltage of the linear voltage regulator circuit and twice the maximum saturation voltage, that is, V out1 =V out2 +2×V maxdropout , where V out1 Represents the output voltage of the switching power supply circuit, V out2 Represents the output voltage of the linear voltage regulator circuit, V maxdropout It represents the maximum saturation voltage, which is related to the performance, model and other parameters of the linear voltage regulator circuit. Linear voltage regulator circuits of different performances or models have their corresponding maximum saturation voltages. The maximum saturation voltage corresponding to the performance or model of the linear voltage regulator circuit can be obtained by looking up the table.

[0049] In the related art, the output voltage is only required to be greater than V based on the full load saturation voltage. out2 +V dropout , or only consider the optimal transient response and require the output voltage to be greater than V out2 +2×V maxdropout On the one hand, it will reduce the efficiency of the linear voltage regulator circuit, and the power consumption will be dissipated as heat energy inside the electronic device, causing temperature rise. On the other hand, in order to take care of the transient performance, the steady-state efficiency will be greatly wasted, affecting the use time of battery-powered occasions. The present application sets different voltage values ​​for the output voltage of the switching power supply circuit when the load is in different states through the above method. Specifically, when a step event occurs in the load, let V out1 =V out2 +2×V maxdropout , thereby improving the transient response capability of the circuit; when the load is in a steady state, let V out1 =V out2+V dropout , thereby avoiding affecting the voltage conversion efficiency and extending the battery power supply time.

[0050] In practical applications, the saturation voltage requirement of the linear voltage regulator circuit is related to the load. The saturation voltage under different loads differs by several times or even dozens of times. Specifically, the saturation voltage is closely related to the load size, load current and temperature. In the embodiment of the present application, the method for determining the saturation voltage is limited. Specifically, the saturation voltage corresponding to the output current of the switching power supply circuit and the temperature of the linear voltage regulator circuit can be obtained by looking up a table. In this way, the precise voltage value of the saturation voltage can be obtained, thereby ensuring the accuracy of the output voltage setting of the switching power supply circuit.

[0051] In a specific embodiment, Figure 2 As shown, the voltage regulation method includes:

[0052] Step 202, after the electronic device is turned on, it enters the transient response mechanism by default;

[0053] Step 204, enabling the linear voltage regulator circuit, outputting the voltage and the temperature signal;

[0054] Step 206, determining the saturation voltage by looking up a table according to the temperature signal and the current signal, and then entering a steady-state response mechanism;

[0055] Step 208, determining whether a load step event occurs, if yes, proceeding to step 210, if no, returning to step 206;

[0056] Step 210, entering the transient response mechanism;

[0057] Step 212 , determining whether the load step event is over, if so, returning to step 206 , if not, returning to step 210 .

[0058] In this embodiment, the transient response mechanism is entered by default to meet the startup requirements of the linear voltage regulator circuit. After the linear voltage regulator circuit is enabled, the voltage is output and the temperature signal is established. Further, the steady-state response mechanism is entered first, that is, V out1 =V out2 +V dropout , and then determine whether a load step event occurs. If it occurs, the transient response mechanism is entered, that is, V out1 =V out2 +2×V maxdropout After the load step event is determined to be over, the steady-state response mechanism is continued. Through the above method, the transient response and voltage conversion efficiency are optimized.

[0059] Furthermore, in an embodiment of the present application, the output voltage of the switching power supply circuit is adjusted according to the output current, the load state and the temperature of the linear voltage regulator circuit, including: adjusting the feedback information of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit to adjust the output voltage of the switching power supply circuit; wherein the feedback information of the switching power supply circuit includes at least one of the following: a feedback resistance ratio, a feedback reference voltage, and an input signal of a pulse width modulation comparator.

[0060] In this embodiment, the output voltage regulation method of the switching power supply circuit is limited. Specifically, the output voltage of the switching power supply circuit is dynamically regulated by adjusting the feedback information of the switching power supply circuit according to the output current, load state and temperature of the linear voltage regulator circuit.

[0061] In this embodiment, the output voltage is adjusted by changing the feedback resistance ratio of the switching power supply circuit, the reference voltage of the feedback loop, the ramp signal of the pulse width modulation (PWM) comparator input, etc. through analog control signals or digital control signals. For example, the dynamic voltage scaling (DVS) technology is applied to change the output voltage of the switching power supply circuit when needed.

[0062] Through the above method, the output voltage of the switching power supply circuit can be accurately and quickly adjusted, thereby improving the transient response performance while enhancing the overall power supply efficiency and battery life.

[0063] The embodiment of the present application provides a voltage regulation circuit. Figure 3 and Figure 4 The voltage regulation circuit is described in detail. Figure 3 As shown, the voltage regulation circuit includes:

[0064] The linear voltage stabilizing circuit 302 includes:

[0065] First output pin 3022;

[0066] The temperature detection circuit 3024 is connected to the first output pin 3022 and is used to detect the temperature of the linear voltage stabilization circuit 302;

[0067] A load detection circuit 3026 connected to the first output pin 3022 and used to detect the load state of the linear voltage stabilization circuit 302;

[0068] The switching power supply circuit 304 includes:

[0069] The current detection circuit 3042 is used to detect the output current of the switching power supply circuit 304;

[0070] A regulating circuit 3044, used for regulating the output voltage of the switching power supply circuit 304;

[0071] The control circuit 306 is used to determine the load state and the temperature of the linear voltage regulator circuit 302 according to the voltage of the first output pin 3022, and control the regulating circuit 3044 to regulate the output voltage of the switching power supply circuit 304 according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit 304 is the input voltage of the linear voltage regulator circuit 302.

[0072] In this embodiment, the electronic device includes a switching power supply circuit 304 and a linear voltage regulator circuit 302. The switching power supply circuit 304 is connected to the linear voltage regulator circuit 302. The switching power supply circuit 304 and the linear voltage regulator circuit 302 form a power supply network. First, the switching power supply circuit 304 is used to achieve a relatively large voltage drop, and then the linear voltage regulator circuit 302 is used to achieve a clean output voltage.

[0073] In an embodiment of the present application, the output current, load status and temperature of the linear voltage regulator circuit 302 are obtained in real time, and then the output voltage of the front-end switching power supply circuit 304 is adaptively adjusted to achieve optimization of transient response and voltage conversion efficiency. In electronic devices, the transient response performance can be improved, the overall power supply efficiency and battery life can be improved, and power loss and temperature rise can be reduced.

[0074] Specifically, on one hand, because the output current and input current of the linear voltage regulator circuit 302 are completely equal when slight bias loss is ignored, and the switching power supply circuit 304 of the previous stage mostly has OCP, that is, has overcurrent detection capability, the output current of the linear voltage regulator circuit can be characterized by the output current of the switching power supply circuit 304. The linear voltage regulator circuit 302 only needs to provide temperature and load status signals, and does not need to occupy the pin resources of the linear voltage regulator circuit 302 to transmit the output current.

[0075] On the other hand, if the linear voltage regulator circuit 302 transmits the temperature signal and the load status signal respectively through two pins, it will cause a waste of chip pin resources, and the corresponding control circuit 306 also needs to occupy two pin resources and requires two independent signal processing units, resulting in an increase in the die and packaging costs of the linear voltage regulator circuit 302 and the control circuit 306. Therefore, in the embodiment of the present application, the temperature and load status provided by the linear voltage regulator circuit 302 are transmitted by the same pin (i.e., the first output pin 3022). Since the temperature signal is a continuous signal and the load step signal itself is a non-continuous instantaneous signal, the temperature signal can be transmitted in a steady state based on the same signal line, and the load step signal can be transmitted when a load step event occurs, thereby realizing efficient transmission of temperature and load step signals, reducing pin waste, and reducing the complexity of signal transmission control.

[0076] It should be noted that the load of the electronic device includes sensors, cameras, flashes, buttons, speakers, etc. The linear voltage regulator circuit 302 may be an LDO, and the switching power supply circuit 304 may include a buck circuit, a boost circuit, a buck-boost circuit, a charge pump circuit, a flyback circuit, and other switching power supplies.

[0077] Further, in the embodiments of the present application, Figure 4 As shown, the voltage regulation circuit also includes:

[0078] The switch circuit 308 has a first end connected to the load detection circuit 3026, a second end connected to the first output pin 3022 and a first end of the temperature detection circuit 3024, and a third end connected to the second end of the temperature detection circuit 3024 and the ground GND.

[0079] In this embodiment, if a load step event occurs, the load detection circuit 3026 inputs a step signal to the switch circuit 308. When there is no step signal, the first output pin 3022 outputs a temperature signal detected by the temperature detection circuit 3024 (eg, a temperature detection diode).

[0080] Specifically, when a step occurs, the step signal output is high, the switch circuit 308 is pulled low, the first output pin 3022 is pulled low, and the output signal is a low level far less than the normal temperature signal level. The control circuit 306 determines that a load step event has occurred based on the detected voltage and enters the load step event processing mechanism. When the step is completed, the step signal output is low, the switch circuit 308 is pulled high, and the first output pin 3022 outputs a normal temperature signal. The control circuit 306 determines that the load step event is over based on the detected voltage, marks the completion of the step load event, and enters the normal steady-state processing mechanism.

[0081] Through the above method, it is possible to use one pin to transmit the temperature signal and the load step signal, thereby reducing pin waste and reducing the complexity of signal transmission control.

[0082] Furthermore, in the embodiment of the present application, the control circuit 306 is specifically used to: determine that the load state is a changing state when the voltage of the first output pin 3022 is less than or equal to the first voltage threshold; determine that the load state is a stable state when the voltage of the first output pin 3022 is greater than or equal to the second voltage threshold, and determine the temperature of the linear voltage regulation circuit according to the voltage of the first output pin 3022; wherein the second voltage threshold is greater than the first voltage threshold.

[0083] In this embodiment, when the voltage of the first output pin 3022 is less than or equal to the first voltage threshold, that is, the voltage of the first output pin 3022 is a falling edge voltage, and at this time the voltage of the first output pin 3022 is much smaller than the voltage when the temperature signal is normally transmitted, it is determined that a load step event has occurred; when the voltage of the first output pin 3022 is greater than or equal to the second voltage threshold, it is determined that the load step event has ended, and the first output pin 3022 transmits a temperature signal, and the temperature can be determined based on the voltage of the first output pin 3022.

[0084] Through the above method, the system architecture can be simplified in the adaptive saturation voltage power supply system, and the transmission of two key signals can be realized with one pin, thereby reducing the waste of pins. Moreover, for the identification of two different signals, it is possible to identify whether there is a load step event based on the original temperature signal quantization circuit, and the identification method is simple.

[0085] It should be noted that the voltage of the first output pin 3022 is related to the current change rate of the output capacitor of the linear voltage regulator circuit 302. Specifically, when the current change rate of the output capacitor of the linear voltage regulator circuit 302 is greater than or equal to the first preset threshold, it is determined that a load step event has occurred, that is, the linear voltage regulator circuit has a load change. At this time, the voltage of the first output pin 3022 will be less than or equal to the first voltage threshold; when the current change rate of the output capacitor of the linear voltage regulator circuit 302 is less than the preset threshold, it is determined that the load step event has ended and entered a steady state. At this time, the voltage of the first output pin 3022 will be greater than or equal to the second voltage threshold, and the first output pin 3022 outputs a temperature signal.

[0086] Furthermore, in the embodiment of the present application, the control circuit 306 is specifically used to: determine the saturation voltage based on the output current and the temperature of the linear voltage regulator circuit 302; and when the load state is a stable state, adjust the output voltage of the switching power supply circuit 304 to the sum of the output voltage of the linear voltage regulator circuit 302 and the saturation voltage.

[0087] In this embodiment, the load state includes a changing state and a stable state. When it is determined that the load is in a stable state, it indicates that the load of the electronic device has not experienced a step event, or the step event has ended and has entered a stable state. At this time, the output voltage of the switching power supply circuit 304 is set to the sum of the output voltage of the linear voltage regulator circuit 302 and the saturation voltage, that is, V out1 =V out2 +V dropout , where V out1 represents the output voltage of the switching power supply circuit 304, V out2 represents the output voltage of the linear voltage regulator circuit 302, V dropout The saturation voltage refers to the minimum VDS voltage (i.e., drain-source voltage) required to ensure that the adjustment tube inside the linear voltage regulator circuit 302 can stably operate in the constant current region to achieve closed-loop steady-state control. In the LDO circuit, it is the minimum input-output voltage difference requirement.

[0088] When it is determined that the load is in a changing state, it indicates that a step event occurs in the load of the electronic device. At this time, the output voltage of the switching power supply circuit 304 is set to the sum of the output voltage of the linear voltage regulator circuit 302 and twice the maximum saturation voltage, that is, V out1 =V out2 +2×V maxdropout , where V out1 represents the output voltage of the switching power supply circuit 304, V out2 represents the output voltage of the linear voltage regulator circuit 302, V maxdropout It represents the maximum saturation voltage, and the maximum saturation voltage is related to the performance, model and other parameters of the linear voltage regulator circuit 302. Linear voltage regulator circuits of different performances or models have their corresponding maximum saturation voltages. The maximum saturation voltage corresponding to the performance or model of the linear voltage regulator circuit 302 can be obtained by looking up the table.

[0089] In the related art, the output voltage is only required to be greater than V based on the full load saturation voltage. out2 +V dropout , or only consider the optimal transient response and require the output voltage to be greater than V out2 +2×V maxdropout On the one hand, it will reduce the efficiency of the linear voltage regulator circuit, and the power consumption will be dissipated as heat energy inside the electronic device, causing temperature rise. On the other hand, in order to take care of the transient performance, the steady-state efficiency will be greatly wasted, affecting the use time of battery-powered occasions. The present application sets different voltage values ​​for the output voltage of the switching power supply circuit when the load is in different states through the above method. Specifically, when a step event occurs in the load, let V out1 =V out2 +2×V maxdropout, thereby improving the transient response capability of the circuit; when the load is in a steady state, let V out1 =V out2 +V dropout , thereby avoiding affecting the voltage conversion efficiency and extending the battery power supply time.

[0090] In practical applications, the saturation voltage requirement of the linear voltage regulator circuit 302 is related to the load, and the saturation voltage under different loads differs by several times or even dozens of times. Specifically, the saturation voltage is closely related to the load size, load current and temperature. In the embodiment of the present application, the method for determining the saturation voltage is limited. Specifically, the saturation voltage corresponding to the output current of the switching power supply circuit 304 and the temperature of the linear voltage regulator circuit 302 can be obtained by looking up a table. In this way, the precise voltage value of the saturation voltage can be obtained, thereby ensuring the accuracy of the output voltage setting of the switching power supply circuit.

[0091] Furthermore, in the embodiment of the present application, the control circuit 306 is specifically used to: control the regulation circuit 3044 to adjust the feedback information of the switching power supply circuit 304 according to the output current, load status and temperature of the linear voltage regulator circuit 302 to adjust the output voltage of the switching power supply circuit 304.

[0092] In this embodiment, the adjustment method of the output voltage of the switching power supply circuit 304 is limited. Specifically, according to the output current, load state and temperature of the linear voltage regulator circuit 302, the feedback information of the switching power supply circuit 304 is adjusted, so as to achieve dynamic adjustment of the output voltage of the switching power supply circuit 304.

[0093] In this embodiment, the output voltage is adjusted by changing the feedback resistance ratio, feedback loop reference voltage, ramp signal input to the PWM comparator, etc. of the switching power supply circuit 304 through analog control signals or digital control signals. For example, the DVS technology is applied to change the output voltage of the switching power supply circuit 304 when necessary.

[0094] Through the above-mentioned method, the output voltage of the switching power supply circuit 304 can be adjusted accurately and quickly, thereby improving the transient response performance while enhancing the overall power supply efficiency and battery life.

[0095] Furthermore, in the embodiment of the present application, the feedback information sampling point of the regulating circuit 3044 is arranged adjacent to the input capacitor of the linear voltage stabilizing circuit 302 .

[0096] In this embodiment, the regulating circuit 3044 has a remote voltage compensation technology, that is, the feedback information sampling point of the regulating circuit 3044 is close to the input capacitor of the linear voltage regulator circuit 302, so the loss of the wiring can be automatically compensated.

[0097] Optionally, an embodiment of the present application also provides an electronic device 500, including a processor 520, a memory 518, and a program or instruction stored in the memory 518 and executable on the processor 520. When the program or instruction is executed by the processor 520, each process of the above-mentioned voltage regulation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0098] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.

[0099] Figure 5 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0100] The electronic device 500 includes but is not limited to components such as a radio frequency unit 502 , a network module 504 , an audio output unit 506 , an input unit 508 , a sensor 510 , a display unit 512 , a user input unit 514 , an interface unit 516 , a memory 518 , and a processor 520 .

[0101] Those skilled in the art will appreciate that the electronic device 500 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 520 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 5 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 described in detail here.

[0102] Among them, the processor 520 is used to obtain the output current of the switching power supply circuit of the electronic device, and to obtain the voltage of the first output pin of the linear voltage regulator circuit; determine the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit according to the voltage of the first output pin; adjust the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

[0103] Furthermore, the processor 520 is specifically used to: determine that the load state is a changing state when the voltage of the first output pin is less than or equal to a first voltage threshold; determine that the load state is a stable state when the voltage of the first output pin is greater than or equal to a second voltage threshold, and determine the temperature of the linear voltage regulation circuit according to the voltage of the first output pin; wherein the second voltage threshold is greater than the first voltage threshold.

[0104] Furthermore, the processor 520 is specifically used to: determine the saturation voltage according to the output current and the temperature of the linear voltage regulator circuit; and when the load state is stable, adjust the output voltage of the switching power supply circuit to the sum of the output voltage of the linear voltage regulator circuit and the saturation voltage.

[0105] Furthermore, the processor 520 is specifically used to: adjust the feedback information of the switching power supply circuit according to the output current, load status and temperature of the linear voltage regulator circuit to adjust the output voltage of the switching power supply circuit; wherein the feedback information of the switching power supply circuit includes at least one of the following: feedback resistance ratio, feedback reference voltage, and input signal of the pulse width modulation comparator.

[0106] It should be understood that in the embodiment of the present application, the radio frequency unit 502 can be used to send and receive information or send and receive signals during a call, specifically, receive downlink data from a base station or send uplink data to a base station. The radio frequency unit 502 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0107] The network module 504 provides users with wireless broadband Internet access, such as helping users to send and receive emails, browse web pages, and access streaming media.

[0108] The audio output unit 506 can convert the audio data received by the RF unit 502 or the network module 504 or stored in the memory 518 into an audio signal and output it as sound. In addition, the audio output unit 506 can also provide audio output related to a specific function performed by the electronic device 500 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 506 includes a speaker, a buzzer, a receiver, etc.

[0109] The input unit 508 is used to receive audio or video signals. The input unit 508 may include a graphics processing unit (GPU) 5082 and a microphone 5084. The graphics processor 5082 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 processed image frame can be displayed on the display unit 512, or stored in the memory 518 (or other storage medium), or sent via the radio frequency unit 502 or the network module 504. The microphone 5084 can receive sound and can process the sound into audio data. The processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 502 in the case of a telephone call mode.

[0110] The electronic device 500 also includes at least one sensor 510, such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, a motion sensor, and other sensors.

[0111] The display unit 512 is used to display information input by the user or information provided to the user. The display unit 512 may include a display panel 5122, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.

[0112] The user input unit 514 can be used to receive input digital or character information, and to generate key signal input related to the user settings and function control of the first electronic device. Specifically, the user input unit 514 includes a touch panel 5142 and other input devices 5144. The touch panel 5142 is also called a touch screen, which can collect the user's touch operations on or near it. The touch panel 5142 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, and converts it into contact coordinates, and then sends it to the processor 520, receives the command sent by the processor 520 and executes it. Other input devices 5144 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.

[0113] Further, the touch panel 5142 may be covered on the display panel 5122. When the touch panel 5142 detects a touch operation on or near it, it is transmitted to the processor 520 to determine the type of the touch event, and then the processor 520 provides a corresponding visual output on the display panel 5122 according to the type of the touch event. The touch panel 5142 and the display panel 5122 may be two independent components or integrated into one component.

[0114] The interface unit 516 is an interface for connecting an external device to the electronic device 500. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 516 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 500 or may be used to transmit data between the electronic device 500 and an external device.

[0115] The memory 518 can be used to store software programs and various data. The memory 518 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile terminal (such as audio data, a phone book, etc.), etc. In addition, the memory 518 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.

[0116] The processor 520 performs various functions of the electronic device 500 and processes data by running or executing software programs and / or modules stored in the memory 518, and calling data stored in the memory 518, thereby monitoring the electronic device 500 as a whole. The processor 520 may include one or more processing units; preferably, the processor 520 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communications.

[0117] 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, each process of the above-mentioned voltage regulation method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0118] The processor is the processor in the electronic device 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.

[0119] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned voltage regulation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0120] 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.

[0121] An embodiment of the present application further provides an electronic device, which includes a voltage regulation circuit and can achieve the same technical effect as the voltage regulation circuit. To avoid repetition, it will not be described here.

[0122] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including 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 sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0123] 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 a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0124] 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 the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A voltage regulation method, characterized in that: include: Acquire an output current of a switching power supply circuit of an electronic device, and acquire a voltage of a first output pin of a linear voltage regulator circuit of the electronic device; determining the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit according to the voltage of the first output pin, so that the temperature of the linear voltage regulator circuit and the load state of the linear voltage regulator circuit are both provided by the same first output pin; The output voltage of the switching power supply circuit is adjusted according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

2. The voltage regulation method according to claim 1, characterized in that: Determining the load state of the linear voltage stabilizing circuit and the temperature of the linear voltage stabilizing circuit according to the voltage of the first output pin includes: When the voltage of the first output pin is less than or equal to a first voltage threshold, determining that the load state is a changing state; When the voltage of the first output pin is greater than or equal to a second voltage threshold, determining that the load state is a stable state, and determining the temperature of the linear voltage stabilization circuit according to the voltage of the first output pin; The second voltage threshold is greater than the first voltage threshold.

3. The voltage regulation method according to claim 2, characterized in that: The step of adjusting the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit comprises: Determining a saturation voltage according to the output current and the temperature of the linear voltage stabilization circuit; When the load state is a stable state, the output voltage of the switching power supply circuit is adjusted to the sum of the output voltage of the linear voltage regulator circuit and the saturation voltage.

4. The voltage regulation method according to any one of claims 1 to 3, characterized in that: The step of adjusting the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit comprises: According to the output current, the load state and the temperature of the linear voltage regulator circuit, adjusting the feedback information of the switching power supply circuit to adjust the output voltage of the switching power supply circuit; The feedback information of the switching power supply circuit includes at least one of the following: a feedback resistance ratio, a feedback reference voltage, and an input signal of a pulse width modulation comparator.

5. A voltage regulating circuit, characterized in that: include: A linear voltage stabilizing circuit, the linear voltage stabilizing circuit comprising: First output pin; A temperature detection circuit, connected to the first output pin, for detecting the temperature of the linear voltage stabilization circuit; A load detection circuit, connected to the first output pin, for detecting a load state of the linear voltage stabilization circuit; A switching power supply circuit, the switching power supply circuit comprising: A current detection circuit, used to detect the output current of the switching power supply circuit; A regulating circuit, used for regulating the output voltage of the switching power supply circuit; A control circuit is used to determine the load state of the linear voltage regulator circuit and the temperature of the linear voltage regulator circuit according to the voltage of the first output pin, so that the temperature of the linear voltage regulator circuit and the load state of the linear voltage regulator circuit are both provided by the same first output pin, and control the regulation circuit to regulate the output voltage of the switching power supply circuit according to the output current, the load state and the temperature of the linear voltage regulator circuit, wherein the output voltage of the switching power supply circuit is the input voltage of the linear voltage regulator circuit.

6. The voltage regulating circuit according to claim 5, characterized in that: Also includes: A switch circuit, wherein a first end of the switch circuit is connected to the load detection circuit, a second end of the switch circuit is connected to the first output pin and the first end of the temperature detection circuit, and a third end of the switch circuit is connected to the second end of the temperature detection circuit and a ground end.

7. The voltage regulating circuit according to claim 5, characterized in that: The control circuit is specifically used for: When the voltage of the first output pin is less than or equal to a first voltage threshold, determining that the load state is a changing state; When the voltage of the first output pin is greater than or equal to a second voltage threshold, determining that the load state is a stable state, and determining the temperature of the linear voltage stabilization circuit according to the voltage of the first output pin; The second voltage threshold is greater than the first voltage threshold.

8. The voltage regulating circuit according to claim 7, characterized in that: The control circuit is specifically used for: Determining a saturation voltage according to the output current and the temperature of the linear voltage stabilization circuit; When the load state is a stable state, the output voltage of the switching power supply circuit is adjusted to the sum of the output voltage of the linear voltage regulator circuit and the saturation voltage.

9. The voltage regulating circuit according to any one of claims 5 to 8, characterized in that: The control circuit is specifically used for: According to the output current, the load state and the temperature of the linear voltage regulator circuit, the regulating circuit is controlled to adjust the feedback information of the switching power supply circuit so as to adjust the output voltage of the switching power supply circuit.

10. The voltage regulating circuit according to claim 9, characterized in that: The feedback information sampling point of the regulating circuit is arranged adjacent to the input capacitor of the linear voltage stabilizing circuit.

11. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the voltage regulation method according to any one of claims 1 to 4.

12. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by a processor, the steps of the voltage regulation method according to any one of claims 1 to 4 are implemented.

13. An electronic device, characterized in that: include: A voltage regulating circuit as claimed in any one of claims 5 to 10.