The technology described in this patent document relates generally to electronic devices and more particularly to voltage control
Semiconductor devices are often referred to as “chips.” Some semiconductor devices include microelectronic systems. For example, a system-on-chip (SOC) may include central processing units, input/output interface units, digital signal processors, storage media, etc. Different components of a semiconductor device (i.e., chip components) often require different voltages (e.g., power supply voltages) for proper operations. As an example, on a SOC chip, a low voltage is needed for a digital signal processor, a higher voltage for input/output (I/O) operations, and another voltage for analog circuitry (e.g., phase locked loops).
Battery powered devices, such as mobile phones and portable media players, often include multiple operation modes to conserve battery power. For example, a sleep mode is often employed when the device is not used. In the sleep mode, certain components of the device may be operated at a minimum power. A chip operating voltage supplied to the device may be adjusted to reduce power consumption.
In accordance with the teachings described herein, system and methods are provided for dynamic voltage control of a device. An example system includes: a power management unit configured to dynamically detect one or more operation modes of a plurality of chip components of a device, determine a target operating voltage based at least in part on the detected operation modes, and generate one or more voltage control signals associated with the target operating voltage; an input/output control unit configured to, in response to the one or more voltage control signals, toggle a plurality of input/output pins; and a power management integrated circuit connected to the plurality of input/output pins and configured to change an actual operating voltage of the device to the target operating voltage in response to the toggling of the plurality of input/output pins.
In one embodiment, a method is provided for dynamic voltage control of a device. One or more operation modes of a plurality of chip components of a device are dynamically detected. A target operating voltage is determined based at least in part on the detected operation modes. One or more voltage control signals associated with the target operating voltage are generated. In response to the one or more voltage control signals, a plurality of input/output pins connected to a power management integrated circuit are toggled. The power management integrated circuit changes an actual operating voltage of the device to the target operating voltage in response to the toggling of the plurality of input/output pins.
In another embodiment, a circuit for dynamic voltage control of a device includes: a power management unit configured to dynamically detect one or more operation modes of a plurality of chip components of a device, determine a target operating voltage based at least in part on the detected operation modes, and generate one or more voltage control signals associated with the target operating voltage; a plurality of input/output pins connected to a power management integrated circuit; and an input/output control circuit configured to, in response to the one or more voltage control signals, toggle the plurality of input/output pins. The power management integrated circuit is configured to change an actual operating voltage of the device to the target operating voltage in response to the toggling of the plurality of input/output pins.
An operating voltage of an electronic device (“a chip”) may be changed using software control to reduce power consumption. For example, a software component may be used to detect operating frequencies of a central processing unit, an advanced extensible interface, and/or double-data-rate memory included on a device. Then, the software component determines an operating voltage according to the detected operating frequencies. However, software components often reside on hardware components, such as an application processor. When the hardware components enter into a low power mode (e.g., a sleep mode), the software components may not function anymore. Thus, in a low power mode, the operating voltage of the device may not be adjusted using the software components to further reduce power consumption.
Specifically, the PMU 102 (e.g., a hardware component) is implemented to dynamically detect the operation modes of the chip components of the device 104. For example, certain logics are incorporated into the PMU 102 for status detection. Operation modes of some chip components or all of the chip components included in the device 104 are detected. The operation modes include one or more active modes associated with one or more active operating voltages and one or more low power modes associated with one or more low power operating voltages. As an example, the PMU 102 determines the target operating voltage to be a maximum of component operating voltages (e.g., active operating voltages, or low power operating voltages) associated with the detected operation modes.
As shown in
In some embodiments, the PMU 102 includes a microcontroller (e.g., a microchip) that manages power functions of the device 104. The microcontroller may include firmware, software, memory, a central processing unit, input/output functions, one or more timers, one or more analog to digital converters, etc. In certain embodiments, the PMU 102 coordinates various functions, including: monitoring power connections and battery charges, charging batteries when necessary, controlling power to other integrated circuits, shutting down unnecessary system components that are left idle, controlling sleep and power functions, regulating a real-time clock (RTC), etc. The PMU 102 remains active even when the device 104 is in a chip-level low power mode (e.g., ultra drowsy retention chip level dormancy). Thus, the PMU 102 can dynamically adjust the actual operating voltage according to the operation modes of the chip components even in a chip-level low power mode.
One or more registers may be implemented to store voltage level values corresponding to operation modes of the plurality of chip components of the device 104. For example, during the start up process of the device 104, the registers are initialized with predetermined voltage level values. Upon the detection of the operation modes of the chip components of the device 104, the PMU 102 accesses the registers and determines a target operating voltage by selecting a stored voltage level value that corresponds to the detected operation modes. Then, the PMU 102 generates the control signals 106 according to the target operating voltage.
As an example, a register associated with a chip component includes 32 bits as shown in Table 1.
As shown in Table 1, the first three bits of the register (e.g., [2 . . . 0]) are used to indicate a voltage level in a low power mode, and the other three bits of the register (e.g., [6 . . . 4]) are used to indicate a voltage level in an active mode. These bits are readable and writable. In addition, the register includes other control bits (e.g., [31 . . . 12]. If the PMU 102 detects that the chip component operates in the low power mode, the associated operating voltage is determined based on the first three bits [2 . . . 0] of the register. If the PMU 102 detects the chip component operates in the active mode, the associated operating voltage is determined based on the three bits [6 . . . 4] of the register. In some embodiments, voltage level values stored in certain registers may be updated when operating frequencies of certain hardware components (e.g., double-data-rate memory, graphics cards, visual processing units, etc.) change.
Table 2 shows example registers for storing voltage level values corresponding to various operation modes of the chip components.
In some embodiments, the input/output pins 110 include general purpose input/output (GPIO) pins. GPIO pins can be configured to be input or output, and can be enabled or disabled. Further, input values of GPIO pins are readable. For example, a GPIO pin has a high voltage status that corresponds to “1,” and a low voltage status that corresponds to “0.” Output values of the GPIO pins are writable/readable. In response to the control signals 106, the input/output control unit 108 provides input values (e.g., “1” or “0”) to the input/output pins 110 to toggles the input/output pins 110.
The PMIC 112 changes the actual operating voltage of the device 104 according to the toggling of the input/output pins 110. For example, the input/output pins 110 include two GPIO pins, as shown in
In some embodiments, the PMIC 112 includes one or more integrated circuits or one or more system blocks in a system-on-a-chip device for managing power requirements of the device 104. In certain embodiments, the PMIC 112 includes a DC to DC converter to allow dynamic voltage scaling and/or a switching amplifier (e.g., a Class-D electronic amplifier). The PMIC 112 can implement pulse-frequency modulation (PFM) and pulse-width modulation (PWM).
Referring back to
In some embodiments, a low power mode of an application processor subsystem is deeper (e.g., requiring less power) than a low power mode of an application processor and a low power mode of a communications processor. If the PMU 102 detects that the application processor subsystem, the application processor, and the communications processor all enter into the low power mode, then the PMU 102 only considers the lower power mode of the application processor subsystem for determining the target operating voltage.
In certain embodiments, a chip-level low power mode is deeper (e.g., requiring less power) than a low power mode of an application processor subsystem and a low power mode of a digital signal processor. If the PMU 102 detects that the chip-level low power mode is entered, then the PMU 102 only considers the chip-level low power mode for determining the target operating voltage.
In response to an operation event that changes the operation modes of the chip components, the PMU 102 adjusts the target operating voltage and changes the control signals 106. For example, the device 104 is in a chip-level low power mode. The PMU 102 detects an operation event for activating a communications processor and a digital signal processor and keeping an application processor in a low power mode. Thus, the PMU 102 determines a new target operating voltage to be the maximum of a first active operating voltage associated with the active mode of the communications processor, a second active operating voltage associated with the active mode of the digital signal processor, and a low power operating voltage associated with the low power mode of the application processor.
This written description uses examples to disclose the invention, include the best mode, and also to enable a person skilled in the art to make and use the invention. The patentable scope of the invention may include other examples that occur to those skilled in the art. Other implementations may also be used, however, such as firmware or appropriately designed hardware configured to carry out the methods and systems described herein. For example, the systems and methods described herein may be implemented in an independent processing engine, as a co-processor, or as a hardware accelerator. In yet another example, the systems and methods described herein may be provided on many different types of computer-readable media including computer storage mechanisms (e.g., CD-ROM, diskette, RAM, flash memory, computer's hard drive, etc.) that contain instructions (e.g., software) for use in execution by one or more processors to perform the methods' operations and implement the systems described herein.
This disclosure claims priority to and benefit from U.S. Provisional Patent Application No, 61/908,421, filed on Nov. 25, 2013, the entirety of which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
61908421 | Nov 2013 | US |