Power supply control method and device, electronic equipment and storage medium

By determining the load current range after dynamic voltage frequency adjustment and adjusting the power supply circuit parameters, the problem of low efficiency of power supply circuit after DVFS is solved, and the battery life of electronic equipment is improved.

CN119093693APending Publication Date: 2024-12-06GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310666328.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-06
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

After dynamic voltage frequency adjustment (DVFS), the power supply circuit cannot achieve the optimal conversion efficiency, resulting in an increase in power consumption of electronic devices.

Method used

The load current range of the target load is determined after DVFS and the configuration parameters of the power supply circuit are adjusted according to this range, so that the power supply circuit can achieve the highest conversion efficiency when outputting the load current.

Benefits of technology

It improves the conversion efficiency of power supply circuits and increases the battery life of electronic devices.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119093693A_ABST
    Figure CN119093693A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a power supply control method, and the method comprises the steps: determining a load current range of a target load under the condition of completing the adjustment of the voltage and / or frequency of the target load; adjusting configuration parameters of a power supply circuit based on the load current range; wherein the power supply circuit is used for supplying power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after configuration parameter adjustment at least comprises the load current range. The embodiment of the invention further provides a power supply control device, electronic equipment, a chip and a storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic technology, and in particular to a power supply control method and device, electronic equipment, chip, and storage medium. Background Art

[0002] Dynamic Voltage and Frequency Scaling (DVFS) technology can dynamically adjust the processor's operating frequency and voltage according to the different computing power (i.e., computing power) requirements of the applications running on the processor, thereby achieving energy saving.

[0003] In practical applications, the conversion efficiency of the power supply circuit that provides power to the processor is related to the load current of the processor. Figure 1 The conversion efficiency curve of the power supply circuit shown in FIG. 1 is related to the load current. Generally, after the input-output relationship of the power supply circuit and the load device are determined, the efficiency curve of the power supply circuit will remain unchanged. That is to say, the load current corresponding to the highest point of the conversion efficiency is fixed.

[0004] However, after the processor is subjected to DVFS, the load current of the processor will change accordingly. Therefore, the power supply circuit after DVFS cannot achieve the optimal conversion efficiency, which increases the power consumption of the electronic device to a certain extent. Summary of the invention

[0005] Embodiments of the present application provide a power supply control method, apparatus, communication equipment, and storage medium.

[0006] The technical solution of this application is implemented as follows:

[0007] The present application provides a power supply control method, the method comprising:

[0008] When the voltage and / or frequency adjustment of the target load is completed, determining a load current range of the target load;

[0009] Based on the load current range, adjust the configuration parameters of the power supply circuit; wherein, the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the load current range.

[0010] The present application provides a power supply control device, the device comprising:

[0011] a determination unit, configured to determine a load current range of the target load when the voltage and / or frequency adjustment of the target load is completed;

[0012] An adjustment unit is configured to adjust configuration parameters of a power supply circuit based on the load current range; wherein the power supply circuit is used to supply power to the target load, and an output current corresponding to a highest point of conversion efficiency of the power supply circuit after adjustment of the configuration parameters includes at least the load current range.

[0013] An embodiment of the present application provides a chip, including: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes the power supply control method.

[0014] An embodiment of the present application provides an electronic device, including a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the power supply control method.

[0015] An embodiment of the present application provides a computer-readable storage medium, characterized in that it is used to store a computer program, and the computer program enables a computer to execute the power supply control method.

[0016] In the power supply control method provided in the embodiment of the present application, the electronic device can determine the current range of the load current of the target load when the voltage and / or frequency adjustment of the target load is completed; adjust the configuration parameters of the power supply circuit based on the current range of the load current; wherein the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the current range. That is to say, the electronic device can determine the range of the load current after completing the DVFS, and adjust the configuration parameters of the power supply circuit according to the range of the load current, so that the power supply circuit can achieve the highest conversion efficiency when outputting the load current, thereby improving the conversion efficiency of the power supply circuit and further increasing the endurance of the electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 A schematic diagram of a conversion efficiency curve of a power supply circuit provided in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a power supply control method provided in an embodiment of the present application Figure 1 ;

[0019] Figure 3 A schematic diagram of switching a conversion efficiency curve provided in an embodiment of the present application;

[0020] Figure 4 A schematic diagram of the relationship between the number of switch devices in a working state in a power supply circuit provided in an embodiment of the present application and the total power consumption of the power supply circuit;

[0021] Figure 5 A schematic diagram of phase switching of a BUCK circuit provided in an embodiment of the present application;

[0022] Figure 6 A schematic diagram of a curve showing how the conversion efficiency of a power supply circuit provided in an embodiment of the present application changes with changes in input and output voltages;

[0023] Figure 7 A schematic diagram of a power supply control method provided in an embodiment of the present application Figure 2 ;

[0024] Figure 8 A schematic diagram of the structure of a power supply control device provided in an embodiment of the present application;

[0025] Fig. 9 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;

[0026] Fig.10 It is a schematic structural diagram of the chip of an embodiment of the present application. DETAILED DESCRIPTION

[0027] The following will describe the technical solutions in the embodiments of the present application in conjunction with the drawings 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.

[0028] In practical applications, the power supply circuit may include a power rail, a buck converter, and a direct current to direct current (DCDC) converter. The conversion efficiency of the power supply circuit is related to the load current of the target load. Figure 1 As shown, the highest conversion efficiency point of the power supply circuit is located in the middle part of the load current distribution.

[0029] After DVFS is performed on the target load, the load current of the target load may change, so the conversion efficiency of the power supply circuit cannot always be at the highest efficiency. The DVFS controller adjusts the voltage and / or frequency of the target load according to the working scenario of the target load. DVFS cannot control the parameters of the power supply circuit, that is, the power supply circuit and DVFS are open-loop control. In addition, the highest conversion efficiency point of the power supply circuit is fixed or register-configured, and cannot be adjusted adaptively. Therefore, the power supply circuit cannot be maximized.

[0030] Based on this, an embodiment of the present application provides a power supply control method that can be applied to an electronic device, wherein the electronic device can determine the current range of the load current of the target load after completing the voltage and / or frequency adjustment of the target load; adjust the configuration parameters of the power supply circuit based on the current range of the load current; wherein the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the current range. In other words, the electronic device can determine the range of the load current after completing the DVFS, and adjust the configuration parameters of the power supply circuit according to the range of the load current, so that the power supply circuit can achieve the highest conversion efficiency when outputting the load current, thereby improving the conversion efficiency of the power supply circuit and further increasing the endurance of the electronic device.

[0031] To facilitate understanding of the technical solutions of the embodiments of the present application, the technical solutions of the present application are described in detail below through specific embodiments. The above related technologies can be combined arbitrarily with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application. The embodiments of the present application include at least part of the following contents.

[0032] In one embodiment of the present application, refer to Figure 2 As shown, the power supply control method provided in the embodiment of the present application may include the following steps:

[0033] S210, the electronic device determines a load current range of the target load after completing voltage and / or frequency adjustment of the target load;

[0034] S220. The electronic device adjusts the configuration parameters of the power supply circuit based on the load current range; wherein the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the load current range.

[0035] It should be understood that the power supply control method provided in the embodiments of the present application can be applied to electronic devices, wherein the electronic devices may include: smart phones, laptops, PDAs, Bluetooth headsets, smart speakers, smart watches, smart glasses, smart bracelets, watches, Bluetooth keyboards, Bluetooth mice, styluses, portable media playback devices, other wearable devices, etc. The embodiments of the present application do not limit the types of electronic devices.

[0036] In an embodiment of the present application, the electronic device may include a power supply circuit and a target load. Among them, the power supply circuit can process the power supply of the external or battery assembly, provide electrical energy to the target load, and power the target load. The target load can be an electronic component connected to the two ends of the circuit with a certain potential difference, which can convert electrical energy into other forms of energy. In an embodiment of the present application, the target load can be a device capable of DVFS. For example, the target load can be a CPU, GPU, modem, storage device, etc., which is not limited in the embodiment of the present application.

[0037] In practical applications, in order to reduce the power consumption of electronic devices, electronic devices can perform DVFS on target loads, that is, electronic devices can adjust the frequency and / or voltage of target loads in real time according to the different requirements of target loads for computing power in different working scenarios. The relationship between the power consumption of electronic devices and frequency and voltage can be referred to the following formula (1).

[0038] P=C*V 2 *f sw (1)

[0039] Where P is the overall power consumption of the electronic device, C can be a constant, V is the voltage of the target load, and f SW is the frequency of the target load. From formula (1), it can be seen that the overall power consumption of the electronic device is proportional to the square of the voltage and proportional to the frequency. Therefore, the electronic device can bring greater power consumption benefits by reducing the voltage of the target load compared with reducing the frequency.

[0040] It should be noted that there are multiple voltages and / or frequencies at which the target load can operate, that is, the target load can operate at multiple voltages and / or frequencies. Since the process executed by the target load is strongly related to the system architecture design, generally the higher the voltage and the higher the frequency, the greater the required load current and the corresponding power consumption. Conversely, the lower the voltage and the lower the frequency, the smaller the required load current and the corresponding power consumption. In particular, electronic devices will stop scheduling most processes in deep sleep mode, and the frequency of the corresponding target load will be reduced to the lowest, and the voltage will also be reduced to the lowest.

[0041] It is understandable that, when the architecture design of the electronic device is determined, the target load will have a relatively certain load current range in different scenarios (such as standby, cell search, 5G NR 3CC, etc.). It should be noted that the load current range refers to the range of the load current of the target load at the current voltage and / or frequency.

[0042] Based on this, the electronic device can determine the current range of the load current of the target load after completing the voltage and / or frequency adjustment of the target load. Then, the conversion efficiency of the power supply circuit is maximized based on the current range. Specifically, after determining the current range of the current load current, the electronic device can configure the power supply circuit so that the highest point of the conversion efficiency of the power supply circuit is within the load current range.

[0043] It should be noted that the load current range can be a continuous current range or one or more discrete current values, and the embodiments of the present application do not limit this.

[0044] Exemplary, reference Figure 3 As shown in the figure, before the electronic device performs DVFS on the target load, the conversion efficiency of the power supply circuit is as follows: Figure 3 As shown by the dotted line in the figure, the point with the highest conversion efficiency of the power supply circuit is point A. After performing DVFS on the target load, the electronic device determines that the current load current is the current value corresponding to point B according to the voltage and frequency of the target load. Based on this, the electronic device can configure the power supply circuit so that the power supply circuit conversion efficiency curve (such as Figure 3 The highest point of the solid line shown) passes through point B.

[0045] It should be noted that the electronic device can change the configuration parameters of the power supply circuit and configure the power supply circuit through the configuration parameters. That is to say, after determining the current range of the current load current, the electronic device can adjust the configuration parameters of the power supply circuit, so that the power supply circuit after the configuration parameters are adjusted can output the load current, and when the power supply circuit after the configuration parameters are adjusted outputs the load current, the conversion efficiency of the power supply circuit is the highest efficiency.

[0046] In summary, in the power supply control method provided in the embodiment of the present application, the electronic device can determine the current range of the load current of the target load after completing the voltage and / or frequency adjustment of the target load; adjust the configuration parameters of the power supply circuit based on the current range of the load current; wherein the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the current range. In other words, the electronic device can determine the load current range after completing DVFS, and adjust the configuration parameters of the power supply circuit according to the load current range, so that the power supply circuit can achieve the highest conversion efficiency when outputting the load current, thereby improving the conversion efficiency of the power supply circuit and further increasing the endurance of the electronic device.

[0047] In the embodiment of the present application, after performing DVFS on the target load, the electronic device may determine the load current range of the target load.

[0048] In some embodiments, the electronic device may directly measure the output current of the target load to obtain the load current range.

[0049] In other embodiments, when the target load operates at different voltages and / or frequencies, there will be a relatively certain load current range. The electronic device can determine the load current range of the target load in the following manner:

[0050] When the voltage and / or frequency of the target load is adjusted, determining a load current range of the target load based on the voltage and / or frequency of the target load and the first mapping relationship;

[0051] The first mapping relationship is used to characterize the mapping relationship between the voltage and / or frequency of the target load and the load current range.

[0052] It should be noted that in some fixed scenarios, there is a relatively stable mapping relationship between the voltage and / or frequency of the target load and the load current of the target load. Exemplarily, Table 1 shows a mapping relationship between the voltage and frequency of a target load and the current range of the load current of the target load. Among them, when the electronic device enters deep sleep mode, the voltage output by the power supply circuit to the target load will be reduced to a minimum value of 0.55V, and the load current range can be 10mA to 100mA. When the system process in the electronic device increases, the voltage and frequency of the target load will increase. In other words, the load current range is determined when the electronic device operates at each voltage and / or frequency.

[0053] Table 1

[0054] Voltage frequency Load current range 0.55V 200M 10mA~100mA 0.65V 500M 100mA~500mA 0.7V 800M 500mA~1A 0.75V 1G 1A~2A 0.8V 1.2G >2A

[0055] In an embodiment of the present application, the electronic device may pre-store the above-mentioned first mapping relationship. It should be noted that the load current range corresponding to each voltage and / or frequency in the above-mentioned first mapping relationship may be an empirical value obtained after multiple tests. The first mapping relationship may be pre-stored in a memory of the electronic device, wherein the first mapping relationship may be stored in an independent memory or in a storage space provided by the electronic device processor, and the embodiment of the present application does not limit this.

[0056] It is understandable that after performing DVFS on the target load, the electronic device can determine the load current range corresponding to the voltage and / or frequency of the current target load by searching the first mapping relationship.

[0057] In some embodiments, the number of the first mapping relationships may include multiple ones. The first mapping relationship may be associated with the scene where the electronic device is located, and different first mapping relationships may be associated with different scenes and / or device types.

[0058] It is understandable that for different device types, the first mapping relationship between the voltage and / or frequency domain of the target load and the load current range may be different. And for different scenarios in the same device type, the first mapping relationship between the voltage and / or frequency domain of the target load and the load current range may also be different.

[0059] Among them, the scenarios in which the electronic device is located may include call scenarios, video scenarios, performance measurement scenarios, sleep scenarios, etc., and the embodiments of the present application do not limit this.

[0060] It should be noted that the multiple first mapping relationships may be pre-stored in the memory of the electronic device. Each of the multiple first mapping relationships may also be obtained by the electronic device from the server during software upgrade and stored in the memory of the electronic device. The embodiment of the present application does not limit the method of obtaining the multiple first mapping relationships.

[0061] In the following embodiments, when the number of the first mapping relationships includes multiple ones, the electronic device may determine the load current range of the target load in the following manner:

[0062] A first mapping relationship is determined according to a current scene and / or device type.

[0063] When the voltage and / or frequency of the target load is adjusted, the load current range of the target load is determined based on the voltage and / or frequency of the target load and the first mapping relationship.

[0064] That is, when the number of first mapping relationships includes multiple ones, the electronic device can first determine a usable first mapping relationship from multiple first mapping relationships according to the current scene and / or device type. Then, after performing DVFS on the target load, the electronic device can use the selected first mapping relationship to determine the load current range of the target load according to the voltage and / or frequency of the target load.

[0065] In an embodiment of the present application, the configuration parameters in S220 may include one or more of the following:

[0066] The number of switching devices in working state in the power supply circuit;

[0067] The operating frequency of the switching devices in the power supply circuit;

[0068] The operating mode of the switching device in the power supply circuit;

[0069] The operating status of each sub-circuit in the power supply circuit; and,

[0070] The phase switching threshold of the power supply circuit, wherein the phase switching point is used to indicate the threshold at which the power supply circuit switches between single-phase and / or multiple BUCK circuits.

[0071] It can be understood that the electronic device can adjust at least one of the number of switching devices in working state in the power supply circuit, the operating frequency of the switching devices, the operating mode of the switching devices, the working state of each sub-circuit, the input voltage, and the phase switching threshold, so as to change the conversion efficiency of the power supply circuit, so that the output current range corresponding to the highest point of the conversion efficiency of the power supply circuit includes the load current range of the current target load.

[0072] It should be noted that the switch device in the power supply circuit may be a power stage switch, such as a field effect (MOSFET, MOS) switch.

[0073] In practical applications, the power loss of the power supply circuit may include switching loss and / or conduction loss. The number of switch devices in the power supply circuit in working state is inversely proportional to the conduction loss, and the number of switch devices in the power supply circuit in working state is directly proportional to the switching loss.

[0074] Figure 4 The figure shows the relationship between the number of switching devices in working state in the power supply circuit and the total power consumption of the power supply circuit. It can be seen that the more the number of switching devices in working state in the power supply circuit, the smaller the conduction loss. Conversely, the fewer the number of switching devices in working state in the power supply circuit, the greater the conduction loss. In addition, the more the number of switching devices in working state in the power supply circuit, the greater the switching loss. Conversely, the fewer the number of switching devices in working state in the power supply circuit, the smaller the switching loss.

[0075] It should be noted that the conversion efficiency of the power supply circuit is inversely proportional to the switching loss and / or conduction loss of the power supply circuit. That is, the greater the switching loss and / or conduction loss (or it can be understood as the greater the total power consumption of the power supply circuit), the lower the conversion efficiency of the power supply circuit. Conversely, the smaller the switching loss and / or conduction loss (or it can be understood as the smaller the total power consumption of the power supply circuit), the greater the conversion efficiency of the power supply circuit.

[0076] Based on the above relationship, after determining the load current range, the electronic device can adjust the number of switching devices in the power supply circuit that are in working state to adjust the conversion efficiency of the power supply circuit so that the output current corresponding to the highest conversion efficiency point of the power supply circuit includes the load current range.

[0077] It should be noted that the electronic device can adjust the number of switch devices in the power supply circuit in the working state by configuring the value of the register in the power supply circuit. For example, the electronic device can enable each switch device in the power supply circuit by the value of the register. When a certain register value is 1, the switch device corresponding to the register is in the working state, and when a certain register value is 0, the switch device corresponding to the register is not working.

[0078] In one example, the electronic device can increase / decrease the number of switching devices multiple times according to a preset step size, and determine the target number of switching devices in the power supply circuit by increasing / decreasing the number of switching devices multiple times. When the number of switching devices working in the power supply circuit is the target number, the output current corresponding to the highest conversion efficiency point of the power supply circuit includes the load current range.

[0079] In another example, the electronic device may be configured with a second mapping relationship, wherein the second mapping relationship may characterize a mapping relationship between the number of switching devices and the load current range. It should be understood that when the power supply circuit operates with the number of switching devices corresponding to a certain load current range, the output current corresponding to the highest conversion efficiency point of the power supply circuit may include the load current range.

[0080] In this way, after the electronic device determines the load current range according to the voltage and / or frequency of the target load, the number of switching devices required can be determined according to the load current range, and the number of working switching devices can be increased or decreased based on the number, so as to ensure that when the number of working switching devices in the power supply circuit is the number, the output current corresponding to the highest conversion efficiency point of the power supply circuit includes the load current range.

[0081] It should be noted that the second mapping relationship may be an empirical parameter obtained through multiple experiments in advance.

[0082] In some embodiments, the operating frequency of the switch device in the power supply circuit is inversely proportional to the conversion efficiency of the power supply circuit. That is, the higher the operating frequency of the switch device in the power supply circuit, the lower the conversion efficiency of the power supply circuit, and the lower the operating frequency of the switch device in the power supply circuit, the higher the conversion efficiency of the power supply circuit.

[0083] Based on this, after the electronic device determines the load current range, the operating frequency of the switching device can be adjusted to adjust the conversion efficiency of the power supply circuit so that the output current corresponding to the highest point of the conversion efficiency of the power supply circuit can include the above load current range.

[0084] Exemplarily, the electronic device may be configured with a third mapping relationship, and the third mapping relationship may represent a mapping relationship between the operating frequency of the switching device and the load current range. It should be understood that when the power supply circuit operates at the operating frequency of the switching device corresponding to a certain load current range, the output circuit corresponding to the highest conversion efficiency point of the power supply circuit may include the load current range.

[0085] In this way, after the electronic device performs DVFS, the electronic device determines the load current range according to the voltage and / or frequency of the current target load. The operating frequency of the current switching device can be adjusted according to the load current range to ensure that the output current corresponding to the highest conversion efficiency point of the power supply circuit includes the load current range.

[0086] It should be noted that the third mapping relationship may be an empirical parameter obtained through multiple experiments in advance.

[0087] It should also be noted that the electronic device can simultaneously adjust the number of switching devices operating in the power supply circuit and the operating frequency of the switching devices. The weight values ​​of switching loss and conduction loss at different operating frequencies of the switching devices are different, and the electronic device can adjust the number of switching devices and the operating frequency in the power supply circuit according to the weight values, so that the output current corresponding to the highest conversion efficiency point of the power supply circuit includes the load current range.

[0088] In some embodiments, when the minimum value of the load current range is greater than or equal to a first threshold, the operating mode of the switching device in the power supply circuit is determined to be a continuous conduction mode (CCM); when the maximum value and / or minimum value of the load current range is less than the first threshold and greater than or equal to a second threshold, the operating mode of the switching device in the power supply circuit is a discontinuous conduction mode (DCM); when the maximum value of the load current range is less than the second threshold, the operating mode of the switching device in the power supply circuit is a pulse frequency modulation (PFM) or a burst mode (BURST MODE).

[0089] It can be understood that after determining the load current range, the electronic device can adjust the working mode of the switching device in the power supply circuit to achieve the adjustment of the conversion efficiency of the power supply circuit. Specifically, under light load conditions (i.e., the maximum value of the load current range is less than the second threshold), the switching device of the power supply circuit can be adjusted to work in PFM or BURST mode to adjust the highest point of the conversion efficiency of the power supply circuit. Under medium load conditions (i.e., the maximum value and / or minimum value of the load current range is less than the first threshold and greater than or equal to the second threshold), the switching device of the power supply circuit can be adjusted to work in DCM mode to adjust the highest point of the conversion efficiency of the power supply circuit. Under heavy load conditions (i.e., the minimum value of the load current range is greater than or equal to the first threshold), the switching device of the power supply circuit can be adjusted to work in CCM mode to adjust the highest point of the conversion efficiency of the power supply circuit.

[0090] It should be noted that the first threshold value and / or the second threshold value may be pre-configured, and the electronic device may store the first threshold value and / or the second threshold value in a memory.

[0091] In some embodiments, the power supply circuit may include multiple sub-circuits, and each of the multiple sub-circuits may be configured to be in a working state.

[0092] It is understandable that the power supply circuit may include multiple sub-circuits, and different sub-circuits may implement different functions. The electronic device may change the working state of each of the multiple sub-circuits to change the architecture of the power supply circuit, thereby achieving the purpose of adjusting the conversion efficiency of the power supply circuit.

[0093] In some embodiments, when the power supply circuit is a BUCK circuit, the BUCK circuit can supply power to the target load through a single-phase or multi-phase circuit. In practical applications, each current of the commonly used multi-phase BUCK circuit can reach more than 5A. For example, a 4-phase BUCK circuit can provide a current of up to 20A. Within the load current range of 20A, the conversion efficiency of the power supply circuit is difficult to take into account each load current. Normally, the output current corresponding to the highest point of the power supply circuit conversion efficiency is the commonly used load current.

[0094] refer to Figure 5 As shown, for a large load current range, the power supply circuit can switch the phase of the BUCK circuit according to the load current, so that the conversion efficiency of the power supply circuit remains high. Figure 5As shown, when the load current is greater than the phase switching threshold A, the power supply circuit can be switched from a single-phase BUCK circuit to a 2-phase BUCK circuit, when the load current is greater than the phase switching threshold B, the power supply circuit can be switched from a 2-phase BUCK circuit to a 3-phase BUCK circuit, and when the load current is greater than the phase switching threshold C, the power supply circuit can be switched from a 3-phase BUCK circuit to a 4-phase BUCK circuit.

[0095] from Figure 5 It can be seen that near the phase switching threshold (A, B, C), the conversion efficiency of the power supply circuit will be significantly reduced. Even if the phase switching is done, it is difficult to take into account the efficiency optimization of the full load range. Even under high current load conditions, the power supply efficiency will drop to about 70%, resulting in great heat generation and reduced battery life.

[0096] In an embodiment of the present application, the electronic device can adjust the phase switching threshold to change the highest point of the power supply circuit conversion efficiency so that the output current corresponding to the highest point of the power supply circuit conversion efficiency can include the load current range.

[0097] In an embodiment of the present application, when adjusting the configuration parameters of the power supply circuit, the electronic device may also consider the influence of the input voltage of the power supply circuit. S220 The electronic device adjusts the configuration parameters of the power supply circuit based on the load current range, which may be achieved in the following manner:

[0098] The electronic device adjusts the configuration parameters of the power supply circuit based on the current load range and the current input voltage of the power supply circuit.

[0099] It is understandable that the conversion efficiency of the power supply circuit is also closely related to the voltage difference between the input voltage and the output voltage. Figure 6 A curve showing the change of conversion efficiency of a power supply circuit with the change of input and output voltages is shown. It can be seen that the input voltage of the power supply circuit is proportional to the minimum value and / or maximum value of the load current range. The larger the input voltage, the larger the load current corresponding to the highest conversion efficiency point of the power supply circuit.

[0100] In particular, if the electronic device is powered by a battery pack, the input voltage of the battery pack continues to drop during a single charge. Based on this, when adjusting the configuration parameters of the power supply circuit, the electronic device can adjust the configuration parameters of the power supply circuit in combination with the current load range and the current input voltage of the power supply circuit. For different input voltages, the configuration parameters that need to be adjusted by the electronic device are different, and / or the parameter values ​​of the configuration parameters that need to be adjusted by the electronic device are different.

[0101] Exemplarily, the electronic device can train a neural network model based on a machine learning algorithm, so that the neural network model can process the input current load range and input voltage to obtain parameter values ​​of appropriate configuration parameters.

[0102] It should be noted that the number of target loads in the electronic device may include multiple ones, and each target load may be configured with a corresponding power supply circuit. Among them, the electronic device can directly connect the voltage and / or frequency of each target load after DVFS with the corresponding power supply circuit, determine the load current range of each power supply circuit based on the voltage and / or frequency adjusted by DVFS, and then adjust the conversion efficiency curve of each power supply circuit based on the load current range, so that each power supply circuit always works at the maximum conversion efficiency, maximizes the use of the capacity of each power supply circuit, realizes the closed-loop control of the power supply circuit and DVFS, and can greatly increase the endurance of the electronic device.

[0103] The following is a detailed description of the power supply control method provided in the embodiment of the present application in combination with specific application scenarios.

[0104] refer to Figure 7 As shown in the flowchart, when the electronic device performs DVFS on the target load, it can first obtain the target load's demand for computing power. Then, based on the demand for computing power, the electronic device can perform DVFS voting to determine whether to adjust the voltage or frequency of the target load first. After DVFS, the following steps can be performed.

[0105] Step 1: Determine the load current range corresponding to the current voltage and / or frequency of the target load.

[0106] The load current range corresponding to the current voltage and / or frequency may be found through a mapping relationship table between the voltage and / or frequency domain and the load current range stored in the memory.

[0107] Step 2: Adjust the highest efficiency point of the power supply circuit to within the load current range.

[0108] Among them, the electronic device can adjust at least one of the number of switching devices in working state in the power supply circuit, the operating frequency of the switching devices, the operating mode of the switching devices, the working state of each sub-circuit, the input voltage, and the phase switching threshold, so as to change the conversion efficiency of the power supply circuit, so that the output current range corresponding to the highest point of the conversion efficiency of the power supply circuit includes the load current range of the current target load.

[0109] In this way, the electronic device combines the real-time voltage and / or frequency after DVFS with the load current and the conversion efficiency curve of the power supply circuit, and uses the DVFS controller and its voting results to directly control the efficiency of the power supply circuit to the optimal point, thereby maximizing the utilization of the power supply circuit.

[0110] Figure 8 800 is a schematic structural diagram of a power supply control device 800 provided in an embodiment of the present application. The power supply control device 800 can be applied to the electronic device in the above embodiment, Figure 8 As shown, the power supply control device 800 includes:

[0111] The determining unit 801 is configured to determine a load current range of the target load when the voltage and / or frequency adjustment of the target load is completed;

[0112] The adjustment unit 802 is configured to adjust the configuration parameters of the power supply circuit based on the load current range; wherein the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the load current range.

[0113] In some embodiments, the determination unit 801 is also configured to determine the load current range of the target load based on the voltage and / or frequency of the target load and a first mapping relationship when the voltage and / or frequency of the target load are adjusted; wherein the first mapping relationship is used to characterize the mapping relationship between the voltage and / or frequency of the target load and the load current range.

[0114] In some embodiments, the number of the first mapping relationships includes multiple, the first mapping relationships are associated with the scene, and different first mapping relationships are associated with different scenes and / or device types;

[0115] The determining unit 801 is further configured to determine the first mapping relationship according to a current scene and / or device type.

[0116] In some embodiments, the configuration parameters include one or more of the following:

[0117] The number of switch devices in the power supply circuit in working state;

[0118] The operating frequency of the switching device in the power supply circuit;

[0119] An operating mode of a switch device in the power supply circuit;

[0120] The working status of each sub-circuit in the power supply circuit;

[0121] The phase switching threshold of the power supply circuit, the phase switching point is used to indicate the threshold for the power supply circuit to switch between single-phase and / or multiple BUCK circuits.

[0122] In some embodiments, the conversion efficiency of the power supply circuit is inversely proportional to the switching loss and / or conduction loss of the power supply circuit;

[0123] The number of switch devices in the power supply circuit in working state is inversely proportional to the conduction loss, and the number of switch devices in the power supply circuit in working state is directly proportional to the switching loss.

[0124] In some embodiments, the operating frequency of the switching device in the power supply circuit is inversely proportional to the conversion efficiency of the power supply circuit.

[0125] In some embodiments, when the minimum value of the load current range is greater than or equal to a first threshold, determining that the operating mode of the switch device in the power supply circuit is a continuous conduction mode CCM;

[0126] When the maximum value and / or the minimum value of the load current range is less than the first threshold value and greater than or equal to the second threshold value, the operating mode of the switch device in the power supply circuit is DCM;

[0127] When the maximum value of the load current range is less than the second threshold value, the operation mode of the switch device in the power supply circuit is a pulse frequency modulation PFM mode or a BURST mode.

[0128] In some embodiments, the power supply circuit includes a plurality of sub-circuits, and each of the plurality of sub-circuits is configured to be in a working state or not.

[0129] In some embodiments, the adjusting unit 802 is further configured to adjust configuration parameters of the power supply circuit based on the current load range and the current input voltage of the power supply circuit.

[0130] In some embodiments, the power supply circuit includes any one of the following:

[0131] Power rails;

[0132] Step-down conversion BUCK circuit;

[0133] DC conversion DCDC circuit.

[0134] Those skilled in the art should understand that the relevant description of the above-mentioned power supply control device in the embodiment of the present application can be understood by referring to the relevant description of the power supply control method in the embodiment of the present application.

[0135] Fig. 9It is a schematic structural diagram of an electronic device 900 provided in an embodiment of the present application. Fig. 9 The electronic device 900 shown includes a processor 910, which can call and run a computer program from a memory to implement the power supply control method in the embodiment of the present application.

[0136] Alternatively, if Fig. 9 As shown, the electronic device 900 may further include a memory 920. The processor 910 may call and run a computer program from the memory 920 to implement the method in the embodiment of the present application.

[0137] The memory 920 may be a separate device independent of the processor 910 , or may be integrated into the processor 910 .

[0138] Optionally, the electronic device 900 may implement the corresponding processes implemented by the electronic device in the various methods of the embodiments of the present application, which will not be described in detail here for the sake of brevity.

[0139] Fig.10 It is a schematic structural diagram of the chip of an embodiment of the present application. Fig.10 The chip 1000 shown includes a processor 1010, which can call and run a computer program from a memory to implement the method in the embodiment of the present application.

[0140] Alternatively, if Fig.10 As shown, the chip 1000 may further include a memory 1020. The processor 1010 may call and run a computer program from the memory 1020 to implement the method in the embodiment of the present application.

[0141] The memory 1020 may be a separate device independent of the processor 1010 , or may be integrated into the processor 1010 .

[0142] Optionally, the chip 1000 may further include an input interface 1030. The processor 1010 may control the input interface 1030 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.

[0143] Optionally, the chip 1000 may further include an output interface 1040. The processor 1010 may control the output interface 1040 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.

[0144] Optionally, the chip can be applied to the electronic device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the electronic device in each method of the embodiments of the present application, which will not be described in detail here for the sake of brevity.

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

[0146] The embodiment of the present application further provides a computer storage medium, specifically a computer readable storage medium, on which computer instructions are stored, and when the computer storage medium is located in an electronic device, the computer instructions are executed by a processor to implement any step of the power supply control method of the embodiment of the present application.

[0147] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0148] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0149] In addition, all functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may be separately configured as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0150] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0151] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0152] It should be noted that the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0153] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A power supply control method, characterized in that: The method comprises: When the voltage and / or frequency adjustment of the target load is completed, determining a load current range of the target load; Based on the load current range, adjust the configuration parameters of the power supply circuit; wherein, the power supply circuit is used to supply power to the target load, and the output current corresponding to the highest point of the conversion efficiency of the power supply circuit after the configuration parameters are adjusted includes at least the load current range.

2. The method according to claim 1, characterized in that The step of determining the load current range of the target load after the voltage and / or frequency adjustment of the target load is completed includes: When the voltage and / or frequency of the target load is adjusted, determining a load current range of the target load based on the voltage and / or frequency of the target load and a first mapping relationship; The first mapping relationship is used to characterize the mapping relationship between the voltage and / or frequency of the target load and the load current range.

3. The method according to claim 2, characterized in that The number of the first mapping relationships includes multiple ones, the first mapping relationships are associated with the scene, and different first mapping relationships are associated with different scenes and / or device types; In the case where the voltage and / or frequency of the target load is adjusted, before determining the load current range of the target load based on the voltage and / or frequency of the target load and the first mapping relationship, the method further includes: The first mapping relationship is determined according to the current scene and / or device type.

4. The method according to any one of claims 1 to 3, characterized in that: The configuration parameters include one or more of the following: The number of switch devices in the power supply circuit in working state; The operating frequency of the switching device in the power supply circuit; An operating mode of a switch device in the power supply circuit; The working status of each sub-circuit in the power supply circuit; The phase switching threshold of the power supply circuit, the phase switching point is used to indicate the threshold for the power supply circuit to switch between single-phase and / or multiple BUCK circuits.

5. The method according to claim 4, characterized in that The conversion efficiency of the power supply circuit is inversely proportional to the switching loss and / or conduction loss of the power supply circuit; The number of switch devices in the power supply circuit in working state is inversely proportional to the conduction loss, and the number of switch devices in the power supply circuit in working state is directly proportional to the switching loss.

6. The method according to claim 4, characterized in that The operating frequency of the switching device in the power supply circuit is inversely proportional to the conversion efficiency of the power supply circuit.

7. The method according to claim 4, characterized in that When the minimum value of the load current range is greater than or equal to the first threshold, determining that the operating mode of the switch device in the power supply circuit is a continuous conduction mode CCM; When the maximum value and / or the minimum value of the load current range is less than the first threshold value and greater than or equal to the second threshold value, the operating mode of the switch device in the power supply circuit is DCM; When the maximum value of the load current range is less than the second threshold value, the operation mode of the switch device in the power supply circuit is a pulse frequency modulation PFM mode or a transition BURST mode.

8. The method according to claim 4, characterized in that The power supply circuit includes a plurality of sub-circuits, and each of the plurality of sub-circuits is configured to determine whether it is in a working state.

9. The method according to any one of claims 1 to 3, characterized in that: The adjusting the configuration parameters of the power supply circuit based on the load current range further includes: Based on the current load range and a current input voltage of the power supply circuit, a configuration parameter of the power supply circuit is adjusted.

10. The method according to any one of claims 1 to 3, characterized in that: The power supply circuit includes any one of the following: Power rails; Step-down conversion BUCK circuit; DC conversion DCDC circuit.

11. A power supply control device, characterized in that: include: a determination unit, configured to determine a load current range of the target load when the voltage and / or frequency adjustment of the target load is completed; An adjustment unit is configured to adjust configuration parameters of a power supply circuit based on the load current range; wherein the power supply circuit is used to supply power to the target load, and an output current corresponding to a highest point of conversion efficiency of the power supply circuit after adjustment of the configuration parameters includes at least the load current range.

12. A chip, characterized in that: include: A processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 10.

13. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 10.

14. A computer storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 10.