LDO circuit

By introducing the connection of the second operational amplifier and capacitor in the LDO circuit, combined with the power device to control the current, the problems of limited gain and unstable output voltage in the existing LDO circuit at low frequency are solved, and more stable output voltage and reduced output voltage are achieved. Adjustment rate.

CN118939059APending Publication Date: 2024-11-12XIAN ZHONGLING XINGXUN ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411142246.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

In the case of limited low-frequency gain, existing LDO circuits are susceptible to the influence of power supply voltage and load current, resulting in unstable output voltage and high linear adjustment rate and load adjustment rate.

Method used

An LDO circuit including an error amplifier of a first operational amplifier, a second operational amplifier and a first-stage source follower is designed, and is connected by a capacitor between the output terminal of the first operational amplifier and the same-direction input terminal of the second operational amplifier. , increases the stability of the circuit and controls the current through the power device to reduce the impact on the supply voltage and load current.

Benefits of technology

It improves the output voltage stability of the LDO circuit, reduces the linear adjustment rate and load adjustment rate, enhances the frequency response capability of the circuit, and reduces the impact on the power supply voltage and load current.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118939059A_ABST
    Figure CN118939059A_ABST
Patent Text Reader

Abstract

The invention provides an LDO circuit. The LDO circuit comprises a voltage input end, a reference circuit, an error amplifier, a power device, a resistance feedback network, a capacitor and a voltage output end. The error amplifier comprises a first operational amplifier, a second operational amplifier and a primary source follower; the non-inverting input end of the first operational amplifier is connected with the resistance feedback network, the inverting input end is connected with the reference voltage output end of the reference circuit, and the output end is connected with the non-inverting input end of the second operational amplifier; the reverse input end of the second operational amplifier is connected with an external bias current output end, the output end of the second operational amplifier is connected with the first-stage source follower, and the first-stage source follower is further connected with the voltage input end of the LDO circuit and the power device; the power device is connected with the resistance feedback network, and a voltage output end is further connected between the power device and the resistance feedback network. Therefore, the linear adjustment rate and the load adjustment rate of the LDO circuit are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of integrated circuit design, and in particular to a LDO circuit. Background Art

[0002] Low Dropout Linear Regulator (LDO) circuits are widely used in analog circuits and are often used to provide a stable reference voltage for integrated circuits. In practical applications, the reference voltage and output voltage of LDO circuits may differ due to load current changes, power supply voltage fluctuations, etc. Therefore, a secondary operational amplifier is set to timely adjust the components in the LDO circuit to make the reference voltage and output voltage the same.

[0003] At present, LDO circuits that generally use a two-stage operational amplifier as an error amplifier are a common design solution. However, since the low-frequency gain of the two-stage operational amplifier may be limited, such as pole limitation, new poles will be formed due to the internal poles of the amplifier and the amplifier and the large load capacitor. These poles will affect the frequency response of the amplifier and cause low-frequency cutoff, thereby limiting the low-frequency gain. In addition, the existence of the pole will cause the phase angle to drop rapidly when approaching zero frequency, so that the gain will no longer continue to increase, resulting in the output voltage being more susceptible to the power supply voltage and load current, especially in terms of linear regulation and load regulation. It will show a higher sensitivity. Summary of the invention

[0004] The present application provides an LDO circuit to solve the problems in the above-mentioned background technology.

[0005] The present application provides an LDO circuit, comprising: a voltage input terminal, a reference circuit, an error amplifier, a power device, a resistor feedback network, a capacitor, and a voltage output terminal;

[0006] The error amplifier includes a first operational amplifier, a second operational amplifier and a first-stage source follower;

[0007] The first operational amplifier has a non-inverting input terminal connected to the resistor feedback network, a reverse input terminal connected to the reference voltage output terminal of the reference circuit, and an output terminal connected to the non-inverting input terminal of the second operational amplifier;

[0008] The inverting input terminal of the second operational amplifier is connected to the external bias current output terminal, the output terminal of the second operational amplifier is connected to the first-stage source follower, and the first-stage source follower is also connected to the voltage input terminal of the LDO circuit and the power device respectively;

[0009] The power device is connected to the resistor feedback network, and the voltage output terminal is also connected between the power device and the resistor feedback network;

[0010] One end of the capacitor is connected between the output end of the first operational amplifier and the non-inverting input end of the second operational amplifier, and the other end of the capacitor is connected between the resistor feedback network and the voltage output end.

[0011] Optionally, the LDO circuit further includes: a first PMOS tube, a second PMOS tube, and a third PMOS tube;

[0012] The drain of the first PMOS tube is connected to the external bias current output terminal, the source is connected to the source of the second PMOS tube and the third PMOS tube, and the sources of the first PMOS tube, the second PMOS tube and the third PMOS tube are all connected to the voltage input terminal, and the gate of the first PMOS tube is connected to the gate of the second PMOS tube and the third PMOS tube respectively;

[0013] The drain of the second PMOS tube is connected to the inverting input terminal of the second operational amplifier;

[0014] The drain of the third PMOS tube is connected to the first-stage source follower.

[0015] Optionally, the LDO circuit further includes: a first NMOS tube, a second NMOS tube, a third NMOS tube, and a fourth NMOS tube;

[0016] The drain of the first NMOS tube is connected to the drain of the second PMOS tube, the source of the first NMOS tube is connected to the drain of the second NMOS tube, and the gate of the first NMOS tube is connected to the gate of the second NMOS tube and connected between the drain of the first NMOS tube and the drain of the second PMOS tube;

[0017] The source of the second NMOS tube is connected to the drain of the third NMOS tube;

[0018] The gate of the third NMOS tube is connected to the gate of the fourth NMOS tube and connected to the inverting input terminal of the second operational amplifier, and the source of the third NMOS tube is connected to the drain of the fourth NMOS tube;

[0019] The source of the fourth NMOS tube is grounded.

[0020] Optionally, the first-stage source follower includes a fourth PMOS tube;

[0021] The gate of the fourth PMOS tube is connected to the output end of the second operational amplifier, the source of the fourth PMOS tube is connected to the drain of the third PMOS tube, and the drain of the fourth PMOS tube is grounded;

[0022] The power device is connected between the drain of the third PMOS tube and the source of the fourth PMOS tube.

[0023] Optionally, the power device includes a fifth PMOS tube, a sixth PMOS tube, and a seventh PMOS tube;

[0024] The source of the fifth PMOS tube is connected between the drain of the third PMOS tube and the source of the fourth PMOS tube, the gate is used to input the inverted signal of the enable signal, and the drain is connected to the gate of the seventh PMOS tube;

[0025] The source of the seventh PMOS tube is connected to the source of the third PMOS tube and connected to the voltage input terminal, and the drain is connected to the resistor feedback network;

[0026] The source of the sixth PMOS tube is connected between the drain of the fifth PMOS tube and the gate of the seventh PMOS tube, the drain is connected between the seventh PMOS tube and the resistor feedback network, and the gate is used to input an enable signal.

[0027] Optionally, a fifth NMOS transistor and a sixth NMOS transistor are sequentially connected between the non-inverting input terminal of the first operational amplifier and the resistor feedback network;

[0028] The gate of the fifth NMOS tube is used to input a reverse signal of the enable signal, the drain is connected between the non-inverting input terminal of the first operational amplifier and the source of the sixth NMOS tube, and the source is grounded;

[0029] The gate of the sixth NMOS tube is used to input an enable signal, and the drain is connected to the resistor feedback network.

[0030] Optionally, the resistor feedback network includes a first resistor, a second resistor and a seventh NMOS transistor, and the first resistor is connected between the power device and the second resistor;

[0031] The drain of the seventh NMOS tube is connected to the second resistor, the source is grounded, and the gate is used to input an enable signal;

[0032] A drain of the sixth NMOS tube is connected between the first resistor and the second resistor.

[0033] Optionally, the LDO circuit further includes: an eighth PMOS tube;

[0034] The gate of the eighth PMOS tube is used to input the inverted signal of the enable signal, the drain is connected between the source of the seventh PMOS tube and the voltage input terminal, and the source is connected between the resistor feedback network and the voltage output terminal.

[0035] Optionally, the LDO circuit further includes: a ninth PMOS tube;

[0036] The source of the ninth PMOS tube is connected to the electrode of the eighth PMOS tube, the drain is connected between the resistor feedback network and the voltage output terminal, and the gate is used to input an enable signal.

[0037] Optionally, the LDO circuit further includes: a third resistor and an inverter;

[0038] The input end of the third resistor is connected to the voltage input end and connected between the source of the seventh PMOS tube and the voltage input end, and the output end of the third resistor is connected to the input end of the inverter;

[0039] The output end of the third resistor is used to output the enable signal, and the output end of the inverter is used to output an inverted signal of the enable signal.

[0040] In this embodiment, the LDO circuit includes: a voltage input terminal, a reference circuit, an error amplifier, a power device, a resistor feedback network, a capacitor, and a voltage output terminal; the error amplifier includes a first operational amplifier, a second operational amplifier, and a first-stage source follower; the first operational amplifier has a non-inverting input terminal connected to the resistor feedback network, a reverse input terminal connected to the reference voltage output terminal of the reference circuit, and an output terminal connected to the non-inverting input terminal of the second operational amplifier; the reverse input terminal of the second operational amplifier is connected to an external bias current output terminal, the output terminal of the second operational amplifier is connected to the first-stage source follower, and the first-stage source follower is also connected to the voltage input terminal and the power device of the LDO circuit respectively; the power device is connected to the resistor feedback network, and the voltage output terminal is also connected between the power device and the resistor feedback network; one end of the capacitor is connected between the output terminal of the first operational amplifier and the non-inverting input terminal of the second operational amplifier, and the other end is connected between the resistor feedback network and the voltage output terminal. The present application controls the circuit current through a secondary operational amplifier and a power device and improves the stability of the circuit through a capacitor. Compared with the prior art, the present application makes the output voltage of the LDO circuit more stable, reduces its influence by the power supply voltage and the load current, and reduces the linear adjustment rate and the load adjustment rate of the LDO circuit. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0042] Figure 1 A logic diagram of an LDO circuit provided in one embodiment of the present application;

[0043] Figure 2 A logic diagram of an LDO circuit provided in one embodiment of the present application;

[0044] Figure 3 A logic diagram of an LDO circuit provided in yet another embodiment of the present application;

[0045] Figure 4 A circuit diagram of a traditional LDO circuit provided in one embodiment of the present application;

[0046] Figure 5 A circuit diagram for deriving a linear regulation rate of a conventional LDO circuit provided by another embodiment of the present application;

[0047] Figure 6 It is a schematic diagram of deriving the load regulation rate of a traditional LDO circuit according to an embodiment of the present application. DETAILED DESCRIPTION

[0048] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application is clearly and completely described below. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work also belong to the scope of protection of the present application. In addition, it should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other in the absence of conflict. The present application will be described in detail below with reference to the drawings and in combination with the embodiments.

[0049] Figure 1 is an LDO circuit shown in an embodiment of the present application. Figure 1 As shown, combined with Figure 2 , the circuit includes the following: a voltage input terminal 1, a reference circuit 2, an error amplifier 3, a power device 4, a resistor feedback network 5, a capacitor 6, and a voltage output terminal 7;

[0050] The error amplifier 3 includes a first operational amplifier 8, a second operational amplifier 9 and a first-stage source follower 10;

[0051] The first operational amplifier 8 has a non-inverting input terminal connected to the resistor feedback network 5, a reverse input terminal connected to the reference voltage output terminal of the reference circuit 2, and an output terminal connected to the non-inverting input terminal of the second operational amplifier 9;

[0052] The inverting input terminal of the second operational amplifier 9 is connected to the external bias current output terminal 11, and the output terminal of the second operational amplifier 9 is connected to the first-stage source follower 10, and the first-stage source follower 10 is also connected to the voltage input terminal 1 of the LDO circuit and the power device 4 respectively;

[0053] The power device 4 is connected to the resistor feedback network 5, and a voltage output terminal 7 is also connected between the power device 4 and the resistor feedback network 5;

[0054] One end of the capacitor 6 is connected between the output end of the first operational amplifier 8 and the non-inverting input end of the second operational amplifier 9 , and the other end of the capacitor 6 is connected between the resistor feedback network 5 and the voltage output end 7 .

[0055] Among them, the first operational amplifier 8 amplifies the reference voltage signal from the reference circuit 2 received at the reverse input terminal and the voltage signal from the resistor feedback network 5 received at the non-inverting input terminal, and outputs a voltage signal which is input to the non-inverting input terminal of the second operational amplifier 9 through the output terminal of the first operational amplifier 8.

[0056] The second operational amplifier 9 outputs a voltage signal from the output end of the second operational amplifier 9 and outputs it to the input end of the first-stage source follower 10 through the output end of the second operational amplifier 9 according to the voltage signal received at the same-direction input end and the voltage signal at the voltage input end received at the reverse input end.

[0057] The first-stage source follower 10 outputs a voltage signal to the power device 4 according to the voltage signal output from the output terminal of the second operational amplifier 9 .

[0058] The power device 4 is used to adjust the current flowing into the resistor feedback network 5 by receiving the voltage signal output by the first-stage source follower 10, so as to adjust the output voltage of the voltage output terminal 7.

[0059] The resistor feedback network 5 is used to collect the output voltage of the voltage output terminal 7 , and control the input voltage of the non-inverting input terminal of the second operational amplifier 9 according to the output voltage of the voltage output terminal 7 .

[0060] Among them, since the second operational amplifier 9 is added after the output end of the first operational amplifier 8, a pole Y will be added to the output end of the second operational amplifier 9, which will affect the stability of the circuit. Therefore, the present application directly connects one end of the capacitor 6 between the output end of the first operational amplifier 8 and the same-direction input end of the second operational amplifier 9, and the other end is connected to the voltage output terminal 7, so that the main pole, that is, the pole generated at the voltage output terminal 7, moves to a lower frequency, and the secondary pole Z between the first-stage source follower 10 and the power device 4 moves to a higher frequency, thereby improving the stability of the circuit, and when the secondary pole Z moves to a higher frequency, it can also reduce the influence of high-frequency noise.

[0061] The external bias current output terminal 11 is used to output another reference voltage generated by the external bias current Ibias to the inverting output terminal of the second operational amplifier 9 .

[0062] The working process of the above LDO circuit is as follows:

[0063] When the output voltage of the voltage output terminal 7 of the LDO circuit decreases, the voltage output by the resistor feedback network 5 decreases, so that the voltage received by the non-inverting input terminal of the first operational amplifier 8 decreases, and at the same time, the reference circuit 2 inputs the reference voltage to the inverting input terminal of the first operational amplifier 8, and the first operational amplifier 8 outputs a voltage to the non-inverting input terminal of the second operational amplifier 9 according to the voltages input to the non-inverting input terminal and the inverting input terminal respectively;

[0064] The inverting input terminal of the second operational amplifier 9 receives another reference voltage signal generated by the bias current Ibias. When receiving the output voltage signal of the first operational amplifier 8, the second operational amplifier 9 outputs a voltage to the first-stage source follower 10 according to the voltage input to the same-direction input terminal and the voltage input to the reverse input terminal.

[0065] The voltage input to the first-stage source follower 10 from the output end of the second operational amplifier 9 decreases, thereby the voltage input to the power device 4 (if the power device 4 is a PMOS tube, the gate voltage of the PMOS tube) decreases, and the output current of the power device 4 increases, so that the current flowing into the resistor feedback network 5 increases, and then the output voltage of the voltage output terminal 7 increases.

[0066] When the output voltage of the voltage output terminal 7 of the LDO circuit rises, the voltage output by the resistor feedback network 5 rises, so that the positive input terminal of the first operational amplifier 8 receives the voltage increase, and at the same time, the reference circuit 2 inputs the reference voltage to the negative input terminal of the first operational amplifier 8, and the first operational amplifier 8 outputs a voltage to the positive input terminal of the second operational amplifier 9 according to the voltages input to the positive input terminal and the negative input terminal respectively;

[0067] The inverting input terminal of the second operational amplifier 9 receives another reference voltage signal generated by the bias current Ibias. When receiving the output voltage signal of the first operational amplifier 8, the second operational amplifier 9 outputs a voltage to the first-stage source follower 10 according to the voltage input to the same-direction input terminal and the voltage input to the reverse input terminal.

[0068] The voltage input to the first-stage source follower 10 from the output end of the second operational amplifier 9 increases, thereby increasing the voltage input to the power device 4. The output current of the power device 4 decreases, which reduces the current flowing into the resistor feedback network 5, and further reduces the output voltage of the voltage output terminal 7.

[0069] In this embodiment, the LDO circuit includes: a voltage input terminal 1, a reference circuit 2, an error amplifier 3, a power device 4, a resistor feedback network 5, a capacitor 6, and a voltage output terminal 7; the error amplifier 3 includes a first operational amplifier 8, a second operational amplifier 9 and a first-stage source follower 10; the first operational amplifier 8 has a non-inverting input terminal connected to the resistor feedback network 5, a reverse input terminal connected to the reference voltage output terminal of the reference circuit 2, and an output terminal connected to the non-inverting input terminal of the second operational amplifier 9; the reverse input terminal of the second operational amplifier 9 is connected to an external bias current output terminal 11, and the output terminal of the second operational amplifier 9 is connected to the first-stage source follower 10, and the first-stage source follower 10 is also connected to the voltage input terminal 1 and the power device 4 of the LDO circuit respectively; the power device 4 is connected to the resistor feedback network 5, and the voltage output terminal 7 is also connected between the power device 4 and the resistor feedback network 5; one end of the capacitor 6 is connected between the output terminal of the first operational amplifier 8 and the non-inverting input terminal of the second operational amplifier 9, and the other end is connected between the resistor feedback network 5 and the voltage output terminal 7. The present application controls the circuit current through a secondary operational amplifier and a power device 4 and improves the stability of the circuit through a capacitor 6. Compared with the prior art, the present application makes the output voltage of the LDO circuit more stable, reduces its influence by the power supply voltage and the load current, and reduces the linear adjustment rate and the load adjustment rate of the LDO circuit.

[0070] Alternatively, see Figure 2 , the LDO circuit further includes: a first PMOS tube PM1, a second PMOS tube PM2, and a third PMOS tube PM3;

[0071] The drain of the first PMOS transistor PM1 is connected to the external bias current output terminal 11, and the source is connected to the source of the second PMOS transistor PM2 and the third PMOS transistor PM3, and the sources of the first PMOS transistor PM1, the second PMOS transistor PM2, and the third PMOS transistor PM3 are all connected to the voltage input terminal Vin, and the gate of the first PMOS transistor PM1 is connected to the gate of the second PMOS transistor PM2 and the third PMOS transistor PM3 respectively;

[0072] The drain of the second PMOS transistor PM2 is connected to the inverting input terminal of the second operational amplifier AMP2;

[0073] The drain of the third PMOS transistor PM3 is connected to the first-stage source follower 10 .

[0074] Among them, the first PMOS transistor PM1 is turned on, the second PMOS transistor PM2 is turned on, and the third PMOS transistor PM3 is turned on.

[0075] When the second PMOS transistor PM2 is turned on, another reference voltage generated by the bias current Ibias outputted from the external bias current output terminal 11 is inputted to the inverting input terminal of the second operational amplifier AMP2 via the second PMOS transistor.

[0076] When the third PMOS transistor PM3 is turned on, the voltage at the voltage input terminal Vin is input to the power device 4 and the first-stage source follower 10 .

[0077] The external bias current output terminal 11 is used to input a bias current Ibias to the drain of the first PMOS transistor PM1 . The function of the input bias current Ibias can be found in the related description in the prior art and will not be described again here.

[0078] Alternatively, see Figure 2 , the LDO circuit further includes: a first NMOS tube NM1, a second NMOS tube NM2, a third NMOS tube NM3, and a fourth NMOS tube NM4;

[0079] The drain of the first NMOS transistor NM1 is connected to the drain of the second PMOS transistor PM2, the source of the first NMOS transistor NM1 is connected to the drain of the second NMOS transistor NM2, the gate of the first NMOS is connected to the gate of the second NMOS transistor NM2 and connected between the drain of the first NMOS transistor NM1 and the drain of the second PMOS transistor PM2;

[0080] The source of the second NMOS transistor NM2 is connected to the drain of the third NMOS transistor NM3;

[0081] The gate of the third NMOS transistor NM3 is connected to the gate of the fourth NMOS transistor NM4 and connected to the inverting input terminal of the second operational amplifier APM2, and the source of the third NMOS transistor NM3 is connected to the drain of the fourth NMOS transistor NM4;

[0082] The source of the fourth NMOS transistor NM4 is grounded.

[0083] Among them, another reference voltage generated by the bias current Ibias output by the external bias current output terminal 11 is input to the inverting input terminal of the second operational amplifier APM2 via the second PMOS transistor PM2, the first NMOS transistor NM1, the second NMOS transistor NM2, the third NMOS transistor NM3, and the fourth NMOS transistor NM4.

[0084] Alternatively, see Figure 2 , the first-stage source follower 10 includes a fourth PMOS tube PM4;

[0085] The gate of the fourth PMOS transistor PM4 is connected to the output end of the second operational amplifier AMP2, the source of the fourth PMOS transistor PM4 is connected to the drain of the third PMOS transistor PM3, and the drain of the fourth PMOS transistor PM4 is grounded;

[0086] The power device 4 is connected between the drain of the third PMOS transistor PM3 and the source of the fourth PMOS transistor PM4 .

[0087] Among them, the first-stage follower in this application is implemented using a PMOS tube.

[0088] Alternatively, see Figure 2 , the power device 4 includes a fifth PMOS transistor PM5, a sixth PMOS transistor PM6, and a seventh PMOS transistor PM7;

[0089] The source of the fifth PMOS transistor PM5 is connected between the drain of the third PMOS transistor PM3 and the source of the fourth PMOS transistor PM4 , the gate is used to input the inverted signal ENB of the enable signal, and the drain is connected to the gate of the seventh PMOS transistor PM7 ;

[0090] The source of the seventh PMOS transistor PM7 is connected to the source of the third PMOS transistor PM3 and to the voltage input terminal Vin, the drain is connected to the resistor feedback network 5, and is also connected to the lower plate of the capacitor C1, and the upper plate of the capacitor C1 is connected between the first operational amplifier AMP1 and the second operational amplifier AMP2;

[0091] The source of the sixth PMOS transistor PM6 is connected between the drain of the fifth PMOS transistor PM5 and the gate of the seventh PMOS transistor PM7 , the drain is connected between the seventh PMOS transistor PM7 and the resistor feedback network 5 , and the gate is used to input the enable signal EN.

[0092] Wherein, the enable signal EN is a high level signal, and accordingly, the reverse signal ENB of the enable signal is a low level signal. At this time, when the sixth PMOS tube PM6 is turned off, the fifth PMOS tube PM5 is turned on, so that the seventh PMOS tube PM7 is turned on, wherein the on and off states of the sixth PMOS tube PM6 and the fifth PMOS tube PM5 are opposite. The enable signal EN is a low level signal, and accordingly, the reverse signal ENB of the enable signal is a high level signal. At this time, when the sixth PMOS tube PM6 is turned on, the fifth PMOS tube is turned off, and the seventh PMOS tube PM7 is turned off.

[0093] Alternatively, see Figure 3 , a fifth NMOS transistor NM5 and a sixth NMOS transistor NM6 are sequentially connected between the non-inverting input terminal of the first operational amplifier AMP1 and the resistor feedback network 5;

[0094] The gate of the fifth NMOS transistor NM5 is used to input the reverse signal ENB of the enable signal, the drain is connected between the non-inverting input terminal of the first operational amplifier AMP1 and the source of the sixth NMOS transistor NM6, and the source is grounded;

[0095] The gate of the sixth NMOS transistor NM6 is used to input the enable signal EN, and the drain is connected to the resistor feedback network 5 .

[0096] The voltage of the resistor feedback network 5 is sent to the non-inverting input terminal of the first operational amplifier AMP1 via the sixth NMOS transistor NM6.

[0097] Furthermore, since the signal received by the fifth NMOS transistor NM5 is opposite to the signal received by the gate of the sixth NMOS transistor NM6, the on and off states of the fifth NMOS transistor NM5 and the sixth NMOS transistor NM6 are opposite.

[0098] Alternatively, see Figure 1 , Figure 2 and Figure 3 , the resistor feedback network 5 includes a first resistor R1, a second resistor R2 and a seventh NMOS transistor NM7, the first resistor R1 is connected between the power device 4 and the second resistor R2;

[0099] The drain of the seventh NMOS transistor NM7 is connected to the second resistor R2, the source is grounded, and the gate is used to input an enable signal;

[0100] A drain of the sixth NMOS transistor NM6 is connected between the first resistor R1 and the second resistor R2 .

[0101] Among them, when the enable signal EN is at a high level and the inverted signal ENB of the enable signal is at a low level, the fifth NMOS tube NM5 is turned off, the sixth NMOS tube NM6 and the seventh NMOS tube NM7 are turned on, and the resistor feedback network 5 feeds back the output voltage of the voltage output terminal 7 through the first resistor R1 and the second resistor R2, and the voltage of the voltage output terminal 7 is fed back to the first operational amplifier AMP1 through the sixth NMOS tube NM6 through the voltage change between the first resistor R1 and the second resistor R2.

[0102] Among them, when the output voltage of the voltage output terminal 7 decreases, a voltage feedback signal is provided through the first resistor R1 and the second resistor R2, the non-inverting input terminal of the first operational amplifier AMP1 receives the voltage feedback signal, the first operational amplifier AMP1 inputs a voltage signal to the non-inverting input terminal of the second operational amplifier AMP2, the output voltage of the second operational amplifier AMP2 decreases, the output voltage of the fourth PMOS tube PM4 decreases, so that the gate voltage of the seventh PMOS tube decreases, the drain current of the seventh PMOS tube PM7 increases, the current of the first resistor R1 connected to the seventh PMOS tube PM7, and the second resistor R2 connected to the first resistor R1 increase, and the voltage of the voltage output terminal 7 connected between the first resistor R1 and the seventh PMOS tube PM7 increases.

[0103] When the output voltage of the voltage output terminal 7 rises, a voltage feedback signal is provided through the first resistor R1 and the second resistor R2, the non-inverting input terminal of the first operational amplifier AMP1 receives the voltage feedback signal, the first operational amplifier AMP1 inputs a voltage signal to the non-inverting input terminal of the second operational amplifier AMP2, the output voltage of the second operational amplifier AMP2 rises, the output voltage of the fourth PMOS transistor PM4 rises, so that the gate voltage of the seventh PMOS transistor rises, the drain current of the seventh PMOS transistor PM7 decreases, the current of the first resistor R1 connected to the seventh PMOS transistor PM7 and the second resistor R2 connected to the first resistor R1 decrease, and the output voltage of the voltage output terminal 7 connected between the first resistor R1 and the seventh PMOS transistor PM7 decreases.

[0104] Alternatively, see Figure 3 , the LDO circuit also includes an eighth PMOS tube PM8;

[0105] The gate of the eighth PMOS transistor PM8 is used to input the inverted signal of the enable signal, the drain is connected between the source of the seventh PMOS transistor PM7 and the voltage input terminal Vin, and the source is connected between the resistor feedback network 5 and the voltage output terminal 7 .

[0106] If the enable signal EN is at a high level and the inverted signal ENB of the enable signal is at a low level, the eighth PMOS tube PM8, the sixth NMOS tube, and the seventh NMOS tube are turned on, the sixth PMOS tube and the fifth NMOS tube are turned off, and the LDO circuit works normally; when there is no need to use the LDO circuit of the present application to provide a reference voltage to the outside, the voltage input terminal Vin is grounded. At this time, the enable signal EN is at a low level, and the inverted signal ENB of the enable signal is at a high level, so that the eighth PMOS tube, the sixth NMOS tube, and the seventh NMOS tube are turned off, the sixth PMOS tube and the fifth NMOS tube are turned on, and the LDO circuit stops working.

[0107] Alternatively, see Figure 3 , the LDO circuit also includes a ninth PMOS tube PM9;

[0108] The source of the ninth PMOS transistor PM9 is connected to the source of the eighth PMOS transistor PM8 , the drain is connected between the resistor feedback network 5 and the voltage output terminal 7 , and the gate is used to input the enable signal EN.

[0109] The gates of the ninth PMOS tube PM9 and the eighth PMOS tube PM8 are opposite enable signals. If the two tubes are in the same state, the voltage output terminal 7 of the LDO circuit will be pulled to a level close to the voltage input terminal Vin, and the LDO circuit will not work normally. The ninth PMOS tube PM9 and the eighth PMOS tube PM8 can ensure that whether it is internally powered or externally powered, that is, whether the LDO circuit is working or not, the voltage output terminal 7 will not be pulled to the level of the voltage input terminal Vin.

[0110] Alternatively, see Figure 3 , the LDO circuit further includes: a third resistor R3 and an inverter INV;

[0111] An input end of the third resistor R3 is connected to the voltage input end Vin and is connected between the source of the seventh PMOS transistor PM7 and the voltage input end Vin, and an output end of the third resistor R3 is connected to the input end of the inverter INV;

[0112] The output end of the third resistor R3 is used to output an enable signal EN, and the output end of the inverter INV is used to output an inverted signal ENB of the enable signal.

[0113] The output end of the third resistor R3 is used to control the voltage of the input end of the input inverter INV.

[0114] Among them, the gates of the sixth NMOS tube NM6, the seventh NMOS tube NM7, the ninth PMOS tube PM9, and the sixth PMOS tube PM6 are connected to the output end of the third resistor R3 to receive the enable signal EN, and the gates of the eighth PMOS tube PM8, the fifth PMOS tube PM5, and the fifth NMOS tube NM5 are connected to the output end of the inverter INV to receive the inverted signal ENB of the enable signal.

[0115] Reference Figure 5 , Figure 5 This is a schematic diagram of the derivation of the linear regulation rate of the traditional LDO circuit. The linear regulation rate reflects the impact of the input voltage on the output voltage change when the load is fixed, that is,

[0116]

[0117] Where V IN(MAX) is the maximum input voltage, is the minimum input voltage, is the output voltage when the input voltage is maximum, is the output voltage when the input voltage is minimum, V OUT(NOM) is the typical value of output voltage, and load_regulation is the linear regulation rate.

[0118] The linear regulation rate can be approximately regarded as the ratio of the output voltage difference to the input voltage difference, which is equivalent to the differential gain of the circuit.

[0119]

[0120] Among them, A V is the differential gain of the circuit, ΔV O is the output voltage difference, ΔV in is the input voltage difference.

[0121] The main influences come from changes in input voltage, changes in the voltage at the output of the secondary op amp, changes in the current of the power device, and changes in the loop gain, which lead to changes in the output voltage. Figure 5 Circuit

[0122]

[0123] Where A is the low-frequency gain of the error amplifier, B is the coefficient of the error amplifier output voltage changing with the LDO input voltage, gm is the transconductance of the power device, and r O is the equivalent on-resistance of the power device, R1 and R2 are Figure 5 The resistance value of the resistor in the equation is calculated to be

[0124]

[0125] From the above formula, we can see that the most effective way to improve the linear regulation rate is to increase the low-frequency gain of the error amplifier.

[0126] Reference Figure 6 , Figure 6 This is a schematic diagram of the derivation of the load regulation rate of the traditional LDO circuit. The load regulation rate reflects the impact of the load on the output voltage change when the input voltage is fixed, that is,

[0127]

[0128] Among them, load_regulation is the load regulation rate.

[0129] The load regulation rate can be approximately equivalent to the ratio of the output voltage difference to the load current difference, that is, it is approximately equivalent to a differential resistance.

[0130]

[0131] Among them, ΔR is the resistance of the differential resistor, ΔV is the difference in output voltage, and ΔI is the difference in load current.

[0132] The load regulation rate is generally related to the load current and the characteristics of the LDO itself. Figure 6 The circuit is available,

[0133]

[0134] Where A is the low-frequency gain of the error amplifier, gm is the transconductance of the power device, and r O is the equivalent on-resistance of the power device, R1 and R2 are Figure 6 The resistance value of the resistor in can be calculated to be

[0135]

[0136] From the above formula, we can see that the most effective way to improve the load regulation rate of the LDO circuit is to increase the low-frequency gain of the error amplifier.

[0137] Before adding the second operational amplifier AMP2 in the present application, the main pole of the system loop is generated by the on-resistance of the seventh PMOS tube PM7 and the off-chip load capacitance, and the secondary pole is generated by the on-impedance of the third PMOS tube PM3 and the equivalent capacitance of the point to ground. At this time, the loop is stable; after adding the second operational amplifier AMP2, the positions of the main and secondary poles remain unchanged, and the low-frequency gain is improved, resulting in a significant increase in the unit gain bandwidth, thereby reducing the phase margin. Therefore, it is necessary to perform frequency compensation on the circuit after adding the second operational amplifier AMP2.

[0138] The frequency compensation scheme in this application selects Miller capacitor for compensation. One end of the Miller capacitor is connected to the voltage output end of the LDO circuit, and the other end is connected to the output end of the first operational amplifier AMP1. Although according to the Miller theorem, the capacitance value of the output end to ground after frequency compensation is C L becomes

[0139]

[0140] Among them, C L is the capacitance value before compensation, C out is the capacitance value of the capacitor after compensation, C1 is the capacitance value of the Miller capacitor, and A is the voltage ratio across the Miller capacitor. Due to the existence of the Miller capacitor, when performing small signal analysis on the LDO circuit, the equivalent impedance from the output end to the ground is significantly reduced. Therefore, the output pole actually moves to the high frequency after frequency compensation. Therefore, the scheme for selecting frequency compensation tends to use the output pole as the secondary pole, and the compensation point is selected from the three points X, Y, and Z. According to Miller's theorem, the equivalent capacitance from the compensation point to the ground at the error amplifier is approximately C1(1+A), where A is the voltage ratio across the Miller capacitor. Because the pole generated here needs to be the main pole after frequency compensation, it needs to be located at a low frequency, so the equivalent capacitance needs to be as large as possible, so the voltage gain A across the Miller capacitor needs to be as large as possible, then point X is selected as the compensation point at the error amplifier.

[0141] In summary, the LDO circuit proposed in this application reduces the linear regulation rate and load regulation rate by adding a first-stage operational amplifier, that is, using a second-stage operational amplifier as the error amplifier part of the LDO, and frequency compensation is performed on the loop after adding a first-stage operational amplifier through a Miller capacitor. At the same time, a switch tube is added to the circuit, and the input power supply voltage is used to control the on and off of the switch tube, thereby switching between the internal power supply mode and the external power supply mode.

[0142] Finally, it should be noted that all contents not described in the technical solution of this application can be implemented using existing technologies. In addition, the above embodiments are only used to illustrate the technical solution of this application, rather than to limit it; although the application is described in detail with reference to the above embodiments, ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the above embodiments, or replace some or all of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of this application.

Claims

1. An LDO circuit, characterized in that: include: Voltage input terminal, reference circuit, error amplifier, power device, resistor feedback network, capacitor, voltage output terminal; The error amplifier includes a first operational amplifier, a second operational amplifier and a first-stage source follower; The first operational amplifier has a non-inverting input terminal connected to the resistor feedback network, a reverse input terminal connected to the reference voltage output terminal of the reference circuit, and an output terminal connected to the non-inverting input terminal of the second operational amplifier; The inverting input terminal of the second operational amplifier is connected to the external bias current output terminal, the output terminal of the second operational amplifier is connected to the first-stage source follower, and the first-stage source follower is also connected to the voltage input terminal of the LDO circuit and the power device respectively; The power device is connected to the resistor feedback network, and the voltage output terminal is also connected between the power device and the resistor feedback network; One end of the capacitor is connected between the output end of the first operational amplifier and the non-inverting input end of the second operational amplifier, and the other end of the capacitor is connected between the resistor feedback network and the voltage output end.

2. The LDO circuit according to claim 1, characterized in that: Also includes: A first PMOS tube, a second PMOS tube, and a third PMOS tube; The drain of the first PMOS tube is connected to the external bias current output terminal, the source is connected to the source of the second PMOS tube and the third PMOS tube, and the sources of the first PMOS tube, the second PMOS tube and the third PMOS tube are all connected to the voltage input terminal, and the gate of the first PMOS tube is connected to the gate of the second PMOS tube and the third PMOS tube respectively; The drain of the second PMOS tube is connected to the inverting input terminal of the second operational amplifier; The drain of the third PMOS tube is connected to the first-stage source follower.

3. The LDO circuit according to claim 2, characterized in that: Also includes: A first NMOS tube, a second NMOS tube, a third NMOS tube, and a fourth NMOS tube; The drain of the first NMOS tube is connected to the drain of the second PMOS tube, the source of the first NMOS tube is connected to the drain of the second NMOS tube, and the gate of the first NMOS tube is connected to the gate of the second NMOS tube and connected between the drain of the first NMOS tube and the drain of the second PMOS tube; The source of the second NMOS tube is connected to the drain of the third NMOS tube; The gate of the third NMOS tube is connected to the gate of the fourth NMOS tube and connected to the inverting input terminal of the second operational amplifier, and the source of the third NMOS tube is connected to the drain of the fourth NMOS tube; The source of the fourth NMOS tube is grounded.

4. The LDO circuit according to claim 2 or 3, characterized in that: The first-stage source follower includes a fourth PMOS tube; The gate of the fourth PMOS tube is connected to the output end of the second operational amplifier, the source of the fourth PMOS tube is connected to the drain of the third PMOS tube, and the drain of the fourth PMOS tube is grounded; The power device is connected between the drain of the third PMOS tube and the source of the fourth PMOS tube.

5. The LDO circuit according to claim 4, characterized in that: The power device includes a fifth PMOS tube, a sixth PMOS tube, and a seventh PMOS tube; The source of the fifth PMOS tube is connected between the drain of the third PMOS tube and the source of the fourth PMOS tube, the gate is used to input the inverted signal of the enable signal, and the drain is connected to the gate of the seventh PMOS tube; The source of the seventh PMOS tube is connected to the source of the third PMOS tube and connected to the voltage input terminal, and the drain is connected to the resistor feedback network; The source of the sixth PMOS tube is connected between the drain of the fifth PMOS tube and the gate of the seventh PMOS tube, the drain is connected between the seventh PMOS tube and the resistor feedback network, and the gate is used to input an enable signal.

6. The LDO circuit according to any one of claims 1 to 3, characterized in that: A fifth NMOS transistor and a sixth NMOS transistor are sequentially connected between the non-inverting input terminal of the first operational amplifier and the resistor feedback network; The gate of the fifth NMOS tube is used to input a reverse signal of the enable signal, the drain is connected between the non-inverting input terminal of the first operational amplifier and the source of the sixth NMOS tube, and the source is grounded; The gate of the sixth NMOS tube is used to input an enable signal, and the drain is connected to the resistor feedback network.

7. The LDO circuit according to claim 6, characterized in that: The resistor feedback network includes a first resistor, a second resistor and a seventh NMOS tube, and the first resistor is connected between the power device and the second resistor; The drain of the seventh NMOS tube is connected to the second resistor, the source is grounded, and the gate is used to input an enable signal; A drain of the sixth NMOS tube is connected between the first resistor and the second resistor.

8. The LDO circuit according to claim 5, characterized in that: Also includes an eighth PMOS tube; The gate of the eighth PMOS tube is used to input the inverted signal of the enable signal, the drain is connected between the source of the seventh PMOS tube and the voltage input terminal, and the source is connected between the resistor feedback network and the voltage output terminal.

9. The LDO circuit according to claim 8, characterized in that: Also includes a ninth PMOS tube; The source of the ninth PMOS tube is connected to the electrode of the eighth PMOS tube, the drain is connected between the resistor feedback network and the voltage output terminal, and the gate is used to input an enable signal.

10. The LDO circuit according to any one of claims 5 to 9, characterized in that: Also includes: a third resistor and an inverter; The input end of the third resistor is connected to the voltage input end and connected between the source of the seventh PMOS tube and the voltage input end, and the output end of the third resistor is connected to the input end of the inverter; The output end of the third resistor is used to output the enable signal, and the output end of the inverter is used to output an inverted signal of the enable signal.