A voltage follower with process error compensation and method
By introducing compensation current and compensation resistance into the voltage follower to detect and compensate for process angle changes, the problem of voltage following accuracy under the influence of MOS tube threshold voltage is solved, and stable and consistent output under different process conditions is achieved.
Patent Information
- Application Number
- CN202410704116.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-03
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-06-03
AI Technical Summary
In analog circuits, the threshold voltage of the voltage follower of the MOS tube is greatly affected by the process, resulting in the output voltage not accurately following the input voltage, which affects the accuracy and consistency of the output voltage, especially the poor stability under different process conditions.
Design a voltage follower with built-in process error compensation. It detects process angle changes through the compensation generation circuit and outputs equal and opposite compensation currents. It flows through the compensation resistor in the main circuit of the voltage follower to generate a compensation voltage, so that the output The voltage remains equal to the input voltage, ensuring stability under different process conditions.
It greatly improves the consistency of the voltage follower output, ensures the stability of the circuit under different processes, reduces the impact of process angle changes on the output voltage, and achieves accurate tracking from input voltage to output voltage.
Smart Images

Figure CN118276633B
Abstract
Description
Technical Field
[0001] The invention relates to a voltage follower with process error compensation and a method thereof, belonging to the technical field of signal conditioning circuits. Background Art
[0002] In analog circuits, a voltage follower (also called a buffer amplifier, unity gain amplifier, or isolation amplifier) is an operational amplifier circuit whose output voltage is equal to the input voltage (it "follows" the input voltage). Therefore, the voltage follower operational amplifier does not amplify the input signal, and the voltage gain is 1. Its main function is to isolate the input signal and the output signal, play the role of impedance conversion, and improve the circuit's load capacity.
[0003] The simplest voltage follower is a negative feedback operational amplifier. The feedback of the output voltage is directly connected to the inverting input terminal, and the non-inverting input terminal is connected to the input voltage, so that the output voltage is equal to the input voltage. Another common voltage follower is a cascade of a P-type source follower and an N-type source follower. The P-type source follower raises the input voltage, and the N-type source follower lowers the raised voltage to achieve input-to-output following. However, since the threshold voltage of the MOS tube is greatly affected by the process, the voltage raising or lowering amplitude of the P-type source follower or N-type source follower will also change, which makes the output voltage unable to accurately follow the input voltage, affecting the accuracy of the output voltage. Summary of the invention
[0004] The technical problem to be solved by the present invention is: to provide a voltage follower and method with built-in process error compensation, by making the compensation current related to the process angle flow through the compensation resistor between the P-type source follower and the N-type source follower of the voltage follower, the voltage drop across the compensation resistor is related to the change of the process angle, and finally the output voltage is equal to the input voltage, thereby realizing the process angle compensation function, greatly improving the consistency of the voltage follower output, and ensuring the stability of the circuit under different processes.
[0005] The present invention adopts the following technical solutions to solve the above technical problems:
[0006] A voltage follower with process error compensation, the voltage follower comprising: a voltage follower main circuit, a compensation generating circuit and a reference current source; the compensation generating circuit is used to detect process angle changes and output two compensation currents Ip and In of equal magnitude and opposite directions corresponding to the process angle changes; the compensation current flows through a compensation resistor in the voltage follower main circuit to generate a compensation voltage, and the compensation voltage makes the output voltage of the voltage follower main circuit equal to the input voltage; the reference current source is used to generate a P-type first bias voltage, a P-type second bias voltage, an N-type first bias voltage and an N-type second bias voltage, and transmit the N-type first bias voltage and the N-type second bias voltage to the compensation generating circuit to provide an N-type current bias for the compensation generating circuit, and transmit the P-type first bias voltage, the P-type second bias voltage, the N-type first bias voltage and the N-type second bias voltage to the voltage follower main circuit to provide a P-type current bias and an N-type current bias for the voltage follower main circuit.
[0007] As a preferred solution of the present invention, the compensation generating circuit includes: PMOS tubes MP3-MP17, NMOS tubes MN3-MN21 and resistors R1-R4; wherein the source of the PMOS tube MP3, the source of the PMOS tube MP4, the source of the PMOS tube MP5, the source of the PMOS tube MP6, the source of the PMOS tube MP7, the source of the PMOS tube MP9, one end of the resistor R3, the source of the PMOS tube MP11, the source of the PMOS tube MP12, the source of the PMOS tube MP13, the source of the PMOS tube MP14 and the source of the PMOS tube MP16 are connected to the power supply together; the source of the NMOS tube MN3, the source of the NMOS tube MN7, one end of the resistor R1, the source of the NMOS tube MN10, the source of the NMOS tube MN12, one end of the resistor R4, the source of the NMOS tube MN16, one end of the resistor R2, the source of the NMOS tube MN19 and the source of the NMOS tube MN21 are grounded together; The gate of the PMOS tube MP3 is connected to the drain of the PMOS tube MP3, the drain of the NMOS tube MN3, the gate of the NMOS tube MN3 and the gate of the NMOS tube MN4; the gate of the PMOS tube MP4 is connected to the gate of the PMOS tube MP5, the drain of the PMOS tube MP4 and the drain of the NMOS tube MN4; the drain of the PMOS tube MP5 is connected to the drain of the NMOS tube MN5 and the gate of the NMOS tube MN8;The gate of the NMOS tube MN5 is connected to the source of the NMOS tube MN8 and the other end of the resistor R1, the source of the NMOS tube MN4 is connected to the source of the NMOS tube MN5 and the drain of the NMOS tube MN6, the source of the NMOS tube MN6 is connected to the drain of the NMOS tube MN7, the gate of the PMOS tube MP6 is connected to the gate of the PMOS tube MP7, the gate of the PMOS tube MP9, the drain of the PMOS tube MP6 and the drain of the NMOS tube MN8, the drain of the PMOS tube MP7 and the source of the PMOS tube MP8 are connected together, the drain of the PMOS tube MP9 and the source of the PMOS tube MP10 are connected together, and the PMOS tube MP The gate of P8 is connected to the gate of PMOS tube MP10, the drain of PMOS tube MP8, the gate of NMOS tube MN9, the gate of NMOS tube MN11 and the drain of NMOS tube MN9; the source of NMOS tube MN9 is connected to the drain of NMOS tube MN10, the gate of NMOS tube MN10 and the gate of NMOS tube MN12; the source of NMOS tube MN11 and the drain of NMOS tube MN12 are connected; the other end of resistor R3 is connected to the other end of resistor R4 and the gate of NMOS tube MN13; the gate of PMOS tube MP11 is connected to the gate of PMOS tube MP12, the drain of PMOS tube MP11 and NMOS tube MN13; The drain of the S transistor MN13 is connected together, the drain of the PMOS transistor MP12 is connected together with the drain of the NMOS transistor MN14 and the gate of the NMOS transistor MN17, the gate of the NMOS transistor MN14 is connected together with the source of the NMOS transistor MN17 and the other end of the resistor R2, the source of the NMOS transistor MN13 is connected together with the source of the NMOS transistor MN14 and the drain of the NMOS transistor MN15, the source of the NMOS transistor MN15 and the drain of the NMOS transistor MN16 are connected together, the gate of the PMOS transistor MP13 is connected together with the gate of the PMOS transistor MP14, the gate of the PMOS transistor MP16, the drain of the PMOS transistor MP13 and the drain of the NMOS transistor MN17. The gates of the PMOS tube MP14 and the source of the PMOS tube MP15 are connected together, the drain of the PMOS tube MP16 and the source of the PMOS tube MP17 are connected together, the gate of the PMOS tube MP15 and the gate of the PMOS tube MP17, the drain of the PMOS tube MP15, the gate of the NMOS tube MN18, the gate of the NMOS tube MN20 and the drain of the NMOS tube MN18 are connected together, the source of the NMOS tube MN18 and the drain of the NMOS tube MN19, the gate of the NMOS tube MN19 and the gate of the NMOS tube MN21 are connected together, and the source of the NMOS tube MN20 and the drain of the NMOS tube MN21 are connected together;The gate of the NMOS tube MN7 and the gate of the NMOS tube MN16 are connected to the N-type first bias voltage, and the gate of the NMOS tube MN6 and the gate of the NMOS tube MN15 are connected to the N-type second bias voltage; the drain of the NMOS tube MN11 and the drain of the PMOS tube MP17 generate a compensation current In, and the drain of the PMOS tube MP10 and the drain of the NMOS tube MN20 generate a compensation current Ip.;
[0008] As a preferred solution of the present invention, the voltage follower main circuit includes: PMOS tubes MP0-MP2, NMOS tubes MN0-MN2 and resistor R0; wherein the source of the PMOS tube MP0 and the drain of the NMOS tube MN0 are connected to the power supply, and the drain of the PMOS tube MP2 and the source of the NMOS tube MN2 are grounded; the drain of the PMOS tube MP0 and the source of the PMOS tube MP1 are connected together, and the drain of the PMOS tube MP1 is connected together with the source of the PMOS tube MP2, one end of the resistor R0 and the compensation current In; the drain of the NMOS tube MN2 and the source of the NMOS tube MN1 are connected together, and the gate of the NMOS tube MN0 is connected together with the other end of the resistor R0 and the compensation current Ip; the gate of the NMOS tube MN1 is connected to the N-type second bias voltage, and the gate of the NMOS tube MN2 is connected to the N-type first bias voltage; the gate of the PMOS tube MP1 is connected to the P-type second bias voltage, The gate of the PMOS tube MP0 is connected to the P-type first bias voltage; the gate of the PMOS tube MP2 is connected to the input voltage Vin, and the source of the NMOS tube MN0 and the drain of the NMOS tube MN1 are used for the output voltage Vout.
[0009] As a preferred solution of the present invention, the reference current source includes: PMOS tubes MP18-MP27, NMOS tubes MN22-MN29 and resistor R5; wherein the source of the PMOS tube MP18, the source of the PMOS tube MP20, the source of the PMOS tube MP22, the source of the PMOS tube MP24 and the source of the PMOS tube MP26 are connected to the power supply together, and the source of the NMOS tube MN23, the source of the NMOS tube MN25, the source of the NMOS tube MN26, the lower end of the resistor R5 and the source of the NMOS tube MN29 are grounded together; the gate of the PMOS tube MP18 and the drain of the PMOS tube MP18 and the PMOS The sources of the S transistor MP19 are connected together to generate a P-type first bias voltage; the gate of the PMOS transistor MP19 is connected together with the drain of the PMOS transistor MP19 and the drain of the NMOS transistor MN22 to generate a P-type second bias voltage; the source of the NMOS transistor MN22 and the drain of the NMOS transistor MN23 are connected together, the gate of the NMOS transistor MN22 is connected together with the gate of the NMOS transistor MN24, the drain of the NMOS transistor MN24 and the drain of the PMOS transistor MP21, and the gate of the NMOS transistor MN23 is connected together with the gate of the NMOS transistor MN25, the drain of the NMOS transistor MN25 and the source of the NMOS transistor MN24; The drain of the PMOS tube MP20 is connected to the source of the PMOS tube MP21, the gate of the PMOS tube MP20 is connected to the gate of the PMOS tube MP22, the gate of the PMOS tube MP24, the drain of the PMOS tube MP24, the gate of the PMOS tube MP26, and the source of the PMOS tube MP25, the gate of the PMOS tube MP21 is connected to the gate of the PMOS tube MP23, the gate of the PMOS tube MP25, the drain of the PMOS tube MP25, the gate of the PMOS tube MP27, and the drain of the NMOS tube MN27, the drain of the PMOS tube MP22 and the source of the PMOS tube MP23 are connected together. The drain of the PMOS tube MP23 is connected to the drain of the NMOS tube MN26, the gate of the NMOS tube MN26 and the gate of the NMOS tube MN27, the source of the NMOS tube MN27 and one end of the resistor R5 are connected together, the drain of the PMOS tube MP26 and the source of the PMOS tube MP27 are connected together; the drain of the PMOS tube MP27 is connected to the gate of the NMOS tube MN28 and the drain of the NMOS tube MN28 to generate an N-type second bias voltage, the source of the NMOS tube MN28 is connected to the gate of the NMOS tube MN29 and the drain of the NMOS tube MN29 to generate an N-type first bias voltage.
[0010] A voltage following method based on the voltage follower with process error compensation, the voltage following method is specifically as follows:
[0011] The compensation generating circuit is used to detect the process angle change, and outputs two compensation currents Ip and In of equal magnitude and opposite directions corresponding to the process angle change. The compensation current Ip is generated by the PMOS transistor MP10 and the NMOS transistor MN20, and the compensation current In is generated by the PMOS transistor MP17 and the NMOS transistor MN11. The magnitudes of the compensation currents Ip and In are:
[0012] ,
[0013] In the formula, are the currents flowing through resistors R1 and R2 respectively, is the gate voltage of NMOS tube MN4, is the gate voltage of NMOS tube MN13;
[0014] In the voltage follower main circuit, a compensation resistor R0 is introduced, and the compensation current Ip flows into one end of R0, and the compensation current In flows into the other end of R0. Since Ip is equal to In, the current values of other MOS tubes in the circuit will not change, and the original working state of the circuit remains unchanged. The compensation resistor R0 is equal to the resistor R1 and the resistor R2, and the resistor R3 is equal to the resistor R4, so as to achieve the following of the input voltage to the output voltage. The output voltage is not affected by the change of the process angle, that is, the voltage change from Vin to Vout satisfies:
[0015] ,
[0016] In the formula, is the voltage difference between the source and gate of the PMOS tube MP2, is the voltage difference between the gate and source of NMOS tube MN0, To compensate for the voltage drop across resistor R0, and are the threshold voltages of all PMOS tubes and all NMOS tubes respectively, and is a negative value, Is a positive value.
[0017] Compared with the prior art, the present invention adopts the above technical solution and has the following technical effects:
[0018] The voltage follower with built-in process error compensation proposed in the present invention consists of three parts: a voltage follower main circuit, a compensation generating circuit and a reference current source. The reference current source provides bias for the normal operation of the circuit. The compensation generating circuit is used to detect process angle changes and output two compensation currents of equal magnitude and opposite directions corresponding to the process angle changes. The compensation current flows through the compensation resistor in the voltage follower main circuit to generate a compensation voltage. The compensation voltage makes the output voltage of the voltage follower main circuit strictly equal to the input voltage, which greatly improves the consistency of the voltage follower circuit output and ensures the stability of the circuit under different processes. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 It is a circuit diagram of a voltage follower with process error compensation proposed by the present invention;
[0020] Figure 2 is the circuit diagram of the proposed voltage follower main circuit;
[0021] FIG3( a ) is a portion of a circuit diagram of a compensation generating circuit proposed by the present invention;
[0022] FIG3( b ) is another part of the circuit diagram of the compensation generating circuit proposed by the present invention;
[0023] Figure 4 is a circuit diagram of a reference current source proposed by the present invention;
[0024] FIG5( a ) is a diagram showing the simulation effects of not using the compensation current proposed by the present invention at different process angles;
[0025] FIG5(b) is a diagram showing the output voltages corresponding to various process corners when the input signal is 1.3V in the case of FIG5(a);
[0026] FIG5(c) is a diagram showing the simulation effect of using the compensation current proposed by the present invention at different process angles;
[0027] FIG5(d) is a graph showing the output voltages at various process corners when the input signal is 1.3V in the case of FIG5(c). DETAILED DESCRIPTION
[0028] The embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be interpreted as limiting the present invention.
[0029] like Figure 1As shown, it is a circuit diagram of a voltage follower with process error compensation proposed by the present invention, including: a voltage follower main circuit, a compensation generating circuit and a reference current source. The compensation generating circuit generates a compensation current connected to the compensation resistor inside the voltage follower main circuit, and the reference current source provides voltage and current bias for the above circuit. When the process angle changes, the compensation generating circuit detects this change and outputs a compensation current corresponding to the process angle change, so that the voltage drop on both sides of the compensation resistor of the voltage follower main circuit changes, and finally the difference between the output voltage and the input voltage is zero, realizing the following function from the input voltage to the output voltage.
[0030] The compensation generation circuit generates a compensation current related to the process angle, and this compensation current flows through the compensation resistor of the voltage follower main circuit to generate a compensation voltage. When the process angle changes, the compensation voltage changes with the process angle, and the final output voltage has nothing to do with the process angle, but only with the input voltage, realizing the compensation function of the process angle, greatly improving the consistency of the voltage follower output, and ensuring the stability of the circuit under different processes.
[0031] The compensation circuit generates two equal and opposite compensation currents Ip and In related to the process angle, both of which increase the final output voltage by 1.0% compared to before the introduction of compensation resistors and compensation currents. or Since the compensation current Ip or In can detect the change of the process angle, by reasonably adjusting the size of Ip, In and R0, the change of the process angle inside the voltage follower main circuit will be reflected in the voltage drop across the resistor R0, and ultimately make the output signal of the voltage follower main circuit independent of the process angle, thereby realizing the expected function of the circuit.
[0032] The compensation generating circuit generates two compensation currents Ip and In of equal magnitude and opposite direction related to the process angle. This ensures that after the compensation generating circuit is introduced, no additional current will flow into the input signal terminal and the output signal terminal, thereby maintaining the working state of the original circuit.
[0033] like Figure 2 As shown in the figure, the input voltage Vin of the voltage follower main circuit reaches the source of MP2 through the PMOS tube MP2, a P-type source follower, and then flows through the resistor R0 to the gate of the NMOS tube MN0, and finally outputs from the source of MN0 through the N-type source follower MN0. Due to the existence of the compensation currents Ip and In, the signal flow is raised by a Even if the process angle changes and causes the threshold and other parameters of the MP2 and MN0 tubes to change, the difference between the final output voltage Vout and the input voltage Vin is still zero and has nothing to do with the process angle change.
[0034] As shown in Figure 3(a), the PMOS tube MP3 and the NMOS tube MN3 are connected in series to generate a voltage VG. VG generates the same voltage VG at the gate of MN5 through a unit gain buffer circuit composed of MOS tubes MP4, MP5, MN4, MN5, MN6, MN7, and MN8; when the process angle changes, the threshold voltage and other parameters of the PMOS tube MP3 and the NMOS tube MN3 change, so the voltage VG changes, thereby changing the gate voltage of the MN5 tube, which changes the voltage across the resistor R1, so that the current flowing through the resistor R1 can detect the change of the process angle, and then the compensation current is output in the form of Ip and In through the current mirror composed of the PMOS tubes MP6~MP10 and the NMOS tubes MN9~MN12.
[0035] Since the expression of VG contains the power supply voltage Vdd, the compensation voltage generated by the compensation current generated by VG alone must also contain Vdd. This item needs to be eliminated to ensure that the final output voltage is equal to the input voltage.
[0036] As shown in Figure 3(b), resistors R3 and R4 are connected in series to generate a voltage . It is the voltage divided by the resistors R3 and R4, so it has nothing to do with the process angle, but is related to the power supply voltage Vdd. The same voltage is generated at the gate of MN14 through the unity gain buffer circuit composed of MOS tubes MP11, MP12, MN13, MN14, MN15, MN16, and MN17. , A current is generated on R2, and then the current mirror composed of PMOS tubes MP13~MP17 and NMOS tubes MN18~MN21 outputs the current in the form of Ip and In. Here, In is generated by PMOS tube MP17, and Ip is generated by NMOS tube MN20, which is opposite to the polarity of the compensation current generated by the voltage VG. This ensures that when the compensation voltage is generated, the term containing the power supply voltage Vdd can be offset.
[0037] like Figure 4 As shown, the bias current source composed of PMOS tubes MP22~MP25, NMOS tubes MN26~MN27 and resistor R5 generates a reference current, and the reference current is copied by the current mirror composed of PMOS tubes MP26~MP27 to generate bias voltages VN1 and VN2; the reference current is copied by the current mirror composed of PMOS tubes MP20~MP21 and NMOS tubes MN22~MN25 to generate bias voltages VP1 and VP2.
[0038] The signal reaches the source of PMOS tube MP2 from the gate of PMOS tube MP2, and the voltage rises , the signal reaches the source of NMOS tube MN0 from the gate of NMOS tube MN0, and the voltage drops , in the case of no compensation current and the compensation resistor is short-circuited, the voltage change from Vin to Vout is:
[0039] ,
[0040] in, is the voltage difference between the source and gate of the PMOS tube MP2, is the voltage difference between the gate and source of NMOS tube MN0. According to the current formula of MOS tube in saturation region (ignoring the channel length modulation effect):
[0041] ,
[0042] Wherein, I is the current flowing through the PMOS tube MP2 or the NMOS tube MN0.
[0043] The P-type current bias and N-type current bias generated in the reference current source are equal in magnitude, and the design ensures that:
[0044] ,
[0045] In this case, the voltage change from Vin to Vout satisfies:
[0046] ,
[0047] in, and is the threshold voltage of PMOS and NMOS, and is a negative value, is a positive value. Generally, since the threshold values of NMOS and PMOS are not exactly equal, and when the process angle changes, and Therefore, the ordinary voltage follower cannot accurately complete the following effect from input voltage to output voltage.
[0048] In the compensation generation circuit, the gate voltage VG of the NMOS tube MN4 is determined by the PMOS tube MP3 and the NMOS tube MN3. The PMOS tube MP3 and the NMOS tube MN3 are connected in series, and the current flowing through them is equal:
[0049] ,
[0050] Where Vdd is the power supply voltage. Ensure in the design:
[0051] ,
[0052] Combining the above two equations, we get:
[0053] ,
[0054] Note that NMOS tube MN4, NMOS tube MN5, NMOS tube MN6, NMOS tube MN7, NMOS tube MN8, PMOS tube MP4, and PMOS tube MP5 form an operational amplifier in a negative feedback state, so the gate voltages of NMOS tube MN4 and NMOS tube MN5 are equal. The current flowing through resistor R1 is:
[0055] ,
[0056] Here, the PMOS tubes MP7~MP10 and the NMOS tubes MP9~MP12 are cascode current mirror structures, which copy the current flowing through the PMOS tube MP6. Therefore, the current flowing through the NMOS tube MN11 and the PMOS tube MP10 are both .
[0057] The gate voltage of NMOS tube MN13 Determined by the voltage division of resistors R3 and R4:
[0058] ,
[0059] Similarly, the gate voltages of NMOS transistor MN13 and NMOS transistor MN14 are equal. The current flowing through resistor R2 is:
[0060] ,
[0061] Therefore, the current flowing through the NMOS tube MN20 and the PMOS tube MP17 is .
[0062] The compensation current Ip is generated by the PMOS transistor MP10 and the NMOS transistor MN20, and the compensation current In is generated by the PMOS transistor MP17 and the NMOS transistor MN11. Combining the above derivation, the magnitudes of the compensation currents Ip and In are obtained as follows:
[0063] ,
[0064] In the voltage follower main circuit, the compensation resistor R0 is introduced, and the compensation current Ip flows in from the top of R0, and the compensation current In flows in from the bottom of R0. Since Ip is equal to In, the current values of other MOS tubes in the circuit will not change, and the original working state of the circuit will remain unchanged. In the design, the resistor R1 and the resistor R2 are equal. At this time, the voltage drop across the compensation resistor R0 is:
[0065] ,
[0066] After the compensation resistor R0 is introduced, the voltage change from Vin to Vout satisfies:
[0067] ,
[0068] Simplifying and moving the terms, we get:
[0069] ,
[0070] Among them, the coefficient The numerator and denominator of both contain resistors. The ratio matching between resistors is a local random mismatch, and the error is much lower than the global process angle variation. Therefore, it can be considered that is a constant that is not affected by the change in process angle; in circuit design, it is necessary to ensure that the resistance values of resistors R0, R1 and R2 are equal, and the resistance values of resistors R3 and R4 are equal, so that the above coefficients and If both are 0, the output voltage of the voltage follower is equal to the input voltage and is not affected by the change of the process angle.
[0071] As shown in FIG5(a), it is a simulation effect diagram without using the compensation current proposed by the present invention under different process angles. There are 15 process angle combinations for the five process angles of MOS tubes (tt, ff, ss, snfp, fnsp) and the three process angles of resistors (tt, ff, ss); for the same input voltage, as shown in FIG5(b), taking Vin=1.3V as an example, the standard process angle (MOS tube: tt, resistor: tt) corresponds to Vout=1.2746V, and the output voltages corresponding to the other process angles are distributed in the range of 1.2050V~1.3473V, with a variation range of 0.1423V.
[0072] As shown in FIG5(c), it is a simulation effect diagram of the compensation current proposed by the present invention under different process angles. There are 15 process angle combinations for the five process angles of MOS tubes (tt, ff, ss, snfp, fnsp) and the three process angles of resistors (tt, ff, ss); for the same input voltage, as shown in FIG5(d), taking Vin=1.3V as an example, the standard process angle (MOS tube: tt, resistor: tt) corresponds to Vout=1.3046V, and the output voltages corresponding to the other process angles are distributed in the range of 1.2962V~1.3132V, with a variation range of 0.017V.
[0073] Comparing the two, we can see that after compensation, the output variation range caused by the 15 process angle deviations changes from 0.1423V to 0.017V.
[0074] Since the corresponding straight lines under different process angles in the output-input characteristics are approximately parallel, it can be considered that the above variation range is also applicable to other input voltages.
[0075] The above embodiments are only for illustrating the technical idea of the present invention, and cannot be used to limit the protection scope of the present invention. Any changes made on the basis of the technical solution in accordance with the technical idea proposed by the present invention shall fall within the protection scope of the present invention.
Claims
1. A voltage follower with built-in process error compensation, It is characterized in that The voltage follower includes: a voltage follower main circuit, a compensation generating circuit and a reference current source; the compensation generating circuit is used to detect a process angle change, and output two compensation currents Ip and In of equal magnitude and opposite direction corresponding to the process angle change; the compensation current flows through a compensation resistor in the voltage follower main circuit to generate a compensation voltage, and the compensation voltage makes the output voltage of the voltage follower main circuit equal to the input voltage; the reference current source is used to generate a P-type first bias voltage, a P-type second bias voltage, an N-type first bias voltage and an N-type second bias voltage, and transmit the N-type first bias voltage and the N-type second bias voltage to the compensation generating circuit to provide an N-type current bias for the compensation generating circuit, and transmit the P-type first bias voltage, the P-type second bias voltage, the N-type first bias voltage and the N-type second bias voltage to the voltage follower main circuit to provide a P-type current bias and an N-type current bias for the voltage follower main circuit; The compensation generating circuit includes: PMOS tubes MP3-MP17, NMOS tubes MN3-MN21 and resistors R1-R4; wherein the source of the PMOS tube MP3, the source of the PMOS tube MP4, the source of the PMOS tube MP5, the source of the PMOS tube MP6, the source of the PMOS tube MP7, the source of the PMOS tube MP9, one end of the resistor R3, the source of the PMOS tube MP11, the source of the PMOS tube MP12, the source of the PMOS tube MP13, the source of the PMOS tube MP14 and the source of the PMOS tube MP16 are connected to the power supply together; the source of the NMOS tube MN3, the source of the NMOS tube MN7, one end of the resistor R1, the source of the NMOS tube MN ... The source of N10, the source of NMOS tube MN12, one end of resistor R4, the source of NMOS tube MN16, one end of resistor R2, the source of NMOS tube MN19 and the source of NMOS tube MN21 are grounded together; the gate of PMOS tube MP3 is connected with the drain of PMOS tube MP3, the drain of NMOS tube MN3, the gate of NMOS tube MN3 and the gate of NMOS tube MN4; the gate of PMOS tube MP4 is connected with the gate of PMOS tube MP5, the drain of PMOS tube MP4 and the drain of NMOS tube MN4; the drain of PMOS tube MP5 is connected with the drain of NMOS tube MN5 and the gate of NMOS tube MN8;The gate of the NMOS tube MN5 is connected to the source of the NMOS tube MN8 and the other end of the resistor R1, the source of the NMOS tube MN4 is connected to the source of the NMOS tube MN5 and the drain of the NMOS tube MN6, the source of the NMOS tube MN6 is connected to the drain of the NMOS tube MN7, the gate of the PMOS tube MP6 is connected to the gate of the PMOS tube MP7, the gate of the PMOS tube MP9, the drain of the PMOS tube MP6 and the drain of the NMOS tube MN8, the drain of the PMOS tube MP7 and the source of the PMOS tube MP8 are connected together, the drain of the PMOS tube MP9 and the source of the PMOS tube MP10 are connected together, and the PMOS tube MP The gate of P8 is connected to the gate of PMOS tube MP10, the drain of PMOS tube MP8, the gate of NMOS tube MN9, the gate of NMOS tube MN11 and the drain of NMOS tube MN9; the source of NMOS tube MN9 is connected to the drain of NMOS tube MN10, the gate of NMOS tube MN10 and the gate of NMOS tube MN12; the source of NMOS tube MN11 and the drain of NMOS tube MN12 are connected; the other end of resistor R3 is connected to the other end of resistor R4 and the gate of NMOS tube MN13; the gate of PMOS tube MP11 is connected to the gate of PMOS tube MP12, the drain of PMOS tube MP11 and NMOS tube MN13; The drain of the S transistor MN13 is connected together, the drain of the PMOS transistor MP12 is connected together with the drain of the NMOS transistor MN14 and the gate of the NMOS transistor MN17, the gate of the NMOS transistor MN14 is connected together with the source of the NMOS transistor MN17 and the other end of the resistor R2, the source of the NMOS transistor MN13 is connected together with the source of the NMOS transistor MN14 and the drain of the NMOS transistor MN15, the source of the NMOS transistor MN15 and the drain of the NMOS transistor MN16 are connected together, the gate of the PMOS transistor MP13 is connected together with the gate of the PMOS transistor MP14, the gate of the PMOS transistor MP16, the drain of the PMOS transistor MP13 and the drain of the NMOS transistor MN17. The gates of the PMOS tube MP14 and the source of the PMOS tube MP15 are connected together, the drain of the PMOS tube MP16 and the source of the PMOS tube MP17 are connected together, the gate of the PMOS tube MP15 and the gate of the PMOS tube MP17, the drain of the PMOS tube MP15, the gate of the NMOS tube MN18, the gate of the NMOS tube MN20 and the drain of the NMOS tube MN18 are connected together, the source of the NMOS tube MN18 and the drain of the NMOS tube MN19, the gate of the NMOS tube MN19 and the gate of the NMOS tube MN21 are connected together, and the source of the NMOS tube MN20 and the drain of the NMOS tube MN21 are connected together;The gate of the NMOS tube MN7 and the gate of the NMOS tube MN16 are connected to the N-type first bias voltage, and the gate of the NMOS tube MN6 and the gate of the NMOS tube MN15 are connected to the N-type second bias voltage; the drain of the NMOS tube MN11 and the drain of the PMOS tube MP17 generate a compensation current In, and the drain of the PMOS tube MP10 and the drain of the NMOS tube MN20 generate a compensation current Ip.; 2. The voltage follower with process error compensation according to claim 1, It is characterized in that The voltage follower main circuit includes: PMOS tubes MP0-MP2, NMOS tubes MN0-MN2 and resistor R0; wherein the source of the PMOS tube MP0 and the drain of the NMOS tube MN0 are connected to the power supply, the drain of the PMOS tube MP2 and the source of the NMOS tube MN2 are grounded; the drain of the PMOS tube MP0 and the source of the PMOS tube MP1 are connected together, the drain of the PMOS tube MP1 is connected together with the source of the PMOS tube MP2, one end of the resistor R0 and the compensation current In; the drain of the NMOS tube MN2 and the NMOS tube MN1 are connected together. The sources of the NMOS tube MN0 are connected together, the gate of the NMOS tube MN0 is connected to the other end of the resistor R0 and the compensation current Ip; the gate of the NMOS tube MN1 is connected to the N-type second bias voltage, and the gate of the NMOS tube MN2 is connected to the N-type first bias voltage; the gate of the PMOS tube MP1 is connected to the P-type second bias voltage, and the gate of the PMOS tube MP0 is connected to the P-type first bias voltage; the gate of the PMOS tube MP2 is connected to the input voltage Vin, and the source of the NMOS tube MN0 and the drain of the NMOS tube MN1 are used for the output voltage Vout.
3. The voltage follower with process error compensation according to claim 1, It is characterized in that The reference current source includes: PMOS tubes MP18-MP27, NMOS tubes MN22-MN29 and a resistor R5; wherein the source of the PMOS tube MP18, the source of the PMOS tube MP20, the source of the PMOS tube MP22, the source of the PMOS tube MP24 and the source of the PMOS tube MP26 are connected to the power supply together, and the source of the NMOS tube MN23, the source of the NMOS tube MN25, the source of the NMOS tube MN26, the lower end of the resistor R5 and the source of the NMOS tube MN29 are grounded together; the gate of the PMOS tube MP18 is connected to the drain of the PMOS tube MP18 and the source of the PMOS tube MP19. The gate of the PMOS tube MP19 is connected to the drain of the PMOS tube MP19 and the drain of the NMOS tube MN22 to generate a P-type second bias voltage; the source of the NMOS tube MN22 and the drain of the NMOS tube MN23 are connected together, the gate of the NMOS tube MN22 is connected to the gate of the NMOS tube MN24, the drain of the NMOS tube MN24 and the drain of the PMOS tube MP21, the gate of the NMOS tube MN23 is connected to the gate of the NMOS tube MN25, the drain of the NMOS tube MN25 and the source of the NMOS tube MN24; the PMOS tube M The drain of P20 is connected to the source of PMOS tube MP21, the gate of PMOS tube MP20 is connected to the gate of PMOS tube MP22, the gate of PMOS tube MP24, the drain of PMOS tube MP24, the gate of PMOS tube MP26 and the source of PMOS tube MP25, the gate of PMOS tube MP21 is connected to the gate of PMOS tube MP23, the gate of PMOS tube MP25, the drain of PMOS tube MP25, the gate of PMOS tube MP27 and the drain of NMOS tube MN27, the drain of PMOS tube MP22 is connected to the source of PMOS tube MP23, and PMOS tube MP24 is connected to the drain of PMOS tube MP25. The drain of the MOS transistor MP23 is connected to the drain of the NMOS transistor MN26, the gate of the NMOS transistor MN26 and the gate of the NMOS transistor MN27; the source of the NMOS transistor MN27 is connected to one end of the resistor R5; the drain of the PMOS transistor MP26 and the source of the PMOS transistor MP27 are connected; the drain of the PMOS transistor MP27 and the gate of the NMOS transistor MN28 and the drain of the NMOS transistor MN28 are connected to generate an N-type second bias voltage; the source of the NMOS transistor MN28 and the gate of the NMOS transistor MN29 and the drain of the NMOS transistor MN29 are connected to generate an N-type first bias voltage.
4. A voltage following method based on the voltage follower with process error compensation according to any one of claims 1 to 3, It is characterized in that The voltage following method is specifically as follows: The compensation generating circuit is used to detect the process angle change, and outputs two compensation currents Ip and In of equal magnitude and opposite directions corresponding to the process angle change. The compensation current Ip is generated by the PMOS transistor MP10 and the NMOS transistor MN20, and the compensation current In is generated by the PMOS transistor MP17 and the NMOS transistor MN11. The magnitudes of the compensation currents Ip and In are: In the formula, I R1 ,I R2 are the currents flowing through the resistors R1 and R2 respectively, VG is the gate voltage of the NMOS tube MN4, and VG′ is the gate voltage of the NMOS tube MN13; In the voltage follower main circuit, a compensation resistor R0 is introduced, and the compensation current Ip flows into one end of R0, and the compensation current In flows into the other end of R0. Since Ip is equal to In, the current values of other MOS tubes in the circuit will not change, and the original working state of the circuit remains unchanged. The compensation resistor R0 is equal to the resistor R1 and the resistor R2, and the resistor R3 is equal to the resistor R4, so as to achieve the following of the input voltage to the output voltage. The output voltage is not affected by the change of the process angle, that is, the voltage change from Vin to Vout satisfies: Where, VSG MP2 VGS is the voltage difference between the source and gate of the PMOS tube MP2. MN0 is the voltage difference between the gate and source of NMOS tube MN0, U R0 To compensate for the voltage drop across resistor R0, Vth p and Vth n are the threshold voltages of all PMOS tubes and all NMOS tubes, respectively, and Vth p is a negative value, Vth n Is a positive value.
