Power supply control model training method, program, medium and equipment

By training the power control model and performing dynamic control based on the status data of the power module, the problem of efficient and low-cost power management in large-scale AI computing power supply scenarios is solved, and flexible adjustment of power supply and energy consumption optimization are achieved.

CN118655775APending Publication Date: 2024-09-17GUIZHOU ZHENHUA FENGGUANG SEMICON
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410670284.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing technology is difficult to achieve efficient and low-cost power management in large-scale AI computing power supply scenarios. Traditional methods have limitations in reducing energy consumption and improving efficiency, especially in meeting business needs while ensuring dynamic adjustment and control of power supply. There are challenges in cost control.

Method used

By training a power control model based on the status data (voltage, current, temperature and working status) of multiple power modules, using the input layer, hidden layer and output layer of the initial model, and combining the loss function to update parameters, Realize dynamic control of turning on and off the power module.

Benefits of technology

It realizes low-cost and efficient power management in large-scale AI computing power supply scenarios. By continuously monitoring the status of the power module, it optimizes the power supply method, reduces energy consumption and improves power utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118655775A
    Figure CN118655775A
Patent Text Reader

Abstract

The invention provides a training method of a power supply control model, the power supply control model is used for controlling on and off of a plurality of power supply modules, and the training method of the power supply control model comprises the following steps: S1, obtaining an initial model of the power supply control model, and initializing parameters of the initial model, the initial model comprises an input layer, a hidden layer and an output layer; s2, a training data set is constructed, each training data comprises state data of a plurality of power supply modules, the state data comprises voltage, current, temperature and working states, and the working states of the plurality of power supply modules serve as labels; and S3, training the initial model based on the training data set, and updating model parameters according to a preset loss function until the model converges. According to the invention, the power supply control model is obtained through training based on the state, opening and closing of the existing power supply module, and the technical problem of lack of an efficient and low-cost power supply management scheme in the prior art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of power management, and in particular to a training method, program, medium and equipment for a power control model. Background Art

[0002] As people's living standards improve, shared charging scenarios have become more and more common, such as shared charging piles. However, this scenario places higher demands on power management. Similarly, with the rapid development of artificial intelligence technology, AI computing power has become an indispensable part of modern electronic devices. However, the improvement of AI computing power is often accompanied by huge energy consumption and heat dissipation problems, which also places higher demands on power management.

[0003] Effective power management is one of the important issues that need to be considered first in integrated circuits. In particular, with the rise of the AI ​​industry, business scenarios have become more diverse, and special demands have been placed on the supply of green computing power, which requires responding to the national green energy strategy while meeting energy supply. Therefore, in the face of the above-mentioned large-scale energy consumption supply scenarios, how to achieve special management of power supplies and power supply circuits so that they can dynamically adjust the power supply mode as demand increases and decreases, and achieve cost reduction and efficiency improvement through optimization of power management while meeting applications, is a very challenging topic.

[0004] In order to achieve power management optimization, there are currently four commonly used methods in the industry: the first is the traditional energy-saving mode, that is, from the perspective of key chips, the performance of key chips such as CPU speed and bandwidth is reduced when not in use to save energy. However, this method is more effective for traditional small-scale systems. For large-scale demand scenarios for AI computing power, this part of power consumption only accounts for a small part of the total energy consumption, so the effect is limited; the second is to use the sleep mode from the perspective of the entire system when the device is not in use to suspend system computing activities. This method can greatly reduce power consumption, but the delay from sleep to wake-up will increase the delay of AI computing scenarios, and the certainty of the business cannot be guaranteed; the third is to use specific power management software and devices to adjust the power settings according to usage patterns and user preferences to improve power utilization efficiency, but the current power management software in the industry is diverse and difficult to unify, which will increase deployment costs in large-scale AI computing power power supply scenarios; the fourth is to start from the hardware itself and improve power efficiency through design, but with the development of technology, this method has reached its limit and is difficult to improve further.

[0005] In addition, as shown in patents CN115037160A and CN112803786B, the power efficiency can be improved by improving the transformer conversion efficiency in the RCC (vibration coil transformer) circuit. This method is mainly used in small-scale power application scenarios. For large-scale AI computing power application scenarios, the overall energy consumption is difficult to further reduce. In addition, patent CN117616503A designs a power management integrated circuit PMIC for memory modules under fault conditions or in response to fault conditions. The module can be used to detect fault information of the memory and effectively block the spread, thereby saving energy consumption and improving system safety. Therefore, there is still a need for an efficient and low-cost power management solution for large-scale AI computing power power supply scenarios. Summary of the invention

[0006] In view of the deficiencies in the prior art, the present invention provides a training method for a power control model, wherein the power control model is used to control the turning on and off of multiple power modules, which solves the problem that the existing power management solutions in the prior art are difficult to achieve high efficiency and low cost.

[0007] In a first aspect, according to an embodiment of the present invention, a training method for a power control model is provided, wherein the power control model is used to control the opening and closing of multiple power modules, and the training method for the power control model comprises: S1, obtaining an initial model of the power control model, and initializing the parameters of the initial model, wherein the initial model comprises an input layer, a hidden layer, and an output layer; S2, constructing a training data set, each training data comprising status data of multiple power modules, wherein the status data comprises voltage, current, temperature, and working status, wherein the working status of multiple power modules is used as a label; S3, training the initial model based on the training data set, and updating the model parameters according to a preset loss function until the model converges.

[0008] According to an embodiment of the present invention, the number of nodes in the input layer and the output layer is the same as the number of power modules.

[0009] According to an embodiment of the present invention, the loss function is:

[0010] J(t,y)=∑ y t y logEn y ,

[0011] Where y is any output node, t y is the label of the power module corresponding to any output node, En y is the current output of any output node.

[0012] According to an embodiment of the present invention, the power supply module is an oscillating coil converter or an active clamp forward converter or both.

[0013] In a second aspect, according to an embodiment of the present invention, a power control model is provided for controlling the turning on and off of multiple power modules based on status data of the multiple power modules. The power control model is trained using the method described in the first aspect, and the power control model includes an input layer, a hidden layer, and an output layer.

[0014] In a third aspect, according to an embodiment of the present invention, there is provided a power control system for controlling the opening and closing of multiple power modules based on status data of the multiple power modules, the power control system comprising: multiple power modules for providing voltage under the control of a power control module; multiple sensors for collecting status data of each power module and transmitting the collected data to the power control module, wherein the status data comprises voltage, current and temperature; the power control module comprises a power control model, the power control model controls the opening and closing of each power module based on the status data of the multiple power modules received from the multiple sensors, and the power control model is trained using the method described in the first aspect.

[0015] In a fourth aspect, according to an embodiment of the present invention, a computer program product is provided, wherein the computer program product comprises a computer program code, and when the computer program code runs on an electronic device, the electronic device executes the method as described in the first aspect.

[0016] In a fifth aspect, according to an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program can be executed by a processor to implement the steps of the method described in the first aspect.

[0017] In the sixth aspect, according to an embodiment of the present invention, an electronic device is provided, comprising: one or more processors; and a memory, wherein the memory is used to store executable instructions; and the one or more processors are configured to implement the steps of the method described in the first aspect by executing the executable instructions.

[0018] The technical principle of the present invention is: by continuously monitoring the status of multiple power modules (voltage, power supply and temperature, whether the power module is turned on or off) to obtain status data within a period of time, and based on this status data, establish a corresponding relationship between the status of multiple power modules (voltage, power supply and temperature) and whether the power module is turned on, so that in the subsequent process, the power module can be controlled to be turned on and off according to the current status of the power module.

[0019] Compared with the prior art, the present invention has the following beneficial effects: by adopting the working status data of the existing power module (including the on and off status of the power module) to train the power control model, it solves the technical problem of the lack of efficient and low-cost power management solutions in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 Flow chart of a method for training a power control model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0021] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0022] As described in the background art, the power management solutions in the prior art are either unable to perform effective management, or unable to perform targeted control, or the power management solutions are expensive. Figure 1 As shown, an embodiment of the present invention proposes a training method for a power control model, wherein the power control model is used to control the opening and closing of multiple power modules, and the training method for the power control model includes: S1, obtaining an initial model of the power control model, and initializing the parameters of the initial model, wherein the initial model includes an input layer, a hidden layer, and an output layer; S2, constructing a training data set, each training data includes state data of multiple power modules, wherein the state data includes voltage, current, temperature, and working state, wherein the working state of multiple power modules is used as a label; S3, training the initial model based on the training data set, and updating the model parameters according to a preset loss function until the model converges. Since the model training is performed based on the historical state data of multiple power modules, a targeted power control model (i.e., the corresponding relationship between the power module state and the opening or closing of the power module) is obtained, thereby realizing power management at low cost and high efficiency.

[0023] According to an embodiment of the present invention, the number of nodes in the input layer and the output layer is the same as the number of power modules.

[0024] According to an embodiment of the present invention, the loss function is:

[0025] J(t,y)=∑ y t y logEn y ,

[0026] Where y is any output node, t y is the label of the power module corresponding to any output node, En y is the current output of any output node. During the training process, the parameter updating methods include gradient descent, etc.

[0027] According to an embodiment of the present invention, the power supply module is an oscillating coil converter or an active clamp forward converter or both.

[0028] In detail, the data used in training are as follows.

[0029] Define the power supply unit set U(r,a)={r i |i=1,2,...n;a j |j=n+1,n+2,...K}, where r represents the RCC (oscillation coil converter) power supply unit, a represents the ACFC (active clamp forward converter) power supply unit, and the entire set has n RCC and Kn ACFC units.

[0030] Define the combination of data elements D(v,c,t) = {v i |i=1,2,...T;c i |i=1,2,...T;t i |i=1,2,...T, represents the voltage, current and temperature values ​​at the ith time point, T time points in total. For the entire system, we have

[0031] The voltage data is:

[0032]

[0033] The current data is:

[0034]

[0035] The temperature data is:

[0036]

[0037] The working status of the power module is:

[0038]

[0039] o is a binary set, representing the working state of the power supply unit (on or off). Based on all the above historical data, a training data set X = {x i |i=1,2,...}. Among them, each x i Including the voltage, current and power of all power modules at any time point. In addition, the on or off state of all power modules at any time point is used as a label. In addition, a part of the above data is selected as a training set, and the remaining part is used as a test set.

[0040] According to another embodiment of the present invention, there is provided a power control system for controlling the turning on and off of multiple power modules based on status data of the multiple power modules, the power control system comprising: multiple power modules for providing voltage under the control of a power control module; multiple sensors for collecting status data of each power module and transmitting the collected data to the power control module, wherein the status data comprises voltage, current and temperature; the power control module comprises a power control model, the power control model controls the turning on and off of each power module based on the status data of the multiple power modules received from the multiple sensors, and the power control model is trained using a training method for a power control model as described above.

[0041] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the purpose and scope of the technical solution of the present invention, which should be included in the scope of the claims of the present invention.

Claims

1. A training method for a power control model, wherein the power control model is used to control the opening and closing of multiple power modules, It is characterized in that The training method of the power control model includes: S1. Obtaining an initial model of a power control model and initializing parameters of the initial model, wherein the initial model includes an input layer, a hidden layer, and an output layer; S2. Construct a training data set, each training data includes status data of multiple power modules, wherein the status data includes voltage, current, temperature and working status, wherein the working status of the multiple power modules is used as a label; S3. Training the initial model based on the training data set, and updating model parameters according to a preset loss function until the model converges.

2. A method for training a power control model as claimed in claim 1, It is characterized in that The number of nodes in the input and output layers is the same as the number of power modules.

3. A method for training a power control model as claimed in claim 2, It is characterized in that The loss function is: J(t,y)=∑ y t y logEn y , Where y is any output node, t y is the label of the power module corresponding to any output node, En y is the current output of any output node.

4. A method for training a power control model as claimed in claim 1, It is characterized in that The power supply module is an oscillating coil converter or an active clamp forward converter or both.

5. A power control model for controlling the turning on and off of multiple power modules based on status data of the multiple power modules, It is characterized in that The power control model is trained by the method described in any one of claims 1 to 4, and the power control model includes an input layer, a hidden layer and an output layer.

6. A power control system for controlling the opening and closing of multiple power modules based on status data of the multiple power modules, It is characterized in that The power control system comprises: A plurality of power supply modules, used for providing voltage under the control of the power supply control module; Multiple sensors, used to collect status data of each power module and transmit the collected data to the power control module, wherein the status data includes voltage, current and temperature; The power control module includes a power control model, which controls the opening and closing of each power module based on the status data of the multiple power modules received from the multiple sensors, and the power control model is trained using the method described in any one of claims 1-4.

7. A computer program product, It is characterized in that The computer program product comprises a computer program code, and when the computer program code is run on an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 4.

8. A computer-readable storage medium, It is characterized in that A computer program is stored thereon, and the computer program can be executed by a processor to implement the steps of the method according to any one of claims 1 to 4.

9. An electronic device, It is characterized in that include: one or more processors; as well as A memory, wherein the memory is used to store executable instructions; The one or more processors are configured to implement the steps of the method of any one of claims 1 to 4 by executing the executable instructions.

Citation Information

Patent Citations

  • RCC circuit using hybrid semiconductor technology

    CN112803786B

  • High-efficiency satellite-borne phased-array antenna power supply assembly

    CN115037160A

  • Self-isolation of power management integrated circuits

    CN117616503A