A rail-to-rail operational amplifier that can be switched into comparator mode

By designing a switchable mode rail-to-rail operational amplifier, the problem of low mode switching efficiency of operational amplifier and comparator in analog-to-digital conversion circuit is solved, and an efficient circuit shared by mode switching and components is realized, which is suitable for micro-scale applications.

CN111969970BActive Publication Date: 2024-11-19GUANGXI NORMAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010926160.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-07
Publication Date
2024-11-19
Estimated Expiration
2040-09-07

AI Technical Summary

Technical Problem

Prior Art In analog-to-digital conversion circuits, switching of operational amplifiers and comparator modes is inefficient, increasing component count, area and cost, especially in micro-scale applications.

Method used

A rail-to-rail operational amplifier that can be switched to comparator mode is designed, including operating mode control circuit, bias circuit, rail-to-rail input circuit, latch comparison circuit, gain amplifier circuit, Class AB output circuit and frequency compensation circuit , realizes flexible switching between operational amplifier and comparator modes, and shares rail-to-rail input and output circuits.

Benefits of technology

It realizes efficient switching between the operational amplifier mode and the comparator mode, reduces circuit components and costs, and improves the applicability and stability of micro-scale applications. It is especially suitable for micro-scale and low-power occasions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111969970B_ABST
    Figure CN111969970B_ABST
Patent Text Reader

Abstract

The present invention discloses a rail-to-rail operational amplifier that can be switched to a comparator mode, which includes an operating mode control circuit, a bias circuit, a rail-to-rail input circuit, a latched comparison circuit, a gain amplifier circuit, a class AB output circuit, and a frequency compensation circuit. The present invention can switch between the operational amplifier mode and the comparator mode; it has the characteristics of rail-to-rail input and output; the operational amplifier mode adopts a multi-stage cascade, which has a very high gain, and the frequency compensation circuit has a multi-stage compensation function, which can improve the stability of the circuit; the comparator mode also has a multi-stage cascade with high precision, and the disconnection of the frequency compensation circuit and the latch structure of the intermediate stage greatly improve the speed of the comparator; the comparator mode and the operational amplifier mode share the rail-to-rail input circuit and the class AB output circuit, which can greatly reduce the circuit components, area and cost, and is particularly suitable for micro-size and low power consumption applications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a rail-to-rail comparator and a rail-to-rail operational amplifier, in particular to a rail-to-rail operational amplifier which can be switched to a comparator mode. Background Art

[0002] As the most basic device in analog integrated circuits, the performance of operational amplifiers determines the performance of systems such as digital-to-analog / analog-to-digital converters. As a key module in analog-to-digital conversion circuits, comparators also have an important impact on the performance of analog-to-digital conversion circuits.

[0003] To improve the versatility of the module, it is sometimes necessary to work in operational amplifier mode and sometimes in comparator mode. However, if the operational amplifier is simply used as a comparator, the speed of the circuit will be greatly reduced. If an operational amplifier and a comparator are used at the same time, the number of components, area and cost of the integrated circuit will increase, which will be severely limited in micro-applications. Summary of the invention

[0004] In view of the above problems, the present invention provides a rail-to-rail operational amplifier that can be switched to a comparator mode, which includes an operating mode control circuit, a bias circuit, a rail-to-rail input circuit, a latched comparison circuit, a gain amplifier circuit, a class AB output circuit and a frequency compensation circuit.

[0005] The working mode control circuit is used to select the comparator mode and the operational amplifier mode; the bias circuit is used to provide the bias voltage for normal operation of each level of the circuit; the rail-to-rail input circuit is used to achieve a full-swing dynamic input range; the latched comparator circuit is used to accelerate the conversion process of the comparator and provide a large gain; the gain amplifier circuit is used to amplify the input signal; the class AB output circuit is used to achieve a full-swing output; and the frequency compensation circuit is used to improve the stability of the operational amplifier.

[0006] The output signal terminals S1, S2, S3, S4, S5, S6, S7, S8 and S9 of the working mode control circuit are respectively connected to the control terminals of switches K1, K2, K3, K4, K5, K6, K7, K8 and K9, and the comparator and op amp mode switching control signal S is connected to the input terminal of the working mode control circuit.

[0007] The bias circuit is a universal bias circuit, including NMOS tubes N1 and N2, PMOS tubes P1 and P2, and resistor R1; the source of P1 and the source of P2 are connected to the power supply VDD, the gates of P1 and P2 and the drains of P2 and N2 are connected to the first bias voltage (V b1 ) is connected. The drains of P1 and N1 and the gates of N1 and N2 are connected to a second bias voltage (V b2) is connected; the source of N2 is connected to the first terminal of R1, and the source of N1 and the second terminal of R1 are grounded GND.

[0008] The rail-to-rail input circuit is a general circuit, including NMOS tubes N3, N4, N5, N6, N7, N8 and N9, and PMOS tubes P3, P4, P5, P6 and P7. The sources of P3, P4 and P7 are connected to the power supply VDD, and the gate of P3 is connected to the first bias voltage (V b1 ), the drain of P3, the source of P5 and the source of P6 are connected, the gate of P4, the drain of P4, the drain of N4 and the drain of N7 are connected to the second output terminal (OUT2) of the rail-to-rail input circuit, the drain of N3, P7, the gate of P7 and the drain of N9 are connected to the first output terminal (OUT1) of the rail-to-rail input circuit, and the gates of N3 and P5 are connected to the second input signal (V - ) is connected, the gates of P6 and N4 are connected to the first input signal (V + ), the sources of N3 and N4 are connected to the drain of N5, and the gate of N5 is connected to the second bias voltage (V b2 ) are connected, the drains of P5 and N6, and the gates of N6 and N7 are connected to each other, the drains of P6 and N8, and the gates of N8 and N9 are connected to each other, and the sources of N5, N6, N7, N8, and N9 are grounded GND.

[0009] The latch comparison circuit comprises: an NMOS tube N 10 、N 11 、N 12 、N 13 and N 14 , PMOS tubes P8 and P9. The source of P8 and the source of P9 are connected to the power supply VDD, the first output terminal (OUT1) of the rail-to-rail input circuit is connected to the first terminal of the switch K1, the second output terminal (OUT2) of the rail-to-rail input circuit is connected to the first terminal of the switch K3, the gate of P8 is connected to the second terminal of the switch K1, the gate of P9 is connected to the second terminal of the switch K3, the drain of P8, N 10 The drain, N 10 The gate of N 11 The drain, N 12 The gate and latch comparison circuit first output voltage (V c1 ) connection, the drain of P9, N 12 The drain, N 13 The drain, N 13 The gate of N 11 The gate of the latch comparator circuit is the second output voltage (V c2 ) connection, N 10 The source, N 11 The source, N 12 The source, N 13 The source and N14 The drain connection, N 14 The gate and the second bias voltage (V b2 ), N 14 The source is grounded to GND.

[0010] The gain amplifier circuit comprises: an NMOS tube N 15 、N 16 、N 17 、N 18 、N 19 and N 20 , PMOS tube P 10 , P 11 , P 12 , P 13 , P 14 and P 15 .P 10 , P 13 , P 11 , P 12 The source of the P 10 , P 11 , P 12 The gate and the first bias voltage (V b1 ) connection; 10 、N 15 The drain, N 15 、N 17 、N 18 The gates are connected to each other, P 13 The gate, P 13 The drain, P 14 , P 15 The gate and N 16 The drains of the rail-to-rail input circuit are connected to each other; the first output terminal (OUT1) of the rail-to-rail input circuit is connected to the first terminal of the switch K2, and the second output terminal (OUT2) of the rail-to-rail input circuit is connected to the first terminal of the switch K4; P 11 The drain of switch K2 and the second terminal of P 14 The sources of P 12 The drain of switch K4 and the second terminal of P 15 The sources of P 14 The drain of the gain amplifier circuit and the first output voltage (V a1 ), N 17 The drains are connected to each other, P 15 The drain of the gain amplifier circuit and the second output voltage (V a2 ) and N 18 The drains of N 17 The source and N 19 The drain connection, N 18 The source and N 20 The drain connection, N16 、N 19 、N 20 The gate and the second bias voltage (V b2 ) are interconnected; N 15 、N 16 、N 19 、N 20 The source is grounded to GND.

[0011] The AB class output circuit includes an NMOS tube N 21 、N 22 、N 23 、N 24 And PMOS tube P 16 , P 17 , P 18 .P 16 , P 17 and P 18 The source of the comparator circuit is connected to the power supply VDD, and the first output voltage (V c1 ) is connected to the first terminal of the switch K5, latching the second output voltage (V c2 ) is connected to the first terminal of the switch K6, and the first output voltage (V a1 ) is connected to the first terminal of the switch K7, and the second output voltage (V a2 ) is connected to the first terminal of switch K8. 16 The gate and drain of P 17 The gate and N 21 The drains of 17 、N 22 The drain and P 18 、N 24 The gates of N are connected to each other; 21 The gate of and the second terminals of switches K6 and K8 are connected to each other; 22 The gate of and the second terminals of switches K5 and K7 are connected to each other; 21 、N 22 The source and N 23 The drains of N 23 The gate and the second bias voltage (V b2 ) connection; N 23 、N 24 The source is grounded GND; P 18 、N 24 The drain of the switch K9 is connected to the second terminal of the switch K9 to form the output terminal of the entire circuit (V o ).

[0012] The frequency compensation circuit includes capacitors C1, C2, C3, C4 and C5; the first terminal of C1 is connected to the gain amplifier circuit P 11The drain of C2 is connected to the gain amplifier circuit P 12 The drain of C3 is connected to the gain amplifier circuit N 19 The drain of C4 is connected to the gain amplifier circuit N 20 The drain of C5 is connected to the P 17 The second terminals of C1, C2, C3, C4, and C5 are connected to the first terminal of the switch K9, and the second terminal of the switch K9 is connected to the output terminal (V o )connect. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] Figure 1 is a schematic block diagram of the present invention;

[0014] Figure 2 is the overall circuit diagram of the present invention;

[0015] Figure 3 is a schematic diagram of an operational amplifier mode of the present invention;

[0016] Figure 4 is a schematic diagram of a comparator mode of the present invention;

[0017] Figure 5 is a bias circuit connection diagram of the present invention;

[0018] Figure 6 It is a connection diagram of the rail-to-rail input circuit of the present invention;

[0019] Figure 7 It is a connection diagram of the latch comparison circuit of the present invention;

[0020] Figure 8 It is a connection diagram of the gain amplifier circuit of the present invention;

[0021] Fig. 9 It is a connection diagram of the class AB output circuit of the present invention;

[0022] Fig.10 This is a connection diagram of the frequency compensation circuit of the present invention. DETAILED DESCRIPTION

[0023] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings.

[0024] Figure 1The invention describes a rail-to-rail operational amplifier with switchable comparator mode, including an operating mode control circuit, a bias circuit, a rail-to-rail input circuit, a latched comparison circuit, a gain amplifier circuit, a class AB output circuit, and a frequency compensation circuit. The operating mode control circuit is used to select the comparator mode and the operational amplifier mode, the bias circuit is used to provide a bias voltage for normal operation of each level of the circuit, the rail-to-rail input circuit is used to achieve a full swing dynamic input range, the latched comparison circuit is used to accelerate the conversion process of the comparator and provide a large gain, the gain amplifier circuit is used to amplify the input signal, the class AB output circuit is used to achieve a full swing output, and the frequency compensation circuit is used to improve the stability of the operational amplifier; Figure 2 It is a specific implementation circuit of the present invention.

[0025] exist Figure 1 In the working mode control circuit, the control signal is S, and the output signals are S1, S2, S3, S4, S5, S6, S7, S8, S9. S1, S2, S3, S4, S5, S6, S7, S8 and S9 are connected to the control terminals of switches K1, K2, K3, K4, K5, K6, K7, K8 and K9 respectively. When S is at a high level 1, S1, S3, S5, S6 outputs a low level, and switches K1, K3, K5, K6 are disconnected; S2, S4, S7, S8, S9 outputs a high level, and switches K2, K4, K7, K8, K9 are turned on; at this time, the circuit works in the operational amplifier mode, and its schematic diagram is shown as follows Figure 3 When S is low level 0, S1, S3, S5, S6 output high level, switches K1, K3, K5, K6 are turned on; S2, S4, S7, S8, S9 output low level, switches K2, K4, K7, K8, K9 are turned off; at this time, the circuit works in comparator mode, and its schematic diagram is shown as follows Figure 4 shown.

[0026] Figure 5 The figure shows the bias circuit, which includes NMOS tubes N1, N2 and PMOS tubes P1, P2 and resistor R1. GSN1 ≥V GSN2 When V GSN1 =V GSN2 +I RF R1①; In order to ensure that equation ① holds, the width-to-length ratio of N2 Should be greater than the aspect ratio of N1 By properly selecting the width-to-length ratio of N1 and N2, the width-to-length ratio of P1 and P2, and the resistance value of resistor R1, the required bias voltage V can be generated. b1 With V b2 .

[0027] Figure 6The figure shows a rail-to-rail input circuit, which includes NMOS tubes N3, N4, N5, N6, N7, N8, N9 and PMOS tubes P3, P4, P5, P6, P7; P5 and P6 form a PMOS tube differential input pair, and N3 and N4 form an NMOS tube differential input pair. The input stage circuit has three working states:

[0028] (1) When the common-mode input range is 0 ≤ V in ≤V DSN5 +V DSN4 When , only the PMOS tube differential input pair composed of P5 and P6 is turned on, and the input stage transconductance is g mp .

[0029] (2) When the common-mode input range is V DD -V SDP3 -V SDP5 ≤V in ≤V DD When the NMOS transistor differential input pair composed of N3 and N4 is turned on, the input stage transconductance is g mn .

[0030] (3) When the common-mode input range is V DSN5 +V DSN4 ≤V in ≤V DD -V SDP3 -V SDP5 At this time, the PMOS tube differential input pair composed of P5 and P6 and the NMOS tube differential input pair composed of N3 and N4 are both turned on, and the input stage transconductance is (g mp +g mn ).

[0031] From the above, it can be seen that the NMOS differential pair and the PMOS differential pair are connected in parallel to form a complementary differential input structure, which extends the common-mode input range to between 0 and VDD, thereby achieving full-rail input. In addition, in this input circuit, N6 and N7, N8 and N9 respectively form current mirrors, which mirror the current signals converted by the input signal through the PMOS differential input pair to the drains of P4 and P7 respectively, and then merge with the drain currents of N3 and N4.

[0032] Figure 7 The latch comparison circuit shown in the figure includes an NMOS tube N 10 、N 11 、N 12 、N 13 、N 14 and PMOS tubes P8 and P9; the output terminals OUT1 and OUT2 of the rail-to-rail input circuit are connected to the gates of P8 and P9 respectively, N 10 、N 11、N 12 and N 13 As the core of the circuit, N 11 、N 12 Constitute a latch structure, N 10 With N 13 To increase the gain, N 14 Increase the output voltage of the circuit.

[0033] When OUT1>OUT2, the current flowing through P9 will be larger than that through P8, and the voltage V formed across N13 will be DS13 Will be better than N 10 The voltage V formed at both ends DS10 large, so it flows through N 11 The current is higher than N 12 large, which will make V C1 The voltage is higher than V C2 Low, due to the positive feedback of the latch structure, V C1 The voltage V C2 The voltage of V C1 Output high level V C2 Output low level; when OUT1<OUT2, the operation of the latch comparison circuit is exactly the opposite of the above, so that V C1 Output low level V C2 Output high level. 10 With N 13 The presence of can increase the output resistance of the latch comparator, thereby improving the gain of the comparator. In order to match the level of the subsequent AB class output circuit, increase N 14 Come and be V C1 With V C2 The minimum voltage is shifted up by one V GS14 , so that the subsequent class AB output circuit can work normally.

[0034] Figure 8 The figure shows a gain amplifier circuit, which includes an NMOS tube N 15 、N 16 、N 17 、N 18 、N 19 、N 20 And PMOS tube P 10 , P 11 , P 12 , P 13 , P 14 , P 15 . Bias voltage V b1 Give P 10 , P 11 , P 12 The gate provides a bias voltage, the bias voltage Vb2 Give N 16 、N 19 、N 20 The gate provides a bias voltage, the bias voltage V b3 By N 15 The diode connection is generated and is N 17 、N 18 The gate provides a bias voltage, the bias voltage V b4 By P 13 The diode connection is generated and P 14 , P 15 The gate of the gain amplifier circuit provides a bias voltage. 11 , P 12 , P 14 and P 15 The folded cascode structure is formed, and the small signal analysis of the circuit core is performed, and the gain of the circuit is obtained as A. v =(g m r o ) 2 (3).

[0035] Fig. 9 The AB class output circuit is shown in the figure. The circuit includes an NMOS tube N 21 、N 22 、N 23 、N 24 And PMOS tube P 16 , P 17 , P 18 The circuit is composed of an NMOS differential amplifier and a push-pull inverter. When used as a comparator, the output signal of the latched comparison circuit is converted into a logic level. When used as an amplifier, the gain of the circuit is improved. The push-pull inverter ensures that the overall circuit operates at a full swing from 0 to VDD, achieving rail-to-rail output.

[0036] Fig.10 The figure shows a frequency compensation circuit, which is composed of capacitors C1, C2, C3, C4, and C5. C1, C2, C3, and C4 provide frequency compensation for the gain amplifier circuit, and C5 provides frequency compensation for the class AB output circuit. The two-stage frequency compensation can give the operational amplifier sufficient phase margin.

[0037] Beneficial effects of the present invention:

[0038] The present invention can switch between operational amplifier mode and comparator mode; it has the characteristics of rail-to-rail input and output; the operational amplifier mode adopts multi-stage cascade and has very high gain, and the frequency compensation circuit has multi-stage compensation function, which can improve the stability of the circuit; the comparator mode also has multi-stage cascade and has very high precision, and the disconnection of the frequency compensation circuit and the latch structure adopted in the middle stage greatly improve the speed of the comparator; the comparator mode and the operational amplifier mode share the rail-to-rail input circuit and the AB class output circuit, which can greatly reduce circuit components, area and cost, and is particularly suitable for micro-size and low power consumption applications.

Claims

1. A rail-to-rail operational amplifier switchable to comparator mode, comprising a rail-to-rail input circuit, a latch comparison circuit, a gain amplifier circuit, a class AB output circuit, a frequency compensation circuit and an operating mode control circuit, characterized in that: The latch comparison circuit comprises: an NMOS tube N 10 、N 11 、N 12 、N 13 and N 14 , PMOS tubes P8 and P9; the sources of P8 and P9 are connected to the power supply VDD, the first output terminal OUT1 of the rail-to-rail input circuit is connected to the first terminal of the switch K1, the second output terminal OUT2 of the rail-to-rail input circuit is connected to the first terminal of the switch K3, the gate of P8 is connected to the second terminal of the switch K1, and the gate of P9 is connected to the second terminal of the switch K3; P8, N 10 、N 11 The drain and N 10 、N 12 The gates of the latch comparator circuit are connected to form the first output voltage V c1 ; P9, N 12 、N 13 The drain and N 11 、N 13 The gates of the latch comparator circuit are connected to form the second output voltage V c2 ; N 10 、N 11 、N 12 、N 13 The source and N 14 The drain and gate are connected to each other, N 14 The source is grounded; The gain amplifier circuit comprises: an NMOS tube N 15 、N 16 、N 17 、N 18 、N 19 and N 20 , PMOS tube P 10 , P 11 , P 12 , P 13 , P 14 and P 15 ;P 10 , P 11 , P 12 and P 13 The source is connected to the power supply VDD, P 10 , P 11 , P 12 The gate is biased to the first voltage V b1 Connect; 10 and N 15 The drain, N 15 and N 17 The gate and N 18 The gate connection, P 13 The gate, P 13 The drain, P 14 and P 15 The gate and N 16 The drain of the rail-to-rail input circuit is connected; the first output terminal OUT1 of the rail-to-rail input circuit is connected to the first terminal of the switch K2, and the second output terminal OUT2 of the rail-to-rail input circuit is connected to the first terminal of the switch K4, P 11 The drain of switch K2, the second terminal of switch K2, and P 14 Source connection; P 12 The drain of switch K4, the second terminal of switch K4, and P 15 Source connection; P 14 、N 17 The drains of the amplifier circuit are connected to form the first output voltage V a1 ; N 18 , P 15 The drains of the amplifier circuit are connected to form the second output voltage V a2 ; N 17 The source and N 19 The drain connection, N 18 The source and N 20 Drain connection; N 16 、N 19 、N 20 The gate and the second bias voltage V b2 Connection; N 15 、N 16 、N 19 With N 20 The source is grounded; The first output voltage V of the latch comparison circuit c1 Connected to the first terminal of switch K5, latching the second output voltage V c2 Connected to the first terminal of switch K6, the first output voltage V a1 Connected to the first terminal of switch K7, the second output voltage V a2 connected to the first terminal of switch K8; the second terminals of switches K6 and K8 are both connected to the first input terminal of the class AB output circuit, and the second terminals of switches K5 and K7 are both connected to the second input terminal of the class AB output circuit; the first terminal of switch K9 is connected to the frequency compensation circuit, and the second terminal of switch K9 is connected to the output end of the class AB output circuit; The output control signal terminals S1, S2, S3, S4, S5, S6, S7, S8 and S9 of the working mode control circuit are connected to the control terminals of switches K1, K2, K3, K4, K5, K6, K7, K8 and K9 respectively; The frequency compensation circuit includes capacitors C1, C2, C3 and C4; the first terminal of C1 is connected to the gain amplifier circuit P 11 The drain of C2 is connected to the gain amplifier circuit P 12 The drain of C3 is connected to the gain amplifier circuit N 19 The drain of C4 is connected to the gain amplifier circuit N 20 The second terminals of C1, C2, C3, and C4 are connected to the first terminal of switch K9, and the second terminal of switch K9 is connected to the output terminal of the entire circuit (V o )connect.