A DIGITAL COMPARATOR FOR A LOW DROPOUT (LDO) REGULATOR
20220163988 · 2022-05-26
Assignee
Inventors
Cpc classification
G05F1/563
PHYSICS
International classification
G05F1/563
PHYSICS
Abstract
This disclosure relates to a digital comparator coupled to a pair of pull-up resistors and a pair of pull-down resistors whereby both pairs of resistors are coupled to an output terminal of a low dropout (LDO) regulator. In particular, the digital comparator comprises an edge detector module, a consecutive two-edge detector module and a consecutive three-edge detector module whereby the edge detector module is configured to receive two clock signals as inputs and after being processed by these three modules, to pull-up or pull-down the resistors at the output terminal of the LDO regulator based on the rising and falling edges of the received clock signals.
Claims
1. A digital comparator coupled to a pair of pull-up resistors and a pair of pull-down resistors whereby both pairs of resistors are coupled to a gate terminal of an output stage, the digital comparator comprising: a single-edge detector stage configured to detect a first rising edge in a received first digital signal, and to detect a first falling edge in a received second digital signal, whereby when the first rising edge is detected and when the first falling edge is not simultaneously detected, a detector node is set to a low voltage level, and when the first falling edge is detected, the detector node is set to a high voltage level; a consecutive two-edge detector stage coupled to the single-edge detector stage, the consecutive two-edge detector stage configured to detect the voltage level of the detector node, a consecutive second rising edge in the received first digital signal and a consecutive second falling edge in the received second digital signal, whereby when the consecutive second rising edge is detected and when the voltage level of the detector node is simultaneously detected to be at a low voltage level, the consecutive two-edge detector stage causes one of the pair of pull-up resistors to pull up a voltage at the gate terminal, and when the consecutive second falling edge is detected and when the voltage level of the detector node is simultaneously detected to be at a high voltage level, the consecutive two-edge detector stage causes one of the pair of pull-down resistors to pull down the voltage at the gate terminal; a consecutive three-edge detector stage coupled to the single-edge and the consecutive two-edge detector stages, the consecutive three-edge detector stage configured to detect the voltage level of the detector node, a consecutive third rising edge in the received first digital signal and a consecutive third falling edge in the received second digital signal, whereby when the consecutive third rising edge is detected and when the voltage level of the detector node is simultaneously detected to be at a low voltage level, the consecutive three-edge detector stage causes the other one of the pair of pull-up resistors to pull up the voltage at the gate terminal, and when the consecutive third falling edge is detected and when the voltage level of the detector node is simultaneously detected to be at a high voltage level, the consecutive three-edge detector stage causes the other one of the pair of pull-down resistors to pull down the voltage at the gate terminal.
2. The digital comparator according to claim 1, whereby when the consecutive two-edge detector stage and the consecutive three-edge detector stage detects a high voltage level at the detector node, the consecutive two-edge and three-edge detector stages cause the pair of pull-up resistors to be disabled.
3. The digital comparator according to claim 1, whereby when the consecutive two-edge detector stage and the consecutive three-edge detector stage detects a low voltage level at the detector node, the consecutive two-edge and three-edge detector stages cause the pair of pull-down resistors to be disabled.
4. The digital comparator according to claim 1, wherein level shifters are provided at inputs of the single-edge detector stage, at outputs of the consecutive two-edge detector stage and the consecutive three-edge detector stage.
5. A digital low-dropout circuit having the digital comparator according to claim 1, the digital low-dropout circuit using the output stage to generate a stable output voltage, the circuit comprising: a first inverter ring oscillator that is controllable by an output voltage of the output stage to generate the first digital signal; and a second inverter ring oscillator that is controllable by a reference voltage to generate the second digital signal.
6. The digital low-dropout circuit according to claim 5 wherein a sub-digital comparator is provided to control a pseudo-voltage of the digital comparator.
7. The digital low-dropout circuit according to claim 6 whereby the sub-digital comparator comprises: a differential amplifier having a first input coupled to a voltage divider and a second input coupled to a third inverter ring oscillator that is controllable by the reference voltage.
8. The digital low-dropout circuit according to claim 5 wherein a Miller capacitor is provided between the gate terminal and an output node of the output stage.
9. The digital low-dropout circuit according to claim 5 wherein a feed-forward capacitor is provided between an output node of the output stage and the input of the second inverter ring oscillator.
10. A method of controlling a digital comparator that is coupled to a pair of pull-up resistors and a pair of pull-down resistors whereby both pairs of resistors are coupled to a gate terminal of an output stage, the method comprising: detecting, using a single-edge detector stage, a first rising edge in a received first digital signal, and a first falling edge in a received second digital signal, whereby when the first rising edge is detected and when the first falling edge is not simultaneously detected, setting a detector node to a low voltage level, and when the first falling edge is detected, setting the detector node to a high voltage level; detecting, using a consecutive two-edge detector stage coupled to the single-edge detector stage, the voltage level of the detector node, a consecutive second rising edge in the received first digital signal and a consecutive second falling edge in the received second digital signal, whereby when the consecutive second rising edge is detected and when the voltage level of the detector node is simultaneously detected to be at a low voltage level, causing one of the pair of pull-up resistors to pull up a voltage at the gate terminal, and when the consecutive second falling edge is detected and when the voltage level of the detector node is simultaneously detected to be at a high voltage level, causing one of the pair of pull-down resistors to pull down the voltage at the gate terminal; detecting, a consecutive three-edge detector stage coupled to the single-edge and the consecutive two-edge detector stages, the voltage level of the detector node, a consecutive third rising edge in the received first digital signal and a consecutive third falling edge in the received second digital signal, whereby when the consecutive third rising edge is detected and when the voltage level of the detector node is simultaneously detected to be at a low voltage level, causing the other one of the pair of pull-up resistors to pull up the voltage at the gate terminal, and when the consecutive third falling edge is detected and when the voltage level of the detector node is simultaneously detected to be at a high voltage level, causing the other one of the pair of pull-down resistors to pull down the voltage at the gate terminal.
11. The method according to claim 10, whereby when the consecutive two-edge detector stage and the consecutive three-edge detector stage detects a high voltage level at the detector node, the method comprises the step of causing the pair of pull-up resistors to be disabled.
12. The method according to claim 10, whereby when the consecutive two-edge detector stage and the consecutive three-edge detector stage detects a low voltage level at the detector node, the method comprises the step of causing the pair of pull-down resistors to be disabled.
13. The method according to claim 10, wherein level shifters are provided at inputs of the single-edge detector stage, at outputs of the consecutive two-edge detector and at outputs of the consecutive three-edge detector stage.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The above advantages and features in accordance with this invention are described in the following detailed description and are shown in the following drawings:
[0026]
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044]
[0045]
[0046]
[0047]
[0048]
DETAILED DESCRIPTION
[0049] This invention relates to a digital comparator coupled to a pair of pull-up resistors and a pair of pull-down resistors whereby both pairs of resistors are coupled to an output terminal of a low dropout (LDO) regulator. In particular, the digital frequency comparator comprises an edge detector module, a consecutive two-edge detector module and a consecutive three-edge detector module whereby the edge detector module is configured to receive two clock signals as inputs. These received signals, after being processed by these three modules, then cause the respective resistors of the LDO regulator to be pulled-up or pulled-down based on the rising and falling edges of the received clock signals.
[0050] A block diagram of a digital comparator in accordance with embodiments of the invention is illustrated in
[0051] The first and second digital signals F.sub.U and F.sub.D, and the output node D.sub.U are coupled to the input of two-edge detector stage 110 such that the two-edge detector stage 110 is configured to cause voltage levels at its output nodes clk.sub.U1 and clk.sub.D1 to change accordingly when another consecutive rising edge in the first digital signal F.sub.U is detected and/or when another consecutive falling edge in the second digital signal F.sub.D is detected.
[0052] The first and second digital signals F.sub.U and F.sub.D, and the output node D.sub.U are also coupled to the input of three-edge detector stage 115 such that the three-edge detector stage 115 is configured to cause voltage levels at its output nodes clk.sub.U2 and clk.sub.D2 to change accordingly when a third consecutive rising edge in the first digital signal F.sub.U is detected and/or when a third consecutive falling edge in the second digital signal F.sub.D is detected.
[0053] In accordance with embodiments of the invention, but not limited to this embodiment, the outputs from the two-edge detector stage 110 and the three-edge detector stage 115 may then be coupled to a pair of pull-up and to a pair pull-down resistors accordingly to control the “pull” timings of these resistors.
[0054]
[0055] When switches 221 and 222 switch on, they cause pull-up resistors R.sub.U1 and R.sub.U2 to pull the gate voltage V.sub.gate of power amplifier 235 up, and when switches 231 and 232 switch on, they cause pull-down resistors R.sub.D1 and R.sub.D2 to pull the gate voltage V.sub.gate of power amplifier 235 down. By doing this, the digital comparator 100 is able to control the output voltage at the LDO_out node by controlling the timings of pull-up resistors R.sub.U1 and R.sub.U2 through switches 221 and 22 and the timings of pull-down resistors R.sub.D1 and R.sub.D2 through switches 231 and 232.
[0056] As illustrated in
[0057] In embodiments of the invention, sub-circuits 205a, 210a and 215a were configured to detect rising edges in the first digital signal F.sub.U. As such, sub-circuit 205a comprises a plurality of logic NOT gates (or inverters) and at least two N-type Metal-Oxide-Semiconductor (NMOS) transistors, M.sub.NU1 and M.sub.NU2, that are connected in series whereby a source terminal of NMOS transistor M.sub.NU1 is connected to a supply voltage VSS.sub.pseudo, and a drain terminal of NMOS transistor M.sub.NU2 is connected to a detector node D.sub.U. The logic NOT gates are configured such that when the first digital signal F.sub.U is provided to sub-circuit 205a, the first digital signal is delayed and inverted by the NOT gates thereby producing delayed-first digital signal FP.sub.U. As can be seen, sub-circuit 205a is configured such that the first digital signal F.sub.U is provided directly to NMOS transistor M.sub.NU1 while the delayed-first digital signal FP.sub.U is provided to NMOS transistor M.sub.NU2.
[0058] Consecutive two-edge detector stage 110 comprises sub-circuit 210a for receiving the first digital signal F.sub.U, the delayed-first digital signal FP.sub.U and the detector node voltage D.sub.U. In particular, as illustrated in
[0059] As for consecutive three-edge detector stage 115, this stage comprises sub-circuit 215a for receiving first digital signal F.sub.U, the delayed-first digital signal FP.sub.U and the voltage at node U.sub.C. In particular, as illustrated in
[0060] Hence, it can be said that when a first digital signal F.sub.U is provided to sub-circuits 205a, 210a and 215a, the output from these sub-circuits may be obtained from output nodes U.sub.E and U.sub.C.
[0061] Sub-circuits 205b, 210b and 215b comprise of an almost similar configuration as that of sub-circuits 205a, 210a and 215a respectively. However, as sub-circuits 205b, 210b and 215b were configured to detect a falling edge in the second digital signal F.sub.D, the type of the transistors used in 205b, 210b and 215b differs from that of sub-circuits 205a, 210a and 215a.
[0062] In particular, sub-circuit 205b similarly comprises a plurality of logic NOT gates (or inverters) and at least two PMOS transistors, M.sub.PD1 and M.sub.PD2, that are connected in series whereby a source terminal of PMOS transistor M.sub.PD1 is connected to a supply voltage V.sub.Supply, and a drain terminal of PMOS transistor M.sub.PD2 is connected to the detector node D.sub.U. The logic NOT gates are configured such that when the second digital signal F.sub.D is provided to sub-circuit 205b, the second digital signal is delayed and inverted by the NOT gates thereby producing delayed-second digital signal FP.sub.D. As can be seen, sub-circuit 205b is configured such that the second digital signal F.sub.D is provided directly to PMOS transistor M.sub.PD1 while the delayed-second digital signal FP.sub.D is provided to PMOS transistor M.sub.PD2.
[0063] Sub-circuit 210b is then configured to receive the second digital signal F.sub.D, the delayed-second digital signal FP.sub.D and the detector node voltage D.sub.U. In particular, as illustrated in
[0064] As for sub-circuit 215b, this circuit is configured to receive second digital signal F.sub.D, the delayed-second digital signal FP.sub.D and the voltage at node D.sub.C. In particular, as illustrated in
[0065] Hence, it can be said that when the second digital signal FD is provided to sub-circuits 205b, 210b and 215b, the output from these sub-circuits may be obtained from output nodes D.sub.E and D.sub.C.
[0066] In order to better understand the detailed workings of these sub-circuits, reference is made to the timing diagrams illustrated in
[0067] At step 301, as illustrated in
[0068] At step 302, as illustrated in
[0069] With reference to
[0070] At step 302a, as illustrated in
[0071] Subsequently, as illustrated in
[0072] As a falling edge is not detected at the second digital signal F.sub.D, when the signal F.sub.U becomes low (and signal FP.sub.U is low as well for a period of time T.sub.2), this causes the voltage at node U.sub.D to become high. This takes place at step 303a as illustrated in
[0073] Subsequently, as illustrated in
[0074] At step 305, as illustrated in
[0075] For completeness, the timing diagrams of sub-circuits 205b, 210b and 215b when first and second digital signals F.sub.U and F.sub.D are provided to these sub-circuits will be discussed in
[0076] At step 1101, as illustrated in
[0077] At step 1102, as illustrated in
[0078] After step 1102, at step 1103, a first falling edge occurs at digital signal F.sub.D causing detector node D.sub.U to become high. This is shown in
[0079] At step 1103a, as illustrated in
[0080] Subsequently, at a second falling edge 1501 of digital signal F.sub.D, the voltage level at node D.sub.C becomes high, which in turn after being processed by inverters and a level shifter, causes a voltage level at output node clk.sub.D1 to become high as well.
[0081] As a rising edge is not detected at the first digital signal F.sub.U, when the signal F.sub.D becomes high, this causes the voltage at node D.sub.D to become low. This takes place at step 1103b as illustrated in
[0082] Subsequently, as illustrated in
[0083] At step 1105, as illustrated in
[0084] Hence, as illustrated in the timing diagrams in
[0085]
[0086] In embodiments of the invention, the VCOs VCO.sub.D and VCO.sub.U are configured to generate clocks with frequencies that are proportional to the differential voltage inputs. As illustrated in
[0087] Two digital clock signals, F.sub.U and F.sub.D, are provided to comparator 200 by VCOs VCO.sub.D and VCO.sub.U, whereby rising/falling edge sequence information of the digital clock signals, F.sub.U and F.sub.D are extracted by comparator 200 and used to control a push-pull resistor array to control the gate voltage of amplifier 220.
[0088] In order to reduce the amount of power consumed by the hybrid-LDO, digital comparator 200's supply voltage VSS.sub.pseudo is controlled by VSS.sub.pseudo_bias comparator circuit 1915 to ensure that sure that digital comparator 200's voltage drop is no more than 3-times (3×) of the mentioned oscillating amplitude, and does not constitute the whole supply. Another ring oscillator, VCO.sub.F, which is identical to VCOs VCO.sub.U and VCO.sub.D, is added to circuit 1915 to provide a reference voltage to differential amplifier AMP.sub.1. Differential amplifier AMP.sub.1 is configured to control NMOS switch NM.sub.VSS such that the current drawn by comparator 200 may be adjusted to ensure that a specific voltage drop exists in comparator 200 between its supply voltage and pseudo supply voltage. When LDO 1900 is in a stable state, digital clock signals F.sub.U and F.sub.D would be almost the same and as a result, LDO 1900 would consume ultra-low power. This means that when LDO 1900 is in a stable state, the push-pull resistor array would be totally OFF and only the differential VCOs and comparator 200 would be active.
[0089] In order to ensure that hybrid-LDO 1900 has a stable transient response or a stable output voltage, the dominant pole at its output is maintained at the gate node of amplifier 220 by a Miller capacitor C.sub.Miller, 1910 (which is connected between the gate node and the output node of amplifier 220). The use of capacitor 1910 also improves the LDO's transient response as changes to its output voltage would be coupled to amplifier 220's gate. For example, when the output voltage of amplifier 220 increases, C.sub.Miller 1910 pulls up the voltage at the V.sub.gate node simultaneously, which in turn reduces the current flowing through amplifier 220. This feedback loop compensates for voltage changes at the output of amplifier 220 and this helps to stabilize the output voltage. To further enhance the transient response of the hybrid-LDO, a feedforward capacitor C.sub.FD 1950 is added to speed up the VCO's frequency response time. When the output voltage of amplifier 220 changes, C.sub.FD 1950 feed forwards the voltage change to VCO.sub.D and causes signal F.sub.D to change accordingly. Without C.sub.FD 1950, the output voltage of amplifier 220 will affect the voltage of V.sub.FB which in turn controls the voltage at VCO.sub.U. When this happens, signal F.sub.U changes accordingly and in general, this takes a much longer time.
[0090]
[0091]
[0092] When two consecutive rising edges are detected at signal F.sub.U and when these two rising edges are located in between two F.sub.D falling edges, a pull-up resistor R.sub.U1 that is connected to the gate of the PMOS gate will charge gate's voltage accordingly.
[0093] Further, if three consecutive rising edges are detected at signal F.sub.U, a pull-up resistor R.sub.U2 that is connected to the gate of the PMOS transistor's gate will charge the gate's voltage as well. Hence, when the voltage error at the LDO's output is small, only pull-up resistor R.sub.U1 is required to discretely charge the gate voltage of the PMOS transistor, and the equivalent pole at the PMOS transistor's gate is suppressed at a low frequency. However, if the LDO is in transient response function mode, resistor R.sub.U2 will also be connected to the gate of the PMOS transistor to charge its gate faster in order to reduce the LDO's settling time. In this way, the settling time is shortened and the LDO's stability is maintained.
[0094] When V.sub.FB<V.sub.ref, the frequency of signal F.sub.U is lower than the frequency of signal F.sub.D as such, resistors R.sub.D1 and R.sub.D2 may then be used to pull down the voltage at the PMOS transistor's gate.
[0095] After a certain period of time has lapsed, the LDO's output voltage would have been regulated to the required value, as such, the frequencies of signals F.sub.U and F.sub.D would be almost the same, and output nodes clk.sub.U1/2 and clk.sub.D1/2 would be in their disabled states. Hence, only the VCOs and the digital comparator would be active, and as a result, the LDO consumes very low power.
Experimental Results
[0096] In this experiment, LDO 1900 was fabricated using a 65 nm CMOS process, with 400 nA quiescent current and a 20 pF capacitor.
[0097]
[0098] The DC characteristics of the LDO are summarized in Table 1 below whereby the line regulation and load regulation were measured to be 2.5 mV/V and 0.5 mV/mA, respectively. When the load current was at 630 nA, a larger than 99.9% current efficiency was achieved in 10mA load regulation current.
TABLE-US-00001 TABLE 1 450 mV Quiescent Load regulation Line regulation output current (0~10 mA) (0.6 V~1.2 V, 10 mA load) TYP, 25 degree 633 nA 500 μV/mA 2.5 mV/V SS, 0 degree 660 nA 470 μV/mA 4.2 mV/V FF, 50 degree 608 nA 1.3 mV/mA 10 mV/V
[0099] The performance of an LDO designed in accordance with embodiments of the invention is compared against other designs known in the art in Table 2 below. Table 2 shows that with 400 nA quiescent current and a 0.5V supply, a 1,000,000× load dynamic range and a 0.004 ps Figure of Merit (FOM) was achievable with the lowest quiescent current, largest load dynamic range and smallest on-chip capacitor compared to other state-of-art digital/hybrid control LDOs. For FOM comparisons, the proposed LDO in 65 nm technology achieved 2 orders of better performance than the LDOs designed using the 40 nm and 65 nm processes and even has a better value than the one designed using the 28 nm process (which is a more matured process and should have power and speed advantages when FOM calculation is performed).
TABLE-US-00002 TABLE 2 [4] [1] Huang, [5] Salem, [7] Yang, [2] Ma, [3] Kundo, [6] Salem, This work 2017 ISSCC 2017 ISSCC 2017 ISSCC 2017 ISSCC 2018 ISSCC 2018 ISSCC 2018 ISSCC Unit Process 65 nm 40nm 65 nm 65nm 65nm 28 nm 65 nm 65 nm Technology CMOS CMOS CMOS CMOS CMOS CMOS CMOS CMOS Type Hybrid digital Digital/ digital analog Digital/ digital hybrid hybrid hybrid Clk frequency 15 (internal) N.A. 10 1-240 No 4/1 N.A.
Mhz Cap in total 20 20nf 100 400 40 24 40 385 pf Input range 0.5-1.2 0.6-1.1 0.5-1.0 0.5-1.0 0.6 0.4-0.55 0.6-1.2 0.3-0.9 V Output range 0.45-1.15 0.5-1.0 0.45-0.35 0.3-0.45 0.3-0.33 0.35-0.5 0.4-1.1 0.3-0.4 V Load dynamic
N.A. 584X 20,000X
332X
range 50,000X Max load current 30 210 12 2 50 26 100 1 mA Line regulation 25.8 N.A. N.A. 1.1 N.A. N.A. N.A. N.A. mV/V Load regulation 1.3 <0.075 N.A. 0.65 N.A. N.A. N.A. N.A. mV/V Quinscent Current 0.1 22.6-98.5 1.2 14 32 0.81/0.43 100-1020 48.4 μA Transient response
ΔVOUT ®
Δ
/edge time Settling time 0.3 1.3 1.7 0.1 15 16 1.13 0.905
FOM
0.39 0.28 305.7 0.34 0.051 1.18 14.3 ps FOM = (I.sub.Q/I.sub.load_max)*(ΔVOUT/ΔI.sub.load )*CAP *Current to resistor divider is 50 nA
indicates data missing or illegible when filed
[0100] The above is a description of embodiments of a system and method in accordance with the present invention as set forth in the following claims. It is envisioned that others may and will design alternatives that fall within the scope of the following claims.