Complex electronic systems may comprise many different modules, circuit blocks, logical partitions, or functional units, not all of which are needed at any one time. While some modules may be fully operational, other modules may be powered off, or in a standby mode, or operating in a low-power mode. The power requirements for the system and individual modules may vary dynamically over time. In general, overall system power efficiency is important to minimize power usage, to reduce heat, to improve reliability, and to reduce operating costs. For battery operated systems it is important to maximize operating time without having to change or charge batteries. There is an ongoing need for improved power management.
In general, the power supplies for a system need to be able to provide worst case system current loading. In general, there is some overhead power required by the power supply itself, for example switching losses, conductive losses, etc. One particular power supply example is a Low Dropout (LDO) regulator. An LDO regulator is a linear voltage regulator having a pass transistor between the input voltage and the output voltage, and the voltage drop across the pass transistor can be very low. An LDO regulator has some quiescent current (the difference between input and output currents) and some quiescent current flows through the regulator core even when no load is present. When the load current is low, the quiescent current becomes an important factor. For example, in a battery operated system that is usually in a low power mode, quiescent current may be a primary limiter on battery life. Typically, the pass transistor has a bias current that enables the pass transistor to conduct some maximum amount of load current. The bias current determines much of the quiescent current.
Alternatively, a power supply system may have multiple regulators, each optimized for an operating range, and one regulator may be selected depending on the power output needed by the power supply system. In particular, for systems with LDO regulators, a separate regulator may be used in the lowest power mode. That separate regulator may be optimized for very low power. As an alternative example, for high power systems, multiple transistor switches may be operated in parallel, and the number of parallel transistor switches may be adjusted to meet the system's current demand and to optimize efficiency. Alternatively, entire power supplies may be operated in parallel, and the number of supplies being operated in parallel may be adjusted to meet the system's current demand and to optimize efficiency.
In the simplest example embodiment, each active module sends a binary “one” to the power management system to indicate that it is powered on. In the simplest example embodiment, the power supply system has two operating ranges. When the number of active modules is below a fixed threshold, the power management system controls the power supply system to operate in a first operating range, and when the number of active modules exceeds the fixed threshold, the power management system controls the power supply system to operate in a second operating range.
Alternatively, the power supply system may have more than two operating ranges, and the power management system may have more than one threshold, so that when the number of active modules exceeds a particular threshold, the power management system controls the power supply system to switch to an operating range appropriate for the power usage of the number of active modules.
The simplest example embodiment described above assumes that all modules have approximately the same power usage, so that the only information needed by the power management system is just the number of active modules. In an alternative example embodiment, weighting factors (210, 212, 214) may to used to indicate relative power requirements for modules. For example, each weighting factor may indicate a multiple of a basic power requirement. Assume for example that Module A requires a standard amount of power, and that Module B requires twice as much power as a standard module. Weighting factor WA (210) may then by 1.0, and weighting factor WB (212) may then be 2.0. With this example, the power management system may determine a weighted sum of the power usage for all the active modules, and when the weighted sum exceeds one of multiple fixed thresholds, the power management system controls the power supply system to switch to an operating range appropriate for the power usage of the active modules.
In the example embodiment of
Most digital circuits use clock signals, and power usage may vary with clock frequency. The clock frequency for a digital circuit may be changed by changing an adjustable frequency clock or by selecting a clock among two or more fixed-frequency clocks. Digital circuits may be operated in a reduced power mode or standby mode by operating at a reduced clock frequency. Alternatively, digital circuits may be operated in an enhanced performance mode by operating at a higher than normal clock frequency. Accordingly, clock usage can be used as a measure of power requirements. In the example embodiment of
Alternatively, active modules may send a message to the power management system stating clock usage. For example, a module may send a message specifying which clock it is using, or alternatively may send a message indicating its clock frequency.
Alternatively, the power management system may have knowledge of the power requirements of each module type. For example, part of the message may indicate a module type, and the power management system may know the power usage of each type. Accordingly, the power management system will determine overall power usage based on the total power usage of all the active modules.
Alternatively, the power management system may have knowledge of the power requirements of each module as a function of clock frequency. Accordingly, the power management will determine overall power usage based on the total power usage of all the active modules as also modified by the clock frequency being used by each module.
Optionally, if weighting factors are used, modules may change corresponding weighting factors. For example, a module of type “Y” may have multiple operating states, or may be configured to operate in a “turbo” or “boost” mode, and the module may need to be able to adjust its weighting factor to indicate to the power management system that it is not a standard type “Y” module.