[go: up one dir, main page]

WO2021098497A1 - Power supply system, power supply method, power supply apparatus, and terminal device - Google Patents

Power supply system, power supply method, power supply apparatus, and terminal device Download PDF

Info

Publication number
WO2021098497A1
WO2021098497A1 PCT/CN2020/125901 CN2020125901W WO2021098497A1 WO 2021098497 A1 WO2021098497 A1 WO 2021098497A1 CN 2020125901 W CN2020125901 W CN 2020125901W WO 2021098497 A1 WO2021098497 A1 WO 2021098497A1
Authority
WO
WIPO (PCT)
Prior art keywords
power supply
module
load
buck
soc
Prior art date
Application number
PCT/CN2020/125901
Other languages
French (fr)
Chinese (zh)
Inventor
周孟特
陈剑华
范茂斌
夏晓菲
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021098497A1 publication Critical patent/WO2021098497A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of DC power input into DC power output
    • H02M3/02Conversion of DC power input into DC power output without intermediate conversion into AC
    • H02M3/04Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
    • H02M3/10Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only

Definitions

  • This application relates to the field of power supply technology, and in particular to a power supply system, a power supply method, a power supply device, and terminal equipment.
  • a fixed single-phase (ie, a single power supply unit) power supply method is used to supply power to each load module in the SOC, which is likely to cause problems such as insufficient power supply and slow response of electronic products;
  • a combination of fixed single-phase and multi-phase (ie, The power supply mode of a single power supply unit and a combination of multiple power supply units provides power to each load module in the SOC, which will result in a large number of power supply units and low power supply efficiency.
  • the present application provides a power supply system, a power supply method, a power supply device, and terminal equipment, which can solve the problem of insufficient power supply on the basis of using fewer power supply units.
  • the present application provides a power supply system, including a power supply module, a switch module, and a system-on-chip SOC;
  • the power supply module has a plurality of power supply output terminals, and a plurality of the power supply output terminals and the input of the switch module Terminal connection, the output terminal of the switch module is connected with the SOC;
  • the switch module is configured to control the on-off between the plurality of power supply output terminals and the SOC, respectively.
  • the power supply system of the present application can selectively control the on-off between one or more of the multiple power supply output terminals of the power supply module and the SOC by setting the switch module, that is, selectively control the switching of one or more power supply output terminals (That is, the output current of the power supply unit) is output to the SOC, that is, it can selectively supply power according to the power supply requirements of the load module in the SOC by adopting a single-phase or multi-phase power supply mode, so as to meet the power supply of the load module in the SOC.
  • the power supply module includes a multi-phase controller and a multi-phase BUCK circuit; the multi-phase controller is connected to the input end of the multi-phase BUCK circuit, and the output of the multi-phase BUCK circuit The terminal corresponds to the plurality of power supply output terminals.
  • the first BUCK circuit includes: a BUCK control circuit and an inductor; wherein, the BUCK control circuit is connected to the multi-phase controller and one end of the inductor, and the other end of the inductor is connected to The switch module is connected; the first BUCK circuit is any one of the multi-phase BUCK circuits.
  • the multi-phase controller and the BUCK control circuit in each BUCK circuit are both arranged in a power management unit.
  • an embodiment of the present application also provides a power supply method, which is applicable to the power supply system in the first aspect and any possible implementation of the first aspect, and the power supply method includes: identifying a terminal device The first application program currently opened on the computer, and obtain the BUCK configuration information adapted to the first application program; configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information, the first parameter set of the power supply module and the switch module A parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
  • the first application when the first application is opened on the terminal device, the first application can be identified to obtain the BUCK configuration information adapted to the first application, and configure according to the BUCK configuration information
  • the parameters of the power supply module and the switch module i.e. the first set of parameters
  • the normal power supply of the load module adapted by the application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
  • the obtaining BUCK configuration information adapted to the first application includes: downloading the BUCK configuration information from the network side; or, reading the BUCK configuration information from a locally stored BUCK configuration library. Describe BUCK configuration information.
  • the method further includes: during the running of the first application, when When it is detected that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, a second parameter set of the power supply module and the switch module is configured, and the second parameter set is used to control the power supply module and
  • the switch module adds a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is at least one load module in the SOC that is adapted to the first application Any one of; when the output current of the power supply output terminal connected with all load modules adapted to the first application program is not greater than the first threshold, generate according to the current parameter set of the power supply module and the switch module
  • the BUCK configuration information when the output current of the power supply output terminal connected with all load modules adapted to the first application program is not greater than the first threshold, generate according to the current parameter set of the power supply module and the switch module The BUCK configuration information.
  • the first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the second load module in the SOC, And output the output current of at least one second power supply output terminal to the third load module in the SOC;
  • the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than that of the second power supply output terminal
  • the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the second load The load of the module is greater than the load of the third load module.
  • the method further includes: determining that the terminal device is currently opened Whether the first application program is started for the first time; if the first application program is started for the first time, configure the initial parameter set of the power supply module and the switch module, and the initial parameter set is used to control the Each load module in the SOC is respectively connected to one of the multiple power supply output terminals; detecting whether the output current of the power supply output terminal connected to each load module is greater than a second threshold; if it is connected to the first load module If the output current of the power supply output terminal is greater than the second threshold, a second parameter set of the power supply module and the switch module is configured, and the second parameter set is used to control the power supply module and the switch module to add one The power supply output terminal with no output current is connected with the first load module; wherein, the first load module is any one of the at least one load module in the SOC that is adapted to the
  • an embodiment of the present application further provides a power supply device, including: an acquisition module, configured to identify a first application program currently opened on a terminal device, and acquire BUCK configuration information adapted to the first application program;
  • the configuration module is configured to configure a first parameter set of the power supply module and the switch module according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to combine one or more The current of the power supply output terminal is output to the SOC.
  • the power supply device when the first application program is opened on the terminal device, the power supply device can identify the first application program, and then obtain the BUCK configuration information that is adapted to the first application program, and according to the BUCK
  • the configuration information configures the parameters of the power supply module and the switch module (that is, the above-mentioned first parameter set), and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to satisfy the SOC
  • the normal power supply of the load module adapted to the first application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
  • the acquiring module is specifically configured to download the BUCK configuration information from the network side; or, to read the BUCK configuration information from a locally stored BUCK configuration library.
  • the configuration module is further configured to: after the first parameter set of the power supply module and the switch module is configured according to the BUCK configuration information, in the first application program During operation, when it is detected that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured, and the second parameter set is used for control
  • the power supply module and the switch module add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the one in the SOC that is adapted to the first application Any one of at least one load module; when the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the first threshold, according to the power supply module and the switch module
  • the first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the second load module in the SOC, And output the output current of at least one second power supply output terminal to the third load module in the SOC;
  • the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than that of the second power supply output terminal
  • the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the second load The load of the module is greater than the load of the third load module.
  • the pre-configuration module is used to determine whether the first application currently opened on the terminal device is opened for the first time; if the first application is opened for the first time, configure the The initial parameter set of the power supply module and the switch module, where the initial parameter set is used to control each load module in the SOC to communicate with one of the plurality of power supply output terminals; Whether the output current of the power supply output terminal connected to the module is greater than the second threshold; if the output current of the power supply output terminal connected to the first load module is greater than the second threshold, configure the second parameter set of the power supply module and the switch module , The second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the SOC Any one of the at least one load module adapted to the first application program; when the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold,
  • an embodiment of the present application also provides a terminal device, including: one or more processors; a memory, used to store one or more programs; when the one or more programs are used by the one or more The processor executes, so that the terminal device implements the power supply method described in the second aspect.
  • an embodiment of the present application also provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute any of the second aspect and any of the second aspects.
  • a computer program which when executed on a computer, causes the computer to execute any of the second aspect and any of the second aspects.
  • an embodiment of the present application also provides a chip, including a processor and a memory, 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, so that the The chip executes the power supply method as described in the second aspect.
  • FIG. 1 is a schematic structural diagram of a power supply system provided by an embodiment of the application
  • FIG. 2 is a schematic structural diagram of a power supply system provided by an embodiment of the application.
  • FIG. 3 is a schematic structural diagram of a power supply system provided by an embodiment of the application.
  • FIG. 4 is a schematic structural diagram of a power supply system provided by an embodiment of the application.
  • FIG. 5 is a schematic structural diagram of a power supply system provided by an embodiment of this application.
  • FIG. 6 is a flowchart of a power supply method for a power supply system according to an embodiment of the application.
  • FIG. 7 is a flowchart of a power supply method for a power supply system provided by an embodiment of the application.
  • FIG. 8 is a partial flowchart of a power supply method of a power supply system provided by an embodiment of the application.
  • FIG. 9 is a flowchart of a power supply method of a power supply system according to an embodiment of the application.
  • FIG. 10 is a schematic structural diagram of a power supply device provided by an embodiment of the application.
  • FIG. 11 is a schematic structural diagram of a power supply device provided by an embodiment of the application.
  • FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
  • the embodiment of the application provides a terminal device, which can be a mobile phone, a tablet computer, a notebook, a car computer, a smart watch, a smart bracelet, and other electronic products.
  • the embodiment of the application does not specifically limit the specific form of the terminal device .
  • the terminal equipment of this application includes a power supply system.
  • the use of this power supply system can avoid problems such as slow response of terminal equipment due to insufficient power supply.
  • the following embodiments further illustrate the power supply system of the present application.
  • Fig. 1 is a schematic diagram of a power supply system provided by an embodiment of the application.
  • the power supply system 01 includes: a power supply module 10, a switch module 20 (also referred to as SWITCH), and a system-on-chip SOC 30.
  • the power supply module 10 has multiple power supply output terminals X1-X4 (this application is not limited to the four power supply output terminals X1, X2, X3, X4 in FIG. 1), and multiple power supply output terminals X1-X4 and the switch module
  • the input terminal of the switch module 20 is connected, and the output terminals Y1 and Y2 of the switch module 20 (this application is not limited to the two output terminals Y1, Y2 in FIG. 1) are connected to the SOC 30; the switch module 20 is configured to control multiple power supply outputs The connection between terminals X1-X4 and SOC 30 respectively.
  • the power supply module 10 is provided with a power supply unit corresponding to each power supply output terminal (X1, X2, X3, X4), so as to output an electrical signal (such as a current signal) to each power supply output terminal through each power supply unit. .
  • SOC is equipped with multiple load modules, such as a central processing unit (CPU) core (the following and the drawings are abbreviated as CPU_B ), small CPU core (abbreviated as CPU_L in the following and figures), middle CPU core (abbreviated as CPU_M in the following and figures), graphics processing unit (GPU), embedded neural network processor (neural-network) Processing unit, NPU) and other load modules.
  • CPU central processing unit
  • CPU_B small CPU core
  • CPU_M middle CPU core
  • GPU graphics processing unit
  • NPU embedded neural network processor
  • the power supply system of the present application can selectively control the on-off between one or more of the multiple power supply output terminals of the power supply module and the SOC by setting the switch module, that is, selectively control the switching of one or more power supply output terminals (That is, the output current of the power supply unit) is output to the SOC, that is, it can selectively supply power according to the power supply requirements of the load module in the SOC by adopting a single-phase or multi-phase power supply mode, so as to meet the power supply of the load module in the SOC.
  • the power supply module 10 and the switch module 20 in the power supply system 01 of the present application will be further described below.
  • the power supply module 10 includes a multiphase controller (multiphase controller) 100 and a multiphase BUCK circuit (also called a buck converter circuit; English name: buck converter) 101-104 (this application is not limited (In Figure 2 4-phase BUCK circuits 101, 102, 103, 104).
  • the multi-phase controller 100 is connected to the input terminals of the multi-phase BUCK circuits 101-104, and the output terminals of the multi-phase BUCK circuits 101-104 correspond to the multiple power supply output terminals X1-X4 of the power supply module 10, that is, the multi-phase BUCK circuit.
  • the output terminals of the circuits 101-104 serve as multiple power supply output terminals X1-X4 of the power supply module 10.
  • the above-mentioned BUCK circuit can be equivalent to the aforementioned power supply unit; and the above-mentioned multi-phase BUCK circuit can also be understood as multiple BUCK circuits.
  • each phase of the BUCK circuit may be the same.
  • the BUCK circuit 101 includes: a BUCK control circuit B and an inductor L.
  • the BUCK control circuit B is connected to the multi-phase controller 100 and one end of the inductor L, and the other end of the inductor L is connected to the switch module 20.
  • the BUCK control circuit B may include a first transistor Q1 and a second transistor Q2.
  • the gate of the first transistor Q1 is connected to the multiphase controller 100, the first electrode of the first transistor Q1 is connected to the power supply terminal VIN, the second electrode of the first transistor Q1 is connected to node a; the gate of the second transistor Q2 is connected to The multi-phase controller 100 is connected, the first pole of the second transistor Q2 is connected to the node a, and the second pole of the second transistor Q2 is connected to the ground terminal.
  • One end of the inductor L is connected to the node a, and the other end of the inductor L is connected to the switch module 20 as the output end of the BUCK circuit 101 (that is, the power supply output end X1).
  • first transistor Q1 and second transistor Q2 may be N-type transistors or P-type transistors; they may be enhancement-type transistors or depletion-type transistors; the above-mentioned transistors (Q1, Q2)
  • the first electrode can be a source electrode and the second electrode is a drain electrode; or the first electrode can be a drain electrode and the second electrode is a source electrode, which is not limited in the present invention.
  • the power management unit is an important component of the power supply system.
  • the power supply The module 10 may include a PMU, and the multi-phase controller 100 and the BUCK control circuit B of the multi-phase BUCK circuits 101-104 can be arranged in the PMU to improve the integration of the entire power supply system.
  • other related control circuits such as a clock signal control circuit, etc.
  • detection modules are also provided in the PMU, which is not limited in this application.
  • the inductance value (also referred to as the inductance value) of the inductance L is directly related to the output efficiency of the BUCK circuit 101.
  • the output efficiency of the BUCK circuit 101 is large, the use of an inductance with a smaller inductance can make the BUCK circuit 101 have a higher output efficiency; when the output current of the BUCK circuit 101 is small, the use of an inductance with a larger inductance can make the BUCK circuit 101 The circuit 101 has a higher output efficiency.
  • the output efficiency of the BUCK circuit with a smaller inductance is higher than that of the BUCK circuit with a larger inductance (other setting conditions are the same); in the case of a smaller output current In this case, the output efficiency of a BUCK circuit with a larger inductance is higher than that of a BUCK circuit with a smaller inductance (other setting conditions are the same).
  • the inductance values of the inductances in the multi-phase BUCK circuits 101-104 may be set to be different.
  • the switch module 20 configures the on-off between the multi-phase BUCK circuit 101-104 and the load module in the SOC 30
  • the heavy load module in the SOC 30 can be selectively controlled with a smaller inductance.
  • the conduction between the inductance BUCK circuits is to control the conduction between the light load module in the SOC and the BUCK circuit with a larger inductance inductance, so as to improve the output efficiency of the BUCK circuit, thereby increasing the efficiency of the power supply.
  • the switch module 20 may be a plurality of separate switches. In some possible implementation manners, the switch module 20 may also be an integrated device of multiple switches; for example, the switch module 20 may be a separate external chip, may also be built into the SOC 30, or may be built into the PMU. Wherein, the number of channels formed by the switch inside the switch module 20 depends on the number of power supply output terminals (or BUCK circuits).
  • the switch module 20 may be composed of multiple switch units (such as U1, U2), the input terminals of different switch units are connected to different BUCK circuits, and the output terminal of each switch unit Both are connected to SOC 30.
  • the power supply module 10 includes 4-phase BUCK circuits 101-104, and the 4-phase BUCK circuits 101-104 are connected to two load modules in the SOC 30 through the switch module 20.
  • the two loads The modules are CPU_B and CPU_L, respectively;
  • the switch module 20 may include a first switch unit U1 and a second switch unit U2.
  • the input terminal of the first switch unit U1 is connected to the output terminals of the BUCK circuits 101 and 102 (that is, the power supply output terminals X1 and X2), and the output terminal of the first switch unit U1 is connected to both CPU_B and CPU_L in the SOC 30
  • the input terminal of the second switch unit U2 is connected to the output terminals of the BUCK circuit 103, 104 (that is, the power supply output terminals X3, X4), and the output terminal of the second switch unit U2 is connected to both CPU_B and CPU_L in the SOC 30.
  • the aforementioned SOC 30, the multi-phase controller 100 (or PMU), and the switch module 20 may be connected by a bus.
  • the bus may include an I2C bus (inter-integrated circuit, I2C), a power supply Management interface (system power management interface, SPMI), universal asynchronous receiver/transmitter (UART), mobile industry processor interface (mobile industry processor interface, MIPI), etc., so as to ensure the SOC in the above-mentioned power supply system 01 30.
  • I2C bus inter-integrated circuit
  • SPMI system power management interface
  • UART universal asynchronous receiver/transmitter
  • MIPI mobile industry processor interface
  • the load in the SOC to a fixed BUCK circuit (that is, there is only one power supply mode)
  • the switch module 20 by setting the switch module 20, the load can be supplied to the load according to actual needs.
  • the module selectively configures one-phase or multi-phase BUCK circuits, so that the power supply system 01 can have a variety of combined power supply modes.
  • the power supply system 01 can implement 15 types Power supply.
  • column 1 means that neither CPU_B nor CPU_L is equipped with BUCK circuits;
  • column 2 means that CPU_B is not equipped with BUCK circuits, and CPU_L is equipped with 1-phase BUCK circuits;
  • column 3 means that CPU_B is not equipped with BUCK circuits.
  • the load modules in the SOC in the prior art are set with fixed single-phase and multi-phase BUCK circuits through specific examples, and in this application, the switch module 20 is set to selectively supply the load according to the actual power supply requirements.
  • the module is equipped with one-phase or multi-phase BUCK circuits to reduce the number of BUCK circuits (that is, the number of phases) for specific comparison and description.
  • a 2-phase BUCK circuit is configured for CPU_B
  • a 2-phase BUCK circuit is configured for PERI
  • a 3-phase BUCK circuit is configured for MODEM
  • a 2-phase BUCK circuit is configured for NPU
  • 2 phases are configured for CPU_M.
  • Phase BUCK circuit a 2-phase BUCK circuit is configured to the GPU, that is, a total of 13 phase BUCK circuits are required.
  • 7-phase BUCK circuits need to be set up in total (for example, 7-phase BUCK circuits are required in the column of total phase number in Table 2), which can meet most (over 99%) scenarios; that is, through switches
  • the module 20 can select one-phase or multi-phase BUCK circuits among the 7-phase BUCK circuits to meet the power supply requirements of load modules in different scenarios.
  • the total number of phases of the BUCK circuit that needs to be configured does not exceed 7 phases; that is, part or all of the BUCK circuits of the 7-phase BUCK circuit can be configured as needed. Please refer to the figure for specific configuration. 2. I won't repeat it here.
  • the technical solution of this application only needs to be equipped with a 7-phase BUCK circuit, that is, a 6-phase BUCK circuit is reduced, and the use of a BUCK circuit is improved. The efficiency of the power supply is improved.
  • the 7-phase BUCK circuit is set up using the technical solution of this application, in actual applications, it is not necessary to use the 7-phase BUCK circuit according to the actual application scenarios. All configuration, that is, the 7-phase BUCK circuit may only need part of the BUCK circuit for power supply, and some of the BUCK circuit does not supply power; for example, in a desktop static scenario, only the 4-phase BUCK circuit needs to be configured for power supply. In this case, the 3-phase BUCK circuit The circuit does not need to be powered.
  • the embodiment of the present application also provides a power supply method suitable for the above-mentioned power supply system.
  • the power supply method includes:
  • Step 11 Identify the first application currently opened on the terminal device, and obtain BUCK configuration information adapted to the first application.
  • the SOC identifies the first application program currently opened on the terminal device, and obtains BUCK configuration information adapted to the first application program.
  • the first application program is one of the application programs installed on the terminal device.
  • the above-mentioned BUCK configuration information includes the configuration information of the power supply module and the switch module.
  • the SOC configures the power supply module and the switch module according to the BUCK configuration information, and the power supply module and the switch module realize power supply to one or more load modules in the SOC based on the configuration. At this time, the one or more loads are adapted to the currently opened first application program.
  • the small CPU core and GPU in the SOC need to be powered on. Based on this, when the user opens the icon of the video application on the terminal device, the SOC recognizes the video application and obtains the BUCK configuration information that is adapted to the video application.
  • the SOC controls the power supply module and switch according to the BUCK configuration information.
  • the module is configured, and the power supply module and the switch module supply power to the small CPU core and GPU in the SOC based on the configuration.
  • obtaining the BUCK configuration information adapted to the first application program may be: downloading the BUCK configuration information adapted to the first application program from the network side.
  • it may be downloading BUCK configuration information adapted to the first application from a cloud database; for another example, it may be downloading BUCK configuration information adapted to the first application from a large network database.
  • the BUCK configuration information located on the network side it can be generated by the SOC in the terminal device through self-learning and uploaded to the network side; it can also be obtained through manual detection and debugging and uploaded to the network side.
  • obtaining the BUCK configuration information adapted to the first application program may be: reading the BUCK configuration information from a locally stored BUCK configuration library.
  • the BUCK configuration information in the BUCK configuration library stored locally it can be downloaded from the network side, or generated by the SOC through self-learning (the specific learning process of the SOC can refer to the relevant content provided in the subsequent embodiments. ).
  • Step 12 Configure the first parameter set of the power supply module and the switch module according to the above-mentioned BUCK configuration information.
  • the above-mentioned first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
  • the SOC configures the first parameter set of the power supply module and the switch module according to the acquired BUCK configuration information adapted to the first application program, and the power supply module and the switch module combine one or more parameters under the control of the first parameter set.
  • the current of each power supply output terminal is output to the SOC, so as to meet the normal power supply of the load module in the SOC that is adapted to the first application program, thereby ensuring the normal operation of the first application program.
  • the SOC configures the control parameters of the power supply module and the switch module (that is, the first parameter set) according to the acquired BUCK configuration information, so as to control the CPU cores and GPUs in the SOC with one or more
  • the channels between the two power supply output terminals are turned on, and the power supply module supplies power to the small CPU cores and the GPU through the turned on channels.
  • the channel between the CPU core and the power supply output terminal X1 is turned on, and the channel between the CPU core and the power supply output terminal X2 is turned on.
  • the power supply module sends to the CPU through the power supply output terminal X1 and the power supply output terminal X2 respectively.
  • the small core and GPU output current for power supply.
  • the above-mentioned first parameter set can be specifically used to control the power supply module and the switch module.
  • the power supply output terminal corresponding to the BUCK circuit with smaller inductance is connected to the heavy load module in the SOC, and the power supply output terminal corresponding to the BUCK circuit with larger inductance is connected to the light load module in the SOC to ensure that it is connected to the light load module in the SOC.
  • the BUCK circuit connected to the heavy-duty module and the light-duty module has a higher output efficiency, thereby improving the power efficiency.
  • the first parameter set can be used
  • the control power supply module and the switch module output the output current of the at least one first power supply output terminal to the second load module in the SOC, and output the output current of the at least one second power supply output terminal to the third load module in the SOC.
  • the inductors in the 4-phase BUCK circuits 101, 102, 103, and 104 can be set
  • the power supply when power is supplied to CPU_B and CPU_L in the SOC through the 4-phase BUCK circuit 101-104, when CPU_B is working in light load mode and CPU_L is working in heavy load mode, the power supply can be configured
  • the first parameter set of module 10 and switch module 20 controls BUCK circuit 101 to supply power to CPU_B, and BUCK circuit 104 to supply power to CPU_L; when CPU_B works in heavy load mode and CPU_L works in light load mode, power supply module 10 can be configured
  • the first parameter set of the switch module 20 to control the BUCK circuits 103 and 104 to supply power to the CPU_B, and the BUCK circuit 101 to supply power to the CPU_L.
  • the first application when the first application is opened on the terminal device, the first application can be identified to obtain the BUCK configuration information adapted to the first application, and according to The BUCK configuration information configures the parameters of the power supply module and the switch module (that is, the above-mentioned first parameter set), and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to satisfy
  • the normal power supply of the load module in the SOC adapted to the first application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
  • the power supply method of the present application further includes after the above step S12:
  • Step 13 During the running of the first application program, detect that the output current of the power supply output terminal connected to the first load module is greater than the first threshold.
  • the above-mentioned first load module is any one of at least one load module in the SOC that is adapted to the first application program.
  • the power supply output terminal (which can also be said to be the path where the power supply output terminal is located) connected to the load module adapted to the first application program can be performed through a power supply module (such as a PMU) or a switch module.
  • the output current of is monitored and fed back to the SOC; the SOC detects whether the output current of the power supply output terminal connected to any load module adapted to the first application program (ie, the aforementioned first load module) is greater than the first threshold.
  • the first threshold value can be set to 3.5A.
  • the PMU detects that the output current of the power supply output terminal connected to any load module (that is, the first load module) that is adapted to the first application program is 3.6A, and feeds back the 3.6A to the SOC, and judges the 3.6A and 3.6A through the SOC.
  • the first threshold is between 3.5A.
  • step 14 When it is detected in step 13 that the output current of the power supply output terminal connected to the first load module is greater than the first threshold, step 14 is executed: configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application program The output currents of the power supply output terminals connected to all load modules are not greater than the first threshold.
  • the above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module.
  • the parameters of the power supply module and the switch module are configured (I.e. the second parameter set mentioned above), control to add a power supply output terminal without output current to connect with the first load module to reduce the output current of the first power supply output terminal, by controlling each load adapted to the first application
  • control to add a power supply output terminal without output current to connect with the first load module to reduce the output current of the first power supply output terminal by controlling each load adapted to the first application
  • the detection and control of the output current of the power supply output connected by the module thereby making the output current of the power supply output terminals connected to all load modules adapted to the first application program not greater than the first threshold.
  • the above process of adding a power supply output terminal with no output current to the first load module may be a one-time addition process, or it may be a multiple addition process, as long as it is ensured that the power supply output without output current is added.
  • the current of each power supply output terminal connected with the first load module is not greater than the first threshold.
  • the SOC when the SOC receives that the output current of the first power supply output terminal connected to the first load module is 3.6A greater than the first threshold 3.5A, it configures the parameters of the power supply module and the switch module (that is, the above-mentioned second parameter set), and adds A second power supply output terminal with no output current is connected to the first load module. At this time, the second power supply output terminal shares part of the load of the first power supply output terminal, so that the output current of the first power supply output terminal decreases.
  • the output current of the first power supply output terminal and the second power supply output terminal connected by a load module is not greater than the first threshold 3.5A.
  • the SOC detects that the output current of the first power supply output terminal connected to the first load module is 4A (that is, the first power supply output terminal is supplying power with the maximum output current) is greater than the first threshold 3.5A
  • the configuration For the parameters of the power supply module and the switch module (that is, the above-mentioned second parameter set), a second power supply output terminal without output current is added to connect with the first load module.
  • the second power supply output terminal shares the part of the first power supply output terminal Load, so that the output current of the first power supply output terminal decreases, but at this time, it is detected that the output current of the first power supply output terminal is 3.6A, that is, the output current is still greater than the first threshold 3.5A.
  • step 15 is performed: generating the BUCK configuration according to the current parameter set of the power supply module and the switch module information.
  • the current parameter set of the power supply module and the switch module can control each SOC that is adapted to the first application.
  • the load modules are respectively connected with one or more power supply output terminals to meet the normal power demand of each load module.
  • the power supply module and the switch module can connect the power supply output terminals X1, X3 and CPU_B under the control of the current parameter set. Connected, connect the power supply output terminal X2 with the control CPU_L to meet the power demand of CPU_B and CPU_L.
  • the BUCK configuration information after generating the BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 15, the BUCK configuration information can be stored in the local BUCK configuration library.
  • the BUCK configuration information can be directly obtained from the local BUCK configuration library.
  • the BUCK configuration information can be uploaded to the network test (such as a large network database) for the user (can This user can also be other users) download the BUCK configuration information through the network side.
  • the network test such as a large network database
  • step 13 when it is detected in step 13 that the output current of the power supply output terminal connected with the first load module is not greater than the first threshold, the entire power supply system maintains the existing state, and the power supply module and the switch module follow the current state in step 12.
  • the configured first parameter set only needs to continuously supply power to the SOC (that is, keep step 12).
  • the power supply method of the present application further includes before the above step S11:
  • Step 21 Determine whether the first application currently opened on the terminal device is opened for the first time.
  • the SOC identifies the first application program currently opened on the terminal device and determines whether the first application program is opened for the first time.
  • Step 22 If the first application is started for the first time, configure the initial parameter set of the power supply module and the switch module.
  • the aforementioned initial parameter set is used to control each load module in the SOC to communicate with one of the multiple power supply output terminals.
  • the number of power supply output terminals in the power supply system must be greater than or equal to the number of load modules in the SOC.
  • step 22 when the SOC judges that the currently opened first application program is opened for the first time, it configures the initial parameter set of the power supply module and the switch module, and the power supply module and the switch module set the SOC under the control of the initial parameter set.
  • Each load module in the load module is respectively connected to a power supply output terminal.
  • different load modules are connected to different power supply output terminals.
  • FIG. 4 take the four load modules of CPU_B, CPU_L, GPU, and NPU in the SOC as an example (the output terminals Y1, Y2, Y3, and Y4 of the switch module 20 are respectively connected to the four load modules), and power is supplied through configuration
  • the initial parameter set of module 10 and switch module 20 can control CPU_B to connect with power supply output terminal X1, CPU_L to connect with power supply output terminal X2, GPU to connect with power supply output terminal X3, and NPU to connect with power supply output terminal X4.
  • Step 23 Detect whether the output current of the power supply output terminal connected to each load module is greater than the second threshold.
  • the output current of the power supply output terminal (or the path where the power supply output terminal is located) connected to each load module in the SOC can be monitored and fed back to the SOC through a power supply module (such as a PMU) or a switch module. It is detected by the SOC whether the output current of the power supply output terminal connected to each load module is greater than the second threshold.
  • a power supply module such as a PMU
  • switch module a switch module
  • the PMU monitors that the output current of the power supply output terminal X1 connected to CPU_B is 4A, the output current of the power supply output terminal X2 connected to CPU_L is 3A, the power supply output terminal X3 connected to the GPU and the power supply output terminal X3 connected to the NPU There is no output current at the power supply output terminal X4, and the monitoring result is fed back to the SOC, and the SOC detects whether the output current fed back is greater than the second threshold.
  • the foregoing second threshold may be the same as or different from the foregoing first threshold, which is not specifically limited in this application, and can be selected and set according to actual needs.
  • the second threshold is the same as the aforementioned first threshold, both of which are 3.5A.
  • the load module connected to the power supply output terminal with output current is the load module adapted to the first application program currently opened on the terminal device; in other words, the load adapted to the first application program
  • the power supply output terminal connected to the module has output current.
  • the aforementioned CPU_B connected to the power supply output terminal X1 with an output current of 4A and CPU_L connected to the power supply output terminal X2 with an output current of 3.5A are load modules adapted to the first application currently opened on the terminal device.
  • the load module connected to the power supply output terminal with no output current that is, the load module is not a load module adapted to the first application level; in this case, the power supply output terminal with no output current can be configured Disconnect from the load module to configure the power output terminal without output current to other load modules when other load modules need to be used (such as insufficient power supply); of course, the power output terminal and load without output current can also be maintained When connecting between modules, when other load modules need to be used (for example, the power supply is insufficient), directly configure the power supply output terminal with no output current to other load modules.
  • step 24 Configure The second parameter set of the power supply module and the switch module is used to control that the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold.
  • the above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module.
  • the first load module is any one of at least one load module in the SOC that is adapted to the first application program.
  • the power supply module and the switch module are configured Parameter (that is, the above-mentioned second parameter set), control to add a power supply output terminal without output current to connect with the first load module to reduce the output current of the first power supply output terminal.
  • the output current of the power supply output terminal connected to the load module is detected and controlled so that the output current of the power supply output terminal connected to all load modules adapted to the first application program is not greater than the second threshold.
  • step 24 is basically the same as the process of the foregoing step 13.
  • process of the foregoing step 13 please refer to the corresponding part in the foregoing step 13, which will not be repeated here.
  • step 25 After the output current of the power supply output terminals connected to all load modules that are adapted to the first application program are controlled in step 24 to be not greater than the second threshold, step 25: generate a BUCK configuration based on the current parameter set of the power supply module and the switch module information.
  • step 23 when it is detected in step 23 that the power supply output terminal connected to each load module is not greater than the first threshold (that is, when the output current of the power supply output terminal connected to the first load module is not greater than the first threshold), Then proceed directly to step 25: generate BUCK configuration information according to the current parameter set of the power supply module and the switch module.
  • the BUCK configuration information can be stored in the local BUCK configuration library;
  • the terminal device can directly obtain the BUCK configuration information from the local BUCK configuration library, so that it can quickly and timely configure the power supply module and switch module to switch the power supply channel, thereby effectively ensuring the efficiency of power supply and the power supply system Power supply capacity.
  • the BUCK configuration information can be uploaded to the network test (such as a large network database) for other users to pass.
  • the network side downloads directly to obtain the BUCK configuration information, so as to achieve the purpose of resource sharing.
  • Step 31 Click the first application.
  • the user clicks on the first application on the terminal device to open the first application.
  • Step 32 Identify the first application program.
  • the SOC identifies the first application currently opened on the terminal device.
  • Step 33 Determine whether the first application is opened for the first time.
  • the SOC determines whether the first application currently opened on the terminal device is opened for the first time.
  • step 34 is performed: configuring the initial parameter set of the power supply module and the switch module.
  • the aforementioned initial parameter set is used to control each load module in the SOC to communicate with one of the multiple power supply output terminals.
  • Other related content of this step 34 can be a parameter of the aforementioned step 22, which will not be repeated this time.
  • Step 35 is performed on the basis of step 34: it is detected whether the output current of the power supply output terminal connected with each load module is greater than the second threshold.
  • the output current of the power supply output terminal connected to each load module in the SOC is monitored by the PMU, and fed back to the SOC, and whether the feedback output current is greater than the second threshold is detected by the SOC.
  • Other related content of this step 35 can be a parameter of the aforementioned step 23, which will not be repeated this time.
  • step 36 configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application The output currents of the power supply output terminals connected to all load modules of the load modules are not greater than the second threshold.
  • the above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module.
  • the first load module is any one of at least one load module in the SOC that is adapted to the first application program.
  • Other related content of this step 36 can be a parameter of the aforementioned step 24, which will not be repeated this time.
  • step 37 After controlling through step 36 that the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold, then step 37: generate a BUCK configuration based on the current parameter set of the power supply module and the switch module information.
  • step 35 When it is detected in step 35 that the power supply output terminal connected to each load module is not greater than the first threshold (that is, when the output current of the power supply output terminal connected to the first load module is not greater than the first threshold), then the step is directly executed 37: Generate BUCK configuration information according to the current parameter set of the power supply module and the switch module.
  • the BUCK configuration information can be stored in the local BUCK configuration library.
  • Other related content of the foregoing step 37 can be a parameter of the foregoing step 15, and will not be repeated this time.
  • step 38 is performed: obtaining an adaptation to the first application BUCK configuration information.
  • the SOC determines that the first application is not opened for the first time, it obtains the BUCK configuration information adapted to the first application from the BUCK configuration library.
  • the BUCK configuration information in the BUCK configuration library may be the BUCK configuration information generated through the above steps 31-37 when the first application is first opened.
  • Step 39 Configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information.
  • the first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
  • Other related content of this step 39 can be a parameter of the aforementioned step 12, which will not be repeated this time.
  • Step 40 During the operation of the first application program, detect whether the output current of the power supply output terminal connected to the first load module is greater than a first threshold.
  • the above-mentioned first load module is any one of at least one load module in the SOC that is adapted to the first application program.
  • Other related content of this step 40 can be a parameter of the aforementioned step 13, which will not be repeated this time.
  • step 41 configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application
  • the output currents of the power supply output terminals connected to all load modules are not greater than the first threshold.
  • the above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module.
  • Other related content of this step 41 can be a parameter of the aforementioned step 14, which will not be repeated this time.
  • step 42 is performed: generating the BUCK configuration according to the current parameter set of the power supply module and the switch module information.
  • the newly generated BUCK configuration information can be stored in the BUCK configuration library as the new BUCK configuration information.
  • step 40 when it is detected in step 40 that the output current of the power supply output terminal connected with the first load module is not greater than the first threshold, the entire power supply system maintains the existing state, and the power supply module and the switch module follow the current state in step 39
  • the configured first parameter set only needs to continuously supply power to the SOC.
  • an embodiment of the present application also provides a power supply device.
  • the power supply device includes: an acquisition module 201 and a configuration module 202.
  • the obtaining module 201 is used to identify the first application currently opened on the terminal device, and obtain BUCK configuration information adapted to the first application.
  • the configuration module 202 is configured to configure a first parameter set of the power supply module and the switch module according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
  • the power supply device when the first application program is opened on the terminal device, the power supply device can identify the first application program, and then obtain the BUCK configuration information that is adapted to the first application program, and according to the BUCK
  • the configuration information configures the parameters of the power supply module and the switch module, and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to meet the requirements of the first application in meeting the SOC.
  • the normal power supply of the load module ensures the normal operation of the first application program, while reducing the number of power supply units, thereby improving power supply efficiency.
  • the above-mentioned obtaining module 201 is specifically used to download BUCK configuration information from the network side; or, to read BUCK configuration information from a locally stored BUCK configuration library.
  • the above configuration module 202 is also used to configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information, when the first application program is running, when the first load is detected When the output current of the power supply output terminal connected to the module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured.
  • the second parameter set is used to control the power supply module and the switch module to add a power supply output terminal without output current and the first parameter set.
  • the load modules are connected; wherein, the first load module is any one of at least one load module in the SOC that is adapted to the first application program; when the output currents of the power supply output terminals connected to all load modules adapted to the first application program are equal When it is not greater than the first threshold, the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
  • the configuration module 202 configures the first parameter set of the power supply module and the switch module according to the BUCK configuration information, which can be specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to The second load module in the SOC, and outputs the output current of at least one second power supply output terminal to the third load module in the SOC;
  • the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than the second power supply output terminal
  • the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the load of the second load module is greater than that of the third load module Load.
  • the above-mentioned power supply device further includes a pre-configuration module 203.
  • the pre-configuration module 203 is used to determine whether the first application currently opened on the terminal device is opened for the first time; if the first application is opened for the first time, configure the initial parameter set of the power supply module and the switch module, and the initial parameter set It is used to control each load module in the SOC to connect to one of the multiple power supply output terminals; to detect whether the output current of the power supply output terminal connected to each load module is greater than the second threshold; if the power supply connected to the first load module If the output current of the output terminal is greater than the second threshold, a second parameter set of the power supply module and the switch module is configured.
  • the second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module;
  • the first load module is any one of the at least one load module in the SOC that is adapted to the first application; when the output current of the power supply output terminals connected to all load modules adapted to the first application is not greater than the second
  • the threshold is set, the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
  • An embodiment of the present application also provides a terminal device, including: one or more processors; a memory, used to store one or more programs; when one or more programs are executed by one or more processors, the terminal device Realize the aforementioned power supply method.
  • FIG. 12 is a schematic structural diagram of a terminal device (such as a mobile phone) provided by this application.
  • the terminal device includes a processor 301 and a memory 302.
  • the processor 301 and the memory 302 can communicate with each other through an internal connection path to transfer control signals and/or data signals.
  • the memory 302 is used to store a computer program.
  • the processor 301 is configured to execute a computer program stored in the memory 302, so as to realize each function in the above-mentioned power supply method embodiment.
  • the memory 302 may also be integrated in the processor 301 or independent of the processor 301.
  • the terminal device may also include a transceiver 303, an antenna 304, a power supply 305, an input unit 306, a display unit 307 (also can be regarded as an output unit), an audio circuit 308, and a camera.
  • a transceiver 303 may also include a transceiver 303, an antenna 304, a power supply 305, an input unit 306, a display unit 307 (also can be regarded as an output unit), an audio circuit 308, and a camera.
  • the audio circuit may also include a speaker 3081, a microphone 3082, etc., which will not be described in detail.
  • the embodiment of the present application also provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute the aforementioned power supply method.
  • the embodiment of the present application also provides a chip including a processor and a memory, 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, so that the chip executes the aforementioned power supply method.
  • the processor mentioned in the above embodiments may be an integrated circuit chip with signal processing capability.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application-specific integrated circuit
  • FPGA field programmable gate array
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed and completed by a combination of hardware and software modules in the encoding processor.
  • the software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers.
  • the storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
  • the memory mentioned in the above embodiments may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM random access memory
  • static random access memory static random access memory
  • dynamic RAM dynamic RAM
  • DRAM dynamic random access memory
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory serial DRAM, SLDRAM
  • direct rambus RAM direct rambus RAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc-Dc Converters (AREA)

Abstract

Provided are a power supply system (01), a power supply method, a power supply apparatus, and a terminal device, relating to the technical field of power supply. The power supply system (01) comprises a power supply module (10), a switch module (20), and a system-on-a-chip (SOC) (30); the power supply module (10) has a plurality of power supply output terminals (X1-X4), and the plurality of power supply output terminals (X1-X4) are connected to the input terminals of the switch module (20), the output terminals (Y1-Y2) of the switch module (20) being connected to the SOC (30); the switch module (20) is configured to separately control the on-off between the plurality of power supply output terminals (X1-X4) and the SOC (30). The power supply system (01), on the basis of using fewer power supply units, solves the problem of insufficient power supply.

Description

供电系统、供电方法、供电装置及终端设备Power supply system, power supply method, power supply device and terminal equipment
本申请要求于2019年11月20日提交中国专利局、申请号为201911143389.4、申请名称为“供电系统、供电方法、供电装置及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201911143389.4, and the application name is "power supply system, power supply method, power supply device and terminal equipment" on November 20, 2019, the entire content of which is incorporated by reference In this application.
技术领域Technical field
本申请涉及供电技术领域,尤其涉及一种供电系统、供电方法、供电装置及终端设备。This application relates to the field of power supply technology, and in particular to a power supply system, a power supply method, a power supply device, and terminal equipment.
背景技术Background technique
电子产品功能的日益增多,性能日益提高,对电源提出了更多的需求。现有技术中,采用固定的单相(即单个供电单元)供电方式对SOC中的各负载模块进行供电,容易造成供电不足,电子产品响应慢等问题;采用固定单相和多相结合(即单个供电单元和多个供电单元结合)的供电方式对SOC中的各负载模块供电,会导致供电单元的数量较大,电源效率低。The ever-increasing functions and performance of electronic products have put forward more demands on power supplies. In the prior art, a fixed single-phase (ie, a single power supply unit) power supply method is used to supply power to each load module in the SOC, which is likely to cause problems such as insufficient power supply and slow response of electronic products; a combination of fixed single-phase and multi-phase (ie, The power supply mode of a single power supply unit and a combination of multiple power supply units provides power to each load module in the SOC, which will result in a large number of power supply units and low power supply efficiency.
发明内容Summary of the invention
本申请提供一种供电系统、供电方法、供电装置及终端设备,能够在采用较少的供电单元的基础上,解决供电不足的问题。The present application provides a power supply system, a power supply method, a power supply device, and terminal equipment, which can solve the problem of insufficient power supply on the basis of using fewer power supply units.
第一方面,本申请提供一种供电系统,包括供电模块、开关模块、系统级芯片SOC;所述供电模块具有多个供电输出端,且多个所述供电输出端与所述开关模块的输入端连接,所述开关模块的输出端与所述SOC连接;所述开关模块配置为控制所述多个供电输出端分别与所述SOC之间的通断。In the first aspect, the present application provides a power supply system, including a power supply module, a switch module, and a system-on-chip SOC; the power supply module has a plurality of power supply output terminals, and a plurality of the power supply output terminals and the input of the switch module Terminal connection, the output terminal of the switch module is connected with the SOC; the switch module is configured to control the on-off between the plurality of power supply output terminals and the SOC, respectively.
本申请的供电系统中通过设置开关模块,能够选择性控制供电模块的多个供电输出端中的一个或者多个与SOC之间的通断,即有选择的控制将一个或者多个供电输出端(也即供电单元)的输出电流输出至SOC,也即能够有选择的根据SOC中的负载模块的供电需求采用单相或多相的供电方式进行供电,从而在满足SOC中的负载模块的供电需求的同时,无需向SOC中的各负载模块设置固定单个供电单元和多个供电单元(即固定的单相和多相结合的供电方式),进而减少了供电单元的个数,提高了电源效率。The power supply system of the present application can selectively control the on-off between one or more of the multiple power supply output terminals of the power supply module and the SOC by setting the switch module, that is, selectively control the switching of one or more power supply output terminals (That is, the output current of the power supply unit) is output to the SOC, that is, it can selectively supply power according to the power supply requirements of the load module in the SOC by adopting a single-phase or multi-phase power supply mode, so as to meet the power supply of the load module in the SOC. At the same time, there is no need to set a fixed single power supply unit and multiple power supply units (ie a fixed single-phase and multi-phase combined power supply mode) to each load module in the SOC, thereby reducing the number of power supply units and improving power supply efficiency .
在一种可能的实现方式中,所述供电模块包括多相控制器和多相BUCK电路;所述多相控制器与所述多相BUCK电路的输入端连接,所述多相BUCK电路的输出端和所述多个供电输出端对应。In a possible implementation, the power supply module includes a multi-phase controller and a multi-phase BUCK circuit; the multi-phase controller is connected to the input end of the multi-phase BUCK circuit, and the output of the multi-phase BUCK circuit The terminal corresponds to the plurality of power supply output terminals.
在一种可能的实现方式中,第一BUCK电路包括:BUCK控制电路以及电感;其中,所述BUCK控制电路与所述多相控制器以及所述电感的一端连接,所述电感的另一端与所述开关模块连接;所述第一BUCK电路为所述多相BUCK电路中的任意一个。In a possible implementation, the first BUCK circuit includes: a BUCK control circuit and an inductor; wherein, the BUCK control circuit is connected to the multi-phase controller and one end of the inductor, and the other end of the inductor is connected to The switch module is connected; the first BUCK circuit is any one of the multi-phase BUCK circuits.
在一种可能的实现方式中,所述多相控制器和每一所述BUCK电路中的BUCK控制电路均设置于电源管理单元中。In a possible implementation manner, the multi-phase controller and the BUCK control circuit in each BUCK circuit are both arranged in a power management unit.
第二方面,本申请实施例还提供了一种供电方法,所述供电方法适用于第一方面以及第一方面的任一可能的实现方式中的供电系统,所述供电方法包括:识别终端设备上当前 开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息;根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合,所述第一参数集合用于控制所述供电模块和所述开关模块将一个或者多个所述供电输出端的电流输出至所述SOC。In a second aspect, an embodiment of the present application also provides a power supply method, which is applicable to the power supply system in the first aspect and any possible implementation of the first aspect, and the power supply method includes: identifying a terminal device The first application program currently opened on the computer, and obtain the BUCK configuration information adapted to the first application program; configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information, the first parameter set of the power supply module and the switch module A parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
采用本申请的供电方法,在终端设备上开启第一应用程序时,能够通过对第一应用程序的识别,进而获取与该第一应用程序适配的BUCK配置信息,并根据该BUCK配置信息配置供电模块和开关模块的参数(即上述第一参数集合),选择性控制将供电模块的一个或者多个供电输出端(也即供电单元)的电流输出至SOC,从而在满足SOC中与第一应用程序适配的负载模块的正常供电,保证第一应用程序正常运行的同时,减少了供电单元的个数,提高了电源效率。Using the power supply method of the present application, when the first application is opened on the terminal device, the first application can be identified to obtain the BUCK configuration information adapted to the first application, and configure according to the BUCK configuration information The parameters of the power supply module and the switch module (i.e. the first set of parameters) selectively control the output of the current of one or more power supply output terminals (i.e. power supply units) of the power supply module to the SOC, so as to meet the requirements of the SOC. The normal power supply of the load module adapted by the application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
在一种可能的实现方式中,所述获取与所述第一应用程序适配的BUCK配置信息,包括:从网络侧下载所述BUCK配置信息;或者,从本地存储的BUCK配置库读取所述BUCK配置信息。In a possible implementation manner, the obtaining BUCK configuration information adapted to the first application includes: downloading the BUCK configuration information from the network side; or, reading the BUCK configuration information from a locally stored BUCK configuration library. Describe BUCK configuration information.
在一种可能的实现方式中,在所述根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合之后,还包括:在所述第一应用程序运行过程中,当检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第一阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。In a possible implementation manner, after the configuration of the first parameter set of the power supply module and the switch module according to the BUCK configuration information, the method further includes: during the running of the first application, when When it is detected that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, a second parameter set of the power supply module and the switch module is configured, and the second parameter set is used to control the power supply module and The switch module adds a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is at least one load module in the SOC that is adapted to the first application Any one of; when the output current of the power supply output terminal connected with all load modules adapted to the first application program is not greater than the first threshold, generate according to the current parameter set of the power supply module and the switch module The BUCK configuration information.
在一种可能的实现方式中,所述第一参数集合具体用于控制所述供电模块和所述开关模块将至少一个第一供电输出端的输出电流输出至所述SOC中的第二负载模块,并将至少一个第二供电输出端的输出电流输出至所述SOC中的第三负载模块;所述第一供电输出端对应的BUCK电路中的电感的感值小于所述第二供电输出端对应的BUCK电路中的电感的感值;所述第二负载模块和所述第三负载模块为所述SOC中与所述第一应用程序适配的所有负载模块的其中两个;所述第二负载模块的负载大于所述第三负载模块的负载。In a possible implementation manner, the first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the second load module in the SOC, And output the output current of at least one second power supply output terminal to the third load module in the SOC; the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than that of the second power supply output terminal The inductance value of the inductance in the BUCK circuit; the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the second load The load of the module is greater than the load of the third load module.
在一种可能的实现方式中,在所述识别终端设备上当前开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息之前,还包括:判断终端设备上当前开启的第一应用程序是否为第一次开启;若所述第一应用程序为第一次开启,则配置所述供电模块和所述开关模块的初始参数集合,所述初始参数集合用于控制所述SOC中的每一个负载模块分别和所述多个供电输出端的其中之一连通;检测与所述每一个负载模块连通的供电输出端的输出电流是否大于第二阈值;若与第一负载模块连通的供电输出端的输出电流大于所述第二阈值,则配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第二阈值时,根据所述供电模块和所述开关模块的当前参数 集合生成所述BUCK配置信息。In a possible implementation manner, before the identifying the first application currently opened on the terminal device and obtaining the BUCK configuration information adapted to the first application, the method further includes: determining that the terminal device is currently opened Whether the first application program is started for the first time; if the first application program is started for the first time, configure the initial parameter set of the power supply module and the switch module, and the initial parameter set is used to control the Each load module in the SOC is respectively connected to one of the multiple power supply output terminals; detecting whether the output current of the power supply output terminal connected to each load module is greater than a second threshold; if it is connected to the first load module If the output current of the power supply output terminal is greater than the second threshold, a second parameter set of the power supply module and the switch module is configured, and the second parameter set is used to control the power supply module and the switch module to add one The power supply output terminal with no output current is connected with the first load module; wherein, the first load module is any one of the at least one load module in the SOC that is adapted to the first application; when and When the output current of the power supply output terminals connected to all load modules adapted by the first application program is not greater than the second threshold, the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
第三方面,本申请实施例还提供一种供电装置,包括:获取模块,用于识别终端设备上当前开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息;配置模块,用于根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合,所述第一参数集合用于控制所述供电模块和所述开关模块将一个或者多个所述供电输出端的电流输出至所述SOC。In a third aspect, an embodiment of the present application further provides a power supply device, including: an acquisition module, configured to identify a first application program currently opened on a terminal device, and acquire BUCK configuration information adapted to the first application program; The configuration module is configured to configure a first parameter set of the power supply module and the switch module according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to combine one or more The current of the power supply output terminal is output to the SOC.
采用本申请的供电装置,在终端设备上开启第一应用程序时,通过该供电装置能够对第一应用程序的识别,进而获取与该第一应用程序适配的BUCK配置信息,并根据该BUCK配置信息配置供电模块和开关模块的参数(即上述第一参数集合),选择性控制将供电模块的一个或者多个供电输出端(也即供电单元)的电流输出至SOC,从而在满足SOC中与第一应用程序适配的负载模块的正常供电,保证第一应用程序正常运行的同时,减少了供电单元的个数,提高了电源效率。Using the power supply device of the present application, when the first application program is opened on the terminal device, the power supply device can identify the first application program, and then obtain the BUCK configuration information that is adapted to the first application program, and according to the BUCK The configuration information configures the parameters of the power supply module and the switch module (that is, the above-mentioned first parameter set), and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to satisfy the SOC The normal power supply of the load module adapted to the first application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
在一种可能的实现方式中,所述获取模块,具体用于从网络侧下载所述BUCK配置信息;或者,从本地存储的BUCK配置库读取所述BUCK配置信息。In a possible implementation manner, the acquiring module is specifically configured to download the BUCK configuration information from the network side; or, to read the BUCK configuration information from a locally stored BUCK configuration library.
在一种可能的实现方式中,所述配置模块,还用于在所述根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合之后,在所述第一应用程序运行过程中,当检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第一阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。In a possible implementation manner, the configuration module is further configured to: after the first parameter set of the power supply module and the switch module is configured according to the BUCK configuration information, in the first application program During operation, when it is detected that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured, and the second parameter set is used for control The power supply module and the switch module add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the one in the SOC that is adapted to the first application Any one of at least one load module; when the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the first threshold, according to the power supply module and the switch module The current parameter set of to generate the BUCK configuration information.
在一种可能的实现方式中,所述第一参数集合具体用于控制所述供电模块和所述开关模块将至少一个第一供电输出端的输出电流输出至所述SOC中的第二负载模块,并将至少一个第二供电输出端的输出电流输出至所述SOC中的第三负载模块;所述第一供电输出端对应的BUCK电路中的电感的感值小于所述第二供电输出端对应的BUCK电路中的电感的感值;所述第二负载模块和所述第三负载模块为所述SOC中与所述第一应用程序适配的所有负载模块的其中两个;所述第二负载模块的负载大于所述第三负载模块的负载。In a possible implementation manner, the first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the second load module in the SOC, And output the output current of at least one second power supply output terminal to the third load module in the SOC; the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than that of the second power supply output terminal The inductance value of the inductance in the BUCK circuit; the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the second load The load of the module is greater than the load of the third load module.
在一种可能的实现方式中,预配置模块,用于判断终端设备上当前开启的第一应用程序是否为第一次开启;若所述第一应用程序为第一次开启,则配置所述供电模块和所述开关模块的初始参数集合,所述初始参数集合用于控制所述SOC中的每一个负载模块分别和所述多个供电输出端的其中之一连通;检测与所述每一个负载模块连通的供电输出端的输出电流是否大于第二阈值;若与第一负载模块连通的供电输出端的输出电流大于所述第二阈值,则配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第二阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所 述BUCK配置信息。In a possible implementation, the pre-configuration module is used to determine whether the first application currently opened on the terminal device is opened for the first time; if the first application is opened for the first time, configure the The initial parameter set of the power supply module and the switch module, where the initial parameter set is used to control each load module in the SOC to communicate with one of the plurality of power supply output terminals; Whether the output current of the power supply output terminal connected to the module is greater than the second threshold; if the output current of the power supply output terminal connected to the first load module is greater than the second threshold, configure the second parameter set of the power supply module and the switch module , The second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the SOC Any one of the at least one load module adapted to the first application program; when the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold, The BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
第四方面,本申请实施例还提供一种终端装置,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当所述一个或多个程序被所述一个或多个处理器执行,以使得所述终端设备实现如第二方面中所述的供电方法。In a fourth aspect, an embodiment of the present application also provides a terminal device, including: one or more processors; a memory, used to store one or more programs; when the one or more programs are used by the one or more The processor executes, so that the terminal device implements the power supply method described in the second aspect.
第五方面,本申请实施例还提供一种计算机可读存储介质,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行如第二方面以及第二方面的任一可能的实现方式中所述的供电方法。In a fifth aspect, an embodiment of the present application also provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute any of the second aspect and any of the second aspects. The power supply method described in the implementation mode.
第六方面,本申请实施例还提供一种芯片,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以使得所述芯片执行如第二方面中所述的供电方法。In a sixth aspect, an embodiment of the present application also provides a chip, including a processor and a memory, 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, so that the The chip executes the power supply method as described in the second aspect.
附图说明Description of the drawings
图1为本申请实施例提供的一种供电系统的结构示意图;FIG. 1 is a schematic structural diagram of a power supply system provided by an embodiment of the application;
图2为本申请实施例提供的一种供电系统的结构示意图;FIG. 2 is a schematic structural diagram of a power supply system provided by an embodiment of the application;
图3为本申请实施例提供的一种供电系统的结构示意图;FIG. 3 is a schematic structural diagram of a power supply system provided by an embodiment of the application;
图4为本申请实施例提供的一种供电系统的结构示意图;FIG. 4 is a schematic structural diagram of a power supply system provided by an embodiment of the application;
图5为本申请实施例提供的一种供电系统的结构示意图;FIG. 5 is a schematic structural diagram of a power supply system provided by an embodiment of this application;
图6为本申请实施例提供的一种供电系统的供电方法流程图;FIG. 6 is a flowchart of a power supply method for a power supply system according to an embodiment of the application;
图7为本申请实施例提供的一种供电系统的供电方法流程图;FIG. 7 is a flowchart of a power supply method for a power supply system provided by an embodiment of the application;
图8为本申请实施例提供的一种供电系统的供电方法中的部分流程图;FIG. 8 is a partial flowchart of a power supply method of a power supply system provided by an embodiment of the application;
图9为本申请实施例提供的一种供电系统的供电方法流程图;FIG. 9 is a flowchart of a power supply method of a power supply system according to an embodiment of the application;
图10为本申请实施例提供的一种供电装置的结构示意图;FIG. 10 is a schematic structural diagram of a power supply device provided by an embodiment of the application;
图11为本申请实施例提供的一种供电装置的结构示意图;FIG. 11 is a schematic structural diagram of a power supply device provided by an embodiment of the application;
图12为本申请实施例提供的一种终端设备的结构示意图。FIG. 12 is a schematic structural diagram of a terminal device provided by an embodiment of this application.
具体实施方式Detailed ways
本申请的说明书实施例和权利要求书及附图中的术语“第一”、“第二”等仅用于区分描述的目的,而不能理解为指示或暗示相对重要性,也不能理解为指示或暗示顺序。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元。方法、系统或装置不必限于清楚地列出的那些步骤或模块,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "first", "second", etc. in the specification embodiments, claims, and drawings of this application are only used for the purpose of distinguishing description, and cannot be construed as indicating or implying relative importance, nor can they be construed as indicating Or imply the order. In addition, the terms "including" and "having" and any variations of them are intended to cover non-exclusive inclusion, for example, including a series of steps or units. The method, system, or device is not necessarily limited to those clearly listed steps or modules, but may include other steps or modules that are not clearly listed or are inherent to these processes, methods, products, or equipment.
本申请实施例提供一种终端设备,该终端设备可以为手机、平板电脑、笔记本、车载电脑、智能手表、智能手环等电子产品,本申请实施例对该终端设备的具体形式不做特殊限制。The embodiment of the application provides a terminal device, which can be a mobile phone, a tablet computer, a notebook, a car computer, a smart watch, a smart bracelet, and other electronic products. The embodiment of the application does not specifically limit the specific form of the terminal device .
本申请的终端设备中包括供电系统。采用该供电系统能够避免终端设备因供电不足而导致的响应慢等问题。以下实施例对本申请的供电系统做进一步的说明。The terminal equipment of this application includes a power supply system. The use of this power supply system can avoid problems such as slow response of terminal equipment due to insufficient power supply. The following embodiments further illustrate the power supply system of the present application.
图1为本申请实施例提供的一种供电系统的示意图。如图1所示,该供电系统01包括:供电模块10、开关模块20(也可以称为SWITCH)、系统级芯片SOC 30。其中,供电模块10具有多个供电输出端X1-X4(本申请并不限制于图1中4个供电输出端X1、X2、 X3、X4),且多个供电输出端X1-X4与开关模块20的输入端连接,开关模块20的输出端Y1、Y2(本申请并不限制于图1中的2个输出端Y1、Y2)与SOC 30连接;该开关模块20配置为控制多个供电输出端X1-X4分别与SOC 30之间的通断。Fig. 1 is a schematic diagram of a power supply system provided by an embodiment of the application. As shown in FIG. 1, the power supply system 01 includes: a power supply module 10, a switch module 20 (also referred to as SWITCH), and a system-on-chip SOC 30. Wherein, the power supply module 10 has multiple power supply output terminals X1-X4 (this application is not limited to the four power supply output terminals X1, X2, X3, X4 in FIG. 1), and multiple power supply output terminals X1-X4 and the switch module The input terminal of the switch module 20 is connected, and the output terminals Y1 and Y2 of the switch module 20 (this application is not limited to the two output terminals Y1, Y2 in FIG. 1) are connected to the SOC 30; the switch module 20 is configured to control multiple power supply outputs The connection between terminals X1-X4 and SOC 30 respectively.
可以理解理解的是,上述供电模块10中对应每一供电输出端(X1、X2、X3、X4)分别设置有供电单元,以通过各供电单元向各供电输出端输出电信号(例如电流信号)。It is understandable that the power supply module 10 is provided with a power supply unit corresponding to each power supply output terminal (X1, X2, X3, X4), so as to output an electrical signal (such as a current signal) to each power supply output terminal through each power supply unit. .
另外,还可以理解的是,SOC作为终端设备中的重要核心器件,其内部设置有多个负载模块,例如,中央处理器(central processing unit,CPU)大核(下文以及附图均简写为CPU_B)、CPU小核(下文以及附图均简写为CPU_L)、CPU中核(下文以及附图均简写为CPU_M)、图形处理器(graphics processing unit,GPU)、嵌入式神经网络处理器(neural-network processing unit,NPU)等负载模块。在终端设备上运行应用程序时,SOC中与该应用程序适配的一些负载模块需要进行供电,以满足该应用程序的正常运行。In addition, it can also be understood that, as an important core device in terminal equipment, SOC is equipped with multiple load modules, such as a central processing unit (CPU) core (the following and the drawings are abbreviated as CPU_B ), small CPU core (abbreviated as CPU_L in the following and figures), middle CPU core (abbreviated as CPU_M in the following and figures), graphics processing unit (GPU), embedded neural network processor (neural-network) Processing unit, NPU) and other load modules. When an application program is run on a terminal device, some load modules in the SOC that are adapted to the application program need to be powered to meet the normal operation of the application program.
本申请的供电系统中通过设置开关模块,能够选择性控制供电模块的多个供电输出端中的一个或者多个与SOC之间的通断,即有选择的控制将一个或者多个供电输出端(也即供电单元)的输出电流输出至SOC,也即能够有选择的根据SOC中的负载模块的供电需求采用单相或多相的供电方式进行供电,从而在满足SOC中的负载模块的供电需求的同时,无需向SOC中的各负载模块设置固定单个供电单元和多个供电单元(即固定的单相和多相结合的供电方式),进而减少了供电单元的个数,提高了电源效率。The power supply system of the present application can selectively control the on-off between one or more of the multiple power supply output terminals of the power supply module and the SOC by setting the switch module, that is, selectively control the switching of one or more power supply output terminals (That is, the output current of the power supply unit) is output to the SOC, that is, it can selectively supply power according to the power supply requirements of the load module in the SOC by adopting a single-phase or multi-phase power supply mode, so as to meet the power supply of the load module in the SOC. At the same time, there is no need to set a fixed single power supply unit and multiple power supply units (ie a fixed single-phase and multi-phase combined power supply mode) to each load module in the SOC, thereby reducing the number of power supply units and improving power supply efficiency .
以下对本申请的供电系统01中的供电模块10和开关模块20做进一步的说明。The power supply module 10 and the switch module 20 in the power supply system 01 of the present application will be further described below.
如图2所示,供电模块10包括多相控制器(multiphase controller)100和多相BUCK电路(也可称为降压式变换电路;英文名称:buck converter)101-104(本申请并不限制于图2中的4相BUCK电路101、102、103、104)。其中,多相控制器100与多相BUCK电路101-104的输入端连接,多相BUCK电路101-104的输出端与供电模块10的多个供电输出端X1-X4对应,也即多相BUCK电路101-104的输出端作为供电模块10的多个供电输出端X1-X4。As shown in Figure 2, the power supply module 10 includes a multiphase controller (multiphase controller) 100 and a multiphase BUCK circuit (also called a buck converter circuit; English name: buck converter) 101-104 (this application is not limited (In Figure 2 4- phase BUCK circuits 101, 102, 103, 104). Among them, the multi-phase controller 100 is connected to the input terminals of the multi-phase BUCK circuits 101-104, and the output terminals of the multi-phase BUCK circuits 101-104 correspond to the multiple power supply output terminals X1-X4 of the power supply module 10, that is, the multi-phase BUCK circuit. The output terminals of the circuits 101-104 serve as multiple power supply output terminals X1-X4 of the power supply module 10.
可以理解的是,上述的BUCK电路可以相当于前文提及的供电单元;并且上述多相BUCK电路也可以理解为多个BUCK电路。It can be understood that the above-mentioned BUCK circuit can be equivalent to the aforementioned power supply unit; and the above-mentioned multi-phase BUCK circuit can also be understood as multiple BUCK circuits.
对于上述多相BUCK电路101-104而言,每一相BUCK电路的内部结构可以是相同的,以下以BUCK电路101为例,对每一BUCK电路的内部结构进行说明。For the above-mentioned multi-phase BUCK circuits 101-104, the internal structure of each phase of the BUCK circuit may be the same. The following takes the BUCK circuit 101 as an example to describe the internal structure of each BUCK circuit.
在一些可能实现的方式中,如图3所示,BUCK电路101包括:BUCK控制电路B以及电感L。其中,BUCK控制电路B与多相控制器100以及电感L的一端连接,电感L的另一端与开关模块20连接。In some possible implementation manners, as shown in FIG. 3, the BUCK circuit 101 includes: a BUCK control circuit B and an inductor L. Wherein, the BUCK control circuit B is connected to the multi-phase controller 100 and one end of the inductor L, and the other end of the inductor L is connected to the switch module 20.
示意的,如图3所示,在BUCK电路101中,BUCK控制电路B可以包括第一晶体管Q1、第二晶体管Q2。第一晶体管Q1的栅极与多相控制器100连接,第一晶体管Q1的第一极与电源端VIN连接,第一晶体管Q1的第二极与节点a连接;第二晶体管Q2的栅极与多相控制器100连接,第二晶体管Q2的第一极与节点a连接,第二晶体管Q2的第二极与接地端连接。电感L的一端与节点a连接,电感L的另一端作为BUCK电路101的输出端(也即供电输出端X1)与开关模块20连接。Illustratively, as shown in FIG. 3, in the BUCK circuit 101, the BUCK control circuit B may include a first transistor Q1 and a second transistor Q2. The gate of the first transistor Q1 is connected to the multiphase controller 100, the first electrode of the first transistor Q1 is connected to the power supply terminal VIN, the second electrode of the first transistor Q1 is connected to node a; the gate of the second transistor Q2 is connected to The multi-phase controller 100 is connected, the first pole of the second transistor Q2 is connected to the node a, and the second pole of the second transistor Q2 is connected to the ground terminal. One end of the inductor L is connected to the node a, and the other end of the inductor L is connected to the switch module 20 as the output end of the BUCK circuit 101 (that is, the power supply output end X1).
当然,BUCK电路101中根据实际的需要还可以设置相关的其他电子器件,例如电容、电阻等,本申请对此不作具体限定。Of course, other related electronic devices, such as capacitors, resistors, etc., can also be provided in the BUCK circuit 101 according to actual needs, which is not specifically limited in this application.
需要说明的是,上述第一晶体管Q1和第二晶体管Q2可以是N型晶体管,也可以为P型晶体管;可以为增强型晶体管,也可以为耗尽型晶体管;上述晶体管(Q1、Q2)的第一极可以为源极,第二极为漏极;或者第一极可以为漏极,第二极为源极,本发明对此不作限定。It should be noted that the above-mentioned first transistor Q1 and second transistor Q2 may be N-type transistors or P-type transistors; they may be enhancement-type transistors or depletion-type transistors; the above-mentioned transistors (Q1, Q2) The first electrode can be a source electrode and the second electrode is a drain electrode; or the first electrode can be a drain electrode and the second electrode is a source electrode, which is not limited in the present invention.
在此基础上,可以理解的是,电源管理单元(power management unit,PMU)作为供电系统的重要器件,对于本申请的供电系统01而言,在一些实施例中,如图4所示,供电模块10可以包括PMU,并且可以将多相控制器100和多相BUCK电路101-104中的BUCK控制电路B均设置于PMU中,以提高整个供电系统的集成度。当然,在PMU中还设置有其他相关的控制电路(例如时钟信号控制电路等)或者检测模块等,本申请对此不作任何限定。On this basis, it can be understood that the power management unit (PMU) is an important component of the power supply system. For the power supply system 01 of the present application, in some embodiments, as shown in FIG. 4, the power supply The module 10 may include a PMU, and the multi-phase controller 100 and the BUCK control circuit B of the multi-phase BUCK circuits 101-104 can be arranged in the PMU to improve the integration of the entire power supply system. Of course, other related control circuits (such as a clock signal control circuit, etc.) or detection modules are also provided in the PMU, which is not limited in this application.
另外,以BUCK电路101为例,对于BUCK电路101中与供电输出端X1连接的电感L而言,该电感L的感值(也可以称为电感值)与BUCK电路101的输出效率直接相关。在BUCK电路101的输出电流较大时,采用较小感值的电感能够使得BUCK电路101具有较高的输出效率;在BUCK电路101的输出电流较小时,采用较大感值的电感能够使得BUCK电路101具有较高的输出效率。也就说,在输出电流较大的情况下,具有较小感值电感的BUCK电路的输出效率要高于具有较大感值电感的BUCK电路(其他设置条件相同);在输出电流较小的情况下,具有较大感值电感的BUCK电路的输出效率要高于具有较小感值电感的BUCK电路(其他设置条件相同)。In addition, taking the BUCK circuit 101 as an example, for the inductance L connected to the power supply output terminal X1 in the BUCK circuit 101, the inductance value (also referred to as the inductance value) of the inductance L is directly related to the output efficiency of the BUCK circuit 101. When the output current of the BUCK circuit 101 is large, the use of an inductance with a smaller inductance can make the BUCK circuit 101 have a higher output efficiency; when the output current of the BUCK circuit 101 is small, the use of an inductance with a larger inductance can make the BUCK circuit 101 The circuit 101 has a higher output efficiency. In other words, when the output current is large, the output efficiency of the BUCK circuit with a smaller inductance is higher than that of the BUCK circuit with a larger inductance (other setting conditions are the same); in the case of a smaller output current In this case, the output efficiency of a BUCK circuit with a larger inductance is higher than that of a BUCK circuit with a smaller inductance (other setting conditions are the same).
基于此,在一些可能实现的方式中,可以设置多相BUCK电路101-104中的电感的感值不完全相同。在此情况下,在通过开关模块20配置多相BUCK电路101-104与SOC 30中的负载模块之间的通断时,可以选择性的控制SOC 30中的重载模块与具有较小感值电感的BUCK电路之间导通,控制SOC中的轻载模块与具有较大感值电感的BUCK电路之间导通,以提高BUCK电路的输出效率,进而提高电源效率。Based on this, in some possible implementation manners, the inductance values of the inductances in the multi-phase BUCK circuits 101-104 may be set to be different. In this case, when the switch module 20 configures the on-off between the multi-phase BUCK circuit 101-104 and the load module in the SOC 30, the heavy load module in the SOC 30 can be selectively controlled with a smaller inductance. The conduction between the inductance BUCK circuits is to control the conduction between the light load module in the SOC and the BUCK circuit with a larger inductance inductance, so as to improve the output efficiency of the BUCK circuit, thereby increasing the efficiency of the power supply.
当然,在一些可能实现的方式中,也可以设置多相BUCK电路101-104中的电感的感值均相同。Of course, in some possible implementation manners, it is also possible to set the inductance values of the inductances in the multi-phase BUCK circuits 101-104 to be the same.
对于本申请中的开关模块20而言,在一些可能实现的方式中,开关模块20可以是分立设置的多个切换开关。在一些可能实现的方式中,开关模块20也可以是多个切换开关的集成器件;例如,开关模块20可以为单独的外置芯片,也可以内置于SOC 30中,还可以内置于PMU中。其中,开关模块20内部通过切换开关形成的通道数量取决于供电输出端(或者说BUCK电路)的数量。For the switch module 20 in the present application, in some possible implementation manners, the switch module 20 may be a plurality of separate switches. In some possible implementation manners, the switch module 20 may also be an integrated device of multiple switches; for example, the switch module 20 may be a separate external chip, may also be built into the SOC 30, or may be built into the PMU. Wherein, the number of channels formed by the switch inside the switch module 20 depends on the number of power supply output terminals (or BUCK circuits).
在一些实施例中,如图5所示,开关模块20可以由多个开关单元(如U1、U2)构成,不同的开关单元的输入端连接不同的BUCK电路,且每一开关单元的输出端均与SOC 30连接。In some embodiments, as shown in FIG. 5, the switch module 20 may be composed of multiple switch units (such as U1, U2), the input terminals of different switch units are connected to different BUCK circuits, and the output terminal of each switch unit Both are connected to SOC 30.
示意的,如图5所示,供电模块10中包括4相BUCK电路101-104,且该4相BUCK电路101-104通过开关模块20与SOC 30中的两个负载模块连接,该两个负载模块分别为CPU_B和CPU_L;开关模块20可以包括第一开关单元U1和第二开关单元U2。其中,第一开关单元U1的输入端与BUCK电路101、102的输出端(也即供电输出端X1、X2)连接,该第一开关单元U1的输出端与SOC 30中的CPU_B和CPU_L均连接;第二开关单元U2的输入端与BUCK电路103、104的输出端(也即供电输出端X3、X4)连接,该 第二开关单元U2的输出端与SOC 30中的CPU_B和CPU_L均连接。Schematically, as shown in FIG. 5, the power supply module 10 includes 4-phase BUCK circuits 101-104, and the 4-phase BUCK circuits 101-104 are connected to two load modules in the SOC 30 through the switch module 20. The two loads The modules are CPU_B and CPU_L, respectively; the switch module 20 may include a first switch unit U1 and a second switch unit U2. The input terminal of the first switch unit U1 is connected to the output terminals of the BUCK circuits 101 and 102 (that is, the power supply output terminals X1 and X2), and the output terminal of the first switch unit U1 is connected to both CPU_B and CPU_L in the SOC 30 The input terminal of the second switch unit U2 is connected to the output terminals of the BUCK circuit 103, 104 (that is, the power supply output terminals X3, X4), and the output terminal of the second switch unit U2 is connected to both CPU_B and CPU_L in the SOC 30.
另外,在一些可能实现的方式中,前述的SOC 30、多相控制器100(或者说PMU)以及开关模块20可以通过总线连接,该总线可以包括I2C总线(inter-integrated circuit,I2C)、电源管理接口(system power management interface,SPMI)、通用异步收发传输器(universal asynchronous receiver/transmitter,UART)、移动产业处理器接口(mobile industry processor interface,MIPI)等,从而保证上述供电系统01中的SOC 30、多相控制器100(或者说PMU)以及开关模块20之间能够通过相应的通信协议完成相关信号的传输。In addition, in some possible implementation manners, the aforementioned SOC 30, the multi-phase controller 100 (or PMU), and the switch module 20 may be connected by a bus. The bus may include an I2C bus (inter-integrated circuit, I2C), a power supply Management interface (system power management interface, SPMI), universal asynchronous receiver/transmitter (UART), mobile industry processor interface (mobile industry processor interface, MIPI), etc., so as to ensure the SOC in the above-mentioned power supply system 01 30. The multi-phase controller 100 (or PMU) and the switch module 20 can complete the transmission of related signals through a corresponding communication protocol.
另外,相比于现有技术中,将SOC中的负载模块与固定的BUCK电路连接(也即只有一种供电方式)而言,本申请中通过设置开关模块20,可以根据实际的需要向负载模块选择性的配置一相或多相BUCK电路,从而使得该供电系统01可以具有多种组合的供电方式。In addition, compared with the prior art, in terms of connecting the load module in the SOC to a fixed BUCK circuit (that is, there is only one power supply mode), in this application, by setting the switch module 20, the load can be supplied to the load according to actual needs. The module selectively configures one-phase or multi-phase BUCK circuits, so that the power supply system 01 can have a variety of combined power supply modes.
示意的,以图5中示出的通过4相BUCK电路101-104向CPU_B和CPU_L供电为例,参考表1,在此情况下,通过开关模块20的控制,该供电系统01可以实现15种供电方式。Illustratively, taking the power supply to CPU_B and CPU_L through the 4-phase BUCK circuit 101-104 shown in FIG. 5 as an example, refer to Table 1. In this case, through the control of the switch module 20, the power supply system 01 can implement 15 types Power supply.
具体的,如表1的BUCK电路的配置相数一栏中,列1表示CPU_B和CPU_L均不配置BUCK电路;列2表示CPU_B不配置BUCK电路,CPU_L配置1相BUCK电路;列3表示CPU_B不配置BUCK电路,CPU_L配置2相BUCK电路;列4表示CPU_B不配置BUCK电路,CPU_L配置3相BUCK电路;列5表示CPU_B不配置BUCK电路,CPU_L配置4相BUCK电路;列6表示CPU_B配置1相BUCK电路,CPU_L不配置BUCK电路;列7表示CPU_B配置1相BUCK电路,CPU_L配置1相BUCK电路;列8表示CPU_B配置1相BUCK电路,CPU_L配置2相BUCK电路;列9表示CPU_B配置1相BUCK电路,CPU_L配置3相BUCK电路;列10表示CPU_B配置2相BUCK电路,CPU_L不配置BUCK电路;列11表示CPU_B配置2相BUCK电路,CPU_L配置1相BUCK电路;列12表示CPU_B配置2相BUCK电路,CPU_L配置2相BUCK电路;列13表示CPU_B配置3相BUCK电路,CPU_L不配置BUCK电路;列14表示CPU_B配置3相BUCK电路,CPU_L配置1相BUCK电路;列15表示CPU_B配置4相BUCK电路,CPU_L不配置BUCK电路。需要说明的是,还可以采用其他的BUCK电路组合方式供电,本申请不做具体限定。Specifically, as shown in the column of the number of phases configured for the BUCK circuit in Table 1, column 1 means that neither CPU_B nor CPU_L is equipped with BUCK circuits; column 2 means that CPU_B is not equipped with BUCK circuits, and CPU_L is equipped with 1-phase BUCK circuits; column 3 means that CPU_B is not equipped with BUCK circuits. Configure BUCK circuit, CPU_L configures 2-phase BUCK circuit; column 4 indicates that CPU_B does not configure BUCK circuit, and CPU_L configures 3-phase BUCK circuit; column 5 indicates that CPU_B does not configure BUCK circuit, and CPU_L configures 4-phase BUCK circuit; column 6 indicates that CPU_B configures 1-phase BUCK circuit, CPU_L does not configure BUCK circuit; column 7 indicates that CPU_B is configured with 1-phase BUCK circuit, and CPU_L is configured with 1-phase BUCK circuit; column 8 indicates that CPU_B is configured with 1-phase BUCK circuit, and CPU_L is configured with 2-phase BUCK circuit; column 9 indicates that CPU_B is configured with 1-phase BUCK circuit, CPU_L configures a 3-phase BUCK circuit; column 10 indicates that CPU_B configures a 2-phase BUCK circuit, and CPU_L does not configure a BUCK circuit; column 11 indicates that CPU_B configures a 2-phase BUCK circuit, and CPU_L configures a 1-phase BUCK circuit; column 12 indicates that CPU_B configures a 2-phase BUCK circuit, CPU_L configures a 2-phase BUCK circuit; column 13 indicates that CPU_B configures a 3-phase BUCK circuit, and CPU_L does not configure a BUCK circuit; column 14 indicates that CPU_B configures a 3-phase BUCK circuit, and CPU_L configures a 1-phase BUCK circuit; column 15 indicates that CPU_B configures a 4-phase BUCK circuit, CPU_L does not configure BUCK circuit. It should be noted that other BUCK circuit combinations can also be used for power supply, which is not specifically limited in this application.
表1Table 1
Figure PCTCN2020125901-appb-000001
Figure PCTCN2020125901-appb-000001
以下参考表2,通过具体示例对现有技术中将SOC中的负载模块设置固定的单相和多相BUCK电路,与本申请中通过设置开关模块20根据的实际供电需求,选择性的向负载模块配置一相或多相BUCK电路,以减少BUCK电路的设置个数(也即相数)进行具体的对比说明。In the following, referring to Table 2, the load modules in the SOC in the prior art are set with fixed single-phase and multi-phase BUCK circuits through specific examples, and in this application, the switch module 20 is set to selectively supply the load according to the actual power supply requirements. The module is equipped with one-phase or multi-phase BUCK circuits to reduce the number of BUCK circuits (that is, the number of phases) for specific comparison and description.
如表2所示,以向SOC中的负载模块:CPU_B、PERI(外射模块)、MODEM(调 制解调器)、NPU、CPU_M、GPU配置BUCK电路的相数为例。现有技术中,为了满足所有场景(即应用场景)向CPU_B配置2相BUCK电路,向PERI配置2相BUCK电路、向MODEM配置3相BUCK电路、向NPU配置2相BUCK电路、向CPU_M配置2相BUCK电路、向GPU配置2相BUCK电路,也即总共需要设置13相BUCK电路。As shown in Table 2, take the load modules in the SOC: CPU_B, PERI (external injection module), MODEM (modulator), NPU, CPU_M, and GPU to configure the number of phases of the BUCK circuit as an example. In the prior art, in order to meet all scenarios (ie application scenarios), a 2-phase BUCK circuit is configured for CPU_B, a 2-phase BUCK circuit is configured for PERI, a 3-phase BUCK circuit is configured for MODEM, a 2-phase BUCK circuit is configured for NPU, and 2 phases are configured for CPU_M. Phase BUCK circuit, a 2-phase BUCK circuit is configured to the GPU, that is, a total of 13 phase BUCK circuits are required.
采用本申请的技术方案,总共仅需要设置7相BUCK电路(如表2中总相数一栏中最多需要7相BUCK电路),即可满足大部分(超过99%)场景;也即通过开关模块20可以在7相BUCK电路中选择一相或多相BUCK电路,即可满足不同场景下的负载模块的供电需求。With the technical solution of this application, only 7-phase BUCK circuits need to be set up in total (for example, 7-phase BUCK circuits are required in the column of total phase number in Table 2), which can meet most (over 99%) scenarios; that is, through switches The module 20 can select one-phase or multi-phase BUCK circuits among the 7-phase BUCK circuits to meet the power supply requirements of load modules in different scenarios.
具体的,参考表2中,在桌面静态的场景下,仅需要向PERI配置1相BUCK电路,向MODEM配置1相BUCK电路,向CPU_M配置1相BUCK电路,向GPU配置1相BUCK电路,CPU_B和NPU均不需要配置BUCK电路;也即在桌面静态的场景下,7相BUCK电路中仅需要配置4相BUCK电路即可。在高速下载的场景下,向CPU_B配置1相BUCK电路,向PERI配置1相BUCK电路,向MODEM配置3相BUCK电路,向CPUM配置1相BUCK电路,向GPU配置1相BUCK电路,NPU不需要配置BUCK电路;也即在高速下载的场景下,7相BUCK电路全部进行配置即可。Specifically, referring to Table 2, in the desktop static scenario, only need to configure 1-phase BUCK circuit to PERI, 1-phase BUCK circuit to MODEM, 1-phase BUCK circuit to CPU_M, 1-phase BUCK circuit to GPU, CPU_B NPU and NPU do not need to configure the BUCK circuit; that is, in the desktop static scene, only the 4-phase BUCK circuit needs to be configured in the 7-phase BUCK circuit. In the high-speed download scenario, configure 1-phase BUCK circuit to CPU_B, 1-phase BUCK circuit to PERI, 3-phase BUCK circuit to MODEM, 1-phase BUCK circuit to CPUM, 1-phase BUCK circuit to GPU, NPU does not need Configure the BUCK circuit; that is, in the high-speed download scenario, all 7-phase BUCK circuits can be configured.
对于其他场景下,例如桌面动态、网页浏览静态、网页浏览动态、在线视频播放、本地视频播放、在线视频聊天、轻载游戏、CPU重载游戏、GPU重载游戏、相机拍照、相机录像、CPU跑分软件、GPU跑分软件,需要配置的BUCK电路的总相数均不超过7相;也即根据需要将7相BUCK电路部分或全部的BUCK电路进行配置即可,具体配置情况可以参考图2,此处不再赘述。For other scenarios, such as desktop dynamics, static web browsing, dynamic web browsing, online video playback, local video playback, online video chat, light load games, CPU reload games, GPU reload games, camera photos, camera recordings, CPU For running software and GPU running software, the total number of phases of the BUCK circuit that needs to be configured does not exceed 7 phases; that is, part or all of the BUCK circuits of the 7-phase BUCK circuit can be configured as needed. Please refer to the figure for specific configuration. 2. I won't repeat it here.
表2Table 2
Figure PCTCN2020125901-appb-000002
Figure PCTCN2020125901-appb-000002
综上所述,相比于现有技术中需要设置13相BUCK电路而言,采用本申请的技术方 案仅需要设置7相BUCK电路,也即减少了6相BUCK电路,提高了BUCK电路的使用率,提高了电源效率。To sum up, compared with the prior art requiring a 13-phase BUCK circuit, the technical solution of this application only needs to be equipped with a 7-phase BUCK circuit, that is, a 6-phase BUCK circuit is reduced, and the use of a BUCK circuit is improved. The efficiency of the power supply is improved.
另外,可以理解的是,如表2中所示,尽管采用本申请的技术方案设置了7相BUCK电路,但在实际的应用中根据实际的应用场景的不同,并不需要将7相BUCK电路全部进行配置,也即7相BUCK电路可能仅需要部分BUCK电路进行供电,部分BUCK电路并不进行供电;例如在桌面静态的场景下,仅需要配置4相BUCK电路进行供电,此时3相BUCK电路并不需要进行供电。In addition, it can be understood that, as shown in Table 2, although the 7-phase BUCK circuit is set up using the technical solution of this application, in actual applications, it is not necessary to use the 7-phase BUCK circuit according to the actual application scenarios. All configuration, that is, the 7-phase BUCK circuit may only need part of the BUCK circuit for power supply, and some of the BUCK circuit does not supply power; for example, in a desktop static scenario, only the 4-phase BUCK circuit needs to be configured for power supply. In this case, the 3-phase BUCK circuit The circuit does not need to be powered.
本申请实施例还提供了一种适用于上述供电系统的供电方法,如图6所示,该供电方法包括:The embodiment of the present application also provides a power supply method suitable for the above-mentioned power supply system. As shown in FIG. 6, the power supply method includes:
步骤11、识别终端设备上当前开启的第一应用程序,并获取与第一应用程序适配的BUCK配置信息。 Step 11. Identify the first application currently opened on the terminal device, and obtain BUCK configuration information adapted to the first application.
示意的,当用户在使用终端设备上的第一应用程序时,SOC识别终端设备上当前开启的第一应用程序,并获取与该第一应用程序适配的BUCK配置信息。其中,第一应用程序为终端设备上安装的应用程序中的一个。Illustratively, when the user is using the first application program on the terminal device, the SOC identifies the first application program currently opened on the terminal device, and obtains BUCK configuration information adapted to the first application program. Wherein, the first application program is one of the application programs installed on the terminal device.
上述BUCK配置信息包括对供电模块和开关模块的配置信息,SOC根据BUCK配置信息对供电模块和开关模块进行配置,供电模块和开关模块基于该配置实现向SOC中的一个或多个负载模块供电,此时该一个或多个负载与当前开启的第一应用程序适配。The above-mentioned BUCK configuration information includes the configuration information of the power supply module and the switch module. The SOC configures the power supply module and the switch module according to the BUCK configuration information, and the power supply module and the switch module realize power supply to one or more load modules in the SOC based on the configuration. At this time, the one or more loads are adapted to the currently opened first application program.
例如,以手机观看视频为例,视频应用程序在运行过程中,SOC中的CPU小核、GPU开启需要进行供电。基于此,当用户在打开终端设备上的视频应用程序的图标时,SOC识别该视频应用程序,并获取与该视频应用程序适配的BUCK配置信息,SOC根据该BUCK配置信息对供电模块和开关模块进行配置,供电模块和开关模块基于该配置向SOC中的CPU小核、GPU供电。For example, taking a mobile phone to watch a video as an example, when a video application is running, the small CPU core and GPU in the SOC need to be powered on. Based on this, when the user opens the icon of the video application on the terminal device, the SOC recognizes the video application and obtains the BUCK configuration information that is adapted to the video application. The SOC controls the power supply module and switch according to the BUCK configuration information. The module is configured, and the power supply module and the switch module supply power to the small CPU core and GPU in the SOC based on the configuration.
另外,对于上述步骤11中获取与第一应用程序适配的BUCK配置信息的过程而言:In addition, regarding the process of obtaining BUCK configuration information adapted to the first application in step 11:
在一些可能实现的方式中,获取与第一应用程序适配的BUCK配置信息可以是:从网络侧下载与第一应用程序适配的BUCK配置信息。例如,可以是从云端数据库下载与第一应用程序适配的BUCK配置信息;又例如,可以是从网络大数据库下载与第一应用程序适配的BUCK配置信息。其中,对于位于网络侧的BUCK配置信息而言,其可以是终端设备中的SOC通过自学习生成并上传至网络侧的;也可以是通过人工检测调试后获取并上传至网络侧的。In some possible implementation manners, obtaining the BUCK configuration information adapted to the first application program may be: downloading the BUCK configuration information adapted to the first application program from the network side. For example, it may be downloading BUCK configuration information adapted to the first application from a cloud database; for another example, it may be downloading BUCK configuration information adapted to the first application from a large network database. Among them, for the BUCK configuration information located on the network side, it can be generated by the SOC in the terminal device through self-learning and uploaded to the network side; it can also be obtained through manual detection and debugging and uploaded to the network side.
在一些可能实现的方式中,获取与第一应用程序适配的BUCK配置信息可以是:从本地存储的BUCK配置库读取BUCK配置信息。其中,对于本地存储的BUCK配置库中的BUCK配置信息而言,其可以是从网络侧下载的,也可以是SOC通过自学习生成的(SOC的具体学习过程可以参考后续实施例提供的相关内容)。In some possible implementation manners, obtaining the BUCK configuration information adapted to the first application program may be: reading the BUCK configuration information from a locally stored BUCK configuration library. Among them, for the BUCK configuration information in the BUCK configuration library stored locally, it can be downloaded from the network side, or generated by the SOC through self-learning (the specific learning process of the SOC can refer to the relevant content provided in the subsequent embodiments. ).
步骤12、根据上述BUCK配置信息配置供电模块和开关模块的第一参数集合。 Step 12. Configure the first parameter set of the power supply module and the switch module according to the above-mentioned BUCK configuration information.
上述第一参数集合用于控制供电模块和开关模块将一个或者多个供电输出端的电流输出至SOC。The above-mentioned first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
示意的,SOC根据获取到的与第一应用程序适配的BUCK配置信息,配置供电模块和开关模块的第一参数集合,供电模块和开关模块在第一参数集合的控制下,将一个或者多个供电输出端的电流输出至SOC,从而满足SOC中与第一应用程序适配的负载模块的 正常供电,进而保证第一应用程序的正常运行。Illustratively, the SOC configures the first parameter set of the power supply module and the switch module according to the acquired BUCK configuration information adapted to the first application program, and the power supply module and the switch module combine one or more parameters under the control of the first parameter set. The current of each power supply output terminal is output to the SOC, so as to meet the normal power supply of the load module in the SOC that is adapted to the first application program, thereby ensuring the normal operation of the first application program.
以前述的手机观看视频为例,SOC根据获取到的BUCK配置信息,配置供电模块和开关模块的控制参数(即第一参数集合),以控制SOC中的CPU小核、GPU分别与一个或者多个供电输出端之间通道导通,供电模块通过导通的通道向CPU小核、GPU进行供电。示例的,CPU小核与供电输出端X1之间的通道导通,CPU小核与供电输出端X2之间的通道导通,此时供电模块通过供电输出端X1和供电输出端X2分别向CPU小核、GPU输出电流进行供电。Taking the aforementioned mobile phone watching video as an example, the SOC configures the control parameters of the power supply module and the switch module (that is, the first parameter set) according to the acquired BUCK configuration information, so as to control the CPU cores and GPUs in the SOC with one or more The channels between the two power supply output terminals are turned on, and the power supply module supplies power to the small CPU cores and the GPU through the turned on channels. For example, the channel between the CPU core and the power supply output terminal X1 is turned on, and the channel between the CPU core and the power supply output terminal X2 is turned on. At this time, the power supply module sends to the CPU through the power supply output terminal X1 and the power supply output terminal X2 respectively. The small core and GPU output current for power supply.
此外,对于上述用于控制供电模块和开关模块将一个或者多个供电输出端的电流输出至SOC的第一参数集合而言:In addition, regarding the above-mentioned first parameter set used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC:
在供电系统中的各供电输出端对应的BUCK电路中的电感的感值不完全相同的情况下,在一些可能实现的方式中,上述第一参数集合可以具体用于控制供电模块和开关模块将具有较小感值电感的BUCK电路对应的供电输出端与SOC中的重载模块连通,将具有较大感值电感的BUCK电路对应的供电输出端与SOC中的轻载模块连通,以保证与重载模块、轻载模块连通的BUCK电路均具有较高的输出效率,进而提高电源效率。In the case where the inductance values of the inductances in the BUCK circuit corresponding to each power supply output terminal in the power supply system are not completely the same, in some possible implementation manners, the above-mentioned first parameter set can be specifically used to control the power supply module and the switch module. The power supply output terminal corresponding to the BUCK circuit with smaller inductance is connected to the heavy load module in the SOC, and the power supply output terminal corresponding to the BUCK circuit with larger inductance is connected to the light load module in the SOC to ensure that it is connected to the light load module in the SOC. The BUCK circuit connected to the heavy-duty module and the light-duty module has a higher output efficiency, thereby improving the power efficiency.
也就是说,在SOC中与第一应用程序适配的所有负载模块中,如果第二负载模块的负载大于第三负载模块的负载,并且与第一供电输出端(可以是一个,也可以是多个)对应的BUCK电路中的电感的感值小于第二供电输出端(可以是一个,也可以是多个)对应的BUCK电路中的电感的感值的情况下,可以通过第一参数集合控制供电模块和开关模块将至少一个第一供电输出端的输出电流输出至SOC中的第二负载模块,将至少一个第二供电输出端的输出电流输出至SOC中的第三负载模块。That is to say, among all load modules in the SOC that are adapted to the first application, if the load of the second load module is greater than the load of the third load module, and it is connected to the first power supply output terminal (it can be one or the same) When the inductance value of the inductance in the corresponding BUCK circuit is smaller than the inductance value of the inductance in the second power supply output terminal (either one or more) corresponding to the BUCK circuit, the first parameter set can be used The control power supply module and the switch module output the output current of the at least one first power supply output terminal to the second load module in the SOC, and output the output current of the at least one second power supply output terminal to the third load module in the SOC.
示意的,以图5中示出的供电模块10包括多相控制器100以及4相BUCK电路101、102、103、104为例,可以设置4相BUCK电路101、102、103、104中的电感的感值分别为L1、L2、L3、L4,并且L1、L2、L3、L4不完全相同;例如,可以是L1=L2>L3=L4、L1>L2=L3=L4、L1>L2>L3=L4、L1>L2>L3>L4等等。Illustratively, taking the power supply module 10 shown in FIG. 5 including a multi-phase controller 100 and 4- phase BUCK circuits 101, 102, 103, and 104 as an example, the inductors in the 4- phase BUCK circuits 101, 102, 103, and 104 can be set The sense values of are respectively L1, L2, L3, L4, and L1, L2, L3, L4 are not completely the same; for example, it can be L1=L2>L3=L4, L1>L2=L3=L4, L1>L2>L3 =L4, L1>L2>L3>L4 and so on.
以L1>L2>L3>L4为例,在通过该4相BUCK电路101-104向SOC中的CPU_B、CPU_L供电时,当CPU_B工作在轻载模式,CPU_L工作在重载模式时,可以配置供电模块10和开关模块20的第一参数集合,控制BUCK电路101向CPU_B进行供电,BUCK电路104向CPU_L进行供电;当CPU_B工作在重载模式,CPU_L工作在轻载模式时,可以配置供电模块10和开关模块20的第一参数集合,控制BUCK电路103、104向CPU_B进行供电,BUCK电路101向CPU_L进行供电。Taking L1>L2>L3>L4 as an example, when power is supplied to CPU_B and CPU_L in the SOC through the 4-phase BUCK circuit 101-104, when CPU_B is working in light load mode and CPU_L is working in heavy load mode, the power supply can be configured The first parameter set of module 10 and switch module 20 controls BUCK circuit 101 to supply power to CPU_B, and BUCK circuit 104 to supply power to CPU_L; when CPU_B works in heavy load mode and CPU_L works in light load mode, power supply module 10 can be configured And the first parameter set of the switch module 20 to control the BUCK circuits 103 and 104 to supply power to the CPU_B, and the BUCK circuit 101 to supply power to the CPU_L.
综上所述,采用本申请的供电方法,在终端设备上开启第一应用程序时,能够通过对第一应用程序的识别,进而获取与该第一应用程序适配的BUCK配置信息,并根据该BUCK配置信息配置供电模块和开关模块的参数(即上述第一参数集合),选择性控制将供电模块的一个或者多个供电输出端(也即供电单元)的电流输出至SOC,从而在满足SOC中与第一应用程序适配的负载模块的正常供电,保证第一应用程序的正常运行的同时,减少了供电单元的个数,提高了电源效率。In summary, using the power supply method of the present application, when the first application is opened on the terminal device, the first application can be identified to obtain the BUCK configuration information adapted to the first application, and according to The BUCK configuration information configures the parameters of the power supply module and the switch module (that is, the above-mentioned first parameter set), and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to satisfy The normal power supply of the load module in the SOC adapted to the first application program ensures the normal operation of the first application program, reduces the number of power supply units, and improves the power supply efficiency.
考虑到第一应用程序在运行过程中,可能因为用户加载不同的功能,使得SOC中与第一应用程序适配的负载模块的负载加重,进而导致供电不足的问题。为了解决该技术问题,在一些实施例中,如图7所示,本申请的供电方法在上述步骤S12之后还包括:Considering that during the running process of the first application program, the user may load different functions, which may increase the load of the load module in the SOC that is adapted to the first application program, thereby causing the problem of insufficient power supply. In order to solve this technical problem, in some embodiments, as shown in FIG. 7, the power supply method of the present application further includes after the above step S12:
步骤13、在第一应用程序运行过程中,检测与第一负载模块连通的供电输出端的输出电流大于第一阈值。 Step 13. During the running of the first application program, detect that the output current of the power supply output terminal connected to the first load module is greater than the first threshold.
其中,上述第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个。Wherein, the above-mentioned first load module is any one of at least one load module in the SOC that is adapted to the first application program.
示意的,在第一应用程序的运行过程,可以通过供电模块(例如PMU)或开关模块对与第一应用程序适配的负载模块连接的供电输出端(也可以说是供电输出端所在的通路)的输出电流进行监测并反馈至SOC;通过SOC检测与第一应用程序适配的任一负载模块(即上述第一负载模块)连接的供电输出端的输出电流是否大于第一阈值。Illustratively, during the running process of the first application program, the power supply output terminal (which can also be said to be the path where the power supply output terminal is located) connected to the load module adapted to the first application program can be performed through a power supply module (such as a PMU) or a switch module. The output current of) is monitored and fed back to the SOC; the SOC detects whether the output current of the power supply output terminal connected to any load module adapted to the first application program (ie, the aforementioned first load module) is greater than the first threshold.
例如,以供电输出端的最大输出电流为4A为例,可以设置第一阈值为3.5A。PMU监测到与第一应用程序适配的任一负载模块(即上述第一负载模块)连接的供电输出端的输出电流为3.6A,并将该3.6A反馈至SOC,通过SOC来判断3.6A与第一阈值3.5A之间的大小。For example, taking the maximum output current of the power supply output end of 4A as an example, the first threshold value can be set to 3.5A. The PMU detects that the output current of the power supply output terminal connected to any load module (that is, the first load module) that is adapted to the first application program is 3.6A, and feeds back the 3.6A to the SOC, and judges the 3.6A and 3.6A through the SOC. The first threshold is between 3.5A.
在步骤13中检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,则执行步骤14:配置供电模块和开关模块的第二参数集合,以控制与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值。When it is detected in step 13 that the output current of the power supply output terminal connected to the first load module is greater than the first threshold, step 14 is executed: configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application program The output currents of the power supply output terminals connected to all load modules are not greater than the first threshold.
上述第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通。The above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module.
示意的,当SOC检测到与第一负载模块(即第一应用程序适配的任一负载模块)连接的第一供电输出端的输出电流大于第一阈值时,则配置供电模块和开关模块的参数(即上述第二参数集合),控制添加一个无输出电流的供电输出端与该第一负载模块连通,以降低第一供电输出端的输出电流,通过对与第一应用程序适配的每一负载模块连通的供电输出的输出电流的检测及控制,进而使得与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值。Illustratively, when the SOC detects that the output current of the first power supply output terminal connected to the first load module (that is, any load module adapted by the first application) is greater than the first threshold, the parameters of the power supply module and the switch module are configured (I.e. the second parameter set mentioned above), control to add a power supply output terminal without output current to connect with the first load module to reduce the output current of the first power supply output terminal, by controlling each load adapted to the first application The detection and control of the output current of the power supply output connected by the module, thereby making the output current of the power supply output terminals connected to all load modules adapted to the first application program not greater than the first threshold.
此处需要说明的是,上述添加一个无输出电流的供电输出端与第一负载模块连通的过程,可能是一次添加过程,也可能是多次添加过程,只要保证在添加无输出电流的供电输出端与第一负载模块连通后,与该第一负载模块连通的各供电输出端的电流均不大于第一阈值即可。It should be noted here that the above process of adding a power supply output terminal with no output current to the first load module may be a one-time addition process, or it may be a multiple addition process, as long as it is ensured that the power supply output without output current is added. After the terminal is connected with the first load module, the current of each power supply output terminal connected with the first load module is not greater than the first threshold.
例如,SOC在接收到与第一负载模块连接的第一供电输出端的输出电流为3.6A大于第一阈值3.5A时,则配置供电模块和开关模块的参数(即上述第二参数集合),添加一个无输出电流的第二供电输出端与第一负载模块连通,此时由于第二供电输出端分担了第一供电输出端的部分负载,从而使得第一供电输出端的输出电流下降,此时与第一负载模块连通的第一供电输出端和第二供电输出端的输出电流均不大于第一阈值3.5A。For example, when the SOC receives that the output current of the first power supply output terminal connected to the first load module is 3.6A greater than the first threshold 3.5A, it configures the parameters of the power supply module and the switch module (that is, the above-mentioned second parameter set), and adds A second power supply output terminal with no output current is connected to the first load module. At this time, the second power supply output terminal shares part of the load of the first power supply output terminal, so that the output current of the first power supply output terminal decreases. The output current of the first power supply output terminal and the second power supply output terminal connected by a load module is not greater than the first threshold 3.5A.
又例如,SOC检测到与第一负载模块连接的第一供电输出端的输出电流为4A(也即此时第一供电输出端以最大的输出电流在供电)大于第一阈值3.5A时,则配置供电模块和开关模块的参数(即上述第二参数集合),添加一个无输出电流的第二供电输出端与第一负载模块连通,此时由于第二供电输出端分担了第一供电输出端的部分负载,从而使得第一供电输出端的输出电流下降,但是此时检测到第一供电输出端的输出电流为3.6A,也即该输出电流仍然大于第一阈值3.5A。在此情况下,继续配置供电模块和开关模块的参数(即上述第二参数集合),再添加一个无输出电流的第三供电输出端与第一负载模块连通, 从而使得第一供电输出端的输出电流下降,以使得与第一负载模块连通的第一供电输出端、第二供电输出端、第三供电输出端的输出电流均不大于第一阈值3.5A。For another example, when the SOC detects that the output current of the first power supply output terminal connected to the first load module is 4A (that is, the first power supply output terminal is supplying power with the maximum output current) is greater than the first threshold 3.5A, then the configuration For the parameters of the power supply module and the switch module (that is, the above-mentioned second parameter set), a second power supply output terminal without output current is added to connect with the first load module. At this time, the second power supply output terminal shares the part of the first power supply output terminal Load, so that the output current of the first power supply output terminal decreases, but at this time, it is detected that the output current of the first power supply output terminal is 3.6A, that is, the output current is still greater than the first threshold 3.5A. In this case, continue to configure the parameters of the power supply module and the switch module (that is, the above-mentioned second parameter set), and add a third power supply output terminal with no output current to communicate with the first load module, so that the output of the first power supply output terminal The current is reduced, so that the output current of the first power supply output terminal, the second power supply output terminal, and the third power supply output terminal connected with the first load module are not greater than the first threshold value 3.5A.
在通过步骤14控制将与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值后,则执行步骤15:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。After controlling through step 14 that the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the first threshold, then step 15 is performed: generating the BUCK configuration according to the current parameter set of the power supply module and the switch module information.
对于上述步骤15中根据供电模块和开关模块的当前参数集合生成BUCK配置信息而言,可以理解的是,供电模块和开关模块的当前参数集合能够控制SOC中与第一应用程序适配的每一负载模块分别与一个或者多个供电输出端连通,以满足每一负载模块的正常用电需求。Regarding the generation of BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 15 above, it can be understood that the current parameter set of the power supply module and the switch module can control each SOC that is adapted to the first application. The load modules are respectively connected with one or more power supply output terminals to meet the normal power demand of each load module.
例如,参考图5,以与第一应用程序适配的两个负载模块分别为CPU_B和CPU_L为例,供电模块和开关模块在当前参数集合的控制下,能够将供电输出端X1、X3与CPU_B连通,将供电输出端X2与控制CPU_L连通,以满足CPU_B和CPU_L的用电需求。For example, referring to Figure 5, taking the two load modules that are adapted to the first application program are CPU_B and CPU_L as an example, the power supply module and the switch module can connect the power supply output terminals X1, X3 and CPU_B under the control of the current parameter set. Connected, connect the power supply output terminal X2 with the control CPU_L to meet the power demand of CPU_B and CPU_L.
另外,在一些可能实现的方式中,在步骤15中根据供电模块和开关模块的当前参数集合生成BUCK配置信息之后,可以将该BUCK配置信息存入至本地的BUCK配置库中,当本终端设备在后续使用第一应用程序时,能够直接从本地的BUCK配置库中获取该BUCK配置信息。In addition, in some possible implementation manners, after generating the BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 15, the BUCK configuration information can be stored in the local BUCK configuration library. When the first application is subsequently used, the BUCK configuration information can be directly obtained from the local BUCK configuration library.
在一些可能实现的方式中,在步骤15中根据供电模块和开关模块的当前参数集合生成BUCK配置信息之后,可以将该BUCK配置信息上传至网络测(例如网络大数据库),以供用户(可以是本用户,也可以是其他用户)通过网络侧下载获取该BUCK配置信息。In some possible implementation manners, after generating the BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 15, the BUCK configuration information can be uploaded to the network test (such as a large network database) for the user (can This user can also be other users) download the BUCK configuration information through the network side.
另外,在上述步骤13中检测到与第一负载模块连通的供电输出端的输出电流均不大于第一阈值的情况下,整个供电系统保持现有的状态,供电模块和开关模块按照步骤12中当前配置的第一参数集合对SOC进行持续供电即可(也即保持步骤12)。In addition, when it is detected in step 13 that the output current of the power supply output terminal connected with the first load module is not greater than the first threshold, the entire power supply system maintains the existing state, and the power supply module and the switch module follow the current state in step 12. The configured first parameter set only needs to continuously supply power to the SOC (that is, keep step 12).
以下提供一种SOC通过自学习生成与第一应用程序适配的BUCK配置信息的实现方式,参考图8所示,本申请的供电方法在上述步骤S11之前还包括:The following provides an implementation manner in which the SOC generates BUCK configuration information adapted to the first application program through self-learning. As shown in FIG. 8, the power supply method of the present application further includes before the above step S11:
步骤21、判断终端设备上当前开启的第一应用程序是否为第一次开启。Step 21: Determine whether the first application currently opened on the terminal device is opened for the first time.
示意的,当用户在使用终端设备上的第一应用程序时,SOC识别终端设备上当前开启的第一应用程序,并判断该第一应用程序是否为第一次开启。Illustratively, when the user is using the first application program on the terminal device, the SOC identifies the first application program currently opened on the terminal device and determines whether the first application program is opened for the first time.
步骤22、若第一应用程序为第一次开启,则配置供电模块和开关模块的初始参数集合。Step 22: If the first application is started for the first time, configure the initial parameter set of the power supply module and the switch module.
上述初始参数集合用于控制SOC中的每一个负载模块分别和多个供电输出端的其中之一连通。The aforementioned initial parameter set is used to control each load module in the SOC to communicate with one of the multiple power supply output terminals.
此处可以理解的是,在通过初始参数集合控制每一个负载模块分别和多个供电输出端的其中之一连通的情况下,供电系统中供电输出端的数量必然大于或等于SOC中负载模块的数量。It can be understood here that when each load module is controlled to communicate with one of the multiple power supply output terminals through the initial parameter set, the number of power supply output terminals in the power supply system must be greater than or equal to the number of load modules in the SOC.
示意的,在步骤22中,SOC判断当前开启的第一应用程序为第一次开启时,配置供电模块和开关模块的初始参数集合,供电模块和开关模块在初始参数集合的控制下,将SOC中的每一个负载模块分别与一个供电输出端连通,当然,不同的负载模块连接不同的供电输出端。Illustratively, in step 22, when the SOC judges that the currently opened first application program is opened for the first time, it configures the initial parameter set of the power supply module and the switch module, and the power supply module and the switch module set the SOC under the control of the initial parameter set. Each load module in the load module is respectively connected to a power supply output terminal. Of course, different load modules are connected to different power supply output terminals.
例如,参考图4,以SOC中包括CPU_B、CPU_L、GPU、NPU四个负载模块为例(开 关模块20的输出端Y1、Y2、Y3、Y4分别与该四个负载模块连接),通过配置供电模块10和开关模块20的初始参数集合,可以控制CPU_B与供电输出端X1连通,CPU_L与供电输出端X2连通、GPU与供电输出端X3、NPU与供电输出端X4连接。For example, referring to Figure 4, take the four load modules of CPU_B, CPU_L, GPU, and NPU in the SOC as an example (the output terminals Y1, Y2, Y3, and Y4 of the switch module 20 are respectively connected to the four load modules), and power is supplied through configuration The initial parameter set of module 10 and switch module 20 can control CPU_B to connect with power supply output terminal X1, CPU_L to connect with power supply output terminal X2, GPU to connect with power supply output terminal X3, and NPU to connect with power supply output terminal X4.
步骤23、检测与每一个负载模块连通的供电输出端的输出电流是否大于第二阈值。Step 23: Detect whether the output current of the power supply output terminal connected to each load module is greater than the second threshold.
示意的,可以通过供电模块(例如PMU)或开关模块对与SOC中的每一负载模块连接的供电输出端(也可以说是供电输出端所在的通路)的输出电流进行监测并反馈至SOC,通过SOC检测与每一负载模块连接的供电输出端的输出电流是否大于第二阈值。Illustratively, the output current of the power supply output terminal (or the path where the power supply output terminal is located) connected to each load module in the SOC can be monitored and fed back to the SOC through a power supply module (such as a PMU) or a switch module. It is detected by the SOC whether the output current of the power supply output terminal connected to each load module is greater than the second threshold.
例如,参考图4,PMU监测到与CPU_B连通的供电输出端X1的输出电流为4A,与CPU_L连通的供电输出端X2的输出电流为3A,与GPU连通的供电输出端X3以及与NPU连通的供电输出端X4均无输出电流,并将监测结果反馈至SOC,通过SOC检测反馈的输出电流是否大于第二阈值。For example, referring to Figure 4, the PMU monitors that the output current of the power supply output terminal X1 connected to CPU_B is 4A, the output current of the power supply output terminal X2 connected to CPU_L is 3A, the power supply output terminal X3 connected to the GPU and the power supply output terminal X3 connected to the NPU There is no output current at the power supply output terminal X4, and the monitoring result is fed back to the SOC, and the SOC detects whether the output current fed back is greater than the second threshold.
需要说明的是,上述第二阈值与前述的第一阈值可以相同,也可以不相同,本申请对此不作具体限定,实际中可以根据需要选择设置。以下示例的以第二阈值与前述的第一阈值相同,均为3.5A为例进行说明。It should be noted that the foregoing second threshold may be the same as or different from the foregoing first threshold, which is not specifically limited in this application, and can be selected and set according to actual needs. In the following example, the second threshold is the same as the aforementioned first threshold, both of which are 3.5A.
此处可以理解的是,与有输出电流的供电输出端连接的负载模块,即为终端设备上当前开启的第一应用程序适配的负载模块;或者说,与第一应用程序适配的负载模块连通的供电输出端具有输出电流。例如,上述与输出电流为4A的供电输出端X1连通的CPU_B以及与输出电流为3.5A与供电输出端X2连通的CPU_L为终端设备上当前开启的第一应用程序适配的负载模块。It can be understood here that the load module connected to the power supply output terminal with output current is the load module adapted to the first application program currently opened on the terminal device; in other words, the load adapted to the first application program The power supply output terminal connected to the module has output current. For example, the aforementioned CPU_B connected to the power supply output terminal X1 with an output current of 4A and CPU_L connected to the power supply output terminal X2 with an output current of 3.5A are load modules adapted to the first application currently opened on the terminal device.
另外,对于与无输出电流的供电输出端连接的负载模块而言,也即该负载模块并不是第一应用程度适配的负载模块;在此情况下,可以配置该无输出电流的供电输出端与负载模块之间断开,以在其他负载模块需要使用(例如供电不足)时,将该无输出电流的供电输出端配置给其他负载模块;当然,也可以保持无输出电流的供电输出端与负载模块之间连接,在其他负载模块需要使用(例如供电不足)时,直接将该无输出电流的供电输出端配置给其他负载模块。In addition, for the load module connected to the power supply output terminal with no output current, that is, the load module is not a load module adapted to the first application level; in this case, the power supply output terminal with no output current can be configured Disconnect from the load module to configure the power output terminal without output current to other load modules when other load modules need to be used (such as insufficient power supply); of course, the power output terminal and load without output current can also be maintained When connecting between modules, when other load modules need to be used (for example, the power supply is insufficient), directly configure the power supply output terminal with no output current to other load modules.
在步骤23中检测到与第一负载模块(SOC中与第一应用程序适配的至少一个负载模块中的任意一个)连通的供电输出端的输出电流大于第二阈值时,则执行步骤24:配置供电模块和开关模块的第二参数集合,以控制与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值。When it is detected in step 23 that the output current of the power supply output terminal connected to the first load module (any one of the at least one load module adapted to the first application in the SOC) is greater than the second threshold, step 24: Configure The second parameter set of the power supply module and the switch module is used to control that the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold.
上述第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通。其中,第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个。The above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module. Wherein, the first load module is any one of at least one load module in the SOC that is adapted to the first application program.
示意的,当SOC检测到与第一应用程序适配的任一负载模块(即上述第一负载模块)连接的第一供电输出端的输出电流大于第二阈值时,则配置供电模块和开关模块的参数(即上述第二参数集合),控制添加一个无输出电流的供电输出端与该第一负载模块连通,以降低第一供电输出端的输出电流,通过对与第一应用程序适配的每一负载模块连接的供电输出端的输出电流检测及控制,使得与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值。Illustratively, when the SOC detects that the output current of the first power supply output terminal connected to any load module (ie, the aforementioned first load module) adapted to the first application program is greater than the second threshold, the power supply module and the switch module are configured Parameter (that is, the above-mentioned second parameter set), control to add a power supply output terminal without output current to connect with the first load module to reduce the output current of the first power supply output terminal. The output current of the power supply output terminal connected to the load module is detected and controlled so that the output current of the power supply output terminal connected to all load modules adapted to the first application program is not greater than the second threshold.
上述步骤24的过程与前述步骤13的过程基本一致,相关内容可以参考前述步骤13 中对应的部分,此处不再赘述。The process of the above step 24 is basically the same as the process of the foregoing step 13. For related content, please refer to the corresponding part in the foregoing step 13, which will not be repeated here.
在通过步骤24控制将与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值后,则执行步骤25:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。After the output current of the power supply output terminals connected to all load modules that are adapted to the first application program are controlled in step 24 to be not greater than the second threshold, step 25: generate a BUCK configuration based on the current parameter set of the power supply module and the switch module information.
另外,在步骤23中检测到每一个负载模块连通的供电输出端均不大于第一阈值的情况下(也即与第一负载模块连通的供电输出端的输出电流均不大于第一阈值时),则直接执行步骤25:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。In addition, when it is detected in step 23 that the power supply output terminal connected to each load module is not greater than the first threshold (that is, when the output current of the power supply output terminal connected to the first load module is not greater than the first threshold), Then proceed directly to step 25: generate BUCK configuration information according to the current parameter set of the power supply module and the switch module.
在一些可能实现的方式中,在步骤25中根据供电模块和开关模块的当前参数集合生成BUCK配置信息之后,可以将该BUCK配置信息存入至本地的BUCK配置库中;这样一来,当本终端设备在后续使用第一应用程序时,能够直接从本地的BUCK配置库中获取该BUCK配置信息,从而能够快速、及时配置供电模块和开关模块切换供电通道,进而有效的保证电源效率以及供电系统的供电能力。In some possible implementations, after the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module in step 25, the BUCK configuration information can be stored in the local BUCK configuration library; When the terminal device subsequently uses the first application program, it can directly obtain the BUCK configuration information from the local BUCK configuration library, so that it can quickly and timely configure the power supply module and switch module to switch the power supply channel, thereby effectively ensuring the efficiency of power supply and the power supply system Power supply capacity.
在一些可能实现的方式中,在步骤25中根据供电模块和开关模块的当前参数集合生成BUCK配置信息之后,可以将该BUCK配置信息上传至网络测(例如网络大数据库),以供其他用户通过网络侧下载直接获取该BUCK配置信息,从而达到资源共享的目的。In some possible implementation methods, after generating the BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 25, the BUCK configuration information can be uploaded to the network test (such as a large network database) for other users to pass. The network side downloads directly to obtain the BUCK configuration information, so as to achieve the purpose of resource sharing.
上述步骤25的其他相关内容可以参考前述步骤15中对应的部分,此处不再赘述。For other related content of the above step 25, please refer to the corresponding part in the above step 15, which will not be repeated here.
示意的,以下结合图5中示出的供电系统并参考图9,通过具体实施例,对本申请中的供电方法做进一步的说明。Schematically, the power supply method in the present application will be further described through specific embodiments in conjunction with the power supply system shown in FIG. 5 and with reference to FIG. 9 below.
步骤31、点击第一应用程序。 Step 31. Click the first application.
示意的,用户点击终端设备上的第一应用程序,打开第一应用程序。Illustratively, the user clicks on the first application on the terminal device to open the first application.
步骤32、识别第一应用程序。Step 32: Identify the first application program.
示意的,SOC识别终端设备上当前开启的第一应用程序。Illustratively, the SOC identifies the first application currently opened on the terminal device.
步骤33、判断第一应用程序是否为第一次打开。Step 33: Determine whether the first application is opened for the first time.
示意的,SOC判断终端设备上当前开启的第一应用程序是否为第一次打开。Illustratively, the SOC determines whether the first application currently opened on the terminal device is opened for the first time.
在上述步骤33中SOC判断第一应用程序为第一次打开的情况下,则执行步骤34:配置供电模块和开关模块的初始参数集合。In the case where the SOC determines that the first application is opened for the first time in step 33, step 34 is performed: configuring the initial parameter set of the power supply module and the switch module.
上述初始参数集合用于控制SOC中的每一个负载模块分别和多个供电输出端的其中之一连通。该步骤34的其他相关内容可以参数前述步骤22,此次不再赘述。The aforementioned initial parameter set is used to control each load module in the SOC to communicate with one of the multiple power supply output terminals. Other related content of this step 34 can be a parameter of the aforementioned step 22, which will not be repeated this time.
在步骤34的基础上执行步骤35:检测与每一个负载模块连通的供电输出端的输出电流是否大于第二阈值。 Step 35 is performed on the basis of step 34: it is detected whether the output current of the power supply output terminal connected with each load module is greater than the second threshold.
示意的,通过PMU监测与SOC中的每一个负载模块连通的供电输出端的输出电流,并反馈至SOC,通过SOC检测反馈的输出电流是否大于第二阈值。该步骤35的其他相关内容可以参数前述步骤23,此次不再赘述。Illustratively, the output current of the power supply output terminal connected to each load module in the SOC is monitored by the PMU, and fed back to the SOC, and whether the feedback output current is greater than the second threshold is detected by the SOC. Other related content of this step 35 can be a parameter of the aforementioned step 23, which will not be repeated this time.
在步骤35中检测到与第一负载模块连通的供电输出端的输出电流大于第二阈值时,则执行步骤36:配置供电模块和开关模块的第二参数集合,以控制与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值。When it is detected in step 35 that the output current of the power supply output terminal connected to the first load module is greater than the second threshold, step 36: configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application The output currents of the power supply output terminals connected to all load modules of the load modules are not greater than the second threshold.
上述第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通。第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个。该步骤36的其他相关内容可以参数前述步骤24,此次不再赘述。The above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module. The first load module is any one of at least one load module in the SOC that is adapted to the first application program. Other related content of this step 36 can be a parameter of the aforementioned step 24, which will not be repeated this time.
在通过步骤36控制将与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值后,则执行步骤37:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。After controlling through step 36 that the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold, then step 37: generate a BUCK configuration based on the current parameter set of the power supply module and the switch module information.
在步骤35中检测到每一个负载模块连通的供电输出端均不大于第一阈值时(也即与第一负载模块连通的供电输出端的输出电流均不大于第一阈值时),则直接执行步骤37:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。When it is detected in step 35 that the power supply output terminal connected to each load module is not greater than the first threshold (that is, when the output current of the power supply output terminal connected to the first load module is not greater than the first threshold), then the step is directly executed 37: Generate BUCK configuration information according to the current parameter set of the power supply module and the switch module.
示意的,在步骤37中根据供电模块和开关模块的当前参数集合生成BUCK配置信息后,可以将该BUCK配置信息存储至本地的BUCK配置库中。上述步骤37的其他相关内容可以参数前述步骤15,此次不再赘述。Illustratively, after generating the BUCK configuration information according to the current parameter set of the power supply module and the switch module in step 37, the BUCK configuration information can be stored in the local BUCK configuration library. Other related content of the foregoing step 37 can be a parameter of the foregoing step 15, and will not be repeated this time.
另外,在上述步骤33中判断第一应用程序不是第一次打开的情况下(也即第一应用程序在本次打开前曾打开过),则执行步骤38:获取与第一应用程序适配的BUCK配置信息。In addition, if it is determined in the above step 33 that the first application is not opened for the first time (that is, the first application has been opened before this time), then step 38 is performed: obtaining an adaptation to the first application BUCK configuration information.
示意的,在SOC判断第一应用程序不是第一次打开的情况下,从BUCK配置库中获取与第一应用程序适配的BUCK配置信息。其中,BUCK配置库中的BUCK配置信息可以是在第一应用程序第一打开时,通过上述步骤31-37生成的BUCK配置信息。Illustratively, when the SOC determines that the first application is not opened for the first time, it obtains the BUCK configuration information adapted to the first application from the BUCK configuration library. Wherein, the BUCK configuration information in the BUCK configuration library may be the BUCK configuration information generated through the above steps 31-37 when the first application is first opened.
步骤39、根据BUCK配置信息配置供电模块和开关模块的第一参数集合。Step 39: Configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information.
第一参数集合用于控制供电模块和开关模块将一个或者多个供电输出端的电流输出至SOC。该步骤39的其他相关内容可以参数前述步骤12,此次不再赘述。The first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC. Other related content of this step 39 can be a parameter of the aforementioned step 12, which will not be repeated this time.
步骤40、在第一应用程序运行过程中,检测与第一负载模块连通的供电输出端的输出电流是否大于第一阈值。Step 40: During the operation of the first application program, detect whether the output current of the power supply output terminal connected to the first load module is greater than a first threshold.
上述第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个。该步骤40的其他相关内容可以参数前述步骤13,此次不再赘述。The above-mentioned first load module is any one of at least one load module in the SOC that is adapted to the first application program. Other related content of this step 40 can be a parameter of the aforementioned step 13, which will not be repeated this time.
在步骤40中检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,则执行步骤41:配置供电模块和开关模块的第二参数集合,以控制与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值。When it is detected in step 40 that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, step 41: configure the second parameter set of the power supply module and the switch module to control the adaptation to the first application The output currents of the power supply output terminals connected to all load modules are not greater than the first threshold.
上述第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通。该步骤41的其他相关内容可以参数前述步骤14,此次不再赘述。The above-mentioned second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module. Other related content of this step 41 can be a parameter of the aforementioned step 14, which will not be repeated this time.
在通过步骤41控制将与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值时,则执行步骤42:根据供电模块和开关模块的当前参数集合生成BUCK配置信息。When it is controlled through step 41 that the output current of the power supply output terminal connected with all load modules adapted to the first application program is not greater than the first threshold, then step 42 is performed: generating the BUCK configuration according to the current parameter set of the power supply module and the switch module information.
在一些可以实现的方式中,在通过上述步骤42根据供电模块和开关模块的当前参数集合生成BUCK配置信息后,可以将新生成的BUCK配置信息作为新的BUCK配置信息存入BUCK配置库中。In some achievable manners, after the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module through the above step 42, the newly generated BUCK configuration information can be stored in the BUCK configuration library as the new BUCK configuration information.
另外,在上述步骤40中检测到与第一负载模块连通的供电输出端的输出电流均不大于第一阈值的情况下,整个供电系统保持现有的状态,供电模块和开关模块按照步骤39中当前配置的第一参数集合对SOC进行持续供电即可。In addition, when it is detected in step 40 that the output current of the power supply output terminal connected with the first load module is not greater than the first threshold, the entire power supply system maintains the existing state, and the power supply module and the switch module follow the current state in step 39 The configured first parameter set only needs to continuously supply power to the SOC.
另外,本申请实施例还提供一种供电装置,如图10所示,该供电装置包括:获取模块201和配置模块202。In addition, an embodiment of the present application also provides a power supply device. As shown in FIG. 10, the power supply device includes: an acquisition module 201 and a configuration module 202.
获取模块201用于识别终端设备上当前开启的第一应用程序,并获取与第一应用程序 适配的BUCK配置信息。The obtaining module 201 is used to identify the first application currently opened on the terminal device, and obtain BUCK configuration information adapted to the first application.
配置模块202用于根据BUCK配置信息配置供电模块和开关模块的第一参数集合,第一参数集合用于控制供电模块和开关模块将一个或者多个供电输出端的电流输出至SOC。The configuration module 202 is configured to configure a first parameter set of the power supply module and the switch module according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to output the current of one or more power supply output terminals to the SOC.
采用本申请的供电装置,在终端设备上开启第一应用程序时,通过该供电装置能够对第一应用程序的识别,进而获取与该第一应用程序适配的BUCK配置信息,并根据该BUCK配置信息配置供电模块和开关模块的参数,选择性控制将供电模块的一个或者多个供电输出端(也即供电单元)的电流输出至SOC,从而在满足SOC中与第一应用程序适配的负载模块的正常供电,保证第一应用程序的正常运行的同时,减少了供电单元的个数,进而提高了电源效率。Using the power supply device of the present application, when the first application program is opened on the terminal device, the power supply device can identify the first application program, and then obtain the BUCK configuration information that is adapted to the first application program, and according to the BUCK The configuration information configures the parameters of the power supply module and the switch module, and selectively controls the output of the current of one or more power supply output terminals (that is, the power supply unit) of the power supply module to the SOC, so as to meet the requirements of the first application in meeting the SOC. The normal power supply of the load module ensures the normal operation of the first application program, while reducing the number of power supply units, thereby improving power supply efficiency.
在一些可能实现的方式中,上述获取模块201,具体用于从网络侧下载BUCK配置信息;或者,从本地存储的BUCK配置库读取BUCK配置信息。In some possible implementation manners, the above-mentioned obtaining module 201 is specifically used to download BUCK configuration information from the network side; or, to read BUCK configuration information from a locally stored BUCK configuration library.
在一些可能实现的方式中,上述配置模块202,还用于在根据BUCK配置信息配置供电模块和开关模块的第一参数集合之后,在第一应用程序运行过程中,当检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,配置供电模块和开关模块的第二参数集合,第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通;其中,第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个;当与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第一阈值时,根据供电模块和开关模块的当前参数集合生成BUCK配置信息。In some possible implementation manners, the above configuration module 202 is also used to configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information, when the first application program is running, when the first load is detected When the output current of the power supply output terminal connected to the module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured. The second parameter set is used to control the power supply module and the switch module to add a power supply output terminal without output current and the first parameter set. The load modules are connected; wherein, the first load module is any one of at least one load module in the SOC that is adapted to the first application program; when the output currents of the power supply output terminals connected to all load modules adapted to the first application program are equal When it is not greater than the first threshold, the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
在一些可能的实施例中,上述配置模块202根据BUCK配置信息配置供电模块和开关模块的第一参数集合,可以具体用于控制供电模块和开关模块将至少一个第一供电输出端的输出电流输出至SOC中的第二负载模块,并将至少一个第二供电输出端的输出电流输出至SOC中的第三负载模块;第一供电输出端对应的BUCK电路中的电感的感值小于第二供电输出端对应的BUCK电路中的电感的感值;第二负载模块和第三负载模块为SOC中与第一应用程序适配的所有负载模块的其中两个;第二负载模块的负载大于第三负载模块的负载。In some possible embodiments, the configuration module 202 configures the first parameter set of the power supply module and the switch module according to the BUCK configuration information, which can be specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to The second load module in the SOC, and outputs the output current of at least one second power supply output terminal to the third load module in the SOC; the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than the second power supply output terminal The inductance value of the corresponding inductance in the BUCK circuit; the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the load of the second load module is greater than that of the third load module Load.
在一些可能的实施例中,如图11所示,上述供电装置还包括预配置模块203。In some possible embodiments, as shown in FIG. 11, the above-mentioned power supply device further includes a pre-configuration module 203.
预配置模块203用于判断终端设备上当前开启的第一应用程序是否为第一次开启;若第一应用程序为第一次开启,则配置供电模块和开关模块的初始参数集合,初始参数集合用于控制SOC中的每一个负载模块分别和多个供电输出端的其中之一连通;检测与每一个负载模块连通的供电输出端的输出电流是否大于第二阈值;若与第一负载模块连通的供电输出端的输出电流大于第二阈值,则配置供电模块和开关模块的第二参数集合,第二参数集合用于控制供电模块和开关模块添加一个无输出电流的供电输出端与第一负载模块连通;其中,第一负载模块为SOC中与第一应用程序适配的至少一个负载模块中的任意一个;当与第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于第二阈值时,根据供电模块和开关模块的当前参数集合生成BUCK配置信息。The pre-configuration module 203 is used to determine whether the first application currently opened on the terminal device is opened for the first time; if the first application is opened for the first time, configure the initial parameter set of the power supply module and the switch module, and the initial parameter set It is used to control each load module in the SOC to connect to one of the multiple power supply output terminals; to detect whether the output current of the power supply output terminal connected to each load module is greater than the second threshold; if the power supply connected to the first load module If the output current of the output terminal is greater than the second threshold, a second parameter set of the power supply module and the switch module is configured. The second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; Wherein, the first load module is any one of the at least one load module in the SOC that is adapted to the first application; when the output current of the power supply output terminals connected to all load modules adapted to the first application is not greater than the second When the threshold is set, the BUCK configuration information is generated according to the current parameter set of the power supply module and the switch module.
本申请实施例还提供一种终端设备,包括:一个或多个处理器;存储器,用于存储一个或多个程序;当一个或多个程序被一个或多个处理器执行,以使得终端设备实现如前述的供电方法。An embodiment of the present application also provides a terminal device, including: one or more processors; a memory, used to store one or more programs; when one or more programs are executed by one or more processors, the terminal device Realize the aforementioned power supply method.
示意的,参考图12,图12为本申请提供的一种终端设备(例如手机)的结构示意图。如图12所示,该终端设备包括处理器301和存储器302。处理器301和存储器302之间可以通过内部连接通路互相通信,传递控制信号和/或数据信号。Schematically, referring to FIG. 12, FIG. 12 is a schematic structural diagram of a terminal device (such as a mobile phone) provided by this application. As shown in FIG. 12, the terminal device includes a processor 301 and a memory 302. The processor 301 and the memory 302 can communicate with each other through an internal connection path to transfer control signals and/or data signals.
其中,存储器302用于存储计算机程序。处理器301用于执行存储器302中存储的计算机程序,从而实现上述供电方法实施例中的各功能。Among them, the memory 302 is used to store a computer program. The processor 301 is configured to execute a computer program stored in the memory 302, so as to realize each function in the above-mentioned power supply method embodiment.
示意的,存储器302也可以集成在处理器301中,或者独立于处理器301。Illustratively, the memory 302 may also be integrated in the processor 301 or independent of the processor 301.
除此之外,为了使得终端设备的功能更加完善,终端设备还可以包括收发器303、天线304、电源305、输入单元306、显示单元307(也可以认为是输出单元)、音频电路308、摄像头309和传感器310等中的一个或多个。音频电路还可以包括扬声器3081、麦克风3082等,不再赘述。In addition, in order to make the function of the terminal device more complete, the terminal device may also include a transceiver 303, an antenna 304, a power supply 305, an input unit 306, a display unit 307 (also can be regarded as an output unit), an audio circuit 308, and a camera. One or more of 309 and sensor 310, etc. The audio circuit may also include a speaker 3081, a microphone 3082, etc., which will not be described in detail.
本申请实施例还提供一种计算机可读存储介质,包括计算机程序,计算机程序在计算机上被执行时,使得计算机执行如前述的供电方法。The embodiment of the present application also provides a computer-readable storage medium, including a computer program, which when executed on a computer, causes the computer to execute the aforementioned power supply method.
本申请实施例还提供一种芯片,包括处理器和存储器,存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,以使得所述芯片执行如前述的供电方法。The embodiment of the present application also provides a chip including a processor and a memory, 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, so that the chip executes the aforementioned power supply method.
以上各实施例中提及的处理器可以是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、特定应用集成电路(application-specific integrated circuit,ASIC)、现场可编程门阵列(field programmable gate array,FPGA)或其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。本申请实施例公开的方法的步骤可以直接体现为硬件编码处理器执行完成,或者用编码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。The processor mentioned in the above embodiments may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software. The processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in the embodiments of the present application may be directly embodied as being executed and completed by a hardware encoding processor, or executed and completed by a combination of hardware and software modules in the encoding processor. The software module can be located in a mature storage medium in the field, such as random access memory, flash memory, read-only memory, programmable read-only memory, or electrically erasable programmable memory, registers. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
上述各实施例中提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。The memory mentioned in the above embodiments may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electrically available Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. The volatile memory may be random access memory (RAM), which is used as an external cache. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), and synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synchlink DRAM, SLDRAM) ) And direct memory bus random access memory (direct rambus RAM, DR RAM). It should be noted that the memories of the systems and methods described herein are intended to include, but are not limited to, these and any other suitable types of memories.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖 在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (17)

  1. 一种供电系统,其特征在于,包括供电模块、开关模块、系统级芯片SOC;A power supply system, characterized in that it includes a power supply module, a switch module, and a system-on-chip SOC;
    所述供电模块具有多个供电输出端,且多个所述供电输出端与所述开关模块的输入端连接,所述开关模块的输出端与所述SOC连接;The power supply module has a plurality of power supply output terminals, and the plurality of power supply output terminals are connected to the input terminal of the switch module, and the output terminal of the switch module is connected to the SOC;
    所述开关模块配置为控制所述多个供电输出端分别与所述SOC之间的通断。The switch module is configured to control the on-off between the plurality of power supply output terminals and the SOC, respectively.
  2. 根据权利要求1所述的供电系统,其特征在于,所述供电模块包括多相控制器和多相BUCK电路;The power supply system according to claim 1, wherein the power supply module includes a multi-phase controller and a multi-phase BUCK circuit;
    所述多相控制器与所述多相BUCK电路的输入端连接,所述多相BUCK电路的输出端和所述多个供电输出端对应。The multi-phase controller is connected to the input terminal of the multi-phase BUCK circuit, and the output terminal of the multi-phase BUCK circuit corresponds to the multiple power supply output terminals.
  3. 根据权利要求2所述的供电系统,其特征在于,第一BUCK电路包括:BUCK控制电路以及电感;其中,所述BUCK控制电路与所述多相控制器以及所述电感的一端连接,所述电感的另一端与所述开关模块连接;所述第一BUCK电路为所述多相BUCK电路中的任意一个。The power supply system according to claim 2, wherein the first BUCK circuit comprises: a BUCK control circuit and an inductor; wherein the BUCK control circuit is connected to the multi-phase controller and one end of the inductor, and the The other end of the inductor is connected to the switch module; the first BUCK circuit is any one of the multi-phase BUCK circuits.
  4. 根据权利要求3所述的供电系统,其特征在于,所述多相控制器和每一所述BUCK电路中的BUCK控制电路均设置于电源管理单元中。The power supply system according to claim 3, wherein the multi-phase controller and the BUCK control circuit in each of the BUCK circuits are both arranged in a power management unit.
  5. 一种供电方法,其特征在于,所述供电方法适用于权利要求1-4中任一项所述的供电系统,所述供电方法包括:A power supply method, characterized in that the power supply method is applicable to the power supply system according to any one of claims 1-4, and the power supply method comprises:
    识别终端设备上当前开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息;Identifying the first application currently opened on the terminal device, and obtaining BUCK configuration information adapted to the first application;
    根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合,所述第一参数集合用于控制所述供电模块和所述开关模块将一个或者多个所述供电输出端的电流输出至所述SOC。The first parameter set of the power supply module and the switch module is configured according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to set one or more of the power supply output terminals The current is output to the SOC.
  6. 根据权利要求5所述的供电方法,其特征在于,所述获取与所述第一应用程序适配的BUCK配置信息,包括:The power supply method according to claim 5, wherein the obtaining BUCK configuration information adapted to the first application program comprises:
    从网络侧下载所述BUCK配置信息;Download the BUCK configuration information from the network side;
    或者,从本地存储的BUCK配置库读取所述BUCK配置信息。Or, read the BUCK configuration information from a locally stored BUCK configuration library.
  7. 根据权利要求5所述的供电方法,其特征在于,在所述根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合之后,还包括:The power supply method according to claim 5, wherein after the configuration of the first parameter set of the power supply module and the switch module according to the BUCK configuration information, the method further comprises:
    在所述第一应用程序运行过程中,当检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;During the operation of the first application program, when it is detected that the output current of the power supply output terminal connected with the first load module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured, and the The second parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the SOC and the Any one of the at least one load module adapted by the first application program;
    当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第一阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。When the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the first threshold, the BUCK configuration is generated according to the current parameter set of the power supply module and the switch module information.
  8. 根据权利要求5所述的供电方法,其特征在于,所述第一参数集合具体用于控制所述供电模块和所述开关模块将至少一个第一供电输出端的输出电流输出至所述SOC中 的第二负载模块,并将至少一个第二供电输出端的输出电流输出至所述SOC中的第三负载模块;所述第一供电输出端对应的BUCK电路中的电感的感值小于所述第二供电输出端对应的BUCK电路中的电感的感值;所述第二负载模块和所述第三负载模块为所述SOC中与所述第一应用程序适配的所有负载模块的其中两个;所述第二负载模块的负载大于所述第三负载模块的负载。The power supply method according to claim 5, wherein the first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the SOC. The second load module, and output the output current of at least one second power supply output terminal to the third load module in the SOC; the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than the second The inductance value of the inductance in the BUCK circuit corresponding to the power supply output terminal; the second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; The load of the second load module is greater than the load of the third load module.
  9. 根据权利要求5-8任一项所述的供电方法,其特征在于,在所述识别终端设备上当前开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息之前,还包括:The power supply method according to any one of claims 5-8, characterized in that before the first application program currently opened on the terminal device is identified and the BUCK configuration information adapted to the first application program is obtained ,Also includes:
    判断终端设备上当前开启的第一应用程序是否为第一次开启;Determine whether the first application currently opened on the terminal device is opened for the first time;
    若所述第一应用程序为第一次开启,则配置所述供电模块和所述开关模块的初始参数集合,所述初始参数集合用于控制所述SOC中的每一个负载模块分别和所述多个供电输出端的其中之一连通;If the first application is started for the first time, configure the initial parameter set of the power supply module and the switch module, and the initial parameter set is used to control each load module in the SOC and the One of the multiple power supply output terminals is connected;
    检测与所述每一个负载模块连通的供电输出端的输出电流是否大于第二阈值;Detecting whether the output current of the power supply output terminal connected to each load module is greater than a second threshold;
    若与第一负载模块连通的供电输出端的输出电流大于所述第二阈值,则配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;If the output current of the power supply output terminal connected with the first load module is greater than the second threshold, configure a second parameter set of the power supply module and the switch module, and the second parameter set is used to control the power supply module Adding a power supply output terminal with no output current to the switch module to communicate with the first load module; wherein, the first load module is at least one load module in the SOC that is adapted to the first application program Any one of
    当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第二阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。When the output current of the power supply output terminals connected to all load modules adapted to the first application program is not greater than the second threshold, the BUCK configuration is generated according to the current parameter set of the power supply module and the switch module information.
  10. 一种供电装置,其特征在于,包括:A power supply device, characterized in that it comprises:
    获取模块,用于识别终端设备上当前开启的第一应用程序,并获取与所述第一应用程序适配的BUCK配置信息;An obtaining module, configured to identify the first application currently opened on the terminal device, and obtain BUCK configuration information adapted to the first application;
    配置模块,用于根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合,所述第一参数集合用于控制所述供电模块和所述开关模块将一个或者多个所述供电输出端的电流输出至所述SOC。The configuration module is configured to configure a first parameter set of the power supply module and the switch module according to the BUCK configuration information, and the first parameter set is used to control the power supply module and the switch module to combine one or more The current of the power supply output terminal is output to the SOC.
  11. 根据权利要求10所述的供电装置,其特征在于,The power supply device according to claim 10, wherein:
    所述获取模块,具体用于从网络侧下载所述BUCK配置信息;或者,从本地存储的BUCK配置库读取所述BUCK配置信息。The obtaining module is specifically configured to download the BUCK configuration information from the network side; or, read the BUCK configuration information from a locally stored BUCK configuration library.
  12. 根据权利要求10所述的供电装置,其特征在于,所述配置模块,还用于在所述根据所述BUCK配置信息配置所述供电模块和所述开关模块的第一参数集合之后,在所述第一应用程序运行过程中,当检测到与第一负载模块连通的供电输出端的输出电流大于第一阈值时,配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第一阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。The power supply device according to claim 10, wherein the configuration module is further configured to configure the first parameter set of the power supply module and the switch module according to the BUCK configuration information, and then perform the During the operation of the first application program, when it is detected that the output current of the power supply output terminal connected to the first load module is greater than the first threshold, the second parameter set of the power supply module and the switch module is configured, and the second parameter set is configured for the power supply module and the switch module. The parameter set is used to control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is the SOC and the first load module. Any one of the at least one load module adapted by the application program; when the output current of the power supply output terminal connected with all load modules adapted by the first application program is not greater than the first threshold, according to the power supply module And the current parameter set of the switch module to generate the BUCK configuration information.
  13. 根据权利要求10所述的供电装置,其特征在于,The power supply device according to claim 10, wherein:
    所述第一参数集合具体用于控制所述供电模块和所述开关模块将至少一个第一供电输出端的输出电流输出至所述SOC中的第二负载模块,并将至少一个第二供电输出端的输出电流输出至所述SOC中的第三负载模块;所述第一供电输出端对应的BUCK电路中的电感的感值小于所述第二供电输出端对应的BUCK电路中的电感的感值;所述第二负载模块和所述第三负载模块为所述SOC中与所述第一应用程序适配的所有负载模块的其中两个;所述第二负载模块的负载大于所述第三负载模块的负载。The first parameter set is specifically used to control the power supply module and the switch module to output the output current of at least one first power supply output terminal to the second load module in the SOC, and to control the output current of at least one second power supply output terminal. The output current is output to the third load module in the SOC; the inductance value of the inductance in the BUCK circuit corresponding to the first power supply output terminal is smaller than the inductance value of the inductance in the BUCK circuit corresponding to the second power supply output terminal; The second load module and the third load module are two of all load modules in the SOC that are adapted to the first application; the load of the second load module is greater than the third load The load of the module.
  14. 根据权利要求10-13任一项所述的供电装置,其特征在于,还包括:The power supply device according to any one of claims 10-13, further comprising:
    预配置模块,用于判断终端设备上当前开启的第一应用程序是否为第一次开启;若所述第一应用程序为第一次开启,则配置所述供电模块和所述开关模块的初始参数集合,所述初始参数集合用于控制所述SOC中的每一个负载模块分别和所述多个供电输出端的其中之一连通;检测与所述每一个负载模块连通的供电输出端的输出电流是否大于第二阈值;若与第一负载模块连通的供电输出端的输出电流大于所述第二阈值,则配置所述供电模块和所述开关模块的第二参数集合,所述第二参数集合用于控制所述供电模块和所述开关模块添加一个无输出电流的供电输出端与所述第一负载模块连通;其中,所述第一负载模块为所述SOC中与所述第一应用程序适配的至少一个负载模块中的任意一个;当与所述第一应用程序适配的所有负载模块连通的供电输出端的输出电流均不大于所述第二阈值时,根据所述供电模块和所述开关模块的当前参数集合生成所述BUCK配置信息。The pre-configuration module is used to determine whether the first application currently opened on the terminal device is opened for the first time; if the first application is opened for the first time, configure the initial settings of the power supply module and the switch module A parameter set, where the initial parameter set is used to control each load module in the SOC to respectively communicate with one of the multiple power supply output terminals; detect whether the output current of the power supply output terminal connected to each load module is Greater than the second threshold; if the output current of the power supply output terminal connected to the first load module is greater than the second threshold, configure a second parameter set of the power supply module and the switch module, and the second parameter set is used for Control the power supply module and the switch module to add a power supply output terminal with no output current to communicate with the first load module; wherein, the first load module is adapted to the first application in the SOC Any one of the at least one load module; when the output current of the power supply output terminal connected with all load modules adapted to the first application program is not greater than the second threshold, according to the power supply module and the switch The current parameter set of the module generates the BUCK configuration information.
  15. 一种终端设备,其特征在于,包括:A terminal device, characterized in that it comprises:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,以使得所述终端设备实现如权利要求5-9中任一项所述的供电方法。When the one or more programs are executed by the one or more processors, so that the terminal device implements the power supply method according to any one of claims 5-9.
  16. 一种计算机可读存储介质,其特征在于,包括计算机程序,所述计算机程序在计算机上被执行时,使得所述计算机执行权利要求5-9中任一项所述的供电方法。A computer-readable storage medium, characterized by comprising a computer program, which when executed on a computer, causes the computer to execute the power supply method according to any one of claims 5-9.
  17. 一种芯片,其特征在于,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以使得所述芯片执行如权利要求5-9中任一项所述的供电方法。A chip, characterized by comprising a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, so that the chip executes as claimed in claim 5 -9 The power supply method described in any one of the above.
PCT/CN2020/125901 2019-11-20 2020-11-02 Power supply system, power supply method, power supply apparatus, and terminal device WO2021098497A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911143389.4 2019-11-20
CN201911143389.4A CN110932346B (en) 2019-11-20 2019-11-20 Power supply method, power supply device and terminal equipment

Publications (1)

Publication Number Publication Date
WO2021098497A1 true WO2021098497A1 (en) 2021-05-27

Family

ID=69851462

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/125901 WO2021098497A1 (en) 2019-11-20 2020-11-02 Power supply system, power supply method, power supply apparatus, and terminal device

Country Status (2)

Country Link
CN (1) CN110932346B (en)
WO (1) WO2021098497A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110932346B (en) * 2019-11-20 2022-02-25 华为技术有限公司 Power supply method, power supply device and terminal equipment
CN112256116A (en) * 2020-10-29 2021-01-22 山东超越数控电子股份有限公司 CPU multiphase power supply method and circuit based on CPLD

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055987A (en) * 2006-04-12 2007-10-17 美国凹凸微系有限公司 Power management system with multiple power sources
CN103280974A (en) * 2012-06-22 2013-09-04 成都芯源系统有限公司 Multi-phase switch mode power supply and control circuit and control method thereof
US20160013654A1 (en) * 2014-07-09 2016-01-14 Qualcomm Incorporated Dynamic power supply selection based on system requirements
CN105871208A (en) * 2015-02-05 2016-08-17 英飞凌科技奥地利有限公司 Multi-phase switching voltage regulator having asymmetric phase inductance
CN106471691A (en) * 2014-07-09 2017-03-01 高通股份有限公司 Dynamic power supplies rail for load cluster controls
CN110932346A (en) * 2019-11-20 2020-03-27 华为技术有限公司 Power supply system, power supply method, power supply device and terminal equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101211165B (en) * 2007-12-21 2011-02-09 艾默生网络能源有限公司 Electric power system energy-saving control method and apparatus
CN101685963B (en) * 2008-09-22 2012-06-06 联想(北京)有限公司 Power supply method, power supply device and power supply system
US8558524B2 (en) * 2010-10-19 2013-10-15 International Rectifier Corporation Master/slave power supply switch driver circuitry
CN106300555B (en) * 2016-10-13 2019-04-23 深圳市金立通信设备有限公司 A kind of charging circuit and its charging method and terminal
US10044255B2 (en) * 2016-10-27 2018-08-07 Infineon Technologies Austria Ag Multiphase power supply and phase control
JP6593707B2 (en) * 2016-11-15 2019-10-23 オムロン株式会社 Voltage converter
CN108155678A (en) * 2016-12-02 2018-06-12 富泰华工业(深圳)有限公司 Electronic device and the method for controlling the electronic device charge and discharge
CN108008801A (en) * 2017-12-01 2018-05-08 郑州云海信息技术有限公司 A kind of method for controlling power supply, device and the medium of FPGA accelerator cards accessory power supply

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101055987A (en) * 2006-04-12 2007-10-17 美国凹凸微系有限公司 Power management system with multiple power sources
CN103280974A (en) * 2012-06-22 2013-09-04 成都芯源系统有限公司 Multi-phase switch mode power supply and control circuit and control method thereof
US20160013654A1 (en) * 2014-07-09 2016-01-14 Qualcomm Incorporated Dynamic power supply selection based on system requirements
CN106471691A (en) * 2014-07-09 2017-03-01 高通股份有限公司 Dynamic power supplies rail for load cluster controls
CN105871208A (en) * 2015-02-05 2016-08-17 英飞凌科技奥地利有限公司 Multi-phase switching voltage regulator having asymmetric phase inductance
CN110932346A (en) * 2019-11-20 2020-03-27 华为技术有限公司 Power supply system, power supply method, power supply device and terminal equipment

Also Published As

Publication number Publication date
CN110932346A (en) 2020-03-27
CN110932346B (en) 2022-02-25

Similar Documents

Publication Publication Date Title
TWI506936B (en) Voltage regulator, apparatus for a switching voltage regulator and system with the same
US7812582B2 (en) System and method of power distribution control of an integrated circuit
US11063517B2 (en) Power supply circuit, electronic component, mobile phone terminal, and power supply control method
US11368321B2 (en) Power sourcing equipment and energy saving method for power over ethernet
US20190086994A1 (en) Transition of an input / output port in a suspend mode from a high-current mode
CN110120875B (en) Power supply method and device, power supply equipment and storage medium
WO2021098497A1 (en) Power supply system, power supply method, power supply apparatus, and terminal device
CN109964198A (en) Clock control based on voltage associated with the microprocessor
KR101943467B1 (en) Dc-dc converter with a dynamically adapting load-line
US11342852B2 (en) Apparatus, system, and method for reducing voltage overshoot in voltage regulators
JP4897877B2 (en) Method and system for power distribution control of integrated circuits
CN107634783A (en) The carrier aggregation mode establishing method and communication terminal and medium product of communication terminal
CN115395762B (en) Single-inductor voltage transformation multi-voltage independent output circuit and related product
US20200401204A1 (en) Dynamic battery power management based on battery internal impedance
CN108241425A (en) Electronic device, electronic system, and control method
TWI877221B (en) Power supply apparatus and electronic system
JP2022097390A (en) Dynamic USB-C mode selection OSPM policy method and device
CN103092304A (en) Power supply control method of double display card module and computer device applying same
US12355352B2 (en) Switching voltage regulator with bi-polar load regulation
CN112462927B (en) Voltage regulation method and device, server and computer readable storage medium
CN115599188A (en) Server power supply control method and device, storage medium and electronic device
US10203743B2 (en) Reference voltage circuits in microcontroller systems
CN114069768B (en) Charging circuit, charging control method and device and electronic equipment
CN204795340U (en) Built -in router control system and TV
CN114327012A (en) A power dynamic load capacity control method, device, system and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20889577

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20889577

Country of ref document: EP

Kind code of ref document: A1