VOLTAGE REGULATING CIRCUIT

20230384809 · 2023-11-30

Assignee

Inventors

Cpc classification

International classification

Abstract

A voltage regulating circuit includes a low-dropout regulator, configured to provide a driving voltage to drive a loading circuit and receive a first detection voltage from a first feedback terminal; and a reference voltage generating circuit, coupled to the low-dropout regulator, configured to receive a second detection voltage from a second feedback terminal. A voltage difference between the first feedback terminal and the second feedback terminal is clamped according to the first detection voltage and the second detection voltage.

Claims

1. A voltage regulating circuit, comprising: a low-dropout regulator, configured to provide a driving voltage to drive a loading circuit and receive a first detection voltage from a first feedback terminal; and a reference voltage generating circuit, coupled to the low-dropout regulator, configured to receive a second detection voltage from a second feedback terminal; wherein a voltage difference between the first feedback terminal and the second feedback terminal is clamped according to the first detection voltage and the second detection voltage.

2. The voltage regulating circuit of claim 1, wherein the reference voltage generating circuit comprises: a first resistor module and a second resistor module; a current mirror, coupled to the first resistor module and the second resistor module, configured to reflect the current of the first resistor module to the second resistor module according to a first input voltage; and a multiplexer, coupled to the second resistor module, configured to generate a reference voltage to the low-dropout regulator according to the second detection voltage.

3. The voltage regulating circuit of claim 2, wherein the low-dropout regulator is configured to determine the driving voltage to drive the loading circuit according to a power detecting terminal and the reference voltage.

4. The voltage regulating circuit of claim 1, wherein a voltage of a power detecting terminal is determined according to a power path impedance between the low-dropout regulator and the first feedback terminal.

5. The voltage regulating circuit of claim 4, wherein a power feedback path is conducted to compensate a voltage drop of the power path impedance between the low-dropout regulator and the first feedback terminal.

6. The voltage regulating circuit of claim 1, wherein a voltage of a ground detecting terminal is determined according to a ground path impedance between the reference voltage generating circuit and the second feedback terminal.

7. The voltage regulating circuit of claim 6, wherein a ground detecting path is conducted to compensate a raised voltage of the ground path impedance between the reference voltage generating circuit and the second feedback terminal.

8. The voltage regulating circuit of claim 1, wherein the reference voltage generating circuit comprises: a first resistor module; and a multiplexer, coupled to the first resistor module, configured to generate a reference voltage to the low-dropout regulator.

9. The voltage regulating circuit of claim 8, wherein the low-dropout regulator is configured to determine the driving voltage to drive the loading circuit and to receive the first detection voltage from the first feedback terminal according to a power detecting terminal and a second input voltage, wherein the second input voltage is determined according to an output of the reference voltage and a ground detecting terminal of the low-dropout regulator.

10. The voltage regulating circuit of claim 9, wherein the second input voltage is between an output of the reference voltage and a voltage of the ground detecting terminal.

11. The voltage regulating circuit of claim 9, wherein a power feedback path between the low-dropout regulator and the first feedback terminal is conducted to compensate a voltage drop of a power path impedance between the low-dropout regulator and the first feedback terminal.

12. The voltage regulating circuit of claim 9, wherein the ground detecting terminal is determined according to a ground path impedance between the reference voltage generating circuit and the second feedback terminal.

13. The voltage regulating circuit of claim 12, wherein a ground detecting path is conducted to compensate a raised voltage of the ground path impedance between the reference voltage generating circuit and the second feedback terminal.

14. The voltage regulating circuit of claim 1, wherein the reference voltage generating circuit comprises: a first resistor module, coupled to the second feedback terminal and configured to generate an input voltage for the low-dropout regulator according to the reference voltage and a voltage of a ground detecting terminal.

15. The voltage regulating circuit of claim 14, wherein the low-dropout regulator is configured to determine the driving voltage to drive the loading circuit and receive the first detection voltage from the first feedback terminal according to a power detecting terminal and the input voltage.

16. The voltage regulating circuit of claim 14, wherein a power feedback path between the low-dropout regulator and the first feedback terminal is conducted to compensate a voltage drop of a power path impedance between the low-dropout regulator and the first feedback terminal.

17. The voltage regulating circuit of claim 14, wherein the ground detecting terminal is determined according to a ground path impedance between the reference voltage generating circuit and the second feedback terminal.

18. The voltage regulating circuit of claim 17, wherein a ground detecting path is conducted to compensate a raised voltage of the ground path impedance between the reference voltage generating circuit and the second feedback terminal.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0009] FIG. 1 is a schematic diagram of a conventional voltage regulating circuit with a reference circuit and a low-dropout regulator for a loading circuit.

[0010] FIG. 2 is a schematic diagram of a voltage regulating circuit according to an embodiment of the present invention.

[0011] FIG. 3, FIG. 5, FIG. 7, FIG. 9 are schematic diagrams of a voltage regulating circuit according to an embodiment of the present invention.

[0012] FIG. 4, FIG. 6, FIG. 8, FIG. 10 are schematic diagrams of waveforms of the voltage regulating circuit and a digital logic circuit in the configuration of FIG. 3, FIG. 5, FIG. 7 and FIG. 9 according to an embodiment of the present invention.

[0013] FIG. 11, FIG. 12 are schematic diagrams of a voltage regulating circuit according to another embodiment of the present invention.

DETAILED DESCRIPTION

[0014] Please refer to FIG. 2, which is a schematic diagram of a voltage regulating circuit 20 according to an embodiment of the present invention. The voltage regulating circuit 20 includes a low-dropout regulator 202 and a reference voltage generating circuit 204, wherein the voltage regulating circuit 20 is configured to provide a stable output for a loading circuit LC. The low-dropout regulator 202 is configured to provide a driving voltage VDD.sub.REG to drive the loading circuit LC through a power path impedance R.sub.APR_PWR, and receive a first detection voltage VDD.sub.DET from a first feedback terminal VDD.sub.APR. The reference voltage generating circuit 204 is configured to receive a second detection voltage VSS.sub.DET from a second feedback terminal VSS.sub.APR of the loading circuit LC. The reference voltage generating circuit 204 is coupled to the low-dropout regulator 202, wherein a voltage difference between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is clamped by the driving voltage VDD.sub.REG determined according to the first detection voltage VDD.sub.DET and the second detection voltage VSS.sub.DET. A power detecting terminal V.sub.FB of the low-dropout regulator 202 is configured to receive the first detection voltage VDD.sub.DET and a ground detecting terminal V.sub.SEN of the reference voltage generating circuit 204 is configured to receive the second detection voltage VSS.sub.DET.

[0015] In detail, please refer to FIG. 3 and FIG. 4. FIG. 3 is a schematic diagram of a voltage regulating circuit 30 according to an embodiment of the present invention. FIG. 4 is a schematic diagram of waveforms of the voltage regulating circuit 30 and a loading circuit LC in the configuration of FIG. 3 according to an embodiment of the present invention.

[0016] The voltage regulating circuit 30 includes a low-dropout regulator 302 and a reference voltage generating circuit 304. The voltage regulating circuit 30 is configured to provide a stable output for the loading circuit LC. The low-dropout regulator 302 is configured to determine the driving voltage VDD.sub.REG to drive a loading circuit LC through a power path impedance R.sub.APR_PWR, and receive a first detection voltage VDD.sub.DET from a first feedback terminal VDD.sub.APR. The driving voltage VDD.sub.REG is determined according to the received voltage of a power detecting terminal V.sub.FB and a reference voltage V.sub.REF_VDD, wherein the received voltage is the first detection voltage VDD.sub.DET. The reference voltage generating circuit 304 includes a first resistor module RM_1, a second resistor module RM_2, a current mirror CM, and a multiplexer MUX. The current mirror CM is configured to reflect the current of the first resistor module RM_1 to the second resistor module RM_2 according to a first input voltage V.sub.REF, wherein the first resistor module RM_1 and the second resistor module RM_2 may respectively be a resister series up to mega ohm, and its current is microampere. The multiplexer MUX is configured to generate the reference voltage V.sub.REF_VDD to the low-dropout regulator 302 according to the received voltage from the second feedback terminal VSS.sub.APR.

[0017] The voltage regulating circuit 30 further includes a plurality of switches S1-S4, which are selectively conducted to operate the voltage regulating circuit 30 in the following configurations: [0018] a) The switches S1, S2 are configured to turn on or turn off a function of feedback of the first feedback terminal VDD.sub.APR of a digital logic circuit DLC of the loading circuit LC; [0019] when the switch S1 is conducted and the switch S2 is turned off, the voltage feedback of the first feedback terminal VDD.sub.APR is activated; when the switch S1 is turned off and the switch S2 is conducted, the driving voltage VDD.sub.REG is fed back to the low-dropout regulator 302. [0020] b) The switches S3, S4 are configured to turn on or turn off a function of detecting the second feedback terminal VSS.sub.APR of a digital logic circuit DLC of the loading circuit LC; [0021] when the switch S3 is conducted and the switch S4 is turned off, the function of detecting the second feedback terminal VSS.sub.APR is activated; when the switch S3 is turned off and the switch S4 is conducted, the reference voltage generating circuit 304 detects the second voltage VSS.sub.REG of the low-dropout regulator 302.

[0022] As illustrated in FIG. 3, since a power path impedance R.sub.APR_PWR and a ground path impedance R.sub.APR_GND cannot be neglected between the low-dropout regulator 302 and the loading circuit LC, an IR drop at the digital logic circuit DLC is generated. In an embodiment, the current I.sub.APR is around a hundred of milliampere (mA), while the currents of a power feedback path impedance R.sub.DET_PWR and a ground detect path impedance R.sub.DET_GND are around tens of microampere (μA). Comparing to the loading condition of the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND, the current loading of the power feedback path impedance R.sub.DET_PWR and the ground detect path impedance R.sub.DET_GND usually can be negligible.

[0023] In this condition, a power feedback path is conducted via the switch S1, and a ground detecting path is conducted via the switch S3 to compensate the IR drop of the digital logic circuit DLC. The reference voltage generating circuit 304 is configured to generate a first input voltage V.sub.REF on the first resistor module RM_1 according to the first input voltage V.sub.REF and a unit gain buffer. The current mirror CM reflects the current of the first resistor module RM_1 to the second resistor module RM_2 according to the first input voltage V.sub.REF and then establishes the reference voltage V.sub.REF_VDD according to the multiplexer MUX.

[0024] In addition, since the switch S3 is conducted and the switch S4 is turned off, a ground detecting terminal V.sub.SEN of the second resistor module RM_2 is connected to the second feedback terminal VSS.sub.APR. Assume I.sub.GND≈I.sub.APR, a raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND≈I.sub.APR*R.sub.APR_GND is generated by the ground path impedance R.sub.APR_GND. In such a condition, the raised voltage ΔV.sub.1 is sensed at the ground detecting terminal V.sub.SEN and is compensated on the reference voltage V.sub.REF_VDD of the reference voltage generating circuit 304, and the raised voltage ΔV.sub.1 is provided to the low-dropout regulator 302 for compensating the raised ground voltage of the digital logic circuit DLC.

[0025] In addition, since the switch S1 is conducted and the switch S2 is turned off, the power detecting terminal V.sub.FB is connected to the first feedback terminal VDD.sub.APR to ensure that the first feedback terminal VDD.sub.APR of the digital logic circuit DLC may be locked on the reference voltage V.sub.REF_VDD, which is not varied with the digital logic circuit DLC and the power path impedance R.sub.APR_PWR to compensate a dropped voltage ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR ≈I.sub.APR*R.sub.APR_PWR (I.sub.PWR≈I.sub.APR), wherein the dropped voltage ΔV.sub.2 is generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR.

[0026] By detecting the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR of the digital logic circuit DLC, the dropped voltage ΔV.sub.2 and the raised voltage ΔV.sub.1 through the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND may be compensated to ensure that a voltage difference VDD.sub.DIFF_MAX is maintained between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR. Therefore, the digital logic circuit DLC may be operated with enough margin with either light loading or heavy loading.

[0027] As shown in FIG. 4, in a period T0, the current I.sub.APR is around 0 mA when the digital logic circuit DLC is operated without loading, and the voltage difference VDD.sub.DIFF_MAX between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is clamped without interference of the power path impedance and the ground path impedance.

[0028] In a period T1, when the digital logic circuit DLC starts to draw the current from the voltage regulating circuit 30, the raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND≈I.sub.APR*R.sub.APR_GND (I.sub.GND≈I.sub.APR) is generated by the ground path impedance R.sub.APR_GND. The raised voltage ΔV.sub.1 is sensed at the ground detecting terminal V.sub.SEN and is compensated for the reference voltage V.sub.REF_VDD of the reference voltage generating circuit 304. The raised voltage ΔV.sub.1 is then provided to the low-dropout regulator 302 for compensating the raised voltage ΔV.sub.1 of the digital logic circuit DLC. At the same time, the voltage of the first feedback terminal VDD.sub.APR is fed back to the power detecting terminal V.sub.FB, such that the low-dropout regulator 302 may maintain the voltage difference VDD.sub.DIFF_MAX between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR to compensate a dropped voltage ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR≈I.sub.APR*R.sub.APR_PWR (I.sub.PWR≈I.sub.APR), which is generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR. Therefore, the digital logic circuit DLC may be operated with enough margin with either light loading or heavy loading.

[0029] In another embodiment, when power path impedance R.sub.APR_PWR can be neglected and the ground path impedance R.sub.APR_GND cannot be neglected between the low-dropout regulator 302 and the reference voltage generating circuit 304, only the ground path impedance R.sub.APR_GND should be considered for the compensation of the raised voltage ΔV.sub.1≈I.sub.APR* R.sub.APR_GND and the power path impedance R.sub.APR_PWR can be neglected in this case.

[0030] In order to compensate the IR drop of the ground path impedance R.sub.APR_GND the function of detecting the second feedback terminal VSS.sub.APR is activated, and the switch S3 is conducted and the switch S4 is turned off, as shown in FIGS. 5 and 6.

[0031] In FIG. 5, the switch S1 is turned off and the switch S2 is conducted. That is, the feedback function of the first feedback terminal VDD.sub.APR is not activated. In addition, the switch S3 is conducted and the switch S4 is turned off to activate the function of detecting the second detection voltage VSS.sub.DET from the second feedback terminal VSS.sub.APR. The reference voltage generating circuit 304 is configured to generate the first input voltage V.sub.REF on the first resistor module RM_1 according to the first input voltage V.sub.REF and a unit gain buffer. The current mirror CM reflects currents of the first resistor module RM_1 to the second resistor module RM_2 according to the first input voltage V.sub.REF and then establishes the reference voltage V.sub.REF_VDD according to the multiplexer MUX. Since the switch S3 is conducted and the switch S4 is turned off, the ground detecting terminal V.sub.SEN of the second resistor module RM_2 is connected to the second feedback terminal VSS.sub.APR to detect the second detection voltage VSS.sub.DET. The raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND≈I.sub.APR* R.sub.APR_GND is generated by the ground path impedance R.sub.APR_GND. In such condition, the raised voltage ΔV.sub.1 is sensed at the ground detecting terminal V.sub.SEN and is compensated on the reference voltage V.sub.REF VDD of the reference voltage generating circuit 304. The raised voltage ΔV.sub.1 is provided to the low-dropout regulator 302 for compensating the raised ground voltage of the digital logic circuit DLC.

[0032] Since the switch S1 is turned off and the switch S2 is conducted, the power detecting terminal V.sub.FB is connected to the driving voltage VDD.sub.REG to keep up with a variation of the reference voltage V.sub.REF_VDD. In addition, since the power path impedance R.sub.APR_PWR can be neglected, i.e. ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR ≈I.sub.APR*R.sub.APR_PWR≈0, the driving voltage VDD.sub.REG of the low-dropout regulator 302 would be close to the first feedback terminal VDD.sub.APR, which ensures that the first feedback terminal VDD.sub.APR of the digital logic circuit DLC would not be affected by the current I.sub.APR.

[0033] Therefore, by detecting the second feedback terminal VSS.sub.APR of the digital logic circuit DLC, the raised voltage ΔV.sub.1 generated by the current I.sub.APR flowing through the ground path impedance R.sub.APR_GND may be compensated to ensure that the clamped voltage between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is fixed with either light loading or heavy loading of the digital logic circuit DLC.

[0034] FIG. 6 is a schematic diagram of waveforms of the voltage regulating circuit 30 and the digital logic circuit DLC in the configuration of FIG. 5 according to an embodiment of the present invention. In the period T0, the current I.sub.APR is around 0 mA when the digital logic circuit DLC is operated without loading, and the voltage difference between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR of the digital logic circuit DLC is clamped without interference of the power path impedance and the ground path impedance, such that the digital logic circuit DLC may be operated within the voltage difference VDD.sub.DIFF_MAX.

[0035] In the period T1 of FIG. 6, when the digital logic circuit DLC starts to draw the current I.sub.APR from the voltage regulating circuit 30, and the raised voltage ΔV.sub.1≈I.sub.APR*R.sub.APR_GND is generated by the current I.sub.APR flowing through the ground path impedance R.sub.APR_GND. The raised voltage ΔV.sub.1 is sensed at the ground detecting terminal V.sub.SEN and the reference voltage V.sub.REF_VDD of the reference voltage generating circuit 304 is raised by the raised voltage ΔV.sub.1, which is provided to the low-dropout regulator 302. The driving voltage VDD.sub.REG is fed back to a power detecting terminal V.sub.FB, such that the driving voltage VDD.sub.REG may follow the variation of the reference voltage V.sub.REF_VDD.

[0036] Since the power path impedance R.sub.APR_PWR can be neglected (i.e. ΔV.sub.2≈I.sub.APR*R.sub.APR_PWR≈0), the voltage drop by the current I.sub.APR flowing through the power path impedance R.sub.APR_PWR can be neglected, i.e. a voltage of the first feedback terminal VDD.sub.APR is nearly equal to the driving voltage VDD.sub.REG. Therefore, by detecting the second detection voltage VSS.sub.DET from the second feedback terminal VSS.sub.APR of the digital logic circuit DLC, the raised voltage ΔV.sub.1 generated by the current I.sub.APR flowing through the ground path impedance R.sub.APR_GND may be compensated to ensure that the clamped voltage between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is fixed with either light loading or heavy loading of the digital logic circuit DLC.

[0037] In another embodiment, when power path impedance R.sub.APR_PWR cannot be neglected and the ground path impedance R.sub.APR_GND can be neglected, only the power path impedance R.sub.APR_PWR should be considered for the compensation of the IR drop, and the ground path impedance R.sub.APR_GND can be neglected in this case.

[0038] In order to compensate the IR drop of the power path impedance R.sub.APR_PWR, the function of feedback of the first feedback terminal VDD.sub.APR to the reference voltage V.sub.REF_VDD is activated, and thus the switch S1 is conducted, the switch S2 is turned off; the switch S3 is turned off, the switch S4 is conducted, as shown in FIG. 7 and FIG. 8.

[0039] The reference voltage generating circuit 304 is configured to generate the first input voltage V.sub.REF on the first resistor module RM_1 according to the first input voltage V.sub.REF and a unit gain buffer. The current mirror CM reflects the current of the first resistor module RM_1 to the second resistor module RM_2 according to the first input voltage V.sub.REF and then establishes the reference voltage V.sub.REF_VDD according to the multiplexer MUX. Since the switch S3 is turned off and the switch S4 is conducted, the ground detecting terminal V.sub.SEN of the second resistor module RM_2 is connected to the second voltage VSS.sub.REG and the ground path impedance R.sub.APR_GND can be neglected.

[0040] Moreover, since the switch S1 is conducted and the switch S2 is turned off, the power detecting terminal V.sub.FB of the low-dropout regulator 302 is connected to the first feedback terminal VDD.sub.APR to ensure that the first feedback terminal VDD.sub.APR of the digital logic circuit DLC may be locked on the reference voltage V.sub.REF_VDD, which is not varied with the digital logic circuit DLC and the power path impedance R.sub.APR_PWR, to compensate a dropped voltage ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR≈I.sub.APR*R.sub.APR_PWR (I.sub.PWR≈I.sub.APR), which is generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR.

[0041] As shown in FIG. 8, in the period T0, the current I.sub.APR is around 0 mA when the digital logic circuit DLC is operated without loading, and the voltage difference VDD.sub.DIFF_MAX between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is clamped without interference of the power path impedance and the ground path impedance.

[0042] In the period T1, when the digital logic circuit DLC starts to draw the current I.sub.APR from the voltage regulating circuit 30, since the ground path impedance R.sub.APR_GND can be neglected, the raised voltage ΔV.sub.1 of the current I.sub.APR flows through the ground path impedance R.sub.APR_GND can be neglected.

[0043] Since the ground detecting terminal V.sub.SEN of the second resistor module RM_2 detects that the second voltage VSS.sub.REG is nearly equal to the voltage of the second feedback terminal VSS.sub.APR, the ground path impedance R.sub.APR_GND can be neglected and the raised voltage ΔV.sub.1 on the reference voltage V.sub.REF_VDD can be neglected.

[0044] The low-dropout regulator 302 may adjust the first feedback terminal VDD.sub.APR by detecting the first detection voltage VDD.sub.DET of the power detecting terminal V.sub.FB to compensate the dropped voltage ΔV.sub.2 of the current I.sub.APR flowing through the power path impedance R.sub.APR_PWR to ensure that a voltage difference VDD.sub.DIFF_MAX is maintained between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR.

[0045] In another embodiment, when both of power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND can be neglected, the driving voltage VDD.sub.REG is fed back to the power detecting terminal V.sub.FB and the second voltage VSS.sub.REG is detected for ensuring the clamped voltage of the digital logic circuit DLC, i.e. the voltage difference VDD.sub.DIFF_MAX, is maintained.

[0046] As shown in FIG. 9, the switch S1 turned off and the switch S2 is conducted, the power detecting terminal V.sub.FB is connected to the driving voltage VDD.sub.REG to keep up with a variation of the reference voltage V.sub.REF_VDD; the switch S3 is turned off and the switch S4 is conducted to turn off the function of detecting the second feedback terminal VSS.sub.APR.

[0047] The current mirror CM reflects the current of the first resistor module RM_1 to the second resistor module RM_2 according to the first input voltage V.sub.REF and then establishes the reference voltage V.sub.REF_VDD according to the multiplexer MUX. Since the switch S3 is turned off and the switch S4 is conducted, the ground detecting terminal V.sub.SEN of the second resistor module RM_2 is connected to the second voltage VSS.sub.REG and the ground path impedance R.sub.APR_GND can be neglected, the raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND≈I.sub.APR*R.sub.APR_GND≈0, wherein I.sub.GND≈I.sub.APR, is generated when the current I.sub.APR flows through the ground path impedance R.sub.APR_GND.

[0048] Since the switch S1 is turned off and the switch S2 is conducted, the power detecting terminal V.sub.FB is configured to receive the driving voltage VDD.sub.REG to keep up with a variation of the reference voltage V.sub.REF_VDD. In addition, the power path impedance R.sub.APR_PWR can be neglected, i.e. ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR≈I.sub.APR*R.sub.APR_PWR≈0, wherein I.sub.PWR≈I.sub.APR, the driving voltage VDD.sub.REG of the low-dropout regulator 302 is close to the first feedback terminal VDD.sub.APR, which ensures that the first feedback terminal VDD.sub.APR of the digital logic circuit DLC would not be affected by the current I.sub.APR.

[0049] As shown in FIG. 10, in the period T0, the current I.sub.APR is around 0 mA when the digital logic circuit DLC is operated without loading, and the voltage difference VDD.sub.DIFF_MAX between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR is clamped without interference of the power path impedance and the ground path impedance.

[0050] In the period T1, when the digital logic circuit DLC starts to draw the current I.sub.APR from the voltage regulating circuit 30, since the ground path impedance R.sub.APR_GND can be neglected, the raised voltage ΔV.sub.1 of the current I.sub.APR flows through the ground path impedance R.sub.APR_GND can be neglected, and the second feedback terminal VSS.sub.APR varies with the second voltage VSS.sub.REG.

[0051] Since the ground detecting terminal V.sub.SEN of the second resistor module RM_2 detects that the second voltage VSS.sub.REG is nearly equal to the voltage of the second feedback terminal VSS.sub.APR, and then the reference voltage V.sub.REF_VDD is output to the low-dropout regulator 302. The driving voltage VDD.sub.REG is fed back to the power detecting terminal V.sub.FB which ensures that the driving voltage VDD.sub.REG keeps up with the reference voltage V.sub.REF_VDD.

[0052] In addition, since the power path impedance R.sub.APR_PWR can be neglected, the dropped voltage ΔV.sub.2 generated by the current I.sub.APR flowing through the power path impedance R.sub.APR_PWR can be neglected, and the voltage of the first feedback terminal VDD.sub.APR can vary with the driving voltage VDD.sub.REG.

[0053] By detecting the driving voltage VDD.sub.REG and the second voltage VSS.sub.REG, the voltage difference VDD.sub.DIFF_MAX between the first feedback terminal VDD.sub.APR and the second feedback terminal VSS.sub.APR may be clamped when both of the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND can be neglected to ensure with either light loading or heavy loading of the digital logic circuit DLC.

[0054] Please refer to FIG. 11, which is a schematic diagram of a voltage regulating circuit 1100 according to an embodiment of the present invention. The voltage regulating circuit 1100 includes a low-dropout regulator 1102 and a reference voltage generating circuit 1104. Since FIG. 11 is an embodiment of FIG. 3, element symbols are inherited in FIG. 11. Different from FIG. 3, the reference voltage generating circuit 1104 includes a first resistor module RM and a multiplexer MUX. The multiplexer MUX is configured to generate a reference voltage V.sub.REF_VDD to the low-dropout regulator 1102.

[0055] When a power path impedance R.sub.APR_PWR and a ground path impedance R.sub.APR_GND cannot be neglected, an IR drop at a digital logic circuit DLC is generated. In order to compensate the voltage drops caused by the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND the feedback function of the first feedback terminal VDD.sub.APR and the detecting function of the second feedback terminal VSS.sub.APR are activated.

[0056] As shown in FIG. 11, when the switch S1 is conducted and the switch S2 is turned off, the function of feedback of the first feedback terminal VDD.sub.APR to the reference voltage V.sub.REF_VDD is activated;

[0057] when the switch S3 is conducted and the switch S4 is turned off the function of detecting the second feedback terminal VSS.sub.APR is activated.

[0058] The voltage regulating circuit 1100 is configured to determine the reference voltage V.sub.REF_VDD according to a selection of the multiplexer MUX. Since the switch S3 is conducted and the switch S4 is turned off, a ground terminal V.sub.REF_VSS of a ground detecting terminal V.sub.SEN is connected to the second feedback terminal VSS.sub.APR to receive a second detection voltage VSS.sub.DET. A raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND I.sub.APR*R.sub.APR_GND, wherein I.sub.GND≈I.sub.APR, is generated when a current I.sub.APR flow through a ground path impedance R.sub.APR_GND, and the raised voltage ΔV.sub.1 is provided to the low-dropout regulator 1102 for compensating the raised ground voltage of the digital logic circuit DLC.

[0059] An output voltage VDD.sub.REG of the low-dropout regulator 1102 is [V.sub.REF_VDD*(R.sub.2/(R.sub.1+R.sub.2))+V.sub.REF_VSS*(R.sub.1/(R.sub.1+R.sub.2))]*(1+R.sub.4/R.sub.3)=V.sub.REF_VDD+ΔV.sub.1, wherein R.sub.1=R.sub.2=R.sub.3=R.sub.4=R and V.sub.REF_VSS=ΔV.sub.1, which can be a compensation for the IR drop of the ground path impedance R.sub.APR_GND.

[0060] In addition, since the switch S1 is conducted and the switch S2 is turned off, the power detecting terminal V.sub.FB is connected to the first feedback terminal VDD.sub.APR to receive the first detection voltage VDD.sub.DET from the first feedback terminal VDD.sub.APR, and a dropped voltage ΔV.sub.2=I.sub.PWR*R.sub.APR_PWR≈I.sub.APR*R.sub.APR_PWR (wherein I.sub.PWR≈I.sub.APR) is generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR.

[0061] By detecting the first detection voltage VDD.sub.DET from the first feedback terminal VDD.sub.APR and the second detection voltage VSS.sub.DET from the second feedback terminal VSS.sub.APR, the raised voltage ΔV.sub.1 and the dropped voltage ΔV.sub.2 generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND may be compensated to ensure that the digital logic circuit DLC may be operated with enough margin with either light loading or heavy loading.

[0062] Regarding the waveforms of the voltage regulating circuit 1100 and the digital logic circuit DLC, please refer to FIG. 4 when the power path impedance R.sub.APR_PWR and a ground path impedance R.sub.APR_GND cannot be neglected. Alternatively, other configurations of the voltage regulating circuit 1100 and corresponding waveforms may be referred to above embodiments of FIG. 3.

[0063] Please refer to FIG. 12, which is a schematic diagram of a voltage regulating circuit 1200 according to an embodiment of the present invention. The voltage regulating circuit 1200 includes a low-dropout regulator 1202 and a reference voltage generating circuit 1204. Since FIG. 12 is an embodiment of FIG. 3, element symbols are inherited in FIG. 12. Different from FIG. 3, the reference voltage generating circuit 1204 includes a first resistor module RM, wherein the first resistor module RM includes a resistor R.sub.1 and a resistor R2 in series. The reference voltage generating circuit 1204 is configured to generate an input voltage V.sub.N for the low-dropout regulator 1202 according to a reference voltage V.sub.REF and a ground detecting terminal V.sub.SEN.

[0064] When a power path impedance R.sub.APR_PWR and a ground path impedance R.sub.APR_GND cannot be neglected, an IR drop at a digital logic circuit DLC is generated. In order to compensate the voltage drops caused by the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND, the feedback function of the first feedback terminal VDD.sub.APR and the detecting function of the second feedback terminal VSS.sub.APR are activated.

[0065] As shown in FIG. 12, when the switch S1 is conducted and the switch S2 is turned off, the function of feedback of the first feedback terminal VDD.sub.APR to a reference voltage V.sub.REF_VDD is activated; when the switch S3 is conducted and the switch S4 is turned off, the function of detecting the second feedback terminal VSS.sub.APR is activated.

[0066] The voltage regulating circuit 1200 is configured to generate the reference voltage V.sub.REF_VDD according to a unit gain buffer, the reference voltage V.sub.REF_VDD is connected to a terminal of the resistor R.sub.1 of the first resistor module RM, and another terminal of the resistor R.sub.1 is coupled to a ground terminal V.sub.REF_VSS via the resistor R2. The input voltage V.sub.N is generated according to a voltage division of the resistors R.sub.1 and R.sub.2 and then transmitted to the low-dropout regulator 1202.

[0067] When the switch S3 is conducted and the switch S4 is turned off, the ground terminal V.sub.REF_VSS is connected to the second feedback terminal VSS.sub.APR to receive a second detection voltage VSS.sub.DET. A raised voltage ΔV.sub.1=I.sub.GND*R.sub.APR_GND≈I.sub.APR*R.sub.APR_GND (I.sub.GND≈I.sub.APR) is generated when a current I.sub.APR flows through the ground path impedance R.sub.APR_GND. The second feedback terminal VSS.sub.APR is connected to a ground terminal V.sub.REF_VSS of the first resistor module RM. Thus, the input voltage V.sub.N=V.sub.REF_VDD*(R.sub.2/(R.sub.1+R.sub.2))+V.sub.REF_VSS*(R.sub.1/(R.sub.1+R.sub.2))] is provided to the low-dropout regulator 1202 for compensating the raised voltage. An effective output voltage of the low-dropout regulator 1202 is VDD.sub.REG=[V.sub.REF_VDD*(R.sub.2/(R.sub.1+R.sub.2)+V.sub.REF_VSS*(R.sub.1/(R.sub.1+R.sub.2)]*(1+R.sub.4/R.sub.3=V.sub.REF_VD+ΔV.sub.1, wherein R.sub.1=R.sub.2=R.sub.3=R.sub.4=R, V.sub.REF_VSS=ΔV.sub.1).

[0068] Since the switch S1 is conducted and the switch S2 is turned off, the power voltage terminal V.sub.FB of the low-dropout regulator 1202 is connected to the first feedback terminal VDD.sub.APR to receive the first detection voltage VDD.sub.DET from the first feedback terminal VDD.sub.APR, a dropped voltage ΔV.sub.2≈I.sub.PWR*R.sub.APR_PWR≈I.sub.APR*R.sub.APR_PWR (I.sub.PWR≈I.sub.APR) generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR.

[0069] By detecting the first detection voltage VDD.sub.DET from the first feedback terminal VDD.sub.APR and the second detection voltage VSS.sub.DET from the second feedback terminal VSS.sub.APR, the raised voltage ΔV.sub.1 and the dropped voltage ΔV.sub.2 generated when the current I.sub.APR flows through the power path impedance R.sub.APR_PWR and the ground path impedance R.sub.APR_GND may be compensated to ensure that the digital logic circuit DLC may be operated with enough margin with either light loading or heavy loading.

[0070] Regarding the waveforms of the voltage regulating circuit 1200 and the digital logic circuit DLC, please refer to FIG. 4 when the power path impedance R.sub.APR_PWR and a ground path impedance R.sub.APR_GND cannot be neglected. Alternatively, other configurations of the voltage regulating circuit 1200 and corresponding waveforms may be referred to above embodiments of FIG. 3.

[0071] In summary, the present invention provides a voltage regulating circuit, which compensates a raised voltage and a dropped voltage generated by path impedances between the voltage regulating circuit and a loading circuit to keep enough headroom for operating the loading.

[0072] Those skilled in the art will readily observe that numerous modifications and alterations of the device and method may be made while retaining the teachings of the invention. Accordingly, the above disclosure should be construed as limited only by the metes and bounds of the appended claims.