Power consumption control method and device of board card and board card

By establishing the correlation between the total power consumption of the board and the output voltage of the voltage conversion device, and using an optimization algorithm to optimize the output voltage of the voltage conversion device, the insufficient overall power consumption optimization capability in complex board scenarios is solved, and global power consumption reduction is achieved.

CN122044334APending Publication Date: 2026-05-15HUNAN HANBOWEI MICROELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610128202.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-01-29
Publication Date
2026-05-15

AI Technical Summary

Technical Problem

Existing technologies are insufficient in optimizing the overall power consumption of boards in complex board scenarios, and cannot effectively reduce the total power consumption of multiple voltage conversion devices.

Method used

By obtaining the total operating current of the board and the output voltage of each voltage conversion device, the correlation between total power consumption and output voltage is established. An optimization algorithm is then used to optimize the output voltage of each voltage conversion device under the condition of satisfying voltage constraints, so as to reduce total power consumption.

Benefits of technology

It achieves systemic power consumption optimization at the board level, comprehensively reduces the total power consumption of the board, and solves the problem of insufficient overall power consumption optimization capability of existing technologies in complex board scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122044334A_ABST
    Figure CN122044334A_ABST
Patent Text Reader

Abstract

The invention relates to a power consumption control method and device of a board card, the board card, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring the total working current of a board card and the output voltage of each piece of voltage conversion equipment on the board card under the condition that the board card runs; determining an association relationship between the output voltage of each voltage conversion device and the total power consumption of the board card according to the total working current and each output voltage; under the condition that a preset voltage constraint condition is met, the incidence relation is solved by taking reduction of total power consumption as an optimization target, and the output voltage of each voltage conversion device is adjusted according to a solving result. According to the technical scheme provided by the invention, the output of all voltage conversion equipment on the board card can be comprehensively optimized, so that the total power consumption of the board card is reduced on the global level, and the technical problem that the overall power consumption optimization capability is insufficient in a complex board card scene in the prior art is effectively solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a power consumption control method, apparatus, board, computer-readable storage medium, and computer program product for a circuit board. Background Technology

[0002] In terms of power consumption control for circuit boards, a common approach is to dynamically adjust the core power supply voltage of the main chip (such as the central processing unit or graphics processing unit) to optimize power consumption. This approach monitors the operating status of the main chip and appropriately reduces the core power supply voltage when its load is low, thereby improving the energy efficiency of the circuit board.

[0003] However, with the continuous improvement of circuit board integration, a single circuit board often integrates a large number of loads with different functions, and is correspondingly configured with multiple voltage conversion devices of different specifications to power these loads. For such circuit boards with complex circuits and a wide variety of power supplies, the above-mentioned method of adjusting the core power supply voltage of a single or a few main chips has limitations in its ability to optimize the overall power consumption of the circuit board.

[0004] Therefore, how to implement a more comprehensive and effective board-level power consumption optimization method to overcome the problem that existing technologies are insufficient in optimizing the overall power consumption of boards in complex board scenarios has become an urgent technical challenge. Summary of the Invention

[0005] Therefore, it is necessary to provide a power consumption control method, device, board, computer-readable storage medium, and computer program product for board cards to efficiently optimize the overall power consumption of board cards in complex board card scenarios, in order to address the above-mentioned technical problems.

[0006] In a first aspect, this application provides a power consumption control method for a circuit board, the method being applied to the circuit board including multiple voltage conversion devices, the method comprising:

[0007] When the board is in operation, the total operating current of the board and the output voltage of each voltage conversion device on the board are obtained;

[0008] Based on the total operating current and each of the output voltages, determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board;

[0009] Under the premise of satisfying the preset voltage constraints, the correlation relationship is solved with the optimization objective of reducing the total power consumption, and the output voltage of each voltage conversion device is adjusted according to the solution result.

[0010] In one embodiment, determining the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each of the output voltages includes:

[0011] Obtain the total operating voltage of the board;

[0012] A first functional relationship is determined based on the total operating current and the output voltage of each voltage conversion device; wherein, the first functional relationship is used to characterize the mapping relationship between the total operating current and the output voltage of each voltage conversion device;

[0013] Calculate the product between the total operating voltage and the first functional relationship, determine the second functional relationship based on the product, and use the second functional relationship as the correlation relationship.

[0014] In one embodiment, a first functional relationship is determined based on the total operating current and the output voltage of each of the voltage conversion devices, including:

[0015] Obtain the preset current-voltage model;

[0016] The current-voltage model is fitted with parameters based on the total operating current and the output voltage of each voltage conversion device, and the model parameters in the current-voltage model are solved.

[0017] The first functional relationship is determined based on the current-voltage model and the model parameters.

[0018] In one embodiment, the step of solving the correlation relationship with the optimization objective of reducing the total power consumption while satisfying preset voltage constraints, and adjusting the output voltage of each voltage conversion device based on the solution result, includes:

[0019] Under the condition of satisfying the voltage constraint, the second functional relationship is solved with the optimization objective of minimizing the total power consumption in order to determine the target output voltage value of each voltage conversion device;

[0020] The output voltage of each of the voltage conversion devices is adjusted to the target output voltage value.

[0021] In one embodiment, at least one of the plurality of voltage conversion devices is a first voltage conversion device, and the remaining voltage conversion devices are second voltage conversion devices. The output voltage of the first voltage conversion device is a first output voltage, which is used to power each of the second voltage conversion devices.

[0022] The voltage constraint conditions include:

[0023] The voltage value of the first output voltage is within a first preset voltage value range; wherein, the upper limit of the first preset voltage value range is the minimum value among the maximum allowable input voltages of each of the second voltage conversion devices, and the lower limit of the first preset voltage value range is the maximum value among the minimum allowable input voltages of each of the second voltage conversion devices.

[0024] In one embodiment, the board further includes multiple loads, and the output voltage of the second voltage conversion device is a second output voltage, which is used to supply power to each load one-to-one;

[0025] The voltage constraint condition also includes:

[0026] The voltage value of the second output voltage is within a second preset voltage value range; wherein, the upper limit of the second preset voltage value range is the maximum supply voltage of the corresponding load, and the lower limit of the second preset voltage value range is the minimum supply voltage of the load.

[0027] Secondly, this application also provides a power consumption control device for a circuit board, the device being applied to the circuit board including multiple voltage conversion devices, the device comprising:

[0028] The acquisition module is used to acquire the total operating current of the board and the output voltage of each voltage conversion device on the board when the board is running;

[0029] The determination module is used to determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each of the output voltages;

[0030] The adjustment module is used to solve the correlation relationship with the optimization goal of reducing the total power consumption while meeting the preset voltage constraints, and adjust the output voltage of each voltage conversion device according to the solution results.

[0031] Thirdly, this application also provides a circuit board, including:

[0032] Multiple voltage conversion devices;

[0033] A sampling device is used to sample the total operating current of the board and the output voltage of each of the voltage conversion devices;

[0034] A control device, connected to the sampling device and each of the voltage conversion devices respectively, is used to perform the steps of the method described in any one of the first aspects above.

[0035] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described in any one of the first aspects above.

[0036] Fifthly, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described in any one of the first aspects above.

[0037] The aforementioned power consumption control method, apparatus, board, computer-readable storage medium, and computer program product for the aforementioned board obtain the total operating current of the board and the output voltage of each voltage conversion device on the board, and establish the correlation between the total power consumption of the board and each output voltage accordingly. Then, under the premise of satisfying voltage constraints, the correlation is solved with the optimization objective of reducing total power consumption. Based on the solution results, the output voltage of each voltage conversion device is adjusted collaboratively, achieving systemic power consumption optimization at the board level. Compared with existing technologies that only independently adjust the core power supply voltage of a few core loads such as the main chip to achieve board power consumption control, the technical solution provided in this application can comprehensively optimize the output of all voltage conversion devices on the board, thereby reducing the total power consumption of the board at the global level. This effectively solves the technical problem of insufficient overall power consumption optimization capability of existing technologies in complex board scenarios. Attached Figure Description

[0038] To more clearly illustrate the technical solutions in the embodiments of this application or related technologies, the drawings used in the description of the embodiments of this application or related technologies will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 This is a flowchart illustrating the power consumption control method of a board in one embodiment;

[0040] Figure 2 This is a flowchart illustrating the power consumption control method for the board in another embodiment;

[0041] Figure 3 This is a flowchart illustrating the power consumption control method for the board in yet another embodiment;

[0042] Figure 4 This is a schematic diagram of the power consumption control device of a board in one embodiment;

[0043] Figure 5 This is a schematic diagram of the board structure in one embodiment;

[0044] Figure 6This is a schematic diagram of the board structure in another embodiment. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0046] It should be noted that the terms "first," "second," etc., used in this application can be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish the first element from the second element. The terms "comprising" and "having," and any variations thereof, used in this application, are intended to cover non-exclusive inclusion. The term "multiple" used in this application refers to two or more. The term "and / or" used in this application refers to one of the embodiments, or any combination of multiple embodiments.

[0047] In one exemplary embodiment, a power consumption control method for a circuit board is provided. This method is applied to a circuit board including multiple voltage conversion devices and multiple loads. To meet the power supply requirements of different loads, each voltage conversion device on the circuit board supplies power to a different load. The voltage conversion devices on the circuit board are connected to the loads, and each voltage conversion device converts its input voltage to meet the power supply requirements of the connected load. As an example, the loads on the circuit board can be a central processing unit, a graphics processing unit, memory, a field-programmable gate array (FPGA), an application-specific integrated circuit (ASIC), and various interface controllers, but are not limited thereto. As an example, the voltage conversion devices can be DC-DC converters, switching power supplies, etc., but are not limited thereto.

[0048] The board also includes a control device connected to each voltage conversion device to control it. As an example, the control device could be a microcontroller, microprocessor, system-on-a-chip, or programmable logic device on the board, but is not limited to these. The method will be illustrated using an example of its application to the control device on the board. Figure 1 As shown, the method includes the following steps S110 to S130. Wherein:

[0049] S110: When the board is running, obtain the total operating current of the board and the output voltage of each voltage conversion device on the board.

[0050] Specifically, the board is powered on and operates based on the power supply of an external power source. During the operation of the board, the control device obtains the total operating current of the board, which is the output current of the external power supply, i.e., the input current of the board. The control device also obtains the output voltage of each voltage conversion device on the board.

[0051] There are various ways to obtain the total operating current. In some embodiments, a sampling device is installed on the board to obtain the total operating current. This sampling device can be connected between the external power supply and the board, and connected to a control device. The sampling device is used to sample the total operating current and transmit the corresponding signal to the control device. As an example, the sampling device may specifically include a sampling resistor and an analog-to-digital converter (ADC). The sampling resistor is connected in series between the external power supply and the board. The voltage drop across the sampling resistor reflects the total operating current. The ADC converts the analog signal collected by the sampling resistor into a digital signal that the control device can recognize, and sends the digital signal to the control device. The control device obtains the voltage drop across the sampling resistor and determines the total operating current based on the resistance value of the sampling resistor and the voltage drop across it.

[0052] There are various ways to obtain the output voltage of each voltage conversion device on the board. In some embodiments, each voltage conversion device is connected to a control device, and each voltage conversion device has its own integrated digital communication function. The control device can directly obtain the output voltage of each voltage conversion device through the connection with each voltage conversion device.

[0053] S120: Based on the total operating current and each output voltage, determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board.

[0054] Specifically, after acquiring the operating current and each output voltage, the control device determines the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each output voltage.

[0055] The output voltage of the external power supply to the board is its rated value, meaning the total operating voltage of the board is also its rated value. Therefore, when the total operating voltage of the board is stable, the total power consumption of the board mainly depends on the total operating current of the board. This total operating current is closely related to the operating conditions of all loads, which in turn are affected by their supply voltages (i.e., the output voltages of each voltage conversion device). Therefore, establishing a correlation aims to determine a mathematical model or empirical relationship to describe the total power consumption corresponding to specific values ​​of each input voltage.

[0056] The specific form of the correlation can be diverse. As an example, the correlation can be an analytical function derived from circuit principles, an empirical formula or lookup table obtained by fitting a large amount of experimental data, or a predictive model trained based on machine learning algorithms. As long as it can describe the relationship between the output voltage of each voltage conversion device and the total power consumption of the board.

[0057] S130: Under the premise of satisfying the preset voltage constraints, solve the correlation relationship with the optimization goal of reducing the total power consumption, and adjust the output voltage of each voltage conversion device according to the solution results.

[0058] Specifically, the control device acquires preset voltage constraints, solves for correlations with the optimization objective of reducing total power consumption while satisfying the preset voltage constraints, and adjusts the output voltage of each voltage conversion device based on the solution results. The voltage constraints are used to ensure that all electronic components on the board operate within the allowable voltage range. It is understood that the output voltage of the voltage conversion device should continuously meet the voltage constraints. In some embodiments, the voltage constraints may be predetermined by those skilled in the art and stored in the storage space of the control device, which then retrieves the voltage constraints from its storage space. As an example, the voltage constraints may be that the output voltage of each voltage conversion device is maintained within the safe operating voltage range of the voltage conversion device.

[0059] After determining the correlation between the output voltage of each voltage conversion device and the total power consumption of the board, and obtaining the voltage constraints, the control device uses a preset optimization algorithm to solve for the correlation with the goal of reducing total power consumption, obtaining a set of voltage values. Specifically, after adjusting the output voltage of each voltage conversion device, the total power consumption of the board is lower than the total power consumption of the board before the adjustment. The control device adjusts the output voltage of each voltage conversion device based on the calculated set of voltage values. As an example, the optimization algorithm can be gradient descent, genetic algorithm, simulated annealing, or sequential quadratic programming, etc. The specific type can be selected according to the computing power of the control device and is not limited here.

[0060] In one embodiment, under the condition of satisfying the preset voltage constraint, the correlation relationship is solved with the goal of reducing the total power consumption, and the correlation relationship is solved with the goal of minimizing the total power consumption.

[0061] After obtaining the solution results, the control device adjusts the output voltage of each voltage conversion device based on its connection with each voltage conversion device. In some embodiments, the control device is connected to the control port of the voltage conversion device. The control device generates a corresponding voltage adjustment command based on the solution results and sends the voltage adjustment command to the control port of the corresponding voltage conversion device. The voltage adjustment command is used to adjust the output voltage value of the voltage conversion device. After receiving the control command, the voltage conversion device adjusts its own output voltage to the voltage value indicated by the control command.

[0062] The aforementioned power consumption control method, apparatus, board, computer-readable storage medium, and computer program product for the aforementioned board obtain the total operating current of the board and the output voltage of each voltage conversion device on the board, and establish the correlation between the total power consumption of the board and each output voltage accordingly. Then, under the premise of satisfying voltage constraints, the correlation is solved with the optimization objective of reducing total power consumption. Based on the solution results, the output voltage of each voltage conversion device is adjusted collaboratively, achieving systemic power consumption optimization at the board level. Compared with existing technologies that only independently adjust the core power supply voltage of a few core loads such as the main chip to achieve board power consumption control, the technical solution provided in this application can comprehensively optimize the output of all voltage conversion devices on the board, thereby reducing the total power consumption of the board at the global level. This effectively solves the technical problem of insufficient overall power consumption optimization capability of existing technologies in complex board scenarios.

[0063] In some of these embodiments, reference is made to Figure 2 S120 includes the following S210 to S230. Wherein:

[0064] S210: Obtain the total operating voltage of the board.

[0065] S220: Determine the first functional relationship based on the total operating current and the output voltage of each voltage conversion device.

[0066] The first functional relationship is used to characterize the mapping relationship between the total operating current and the output voltage of each voltage conversion device.

[0067] S230: Calculate the product between the total operating voltage and the first functional relationship, determine the second functional relationship based on the product, and use the second functional relationship as the correlation relationship.

[0068] Specifically, the control device obtains the total operating voltage of the board, which is the output voltage of the external power supply that powers the board. This total operating voltage is the rated value. As an example, since the total operating voltage is the rated value, the voltage value can be pre-stored in the control device's storage space, and the control device obtains the total operating voltage of the board by direct access. In another embodiment, the control device can also obtain the total operating voltage based on a sampling device. For example, the sampling device can be set to be connected in parallel with the external power supply, and the control device obtains the total operating voltage from the sampling device.

[0069] The control device determines a first functional relationship based on the total operating current and the output voltage of each voltage conversion device. This first functional relationship characterizes the mapping relationship between the total operating current of the board and the output voltage of each voltage conversion device. The first functional relationship uses each output voltage as an independent variable, and its function value predicts or corresponds to the total operating current. The first functional relationship can be established in various ways, such as through theoretical analysis and circuit modeling of the board, or by using data-driven methods such as curve fitting and regression analysis based on multiple sets of collected current and voltage data.

[0070] In some embodiments, the output voltages of the n voltage conversion devices on the board are represented as V1, V2, ..., Vn, and the total operating current of the board is represented as I. Then the first functional relationship can be expressed as I = f(V1, V2, ..., Vn).

[0071] After determining the first functional relationship, the control device multiplies the total operating voltage of the board by the first functional relationship to obtain the product. Based on this product, a second functional relationship is determined and established as the correlation. It can be understood that the total power consumption of the board is physically equal to the product of the total operating voltage and the total operating current. Since the total operating current of the board is currently expressed using the first functional relationship, the second functional relationship, obtained by multiplying the total operating voltage of the board by the first functional relationship, can describe the correlation between the total power consumption of the board and the output voltage of each voltage conversion device.

[0072] In some embodiments, the output voltages of the n voltage conversion devices on the board are represented as V1, V2, ..., Vn, the total operating current of the board is represented as I, the total operating voltage of the board is represented as V, and the total power consumption of the board is represented as P. Then the second functional relationship can be expressed as P=I×f(V1, V2, ..., Vn).

[0073] In this embodiment, the total power consumption of the board is explicitly expressed as a function of each output voltage, making the optimization objective (i.e., reducing total power consumption) clear and easy to handle. The abstract optimization objective of reducing total power consumption is transformed into a problem of finding the extremum of a specific mathematical function, improving the operability of the entire power consumption control process.

[0074] In some embodiments, S220 includes the following steps.

[0075] Obtain the preset current-voltage model; perform parameter fitting on the current-voltage model based on the total operating current and the output voltage of each voltage conversion device, and solve for the model parameters in the current-voltage model; determine the first functional relationship based on the current-voltage model and the model parameters.

[0076] Specifically, the control device acquires a preset current-voltage model, which is a theoretical framework for characterizing how the total operating current changes with each output voltage. After acquiring the total operating current and the output voltages of each voltage conversion device, the control device determines the model parameters in the current-voltage model based on parameter fitting, thereby obtaining a first functional relationship based on the current-voltage model and the determined model parameters. The current-voltage model can be predetermined by those skilled in the art and stored in the storage space of the control device, which can then directly access the current-voltage model. As an example, the current-voltage model can be a polynomial model containing each output voltage and its cross terms, the order of which can be determined according to accuracy requirements. In another example, the current-voltage model can also be an analytical expression derived from Kirchhoff's laws and component characteristics after simplifying the board load circuit.

[0077] As an example, if the first functional relationship is a multivariate linear function, then the current-voltage model can be expressed as a multivariate linear function. For a board containing n voltage conversion devices, the output voltages of the n voltage conversion devices are represented as V1, V2, ..., Vn, and the total operating current of the board is represented as I. Then the current-voltage model can be expressed as I = β0 + β1 × V1 + β2 × V2 + β3 × V3 + ... + βn × Vn, where β0, β1, ..., βn are the model parameters of the current-voltage model.

[0078] Control devices can perform parameter fitting in various ways. The goal of parameter fitting is to find a set of model parameters that minimizes the error between the calculated output of the current-voltage model and the actual measured total operating current. As an example, control devices can perform parameter fitting using algorithms such as least squares, gradient descent, and genetic algorithms.

[0079] In this embodiment, the preset current-voltage model provides structure and direction for establishing the first functional relationship, avoiding completely blind searching. Parameter fitting based on real-time data enables the current-voltage model to adapt to the specific characteristics of the board, thereby ensuring that the established correlation can more accurately reflect the actual working condition of the current board, providing a reliable foundation for subsequent precise optimization.

[0080] In some of these embodiments, reference is made to Figure 3 S130 includes the following S310 to S320. Wherein:

[0081] S310: Under the condition of satisfying the voltage constraint, solve the second functional relationship with the optimization objective of minimizing the total power consumption to determine the target output voltage value of each voltage conversion device.

[0082] S320: Adjust the output voltage of each voltage conversion device to the target output voltage value.

[0083] Specifically, the control device uses the second functional relationship as the objective function. Within a multidimensional closed interval defined by the voltage constraints, it solves the second functional relationship with the optimization objective of minimizing total power consumption. It then searches for combinations of independent variables that minimize the global or local minimum value of the second functional relationship, calculating the target output voltage value for each voltage conversion device. In some embodiments, both the second functional relationship and the voltage constraints are linear. In this case, the control device can determine the target output voltage value for each voltage conversion device based on a linear programming algorithm.

[0084] After determining the target output voltage value of each voltage conversion device, the control device generates corresponding control commands based on the target output voltage value of each voltage conversion device, and sends these control commands to the corresponding voltage conversion devices based on the connection with each voltage conversion device, adjusting the output voltage of the voltage conversion device to the target output voltage value.

[0085] In this embodiment, the output voltage of each voltage conversion device is adjusted to the target output voltage value. When the output voltage of each voltage conversion device is the target output voltage value, the total power consumption of the board is the minimum total power consumption under the current operating conditions, thereby achieving efficient power consumption control of the board and reducing the total power consumption of the board at the global level.

[0086] In some embodiments, at least one of the multiple voltage conversion devices is a first voltage conversion device, and the remaining voltage conversion devices are second voltage conversion devices. The output voltage of the first voltage conversion device is a first output voltage, which is used to power each of the second voltage conversion devices. Voltage constraints include:

[0087] The voltage value of the first output voltage is within the first preset voltage value range.

[0088] The upper limit of the first preset voltage range is the minimum value among the maximum allowable input voltages of each second voltage conversion device, and the lower limit of the first preset voltage range is the maximum value among the minimum allowable input voltages of each second voltage conversion device.

[0089] Specifically, voltage constraints can be adaptively set based on the specifications of each voltage conversion device on the board. In some embodiments, among the multiple voltage conversion devices on the board, at least one is defined as a first voltage conversion device, and the remaining voltage conversion devices are second conversion devices. The output voltage of the first voltage conversion device is a first output voltage, which is used to power each of the second voltage conversion devices. In this hierarchical architecture, the first voltage conversion device is connected to multiple second voltage conversion devices.

[0090] To ensure that all second voltage conversion devices operate stably within their nominal input voltage range, the set voltage constraints include ensuring that the first output voltage value is within a first preset voltage range. The first preset voltage range is determined based on the electrical characteristics of the second voltage conversion devices connected to the first voltage conversion device. Specifically, the upper limit of the first preset voltage range is the minimum of the maximum permissible input voltages of each second voltage conversion device, and the lower limit of the first preset voltage range is the maximum of the minimum permissible input voltages of each second voltage conversion device.

[0091] In some embodiments, the control device stores the allowable input voltage range of each second voltage conversion device, which can be determined according to the datasheet of each second voltage conversion device. The control device acquires the allowable input voltage range of each second voltage conversion device and determines the maximum and minimum allowable input voltage of each second voltage conversion device. Among the multiple maximum allowable input voltages, the control device determines the minimum value of the multiple maximum allowable input voltages as the upper limit of a first preset voltage value range, and among the multiple minimum allowable input voltages, the control device determines the maximum value of the multiple minimum allowable input voltages as the lower limit of the first preset voltage value range.

[0092] In this embodiment, considering the hierarchical architecture of each voltage conversion device on the board, voltage constraints are determined based on the electrical characteristics of each second voltage conversion device. When adjusting the output voltage of each voltage conversion device, it is ensured that the output voltage of the preceding voltage conversion device can meet the input requirements of the following voltage conversion device, thus ensuring that the actual operation of the board is not affected when the power consumption of the board is actually controlled.

[0093] In some embodiments, the board further includes multiple loads, and the output voltage of the second voltage conversion device is a second output voltage used to power each load one-to-one. Voltage constraints also include:

[0094] The voltage value of the second output voltage is within the second preset voltage value range.

[0095] The upper limit of the second preset voltage range is the maximum supply voltage of the corresponding load, and the lower limit of the second preset voltage range is the minimum supply voltage of the load.

[0096] Specifically, the voltage constraints can be further determined based on the power supply requirements of each load on the board, which typically includes multiple loads requiring independent power. These loads are powered one-to-one by corresponding second voltage conversion devices, with the second output voltage from the second voltage conversion device directly applied to the corresponding load as its supply voltage. As an example, the load can be an actual functional device, such as a central processing unit, graphics processing unit, memory, various interface controllers, etc. In another example, the load can also be an integrated circuit that integrates a voltage conversion device.

[0097] To ensure that each load operates normally within the specified voltage range and to prevent malfunctions due to undervoltage or permanent damage due to overvoltage, the voltage constraint also includes ensuring that the second output voltage value is within a second preset voltage range. This second preset voltage range is determined adaptively based on the actual power supply requirements of each load. Specifically, the upper limit of the second preset voltage range is the maximum supply voltage of the corresponding load, and the lower limit is the minimum supply voltage of the load.

[0098] In some embodiments, the control device stores the supply voltage range of each load, which can be determined according to the datasheet of each load. The control device acquires the supply voltage range of each load, determines the maximum and minimum supply voltage of each load, and thereby determines the second preset voltage value range in the voltage constraint conditions corresponding to the second voltage conversion device connected to the load.

[0099] In this embodiment, the actual power supply requirements of each load on the board are considered, and voltage constraints are further determined based on the actual power supply requirements of each load. When adjusting the output voltage of each voltage conversion device, it is ensured that the actual power supply requirements of each load are met, and the actual operation of the board is not affected when the power consumption of the board is actually controlled.

[0100] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages in other steps. It is understood that the steps in different embodiments can be freely combined as needed, and all non-contradictory solutions formed by such combinations are within the scope of protection of this application.

[0101] Based on the same inventive concept, this application also provides a power consumption control device for implementing the power consumption control method for the board described above. The solution provided by this device is similar to the implementation described in the above method. Therefore, the specific limitations of one or more power consumption control device embodiments for the board provided below can be found in the limitations of the power consumption control method for the board described above, and will not be repeated here.

[0102] In one exemplary embodiment, such as Figure 4 As shown, a power consumption control device for a circuit board is provided. This device is applied to a circuit board including multiple voltage conversion devices. The device includes: an acquisition module 401, a determination module 402, and an adjustment module 403. Wherein:

[0103] The acquisition module 401 is used to acquire the total operating current of the board and the output voltage of each voltage conversion device on the board when the board is running.

[0104] The determination module 402 is used to determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each output voltage;

[0105] The adjustment module 403 is used to solve the correlation relationship with the goal of reducing total power consumption while meeting the preset voltage constraints, and adjust the output voltage of each voltage conversion device according to the solution results.

[0106] In some embodiments, the determining module 402 is further configured to:

[0107] Obtain the total operating voltage of the board; determine the first functional relationship based on the total operating current and the output voltage of each voltage conversion device; wherein the first functional relationship is used to characterize the mapping relationship between the total operating current and the output voltage of each voltage conversion device; calculate the product between the total operating voltage and the first functional relationship, determine the second functional relationship based on the product, and use the second functional relationship as the correlation relationship.

[0108] In some embodiments, the determining module 402 is further configured to:

[0109] Obtain the preset current-voltage model; perform parameter fitting on the current-voltage model based on the total operating current and the output voltage of each voltage conversion device, and solve for the model parameters in the current-voltage model; determine the first functional relationship based on the current-voltage model and the model parameters.

[0110] In some embodiments, the adjustment module 403 is further configured to:

[0111] Under the condition of satisfying the voltage constraint, the second functional relationship is solved with the goal of minimizing the total power consumption to determine the target output voltage value of each voltage conversion device; the voltage value of the output voltage of each voltage conversion device is adjusted to the target output voltage value.

[0112] In some embodiments, at least one of the multiple voltage conversion devices is a first voltage conversion device, and the remaining voltage conversion devices are second voltage conversion devices. The output voltage of the first voltage conversion device is a first output voltage, which is used to power each of the second voltage conversion devices. Voltage constraints include:

[0113] The voltage value of the first output voltage is within a first preset voltage value range; wherein, the upper limit of the first preset voltage value range is the minimum value among the maximum allowable input voltages of each second voltage conversion device, and the lower limit of the first preset voltage value range is the maximum value among the minimum allowable input voltages of each second voltage conversion device.

[0114] In some embodiments, the board further includes multiple loads, and the output voltage of the second voltage conversion device is a second output voltage used to power each load one-to-one. Voltage constraints also include:

[0115] The voltage value of the second output voltage is within the second preset voltage value range; wherein, the upper limit of the second preset voltage value range is the maximum supply voltage of the corresponding load, and the lower limit of the second preset voltage value range is the minimum supply voltage of the load.

[0116] In one exemplary embodiment, such as Figure 5As shown, a circuit board is provided, which includes a sampling device 501, a control device 502, and multiple voltage conversion devices 503. The control device 502 is connected to the sampling device 501 and each voltage conversion device 503. The sampling device 501 is used to sample the total operating current of the circuit board and the output voltage of each voltage conversion device 503, and the control device 502 is used to execute the steps in the above-described method embodiments.

[0117] Specifically, the board includes multiple voltage conversion devices 503, which are connected to an external power supply 505 to convert the output voltage of the external power supply 505 into a supply voltage suitable for the load 504. A sampling device 501 is connected to each voltage conversion device 503 to collect the output voltage of the voltage conversion device 503. Simultaneously, the sampling device 501 is also connected between the external power supply 505 and the multiple voltage conversion devices 503 to collect the total operating voltage of the board. A control device 502 is connected to the sampling device 501 and to each voltage conversion device 503. The control device 502 executes the steps in the above method embodiments to control the total power consumption of the board. As an example, the control device 502 is connected to each voltage conversion device 503 and the sampling device 501 via an I2C (Inter-Integrated Circuit) bus. As an example, the voltage conversion device 503 can be a DC-DC converter, a switching power supply, etc., but is not limited to these. As an example, load 504 may be a central processing unit, graphics processing unit, memory, field-programmable gate array, application-specific integrated circuit, and various interface controllers, but is not limited thereto. As an example, control device 502 may be a microcontroller, microprocessor, system-on-a-chip, or programmable logic device mounted on a board, but is not limited thereto.

[0118] In some embodiments, refer to Figure 6 The board includes a first voltage conversion device 506 and multiple second voltage conversion devices 507. The first voltage conversion device 506 is connected to an external power supply 505, and each of the multiple second voltage conversion devices 507 is connected to the first voltage conversion device 506. Each second voltage conversion device 507 is connected to a corresponding load 504. In this case, the first voltage conversion device 506 converts the output voltage from the external power supply 505 to power each of the second voltage conversion devices 507. Each of the second voltage conversion devices 507 then converts the output voltage of the first voltage conversion device 506 to power its corresponding load 504. A control device 502 is connected to both the first voltage conversion device 506 and the multiple second voltage conversion devices 507. The control device 502 is used to execute the steps in the above-described method embodiments.

[0119] In some embodiments, continue to refer to Figure 6 The sampling device 501 includes a sampling resistor 508 and an analog-to-digital converter 509. The sampling resistor 508 is connected in series between the external power supply 505 and the first voltage conversion device 506, and is also connected to the analog-to-digital converter 509. The analog-to-digital converter 509 is connected to the first voltage conversion device 506 and each of the second voltage conversion devices 507. The analog-to-digital converter 509 is connected to a control device 502, which is used to execute the steps in the above-described method embodiments. In this embodiment, the voltage drop across the sampling resistor 508 reflects the total operating current. The analog-to-digital converter 509 converts the analog signal collected by the sampling resistor 508 into a digital signal recognizable by the control device 502 and sends this digital signal to the control device 502. The control device 502 obtains the voltage drop across the sampling resistor 508 and determines the total operating current based on the resistance value of the sampling resistor 508 and the voltage drop across it. Meanwhile, the analog-to-digital converter 509 also collects the output voltages of the first voltage conversion device 506 and each of the second voltage conversion devices 507, converts the collected analog signals into digital signals, and sends the digital signals to the control device 502. The control device 502 obtains the output voltages of the first voltage conversion device 506 and each of the second voltage conversion devices 507.

[0120] Those skilled in the art will understand that Figure 5 and Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the solution of this application and does not constitute a limitation on the board on which the solution of this application is applied. The specific board may include more or fewer components than shown in the figure, or combine certain components, or have different component arrangements.

[0121] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the steps in the above method embodiments.

[0122] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the steps in the above method embodiments.

[0123] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, artificial intelligence (AI) processors, etc., and are not limited to these.

[0124] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0125] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A power consumption control method for a circuit board, characterized in that, The method is applied to the board including multiple voltage conversion devices, and the method includes: When the board is in operation, the total operating current of the board and the output voltage of each voltage conversion device on the board are obtained; Based on the total operating current and each of the output voltages, determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board; Under the premise of satisfying the preset voltage constraints, the correlation relationship is solved with the optimization objective of reducing the total power consumption, and the output voltage of each voltage conversion device is adjusted according to the solution result.

2. The method according to claim 1, characterized in that, The step of determining the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each of the output voltages includes: Obtain the total operating voltage of the board; A first functional relationship is determined based on the total operating current and the output voltage of each voltage conversion device; wherein, the first functional relationship is used to characterize the mapping relationship between the total operating current and the output voltage of each voltage conversion device; Calculate the product between the total operating voltage and the first functional relationship, determine the second functional relationship based on the product, and use the second functional relationship as the correlation relationship.

3. The method according to claim 2, characterized in that, Based on the total operating current and the output voltage of each of the voltage conversion devices, a first functional relationship is determined, including: Obtain the preset current-voltage model; The current-voltage model is fitted with parameters based on the total operating current and the output voltage of each voltage conversion device, and the model parameters in the current-voltage model are solved. The first functional relationship is determined based on the current-voltage model and the model parameters.

4. The method according to claim 2, characterized in that, The process of solving the correlation relationship with the optimization objective of reducing the total power consumption while satisfying preset voltage constraints, and adjusting the output voltage of each voltage conversion device based on the solution results, includes: Under the condition of satisfying the voltage constraint, the second functional relationship is solved with the optimization objective of minimizing the total power consumption in order to determine the target output voltage value of each voltage conversion device; The output voltage of each of the voltage conversion devices is adjusted to the target output voltage value.

5. The method according to claim 1, characterized in that, At least one of the voltage conversion devices is a first voltage conversion device, and the remaining voltage conversion devices are second voltage conversion devices. The output voltage of the first voltage conversion device is a first output voltage, which is used to power each of the second voltage conversion devices. The voltage constraint conditions include: The voltage value of the first output voltage is within a first preset voltage value range; wherein, the upper limit of the first preset voltage value range is the minimum value among the maximum allowable input voltages of each of the second voltage conversion devices, and the lower limit of the first preset voltage value range is the maximum value among the minimum allowable input voltages of each of the second voltage conversion devices.

6. The method according to claim 5, characterized in that, The board also includes multiple loads, and the output voltage of the second voltage conversion device is a second output voltage, which is used to supply power to each load one-to-one. The voltage constraint condition also includes: The voltage value of the second output voltage is within a second preset voltage value range; wherein, the upper limit of the second preset voltage value range is the maximum supply voltage of the corresponding load, and the lower limit of the second preset voltage value range is the minimum supply voltage of the load.

7. A power consumption control device for a circuit board, characterized in that, The device is applied to the board including multiple voltage conversion devices, and the device includes: The acquisition module is used to acquire the total operating current of the board and the output voltage of each voltage conversion device on the board when the board is running; The determination module is used to determine the correlation between the output voltage of each voltage conversion device and the total power consumption of the board based on the total operating current and each of the output voltages; The adjustment module is used to solve the correlation relationship with the optimization goal of reducing the total power consumption while meeting the preset voltage constraints, and adjust the output voltage of each voltage conversion device according to the solution results.

8. A circuit board, characterized in that, The board includes: Multiple voltage conversion devices; A sampling device is used to sample the total operating current of the board and the output voltage of each of the voltage conversion devices; A control device, connected to the sampling device and each of the voltage conversion devices respectively, is used to perform the steps of the method according to any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.