Power management chip, power supply control method and electronic equipment
Patent Information
- Application Number
- CN202510399701.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-18
AI Technical Summary
In the prior art, power management chips for central processing units (CPUs) require integration of at least two chips to power, resulting in complex and costly circuit design.
A power management chip is adopted, including a pulse width modulation processor and at least one power supply module. The power control instructions are received through the pulse width modulation processor, the power supply object is determined and the power supply instructions are forwarded to the corresponding power supply module, so as to dynamically adjust the power supply amount, reduce the number of supply paths and avoid waste of power.
Reduces the number of power management chips, simplifies circuit design, reduces costs, and avoids waste of electricity by dynamically adjusting the power supply, improving the flexibility and efficiency of power supply.
Smart Images

Figure CN120335587A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to power supply control technology, and more specifically, to a power management chip, a power supply control method, and an electronic device. Background Art
[0002] In current power management chips for powering CPUs, it is often necessary to integrate at least two chips to power different functional units of the CPU and ensure the normal operation of the CPU. However, the more chips integrated in the power management chip, the more complex the circuit design and the higher the cost. Summary of the Invention
[0003] In view of this, the present application provides the following technical solutions:
[0004] The first aspect of the present application provides a power management chip, including:
[0005] A pulse width modulation processor, configured to receive a power control instruction, determine a power supply instruction based on the power supply demand data in the power control instruction, and forward the power supply instruction to the corresponding power supply module. The power control instruction includes a power supply object identifier, so that the pulse width modulation processor determines the power supply module to which the power supply instruction needs to be sent; if there is more than one power supply module, different power supply modules are used to control the power supply to different functional units of the central processing unit;
[0006] At least one power supply module, connected to the pulse width modulation processor, configured to receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction.
[0007] In a possible implementation, the power supply module is connected with at least one power supply driving line; if the power supply module is connected with multiple power supply driving lines, the pulse width modulation processor can determine multi-phase power supply or single-phase power supply based on the power control instruction.
[0008] In a possible implementation, if the power management chip includes at least two power supply modules, the number of power supply driving lines connected to different power supply modules is the same or different.
[0009] In a possible implementation, the power supply module at least includes a power supply module for powering an artificial intelligence processing unit.
[0010] The second aspect of the present application provides a power supply control method, including:
[0011] Receiving a power control instruction, where the power control instruction includes a power supply object identifier and power supply demand data;
[0012] Determine a power supply instruction based on the power supply demand data;
[0013] Send the power supply instruction to a target power supply module, where the target power supply module can supply power to the object corresponding to the power supply object identifier;
[0014] The target power supply module controls the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction.
[0015] In a possible implementation, the receiving the power supply control instruction includes:
[0016] Receive a power supply control instruction of a first protocol, where the power supply control instruction of the first protocol is an instruction determined by a central processing unit based on the working state of the device;
[0017] The method further includes:
[0018] Receive a configuration instruction of a second protocol and update the power management logic based on the configuration instruction, where the first protocol and the second protocol are different.
[0019] In a possible implementation, the target power supply module is connected with multiple power supply drive lines, and the determining the power supply instruction based on the power supply demand data includes:
[0020] Determine a required power based on the power supply demand data in the power supply control instruction;
[0021] Determine instruction data based on the required power, so that the power supply power supplied according to the instruction data matches the required power, and the instruction data includes at least one of the following: number of power supply phases, power supply voltage, and power supply current;
[0022] Generate a power supply instruction based on the instruction data.
[0023] In a possible implementation, the power supply demand data includes a power supply required time, and the target power supply module controls the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction, including:
[0024] The target power supply module operates based on the power supply instruction and the power supply required time, so as to output a power supply current and a power supply voltage corresponding to the power supply demand data within the power supply required time.
[0025] In a possible implementation, the object corresponding to the power supply object identifier is an artificial intelligence processing unit.
[0026] A third aspect of this application provides an electronic device, including a power management chip, where the power management chip includes a pulse width modulation processor and at least one power supply module; wherein,
[0027] The pulse width modulation processor is configured to: receive a power control instruction, determine a power supply instruction based on the power supply demand data in the power control instruction, and forward the power supply instruction to the corresponding power supply module. The power control instruction includes a power supply object identifier, so that the pulse width modulation processor determines the power supply module to which the power supply instruction needs to be sent; if there are more than one power supply modules, different power supply modules are used to control the power supply to different functional units of the central processing unit;
[0028] The power supply module is configured to: receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction. Description of the Drawings
[0029] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on the provided drawings.
[0030] Figure 1 Schematic diagram of CPU power supply management in the traditional solution disclosed in the embodiments of the present application;
[0031] Figure 2 Schematic diagram of the structure of a power management chip disclosed in the embodiments of the present application;
[0032] Figure 3 Schematic diagram of the architecture of a power management chip of a power supply module disclosed in the embodiments of the present application;
[0033] Figure 4 Schematic diagram of the architecture of a power management chip of two power supply modules disclosed in the embodiments of the present application;
[0034] Figure 5 Schematic diagram of the architecture of a power management chip of three power supply modules disclosed in the embodiments of the present application;
[0035] Figure 6 Flowchart of a power supply control method disclosed in the embodiments of the present application;
[0036] Figure 7 Route map for determining the power supply instruction disclosed in the embodiments of the present application;
[0037] Figure 8 Schematic diagram of the structure of a power supply control device disclosed in the embodiments of the present application. Detailed Description of the Invention
[0038] For reference and clarity, the descriptions, abbreviations, or acronyms of technical terms used hereinafter are summarized as follows:
[0039] TPU: Abbreviation for Tensor Processing Unit, a dedicated processor designed specifically for machine learning, mainly used to accelerate deep learning tasks.
[0040] PWM MUX: Where PWM is Pulse Width Modulation, and MUX represents a multiplexer.
[0041] Rail: Represents the path in a power management chip.
[0042] SVI3: A protocol standard for developing power management protocols, including a clock line, a data line, and a status line.
[0043] I2C: Abbreviation for Inter-Integrated Circuit, also known as IIC, is a synchronous serial communication protocol, also called the integrated circuit bus protocol in the field. It uses two signal lines for communication: one is the clock line, and the other is the data line.
[0044] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0045] The embodiments of the present application can be applied to electronic devices. The present application does not limit the product form of the electronic device, which may include but is not limited to smartphones, tablet computers, wearable devices, personal computers (PCs), netbooks, etc., and can be selected according to application requirements.
[0046] Figure 1 Schematic diagram of CPU power supply management in the traditional solution disclosed in the embodiments of the present application. In combination with Figure 1 As shown, the central processing unit includes multiple functional units. To ensure the normal operation of the central processing unit, power needs to be supplied to each functional unit of the central processing unit. The traditional solution requires at least two power management chips to supply power to the central processing unit, that is Figure 1Chip1 and Chip2 in it. Among them, the VDDCR output by Chip1 is used to power the core computing unit of the CPU, the SOC is used to power other system-level components outside the core computing unit (including graphics cards, caches, IO ports, memory controllers, etc.), and Chip2 is used to power the artificial intelligence unit (a functional unit for performing artificial intelligence computing processing, such as a TPU). However, at least two power management chips are required in the traditional solution, resulting in a high cost.
[0047] In view of the above problems, the present application discloses a power management chip that can efficiently power each functional unit of the CPU on the basis of reducing the number of power supply chips for the central processing unit (CPU).
[0048] Figure 2 The following is a schematic structural diagram of a power management chip disclosed in an embodiment of the present application. Refer to Figure 2 As shown, the power management chip may include:
[0049] A pulse width modulation processor 10, configured to receive a power control instruction, determine a power supply instruction based on the power supply demand data in the power control instruction, and forward the power supply instruction to the corresponding power supply module. The power control instruction includes a power supply object identifier, so that the pulse width modulation processor can determine the power supply module to which the power supply instruction needs to be sent; if there is more than one power supply module, different power supply modules are used to control the power supply to different functional units of the central processing unit.
[0050] At least one power supply module 20 ( Figure 1 illustrated by taking two power supply modules as an example), connected to the pulse width modulation processor, configured to receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction.
[0051] The pulse width modulation processor can be understood as a pulse width modulation multiplexer, and its function is similar to that of a switch. One end of the pulse width modulation processor is connected to the central processing unit (CPU), so that it can obtain a power control instruction from the CPU; the other end of the pulse width modulation processor is connected to the power supply module, so that the power supply instruction determined based on the power control instruction is sent to the corresponding power supply module, so that the power supply module supplies power to the functional unit of the CPU connected thereto according to the power supply instruction. Among them, the functional units of the CPU may include, but are not limited to, a core computing unit, other system-level components outside the core computing unit, an artificial intelligence unit, etc.
[0052] Among them, the power control instruction can be a control instruction issued by the CPU based on its own operating conditions. If the power supply demand data in the power control instruction is used to supply power to each functional module of the CPU, it can support the CPU to maintain a stable operating state. The power supply demand data can include the required voltage and required current, and in other implementations, it can also include the required power. The power supply demand data is used to "instruct" the pulse width modulation processor on how to supply power.
[0053] The power management chip includes at least one power supply module. If the power management chip only includes one power supply module, the entire CPU is powered by this power supply module through a single power supply path, and the CPU distributes the received overall power to each functional unit as needed. If the power management chip includes at least two power supply modules, the power management chip can supply power to the CPU through the corresponding at least two power supply paths, and different power supply paths are connected to different functional units in the CPU. In the embodiments of the present application, the power supply module is only used to execute the power supply instruction sent by the pulse width modulation processor, and it will not perform any data processing or data analysis work.
[0054] Compared with the power management chip in the traditional solution, the present application solution adds a pulse width modulation processor with data processing capabilities. It can determine the electric energy that needs to be output based on the power control instruction, and generate a corresponding power supply instruction according to the determined electric energy to be output. It can be understood that the electric energy required by the CPU changes in real time with the change of the operating state. Therefore, the electric energy corresponding to the power supply instruction generated by the pulse width modulation processor also changes in real time, so that the output electric energy of the power supply module can be dynamically controlled. In the traditional solution, there is no pulse width modulation processor. After receiving the power control instruction, the power management chip directly controls the corresponding power supply module to supply power in full, that is, supply power according to its maximum power supply capacity. Compared with the traditional solution, the present application solution not only reduces the number of power management chips for powering the CPU, but also the implementation of the pulse width modulation processor in the power management chip of the present application solution to dynamically adjust the output electric energy enables the number of power supply paths connecting the power management chip to the CPU to be more flexible. The power supply amount can be adjusted in real time based on the power supply demand, while avoiding the excess waste of the supplied electric energy.
[0055] Figure 3 It is a schematic diagram of the architecture of a power management chip with one power supply module disclosed in the embodiments of the present application. Figure 4 It is a schematic diagram of the architecture of a power management chip with two power supply modules disclosed in the embodiments of the present application. Figure 5 It is a schematic diagram of the architecture of a power management chip with three power supply modules disclosed in the embodiments of the present application. Among them, the DRMOS (Digital Power MOSFET) connected to the power supply module is for power supply drive, the line between the power supply module and the DRMOS is the power supply drive line, and one power supply drive line corresponds to one DRMOS. Combined Figures 3 - 5, the implementation of one power supply module corresponds to one power supply path, the implementation of two power supply modules corresponds to two power supply paths, and the implementation of three power supply modules corresponds to three power supply paths.
[0056] In the application, at least one power supply driving line is connected to the power supply module; if multiple power supply driving lines are connected to the power supply module, the pulse width modulation processor can determine multi-phase power supply or single-phase power supply based on the power control instruction.
[0057] In this application, the number of power supply drives connected to the power supply module is not fixedly limited, so different sizes of power supply can be provided.
[0058] Generally speaking, if there is only one power supply module in the power management chip, the number of DRMOSs it is connected to will be relatively large because the entire CPU depends entirely on one power supply module for power supply, so it is necessary to ensure that this power supply module has a large power supply capacity. If the power management chip includes two or more power supply modules, the number of DRMOSs connected to each power supply module can be relatively small because at least two power supply modules supply power to the CPU, and different power supply modules are responsible for the power supply of different power supply units, so a large power supply capacity is not required. In actual applications, different from the implementation of full-power supply of the power supply module in the traditional solution, it is not that when the power supply module is connected to several DRMOSs, all the connected DRMOSs must be driven during operation, but one or more of the connected DRMOSs are driven based on the power supply instruction, that is, single-phase power supply or multi-phase power supply is performed.
[0059] In one implementation, if the power management chip includes at least two power supply modules, the number of power supply driving lines connected to different power supply modules can be the same or different. For example, Figure 5 As shown, the first power supply path supports four-phase power supply (four power supply driving lines), the second power supply path supports three-phase power supply (three power supply driving lines), and the third power supply path only supports single-phase power supply (one power supply driving line).
[0060] In one implementation, the power supply module at least includes a power supply module for powering the artificial intelligence processing unit. Refer to Figure 1 As shown, in the traditional solution, the power supply for the artificial intelligence unit of the CPU is a separate power management chip, while the power management chip provided by the solution of this application can simultaneously power the core computing unit including the CPU, other system-level components outside the core computing unit, and the artificial intelligence unit. That is, one power management chip can meet the overall power supply requirements of the CPU. Such an implementation not only reduces the cost of the power management chip but also is easy to manage uniformly.
[0061] The present application also discloses a power supply control method, which is applied to the power management chip disclosed in the foregoing embodiment content. Figure 6 It is a flowchart of a power supply control method disclosed in an embodiment of the present application. Refer to Figure 6 As shown, the power supply control method may include:
[0062] Step 601: Receive a power supply control instruction, where the power supply control instruction includes a power supply object identifier and power supply demand data.
[0063] The power supply control instruction is an instruction sent by the CPU to the power management chip according to its own operation requirements. It can first be Figures 3 - 5 received by SVI3 in the power management chip, and then transmitted to the pulse width modulation processor PWM MUX.
[0064] The power supply object identifier in the power supply control instruction can be the identifier of the corresponding core computing unit, the identifier of other system-level components other than the core, the identifier of the artificial intelligence unit, etc., or the identifier of other corresponding units or unit combinations. The power supply demand data in the power supply control instruction records the power supply demand of the object with the corresponding power supply object identifier. For example, if the power supply object identifier is the identifier of the core computing unit and the corresponding power supply demand data is "1.5V, 6A", it can be determined that a power supply voltage of 1.5V and a power supply current of 6A need to be provided for the core computing unit.
[0065] Step 602: Determine a power supply instruction based on the power supply demand data.
[0066] The relevant information of all power supply modules connected to the pulse width modulation processor can be pre-stored, such as which function unit (power supply object identifier) of the CPU the power supply module supplies power to, and how many power supply drive lines the power supply module is connected to, that is, how many phases of power supply can be performed. In addition, the maximum power of each power supply drive line is fixed and known, such as 20W.
[0067] After obtaining the power supply control instruction, the pulse width modulation processor can determine the power supply instruction based on the power supply demand data in the power supply control instruction. The power supply instruction includes the power supply voltage, the power supply current, and the number of power supply phases. For example, if the power supply demand data limits the power supply voltage to 1.5V and the power supply current to 20A, the total power supply power is 1.5V * 20A = 30W, and the maximum power of a power supply drive line is 20A, then two-phase power supply can be controlled. The power supply voltage of each phase (power supply drive line) is 1.5V, the power supply current is 10A, and the corresponding power supply power is 15W. The two-phase power supply is 30W in total.
[0068] Step 603: Send the power supply instruction to the target power supply module, which can supply power to the object corresponding to the power supply object identifier.
[0069] After determining the power supply instruction, the pulse width modulation processor can send the power supply instruction to the target power supply module, that is, the power supply module that supplies power to the object corresponding to the power supply object identifier.
[0070] Step 604: The target power supply module controls the output of the corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction.
[0071] The target power supply module does not perform data processing and analysis work. In the solution of this application, the target power supply module is only used to execute the power supply instruction. For example, the target power supply module can supply power up to four phases. In the previous example, the power supply instruction requires two-phase power supply. The power supply voltage of each phase is 1.5V, the power supply current is 10A, then the corresponding power supply power is 15W, and the two-phase power supply is 30W in total, meeting the power supply requirements of the object corresponding to the power supply object identifier.
[0072] After obtaining the power control instruction sent by the CPU, the power supply control method in this embodiment first determines the power supply instruction based on the power supply demand data therein, and then sends the power supply instruction to the target power supply module for execution to provide appropriate power supply for the corresponding CPU functional unit; this solution can perform power supply adjustment dynamically based on the power supply demand data, making the number of power supply paths connecting the power management chip to the CPU more flexible, providing a basis for reducing the number of power management chips of the CPU; in implementation, the power supply amount is adjusted in real time based on the power supply demand, while avoiding the situation of excessive waste of the supplied electric energy.
[0073] In one implementation, the receiving of the power control instruction includes: receiving a power control instruction of a first protocol, where the power control instruction of the first protocol is an instruction determined by the central processing unit based on the working state of the device. Then the power supply control method may further include: receiving a configuration instruction of a second protocol and updating the power management logic based on the configuration instruction, where the first protocol and the second protocol are different.
[0074] Combined with Figures 3 - 5 , where SVI3 corresponds to the first protocol for searching books, and I2C corresponds to the second protocol. That is, in the application process of the power management chip, if there are problems with software update or data configuration modification, the corresponding modification content can be sent to the power management chip through I2C, and the power management chip performs corresponding upgrade or configuration work based on the corresponding modification content, so as to achieve the editing and adjustment of the digital chip (power management chip).
[0075] Figure 7The flowchart for determining the power supply instruction disclosed in the embodiments of the present application. Wipe year Figure 7 As shown, determining the power supply instruction based on the power supply demand data may include:
[0076] Step 701: Determine the required power based on the power supply demand data in the power supply control instruction.
[0077] In some implementations, if the power supply demand data does not clearly limit the power supply voltage and / or power supply current for the functional units of the CPU, but only limits the required power, the power supply can be controlled according to the minimum operating voltage or default operating voltage of the device, so that the power supply power meets the required power.
[0078] Step 702: Determine the instruction data based on the required power, so that the power supply power supplied according to the instruction data matches the required power. The instruction data includes at least one of the following: the number of power supply phases, the power supply voltage, and the power supply current.
[0079] For example, if the required power is 40W, based on the default power supply voltage of 1V, if the maximum power of each power supply drive line is 10W, then four-phase power supply is required, the power supply current of each phase is 10A, the load is 10W, and the four-phase power supply is 10*4 = 40W in total.
[0080] Step 703: Generate a power supply instruction based on the instruction data.
[0081] This embodiment introduces the specific implementation of determining the power supply instruction based on the power supply demand data, which is convenient for those skilled in the art to better understand and implement the technical solution of the present application.
[0082] In one implementation, the power supply demand data includes the power supply required time. The target power supply module controls the output of the corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction, which may include: the target power supply module operates based on the power supply instruction and the power supply required time, so as to output the power supply current and power supply voltage corresponding to the power supply demand data within the power supply required time.
[0083] In this implementation, the power supply demand data not only clearly limits some power supply parameters (power supply voltage, power supply current, power supply power), but also limits the power supply required time, that is, it limits the power supply corresponding to the power supply parameters that needs to be achieved within what time period. The power supply required time can also be understood as the power supply speed, and the power supply speed can be controlled by controlling the power supply drive inside the target power supply module.
[0084] In one implementation, the object corresponding to the power supply object identifier is an artificial intelligence processing unit. That is, the power supply control method can be implemented by a power management chip to supply power to many functional units including the artificial intelligence processing unit with a CPU. Compared with the traditional solution of using at least two power management chips to supply power to the CPU, it not only reduces the number of power management chips, saves costs, but also can overall reduce the power consumption of the main board and avoid waste of electric energy.
[0085] For the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be in other sequences or performed simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0086] In the embodiments disclosed in the above application, the method is described in detail. The method of this application can be implemented by means of devices in various forms. Therefore, this application also discloses a device, and specific embodiments are given below for detailed description.
[0087] Figure 8 It is a schematic structural diagram of a power supply control device disclosed in an embodiment of this application. Refer to Figure 8 As shown, the power supply control device 80 may include:
[0088] A demand receiving module 801, configured to receive a power supply control instruction, where the power supply control instruction includes a power supply object identifier and power supply demand data.
[0089] An instruction determining module 802, configured to determine a power supply instruction based on the power supply demand data.
[0090] An instruction sending module 803, configured to send the power supply instruction to a target power supply module, and the target power supply module can supply power to the object corresponding to the power supply object identifier.
[0091] An instruction execution module 804, configured to control the output of a power supply current and a power supply voltage of corresponding magnitudes based on the power supply parameters in the power supply instruction.
[0092] After obtaining the power control instruction sent by the CPU, the power supply control method described in this embodiment first determines the power supply instruction based on the power supply demand data therein, and then sends the power supply instruction to the target power supply module for execution, so as to provide appropriate power supply for the corresponding CPU functional unit; this scheme can dynamically adjust the power supply based on the power supply demand data, so that the number of power supply paths connecting the power management chip to the CPU can also be more flexible, providing a basis for reducing the number of power management chips of the CPU; in the implementation, the power supply amount is adjusted in real time based on the power supply demand to avoid excessive waste of supplied power.
[0093] The specific implementation of the above-mentioned power supply control device and the modules it contains, as well as other possible implementations, can be found in the corresponding parts of the method embodiment, which will not be repeated here.
[0094] The power supply control device in the above embodiment includes a processor and a memory. The demand receiving module, instruction determination module, instruction sending module, instruction execution module, etc. in the above embodiment are all stored in the memory as program modules, and the processor executes the above program modules stored in the memory to realize corresponding functions.
[0095] The processor includes a kernel, which retrieves the corresponding program module from the memory. One or more kernels can be set, and the processing of the access data can be realized by adjusting the kernel parameters.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0097] In an exemplary embodiment, a computer-readable storage medium is also provided, which can be directly loaded into the internal memory of a computer and contains software code. After being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the above power supply control method.
[0098] In an exemplary embodiment, a computer program product is also provided, which can be directly loaded into the internal memory of a computer, wherein the computer program contains software codes, and after being loaded and executed by a computer, the computer program can implement the steps shown in any embodiment of the power supply control method described above.
[0099] Furthermore, an embodiment of the present application provides an electronic device, comprising a power management chip, wherein the power management chip comprises a pulse width modulation processor and at least one power supply module; wherein:
[0100] The pulse width modulation processor is configured to: receive a power control instruction, determine a power supply instruction based on the power supply requirement data in the power control instruction, and forward the power supply instruction to the corresponding power supply module. The power control instruction includes a power supply object identifier, so that the pulse width modulation processor can determine the power supply module to which the power supply instruction needs to be sent. If there are more than one power supply modules, different power supply modules are used to control the power supply to different functional units of the central processing unit. The power supply module is configured to: receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction.
[0101] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. For the same or similar parts among the various embodiments, reference can be made to each other. For the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple. For the relevant parts, reference can be made to the description in the method section.
[0102] It should also be noted that in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "including a..." does not exclude the existence of additional identical elements in the process, method, article or device including the element.
[0103] The steps of the method or algorithm described in combination with the embodiments disclosed in this article can be directly implemented by hardware, a software module executed by a processor, or a combination of both. The software module can be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium well-known in the technical field.
[0104] The foregoing description of the disclosed embodiments enables those skilled in the art to practice or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A power management chip, comprising: A pulse width modulation processor, configured to receive a power control instruction, determine a power supply instruction based on the power supply demand data in the power control instruction, and forward the power supply instruction to a corresponding power supply module. The power control instruction includes a power supply object identifier, so that the pulse width modulation processor determines the power supply module to which the power supply instruction needs to be sent. If there are more than one power supply modules, different power supply modules are used to control the power supply for different functional units of the central processing unit; At least one power supply module, connected to the pulse width modulation processor, configured to receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction.
2. The power management chip according to claim 1, wherein, The power supply module is connected with at least one power supply drive line; if the power supply module is connected with multiple power supply drive lines, the pulse width modulation processor can determine multi-phase power supply or single-phase power supply based on the power control instruction.
3. The power management chip according to claim 1, wherein if the power management chip includes at least two power supply modules, the number of power supply drive lines connected to different power supply modules is the same or different.
4. The power management chip according to claim 1, wherein the power supply module at least includes a power supply module for powering an artificial intelligence processing unit.
5. A power supply control method, comprising: Receiving a power control instruction, wherein the power control instruction includes a power supply object identifier and power supply demand data; Determining a power supply instruction based on the power supply demand data; Sending the power supply instruction to a target power supply module, wherein the target power supply module can supply power to the object corresponding to the power supply object identifier; The target power supply module controls the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction.
6. The power supply control method according to claim 5, wherein the receiving the power control instruction includes: Receiving a power control instruction of a first protocol, wherein the power control instruction of the first protocol is an instruction determined by the central processing unit based on the working state of the device; The method further includes: Receiving a configuration instruction of a second protocol, and updating the power management logic based on the configuration instruction, wherein the first protocol and the second protocol are different.
7. The power supply control method according to claim 5, wherein the target power supply module is connected with multiple power supply drive lines, and the determining the power supply instruction based on the power supply demand data includes: Determining a demand power based on the power supply demand data in the power control instruction; Determining instruction data based on the demand power, so that the power supply power supplied according to the instruction data matches the demand power, and the instruction data includes at least one of the following: the number of power supply phases, the power supply voltage, and the power supply current; Generating a power supply instruction based on the instruction data.
8. The power supply control method according to claim 5, wherein the power supply demand data includes a power supply required time, and the target power supply module controls the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the power supply instruction, including: The target power supply module operates based on the power supply instruction and the power supply required time, so as to output a power supply current and a power supply voltage corresponding to the power supply demand data within the power supply required time.
9. The power supply control method according to claim 5, wherein the object corresponding to the power supply object identifier is an artificial intelligence processing unit.
10. An electronic device, comprising a power management chip, the power management chip including a pulse width modulation processor and at least one power supply module; wherein, The pulse width modulation processor is configured to: receive a power supply control instruction, determine a power supply instruction based on the power supply demand data in the power supply control instruction, and forward the power supply instruction to the corresponding power supply module, the power supply control instruction including a power supply object identifier, so that the pulse width modulation processor determines the power supply module to which the power supply instruction needs to be sent; if there is more than one power supply module, different power supply modules are used to control the power supply to different functional units of the central processing unit; The power supply module is configured to: receive the power supply instruction sent by the pulse width modulation processor, and control the output of a corresponding power supply current and power supply voltage based on the power supply parameters in the received power supply instruction.