Current Consumption Controller

A closed-loop control system on the expansion card adjusts current consumption based on real-time measurements, addressing inefficiencies in traditional power management by enabling faster and more efficient operation within specified power limits.

JP7822382B2Active Publication Date: 2026-03-02INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2023534185
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-15
Filing Date
2021-11-25
Publication Date
2026-03-02
Estimated Expiration
2041-11-25

AI Technical Summary

Technical Problem

Traditional expansion card power management schemes are slow and rely on estimated power consumption limits, often leading to inefficient operation and suboptimal performance due to external throttling mechanisms.

Method used

A closed-loop control system is implemented on the expansion card itself, using a current sensing circuit and controller to measure and adjust current consumption based on real-time differences, allowing for localized and rapid power management without relying on host device intervention.

Benefits of technology

Enables faster and more efficient power management, allowing expansion card components to operate at maximum current and power within specified limits, enhancing performance without altering voltage supply, and reducing the need for external host device involvement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007822382000001
    Figure 0007822382000001
  • Figure 0007822382000002
    Figure 0007822382000002
  • Figure 0007822382000003
    Figure 0007822382000003
Patent Text Reader

Abstract

A method and system for controlling current consumption by an electrical load on a first circuit board is described. In one example, a device on the first circuit board can measure a current drawn from a second circuit board by the electrical load on the first circuit board. The device can generate a control signal based on a current difference between the measured current and a target current. The control signal can represent a load control parameter. The device can apply the control signal to the electrical load on the first circuit board to adjust the current consumption by the electrical load.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] The present invention relates generally to circuits and circuit power management, for example, circuits, devices, systems and methods that can monitor the power consumption of an expansion card or circuit board. [Background technology]

[0002] Expansion cards (also known as expansion boards or expansion cards) can be used to enhance a computing system by adding various features to the system. For example, an expansion card can be plugged into a connector on a computer system's motherboard. The motherboard may include a power supply to provide power to the expansion card. The expansion card can be assigned a power consumption limit. In some examples, the motherboard can have specifications that limit the expansion card that is plugged in, such as limiting the current through the power and ground pins of the expansion card connector.

[0003] In traditional expansion card designs and card power management schemes, the expansion card's power consumption is estimated, and this estimation can be used to set limits specified by the motherboard's specifications. In some examples, software approaches are used to monitor the expansion card's current and power consumption, and if the current or power exceeds the limits specified by the specifications, the software can throttle functional units on the expansion card to reduce current and power consumption by the expansion card. For example, some power saving, power gating, power reduction, or low-power mode schemes can be managed by the operating system's power management software or through the basic input / output system (BIOS) running on the motherboard. However, such traditional power management schemes can be relatively slow. Furthermore, traditional management schemes are typically triggered by detecting that power consumption exceeds a limit (or current exceeds a current limit). Summary of the Invention

[0004] In one aspect of the invention, a device for controlling current consumption by an electrical load includes a current sensing circuit configured to measure a current drawn from a second circuit board by an electrical load on a first circuit board, the device further includes a controller configured to receive a current difference between the measured current and a target current and generate a control signal based on the current difference, the control signal representing a load control parameter, and apply the control signal to the electrical load on the first circuit board, wherein application of the control signal regulates the current consumption by the electrical load.

[0005] In some examples, the current sensing circuit and the controller may be components of a first circuit board.

[0006] In some examples, the current sensing circuit and the controller may be connected to a power supply monitor on the first circuit board. The current sensing circuit may be configured to send a measured current to the power supply monitor. The controller may be configured to receive a current difference from the power supply monitor.

[0007] In some examples, the current sensing circuit may include a current sensing resistor and a sense amplifier. A first terminal and a second terminal of the current sensing resistor may be coupled to the sense amplifier. The sense amplifier may be configured to output the measured current to a power supply monitor of the first circuit board.

[0008] In some examples, the controller may include a compensator configured to determine a load control parameter based on the current difference. In some examples, the compensator of the controller may be an analog compensator or a digital compensator.

[0009] In some examples, the control signal may be a first control signal, and the controller may be configured to combine the first control signal with a default control signal to generate a second control signal. The default control signal may represent default load control parameters received from another device external to the first circuit board.

[0010] In some examples, the adjustment to the current consumption may include an adjustment to the operating frequency of the electrical load of the first circuit board by a factor defined by the load control parameter.

[0011] In some examples, the target current may be a predefined value stored in a memory of the first circuit board.

[0012] In some examples, the controller may be further configured to receive a new current difference between the target current and a new current. The new current may be an amount of current drawn by the electrical load in response to adjusting the current using the control signal. The controller may be further configured to generate a new control signal based on the new current difference. The controller may be further configured to apply the new control signal to the electrical load to readjust the current consumption by the electrical load.

[0013] In some examples, the electrical load may be a graphics processing unit (GPU).

[0014] According to another aspect of the present invention, there is provided an apparatus for controlling current consumption by an electrical load, the apparatus including an electrical load, a voltage regulator connected to the electrical load, a power supply pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power supply pin and the voltage regulator, the current sensing circuit configured to measure the current received by the power supply pin, and a controller connected to the electrical load and the voltage regulator, the controller receiving a current difference between the measured current and a target current and generating a control signal based on the current difference, the control signal representing a load control parameter, and configured to apply the control signal to the electrical load, wherein application of the control signal regulates current consumption by the electrical load.

[0015] According to another aspect of the present invention, there is provided a method for controlling current consumption by an electrical load, the method including measuring, by a device on a first circuit board, a current drawn from a second circuit board by an electrical load on the first circuit board, generating, by the device, a control signal based on a current difference between the measured current and a target current, the control signal representing a load control parameter, and applying, by the device, the control signal to the electrical load on the first circuit board, wherein application of the control signal adjusts the current consumption by the electrical load.

[0016] Further features as well as the structure and operation of various embodiments are described in detail below with reference to the accompanying drawings, where like reference numbers indicate identical or functionally similar elements. [Brief explanation of the drawings]

[0017] [Figure 1] FIG. 1 illustrates an exemplary system in which an expansion card current monitor can be implemented in one embodiment. [Figure 2] FIG. 2 illustrates details of a circuit board of the exemplary system of FIG. 1 in one embodiment. [Figure 3] 2 illustrates an example implementation of continuous closed-loop control that may be performed by the example system of FIG. 1. [Figure 4] FIG. 10 is a flow diagram illustrating a process for implementing an expansion card current monitor in one embodiment. [Figure 5] FIG. 10 is a flow diagram illustrating another process for implementing an expansion card current monitor in one embodiment. DETAILED DESCRIPTION OF THE INVENTION

[0018] The methods and systems described herein can provide devices or structures incorporated or embedded in an expansion card to perform closed-loop control, discrete or continuous time control, and / or local control of power consumption of one or more loads on the expansion card. The devices described in accordance with the present disclosure can monitor current flowing through voltage supply pins on the expansion card, which may be a daughter card connected to the main card. Furthermore, because the devices are incorporated or embedded in the daughter card, monitoring and control can be performed locally by the daughter card, without involving a host device (e.g., a motherboard). Furthermore, the methods and systems described herein can enable a functional unit or processor on the expansion card to function at the maximum current and power within the voltage or power pin specifications of the expansion card, instead of using estimated limitations within the motherboard specifications. By way of example, the functional unit on the expansion card can be a processor, such as, but not limited to, a graphics processing unit (GPU), a field programmable gate array (FPGA), a system-on-chip (SoC), or another dedicated processor. Some functional units can be referred to as accelerators. By being able to function at maximum current and power within the motherboard's specifications, functional units on the expansion card can utilize maximum power to achieve maximum performance. Furthermore, the closed-loop control, discrete or continuous time control, and local control implemented by the expansion card can provide relatively faster power management control compared to control schemes implemented by devices external to the expansion card.

[0019] In one exemplary embodiment, a device for controlling current consumption by an electrical load described herein can measure the current drawn by the electrical load on a first circuit board from a second circuit board, receive a current difference between the measured current and a target current, and generate a control signal based on the current difference. The control signal can define load control parameters that can be applied to the electrical load on the first circuit board to regulate the current consumption by the electrical load. By measuring the current drawn by the electrical load and regulating the current consumed by the electrical load, the device can monitor and control local power consumption on the first circuit board.

[0020] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure the current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that can be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The current sensing circuit and controller may be components of the first circuit board. By incorporating the device into the first circuit board, the first circuit board can monitor and control power or current consumption by the electrical load without involving a host device (e.g., the second circuit board).

[0021] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that can be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The current sensing circuit and controller may be connected to a power supply monitor on the first circuit board. The current sensing circuit may be configured to send the measured current to the power supply monitor. The controller may be configured to receive the current difference from the power supply monitor. Utilizing a power supply monitor on the first circuit board enables the device to perform current monitoring and control without adding additional components that may occupy board space.

[0022] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define a load control parameter that can be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The current sensing circuit may include a current sensing resistor and a sense amplifier. A first terminal and a second terminal of the current sensing resistor may be coupled to the sense amplifier. The sense amplifier may be configured to output the measured current to a power supply monitor on the first circuit board. The current sensing resistor and the sense amplifier may be readily available components for constructing a device that may be embedded or integrated into the first circuit board.

[0023] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define a load control parameter that can be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The controller may include a compensator configured to determine the load control parameter based on the current difference. The compensator may be an analog compensator or a digital compensator. The analog or digital compensator may be a component that may be readily available for constructing a device that may be embedded or integrated into the first circuit board.

[0024] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that can be applied to the electrical load on the first circuit board to adjust current consumption by the electrical load. Alternatively, the control signal may be a first control signal, and the controller may be configured to combine the first control signal with a default control signal to generate the second control signal. The default control signal may represent default load control parameters received from another device external to the first circuit board. Utilizing the default load control parameters may provide relatively finer control of current consumption by the electrical load.

[0025] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that may be applied to the electrical load on the first circuit board to adjust current consumption by the electrical load. The adjustment to the current consumption may include an adjustment to an operating frequency of the electrical load on the first circuit board by a factor defined by the load control parameters. The adjustment to the operating frequency may adjust current consumption and power consumption by the electrical load without changing the voltage applied to the electrical load.

[0026] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that may be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The target current may be a predefined value stored in a memory on the first circuit board. Storing the target current in the memory on the first circuit board may provide localized current consumption control.

[0027] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn by an electrical load on the first circuit board from a second circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that can be applied to the electrical load on the first circuit board to adjust current consumption by the electrical load. The controller may be further configured to receive a new current difference between the target current and the new current. The new current may be an amount of current drawn by the electrical load in response to adjusting the current using the control signal. The controller may be further configured to generate a new control signal based on the new current difference. The controller may be further configured to apply the new control signal to the electrical load to readjust current consumption by the electrical load. Continued measurement of the current drawn and adjustment of the current consumed by the electrical load may provide closed-loop control of power consumption by the electrical load.

[0028] In another exemplary embodiment, a device for controlling current consumption by an electrical load described in accordance with the present disclosure may include a current sensing circuit and a controller. The device may be embedded or integrated into a first circuit board. The current sensing circuit may measure a current drawn from a second circuit board by an electrical load on the first circuit board. The controller may receive a current difference between the measured current and a target current and generate a control signal based on the current difference. The control signal may define load control parameters that can be applied to the electrical load on the first circuit board to regulate current consumption by the electrical load. The electrical load may be a graphics processing unit (GPU). Measuring the current drawn by the GPU and regulating the current consumed by the GPU allows the GPU to function at a controlled level of power without limitations set by a host device (e.g., the second circuit board).

[0029] In one exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current drawn by the power pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal may regulate current consumption by the electrical load. Measuring the current drawn by the electrical load and regulating the current consumed by the electrical load enables the apparatus to monitor and control local power consumption.

[0030] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power supply pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power supply pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power supply pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal may adjust current consumption by the electrical load. The apparatus may further include a power supply monitor connected to the voltage regulator, the current sensing circuit, and the controller. The power supply monitor may be configured to receive the measured current from the current sensing circuit. The power supply monitor may be further configured to determine a current difference between the measured current and the target current. The power supply monitor may be further configured to send the current difference to the controller. The use of a device's power supply monitor allows the device to monitor and control power consumption on electrical loads using local components.

[0031] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power supply pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power supply pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power supply pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal can adjust the current consumption by the electrical load. The current sensing circuit may include a current sensing resistor and a sense amplifier. A first terminal and a second terminal of the current sensing resistor may be coupled to the sense amplifier. The sense amplifier may be configured to output the measured current to a power supply monitor of the apparatus. The current sensing resistor and the sense amplifier may be components that may be readily available for constructing devices that may be embedded or incorporated into the apparatus.

[0032] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal can adjust current consumption by the electrical load. The controller may include a compensator configured to determine the load control parameter based on the current difference. The compensator may be a component that may be readily available for constructing a device that may be embedded or incorporated into a first circuit board.

[0033] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal can adjust current consumption by the electrical load. The control signal is a first control signal, and the controller may be configured to combine the first control signal with a default control signal to generate a second control signal. The default control signal can represent a default load control parameter received from a device external to the apparatus. Utilizing the default load control parameter can provide relatively finer control of current consumption by the electrical load.

[0034] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal may adjust the current consumption by the electrical load. The adjustment to the current consumption may include an adjustment to an operating frequency of the electrical load of the apparatus by a factor defined by the load control parameter. The adjustment to the operating frequency may adjust the current consumption and power consumption by the electrical load without changing the voltage applied to the electrical load.

[0035] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current received by the power pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal may adjust current consumption by the electrical load. The target current may be a predefined value stored in a memory of the apparatus. Storing the target current in the memory of the apparatus may provide localized current consumption control.

[0036] In another exemplary embodiment, an apparatus for controlling current consumption by an electrical load described herein may include an electrical load, a voltage regulator connected to the electrical load, a power supply pin configured to receive current from a circuit board external to the apparatus, a current sensing circuit connected to the power supply pin and the voltage regulator, and a controller connected to the electrical load and the voltage regulator. The current sensing circuit may be configured to measure the current drawn by the power supply pin. The controller may be configured to receive a current difference between the measured current and a target current. The controller may be further configured to generate a control signal based on the current difference, the control signal representing a load control parameter. The controller may be further configured to apply the control signal to the electrical load. Application of the control signal can regulate current consumption by the electrical load. The electrical load may be a graphics processing unit (GPU). Measuring the current drawn by the GPU and regulating the current consumed by the GPU allows the GPU to function at a controlled level of power without limitations set by a host device (e.g., a second circuit board).

[0037] In one exemplary embodiment, a method of controlling current consumption by an electrical load described herein may include measuring, by a device on a first circuit board, a current drawn from a second circuit board by an electrical load on the first circuit board. The method may further include generating, by the device, a control signal based on a current difference between the measured current and a target current, the control signal representing a load control parameter. The method may further include applying, by the device, the control signal to the electrical load on the first circuit board. Applying the control signal may adjust the current consumption by the electrical load. By measuring the current drawn by the electrical load and adjusting the current consumed by the electrical load, the device may monitor and control local power consumption on the first circuit board.

[0038] In another exemplary embodiment, a method of controlling current consumption by an electrical load described herein may include measuring, by a device on a first circuit board, a current drawn from a second circuit board by an electrical load on the first circuit board. The method may further include generating, by the device, a control signal based on a current difference between the measured current and a target current, the control signal representing a load control parameter. The method may further include applying, by the device, the control signal to the electrical load on the first circuit board. Applying the control signal can adjust the current consumption by the electrical load. The method may further include combining, by the device, the load control parameter with a default load control parameter to generate the control signal. Utilizing the default load control parameter can provide relatively finer control of the current consumption by the electrical load.

[0039] In another exemplary embodiment, a method of controlling current consumption by an electrical load described herein may include measuring, by a device on a first circuit board, a current drawn by the electrical load of the first circuit board from a second circuit board. The method may further include generating, by the device, a control signal based on a current difference between the measured current and a target current, the control signal representing a load control parameter. The method may further include applying, by the device, the control signal to the electrical load of the first circuit board. Application of the control signal can adjust the current consumption by the electrical load. The method may further include measuring, by the device, a new current drawn by the electrical load. The method may further include generating, by the device, a new control signal based on a new current difference between the new measured current and the target current. The method may further include applying, by the device, the new control signal to the electrical load of the first control board to readjust the current consumption by the electrical load. Continued measurement of the current drawn and adjustment of the current consumed by the electrical load can provide closed-loop control of power consumption by the electrical load.

[0040] In another exemplary embodiment, a method of controlling current consumption by an electrical load described herein may include measuring, by a device on a first circuit board, a current drawn by the electrical load of the first circuit board from a second circuit board. The method may further include generating, by the device, a control signal based on a current difference between the measured current and a target current, the control signal representing a load control parameter. The method may further include applying, by the device, the control signal to the electrical load of the first circuit board. Applying the control signal can adjust the current consumption by the electrical load. The electrical load may be a graphics processing unit (GPU). Measuring the current drawn by the GPU and adjusting the current consumed by the GPU allows the GPU to function at a controlled level of power without limits set by a host device (e.g., the second circuit board).

[0041] FIG. 1 illustrates an exemplary system 100 in which an expansion card current monitor can be implemented in one embodiment. System 100 may include circuit board 102 and circuit board 110. First circuit board 102 may be a circuit board including a power supply configured to provide power to circuit board 110. In an exemplary embodiment, circuit board 102 may be a main card (e.g., a motherboard), and circuit board 110 may be a daughter card (e.g., an expansion card or expansion card) attached to or embedded in circuit board 102. Circuit board 102 may include power supply 103 and processor 105, where processor 105 may be the main processor or central processing unit (CPU) of circuit board 102. Circuit board 110 may include power pins or power connectors 112, voltage regulator 114, power supply monitor 116, functional circuitry or blocks 117, and device 120. Circuit board 110 may be connected or coupled to circuit board 102 via one or more pins, including power pin 112. The connection of circuit board 110 to circuit board 102 via power pins 112 allows a closed circuit to be formed. The closed circuit formed by the connection at power pins 112 allows current to flow between circuit board 102 and circuit board 110, and allows circuit board 102 to provide input voltage 104 to circuit board 110.

[0042] Functional unit 117 may include one or more electrical loads, such as electrical load 118, that can consume power when in an operational mode. Electrical load 118 may be a circuit programmed or designed to perform a specified task or function, such as, for example, an arithmetic function. For example, electrical load 118 may be an accelerator, such as, but not limited to, a GPU, FPGA, SoC, or special-purpose processor, that can be programmed to enhance and / or complement the operation of circuit board 102 when circuit board 110 is connected to circuit board 102. In one example, when circuit board 110 is connected to circuit board 102 via power pins 112, functional unit 117 can operate electrical load 118 by consuming power provided by circuit board 102. Circuit board 102 can provide power to circuit board 110 by applying voltage 104 to circuit board 110 via power pins 112. Power consumption by the electrical load 118 may draw an amount of current 132 from the circuit board 102 , where the current may flow from the circuit board 102 to the circuit board 110 through the power pins 112 .

[0043] Device 120 can be embedded or integrated into circuit board 110 to provide closed-loop control of the current drawn by electrical load 118 of functional unit 117. For example, device 120 can monitor current 132 drawn by electrical load 118 and other loads not shown, and determine or calculate parameters that can be used to regulate the current flowing into electrical load 118. Device 120 can be configured to monitor current 132 in a discrete or continuous time manner depending on the desired implementation of system 100. Device 120 can include current sensing circuit 130 and controller 140. In one exemplary embodiment, device 120 can be embedded into circuit board 110 such that controller 140 is connected to electrical load 118 of functional unit 117.

[0044] The current sense circuit 130 can be connected between the power supply pin 112, the voltage regulator 114, and the power supply monitor 116. The current sense circuit 130 can be configured to measure a current 132, where the current 132 can flow through the current sense circuit 130. The current sense circuit 130 can send a value of the measurement, labeled current measurement 138 in FIG. 1 , to the power supply monitor 116. The current 132 can also flow to the voltage regulator 114. The voltage regulator 114 can be configured to receive the voltage 104 according to the specifications of the electrical load 118. For example, the voltage regulator 114 can receive the voltage 104 and generate another voltage 144, which can be applied to the electrical load 118 of the functional unit 117. The regulated voltage 144 can have a different voltage value than the voltage 104, and the regulated voltage 144 can be the voltage required to operate the electrical load 118. As a result of regulating voltage 104 to voltage 144, current 132 entering voltage regulator 114 may be output as current 136, which may be different from current 132. The difference between current 132 and current 136 may be based on a voltage transformation ratio applied by the voltage regulator to regulate voltage 104 to voltage 144.

[0045] Power supply monitor 116 can receive current 132 and compare current 132 to target current 133. In one example, target current 133 can be a predefined value (e.g., an amount of current) provided by circuit board 102 or another device external to circuit board 110 and can be stored in memory (e.g., volatile or non-volatile memory) on circuit board 110. In one exemplary embodiment, target current 133 can be derived from the target power specification, such as by dividing the specification by voltage 104. Power supply monitor 116 can determine the difference between current 132 and target current 133, labeled current difference 134 in FIG. 1 . Power supply monitor 116 can send current difference 134 to controller 140 of device 120.

[0046] The controller 140 receives the current difference 134 and can calculate or determine a load control parameter ΔC based on the current difference 134. The controller 140 can generate a control signal 142 representing ΔC and use the control signal 142 to adjust the current 136 drawn by the electrical load 118. For example, the control signal 142 can adjust the operating frequency of the electrical load 118 or modulate the amount of workload handled by the electrical load 118 by a factor based on ΔC. The factor can be ΔC or a combination of ΔC and one or more additional parameters (described below). Adjustments to the operating frequency of the electrical load 118 can adjust the current 136. In one example, the current difference 134 can indicate whether the current 132 is greater than, less than, or equal to the target current 133. A current 132 greater than the target current 133 can indicate that the electrical load 118 may be drawing excessive current. Current 132 being less than target current 133 may indicate that electrical load 118 may not be drawing enough current. In one example, in response to current 132 being greater than target current 133, controller 140 may set ΔC to a value that may cause the operating frequency of electrical load 118 to decrease by a factor ΔC in order to decrease current 136. In another example, in response to current 132 being less than target current 133, controller 140 may set ΔC to a value that may cause the operating frequency of electrical load 118 to increase by a factor ΔC in order to increase current 136.

[0047] Using control signal 142 to adjust current 136 by a factor of ΔC allows electrical load 118 to consume the regulated current instead of current 136. Device 120 can perform current monitoring and adjustment without changing the regulated voltage 144 supplied to electrical load 118. Thus, the current adjustment performed by device 120 can adjust power consumption by electrical load 118 without changing regulated voltage 144. The monitoring and current adjustment by device 120 can provide closed-loop control of current 132 drawn by electrical load 118. Furthermore, the closed-loop control can be performed by a daughter card, such as circuit board 110, without involving another device or host (e.g., processor 105 of circuit board 102).

[0048] FIG. 2 is a diagram illustrating details of the circuit board 110 in one embodiment shown in FIG. 1 , for example. In the example shown in FIG. 2 , the current sense circuit 130 may include a current sense resistor 202 and a sense amplifier 204. The current sense resistor 202 may include two terminals, labeled A and B in FIG. 2 . Terminal A may be connected to the power supply pin 112, and terminal B may be connected to the voltage regulator 114. In some examples, a decoupling filter 220 may be installed between terminal B of the current sense resistor 202 and the voltage regulator 114. The decoupling filter 220 may be configured to stabilize the voltage and filter supply noise. The sense amplifier 204 may include two input terminals, which may be connected to terminals A and B of the current sense resistor 202. The sense amplifier 204 may detect the current 132 flowing through the current sense resistor 202, such as from terminal A to terminal B, and output the current 132 to an analog-to-digital converter (ADC) 210. The ADC 210 can be connected between the sense amplifier 204 and the power supply monitor 116. The ADC 210 can be configured to convert the current 132 to a current measurement 138 and send the current measurement 138 to the power supply monitor 116. The power supply monitor 116 can determine or calculate a current difference 134 between the current 132 and the target current 133. The power supply monitor 116 can send the current difference 134 to the controller 140. In some examples, the current difference 134 can be sent to the controller 140 via a communication bus, where transmission over the communication bus can incur a bus communication delay 230.

[0049] In one example, the controller 140 may include a compensator 250, where the compensator 250 may be an analog compensator or a digital compensator. The current difference 134 may be transmitted from the power supply monitor 116 to the compensator 250 of the controller 140. Based on the current difference 134, the compensator 250 may determine a load control parameter ΔC and generate a control signal 142 representing ΔC. In some examples, the control signal 142 may be combined with another signal 240 representing another parameter, such as a default load control parameter shown as C in FIG. 2 . In one example, the default load control parameter C may be a predefined value provided as signal 240 by another device external to the circuit board 110. In one example, the default load control parameter C may be an operating frequency of the electrical load 118 determined or calculated by an algorithm that estimates an appropriate amount of current drawn by the electrical load 118 under different operating environments. Controller 140 can receive signal 240 and combine ΔC with C to determine parameter C', and controller 140 can generate another control signal 251 representing C'. In another exemplary embodiment, controller 140 may receive default load control parameter C, combine C with ΔC to generate C', and then use the value of C' to generate signal 251. Controller 140 can adjust the operating frequency of electrical load 118 by a factor of C' (e.g., by applying control signal 251 to electrical load 118) to regulate current 136. In another exemplary embodiment, when signal 240 is not provided to controller 140 (e.g., C=0), control signal 251 can be set as control signal 142.

[0050] By using current sense circuitry 130 to monitor current 132 received at power pin 112 (or drawn by electrical load 118) and comparing current 132 to a target current 133, an appropriate amount of adjustment can be made to current 136 flowing into electrical load 118 without modifying regulated voltage 144 and without modifying the hardware and functionality of voltage regulator 114. Furthermore, by adjusting current 136 flowing into electrical load 118, the power consumption of electrical load 118 can also be adjusted while regulated voltage 144 remains fixed. As will be explained in more detail below, circuit board 110 can implement a closed-loop control scheme to monitor and adjust the current drawn by electrical load 118 of functional unit 117, thereby eliminating the need for a host device (e.g., processor 105 of circuit board 102) to perform power management for circuit board 110.

[0051] FIG. 3 illustrates an exemplary implementation of closed-loop control that may be performed by the exemplary system of FIG. 1. The circuit board 110, upon installation of the device 120 (shown in FIG. 1), may monitor the current drawn by the electrical load 118. For example, in response to applying a control signal 142 to the electrical load 118 in FIGS. 1 and 2, the electrical load 118 may draw a new amount of current 302 from the circuit board 102. The current 302 may be based on adjusting the current 136 (shown in FIGS. 1 and 2), for example, using a parameter ΔC or using a parameter C′. The current sense circuit 130 may detect the current 302 and send the current 302 to the ADC 210 and the voltage regulator 114. The ADC 210 may convert the current 302 to a current measurement 304, where the current measurement 304 may be a measured value of the current 302. The voltage regulator 114 may receive the current 302 and convert the current 302 to a current 306 based on a voltage conversion ratio used by the voltage regulator 114. The current 306 may flow to an electrical load 118.

[0052] The power supply monitor 116 can compare the current measurement 304 to the target current 133 to determine, for example, whether the electrical load 118 is drawing too much or too little current. Based on the comparison, the power supply monitor 116 can determine a new current difference 308 between the target current 133 and the current 302 received from the current sense circuit 130. The power supply monitor 116 can send the current difference 308 to the controller 140. The compensator 250 of the controller 140 can use the current difference 308 to determine a new load control parameter ΔC k Calculate or determine the load control parameter ΔC k The controller 140 receives the signal 240 and generates a control signal 310 representing ΔC k is combined with C to obtain parameter C' k and the controller 140 determines C' k The controller 140 can generate another control signal 312 representing C' to regulate the operating frequency of the electrical load 118 (e.g., by applying the control signal 312 to the electrical load 118) to regulate the current 306. k By monitoring the current 302 drawn by the electrical load 118, the circuit board 110 can update and readjust the current consumed by the electrical load 118 (e.g., from current 136 to current 306). In this manner, a closed loop 300 can be formed by the current sense circuit 130, the power supply monitor 116, the controller 140, and the voltage regulator 114, where the closed loop 300 can repeatedly monitor and adjust the current drawn by the electrical load 118 without involving a host device (e.g., a main card or motherboard, such as the circuit board 102).

[0053] The closed loop 300 can be repeatedly implemented in a continuous or discrete manner according to the desired implementation of the system 100 shown in FIG. 1. In one example, the closed loop 300 can be continuously implemented by causing the current sensing circuit 130 to sense each change in the current from pin 112. For example, the current drawn by the electrical load 118 at pin 112 can change in response to an adjustment to the current flowing into the electrical load 118. The current sensing circuit 130 can detect a change in the current at pin 112 and provide a measured value of the changed current to the power monitor 116 to initiate the closed loop 300. In another example, the closed loop 300 can be implemented in a discrete manner by causing the current sensing circuit 130 to periodically sense the current from pin 112 at a defined time interval.

[0054] FIG. 4 is a flow diagram illustrating a process 400 for implementing an extended card current monitor in one embodiment. The process 400 can include one or more operations, actions, or functions as indicated by one or more of blocks 402, 404, or 406, or combinations thereof. Although shown as discrete blocks, various blocks can be divided into additional blocks, combined into fewer blocks, eliminated, or performed in parallel, depending on the desired implementation.

[0055] The process 400 can begin at block 402. At block 402, a device incorporated or embedded in the first circuit board can measure the current drawn by the first circuit board from the second circuit board. The process 400 can proceed from block 402 to block 404. At block 404, the device can generate a control signal based on the current difference between the measured current and the target current. In some examples, the device can generate a control signal based on a combination of another control signal and a default load control signal. The process 400 can proceed from block 404 to block 406. At block 406, the device can apply the control signal to the electrical load on the first circuit board to adjust the current consumption by the electrical load.

[0056] In some examples, the device can further measure a new current drawn by the electrical load and generate a new control signal based on a new current difference between the new measured current and the target current. The device can apply the new control signal to the electrical load to readjust the current consumption by the electrical load on the first circuit board.

[0057] 5 is a flow diagram illustrating another process 500 for implementing an expansion card current monitor in one embodiment. Process 500 may include one or more operations, acts, or functions as illustrated by one or more of blocks 502, 504, 506, 508, or 510, or combinations thereof. Although illustrated as discrete blocks, various blocks may be divided into additional blocks, combined into fewer blocks, eliminated, or performed in parallel depending on the desired implementation.

[0058] Process 500 may begin at block 502. In block 502, a first circuit board may measure a current I drawn by a load on the first circuit board from a second circuit board connected to the first circuit board. k From block 502, process 500 can proceed to block 504. In block 504, the first circuit board can measure the measured current I k and the target current I T The current difference ΔI between k From block 504, process 500 can proceed to block 506. In block 506, the first circuit board can determine the current difference ΔI k Using the load control parameter ΔC k From block 506, process 500 may proceed to block 508. In block 508, the first circuit board may determine or calculate a load control parameter ΔC k is combined with the default load control parameter C to obtain another load control parameter C' k In some examples, if C is zero (e.g., if no default load control parameters are given), ΔC k is C'k From block 508, process 500 may proceed to block 510. In block 510, the first circuit board may be configured to calculate a parameter C' k can be applied to the load on the first circuit board to adjust the operating frequency of the load, where the adjustment to the operating frequency of the load can adjust the current consumption by the load. The adjusted current consumption by the load can cause a new amount of current to be drawn from the second circuit board by the load.

[0059] Process 500 may return to block 502. The first circuit board may perform a loop of operations including blocks 502, 504, 506, 508, and 510 to repeatedly perform closed-loop control of power consumption by the load of the first circuit board. For example, a new iteration of the loop may cause current I k+1 and measure the current difference ΔI k+1 Determine the parameter ΔC k+1 Determine the new value of the new parameter C' k+1 where C' can be determined. k+1 can be applied to a load to readjust the current consumption by the load.

[0060] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may in fact be executed substantially concurrently, or the blocks may be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by dedicated hardware-based systems that perform the specified functions or operations, or a combination of dedicated hardware and computer instructions.

[0061] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and / or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, or components or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups or combinations thereof.

[0062] The description of various embodiments of the present invention has been presented for purposes of illustration and is not intended to be exhaustive or limiting of the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terminology used herein has been selected to best explain the principles of the embodiments, practical applications or technical improvements found in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.

Claims

1. a current sense circuit configured to measure a current drawn from the second circuit board by an electrical load on the first circuit board; a controller, receiving a current difference between the measured current and a target current; determine a load control parameter for adjusting an operating frequency of the electrical load based on the current difference, wherein, in response to the measured current being greater than the target current, a first load control parameter for lowering an operating frequency of the electrical load of the first circuit board based on the current difference, and in response to the measured current being less than the target current, a second load control parameter for increasing an operating frequency of the electrical load of the first circuit board based on the current difference; generating a control signal based on one of the first and second load control parameters; applying the control signal to the electrical load on the first circuit board; with the configured controller Equipped with the current sensing circuit and the controller are components of the first circuit board; The application of the control signal adjusts the operating frequency of the electrical load to adjust current consumption by the electrical load.

2. the current sensing circuit and the controller are connected to a power supply monitor on the first circuit board; the current sensing circuit is configured to send the measured current to the power supply monitor; The device of claim 1 , wherein the controller is configured to receive the current difference from the power supply monitor.

3. the current sensing circuit comprises a current sensing resistor and a sense amplifier; a first terminal and a second terminal of the current sense resistor coupled to the sense amplifier; The device of claim 1 , wherein the sense amplifier is configured to output the measured current to a power supply monitor on the first circuit board.

4. 4. The device of claim 1, wherein the controller comprises a compensator configured to determine the load control parameter based on the current difference.

5. 5. The device of claim 1, wherein the control signal is a first control signal, and the controller is configured to combine the first control signal with a default control signal to generate a second control signal, the default control signal representing default load control parameters received from another device external to the first circuit board.

6. 6. The device of claim 1, wherein the target current is a predefined value stored in a memory on the first circuit board.

7. The controller receiving a new current difference between the target current and a new current, the new current being the amount of current drawn by the electrical load in response to the adjustment of the current consumption due to application of the control signal; determining new load control parameters for adjusting the operating frequency of the electrical load based on the new current difference; generating a new control signal based on the new load control parameters; and applying the new control signal to the electrical load to adjust the operating frequency and readjust the current consumption by the electrical load.

7. A device according to any one of claims 1 to 6.

8. The device of claim 1 , wherein the electrical load is a graphics processing unit (GPU).

9. 1. An apparatus comprising: The electrical load and a voltage regulator connected to the electrical load; a power pin configured to receive current from a circuit board external to the device; a current sense circuit connected to the power supply pin and to the voltage regulator, the current sense circuit configured to measure the current received by the power supply pin; a controller connected to the electrical load; a power supply monitor connected to the current sensing circuit and the controller; Equipped with The power supply monitor receiving the measured current from the current sensing circuit; determining a current difference between the measured current and a target current; configured to send the current difference to the controller; The controller receiving the current difference between the measured current and the target current; determining a load control parameter for adjusting an operating frequency of the electrical load based on the current difference; generating a control signal based on the load control parameter; configured to apply the control signal to the electrical load; The application of the control signal is configured to adjust the operating frequency of the electrical load to adjust current consumption by the electrical load. Device.

10. The current sensing circuit measuring the new current drawn by the electrical load; configured to send the measurement of the new current to the power supply monitor; The power supply monitor comparing the measurement of the new current to the target current; determining a new current difference between the target current and the new current; configured to send the new current difference to the controller; The controller determining new load control parameters for adjusting an operating frequency of the electrical load based on the new current difference; generating a new control signal based on the new load control parameters; and applying the new control signal to the electrical load to adjust the operating frequency and readjust the current consumption by the electrical load.

10. The apparatus of claim 9.

11. the current sensing circuit comprises a current sensing resistor and a sense amplifier; a first terminal and a second terminal of the current sense resistor coupled to the sense amplifier; 11. The device of claim 9 or 10, wherein the sense amplifier is configured to output the measured current to the power supply monitor of the device.

12. 12. The apparatus of claim 9, wherein the controller comprises a compensator configured to determine the load control parameter based on the current difference.

13. 13. The apparatus of claim 9, wherein the control signal is a first control signal, and the controller is configured to combine the first control signal with a default control signal to generate a second control signal, the default control signal representing default load control parameters received from a device external to the apparatus.

14. 14. The apparatus of claim 9, wherein the electrical load is a graphics processing unit (GPU).

15. 1. A method for controlling current consumption by an electrical load, comprising: measuring, by a device on a first circuit board, a current drawn from a second circuit board by an electrical load on the first circuit board; determining, by the device, a load control parameter for adjusting an operating frequency of the electrical load in the first circuit board based on a current difference between the measured current and a target current, wherein, in response to the measured current being greater than the target current, determining a first load control parameter for lowering the operating frequency of the electrical load of the first circuit board based on the current difference, and in response to the measured current being less than the target current, determining a second load control parameter for raising the operating frequency of the electrical load of the first circuit board based on the current difference; generating, by the device, a control signal based on one of the first and second load control parameters; applying, by said device, said control signal to said electrical load on said first circuit board; wherein said applying of said control signal adjusts an operating frequency of said electrical load to adjust current consumption by said electrical load.

16. The method of claim 15 , wherein generating the control signal includes combining, by the device, the load control parameters with default load control parameters.

17. measuring, by said device, the new current drawn by said electrical load; determining, by the device, new load control parameters for adjusting the operating frequency of an electrical load in a first circuit board based on a new current difference between the new measured current and the target current; generating, by the device, a new control signal based on the new load control parameters; applying, by said device, said new control signal to said electrical load on said first circuit board to adjust said operating frequency and readjust said current consumption by said electrical load; 17. The method of claim 15 or 16, further comprising:

Citation Information

Patent Citations

  • Power monitoring of processor module

    JP2007042091A

  • Memory system

    JP2010123119A

  • Storage device and electronic apparatus

    JP2010191740A

  • Power management in circuits

    JP2016532200A

  • Dynamic voltage regulation circuit and method

    JP2017505092A