The background description provided herein is for the purpose of generally presenting the context of the disclosure. Work of the presently named inventors, to the extent the work is described in this background section, as well as aspects of the description that may not otherwise qualify as prior art at the time of filing, are neither expressly nor impliedly admitted as prior art against the present disclosure.
Various electronic devices receive one or more supply voltages from voltage regulators that are external to the electronic devices. In an example, an integrated circuit (IC) chip receives the one or more supply voltages from an external voltage regulator. The IC chip provides to the voltage regulator a feedback signal based on the supply voltage input to the IC chip. The voltage regulator regulates the supply voltage to the IC chip based on the feedback signal. Improper power down of the IC, such as typically happens in the event of a power crash, for example, may have detrimental effects on the IC.
Aspects of the disclosure provide an integrated circuit (IC) chip that includes a feedback control circuit and a detecting circuit. The feedback control circuit is configured to govern a feedback signal to a first regulator that regulates a first power supply to the IC chip based on the feedback signal. The feedback control circuit is powered at least partially by a second power supply. The detecting circuit is configured to detect a power down of the second power supply, and to cause the feedback control circuit to be disengaged from the feedback signal in response to the power down.
In an example, the IC chip includes a circuit configured to provide the feedback signal based on the first power supply when the feedback control circuit is disengaged from the feedback signal. In another example, the circuit is external to the IC chip.
According to an aspect of the disclosure, the feedback control circuit includes a driving circuit configured to be powered by the second power supply to drive the feedback signal, and an enable/disable circuit configured to disable the driving circuit in response to the power down of the second power supply in order to disengage the feedback control circuit from the feedback signal. Further, in an embodiment, the feedback control circuit includes a feedback generation circuit configured to determine an adjustment to the first power supply. The feedback signal is generated based on the adjustment and the first power supply. In an example, the feedback generation circuit is configured to gradually change output to zero as the adjustment in response to the power down of the second power supply. For example, the feedback generation circuit is configured to gradually change the output to zero as the adjustment before the enable/disable circuit disables the feedback driving circuit.
Further, in an embodiment, the driving circuit is configured to have a higher output impedance than a passive circuit in response to the power down of the second power supply and to cause the driving circuit to be disengaged from the feedback signal.
In an example, the first power supply provides power to digital circuitry in the IC chip and the second power supply provides power to analog circuitry in the IC chip. The second power supply is independent of the first power supply.
Aspects of the disclosure provide a method. The method includes detecting a power down of a second power supply that at least partially powers a feedback control circuit. The feedback control circuit adjusts a feedback signal to a regulator that regulates a first power supply based on the feedback signal. The method further includes causing the feedback control circuit to be disengaged from the feedback signal in response to the power down of the second power supply.
Aspects of the disclosure provide a system including a first regulator, a second regulator and an integrated circuit (IC) chip. The first regulator is configured to provide a first power supply for the IC chip based on a feedback signal. The second regulator is configured to provide a second power supply. The IC chip is configured to operate based on the first power supply and the second power supply. The IC chip includes a feedback control circuit and a detecting circuit. The feedback control circuit is configured to govern the feedback signal to the first regulator. The feedback control circuit is powered at least partially by the second power supply. The detecting circuit is configured to detect a power down of the second power supply, and to cause the feedback control circuit to be disengaged from the feedback signal in response to the power down.
Various embodiments of this disclosure that are proposed as examples will be described in detail with reference to the following figures, wherein like numerals reference like elements, and wherein:
The first supply voltage VDD and the second supply voltage AVDD can have the same voltage level or different voltage levels. In an embodiment, the second supply voltage AVDD has a higher voltage level than the first supply voltage VDD. In an example, the IC chip 130 includes digital circuits and analog circuits. The digital circuits are connected to the first supply voltage VDD and are powered based on the first supply voltage VDD. The analog circuits are connected to the second supply voltage AVDD and are powered based on the second supply voltage AVDD. In the
Generally, a voltage regulator and a feedback control circuit form a feedback loop to generate and stabilize a supply voltage. The feedback control circuit generates the feedback signal as a function of the supply voltage and other suitable parameters. The voltage regulator regulates the supply voltage based on the feedback signal. Further, in an embodiment, the generation of the feedback signal also relies on operations of another voltage regulator. A power-down of the other voltage regulator can cause losing control of the feedback signal generation, then the voltage level of the feedback signal is no longer a function of the supply voltage and may drop to zero for example, and the feedback loop is broken. When the voltage regulator is still in operation, in the absence of feedback from the IC chip, the voltage regulator can excessively increase the supply voltage and thus cause voltage stress on circuits that operate based on the supply voltage.
In the
In an embodiment, the second voltage regulator 120 is coupled with a passive network 125 external to the IC chip 130 to form a feedback loop to stabilize the second supply voltage AVDD. In another embodiment, the second voltage regulator 120 is coupled with a passive network 135 within the IC chip 130 to form a feedback loop to stabilize the second supply voltage AVDD. In the example, the second voltage regulator 120 includes a plurality of input/output elements, such as a Vin pin, an EN pin, a Vout pin and a FEEDBACK pin, and the like. The Vin pin receives a power supply from a power source, the EN pin receives an enable signal that enables or disables the operations of the second voltage regulator 120, the FEEDBACK pin receives a second feedback signal 121, and the Vout pin outputs the second supply voltage AVDD to the IC chip 130.
The second feedback signal 121 is generated for example by the passive network 125 as a function of the second supply voltage AVDD. In an example, the passive network 125 includes a plurality of resistors that form a voltage divider to generate the second feedback signal 121 by dividing the second supply voltage AVDD. Thus, the second feedback signal 121 is indicative of the voltage level for the second supply voltage AVDD.
Further, in an embodiment, when the second voltage regulator 120 is enabled, the second voltage regulator 120 compares the second feedback signal 121 with a reference voltage (not shown), and adjusts the power driven out of the Vout pin based on the comparison. In an example, when a load current increase causes a voltage drop on the second supply voltage AVDD, the second feedback signal 121 has a reduced voltage level. When the voltage level of the second feedback signal 121 is lower than the reference voltage, the second voltage regulator 120 increases the power driven output from the Vout pin to satisfy the increase of the load current. When a load current decrease causes a charge build-up that raises the second supply voltage AVDD, the second feedback signal 121 has an increased voltage level. When the voltage level of the second feedback signal 121 is higher than the reference voltage, the second voltage regulator 120 decreases the power driven output of the Vout pin.
In the
According to an aspect of the disclosure, when both the first voltage regulator 110 and the second voltage regulator 120 are enabled and in operation, the first feedback signal 111 is generated at least partially based on the second supply voltage AVDD. In an example, the first feedback signal 111 is generated by a circuit that is partially powered by the second supply voltage AVDD. In an embodiment, the electronic system 100 uses an adaptive voltage scaling (AVS) technique to regulate the first supply voltage VDD to the IC chip 130 to enable circuits in the IC chip 130 to meet circuit performance requirement, such as disclosed in Applicant's U.S. Pat. No. 8,370,654, issued Feb. 5, 2013 and assigned to Marvell, which is incorporated herein by reference in its entirety. For example, the active feedback control circuit 160 adjusts a voltage level of the first feedback signal 111 based on monitored circuit parameters, such as a digital readout value from a digital ring oscillator (DRO) monitoring device (not shown), a voltage level of a power grid within the IC chip 130, a temperature on the IC chip 130 and the like.
Further, in an embodiment, when the first voltage regulator 110 is enabled, the first voltage regulator 110 compares the first feedback signal 111 with a reference voltage (not shown), and adjusts the power driven out of the Vout pin based on the comparison. In an embodiment, the voltage level of the first feedback signal 111 is set based on performance of a circuit, for example as function of a speed determined from a ring oscillator. In an example, the IC chip 130 includes a ring oscillator (not shown) that operates based on the first supply voltage VDD. The frequency of the ring oscillator is indicative of a circuit speed in the IC chip 130. When the frequency of the ring oscillator is lower than a threshold, the active feedback control circuit 160 reduces the voltage level of the first feedback signal 111. When the voltage level of the first feedback signal 111 is lower than the reference voltage, the first voltage regulator 110 increases the power driven out of the Vout pin, and thus increases the first supply voltage VDD. The increase of the first supply voltage VDD increases circuit speed and the frequency of the ring oscillator also increases.
According to an aspect of the disclosure, the active feedback control circuit 160 is powered at least partially based on the second supply voltage AVDD in an embodiment. Thus, the control of the first feedback signal 111 depends on the operation of the second voltage regulator 120. In the
Specifically, in the
It is noted that in an example, the first voltage regulator 110 is powered down before the second voltage regulator 120, because the second feedback signal 121 does not rely on the first supply voltage VDD, the second voltage regulator 120 can continue operation without causing voltage stress.
The IC chip 230 operates based on a first supply voltage VDD, for example provided by the first voltage regulator 110, and a second supply voltage AVDD, for example provided by the second voltage regulator 120. In addition, the IC chip 230 is configured to enable safe operation and to avoid voltage stress in response to power-up and power-down.
The power-up detecting circuit 270 is configured to detect a power up of both the first supply voltage VDD and the second supply voltage AVDD, and to generate a signal to inform other circuits, such as the active feedback control circuit 260 and the like, to start operation in response to the power-up of both the first supply voltage VDD and the second supply voltage AVDD. In the
The power-down detecting circuit 250 is configured to detect a power down of the second supply voltage AVDD, and to generate a signal AVDD_DOWN to inform the AVDD power down to other circuit, such as the active feedback control circuit 260 and the like, to operate accordingly in an embodiment. In the
During operation, in an example, when the second supply voltage AVDD has been powered up, the capacitor C is charged to a voltage level determined by the second supply voltage AVDD and a voltage divider formed by the two resistors R1 and R2. Generally, the voltage level on the capacitor C is lower than the second supply voltage AVDD. The operational amplifier A receives the voltage on the capacitor C at the inverting input and receives the second supply voltage AVDD at the non-inverting input, and thus the operational amplifier outputs a relatively high voltage, such as about the same level as the second supply voltage AVDD, for the signal AVDD_DOWN when the second supply voltage AVDD is powered up. The relatively high voltage of the signal AVDD_DOWN is indicative of the second supply voltage AVDD being powered-up.
When the second supply voltage AVDD is powered down, the voltage level of the second supply voltage AVDD drops. The voltage level on the capacitor C remains about the same due to connection of the diode D. When the second supply voltage AVDD drops below the voltage level on the capacitor C, the operational amplifier A outputs a relatively low voltage, such as about the ground level, for the AVDD_DOWN. The relatively low voltage of the signal AVDD_DOWN is indicative of the second supply voltage being powered-down.
In the
The active feedback control circuit 260 is configured to generate a feedback signal (FEEDBACK), and to provide the feedback signal to a voltage regulator, such as the first voltage regulator 110, to regulate the first supply voltage VDD. The active feedback control circuit 260 is powered at least partially by the second supply voltage AVDD. The active feedback control circuit 260 is configured to be disengaged from the feedback signal in response to a power down of the second supply voltage AVDD.
When the active feedback control circuit 260 is disengaged from the feedback signal, the feedback signal is generated based on the passive circuit 240. In an example, the passive circuit 240 includes a resistor R3 that couples the feedback signal to the first supply voltage VDD, and thus the feedback signal has about the same voltage level as the first supply voltage VDD when the active feedback control circuit 260 is disengaged from the feedback signal.
In the
In an embodiment, the feedback generation circuit 263 is configured to determine an adjustment to the first supply voltage VDD and generate a signal indicative of the adjustment. In an example, the feedback generation circuit 263 includes digital circuits configured to generate a digital value indicative the adjustment to the first supply voltage VDD. The digital circuits are powered by the first supply voltage VDD. In an embodiment, the feedback generation circuit 263 is part of an adaptive voltage scaling (AVS) circuit to determine the adjustment to the first supply voltage VDD in order to meet circuit performance requirement, such as disclosed in Applicant's U.S. Pat. No. 8,370,654, issued Feb. 5, 2013 and assigned to Marvell, which is incorporated herein by reference in its entirety. In an example, the digital value indicates one of increasing first supply voltage VDD by a voltage step, decreasing the first supply voltage VDD by a voltage step, and no adjustment to the first supply voltage VDD.
The feedback driver 261 receives the digital value indicative of the determined adjustment, and drives the feedback signal accordingly. In an example, the feedback driver 261 is configured to drive the feedback signal having a voltage level as a sum of the present first supply voltage VDD and the adjustment. According to an aspect of the disclosure, the feedback signal (FEEDBACK) is an analog signal, and the feedback driver 261 uses analog techniques to drive the feedback signal. The feedback driver 261 includes analog circuits powered by the second supply voltage AVDD.
According to an aspect of the disclosure, the feedback driver 261 is configured to have a state of a high output impedance. In an example, when the feedback driver 261 is disabled, an output buffer in the feedback driver 261 is floating and has a high output impedance. When the feedback driver 261 is in the high impedance state, the feedback driver 261 is disengaged from the feedback signal. When the feedback driver 261 is disengaged from the feedback signal, the feedback signal is generated based on the first supply voltage VDD via the passive circuit 240.
The logic circuit 265 is configured to generate an enable signal (DRIVER_ENABLE) to enable or disable the feedback driver 261 based on signals from the power-up detecting circuit 270 and the power-down detecting circuit 250. In an example, when the signal from the power-up detecting circuit 270 is indicative of a power-up of both the first supply voltage VDD and the second supply voltage AVDD, the logic circuit 265 provides the enable signal to enable the feedback driver 261. When the signal from power-down detecting circuit 250 is indicative of a power down of the second supply voltage AVDD, the feedback generation circuit 263 gradually changes the output to zero as the adjustment, and then forwards the information to the logic circuit 265. When the logic circuit 265 receives the power down information of the second supply voltage AVDD, the logic circuit 265 changes the value of the enable signal to disable the feedback driver 261. When the feedback driver 261 is disabled, the feedback driver 261 enters the high output impedance state. In an example, the timings of the active feedback control circuit 260 are suitably tuned so that feedback driver 261 enters the high output impedance state before being disabled.
In an embodiment, the passive circuit 240 is selectively coupled to the output of the feedback driver 261 when the first feedback signal is disengaged from the active feedback control circuit 260. In another embodiment, the passive circuit 240 coupled to the output of the feedback driver 261 and is configured to have a resistivity between a low output impedance and a high output impedance (e.g. high-Z, tri-stated, floating) of the feedback driver 261. When the feedback driver 261 drives the feedback signal, the feedback driver 261 has the low output impedance and the passive circuit does not significantly affect the feedback signal. When the feedback driver 261 is disabled and thus has the high output impedance, the feedback signal is governed by the first supply voltage VDD via the passive circuit 240.
At S310, a power down of a power supply is detected. The power supply is used by a circuit for generation of a feedback signal used to regulate another power supply. In the
At S320, an adjustment for generating the feedback signal is set to zero. In the
At S330, a feedback driver is disabled. In the
At S340, the feedback signal is then driven independent of the second supply voltage AVDD. In the
According to the waveforms, the second voltage regulator 120 (AVDD regulator) is powered down in response to a falling edge 421 of the enable signal provided to the EN pin of the second voltage regulator 120. In this example, the enable signal can be provided by a system controller according to a power down sequence. According to the power down sequence, the second voltage regulator 120 is powered down before the first voltage regulator 110. For example, the power down sequence is determined without knowledge of circuit details in the IC chip 130. In another example, a power down of the second voltage regulator 120 is caused by a power crash of the power source. When the second voltage regulator 120 is powered down, the second supply voltage AVDD starts dropping, as shown by 431 in
When the second supply voltage AVDD drops to a certain level, the power-down detecting circuit 250 detects the power down, and quickly changes the signal AVDD_DOWN from a relatively high voltage level to a relatively low voltage level to indicate the power down, as shown by 441 in
When the feedback generation circuit 263 receives the signal AVDD_DOWN indicative of the power down, the feedback generation circuit 263 gradually changes its output to zero as the adjustment for generating the feedback signal, as shown by 451 and 452 in
When the feedback driver 261 is disabled, the feedback driver 261 enters the high output impedance state, and is disengaged from the feedback signal. In an embodiment, a passive circuit, such as the passive circuit 240, and the like is selectively coupled to the output of the feedback driver 261 when the first feedback signal is disengaged from the active feedback control circuit 260. The feedback signal is then governed by the first supply voltage VDD via the passive circuit. In the
After the power down of the second supply voltage AVDD, the adjustment is set to zero. In an example, the feedback signal is provided based on the first supply voltage VDD and is about the same level as the first supply voltage VDD.
Further as seen from the waveforms, the first voltage regulator 110 (VDD regulator) is powered down in response to a falling edge 415 of the enable signal provided to the EN pin of the first voltage regulator 110, and then the first supply voltage VDD drops to zero, as shown by 475 in
While aspects of the present disclosure have been described in conjunction with the specific embodiments thereof that are proposed as examples, alternatives, modifications, and variations to the examples may be made. Accordingly, embodiments as set forth herein are intended to be illustrative and not limiting. There are changes that may be made without departing from the scope of the claims set forth below.
This present disclosure claims the benefit of U.S. Provisional Application No. 61/710,862, “SAFE ACTIVE CONTROL OF REGULATOR'S ANALOG FEEDBACK SIGNAL” filed on Oct. 8, 2012, which is incorporated herein by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
61710862 | Oct 2012 | US |