Example embodiments disclosed herein relate generally to voltage regulation.
A low-dropout (LDO) regulator generates a direct current (DC) output voltage from an input supply voltage. This type of regulator is used in many applications because of its ability to linearly regulate output voltage, even when the supply voltage is very close to the output voltage. Also, LDOs tend to generate less noise and may be smaller than other types of regulators.
A summary of various exemplary embodiments is presented below. Some simplifications and omissions may be made in the following summary, which is intended to highlight and introduce some aspects of the various exemplary embodiments, but not to limit the scope of the invention. Detailed descriptions of an exemplary embodiment adequate to allow those of ordinary skill in the art to make and use the inventive concepts will follow in later sections.
Various embodiments relate to a low dropout regulator, including: a first stage configured to generate a first output voltage; and a second stage configured to generate a second output voltage different from the first output voltage, wherein the first stage and the second stage are coupled in parallel to a node, the first stage configured to be selectively controlled to generate the first output voltage based on a first condition and the second stage configured to be selectively controlled to generate the second output voltage based on a second condition different from the first condition, and wherein the second output voltage is reduced during mode transition so that the first output voltage is greater than the second output voltage.
Various embodiments are described, wherein the first output voltage is in a range that reduces voltage overshoot in a signal output from the node.
Various embodiments are described, wherein the first output voltage is in a range that reduces voltage undershoot in a signal output from the node.
Various embodiments are described, wherein: the first condition includes a transition between a first mode and a second mode of a load coupled to the node, and the second condition includes operation of the load during at least one of the first mode and the second mode.
Various embodiments are described, wherein: the first stage is configured to be selectively controlled to generate the first output voltage during the transition based on a first set of control signal values, and the second stage is configured to be selectively controlled to generate the second output voltage during each of the first mode and the second mode based on a second set of control signal values.
Various embodiments are described, wherein the first mode and the second mode correspond to different operational modes of a load.
Various embodiments are described, wherein at least one of the first mode and the second mode is a reduced power mode.
Various embodiments are described, wherein: the first stage is configured to operate at a first speed and based on a first quiescent current, and the second stage is configured to operate at a second speed and based on a second quiescent current, the first speed different from the second speed and the first quiescent current different from the second quiescent current.
Various embodiments are described, wherein: the first speed is greater than the second speed, and the first quiescent current is greater than the second quiescent current.
Various embodiments are described, wherein the first stage includes a soft shutdown circuit which is configured to reduce a level of the first output voltage based on operation of the second stage.
Further various embodiments relate to an apparatus for controlling the low dropout voltage (LDO) regulator including a first stage and a second stage, the first state and the second stage coupled to an output node, the apparatus including: a memory configured to store instructions; and a processor configured to execute the instructions to generate: one or more first control signals to cause the first stage to generate a first output voltage based on a first condition, one or more second control signals to cause the second stage to generate a second output voltage based on a second condition, wherein the second output voltage different from the first output voltage and wherein the second output voltage is reduced during mode transition so that the first output voltage is greater than the second output voltage.
Various embodiments are described, wherein the first output voltage is in a range that reduces voltage overshoot in a signal output from the node.
Various embodiments are described, wherein the first output voltage is in a range that reduces voltage undershoot in a signal output from the node.
Various embodiments are described, wherein: the first condition includes a transition between a first mode and a second mode of a load coupled to the node, and the second condition includes operation of the load during at least one of the first mode and the second mode.
Various embodiments are described, wherein: the one or more first control signals control the first stage to generate the first output voltage during the transition, and the one or more second control signals control the second stage to generate the second output voltage during each of the first mode and the second mode.
Various embodiments are described, wherein the first mode and the second mode correspond to different operational modes of a load.
Various embodiments are described, wherein at least one of the first mode and the second mode is a reduced power mode.
Various embodiments are described, wherein: the first stage is configured to operate at a first speed and based on a first quiescent current, and the second stage is configured to operate at a second speed and based on a second quiescent current, the first speed different from the second speed and the first quiescent current different from the second quiescent current.
Various embodiments are described, wherein: the first speed is greater than the second speed, and the first quiescent current is greater than the second quiescent current.
Various embodiments are described, wherein the processor is configured to generate control signals for controlling a soft shutdown circuit of the first stage.
Additional objects and features of the invention will be more readily apparent from the following detailed description and appended claims when taken in conjunction with the drawings. Although several example embodiments are illustrated and described, like reference numerals identify like parts in each of the figures, in which:
It should be understood that the figures are merely schematic and are not drawn to scale. It should also be understood that the same reference numerals are used throughout the figures to indicate the same or similar parts.
The descriptions and drawings illustrate the principles of various example embodiments. It will thus be appreciated that those skilled in the art will be able to devise various arrangements that, although not explicitly described or shown herein, embody the principles of the invention and are included within its scope. Furthermore, all examples recited herein are principally intended expressly to be for pedagogical purposes to aid the reader in understanding the principles of the invention and the concepts contributed by the inventor(s) to furthering the art and are to be construed as being without limitation to such specifically recited examples and conditions. Additionally, the term, “or,” as used herein, refers to a non-exclusive or (i.e., and/or), unless otherwise indicated (e.g., “or else” or “or in the alternative”). Also, the various example embodiments described herein are not necessarily mutually exclusive, as some example embodiments can be combined with one or more other example embodiments to form new example embodiments. Descriptors such as “first,” “second,” “third,” etc., are not meant to limit the order of elements discussed, are used to distinguish one element from the next, and are generally interchangeable. Values such as maximum or minimum may be predetermined and set to different values based on the application.
In one application, an LDO regulator is used to provide power for multiple modes of operation of a host device. In these cases, the LDO regulator is also required to provide power during transitions between modes. Often, the operational modes consume different levels of current. In order to meet these requirements, the LDO regulator must output a proportional load current. However, during transitions between modes, the load current value may change significantly, for example, from 1 mA to 3 mA or even a greater amount. Also, the change in load current value may occur very fast, for example, within a few nS.
In an attempt to address the problems that occur during mode transition, some LDO regulators are designed to have very low quiescent current in order to limit the total current consumption of the host system. LDOs have been designed this way, for example, in order to support the requirements of the host system when operating in sleep and other low-power states. During these states, quiescent current of the LDO may be required to be much lower than a few uA because the total current consumption of host system may be required to be less than a few uA while the LDO is still turned on. Such low current significantly limits the speed of the LDO regulator to levels below those required operate at a speed sufficient to respond to the large and fast changes of load current that take place during mode transitions of the host system, that is changing from a current mode to a low current mode for from a low current mode to a high current mode.
LDO regulators in use today also suffer from voltage overshoot or undershoot during mode transitions of the host system. This may have a serious effect on system performance, for example, by creating failures or other disruptive malfunctions. In some cases, overshoot or undershoot of voltage may trigger over/under voltage detection, which, in turn, may trigger reset of the system. In addition, voltage overshoot may damage the host system.
The LDO regulator and controller may be on a same chip or printed circuit board. In one embodiment, controller 80 may be within the same host system as the LDO regulator but may be provided separately and communicatively coupled to the LDO regulator. Also, in other embodiments, one or more additional LDO stages may be connected in parallel with stages 20 and 60, for example, in order to provide additional levels of output voltage for one or more intended applications.
Referring to
The controller 80 may generate one or more first control signals for selectively enabling a first combination of the LDO stages 20 and 60. The first combination of LDO stages may be selectively enabled, for example, based on a first predetermined condition. The first predetermined condition may be based on the operating mode of the host system, a transition between two operating modes of the host system, and/or one or more other conditions relating to operation and/or requirements of an application executed by the host system. The first combination of LDO stages may correspond to operation of at least one of the stages.
In one embodiment, when the host system is operating in one or more modes, the controller 80 may generate the first control signals to disable the first LDO stage 20 and enable the second LDO stage 60. As previously indicated, the first LDO stage 20 may be a high-speed, high quiescent current LDO stage and the second LDO stage 60 may be low-speed, low-quiescent current LDO stage. Configuring the LDO stages in this manner may satisfy a low-power requirement of the host system during the first operational mode. The one or more first modes may include, for example, at least one of a normal operating mode and a reduced-power state (e.g., sleep state, hibernate state, or other low-power state) of the host system or other type of load.
The controller 80 generates a set of second control signals for selectively enabling a second combination of the LDO stages 20 and 60. The second combination of LDO stages may be selectively enabled, for example, based on a second predetermined condition. The second predetermined condition may be based, for example, on a different one of the operating modes of the host system, a transition between two operating modes of the host system, and/or one or more other conditions relating to the operational state and/or requirements of an application executed by the host system. The second combination of LDO stages may correspond to operation of at least one of the stages.
In one embodiment, the second predetermined condition includes a transition of the host system from a first mode to a second mode. This may involve, for example, transitioning from a normal operational mode to a low-power mode, from a low-power mode to a normal operational mode, or between low-power modes or any two other modes of the host system. The second control signals may be generated, for example, just before the transition between modes is to take place, e.g., at a time when controller 80 determines that a mode transition is to be performed. The controller 80 may make this determination based on instructions from the host system and/or instructions stored in a non-transitory computer-readable medium 85 and executed by controller 80.
The controller 80 may generate the second control signals to enable at least the first LDO stage 60. In one embodiment, the second control signals may enable both the first LDO stage 20 and the second LDO stage 60 at the same time during the transition period when the mode change occurs, although in one embodiment a scale down (or in some cases even a shutdown) operation may be performed for the second LDO stage during this transitional period. Turning on the first LDO stage 20 or both LDO stages during the period of transition between modes adjusts the response speed and output current level of the LDO regulator in a manner that reduces voltage undershoot and a voltage overshoot (or prevents these conditions from occurring altogether) as a result of the mode transition.
In one embodiment, the response speed and the output current level of the LDO regulator may be increased so that the output voltage (Vout_LDO) of the regulator falls within a range sufficient to prevent voltage overshoot and voltage undershoot from occurring. While simultaneously enabling both LDO stages at this time may temporarily increase power consumption (e.g., during the mode transition period), the benefit of preventing voltage overshoot and undershoot (which may adversely affect performance of, or even damage, the host system) outweighs these considerations.
After mode transition has been completed, the controller 80 may generate the set of first control signals once again in order to disable the first LDO stage 20 and enable the second LDO stage 60, for example, in order to maintain low power consumption in normal or a reduced power mode. In one embodiment, generation of the second control signals under these circumstances may optionally be performed after a settling time succeeding the mode transition period. Selectively enabling (e.g., enabling and/or disabling selected ones of) the first LDO stage 20 and the second LDO stage 60 may be performed based on corresponding n and m control signals, where n≥1 and m≥1. The numbers m and n may be the same or different. Each of the set of first control signals and the set of second control signals may include one or more control signals.
The first LDO stage 20 may include a first current source 22, a second current source 24, a voltage regulator 26, and optional soft shutdown logic 28. In operation, the controller 80 generates one or more control signals for coupling the first current source to the second current source. The output of the second current source may be input into the voltage regulator, and the voltage regulator may then generate a first output voltage (V1out) during one or more mode transition periods. The optional soft shutdown logic may disable the output of the voltage regulator 26 based on one or more predetermined conditions, as discussed in detail below. Because the first LDO stage 20 generates the first output voltage at a time when the second output voltage is not output (or has been scaled down), voltage overshoot and/or undershoot is reduced or prevented from occurring and a stable output voltage is output from the LDO regulator during mode transition periods.
The second LDO stage 60 may include a voltage regulator 62 with an optional adjuster 64 coupled to the output node of the LDO regulator. The voltage regulator 62 may be a closed-loop regulator or an open-loop regulator for generating a second output voltage of a desired level. The output voltage (V2out) may be generated by passing through, or regulating, a power supply voltage received from one or more voltage sources (e.g., located in the host system). The adjuster 64 may adjust the level of the second output voltage V2out to one of a plurality of desired voltages prior to being coupled to the output node. The adjuster may be controlled, for example, based on at least one control signal from a host system, which at least one control signal may set the level of second output voltage of the second LDO stage 60 to one or more corresponding levels for powering, or driving, one or more logic blocks for supporting operation of the host system in various modes. In one embodiment, the at least one control signal for setting the second output voltage level may be based on a user signal.
Controller 80 may control the second LDO stage 60 to generate the second output voltage V2out during one or more operational modes of the host system (or load) and may control the second LDO stage 60 to temporarily block (or scale down) the second output voltage during transition periods between those modes. The second output voltage may be selectively generated in this manner even though, for example, in one embodiment one or more enable signals are supplied to the second LDO stage 60 during the transitional period(s), for example, for purposes of performing a scale down operation as previously mentioned. In other embodiments, the second LDO stage 60 may be disabled during the transitional period(s) and/or based on the requirements of the host system.
Taking the second LDO stage 260 first, the second LDO stage 260 includes a voltage regulator 230 and a level adjuster 250. The voltage regulator includes a comparator 235 and a pass transistor 240. The comparator may be, for example, an operational amplifier having a non-inverting terminal coupled to receive a predetermined reference voltage (Vref) and an inverting terminal coupled to receive a feedback signal Vinn. The predetermined reference voltage Vref may, for example, correspond to a bandgap reference of the host system. In one embodiment, the reference voltage Vref may serve as an accuracy reference with a first accuracy (e.g., 5%) without calibration and a second accuracy (e.g., 2%) with calibration. The feedback signal Vinn may correspond, for example, to an output of the level adjuster. The pass transistor 240 may be an NMOS transistor that passes supply current from a voltage source Vdd to generate the second output current V2out to power a load in one or more operational modes. In another embodiment, the pass transistor may be a PMOS type of transistor.
The comparator generates a voltage Vgate_2 that controls the gate of the pass transistor 240. The voltage of Vgate_2 may be fixed or may be controlled to one or more levels. In this latter case, the level adjuster may control the value of the input voltage Vinn. The level adjuster may include, for example, a voltage divider including a first resistor (R3) 241 and a second resistor (R4) 242. One of these resistors (e.g., first resistor 241) may be a variable resistor with a value controlled, for example, based on a control signal from the host system and/or a user signal. By varying the value of this resistor, the second output voltage V2out may be adjusted to a level sufficient to meet the requirements of an intended application of the host system during one or more operational modes.
The second LDO stage 260 has a closed-loop regulator topology formed from the comparator and the voltage-divider and uses reference voltage Vref in this embodiment. In one embodiment, the second LDO stage 260 may have an open-loop topology provided, for example, this topology can satisfy requirements of the host system. The second output voltage V2out generated from second LDO stage 260 may be generated based on Equation 1.
V
2out
=V
ref*[1+(R3/R4)], (1)
where R3 corresponds to the variable resistor whose resistance may be adjusted to change the level of the second output voltage. In one embodiment, the resistance value of R4 or the resistance values of both R3 and R4 may be adjusted in order to change the level of the second output voltage.
The controller 290 may enable the second LDO stage 260 by asserting control signal (en_l) 281 and may disable this stage by de-asserting (or inverting) this control signal. The controller 290 may assert control signal (en_l) 281 during one or more operational modes. The operational modes may correspond to a normal mode or one or more low-power modes (e.g., sleep state, hibernate, etc.). One or more of the low power modes may correspond to a case where the host system is required to consume a low amount of current, and in some cases even as low as a few microamps. In order to meet these performance requirements, the second LDO stage 260 may be required to consume a quiescent current as low as a few microamps or even lower.
The requirement of low quiescent current may limit the bandwidth (e.g., the speed) of the second LDO stage. The second LDO stage 260 may not have enough speed to respond sufficiently to the large and fast change of load current that is required during a mode transition. This may be understood, for example, by the graph of
Additional effects of using only the second LDO stage during a mode transition are apparent from
In order to compensate for theses malfunctions or the performance degradation that occurs as a result, controller 290 may enable the first LDO stage 220 during a mode transition. Because the first LDO stage 220 has a higher speed and higher quiescent current than the second LDO stage 260, voltage overshoot and/or voltage undershoot may be reduced or prevented, thereby allowing for improved performance during the period(s) of transition between operational modes of the host system. (In one embodiment, the operational modes may include any mode that does not involve a transition period between modes and in this sense any non-transition mode may be referred to as a normal mode.)
Referring again to
The second current source 270 may include, for example, a first transistor (MP1) 271 and a second transistor (MP2) 272 having gates which are coupled together at node N2 to form a second current mirror circuit. The first transistor 271 is in a first arm of the second current mirror and receives the output current I1 from the first current mirror as its input current. The current I2 is mirrored in a second arm of the second current mirror through the second transistor 272. The current mirror circuit 270 has a second current mirror ratio n and thus the mirrored current I2 output from the second current mirror circuit 270 is proportional to n*I1. The current mirror ratios m and n may be predetermined values that are the same or different from one another. The different conductivity types of the transistors used in the first and second current mirror circuits allow, in part, the first LDO stage to operate in the following manner.
Current Ibg may be generated from the chip main bias by using bandgap voltage, Vbg, divided by a resistor, R and may be can be represented, for example, by Equation 2.
I
bg
=V
bg
/R, (2)
where Vbg is an accurate reference voltage and R is a resistor in the bandgap voltage generator to generate Ibg. R is required to be on the same silicon substrate as R1 277 so that R and R1 have the same process corner. Therefore R1/R is a constant number across process, supply voltage and temperature (PVT). The output current I1 from the first current source 265 and the output current I2 from the second current source 270 may be calculated based on Equations 3 and 4, respectively.
I
1
=I
bg
*m=(Vbg/R)*m (3)
I
2
=I
1
*n=(Vbg/R)*m*n (4)
The voltage regulator 275 includes a matching transistor 276, a resistor (R1) 277, a pass transistor 278, a capacitor 279, and a transistor 280. The matching transistor (Match FET) 276 is coupled to the transistor 272 at node N3. In one embodiment, the matching transistor may be a NMOS transistor connected in a diode-coupled state between resistor 277 and the output of the second current source 270. When current I2 is of sufficient magnitude to forward-bias the matching transistor, the voltage of node N3 is set based on the resistance value of resistor 277 and the voltage drop of the diode connected matching transistor 276. This voltage, which corresponds to Vgate_1, controls the gate signal into the pass transistor 278. Erratic variations in the gate signal Vgate_1, which may produce unstable performance, may be dampened (or otherwise controlled) by the parallel connection of the gate line to capacitor (C2) 279. This capacitor may also operate to filter out spurious (e.g., out-of-band) signals that may be superimposed onto the gate line.
The pass transistor 278 is controlled by the value of the gate signal Vgate_1 output from matching transistor 276. In one embodiment, the pass transistor may have the same conductivity type as the matching transistor. In
where Vgs_match is the gate-source voltage of the matching transistor 276 and Vgs_pass is the gate-source voltage of the pass transistor (pass FET_1) 2878
In operation, the matching transistor matches voltage Vgs_match to voltage Vgs_pass. In this way, the matching transistor and the voltage drop across R1 effectively controls (or stabilizes) the level of the output voltage of the first LDO stage to be at one or more predetermined levels, for example, depending on the intended application or requirements of the host system. Because of this match operation, the matching transistor and the pass transistor may have the same conductivity type with the same channel length. Also, the ratio of the channel width between the pass transistor and the matching transistor may be as close to the ratio between Iout to I2 as possible (e.g., to within a predetermined tolerance) in order to guarantee voltage Vgs_match matches voltage Vgs_pass. When this is the case, Equation 5 may be simplified to Equation 6:
where R1/R, m, and n are constant values based on, for example, design requirements of the host system. In this case, the output voltage V1out of the first LDO stage may be an accurate replica of Vs. In some cases, mismatch may exist in the first and second current mirror circuits, between R1 and R, and/or between the matching and pass transistors. To the extent that this is the case, calibration operation may be performed. The calibration operation may involve, for example, changing one or more parameters of the first current mirror circuit 265 and/or the second current mirror circuit 270, and/or adjusting the resistance value R1 in order to improve accuracy.
In one embodiment, in order to guarantee high speed, the value of current I2 may be increased (e.g., by controlling one or both of the current ratios of m or n) to limit the resistance value of R1. This resistance value may be limited in order to maintain the gate of the pass transistor 278 to be a low impedance node. Therefore, during mode transition from low load current to high load current, the first output voltage V1out may start to drop and the internal gate-source capacitance (Cgs) of the pass transistor may be charged fast enough to maintain a constant value of gate voltage of the pass transistor 278. As a result, the gate-source voltage of the pass transistor (Vgs_pass) 278 may be controlled (e.g., to increase) as the first output voltage V1out decreases.
In one embodiment, the load current Iload (e.g., the current output from the second LDO stage through node NOUT) may be determined based on Equation 7:
I
load{right arrow over (=)}(½)*μn*Cox*(W/L)*(Vgs_pass−Vthn)2*(1+λ*Vds_pass), (7)
where μn indicates the mobility of the pass transistor, Cox is the gate oxide capacitance per unit area of the pass transistor, Vthn is the threshold voltage of the pass transistor (NMOS) 278, λ is a channel-length modulation coefficient of the pass transistor, Vgs_pass is the gate-to-source voltage of the pass transistor (that is, Vgate_1−V1out), and Vds_pass is the drain-to-source voltage of the pass transistor (that is, Vdd−V1out). From Equation 7, it is evident that as current Iba increases, the first output voltage V1out decreases which then increases voltage Vgs_pass, the effect of which is to suppress a further increase in voltage Vds_pass, thereby reducing or avoiding voltage undershoot.
On the other hand, during mode transition from high load current to low load current, the opposite operation may be performed in order to avoid voltage overshoot at V1out. From Equation 7, it is evident that as current Iload decreases, the first output voltage V1out increases which then decreases voltage Vgs_pass the effect of which is to suppress a further decrease in voltage Vds_pass, thereby reducing or avoiding voltage overshoot.
In order to maintain low impedance, the gate of the pass transistor 278 is coupled to capacitor (C2) 279. The capacitance value of C2 may be selected, for example, based on limitations of the silicon area occupied by the pass transistor.
In addition to the aforementioned features, the first LDO stage 220 may include transistor (MN4) 285, transistor 286 (MN6), and transistor 287 (MP4). These transistors may be small-switch devices with gates coupled to receive enable signals for controlling aspects of the operation of the first LDO stage. For example, transistors 285 and 286 are controlled based on the complement of an enable signal enb_h and transistor 287 is controlled based on enable signal en_h. In the case where transistors 285 and 286 are NMOS transistors and transistor 287 is a PMOS transistor, a logical zero value of enable signal en_h will shut off the first current source 265 and the voltage regulator 275 and the logical one value of the complement of this enable signal will shut off the second current source 270. As a result, the first LDO stage will be disabled based on these logical values. Conversely, the first LDO stage will be enabled based on opposite logical values of en_h and enb_h. Thus, transistors 285, 286, and 287 may be considered to in a shut-down circuit of the first LDO stage.
In addition to the shutdown circuit, the first LDO stage 220 may include a soft shutdown circuit 68 that includes capacitor (C1) 295, transistor (MN3) 296, resistor (R2) 297, and transistor (MN5) 298. The transistor 296 is coupled between the gate line of the pass transistor and a reference potential through resistor R2. The transistor 298 is coupled between the gate line of transistor 296 and the ground reference potential, and the capacitor 295 is coupled between a node N4, that receives a charging current Icse, and the ground reference potential. In operation, node N4 couples one portion of this charging current to the gate of transistor 296 and the drain of transistor 298 and another portion of the charging current for charging capacitor 295.
The soft shutdown circuit 68 may control shutdown of the second LDO stage at a rate slower than the shutdown circuit. The rate may be based, for example, on the charging time of capacitor (C1) 295. For example, when transistor 298 is turned on, the soft shutdown circuit 68 is disabled based on a first logical value of enable signal en_h_s. When transistor 298 is turned off based on a second logical value of disable signal en_h_s, the charging current Icurrent begins to charge the capacitor 295. As the capacitor 295 charges, the gate voltage of transistor 296 reaches its threshold voltage at a point in time. At this time point, the transistor 296 conducts and current I3 flows through resistor 297 to gradually pull down the gate voltage of the pass transistor, thereby slowly reducing or shutting off the first output voltage V1out of the first LDO stage.
Referring to
In the first mode (first occurrence), first control signal (en_l) transitions to a logical one value and the remaining control signals have a logical zero value. As a result, the second LDO stage 260 is enabled and the first LDO stage is disabled, and the output voltage (Vout_LDO) of the LDO regulator is based on the output voltage V2out of the second LDO stage. The first mode may be any operational mode of the host system. For illustrative purposes, the first mode is illustrated as normal mode, e.g., a normal-power mode. In other embodiments, normal mode may be considered, for example, to be one of a plurality of reduced power modes.
In the first mode transition period (second occurrence), the second control signal (en_h) and third control signal (en_h_s) are controlled to be logical one values along with the first control signal (en_l). The fourth control signal (en_l_sd) remains low at this time. As a result, the second LDO stage remains on and the first LDO stage 220 is enabled as a result of the logical one value of the second control signal (en_h) and the logical one value of the third control signal (en_h_s), which operates to deactivate the shutdown circuit 68 by coupling the gate of transistor MN3 296 to ground. At this point, the first LDO stage generates its output V1out, which is coupled to node NOUT along with the output V2out of the second LDO stage. Thus, for a short period of time, the output voltage of the LDO regulator is based on whichever one is higher, e.g., Vout_LDO=max(V2out, V1out).
Also, after a settling time t1 in the first mode transition period, the fourth control signal (en_l_sd) transitions to a logical one value, e.g., at this time all four control signals have a logical one value. The logical one value of the fourth control signal controls the second LDO stage to scale down its output voltage V2out by increasing the value of R3 241 to a predetermined value.
The predetermined value is a value much lower than the output voltage V1out of the first LDO 220, so that pass_FET_2240 is shut down by the output of the comparator 235 and the first LDO takes over the power supplying as described as the following paragraphs. The purpose in this transition from first mode to second mode is the first LDO to take over supplying the power.
In one embodiment, the reference voltage Vref into the comparator 235 may be represented by equation 8, which can be derived from Equation 1.
V
ref
=V
2out*[1+(R3/R4)] (8)
In this case, the feedback voltage Vinn may be based on Equation 9. Therefore, in view of these equations, during the first mode transition Vinn>Vref and Vgate_2 will be pulled down to ground by the comparator. As a result, the pass transistor will be turned off. Then, the output voltage V1out of the first LDO stage takes over to supply power to the host system.
V
inn
=V
1out*[1+(R3/R4)] (9)
In one embodiment, depending on the requirements of the host system, instead of asserting the fourth control signal (en_l_sd) to scale down the output voltage V2out of the second LDO stage from the pass transistor, another option is de-asserting the first control signal (en_l) to fully disable the second LDO stage. In this case, the second LDO stage may be re-enabled (by re-asserting en_l) after the host system transitions back to the next mode or the previous mode of operation. As a result of the output voltage V1out of the first LDO stage taking over supplying power to the host system during the mode transition period, the parallel LDO stages have sufficiently high enough speed to respond to the mode transition, because of the high-speed design of the first LDO stage. Put differently, by controlling the logical values of the control signals in the aforementioned manner, the transition to the second mode may be performed with sufficient speed and power to prevent a voltage overshoot condition and a voltage undershoot condition from occurring.
In the second mode, the states of all four control signals may remain unchanged, e.g., at the logical one value. By keeping all of the enable signals the same, the output voltage of the first LDO stage dominates the LDO regulator output. In the second mode, the output voltage of the first LDO must be designed to be higher than the scaled down output voltage of the second LDO in order for the first LDO to dominate the LDO regulator output. As described above, V2out is scaled down or LDO 260 is shut down to guarantee that LDO 220 dominates the LDO regulator output so that, V1out>V2out.
In the second transition mode (e.g., from the second mode back to the first mode), the fourth control signal (en_l_sd) transitions to a logical zero value. This shuts off the scale down of the output voltage of the second LDO stage. Then, after a period t2, the third control signal (en_h_s) transitions to a logical zero value, the effect of which is to perform a soft shutdown of the first LDO stage. Then, after another period t3, the second control signal (en_h) transitions to a logical zero value, thereby shutting off the first LDO stage. As a result, because the first control signal (en_l) remained at a logical one value and the scale down circuit of the second LDO stage has been shut off, the output voltage V2out of the second LDO stage controls once again the output voltage (Vout_LDO) of the LDO regulator.
By controlling transitions of the second, third, and fourth control signals in this stepwise manner, the controller may control the transition back to the first mode (or a third mode) with sufficient speed and power to prevent a voltage overshoot condition and a voltage undershoot condition from occurring.
Instead of transmitting from the second mode back to the first mode, in one embodiment the transition may be performed from the second mode to a third mode, which, for example, may correspond to another mode of operation of the host system, e.g., a reduced power mode or another type of mode.
Operation of the soft shutdown circuit 68 may be more fully explained during mode transition as follows. As illustrated in
Additionally, when control signal en_h still has a logical one value and control signal en_h_s is toggled from logic high to low during this period, transistor MN5 is turned off and current Icharge charges C1. This causes the gate voltage of transistor MN3 to ramp up to a level sufficient to turn on transistor MN3. Ramping up the gate voltage of transistor MN3 causes the source voltage of transistor MN3 and current I3 to increase. Therefore, the current passing through resistor R2 increases, and the current passing through resistor R1 decreases. As a result, the gate voltage of the pass transistor decreases, which, in turn, causes the output voltage of the second LDO stage V1out to decrease.
Thus, by controlling the value of current Icharge and the voltage of capacitor C1, a soft ramping down operation for the gate voltage of the pass transistor Vgate_1 may be performed. This controls the output voltage V1out of the first LDO stage. Moreover, resistor R2 may be coupled to the source of transistor MN3 in what may effectively be a source degeneration topology, which uses transistor MN3 to smooth out the increase of current I3. In one embodiment, resistor R2 is coupled between node N3 and the drain of transistor MN3. In this case, a soft shutdown operation may be performed. Current Icharge may be generated, for example, locally from the internal current mirrors of the LDO regulator or may be provided from the host system. The first LDO stage has an open-loop topology. In another embodiment, the first LDO stage may have a closed-loop topology.
In some embodiments, after transition from the second mode back to the first mode, the first LDO stage may be turned off completely in order to satisfy low power consumption requirements. Because of the low-power and low-speed design of the second LDO stage, a soft shutdown operation may be performed for the first LDO stage to provide enough time for the second LDO stage to take over the supply of power during the first operational mode. As previously described, this may be accomplished, first, by de-asserting control signal en_h_s to allow the output voltage of the first LDO stage V1out to ramp down. During ramping down of the output voltage V1out of the first LDO stage, the pass transistor (pass FET_2) of the second LDO stage may be turned on and the second LDO stage takes over supplying power to the host system (e.g., load). Then, control signal en_h may be de-asserted to fully turn off the first LDO stage.
In accordance with one or more of the aforementioned embodiments, an LDO regulator is provided with two LDO stages coupled in parallel, where each stage outputs different voltage levels and operates based on different speeds and quiescent currents. The LDO stages are selectively controlled to reduce or prevent voltage undershoot and/or voltage overshoot that may occur during transitions between operating modes of a load, which, for example, may be a host system of the LDO regulator. Selective control of the LDO stages ensures a smooth switchover from one mode to another, in a manner that prevents resets or other host circuit malfunctions from occurring. The arrangement also ensures low power consumption during the operational modes.
The controllers, processors, voltage adjusters, voltage regulators, comparators, current generators, and other signal-generating and signal-processing features of the embodiments disclosed herein may be implemented in logic which, for example, may include hardware, software, or both. When implemented at least partially in hardware, the controllers, processors, voltage adjusters, voltage regulators, comparators, current generators, and other signal-generating and signal-processing features may be, for example, any one of a variety of integrated circuits including but not limited to an application-specific integrated circuit, a field-programmable gate array, a combination of logic gates, a system-on-chip, a microprocessor, or another type of processing or control circuit. Further, it is noted that R and R1 will be on the same chip so that R1/R is constant across variations in process, voltage supply, and temperature (PVT).
When implemented in at least partially in software, the controllers, processors, voltage adjusters, voltage regulators, comparators, current generators, and other signal-generating and signal-processing features may include, for example, a memory or other storage device for storing code or instructions to be executed, for example, by a computer, processor, microprocessor, controller, or other signal processing device. The computer, processor, microprocessor, controller, or other signal processing device may be those described herein or one in addition to the elements described herein. Because the algorithms that form the basis of the methods (or operations of the computer, processor, microprocessor, controller, or other signal processing device) are described in detail, the code or instructions for implementing the operations of the method embodiments may transform the computer, processor, controller, or other signal processing device into a special-purpose processor for performing the methods described herein.
The benefits, advantages, solutions to problems, and any element(s) that may cause any benefit, advantage, or solution to occur or become more pronounced are not to be construed as a critical, required, or essential features or elements of any or all the claims. The invention is defined solely by the appended claims including any amendments made during the pendency of this application and all equivalents of those claims as issued.
Although the various exemplary embodiments have been described in detail with particular reference to certain exemplary aspects thereof, it should be understood that the invention is capable of other example embodiments and its details are capable of modifications in various obvious respects. As is readily apparent to those skilled in the art, variations and modifications can be affected while remaining within the spirit and scope of the invention. The embodiments may be combined to form additional embodiments. Accordingly, the foregoing disclosure, description, and figures are for illustrative purposes only and do not in any way limit the invention, which is defined only by the claims.