US20140380068A1 - SRAM Regulating Retention Scheme with Discrete Switch Control and Instant Reference Voltage Generation - Google Patents

SRAM Regulating Retention Scheme with Discrete Switch Control and Instant Reference Voltage Generation Download PDF

Info

Publication number
US20140380068A1
US20140380068A1 US13/921,475 US201313921475A US2014380068A1 US 20140380068 A1 US20140380068 A1 US 20140380068A1 US 201313921475 A US201313921475 A US 201313921475A US 2014380068 A1 US2014380068 A1 US 2014380068A1
Authority
US
United States
Prior art keywords
voltage
signal
circuit
output
analog
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US13/921,475
Other versions
US9411406B2 (en
Inventor
Bo Tang
Ajay Kumar Bhatia
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Apple Inc
Original Assignee
Apple Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Apple Inc filed Critical Apple Inc
Priority to US13/921,475 priority Critical patent/US9411406B2/en
Assigned to APPLE INC. reassignment APPLE INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: BHATIA, AJAY KUMAR, TANG, BO
Publication of US20140380068A1 publication Critical patent/US20140380068A1/en
Application granted granted Critical
Publication of US9411406B2 publication Critical patent/US9411406B2/en
Active legal-status Critical Current
Adjusted expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/325Power saving in peripheral device
    • G06F1/3275Power saving in memory, e.g. RAM, cache
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/46Regulating voltage or current wherein the variable actually regulated by the final control device is dc
    • G05F1/468Regulating voltage or current wherein the variable actually regulated by the final control device is dc characterised by reference voltage circuitry, e.g. soft start, remote shutdown
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power

Definitions

  • This invention is related to the field of integrated circuit implementation, and more particularly to the implementation of power supply management circuits.
  • Computing systems may include one or more systems on a chip (SoC), which may integrate a number of different functions, such as, graphics processing, onto a single integrated circuit. With numerous functions included in a single integrated circuit, chip count may be kept low in mobile computing systems, such as tablets, for example, which may result in reduced assembly costs, and a smaller form factor for such mobile computing systems.
  • SoC systems on a chip
  • SoC SoC Since many functional blocks, such as memories, timers, serial ports, phase-locked loops (PLLs), analog-to-digital converters (ADCs) and more, may be included in an SoC, the probability that a given functional block is not in use at a given time may be high. When a functional block is not in use, the SoC may turn the block off by disabling power to it to conserve power, to reduce the internal chip operating temperature, and the like. However, when the functional block is needed again, power must be turned back on and the block must be initialized. Any data or operational settings stored in the functional block are lost when power is disabled.
  • PLLs phase-locked loops
  • ADCs analog-to-digital converters
  • a retention mode In some SoC designs, functional blocks that are not used all of the time may be placed into a retention mode.
  • clock signals to the functional block may be disabled and the power supply to the block may be reduced to a level that allows the block to retain some or all of the operational settings and/or data contained within the block. This may allow some power savings or temperature reduction without a functional block requiring to be re-initialized when it is needed again.
  • a power supply with a voltage level below the main system operating voltage may be required.
  • Power regulation circuits may be designed in accordance with various designs styles including passive and active designs. Passive regulating circuits may employ a voltage drop across a passive circuit element such as, e.g., a resistor or a diode, to generate a voltage level below the main system operating voltage.
  • a passive circuit element such as, e.g., a resistor or a diode
  • the flexibility to control the voltage output may be provided by using active power regulating circuits. Active power regulating circuits allow control over the voltage output by monitoring the output and comparing the output to one or more known voltage references. The output may be adjusted higher or lower based on this comparison.
  • an apparatus and a method are contemplated in which the apparatus includes a reference voltage circuit configured to provide one or more analog voltage levels in response to being enabled, and a voltage generation circuit coupled to the reference voltage circuit.
  • the voltage generation circuit may be configured to enable the reference voltage circuit and receive one of the analog voltage levels from it.
  • the voltage generation circuit may be configured to generate an output signal with a voltage level dependent upon the received analog voltage level.
  • the voltage generation circuit may be configured to compare the output signal to the received analog voltage at a time after the reference voltage circuit was enabled, thereby establishing a current operational state of the voltage generation circuit.
  • the reference voltage circuit may be disabled at a time after the comparison is made.
  • the voltage generation circuit may be further configured to store this current operational state and then adjust the output voltage level based on one or more of the stored operational states.
  • a sense amplifier circuit may be used within the voltage generation circuit to perform the comparison of the received analog voltage to the voltage generation circuit's output signal.
  • the sense amplifier may be further configured to output one or more digital signals dependent upon the comparison.
  • the sense amplifier may be configured to output two complementary digital signals in response to successfully comparing the output signal to the received analog voltage.
  • the complementary digital signals from the sense amplifier may be used to disable the reference voltage signal.
  • a periodic signal may be sent to the apparatus in another embodiment.
  • the voltage generating circuit may be configured to enable the reference voltage circuit.
  • the voltage generation circuit may be configured to begin a comparison between the output signal and the received analog voltage.
  • FIG. 1 illustrates an embodiment of a system-on-a-chip.
  • FIG. 2 illustrates an embodiment of a power supply system.
  • FIG. 3 illustrates an embodiment of a sense amplifier circuit.
  • FIG. 4 illustrates an embodiment of a staticizer circuit.
  • FIG. 5 illustrates an embodiment of a bias voltage selector
  • FIG. 6 illustrates a state diagram of an embodiment of a power supply system.
  • FIG. 7 illustrates a flowchart of an embodiment of a method.
  • FIG. 8 illustrates an embodiment of a voltage reference circuit.
  • FIG. 9 illustrates example waveforms associated with the operation of an embodiment of a power supply system.
  • FIG. 10 illustrates an alternate embodiment of a power supply system.
  • circuits, or other components may be described as “configured to” perform a task or tasks.
  • “configured to” is a broad recitation of structure generally meaning “having circuitry that” performs the task or tasks during operation.
  • the unit/circuit/component can be configured to perform the task even when the unit/circuit/component is not currently on.
  • the circuitry that forms the structure corresponding to “configured to” may include hardware circuits.
  • various units/circuits/components may be described as performing a task or tasks, for convenience in the description.
  • SoC system-on-a-chip
  • functional blocks such as, e.g., memories and power supplies, which may integrate the function of a computing system onto a single integrated circuit. Since an SoC may integrate multiple features into a single circuit, they are a popular choice for portable devices where space for components is limited.
  • each power supply voltage may be generated within the SoC to provide power to various functional blocks.
  • each power supply voltage may be employed for operating a functional block in a different operational mode.
  • one of the generated power supply voltages may be lower than a nominal supply voltage in order to conserve power or to prevent damage to the circuit.
  • a suitable voltage may be higher than the nominal supply voltage to improve performance or for proper operation of the circuit.
  • the suitable voltage for a given feature may change during operation as the features moves from one state to another, such as, for example, a random access memory (RAM) transitioning from a fully operational read and write state, which may require a voltage equal to the nominal supply voltage, to a lower power retention state in which the memory values are retained, but data cannot be read or written, which may require a voltage less than the nominal supply voltage.
  • RAM random access memory
  • Another example is a flash memory which may require a voltage greater than the nominal supply voltage to write data but may only require a voltage equal to the nominal supply voltage to read data.
  • a voltage greater than the primary power supply voltage may be generated using a charge pump, a voltage doubler, or any other suitable power supply generation circuit.
  • a voltage less that the primary power supply voltage may be generated by employing a voltage regulator, a voltage divider, or any other suitable circuit.
  • MOSFET Metal-Oxide Semiconductor Field-Effect Transistor
  • N-channel MOSFETs open a conductive path between the source and drain when a positive voltage greater than the transistor's threshold voltage is applied between the gate and the source.
  • P-channel MOSFETs open a conductive path when a voltage greater than the transistor's threshold voltage is applied between the drain and the gate.
  • CMOS Complementary MOSFET
  • CMOS Complementary MOSFET
  • CMOS designs n-channel and p-channel MOSFETs may be arranged such that a high level on the gate of a MOSFET turns an re-channel transistor on, i.e., opens a conductive path, and turns a p-channel MOSFET off, i.e., closes a conductive path.
  • a low level on the gate of a MOSFET turns a p-channel on and an n-channel off.
  • transconductance is used in parts of the disclosure. While CMOS logic is used in the examples, it is noted that any suitable digital logic process may be used for the circuits described in this disclosure.
  • “high” or “high logic level” refers to a voltage sufficiently large to turn on a n-channel metal-oxide semiconductor field-effect transistor (MOSFET) and turn off a p-channel MOSFET while “low” or “low logic level” refers to a voltage that is sufficiently small enough to do the opposite.
  • MOSFET metal-oxide semiconductor field-effect transistor
  • “low” or “low logic level” refers to a voltage that is sufficiently small enough to do the opposite.
  • different technology may result in different voltage levels for “low” and “high.”
  • CMOS circuits may employ CMOS circuits. In various other embodiments, however, other suitable technologies may be employed.
  • FIG. 1 A block diagram of an SoC is illustrated in FIG. 1 .
  • the SoC 100 includes a processor 101 coupled to memory blocks 102 a and 102 b , an analog/mixed-signal block 103 , an I/O block 104 , and a power management unit 107 , through a system bus 106 .
  • Processor 101 is also coupled directly to a core memory 105 .
  • SoC 100 may be configured for use in a mobile computing application such as, e.g., a tablet computer or cellular telephone.
  • Processor 101 may, in various embodiments, be representative of a general-purpose processor that performs computational operations.
  • processor 101 may be a central processing unit (CPU) such as a microprocessor, a microcontroller, an application-specific integrated circuit (ASIC), or a field-programmable gate array (FPGA).
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • FPGA field-programmable gate array
  • processor 101 may include multiple CPU cores.
  • processor 101 may include one or more register files and memories.
  • processor 101 may implement any suitable instruction set architecture (ISA), such as, e.g., PowerPCTM, or x86 ISAs, or combination thereof.
  • ISA instruction set architecture
  • Processor 101 may include one or more bus transceiver units that allow processor 101 to communication to other functional blocks within SoC 100 such as, memory blocks 102 a and 102 b , for example.
  • Memory 102 a and memory 102 b may include any suitable type of memory such as, for example, a Dynamic Random Access Memory (DRAM), a Static Random Access Memory (SRAM), a Read-only Memory (ROM), Electrically Erasable Programmable Read-only Memory (EEPROM), a FLASH memory, a Ferroelectric Random Access Memory (FeRAM), or a Magnetoresistive Random Access Memory (MRAM), for example.
  • DRAM Dynamic Random Access Memory
  • SRAM Static Random Access Memory
  • ROM Read-only Memory
  • EEPROM Electrically Erasable Programmable Read-only Memory
  • FLASH memory a Ferroelectric Random Access Memory
  • FeRAM Ferroelectric Random Access Memory
  • MRAM Magnetoresistive Random Access Memory
  • Some embodiments may include single memory, such as memory 102 a and other embodiments may include more than two memory blocks (not shown).
  • Memory 102 a and memory 102 b may be multiple instantiations of the same type of memory or may be a mix of different types of memory.
  • memory 102 a and memory 102 b may be configured to store program instructions that may be executed by processor 101 .
  • Memory 102 a and memory 102 b may, in other embodiments, be configured to store data to be processed, such as graphics data, for example.
  • Analog/mixed-signal block 103 may include a variety of circuits including, for example, a crystal oscillator, a phase-locked loop (PLL) or delay-locked loop (DLL), an analog-to-digital converter (ADC), and a digital-to-analog converter (DAC) (all not shown).
  • analog/mixed-signal block 103 may also include, in some embodiments, radio frequency (RF) circuits that may be configured for operation with cellular telephone networks.
  • RF radio frequency
  • Analog/mixed-signal block 103 may include one or more voltage regulators to supply one or more voltages to various functional blocks and circuits within those blocks.
  • I/O block 104 may be configured to coordinate data transfer between SoC 100 and one or more peripheral devices.
  • peripheral devices may include, without limitation, storage devices (e.g., magnetic or optical media-based storage devices including hard drives, tape drives, CD drives, DVD drives, etc.), audio processing subsystems, graphics processing subsystems, or any other suitable type of peripheral devices.
  • I/O block 104 may be configured to implement a version of Universal Serial Bus (USB) protocol, IEEE 1394 (Firewire®) protocol, or, and may allow for program code and/or program instructions to be transferred from a peripheral storage device for execution by processor 101 .
  • I/O block 104 may be configured to perform the data processing necessary to implement an Ethernet (IEEE 802.3) networking standard.
  • IEEE 802.3 Ethernet
  • Core memory 105 may be configured to store frequently used instructions and data for the processor 101 .
  • Core memory 105 may be comprised of SRAM, DRAM, or any other suitable type of memory.
  • core memory 105 may be a part of a processor core complex (i.e., part of a cluster of processors) as part of processor 101 or it may be a separate functional block from processor 101 .
  • core memory may be a cache memory.
  • System bus 106 may be configured as one or more buses to couple processor 101 to the other functional blocks within the SoC 100 such as, e.g., memory 102 a , and I/O block 104 .
  • system bus 106 may include interfaces coupled to one or more of the functional blocks that allow a particular functional block to communicate through the link.
  • system bus 106 may allow movement of data and transactions between functional blocks without intervention from processor 101 . For example, data received through the I/O block 104 may be stored directly to memory 102 a.
  • Power management unit 107 may be configured to manage power delivery to some or all of the functional blocks included in SoC 100 .
  • Power management unit 107 may include sub-blocks for managing multiple power supplies for various functional blocks.
  • Power management unit 107 may receive signals that indicate the operational state of one or more functional blocks. In response to the operational state of a functional block, power management unit may adjust the output of a power supply.
  • SoC illustrated in FIG. 1 is merely an example. In other embodiments, different functional blocks and different configurations of functions blocks may be possible dependent upon the specific application for which the SoC is intended. It is further noted that the various functional blocks illustrated in SoC 100 may operate at different clock frequencies, and may require different power supply voltage levels.
  • FIG. 2 A block diagram of a power supply unit embodiment is illustrated in FIG. 2 .
  • the system 200 may include a clock circuit (CLK 201 ), a voltage reference (REFERENCE VOLTAGE CIRCUIT 202 ), an input comparison circuit (COMPARE 203 ), a control logic block (CONTROL LOGIC 204 ), a state retention circuit (STATE RETENTION CIRCUIT 205 ), a D-type flip-flop, (FLOP 206 ) a bias voltage selection circuit (BIAS SELECT 207 ), an output driver (DRIVER 208 ).
  • Blocks 203 through 208 may combine to form POWER SUPPLY UNIT 209 .
  • One or more functional blocks may receive the output of DRIVER 208 in some embodiments. In other embodiments, other functional blocks may receive the output from DRIVER 208 .
  • the output of CLK 201 may be used by POWER SUPPLY UNIT 209 to synchronize the various sub-blocks within POWER SUPPLY UNIT 209 .
  • CLK 201 may, in some embodiments, be in another part of system 200 and provide an input signal to the POWER SUPPLY UNIT 209 .
  • CLK 201 may be included within POWER SUPPLY UNIT 209 .
  • CLK 201 may output a signal continuously while system 200 is operating.
  • CLK 201 may enable and disable its output as needed by POWER SUPPLY UNIT 209 .
  • the enabling and disabling of the output of CLK 201 may be used to enable and disable POWER SUPPLY UNIT 209 .
  • REFERENCE VOLTAGE CIRCUIT 202 may, in various embodiments, be configured to produce one or more consistent voltage outputs (signal 211 ) that may be used as reference voltages by other sub-blocks in POWER SUPPLY UNIT 209 .
  • REFERENCE VOLTAGE CIRCUIT 202 may be designed according to one of various design styles, for example a resistor ladder, a bandgap reference, or any other suitable circuit may be employed.
  • a resistor ladder may be connected between a power supply node and ground.
  • a power supply refers to the main operating voltage for digital logic in the SoC.
  • Ground refers to the common ground voltage for the digital logic.
  • the resistor ladder may have one or more “tap” points wherein the voltage at a given tap is equal to the value of the resistance between the tap and ground divided by the value of the total resistance between the power supply and ground.
  • the REFERENCE VOLTAGE CIRCUIT 202 may be further configured adjust the total value of the resistance ladder to compensate for fluctuations in the manufacturing process in order to maintain a consistent value from device to device.
  • REFERENCE VOLTAGE CIRCUIT 202 When REFERENCE VOLTAGE CIRCUIT 202 is initially enabled, the output may require a brief amount of time to settle to a steady state where the output voltage(s) is ready to be used as a reference. For example, if REFERENCE VOLTAGE CIRCUIT 202 is of a resistor ladder type, then the output when REFERENCE VOLTAGE CIRCUIT 202 is disabled may be equal to the power supply voltage. When REFERENCE VOLTAGE CIRCUIT 202 is enabled in this case, the output will settle to a voltage level less than the power supply voltage. The transition from an output equal to the power supply voltage to the desired reference voltage level will take a finite amount of time.
  • power supply output levels typically have some amount of fluctuation due to a variety of reasons, such as, for example, switching noise in the system, the design of the power supply itself, and/or ambient electro-magnetic noise in the environment. Therefore, in the following descriptions, when the terms stable or stabilized are used in reference to a voltage, it refers the voltage being in a state steady enough to be used by the system.
  • COMPARE 203 may, in various embodiments, receive two analog input signals and generate a digital signal whose value is dependent upon the relationship between the two input signals.
  • COMPARE 203 receives a reference voltage (signal 211 ) from REFERENCE VOLTAGE CIRCUIT 202 and the output (signal 216 ) of the POWER SUPPLY UNIT 209 .
  • Compare 203 may be designed according to one of various design styles. For example, compare 203 may employ a sense amplifier, an analog comparator, or any other suitable circuit for comparing the voltage levels of two or more signals.
  • COMPARE 203 may, in some embodiments, generate two or more signals (signals 212 ), such as, for example, one signal that is high when the first input is greater than the second and low when the second input is greater than the first, and a second signal that is the opposite of the first signal. In other embodiments, a signal may be generated to indicate that COMPARE 203 has completed a comparison and the output is valid. COMPARE 203 will be discussed in more detail later in the disclosure.
  • CONTROL LOGIC 204 may be configured to, in some embodiments, to distribute CLK 201 to other sub-blocks within POWER SUPPLY UNIT 209 .
  • CONTROL LOGIC 204 may enable various sub-blocks, such as, for example, REFERENCE VOLTAGE CIRCUIT 202 and COMPARE 203 .
  • CONTROL LOGIC 204 may, in some embodiments, enable REFERENCE VOLTAGE CIRCUIT 202 first and then delay to allow REFERENCE VOLTAGE CIRCUIT 202 to stabilize before enabling COMPARE 203 and other sub-blocks.
  • STATE RETENTION CIRCUIT 205 may, in various embodiments, be configured to receive output signals 212 from COMPARE 203 and maintain the value of the output after COMPARE 203 stops driving. In some embodiments, STATE RETENTION CIRCUIT 205 may retain the output value of COMPARE 203 until the next valid output signals 212 from COMPARE 203 become available. In other embodiments, STATE RETENTION CIRCUIT 205 may output a digital value corresponding to a current state of an output voltage level of POWER SUPPLY UNIT 209 compared to the reference voltage. In some embodiment, the digital value may be a digital word including one or more data bits.
  • the digital word may, in various embodiments, be encoded according to one of a variety of encoding schemes, such as, e.g., binary coded decimal (BCD), for example. Additional details of how STATE RETENTION CIRCUIT 205 operates will be described below in regards to FIG. 4 .
  • BCD binary coded decimal
  • FLOP 206 may sample the value of the output of STATE RETENTION CIRCUIT 205 in some embodiments. FLOP 206 may sample this value on a rising clock edge from CLK 201 . In some embodiments, FLOP 206 may sample the output of STATE RETENTION CIRCUIT 205 at the same time COMPARE 203 starts a new comparison. In such embodiments, FLOP 206 may consistently hold a previous state of STATE RETENTION CIRCUIT 205 output, while STATE RETENTION CIRCUIT 205 holds a current state. In some embodiments, FLOP 206 may include multiple storage circuits to create a longer history of previous states which may be used by system 200 . An alternate embodiment illustrating more previous states will be presented later in the disclosure.
  • FLOP 206 may be implemented as a flip-flop. It is noted that flip-flops may be particular embodiments of single data bit storage circuit and may be designed in accordance with one of various design styles. For example, latches and flip-flops may be implemented using either dynamic or static circuits, or a combination thereof. In some embodiments, each storage circuit may include scan cells as part of the implementation of a boundary scan test circuit.
  • BIAS SELECT 207 may receive both the current state from STATE RETENTION CIRCUIT 205 and the previous state from FLOP 206 . In the example embodiment of FIG. 2 , BIAS SELECT 207 selects a voltage to output based on the current and previous states. In other embodiments, BIAS SELECT 207 may receive additional previous states such that more bias voltage options may be selected as the output. BIAS SELECT 207 will be discussed in further detail later in the disclosure.
  • DRIVER 208 may be implemented as one or more transconductance devices, such as, e.g., a Junction Field-Effect Transistor (JFET), MOSFET, or Bipolar Junction Transistor (BJT).
  • the transconductance device(s) may couple driver output 216 to the voltage supply, such that the transconductance device may act as a pull-up device.
  • the strength of the pull-up on driver output 216 is higher or lower based on the input voltage to DRIVER 208 .
  • a transconductance amplifier may be used.
  • output signal 215 from BIAS SELECT 207 provides the input to transconductance FET such that DRIVER 208 output is pulled harder to the voltage supply when bias select output 215 is a lower voltage.
  • RAM ARRAYS 210 a , TIMER 210 b , and SERIAL PORTS 210 c are the recipients of output 216 from DRIVER 208 .
  • These peripherals 210 a - 210 c may enter a low power or background state before receiving the output of POWER SUPPLY UNIT 209 .
  • various other SoC peripherals may be used, such as, for example, SoC registers, data buffers, etc.
  • FIG. 2 is merely an example. In other embodiments, different functional blocks and different configurations of functions blocks are possible dependent upon the specific application for which the system is intended.
  • SENSE AMP 300 may correspond to COMPARE 203 as illustrated in FIG. 2 .
  • SENSE AMP 300 may receive signals sa_enable 320 , Vref 321 , and Vout 322 as inputs from other parts of the system.
  • Vref 321 may correspond to signal 211 from FIG. 2
  • Vout 322 may correspond to output 216 from FIG. 2 .
  • Vref 321 and Vout 322 are coupled to transistors Q 306 and Q 307 , respectively.
  • Signal sa_enable 320 may correspond to a delayed version of the output of CLK 201 from FIG. 2 .
  • Sa_enable 320 is coupled to transistors Q 301 -Q 305 .
  • SENSE AMP 300 may have two outputs, sa_out_H 323 and sa_out_L 324 which may correspond to signals 212 as shown in FIG. 2 .
  • Sa_out_H 323 and sa_out_L 324 are coupled to the outputs of inverters INV 312 and 313 , respectively.
  • INV 312 and INV 313 may be embodiments of various circuits that may buffer and/or invert the coupled input signals, node 314 and node 315 .
  • SENSE AMP 300 is enabled and disabled by the input signal sa_enable 320 which controls transistors Q 301 -Q 305 .
  • SENSE AMP 300 may be disabled when sa_enable 320 is low.
  • Q 301 -Q 304 will conduct, thereby pre-charging nodes 314 and 315 to the power supply voltage.
  • Nodes 314 and 315 are the input to inverters INV 312 and INV 313 , which drive outputs sa_out_H 323 and sa_out_L 324 both to low states, respectively.
  • Nodes 316 and 317 are also pre-charged to the power supply voltage.
  • Q 305 will not conduct with a low input from sa_enable 320 , so the path to ground is disabled, regardless of the Vout 322 and Vref 321 inputs on Q 306 and Q 307 respectively.
  • pre-charge devices feedback devices, pull-up devices, and pull-down devices may be illustrated as individual transistors, in other embodiments, any of these devices may be implemented using multiple transistors or other suitable circuit elements.
  • Vout 322 In response to sa_enable 320 transitioning to a high state, Q 301 -Q 304 stop conducting and Q 305 starts conducting, thereby opening a path to ground. Now the comparison of Vout 322 to Vref 321 begins. If Vout 322 ⁇ Vref 321 , then node 316 will be pulled to ground faster than node 317 , which results in Q 309 conducting before Q 311 . This in turn pulls node 314 to ground which causes Q 310 to conduct and Q 311 to not conduct which keeps node 315 pulled to the power supply voltage. The sense amp will stabilize with sa_out_H 323 transitioning to a high state and sa_out_L 324 remaining in a low state. If Vout 322 >Vref 321 , the opposite will occur and sa_out_H 323 will remain in a low state and sa_out_L 324 will transition to a high state.
  • CMOS inverters such as those shown and described herein, may be a particular embodiment of an inverting amplifier that may be employed in the circuits described herein.
  • any suitable configuration of inverting amplifier that is capable of inverting the logical sense of a signal may be used, including inverting amplifiers built using technology other than CMOS.
  • FIG. 3 is merely an example of a comparison circuit. In other embodiments, various other sense amps circuits may be employed. Still other embodiments may implement comparison circuits based on differential amplifier circuit techniques.
  • FIG. 4 illustrates an embodiment of a state retention circuit, STATICIZER 400 .
  • STATICIZER 400 may correspond to STATE RETENTION CIRCUIT 205 , although other possible embodiments are known.
  • sa_out_H 423 and sa_out_L 424 may be inputs coming from a comparison circuit, such as, e.g., sa_out_H 323 and sa_out_L 324 from SENSE AMP 300 as illustrated in FIG. 3 .
  • Sa_out_H 423 is coupled to the input of INV 407 .
  • Sa_out_L 424 is coupled to transistors Q 402 and Q 403 .
  • STATICIZER 400 outputs a signal Qc 425 which is coupled to the output of INV 409 .
  • sa_out_H 423 and sa_out_L 424 may be at complementary states, in other words, if sa_out_H 423 is high then sa_out_L 424 may be low and vice versa.
  • inverter INV 407 outputs a high state which results in p-channel transistor Q 401 not conducting.
  • N-channel transistor Q 402 will conduct due to the high state from sa_out_L 424 .
  • Q 403 will not conduct and Q 404 will conduct. This results in node 410 being pulled to a low state.
  • Both INV 408 and INV 409 will output high states.
  • the high state output by INV 408 causes Q 405 to not conduct and Q 406 to conduct. Since both Q 404 and Q 406 are conducting, node 410 is pulled strongly to a low state. The output Qc 425 will therefore be in a high state.
  • sa_out_H 423 and sa_out_L 424 may both transition to low states after a short delay while the comparison circuit stabilizes. This may cause both Q 401 and Q 402 to not conduct, and place Q 403 and Q 404 in a conductive state. Since node 410 has already stabilized at a low state, Q 405 is not conducting and Q 406 is conducting. Therefore, node 410 may remain in a low state and output Qc 425 remains in a high state.
  • FLOP 430 which, in some embodiments, may correspond to FLOP 206 in FIG. 2 .
  • FLOP 430 is coupled to Qc 425 such as to receive Qc 425 as an input.
  • FLOP 430 is also coupled to sa_enable 420 , such as to receive sa_enable as a clock source.
  • the output of FLOP 430 is Qp 426 .
  • sa_enable 420 may transition to a high state to start another comparison of Vout 322 to Vref 321 in SENSE AMP 300 , this may cause FLOP 206 to capture the current state of Qc 425 , which, in our current example, is a high state, as delays in the stabilization of outputs from SENSE AMP 300 will delay the update of Qc 425 .
  • the output of FLOP 430 , Qp 426 may then be in a high state. After a short delay, determined by the technology and design of the transistors used to create the circuits, Qc 425 will transition to its new value based on the latest SENSE AMP 300 output. Since FLOP 430 captured the state of Qc 425 before it updated, Qp 426 now holds the previous state of Qc 425 .
  • FIG. 4 is merely an example. It is noted that various other embodiments of staticizer circuits are possible and contemplated. In other embodiments, a latch or flip-flop may be used as STATE RETENTION CIRCUIT 205 .
  • FIG. 5 illustrates an example embodiment of a digital hybrid amplifier, HYBRID AMP 500 .
  • HYBRID AMP 500 may correspond to BIAS SELECT 207 from FIG. 2 , although other possible embodiments are known.
  • HYBRID AMP 500 may receive signals Qc 525 and Qp 526 which may correspond to Qc 425 and Qp 426 from STATICIZER 400 from FIG. 4 .
  • Qc 525 is coupled to the input of inverter INV 509 and Qp 526 is coupled to the input of inverter INV 510 .
  • HYBRID AMP 500 has an output Vbias 521 , which is coupled to transistors Q 502 , Q 504 , Q 506 , and Q 508 .
  • Qc 525 representing the current state of Vout 522 (high state if Vout 522 is greater than Vref 321 , low state if Vout 522 is less than Vref 321 ) and Qp 526 , representing a previous state of Vout 522 , are the input signals to HYBRID AMP 500 .
  • Qc 525 and Qp 526 may be inverted by inverters INV 509 and INV 510 .
  • Inverted Qc 525 is coupled to the gates of transistors Q 501 , Q 503 , Q 505 and Q 507 .
  • Inverted Qp 526 is coupled to the gates of transistors Q 502 , Q 504 , Q 506 and Q 508 .
  • transistors Q 501 , Q 502 , Q 506 and Q 507 are p-channel, so they conduct in response to a low state on their gates.
  • Transistors Q 503 , Q 504 , Q 505 and Q 508 are n-channel, so they conduct in response to a high state on their gates.
  • Vt threshold voltage
  • the signal would not be attenuated passing through an n-channel transistor and would be attenuated by a voltage equal to Vt when passing through a p-channel transistor.
  • Table 1 shows the resulting bias voltage, Vbias, as a result of the four combinations of states of signals Qc and Qp.
  • the term Vpower_supply in Table 1 refers to the power supply voltage.
  • the resulting Vbias 521 may be coupled to the gate of a transconductance FET to implement DRIVER 530 .
  • DRIVER 530 may correspond to DRIVER 208 illustrated in FIG. 2 .
  • the output of DRIVER 530 may be Vout 516 , which may correspond to output 216 from FIG. 2 .
  • Transconductance refers to how well a transistor conducts current when a given voltage is applied to its gate.
  • the MOSFETs are typically designed to operate in one of two modes, “on” with maximum conductance and “off” with minimum conductance.
  • a transistor may be operated such that its transconductance responds proportionately to the voltage level applied to its gate.
  • the relationship between the gate voltage and the transconductance may be approximately linear, while, in other embodiments, the gate voltage and the transconductance may have a different relationship.
  • FIG. 5 is merely one example of bias selection and output driver circuits.
  • various adjustable amplification circuits may be used, such as digital-to-analog converters (DACs).
  • DACs digital-to-analog converters
  • Still other embodiments may implement other state-controlled power supplies.
  • FIG. 6 illustrates an embodiment of a state diagram for a power supply system such as described in FIGS. 1-4 .
  • operation of the regulator is simplified to four states, 601 - 604 , as determined by the current state, Qc and the previous state, Qp.
  • state 601 Vout is below Vref and was also below Vref during the previous comparison. This may be the state when the voltage regulator system 200 is initially powered on.
  • DRIVER 208 may pull Vout hard to the power supply voltage to quickly move Vout to be greater than Vref. There may be two transitions while in this state, transitions 605 and 606 .
  • transition 605 may occur, in which case, system 200 may remain in state 601 . If Vout is greater than Vref during the next comparison, then transition 606 may occur and system 200 may transition into state 602 .
  • Vout has increased from being less than Vref in the previous comparison to being greater than Vref in the current comparison.
  • DRIVER 208 may pull Vout to the power supply voltage with a weak pull up to avoid overshooting the Vref target voltage.
  • Two transitions may be available to leave state 602 , transitions 607 and 608 .
  • Transition 607 may be taken if Vout is less than Vref at the next comparison, transitioning system 200 to state 604 . Otherwise, if Vout remains greater than Vref, transition 608 may transition system 200 to state 603 .
  • Vout is greater than Vref and was also greater than Vref in the previous comparison.
  • DRIVER 208 may stop pulling Vout to the power supply voltage to allow Vout to droop down below Vref, thereby keeping the voltage centered around the Vref target level.
  • Two transitions may be available from state 603 , transitions 609 and 610 .
  • Transition 609 may be taken if Vout remains greater than Vref, which keeps system 200 in state 603 . If Vout falls below Vref, then transition 610 may be taken and system 200 moves to state 604 .
  • Vout has fallen from being higher than Vref in the previous comparison to lower than Vref in the current comparison.
  • DRIVER 208 may pull Vout to the power supply voltage harder than in state 602 , but not as hard as in state 601 , with a goal of raising Vout above Vref without overshooting the Vref target level.
  • Two transitions may be available from state 604 , transitions 607 and 611 .
  • Transition 607 may be taken if Vout increases to greater than Vref in the next comparison, moving system 200 into state 602 . Otherwise, transition 611 may take system 200 to state 601 .
  • FIG. 6 is merely an example of a state diagram for a power supply system such as POWER SUPPLY UNIT 209 .
  • the number of states and the transitions between states may differ in other embodiments based on the application for which the power supply is intended.
  • FIG. 7 illustrates a flowchart depicting an embodiment of a method for managing the output of a power supply circuit, such as, e.g., POWER SUPPLY UNIT 209 illustrated in FIG. 2 .
  • the method may begin in block 701 .
  • RAM ARRAYS 210 a may enter a retention mode (block 702 ).
  • CLK 201 may begin to toggle.
  • a control signal may be asserted that signals a RAM is entering a retention mode.
  • POWER SUPPLY UNIT 209 may be enabled.
  • POWER SUPPLY UNIT 209 may be enabled by CLK 201 transitioning from a static state to a toggling state. In other embodiments, POWER SUPPLY UNIT 209 may be enabled by the control signal that signaled the RAM retention mode.
  • CONTROL LOGIC 204 may enable REFERENCE VOLTAGE CIRCUIT 202 (block 703 ). In other embodiments, a falling edge of CLK 201 may trigger CONTROL LOGIC 204 to enable REFERENCE VOLTAGE CIRCUIT 202 .
  • CONTROL LOGIC 204 may wait for a period of time to allow REFERENCE VOLTAGE CIRCUIT 202 to stabilize (block 704 ). This period of time may be set by propagation delays through one or more logic gates. In other embodiments, the period of time may be determined by monitoring the REFERENCE VOLTAGE CIRCUIT 202 output to sense when it is stable.
  • CONTROL LOGIC 204 may assert a signal to COMPARE 203 to begin comparing the output of REFERENCE VOLTAGE CIRCUIT 202 , Vref, to the regulator output of system 200 , Vout (block 705 ).
  • COMPARE 203 may output two signals, one, sa_out_H and sa_out_L, as described above in respect to FIG. 3 . In some embodiments, these signals may be complementary upon COMPARE 203 being enabled and a comparison being complete.
  • STATE RETENTION CIRCUIT 205 may capture the output from COMPARE 203 and FLOP 206 may hold the previous output from COMPARE 203 as described above in respect to FIG. 4 .
  • STATE RETENTION CIRCUIT 205 may receive sa_out_H to capture and use as a current state.
  • STATE RETENTION CIRCUIT 205 may receive sa_out_L to capture and use as a current state.
  • BIAS SELECT 207 may receive the value of the current state, Qc, from STATE RETENTION CIRCUIT 205 and may receive the value of the previous state, Qp, from FLOP 206 .
  • BIAS SELECT 207 may compare Qc to Qp (block 706 ).
  • BIAS SELECT 207 Based on the values of Qc and Qp, BIAS SELECT 207 output a specific voltage, Vbias (block 707 ).
  • DRIVER 209 may receive Vbias and DRIVER 209 may adjust its output based on the level of Vbias (block 707 ).
  • DRIVER 209 may be a MOSFET transistor, configured as described above in respect to FIG. 5 , which may be used to pull Vout up to a power supply.
  • BIAS SELECT 207 and DRIVER 208 may be a single block which may directly output Vout. More details on BIAS SELECT 207 will be provided below.
  • COMPARE 203 may assert a signal to signify a completed comparison which CONTROL LOGIC 204 may use to disable REFERENCE VOLTAGE CIRCUIT 202 .
  • POWER SUPPLY UNIT 209 may determine if the RAM retention mode is still active (block 709 ). In some embodiments, this may be determined by receiving another rising or falling edge from CLK 201 . In other embodiments, RAM retention mode may be sensed as being active by the continued assertion of a control signal. If the RAM retention mode is determined to still be active, then the method may return to block 703 . Otherwise, the method may end in block 710 . In other embodiments, the method may wait for a start signal before starting another comparison cycle at block 703 .
  • FIG. 7 depicts operations being performed in a sequential fashion with block 707 and block 708 being performed in parallel. In various other embodiments, other operations may be performed in parallel or in a different sequence. Block 707 and block 708 may be performed in series in other embodiments.
  • voltage regulator circuit 800 might be used for REFERENCE VOLTAGE CIRCUIT 202 in System 200 as illustrated in FIG. 2 , although various other embodiments are also possible.
  • voltage regulator circuit 800 may receive inputs sa_out_H 823 and sa_out_L 824 as outputs from a sense amplifier, such as, e.g., SENSE AMP 300 from FIG. 3 .
  • Sa_out_H 823 and sa_out_L 824 may correspond to sa_out_H 323 and sa_out_L 324 from FIG. 2 .
  • voltage regulator circuit 800 may also receive input vr_enable 820 , which may come from a clock source such as, e.g., CLK 201 from FIG. 2 .
  • vr_enable may come from a processor within an SoC, such as, e.g., PROCESSOR 101 in FIG. 1 .
  • a resistor ladder is formed by resistors R 801 -R 803 .
  • Various voltage levels can be output based on where on the resistor ladder a tap point is made.
  • two reference voltages may be output, Vref_a 825 and Vref_b 826 .
  • Vref_a 825 is taken from the node between R 801 and R 802 .
  • Vref_b 826 is taken from the node between R 802 and R 803 .
  • Voltage regulator circuit 800 may be enabled when the two transistors, Q 804 and Q 805 are both conducting.
  • Q 804 may conduct when the NOR logic gate, NOR 806 , is high, which may occur when input signals sa_out_H 823 and sa_out_L 824 are both low.
  • Q 805 will conduct when input signal vr_enable 820 is high. Therefore, the inputs must be vr_enable 820 set high, sa_out_H 823 set low and sa_out_L 824 set low. Any other combination and the voltage regulator circuit 800 is disabled.
  • resistors R 801 through R 803 may reside on an SoC circuit, such as, e.g., SOC 100 illustrated in FIG. 1 , and may be constructed from polycrystalline silicon, n-type or p-type diffused silicon, copper or aluminum metal, or any other suitable material available on a semiconductor manufacturing process. In other embodiments, resistors R 801 through R 803 may reside outside of an SoC circuit such as, e.g., SOC 100 illustrated in FIG. 1 and coupled to the circuit through a circuit board or equivalent medium. In various embodiments, resistors R 801 through R 803 may be active resistors, i.e., transistors biased to provide a fixed impedance or resistor.
  • Vref_a 825 and Vref_b 826 will rise to a voltage level equivalent to the power supply voltage.
  • voltage regulator circuit 700 When voltage regulator circuit 700 is enabled, current will flow from the power supply to ground through resistors R 801 -R 803 and through Q 804 and Q 805 . In this case, Vref_a 825 will be at a voltage level determined by equation 1 and Vref_b 826 will be at a voltage level determined by equation 2.
  • Vref a VDD * R ⁇ ⁇ 802 + R ⁇ ⁇ 803 R ⁇ ⁇ 801 + R ⁇ ⁇ 802 + R ⁇ ⁇ 803 ( 1 )
  • Vref b VDD * R ⁇ ⁇ 803 R ⁇ ⁇ 801 + R ⁇ ⁇ 802 + R ⁇ ⁇ 803 ( 2 )
  • FIG. 8 is merely an example. In other embodiments, different numbers of resistors and different types of resistors are possible and contemplated. It is also noted that transistors Q 804 and Q 805 could be p-channel and connected between resistors R 801 -R 803 and the power supply. NOR 806 may implemented by various other means that provide similar functionality.
  • FIG. 9 illustrates a chart of possible waveforms associated with a power supply management unit such as POWER SUPPLY UNIT 209 .
  • POWER SUPPLY UNIT 209 the first waveform on the bottom of the chart, 901 , shows a clock signal such as may be provided by CLK 201 , called vr_enable.
  • Waveform 902 displays a delayed version of waveform 901 , referred to as sa_enable.
  • Waveform 903 Vref, shows an example of a possible output of REFERENCE VOLTAGE CIRCUIT 202 .
  • Waveform 904 , sa_out_L, and waveform 905 , sa_out_H, show example outputs of COMPARE 203 .
  • Waveform 906 , Qc is an example output of STATE RETENTION CIRCUIT 205 and waveform 907 , Qp, is an example of the output of FLOP 206 .
  • Waveform 908 , Vbias shows an example output of BIAS SELECT 207 .
  • Waveform 909 , Vout is an example of the output of DRIVER 208 .
  • this signal may be an input into POWER SUPPLY UNIT 209 .
  • vr_enable may be an input into CONTROL LOGIC 204 . If vr_enable is high and sa_out_L and sa_out_H are low, then REFERENCE VOLTAGE CIRCUIT 202 may be enabled and the output, Vref, may drop down to its enabled reference voltage level.
  • CONTROL LOGIC 204 may also delay vr_enable to create sa_enable.
  • the sa_enable signal may go to COMPARE 203 and FLOP 206 , which may cause COMPARE 203 to begin a comparison.
  • FLOP 206 may also store the current state of Qc as Qp. In time period t0 in FIG. 9 , both Qc and Qp enter the period low, therefore Qp remains low at the rising edge of sa_enable.
  • COMPARE 203 may generate a comparison of Vref to Vout. In period t0, Vout is lower than Vref, so sa_out_H is set high and sa_out_L remains low. Note that when sa_out_H goes high, Vref rises back to its disabled value. As described above in reference to the example circuit for REFERENCE VOLTAGE CIRCUIT 202 in FIG. 8 , both sa_out_L and sa_out_H must be low for REFERENCE VOLTAGE CIRCUIT 202 to be enabled. Therefore, when COMPARE 203 generates an output in which either sa_out_L or sa_out_H goes high, REFERENCE VOLTAGE CIRCUIT 202 may be disabled automatically.
  • BIAS SELECT 207 may compare the values of Qc and Qp. In period t0, both Qc and Qp are low, so, based on the example circuit of FIG. 5 , Vbias will be ground. As previously described in reference to FIG. 5 , the lower the value of Vbias, the stronger Vout is pulled to the power supply voltage. Therefore, with Qc and Qp both low, Vbias is set to its lowest level, i.e., GROUND, and Vout is pulled strong to the power supply voltage and will therefore begin rising.
  • t1 another comparison may be triggered by the rising edge of sa_enable.
  • Vout has risen above Vref.
  • COMPARE 203 may set sa_out_L high.
  • STATE RETENTION CIRCUIT 205 may set the value of Qc high in response to sa_out_L transitioning high.
  • FLOP 206 may store the value of Qc just before Qc transitions high, such that Qp remains low in t1.
  • BIAS SELECT 207 may change the Vbias output in response to Qc being high and Qp remaining low.
  • the new value for Vbias referring to Table 1, is Vpower_supply-Vt.
  • DRIVER 208 may have a weak pull on Vout to the power supply voltage, which may cause the voltage level of Vout to not rise as steeply, but it may still rise.
  • the cycle may repeat in time period t2.
  • Vout is still higher than Vref, so sa_out_L is again set high.
  • STATE RETENTION CIRCUIT 205 may keep Qc high.
  • FLOP 206 may set Qp as high instead of low.
  • BIAS SELECT 207 may choose a new Vbias in response to Qc and Qp both being high. From Table 1, the new Vbias level may be the power supply voltage.
  • DRIVER 208 may have no pull on Vout to the power supply voltage, which may result in the voltage level of Vout to begin falling.
  • COMPARE 203 may set sa_out_H to high.
  • STATE RETENTION CIRCUIT 205 may set Qc to low.
  • FLOP 206 may store the value of Qc before it transitions low, such that Qp may remain high.
  • BIAS SELECT 207 may set Vbias to Vt, according to Table 1. Applying Vt to DRIVER 208 may result in Vout being pulled to the power supply voltage with a mid-range strength, i.e., a stronger pull than when Vbias is Vpower_supply-Vt, but not as strong as when Vbias is GROUND.
  • Vout again rise above Vref.
  • COMPARE 203 set sa_out_L high, which may result in STATE RETENTION CIRCUIT 205 setting Qc to high.
  • FLOP 206 may store the value of Qc before it transitions high, such that Qp is set low.
  • BIAS SELECT 207 may set Vbias to Vpower_supply-Vt, which may result in DRIVER 208 having a weak pull on Vout to the power supply voltage.
  • Vout may remain above Vref, which may result in COMPARE 203 setting sa_out_L to high.
  • STATE RETENTION CIRCUIT 205 may set Qc to high.
  • FLOP 206 may store the previous value of Qc, which was also high, setting Qp to high.
  • BIAS SELECT 207 may set Vbias to the power supply voltage.
  • the power supply voltage applied to DRIVER 208 may result in no pull of Vout to the power supply voltage, which may result in Vout to begin falling.
  • Vout may undulate above and below Vref, with the average voltage level being close to Vref. This undulation is commonly referred to as voltage ripple.
  • voltage ripple To reduce the size of the ripple, i.e., reduce the voltage delta between the minimum and maximum voltage levels of the ripple, more than one previous state may be saved and used by BIAS SELECT to set Vbias.
  • FIG. 9 is merely an example of waveforms that may result from the example embodiments as presented in this disclosure. Use of alternate embodiments may result in variations to the waveforms presented in FIG. 9 .
  • FIG. 10 illustrates an example embodiment of a portion of POWER SUPPLY UNIT 1000 .
  • Staticizer 1005 may correspond to STATE RETENTION CIRCUIT 205 as illustrated in FIG. 2 , and may provide a similar output, Qc, corresponding to the current state of POWER SUPPLY UNIT 1000 .
  • FLOP 1006 a may correspond to FLOP 206 from FIG. 2 , providing an output, Qp 1 , corresponding to the most recent previous state of POWER SUPPLY UNIT 1000 .
  • POWER SUPPLY UNIT 1000 may include flip flop, FLOP 1006 b , which may store the output of FLOP 1006 a .
  • BUFFER 1008 may be used to add a slight delay to sa_enable, so that FLOP 1006 b will store the value of Qp 1 before it is updated to its new value.
  • BIAS SELECT 1007 may have three inputs to use to select a Vbias output level, Qc being the current state, Qp 1 being the state from the previous comparison cycle, and Qp 2 being the state from two comparison cycles previous. With these three inputs, BIAS SELECT 1007 now may select from eight possible Vbias outputs, as shown in Table 2.
  • the term Vpower_supply in Table 2 refers to the power supply voltage.
  • the changes to output of the POWER SUPPLY UNIT 1000 may be more gradual, which may result in less ripple than is present when only four Vbias levels are used.
  • the Vbias outputs shown in Table 2 are only examples.
  • the Vbias voltage levels may be selected to provide the best performance for the functional blocks that may be coupled to POWER SUPPLY UNIT 1000 .
  • more flip-flops may be used to save even more previous sates, further increasing the number of potential Vbias voltage levels that may be selected.
  • FLOP 1006 b may be designed according to one of various design styles. For example, FLOP 1006 b may employ one or more flip-flops, a shift register, a small RAM or any other suitable circuit for storing a sequence of one or more bits of data.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Electromagnetism (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Automation & Control Theory (AREA)
  • Semiconductor Integrated Circuits (AREA)

Abstract

A system including control logic, a voltage reference, a sense amplifier, and a voltage supply circuit is presented. The sense amplifier may be configured to detect a current state of the voltage supply circuit output compared to the reference voltage. The voltage supply circuit may be configured to capture and preserve the current state to be used as a previous state. The voltage regulator may be configured to compare the current state to one or more previous states and adjust the voltage regulator output based on the comparison. Control logic may be configured to enable the voltage reference output in response to a signal. Control logic may be configured to enable the sense amplifier at a time after the voltage reference is stable. Control logic may be configured to disable the voltage reference output in response to the sense amplifier generating an output.

Description

    BACKGROUND
  • 1. Technical Field
  • This invention is related to the field of integrated circuit implementation, and more particularly to the implementation of power supply management circuits.
  • 2. Description of the Related Art
  • Computing systems may include one or more systems on a chip (SoC), which may integrate a number of different functions, such as, graphics processing, onto a single integrated circuit. With numerous functions included in a single integrated circuit, chip count may be kept low in mobile computing systems, such as tablets, for example, which may result in reduced assembly costs, and a smaller form factor for such mobile computing systems.
  • Since many functional blocks, such as memories, timers, serial ports, phase-locked loops (PLLs), analog-to-digital converters (ADCs) and more, may be included in an SoC, the probability that a given functional block is not in use at a given time may be high. When a functional block is not in use, the SoC may turn the block off by disabling power to it to conserve power, to reduce the internal chip operating temperature, and the like. However, when the functional block is needed again, power must be turned back on and the block must be initialized. Any data or operational settings stored in the functional block are lost when power is disabled.
  • In some SoC designs, functional blocks that are not used all of the time may be placed into a retention mode. In a retention mode, clock signals to the functional block may be disabled and the power supply to the block may be reduced to a level that allows the block to retain some or all of the operational settings and/or data contained within the block. This may allow some power savings or temperature reduction without a functional block requiring to be re-initialized when it is needed again. In order to implement a retention mode, a power supply with a voltage level below the main system operating voltage may be required. In addition, it is desirable to implement this power supply with minimal impact to the total chip power consumption.
  • Power regulation circuits may be designed in accordance with various designs styles including passive and active designs. Passive regulating circuits may employ a voltage drop across a passive circuit element such as, e.g., a resistor or a diode, to generate a voltage level below the main system operating voltage.
  • The flexibility to control the voltage output may be provided by using active power regulating circuits. Active power regulating circuits allow control over the voltage output by monitoring the output and comparing the output to one or more known voltage references. The output may be adjusted higher or lower based on this comparison.
  • SUMMARY OF THE EMBODIMENTS
  • Various embodiments of a power management apparatus are disclosed. Broadly speaking, an apparatus and a method are contemplated in which the apparatus includes a reference voltage circuit configured to provide one or more analog voltage levels in response to being enabled, and a voltage generation circuit coupled to the reference voltage circuit. The voltage generation circuit may be configured to enable the reference voltage circuit and receive one of the analog voltage levels from it. The voltage generation circuit may be configured to generate an output signal with a voltage level dependent upon the received analog voltage level. The voltage generation circuit may be configured to compare the output signal to the received analog voltage at a time after the reference voltage circuit was enabled, thereby establishing a current operational state of the voltage generation circuit. The reference voltage circuit may be disabled at a time after the comparison is made. The voltage generation circuit may be further configured to store this current operational state and then adjust the output voltage level based on one or more of the stored operational states.
  • In another embodiment, a sense amplifier circuit may be used within the voltage generation circuit to perform the comparison of the received analog voltage to the voltage generation circuit's output signal. The sense amplifier may be further configured to output one or more digital signals dependent upon the comparison.
  • In a further embodiment, the sense amplifier may be configured to output two complementary digital signals in response to successfully comparing the output signal to the received analog voltage. The complementary digital signals from the sense amplifier may be used to disable the reference voltage signal.
  • A periodic signal may be sent to the apparatus in another embodiment. In response to detecting a rising or a falling edge in the periodic signal, the voltage generating circuit may be configured to enable the reference voltage circuit. In response to determining the reference voltage circuit is ready, the voltage generation circuit may be configured to begin a comparison between the output signal and the received analog voltage.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • The following detailed description makes reference to the accompanying drawings, which are now briefly described.
  • FIG. 1 illustrates an embodiment of a system-on-a-chip.
  • FIG. 2 illustrates an embodiment of a power supply system.
  • FIG. 3 illustrates an embodiment of a sense amplifier circuit.
  • FIG. 4 illustrates an embodiment of a staticizer circuit.
  • FIG. 5 illustrates an embodiment of a bias voltage selector.
  • FIG. 6 illustrates a state diagram of an embodiment of a power supply system.
  • FIG. 7 illustrates a flowchart of an embodiment of a method.
  • FIG. 8 illustrates an embodiment of a voltage reference circuit.
  • FIG. 9 illustrates example waveforms associated with the operation of an embodiment of a power supply system.
  • FIG. 10 illustrates an alternate embodiment of a power supply system.
  • While the disclosure is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It should be understood, however, that the drawings and detailed description thereto are not intended to limit the disclosure to the particular form illustrated, but on the contrary, the intention is to cover all modifications, equivalents and alternatives falling within the spirit and scope of the present disclosure as defined by the appended claims. The headings used herein are for organizational purposes only and are not meant to be used to limit the scope of the description. As used throughout this application, the word “may” is used in a permissive sense (i.e., meaning having the potential to), rather than the mandatory sense (i.e., meaning must). Similarly, the words “include,” “including,” and “includes” mean including, but not limited to.
  • Various units, circuits, or other components may be described as “configured to” perform a task or tasks. In such contexts, “configured to” is a broad recitation of structure generally meaning “having circuitry that” performs the task or tasks during operation. As such, the unit/circuit/component can be configured to perform the task even when the unit/circuit/component is not currently on. In general, the circuitry that forms the structure corresponding to “configured to” may include hardware circuits. Similarly, various units/circuits/components may be described as performing a task or tasks, for convenience in the description. Such descriptions should be interpreted as including the phrase “configured to.” Reciting a unit/circuit/component that is configured to perform one or more tasks is expressly intended not to invoke 35 U.S.C. §112, paragraph six interpretation for that unit/circuit/component. More generally, the recitation of any element is expressly intended not to invoke 35 U.S.C. §112, paragraph six interpretation for that element unless the language “means for” or “step for” is specifically recited.
  • DETAILED DESCRIPTION OF EMBODIMENTS
  • A system-on-a-chip (SoC) may include one or more functional blocks, such as, e.g., memories and power supplies, which may integrate the function of a computing system onto a single integrated circuit. Since an SoC may integrate multiple features into a single circuit, they are a popular choice for portable devices where space for components is limited.
  • To reduce power consumption in some SoC designs, multiple power supply voltages may be generated within the SoC to provide power to various functional blocks. In some embodiments, each power supply voltage may be employed for operating a functional block in a different operational mode. For example, one of the generated power supply voltages may be lower than a nominal supply voltage in order to conserve power or to prevent damage to the circuit. A suitable voltage may be higher than the nominal supply voltage to improve performance or for proper operation of the circuit. The suitable voltage for a given feature may change during operation as the features moves from one state to another, such as, for example, a random access memory (RAM) transitioning from a fully operational read and write state, which may require a voltage equal to the nominal supply voltage, to a lower power retention state in which the memory values are retained, but data cannot be read or written, which may require a voltage less than the nominal supply voltage. Another example is a flash memory which may require a voltage greater than the nominal supply voltage to write data but may only require a voltage equal to the nominal supply voltage to read data.
  • Multiple supply voltages may be obtained through the use of various circuits. In some embodiments, a voltage greater than the primary power supply voltage may be generated using a charge pump, a voltage doubler, or any other suitable power supply generation circuit. In other embodiments, a voltage less that the primary power supply voltage may be generated by employing a voltage regulator, a voltage divider, or any other suitable circuit.
  • Various embodiments of a voltage regulation system are described in this disclosure. The embodiments illustrated in the drawings and described below may provide techniques for providing controllable voltages to peripheral circuits within a computing system.
  • Circuit Design Overview
  • Many terms commonly used in reference to SoC designs are used in this disclosure. For the sake of clarity, the intended definitions of some of these terms, unless stated otherwise, are as follows.
  • A Metal-Oxide Semiconductor Field-Effect Transistor (MOSFET) describes a type of transistor that may be used in modern digital logic designs. MOSFETs are designed as one of two basic types, n-channel and p-channel. N-channel MOSFETs open a conductive path between the source and drain when a positive voltage greater than the transistor's threshold voltage is applied between the gate and the source. P-channel MOSFETs open a conductive path when a voltage greater than the transistor's threshold voltage is applied between the drain and the gate.
  • Complementary MOSFET (CMOS) describes a circuit designed with a mix of n-channel and p-channel MOSFETs. In CMOS designs, n-channel and p-channel MOSFETs may be arranged such that a high level on the gate of a MOSFET turns an re-channel transistor on, i.e., opens a conductive path, and turns a p-channel MOSFET off, i.e., closes a conductive path. Conversely, a low level on the gate of a MOSFET turns a p-channel on and an n-channel off. In addition, the term transconductance is used in parts of the disclosure. While CMOS logic is used in the examples, it is noted that any suitable digital logic process may be used for the circuits described in this disclosure.
  • It is noted that “high” or “high logic level” refers to a voltage sufficiently large to turn on a n-channel metal-oxide semiconductor field-effect transistor (MOSFET) and turn off a p-channel MOSFET while “low” or “low logic level” refers to a voltage that is sufficiently small enough to do the opposite. In other embodiments, different technology may result in different voltage levels for “low” and “high.”
  • The embodiments illustrated and described herein may employ CMOS circuits. In various other embodiments, however, other suitable technologies may be employed.
  • System-on-a-Chip Overview
  • A block diagram of an SoC is illustrated in FIG. 1. In the illustrated embodiment, the SoC 100 includes a processor 101 coupled to memory blocks 102 a and 102 b, an analog/mixed-signal block 103, an I/O block 104, and a power management unit 107, through a system bus 106. Processor 101 is also coupled directly to a core memory 105. In various embodiments, SoC 100 may be configured for use in a mobile computing application such as, e.g., a tablet computer or cellular telephone.
  • Processor 101 may, in various embodiments, be representative of a general-purpose processor that performs computational operations. For example, processor 101 may be a central processing unit (CPU) such as a microprocessor, a microcontroller, an application-specific integrated circuit (ASIC), or a field-programmable gate array (FPGA). In some embodiments, processor 101 may include multiple CPU cores. In some embodiments, processor 101 may include one or more register files and memories.
  • In some embodiments, processor 101 may implement any suitable instruction set architecture (ISA), such as, e.g., PowerPC™, or x86 ISAs, or combination thereof. Processor 101 may include one or more bus transceiver units that allow processor 101 to communication to other functional blocks within SoC 100 such as, memory blocks 102 a and 102 b, for example.
  • Memory 102 a and memory 102 b may include any suitable type of memory such as, for example, a Dynamic Random Access Memory (DRAM), a Static Random Access Memory (SRAM), a Read-only Memory (ROM), Electrically Erasable Programmable Read-only Memory (EEPROM), a FLASH memory, a Ferroelectric Random Access Memory (FeRAM), or a Magnetoresistive Random Access Memory (MRAM), for example. Some embodiments may include single memory, such as memory 102 a and other embodiments may include more than two memory blocks (not shown). Memory 102 a and memory 102 b may be multiple instantiations of the same type of memory or may be a mix of different types of memory. In some embodiments, memory 102 a and memory 102 b may be configured to store program instructions that may be executed by processor 101. Memory 102 a and memory 102 b may, in other embodiments, be configured to store data to be processed, such as graphics data, for example.
  • Analog/mixed-signal block 103 may include a variety of circuits including, for example, a crystal oscillator, a phase-locked loop (PLL) or delay-locked loop (DLL), an analog-to-digital converter (ADC), and a digital-to-analog converter (DAC) (all not shown). In some embodiments, analog/mixed-signal block 103 may also include, in some embodiments, radio frequency (RF) circuits that may be configured for operation with cellular telephone networks. Analog/mixed-signal block 103 may include one or more voltage regulators to supply one or more voltages to various functional blocks and circuits within those blocks.
  • I/O block 104 may be configured to coordinate data transfer between SoC 100 and one or more peripheral devices. Such peripheral devices may include, without limitation, storage devices (e.g., magnetic or optical media-based storage devices including hard drives, tape drives, CD drives, DVD drives, etc.), audio processing subsystems, graphics processing subsystems, or any other suitable type of peripheral devices. In some embodiments, I/O block 104 may be configured to implement a version of Universal Serial Bus (USB) protocol, IEEE 1394 (Firewire®) protocol, or, and may allow for program code and/or program instructions to be transferred from a peripheral storage device for execution by processor 101. In one embodiment, I/O block 104 may be configured to perform the data processing necessary to implement an Ethernet (IEEE 802.3) networking standard.
  • Core memory 105 may be configured to store frequently used instructions and data for the processor 101. Core memory 105 may be comprised of SRAM, DRAM, or any other suitable type of memory. In some embodiments, core memory 105 may be a part of a processor core complex (i.e., part of a cluster of processors) as part of processor 101 or it may be a separate functional block from processor 101. In some embodiments, core memory may be a cache memory.
  • System bus 106 may be configured as one or more buses to couple processor 101 to the other functional blocks within the SoC 100 such as, e.g., memory 102 a, and I/O block 104. In some embodiments, system bus 106 may include interfaces coupled to one or more of the functional blocks that allow a particular functional block to communicate through the link. In some embodiments, system bus 106 may allow movement of data and transactions between functional blocks without intervention from processor 101. For example, data received through the I/O block 104 may be stored directly to memory 102 a.
  • Power management unit 107 may be configured to manage power delivery to some or all of the functional blocks included in SoC 100. Power management unit 107 may include sub-blocks for managing multiple power supplies for various functional blocks. Power management unit 107 may receive signals that indicate the operational state of one or more functional blocks. In response to the operational state of a functional block, power management unit may adjust the output of a power supply.
  • It is noted that the SoC illustrated in FIG. 1 is merely an example. In other embodiments, different functional blocks and different configurations of functions blocks may be possible dependent upon the specific application for which the SoC is intended. It is further noted that the various functional blocks illustrated in SoC 100 may operate at different clock frequencies, and may require different power supply voltage levels.
  • System Overview
  • A block diagram of a power supply unit embodiment is illustrated in FIG. 2. In the illustrated embodiment, the system 200 may include a clock circuit (CLK 201), a voltage reference (REFERENCE VOLTAGE CIRCUIT 202), an input comparison circuit (COMPARE 203), a control logic block (CONTROL LOGIC 204), a state retention circuit (STATE RETENTION CIRCUIT 205), a D-type flip-flop, (FLOP 206) a bias voltage selection circuit (BIAS SELECT 207), an output driver (DRIVER 208). Blocks 203 through 208 may combine to form POWER SUPPLY UNIT 209. One or more functional blocks (e.g., RAM ARRAYS 210 a, TIMER 210 b, SERIAL PORT 210 c) may receive the output of DRIVER 208 in some embodiments. In other embodiments, other functional blocks may receive the output from DRIVER 208.
  • In some embodiments, the output of CLK 201 may be used by POWER SUPPLY UNIT 209 to synchronize the various sub-blocks within POWER SUPPLY UNIT 209. CLK 201 may, in some embodiments, be in another part of system 200 and provide an input signal to the POWER SUPPLY UNIT 209. In other embodiments, CLK 201 may be included within POWER SUPPLY UNIT 209. CLK 201 may output a signal continuously while system 200 is operating. In other embodiments, CLK 201 may enable and disable its output as needed by POWER SUPPLY UNIT 209. In systems where CLK 201 is in another part of system 200, the enabling and disabling of the output of CLK 201 may be used to enable and disable POWER SUPPLY UNIT 209.
  • REFERENCE VOLTAGE CIRCUIT 202 may, in various embodiments, be configured to produce one or more consistent voltage outputs (signal 211) that may be used as reference voltages by other sub-blocks in POWER SUPPLY UNIT 209. REFERENCE VOLTAGE CIRCUIT 202 may be designed according to one of various design styles, for example a resistor ladder, a bandgap reference, or any other suitable circuit may be employed. In various embodiments, a resistor ladder may be connected between a power supply node and ground. A power supply refers to the main operating voltage for digital logic in the SoC. Ground refers to the common ground voltage for the digital logic. The resistor ladder may have one or more “tap” points wherein the voltage at a given tap is equal to the value of the resistance between the tap and ground divided by the value of the total resistance between the power supply and ground. In some embodiments, the REFERENCE VOLTAGE CIRCUIT 202 may be further configured adjust the total value of the resistance ladder to compensate for fluctuations in the manufacturing process in order to maintain a consistent value from device to device.
  • When REFERENCE VOLTAGE CIRCUIT 202 is initially enabled, the output may require a brief amount of time to settle to a steady state where the output voltage(s) is ready to be used as a reference. For example, if REFERENCE VOLTAGE CIRCUIT 202 is of a resistor ladder type, then the output when REFERENCE VOLTAGE CIRCUIT 202 is disabled may be equal to the power supply voltage. When REFERENCE VOLTAGE CIRCUIT 202 is enabled in this case, the output will settle to a voltage level less than the power supply voltage. The transition from an output equal to the power supply voltage to the desired reference voltage level will take a finite amount of time. It should be noted, that power supply output levels typically have some amount of fluctuation due to a variety of reasons, such as, for example, switching noise in the system, the design of the power supply itself, and/or ambient electro-magnetic noise in the environment. Therefore, in the following descriptions, when the terms stable or stabilized are used in reference to a voltage, it refers the voltage being in a state steady enough to be used by the system.
  • COMPARE 203 may, in various embodiments, receive two analog input signals and generate a digital signal whose value is dependent upon the relationship between the two input signals. In the embodiment illustrated in FIG. 2, COMPARE 203 receives a reference voltage (signal 211) from REFERENCE VOLTAGE CIRCUIT 202 and the output (signal 216) of the POWER SUPPLY UNIT 209. Compare 203 may be designed according to one of various design styles. For example, compare 203 may employ a sense amplifier, an analog comparator, or any other suitable circuit for comparing the voltage levels of two or more signals. COMPARE 203 may, in some embodiments, generate two or more signals (signals 212), such as, for example, one signal that is high when the first input is greater than the second and low when the second input is greater than the first, and a second signal that is the opposite of the first signal. In other embodiments, a signal may be generated to indicate that COMPARE 203 has completed a comparison and the output is valid. COMPARE 203 will be discussed in more detail later in the disclosure.
  • CONTROL LOGIC 204 may be configured to, in some embodiments, to distribute CLK 201 to other sub-blocks within POWER SUPPLY UNIT 209. In other embodiments, CONTROL LOGIC 204 may enable various sub-blocks, such as, for example, REFERENCE VOLTAGE CIRCUIT 202 and COMPARE 203. CONTROL LOGIC 204 may, in some embodiments, enable REFERENCE VOLTAGE CIRCUIT 202 first and then delay to allow REFERENCE VOLTAGE CIRCUIT 202 to stabilize before enabling COMPARE 203 and other sub-blocks.
  • STATE RETENTION CIRCUIT 205 may, in various embodiments, be configured to receive output signals 212 from COMPARE 203 and maintain the value of the output after COMPARE 203 stops driving. In some embodiments, STATE RETENTION CIRCUIT 205 may retain the output value of COMPARE 203 until the next valid output signals 212 from COMPARE 203 become available. In other embodiments, STATE RETENTION CIRCUIT 205 may output a digital value corresponding to a current state of an output voltage level of POWER SUPPLY UNIT 209 compared to the reference voltage. In some embodiment, the digital value may be a digital word including one or more data bits. The digital word may, in various embodiments, be encoded according to one of a variety of encoding schemes, such as, e.g., binary coded decimal (BCD), for example. Additional details of how STATE RETENTION CIRCUIT 205 operates will be described below in regards to FIG. 4.
  • FLOP 206 may sample the value of the output of STATE RETENTION CIRCUIT 205 in some embodiments. FLOP 206 may sample this value on a rising clock edge from CLK 201. In some embodiments, FLOP 206 may sample the output of STATE RETENTION CIRCUIT 205 at the same time COMPARE 203 starts a new comparison. In such embodiments, FLOP 206 may consistently hold a previous state of STATE RETENTION CIRCUIT 205 output, while STATE RETENTION CIRCUIT 205 holds a current state. In some embodiments, FLOP 206 may include multiple storage circuits to create a longer history of previous states which may be used by system 200. An alternate embodiment illustrating more previous states will be presented later in the disclosure.
  • In some embodiments, FLOP 206 may be implemented as a flip-flop. It is noted that flip-flops may be particular embodiments of single data bit storage circuit and may be designed in accordance with one of various design styles. For example, latches and flip-flops may be implemented using either dynamic or static circuits, or a combination thereof. In some embodiments, each storage circuit may include scan cells as part of the implementation of a boundary scan test circuit.
  • BIAS SELECT 207 may receive both the current state from STATE RETENTION CIRCUIT 205 and the previous state from FLOP 206. In the example embodiment of FIG. 2, BIAS SELECT 207 selects a voltage to output based on the current and previous states. In other embodiments, BIAS SELECT 207 may receive additional previous states such that more bias voltage options may be selected as the output. BIAS SELECT 207 will be discussed in further detail later in the disclosure.
  • In some embodiments, DRIVER 208 may be implemented as one or more transconductance devices, such as, e.g., a Junction Field-Effect Transistor (JFET), MOSFET, or Bipolar Junction Transistor (BJT). The transconductance device(s) may couple driver output 216 to the voltage supply, such that the transconductance device may act as a pull-up device. The strength of the pull-up on driver output 216 is higher or lower based on the input voltage to DRIVER 208. In various other embodiments, a transconductance amplifier may be used. In the embodiment illustrated in FIG. 2, output signal 215 from BIAS SELECT 207 provides the input to transconductance FET such that DRIVER 208 output is pulled harder to the voltage supply when bias select output 215 is a lower voltage.
  • In the example embodiment, RAM ARRAYS 210 a, TIMER 210 b, and SERIAL PORTS 210 c are the recipients of output 216 from DRIVER 208. These peripherals 210 a-210 c may enter a low power or background state before receiving the output of POWER SUPPLY UNIT 209. In other embodiments, various other SoC peripherals may be used, such as, for example, SoC registers, data buffers, etc.
  • It is noted that the system illustrated in FIG. 2 is merely an example. In other embodiments, different functional blocks and different configurations of functions blocks are possible dependent upon the specific application for which the system is intended.
  • Turning to FIG. 3, an embodiment of a sense amplifier is illustrated. In some embodiments, SENSE AMP 300, may correspond to COMPARE 203 as illustrated in FIG. 2. SENSE AMP 300 may receive signals sa_enable 320, Vref 321, and Vout 322 as inputs from other parts of the system. For instance, Vref 321 may correspond to signal 211 from FIG. 2 and Vout 322 may correspond to output 216 from FIG. 2. Vref 321 and Vout 322 are coupled to transistors Q306 and Q307, respectively. Signal sa_enable 320 may correspond to a delayed version of the output of CLK 201 from FIG. 2. Sa_enable 320 is coupled to transistors Q301-Q305. SENSE AMP 300 may have two outputs, sa_out_H 323 and sa_out_L 324 which may correspond to signals 212 as shown in FIG. 2. Sa_out_H 323 and sa_out_L 324 are coupled to the outputs of inverters INV 312 and 313, respectively. Although inverters are illustrated, INV 312 and INV 313 may be embodiments of various circuits that may buffer and/or invert the coupled input signals, node 314 and node 315.
  • During operation SENSE AMP 300 is enabled and disabled by the input signal sa_enable 320 which controls transistors Q301-Q305. SENSE AMP 300 may be disabled when sa_enable 320 is low. In this state, Q301-Q304 will conduct, thereby pre-charging nodes 314 and 315 to the power supply voltage. Nodes 314 and 315 are the input to inverters INV 312 and INV 313, which drive outputs sa_out_H 323 and sa_out_L 324 both to low states, respectively. Nodes 316 and 317 are also pre-charged to the power supply voltage. Q305 will not conduct with a low input from sa_enable 320, so the path to ground is disabled, regardless of the Vout 322 and Vref 321 inputs on Q306 and Q307 respectively.
  • It is noted that although pre-charge devices, feedback devices, pull-up devices, and pull-down devices may be illustrated as individual transistors, in other embodiments, any of these devices may be implemented using multiple transistors or other suitable circuit elements.
  • In response to sa_enable 320 transitioning to a high state, Q301-Q304 stop conducting and Q305 starts conducting, thereby opening a path to ground. Now the comparison of Vout 322 to Vref 321 begins. If Vout 322<Vref 321, then node 316 will be pulled to ground faster than node 317, which results in Q309 conducting before Q311. This in turn pulls node 314 to ground which causes Q310 to conduct and Q311 to not conduct which keeps node 315 pulled to the power supply voltage. The sense amp will stabilize with sa_out_H 323 transitioning to a high state and sa_out_L 324 remaining in a low state. If Vout 322>Vref 321, the opposite will occur and sa_out_H 323 will remain in a low state and sa_out_L 324 will transition to a high state.
  • It is noted that static CMOS inverters, such as those shown and described herein, may be a particular embodiment of an inverting amplifier that may be employed in the circuits described herein. However, in other embodiments, any suitable configuration of inverting amplifier that is capable of inverting the logical sense of a signal may be used, including inverting amplifiers built using technology other than CMOS.
  • FIG. 3 is merely an example of a comparison circuit. In other embodiments, various other sense amps circuits may be employed. Still other embodiments may implement comparison circuits based on differential amplifier circuit techniques.
  • FIG. 4 illustrates an embodiment of a state retention circuit, STATICIZER 400. In some embodiments, STATICIZER 400 may correspond to STATE RETENTION CIRCUIT 205, although other possible embodiments are known. In this illustrated embodiment, sa_out_H 423 and sa_out_L 424 may be inputs coming from a comparison circuit, such as, e.g., sa_out_H 323 and sa_out_L 324 from SENSE AMP 300 as illustrated in FIG. 3. Sa_out_H 423 is coupled to the input of INV 407. Sa_out_L 424 is coupled to transistors Q402 and Q403. STATICIZER 400 outputs a signal Qc 425 which is coupled to the output of INV 409.
  • During operation, note that if SENSE AMP 300 is enabled and its outputs are stable, sa_out_H 423 and sa_out_L 424 may be at complementary states, in other words, if sa_out_H 423 is high then sa_out_L 424 may be low and vice versa. When sa_out_H 423 is low and sa_out_L 424 is high, inverter INV 407 outputs a high state which results in p-channel transistor Q401 not conducting. N-channel transistor Q402 will conduct due to the high state from sa_out_L 424. Q403 will not conduct and Q404 will conduct. This results in node 410 being pulled to a low state. Both INV 408 and INV 409 will output high states. The high state output by INV 408 causes Q405 to not conduct and Q406 to conduct. Since both Q404 and Q406 are conducting, node 410 is pulled strongly to a low state. The output Qc 425 will therefore be in a high state.
  • When the comparison circuit is disabled, sa_out_H 423 and sa_out_L 424 may both transition to low states after a short delay while the comparison circuit stabilizes. This may cause both Q401 and Q402 to not conduct, and place Q403 and Q404 in a conductive state. Since node 410 has already stabilized at a low state, Q405 is not conducting and Q406 is conducting. Therefore, node 410 may remain in a low state and output Qc 425 remains in a high state.
  • Also illustrated in FIG. 4 is FLOP 430, which, in some embodiments, may correspond to FLOP 206 in FIG. 2. FLOP 430 is coupled to Qc 425 such as to receive Qc 425 as an input. FLOP 430 is also coupled to sa_enable 420, such as to receive sa_enable as a clock source. The output of FLOP 430 is Qp 426.
  • During operation, sa_enable 420 may transition to a high state to start another comparison of Vout 322 to Vref 321 in SENSE AMP 300, this may cause FLOP 206 to capture the current state of Qc 425, which, in our current example, is a high state, as delays in the stabilization of outputs from SENSE AMP 300 will delay the update of Qc 425. The output of FLOP 430, Qp 426, may then be in a high state. After a short delay, determined by the technology and design of the transistors used to create the circuits, Qc 425 will transition to its new value based on the latest SENSE AMP 300 output. Since FLOP 430 captured the state of Qc 425 before it updated, Qp 426 now holds the previous state of Qc 425.
  • The embodiment illustrated in FIG. 4 is merely an example. It is noted that various other embodiments of staticizer circuits are possible and contemplated. In other embodiments, a latch or flip-flop may be used as STATE RETENTION CIRCUIT 205.
  • FIG. 5 illustrates an example embodiment of a digital hybrid amplifier, HYBRID AMP 500. In some embodiments, HYBRID AMP 500 may correspond to BIAS SELECT 207 from FIG. 2, although other possible embodiments are known. HYBRID AMP 500 may receive signals Qc 525 and Qp 526 which may correspond to Qc 425 and Qp 426 from STATICIZER 400 from FIG. 4. Qc 525 is coupled to the input of inverter INV 509 and Qp 526 is coupled to the input of inverter INV 510. HYBRID AMP 500 has an output Vbias 521, which is coupled to transistors Q502, Q504, Q506, and Q508.
  • In this illustrated embodiment, Qc 525, representing the current state of Vout 522 (high state if Vout 522 is greater than Vref 321, low state if Vout 522 is less than Vref 321) and Qp 526, representing a previous state of Vout 522, are the input signals to HYBRID AMP 500. Qc 525 and Qp 526 may be inverted by inverters INV 509 and INV 510. Inverted Qc 525 is coupled to the gates of transistors Q501, Q503, Q505 and Q507. Inverted Qp 526 is coupled to the gates of transistors Q502, Q504, Q506 and Q508.
  • In the present example, transistors Q501, Q502, Q506 and Q507 are p-channel, so they conduct in response to a low state on their gates. Transistors Q503, Q504, Q505 and Q508 are n-channel, so they conduct in response to a high state on their gates. When a signal equal to the power supply voltage passes through a p-channel transistor, the signal is not attenuated. When the same signal passes through an n-channel transistor, the signal is attenuated by a voltage equal to the threshold voltage (also referred to herein as “Vt”) of the n-channel transistor. This value is determined by the technology and design of the transistor. The opposite is true for a signal equal to ground. In this case, the signal would not be attenuated passing through an n-channel transistor and would be attenuated by a voltage equal to Vt when passing through a p-channel transistor. Table 1 shows the resulting bias voltage, Vbias, as a result of the four combinations of states of signals Qc and Qp. The term Vpower_supply in Table 1 refers to the power supply voltage.
  • TABLE 1
    Bias Voltage Selection
    Qc Qp Vbias
    low low ground
    low high Vt
    high low Vpower_supply-Vt
    high high Vpower_supply
  • The resulting Vbias 521 may be coupled to the gate of a transconductance FET to implement DRIVER 530. In some embodiments, DRIVER 530 may correspond to DRIVER 208 illustrated in FIG. 2. The output of DRIVER 530 may be Vout 516, which may correspond to output 216 from FIG. 2.
  • Transconductance refers to how well a transistor conducts current when a given voltage is applied to its gate. In CMOS logic circuits, the MOSFETs are typically designed to operate in one of two modes, “on” with maximum conductance and “off” with minimum conductance. In some embodiments, to create voltage levels between the power supply voltage and ground, a transistor may be operated such that its transconductance responds proportionately to the voltage level applied to its gate. In this example, since a p-channel FET is used, the lower the Vbias 521 voltage is, stronger Vout 516 will be pulled to the power supply voltage. In some embodiments, the relationship between the gate voltage and the transconductance may be approximately linear, while, in other embodiments, the gate voltage and the transconductance may have a different relationship.
  • FIG. 5 is merely one example of bias selection and output driver circuits. In other embodiments, various adjustable amplification circuits may be used, such as digital-to-analog converters (DACs). Still other embodiments may implement other state-controlled power supplies.
  • FIG. 6 illustrates an embodiment of a state diagram for a power supply system such as described in FIGS. 1-4. In this example embodiment, operation of the regulator is simplified to four states, 601-604, as determined by the current state, Qc and the previous state, Qp. In state 601, Vout is below Vref and was also below Vref during the previous comparison. This may be the state when the voltage regulator system 200 is initially powered on. In state 601, DRIVER 208 may pull Vout hard to the power supply voltage to quickly move Vout to be greater than Vref. There may be two transitions while in this state, transitions 605 and 606. If Vout remains below Vref during the next comparison, then transition 605 may occur, in which case, system 200 may remain in state 601. If Vout is greater than Vref during the next comparison, then transition 606 may occur and system 200 may transition into state 602.
  • In state 602, Vout has increased from being less than Vref in the previous comparison to being greater than Vref in the current comparison. In state 602, DRIVER 208 may pull Vout to the power supply voltage with a weak pull up to avoid overshooting the Vref target voltage. Two transitions may be available to leave state 602, transitions 607 and 608. Transition 607 may be taken if Vout is less than Vref at the next comparison, transitioning system 200 to state 604. Otherwise, if Vout remains greater than Vref, transition 608 may transition system 200 to state 603.
  • In state 603, Vout is greater than Vref and was also greater than Vref in the previous comparison. In state 603, DRIVER 208 may stop pulling Vout to the power supply voltage to allow Vout to droop down below Vref, thereby keeping the voltage centered around the Vref target level. Two transitions may be available from state 603, transitions 609 and 610. Transition 609 may be taken if Vout remains greater than Vref, which keeps system 200 in state 603. If Vout falls below Vref, then transition 610 may be taken and system 200 moves to state 604.
  • In state 604, Vout has fallen from being higher than Vref in the previous comparison to lower than Vref in the current comparison. In state 604, DRIVER 208 may pull Vout to the power supply voltage harder than in state 602, but not as hard as in state 601, with a goal of raising Vout above Vref without overshooting the Vref target level. Two transitions may be available from state 604, transitions 607 and 611. Transition 607 may be taken if Vout increases to greater than Vref in the next comparison, moving system 200 into state 602. Otherwise, transition 611 may take system 200 to state 601.
  • It is noted that FIG. 6 is merely an example of a state diagram for a power supply system such as POWER SUPPLY UNIT 209. The number of states and the transitions between states may differ in other embodiments based on the application for which the power supply is intended.
  • Power Management Methods
  • FIG. 7 illustrates a flowchart depicting an embodiment of a method for managing the output of a power supply circuit, such as, e.g., POWER SUPPLY UNIT 209 illustrated in FIG. 2. Referring collectively to POWER SUPPLY UNIT 209 and the flowchart in FIG. 7, the method may begin in block 701. RAM ARRAYS 210 a may enter a retention mode (block 702). In response to RAM ARRAYS 210 a entering a retention mode, CLK 201 may begin to toggle. In other embodiments, a control signal may be asserted that signals a RAM is entering a retention mode.
  • In response to RAM ARRAYS 210 a entering a retention mode, POWER SUPPLY UNIT 209 may be enabled. POWER SUPPLY UNIT 209 may be enabled by CLK 201 transitioning from a static state to a toggling state. In other embodiments, POWER SUPPLY UNIT 209 may be enabled by the control signal that signaled the RAM retention mode. In response to receiving a rising clock edge from CLK 201, CONTROL LOGIC 204 may enable REFERENCE VOLTAGE CIRCUIT 202 (block 703). In other embodiments, a falling edge of CLK 201 may trigger CONTROL LOGIC 204 to enable REFERENCE VOLTAGE CIRCUIT 202.
  • CONTROL LOGIC 204 may wait for a period of time to allow REFERENCE VOLTAGE CIRCUIT 202 to stabilize (block 704). This period of time may be set by propagation delays through one or more logic gates. In other embodiments, the period of time may be determined by monitoring the REFERENCE VOLTAGE CIRCUIT 202 output to sense when it is stable.
  • Once the period of time has elapsed, CONTROL LOGIC 204 may assert a signal to COMPARE 203 to begin comparing the output of REFERENCE VOLTAGE CIRCUIT 202, Vref, to the regulator output of system 200, Vout (block 705). Upon completion of the comparison of Vref to Vout, COMPARE 203 may output two signals, one, sa_out_H and sa_out_L, as described above in respect to FIG. 3. In some embodiments, these signals may be complementary upon COMPARE 203 being enabled and a comparison being complete.
  • STATE RETENTION CIRCUIT 205 may capture the output from COMPARE 203 and FLOP 206 may hold the previous output from COMPARE 203 as described above in respect to FIG. 4. STATE RETENTION CIRCUIT 205 may receive sa_out_H to capture and use as a current state. In alternate embodiments, STATE RETENTION CIRCUIT 205 may receive sa_out_L to capture and use as a current state. BIAS SELECT 207 may receive the value of the current state, Qc, from STATE RETENTION CIRCUIT 205 and may receive the value of the previous state, Qp, from FLOP 206. BIAS SELECT 207 may compare Qc to Qp (block 706).
  • Based on the values of Qc and Qp, BIAS SELECT 207 output a specific voltage, Vbias (block 707). DRIVER 209 may receive Vbias and DRIVER 209 may adjust its output based on the level of Vbias (block 707). In some embodiments, DRIVER 209 may be a MOSFET transistor, configured as described above in respect to FIG. 5, which may be used to pull Vout up to a power supply. In other embodiments, BIAS SELECT 207 and DRIVER 208 may be a single block which may directly output Vout. More details on BIAS SELECT 207 will be provided below.
  • The complementary state of the output of COMPARE 203 described above may be used by CONTROL LOGIC 204 to disable REFERENCE VOLTAGE CIRCUIT 202 (block 708). In other embodiments, COMPARE 203 may assert a signal to signify a completed comparison which CONTROL LOGIC 204 may use to disable REFERENCE VOLTAGE CIRCUIT 202.
  • POWER SUPPLY UNIT 209 may determine if the RAM retention mode is still active (block 709). In some embodiments, this may be determined by receiving another rising or falling edge from CLK 201. In other embodiments, RAM retention mode may be sensed as being active by the continued assertion of a control signal. If the RAM retention mode is determined to still be active, then the method may return to block 703. Otherwise, the method may end in block 710. In other embodiments, the method may wait for a start signal before starting another comparison cycle at block 703.
  • It is noted that the method illustrated in FIG. 7 depicts operations being performed in a sequential fashion with block 707 and block 708 being performed in parallel. In various other embodiments, other operations may be performed in parallel or in a different sequence. Block 707 and block 708 may be performed in series in other embodiments.
  • Turning to FIG. 8, an example embodiment of a voltage regulator circuit is illustrated. In some embodiments, voltage regulator circuit 800 might be used for REFERENCE VOLTAGE CIRCUIT 202 in System 200 as illustrated in FIG. 2, although various other embodiments are also possible. In some embodiments, voltage regulator circuit 800 may receive inputs sa_out_H 823 and sa_out_L 824 as outputs from a sense amplifier, such as, e.g., SENSE AMP 300 from FIG. 3. Sa_out_H 823 and sa_out_L 824 may correspond to sa_out_H 323 and sa_out_L 324 from FIG. 2. In some embodiments, voltage regulator circuit 800 may also receive input vr_enable 820, which may come from a clock source such as, e.g., CLK 201 from FIG. 2. In alternate embodiments, vr_enable may come from a processor within an SoC, such as, e.g., PROCESSOR 101 in FIG. 1.
  • In this illustrated embodiment, a resistor ladder is formed by resistors R801-R803. Various voltage levels can be output based on where on the resistor ladder a tap point is made. In this illustrated embodiment, two reference voltages may be output, Vref_a 825 and Vref_b 826. Vref_a 825 is taken from the node between R801 and R802. Vref_b 826 is taken from the node between R802 and R803. Voltage regulator circuit 800 may be enabled when the two transistors, Q804 and Q805 are both conducting. Q804 may conduct when the NOR logic gate, NOR 806, is high, which may occur when input signals sa_out_H 823 and sa_out_L 824 are both low. Q805 will conduct when input signal vr_enable 820 is high. Therefore, the inputs must be vr_enable 820 set high, sa_out_H 823 set low and sa_out_L 824 set low. Any other combination and the voltage regulator circuit 800 is disabled.
  • It is noted that in some embodiments, resistors R801 through R803 may reside on an SoC circuit, such as, e.g., SOC 100 illustrated in FIG. 1, and may be constructed from polycrystalline silicon, n-type or p-type diffused silicon, copper or aluminum metal, or any other suitable material available on a semiconductor manufacturing process. In other embodiments, resistors R801 through R803 may reside outside of an SoC circuit such as, e.g., SOC 100 illustrated in FIG. 1 and coupled to the circuit through a circuit board or equivalent medium. In various embodiments, resistors R801 through R803 may be active resistors, i.e., transistors biased to provide a fixed impedance or resistor.
  • When voltage regulator circuit 800 is disabled, no current may flow through R801-R803. Therefore, Vref_a 825 and Vref_b 826 will rise to a voltage level equivalent to the power supply voltage. When voltage regulator circuit 700 is enabled, current will flow from the power supply to ground through resistors R801-R803 and through Q804 and Q805. In this case, Vref_a 825 will be at a voltage level determined by equation 1 and Vref_b 826 will be at a voltage level determined by equation 2.
  • Vref a = VDD * R 802 + R 803 R 801 + R 802 + R 803 ( 1 ) Vref b = VDD * R 803 R 801 + R 802 + R 803 ( 2 )
  • It is noted that the embodiment illustrated in FIG. 8 is merely an example. In other embodiments, different numbers of resistors and different types of resistors are possible and contemplated. It is also noted that transistors Q804 and Q805 could be p-channel and connected between resistors R801-R803 and the power supply. NOR 806 may implemented by various other means that provide similar functionality.
  • FIG. 9 illustrates a chart of possible waveforms associated with a power supply management unit such as POWER SUPPLY UNIT 209. Referring collectively to POWER SUPPLY UNIT 209 and the chart in FIG. 7, the first waveform on the bottom of the chart, 901, shows a clock signal such as may be provided by CLK 201, called vr_enable. Waveform 902 displays a delayed version of waveform 901, referred to as sa_enable. Waveform 903, Vref, shows an example of a possible output of REFERENCE VOLTAGE CIRCUIT 202. Waveform 904, sa_out_L, and waveform 905, sa_out_H, show example outputs of COMPARE 203. Waveform 906, Qc, is an example output of STATE RETENTION CIRCUIT 205 and waveform 907, Qp, is an example of the output of FLOP 206. Waveform 908, Vbias, shows an example output of BIAS SELECT 207. Waveform 909, Vout, is an example of the output of DRIVER 208.
  • Turning back to illustrated waveform 901, this signal may be an input into POWER SUPPLY UNIT 209. In the example embodiment of system 200, as described above, vr_enable may be an input into CONTROL LOGIC 204. If vr_enable is high and sa_out_L and sa_out_H are low, then REFERENCE VOLTAGE CIRCUIT 202 may be enabled and the output, Vref, may drop down to its enabled reference voltage level.
  • CONTROL LOGIC 204 may also delay vr_enable to create sa_enable. The sa_enable signal may go to COMPARE 203 and FLOP 206, which may cause COMPARE 203 to begin a comparison. FLOP 206 may also store the current state of Qc as Qp. In time period t0 in FIG. 9, both Qc and Qp enter the period low, therefore Qp remains low at the rising edge of sa_enable.
  • In response to the rising edge on sa_enable, COMPARE 203 may generate a comparison of Vref to Vout. In period t0, Vout is lower than Vref, so sa_out_H is set high and sa_out_L remains low. Note that when sa_out_H goes high, Vref rises back to its disabled value. As described above in reference to the example circuit for REFERENCE VOLTAGE CIRCUIT 202 in FIG. 8, both sa_out_L and sa_out_H must be low for REFERENCE VOLTAGE CIRCUIT 202 to be enabled. Therefore, when COMPARE 203 generates an output in which either sa_out_L or sa_out_H goes high, REFERENCE VOLTAGE CIRCUIT 202 may be disabled automatically.
  • BIAS SELECT 207 may compare the values of Qc and Qp. In period t0, both Qc and Qp are low, so, based on the example circuit of FIG. 5, Vbias will be ground. As previously described in reference to FIG. 5, the lower the value of Vbias, the stronger Vout is pulled to the power supply voltage. Therefore, with Qc and Qp both low, Vbias is set to its lowest level, i.e., GROUND, and Vout is pulled strong to the power supply voltage and will therefore begin rising.
  • It is noted that on the falling edge of sa_enable in t0, sa_out_H goes back low, making both sa_out_L and saout_H low, which may allow REFERENCE VOLTAGE CIRCUIT 202 to be enabled again. However, vr_enable has also transitioned low, so REFERENCE VOLTAGE CIRCUIT 202 will not be enabled again until the next rising edge of vr_enable.
  • In the next time period, t1, another comparison may be triggered by the rising edge of sa_enable. In t1, Vout has risen above Vref. In response, COMPARE 203 may set sa_out_L high. STATE RETENTION CIRCUIT 205 may set the value of Qc high in response to sa_out_L transitioning high. FLOP 206 may store the value of Qc just before Qc transitions high, such that Qp remains low in t1. BIAS SELECT 207 may change the Vbias output in response to Qc being high and Qp remaining low. The new value for Vbias, referring to Table 1, is Vpower_supply-Vt. Now DRIVER 208 may have a weak pull on Vout to the power supply voltage, which may cause the voltage level of Vout to not rise as steeply, but it may still rise.
  • The cycle may repeat in time period t2. In t2, Vout is still higher than Vref, so sa_out_L is again set high. STATE RETENTION CIRCUIT 205 may keep Qc high. However, now FLOP 206 may set Qp as high instead of low. As a result, BIAS SELECT 207 may choose a new Vbias in response to Qc and Qp both being high. From Table 1, the new Vbias level may be the power supply voltage. Now DRIVER 208 may have no pull on Vout to the power supply voltage, which may result in the voltage level of Vout to begin falling.
  • The next cycle, t3, may see Vout fall below Vref. So in t3, COMPARE 203 may set sa_out_H to high. STATE RETENTION CIRCUIT 205 may set Qc to low. FLOP 206 may store the value of Qc before it transitions low, such that Qp may remain high. In response to Qc set low and Qp set high, BIAS SELECT 207 may set Vbias to Vt, according to Table 1. Applying Vt to DRIVER 208 may result in Vout being pulled to the power supply voltage with a mid-range strength, i.e., a stronger pull than when Vbias is Vpower_supply-Vt, but not as strong as when Vbias is GROUND.
  • In the next cycle, t4, we may see Vout again rise above Vref. As a result, we may see COMPARE 203 set sa_out_L high, which may result in STATE RETENTION CIRCUIT 205 setting Qc to high. FLOP 206 may store the value of Qc before it transitions high, such that Qp is set low. With Qc set high and Qp set low, BIAS SELECT 207 may set Vbias to Vpower_supply-Vt, which may result in DRIVER 208 having a weak pull on Vout to the power supply voltage.
  • In the last example cycle, t5, Vout may remain above Vref, which may result in COMPARE 203 setting sa_out_L to high. STATE RETENTION CIRCUIT 205 may set Qc to high. FLOP 206 may store the previous value of Qc, which was also high, setting Qp to high. In response to QC and Qp both being high, BIAS SELECT 207 may set Vbias to the power supply voltage. The power supply voltage applied to DRIVER 208 may result in no pull of Vout to the power supply voltage, which may result in Vout to begin falling.
  • From the description above and waveform 909 in FIG. 9, it should be easy to see that the output of POWER SUPPLY UNIT 209 may not be a single consistent voltage level. Instead, Vout may undulate above and below Vref, with the average voltage level being close to Vref. This undulation is commonly referred to as voltage ripple. To reduce the size of the ripple, i.e., reduce the voltage delta between the minimum and maximum voltage levels of the ripple, more than one previous state may be saved and used by BIAS SELECT to set Vbias.
  • FIG. 9 is merely an example of waveforms that may result from the example embodiments as presented in this disclosure. Use of alternate embodiments may result in variations to the waveforms presented in FIG. 9.
  • FIG. 10 illustrates an example embodiment of a portion of POWER SUPPLY UNIT 1000. In some embodiments, Staticizer 1005 may correspond to STATE RETENTION CIRCUIT 205 as illustrated in FIG. 2, and may provide a similar output, Qc, corresponding to the current state of POWER SUPPLY UNIT 1000. FLOP 1006 a may correspond to FLOP 206 from FIG. 2, providing an output, Qp1, corresponding to the most recent previous state of POWER SUPPLY UNIT 1000. In various embodiments, POWER SUPPLY UNIT 1000 may include flip flop, FLOP 1006 b, which may store the output of FLOP 1006 a. BUFFER 1008 may be used to add a slight delay to sa_enable, so that FLOP 1006 b will store the value of Qp1 before it is updated to its new value. As a result, once STATICIZER 1005, FLOP 1006 a, and FLOP 1006 b have updated their respective outputs, then BIAS SELECT 1007 may have three inputs to use to select a Vbias output level, Qc being the current state, Qp1 being the state from the previous comparison cycle, and Qp2 being the state from two comparison cycles previous. With these three inputs, BIAS SELECT 1007 now may select from eight possible Vbias outputs, as shown in Table 2. The term Vpower_supply in Table 2 refers to the power supply voltage.
  • TABLE 2
    Bias Voltage Selection with 2 Previous States
    Qc Qp1 Qp2 Vbias
    low low low GROUND
    low low high Vpower_supply *
    0.15
    low high low Vpower_supply *
    0.30
    low high high Vpower_supply *
    0.45
    high low low Vpower_supply *
    0.60
    high low high Vpower_supply *
    0.75
    high high low Vpower_supply *
    0.90
    high high high Vpower_supply
  • By having more possible Vbias levels with smaller voltage deltas between each level, the changes to output of the POWER SUPPLY UNIT 1000 may be more gradual, which may result in less ripple than is present when only four Vbias levels are used. The Vbias outputs shown in Table 2 are only examples. In a given application, the Vbias voltage levels may be selected to provide the best performance for the functional blocks that may be coupled to POWER SUPPLY UNIT 1000. Additionally, more flip-flops may be used to save even more previous sates, further increasing the number of potential Vbias voltage levels that may be selected. FLOP 1006 b may be designed according to one of various design styles. For example, FLOP 1006 b may employ one or more flip-flops, a shift register, a small RAM or any other suitable circuit for storing a sequence of one or more bits of data.
  • Numerous variations and modifications will become apparent to those skilled in the art once the above disclosure is fully appreciated. It is intended that the following claims be interpreted to embrace all such variations and modifications.

Claims (20)

What is claimed is:
1. An apparatus, comprising:
a reference voltage circuit configured to provide one or more analog voltages responsive to receiving an enable signal; and
a voltage generation circuit, coupled to the reference voltage circuit, wherein the voltage generation circuit is configured to:
enable the reference voltage circuit by asserting the enable signal;
receive a given one of the analog voltages from the reference voltage circuit;
generate an output signal;
determine if the given one of the one or more analog voltages is stable;
compare, responsive to the determination the given one of the one or more analog voltages is stable, a voltage level of the output signal to the given one of the analog voltages;
detecting a current operational state dependent upon the comparison;
de-asserting the enable signal;
store the current operational state; and
adjust the voltage level of the output signal dependent upon one or more previously stored operational states.
2. The apparatus of claim 1 further comprising a sense amplifier configured to:
compare the voltage level of the output signal to the given one of the analog voltages; and
generate a plurality of digital signals dependent upon the comparison.
3. The apparatus of claim 2 further comprising a digital hybrid amplifier configured to adjust the voltage level of the output signal dependent upon the generated one or more digital signals, wherein the digital hybrid amplifier comprises a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), wherein the MOSFET is coupled between a supply voltage and the output signal.
4. The apparatus of claim 1 wherein to de-assert the enable signal the voltage generation circuit is further configured to de-assert the enable signal responsive to the completion of the comparison of the voltage level of the output signal and the given one of the analog voltages.
5. The apparatus of claim 2 wherein to de-assert the enable signal the voltage generation circuit is further configured to de-assert the enable signal responsive to the sense amplifier generating a valid output, wherein an output is considered valid upon the sense amplifier outputting a first digital signal and a second digital signal, wherein the second digital signal is an inverse of the first digital signal.
6. The apparatus of claim 1, wherein to compare the output signal to the given one of the analog voltages, the voltage generation circuit is further configured to determine that the reference voltage circuit is ready for the comparison.
7. The apparatus of claim 1 wherein to enable the reference voltage circuit, the voltage generation circuit is further configured to receive a periodic signal and enable the reference voltage circuit in response to a rising edge of the received periodic signal.
8. A method for generating a voltage level, comprising:
enabling a voltage reference circuit;
receiving an analog voltage from the voltage reference circuit;
generating an output signal, wherein a voltage level of the output signal is set to a pre-determined target voltage level;
determining if the analog voltage is stable;
comparing, responsive to the determination the analog voltage is stable, the voltage level of the output signal to the analog voltage;
determining a current operational state dependent upon the comparison;
disabling the voltage reference circuit;
storing the current operational state; and
adjusting the voltage level of the output signal dependent upon one or more stored operational states.
9. The method of claim 8 wherein comparing the voltage level of the output signal comprises:
enabling a sense amplifier coupled to the output signal and the received analog voltage; and
generating, by the sense amplifier, a plurality of digital signals dependent upon the voltage level of the output signal and the received analog voltage.
10. The method of claim 8 wherein generating and adjusting the voltage level of the output signal comprises enabling a digital hybrid amplifier responsive to a digital input comprised of the one or more stored operational states.
11. The method of claim 8 wherein disabling the voltage reference circuit is responsive to the completion of the comparison of the voltage level of the output signal to the received analog voltage.
12. The method of claim 9 wherein comparing the voltage level of the output signal to the analog voltage is responsive to a determination that the voltage reference circuit is stable.
13. The method of claim 11, wherein enabling the voltage reference circuit, includes:
receiving a periodic signal; and
detecting a falling edge on the periodic signal.
14. A system, comprising:
a voltage supply circuit, configured to:
enable one or more analog voltage signals responsive to receiving an enable signal;
generate an output voltage signal;
determine if the one or more analog voltage signals are stable;
compare, responsive to the determination, a given one of the analog voltage signals to the output voltage signal;
generate one or more digital signals based on the comparison;
disable the generation of the one or more analog voltage signals responsive to the generation of the one or more digital signals;
store values of the one or more digital signals; and
adjust the output voltage signal dependent upon one or more previously stored values of the one or more digital signals;
a host processor, coupled to the voltage supply circuit, wherein the host processor is configured to enable and disable the voltage supply; and
a memory, coupled to the voltage supply, wherein, the memory is configured to receive the output voltage signal from the voltage supply.
15. The system of claim 14 wherein to compare the level of the output voltage signal to the given one of the analog voltages, the voltage supply circuit is further configured to output one or more digital signals based on the comparison.
16. The system of claim 14 wherein the voltage supply circuit is further configured to disable generation of the one or more analog voltage signals dependent upon completing the comparison of the output voltage signal to the given one of the analog voltage signals.
17. The system of claim 14 wherein the voltage supply circuit includes a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET), wherein the MOSFET is coupled between a supply voltage and the output signal.
18. The system of claim 14, wherein the voltage supply circuit is further configured to receive a periodic signal, wherein a falling edge of the received periodic signal enables generation of the one or more analog voltage signals.
19. The system of claim 14, wherein the voltage supply circuit is further configured to receive a periodic signal, wherein a rising edge of the received periodic signal enables generation of the one or more analog voltage signals.
20. The system of claim 14, wherein the voltage supply circuit is further configured to initiate the comparison of the output voltage signal to the given one of the analog voltage signals in response to a determination that the one or more analog voltage signals are ready for a comparison.
US13/921,475 2013-06-19 2013-06-19 SRAM regulating retention scheme with discrete switch control and instant reference voltage generation Active 2034-06-16 US9411406B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US13/921,475 US9411406B2 (en) 2013-06-19 2013-06-19 SRAM regulating retention scheme with discrete switch control and instant reference voltage generation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/921,475 US9411406B2 (en) 2013-06-19 2013-06-19 SRAM regulating retention scheme with discrete switch control and instant reference voltage generation

Publications (2)

Publication Number Publication Date
US20140380068A1 true US20140380068A1 (en) 2014-12-25
US9411406B2 US9411406B2 (en) 2016-08-09

Family

ID=52111978

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/921,475 Active 2034-06-16 US9411406B2 (en) 2013-06-19 2013-06-19 SRAM regulating retention scheme with discrete switch control and instant reference voltage generation

Country Status (1)

Country Link
US (1) US9411406B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116403517A (en) * 2023-06-09 2023-07-07 中科(深圳)无线半导体有限公司 Self-adaptive control method for power source of LED display system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9792979B1 (en) 2016-11-30 2017-10-17 Apple Inc. Process, voltage, and temperature tracking SRAM retention voltage regulator

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5378936A (en) * 1991-12-19 1995-01-03 Mitsubishi Denki Kabushiki Kaisha Voltage level detecting circuit
US5877719A (en) * 1997-02-24 1999-03-02 Mitsubishi Electric Engineering Co., Ltd. Method of controlling analog-to-digital converter
US6707724B2 (en) * 2001-02-08 2004-03-16 Samsung Electronics Co., Ltd. Apparatus for providing reference voltages to memory modules in a memory system
US20060028193A1 (en) * 2003-04-18 2006-02-09 Paolo Migliavacca Method of forming a reference voltage and structure therefor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100456597B1 (en) 2002-07-16 2004-11-09 삼성전자주식회사 Semiconductor memory device having internal voltage generation circuit for selectively generating internal voltage according to external voltage level
US6738298B1 (en) 2002-11-18 2004-05-18 Micron Technology, Inc. Automatic reference voltage regulation in a memory device
US20090046532A1 (en) 2007-08-17 2009-02-19 Infineon Technologies Ag Supply Voltage for Memory Device
US8351279B2 (en) 2010-07-29 2013-01-08 Taiwan Semiconductor Manufacturing Co., Ltd. SRAM bitcell data retention control for leakage optimization

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5378936A (en) * 1991-12-19 1995-01-03 Mitsubishi Denki Kabushiki Kaisha Voltage level detecting circuit
US5877719A (en) * 1997-02-24 1999-03-02 Mitsubishi Electric Engineering Co., Ltd. Method of controlling analog-to-digital converter
US6707724B2 (en) * 2001-02-08 2004-03-16 Samsung Electronics Co., Ltd. Apparatus for providing reference voltages to memory modules in a memory system
US20060028193A1 (en) * 2003-04-18 2006-02-09 Paolo Migliavacca Method of forming a reference voltage and structure therefor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116403517A (en) * 2023-06-09 2023-07-07 中科(深圳)无线半导体有限公司 Self-adaptive control method for power source of LED display system

Also Published As

Publication number Publication date
US9411406B2 (en) 2016-08-09

Similar Documents

Publication Publication Date Title
US9311967B2 (en) Configurable voltage reduction for register file
US9411391B2 (en) Multistage low leakage address decoder using multiple power modes
US7982514B2 (en) State-retentive master-slave flip flop to reduce standby leakage current
US9602092B2 (en) Dynamic margin tuning for controlling custom circuits and memories
US10491120B2 (en) Constant off-time control method for buck converters using coupled inductors
US10063145B1 (en) On-time modulation for phase locking in a buck converter using coupled inductors
CN107996018B (en) Multi-phase buck converter with single phase output voltage error feedback using transconductance amplifiers
CN106796813B (en) Clock gating flip-flop
US11418173B2 (en) Hybrid pulse/two-stage data latch
US11340644B2 (en) Electronic device including low-dropout regulators
US9829948B2 (en) Current and input voltage sense circuit for indirectly measuring regulator current
US9350326B2 (en) Voltage sampling scheme with dynamically adjustable sample rates
US9411406B2 (en) SRAM regulating retention scheme with discrete switch control and instant reference voltage generation
US10491197B2 (en) Flop circuit with integrated clock gating circuit
US10396778B1 (en) Method for power gating for wide dynamic voltage range operation
US11038413B2 (en) Power converter with overshoot compensation for a switching device
US9361959B2 (en) Low power double pumped multi-port register file architecture
US9324386B2 (en) Wide common mode range sense amplifier
US9395747B1 (en) Method for calibrating a clock signal generator in a reduced power state
US9412469B1 (en) Weak bit detection using on-die voltage modulation

Legal Events

Date Code Title Description
AS Assignment

Owner name: APPLE INC., CALIFORNIA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:TANG, BO;BHATIA, AJAY KUMAR;REEL/FRAME:030642/0798

Effective date: 20130618

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

STCF Information on status: patent grant

Free format text: PATENTED CASE

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 4

MAFP Maintenance fee payment

Free format text: PAYMENT OF MAINTENANCE FEE, 8TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1552); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

Year of fee payment: 8