A subtractor circuit

By designing a cascaded structure of voltage acquisition and voltage output modules, and combining it with adjustment points, the problem of balancing input voltage range, speed, and accuracy in the subtractor circuit was solved, achieving high-precision voltage difference calculation and process deviation correction over a wide input voltage range.

CN123117142APending Publication Date: 2026-11-17SHANGHAI BAIZHENG SEMICON CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611008497.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-08
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing subtractor circuits struggle to balance input voltage range, speed, and accuracy, often requiring trade-offs.

Method used

A subtractor circuit including a voltage acquisition module and a voltage output module was designed. Through the cascaded structure of voltage input unit, gain unit, drive unit and bias unit, combined with adjustment point, the voltage across the capacitor is acquired and process deviation is corrected to achieve accurate calculation of voltage difference.

Benefits of technology

It achieves high-precision voltage difference calculation over a wide input voltage range, and improves the accuracy and stability of the circuit by correcting process deviations through adjustment point correction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123117142A_ABST
    Figure CN123117142A_ABST
Patent Text Reader

Abstract

This application discloses a subtractor circuit, relating to the field of electronic circuit technology. The subtractor circuit includes: a voltage acquisition module and a voltage output module; the voltage acquisition module is used to acquire the voltage across a capacitor and a fourth bias voltage, and generate a first voltage, a second voltage, and a third voltage; the voltage output module is used to determine the voltage difference across the capacitor based on the first voltage, the second voltage, the third voltage, and the fourth bias voltage. By implementing the subtractor circuit described in this application, by acquiring the voltage difference across the capacitor and determining the voltage difference accordingly, the input voltage has a wide range; and by adjusting the adjustment point, manufacturing process deviations in the subtractor circuit can be corrected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of electronic circuit technology, and in particular to a subtractor circuit. Background Technology

[0002] In integrated circuits for power management and power drives, it is often necessary to pre-charge and detect the voltage of capacitive components such as output capacitors and flying capacitors to prevent uncontrolled surge currents during startup and operation. When both nodes are floating nodes, an analog subtractor circuit is required to obtain the voltage difference across the capacitor, which is then compared with a reference voltage via a comparator circuit.

[0003] Typically, operational amplifier-based resistive feedback subtractors or open-loop current-mode subtractors are used. The accuracy of operational amplifier-based resistive feedback subtractors depends on the matching accuracy of the on-chip resistors and the offset of the op-amp. The input voltage range of this type of subtractor is generally limited by the common-mode input range of the op-amp, and its speed is mainly determined by the op-amp's bandwidth. Open-loop current-mode subtractors obtain the current signal through a transconductance input stage and then perform current subtraction calculations through a current mirror. Because the signal flows at low-impedance nodes, current-mode subtractors can achieve high speed and a wide input voltage range. However, due to the current mirror matching accuracy and the nonlinearity of the input transconductance stage, the accuracy of open-loop current-mode subtractors is difficult to guarantee and is greatly affected by process technology, temperature, and voltage range. Currently used subtractor circuits must make trade-offs between input voltage range, speed, and accuracy. Therefore, there is an urgent need for a subtractor circuit that balances speed and accuracy. Summary of the Invention

[0004] To address the problems mentioned in the background section, this application provides the following technical solutions: A subtractor circuit is provided, including a voltage acquisition module and a voltage output module.

[0005] The voltage acquisition module is used to acquire the voltage across the capacitor and the fourth bias voltage, and to generate the first voltage, the second voltage, and the third voltage.

[0006] The voltage output module is used to determine the voltage difference across the capacitor based on the first voltage, the second voltage, the third voltage, and the fourth bias voltage.

[0007] Furthermore, the voltage acquisition module includes: a voltage input unit, a gain unit, a drive unit, and a bias unit.

[0008] The voltage input unit is cascaded with the gain unit, the gain unit is cascaded with the drive unit, the drive unit is cascaded with the voltage input unit, and the bias unit is connected to the drive unit; the voltage input unit is used to acquire the voltage across the capacitor; the gain unit is used to acquire the fourth bias voltage and generate the third voltage; the drive unit is used to generate the first voltage and the second voltage.

[0009] Furthermore, the voltage input unit includes a first transistor, a second transistor, a third transistor, and a fourth transistor.

[0010] The first transistor has: a first transistor first terminal, a first transistor second terminal, and a first transistor third terminal; the second transistor has: a second transistor first terminal, a second transistor second terminal, and a second transistor third terminal; the third transistor has: a third transistor first terminal, a third transistor second terminal, and a third transistor third terminal; the fourth transistor has: a fourth transistor first terminal, a fourth transistor second terminal, and a fourth transistor third terminal.

[0011] After the first terminal of the first transistor is connected to the first terminal of the third transistor, it is used to connect the voltage at one end of the capacitor. After the second terminal of the second transistor is connected to the first terminal of the fourth transistor, it is used to connect the voltage at the other end of the capacitor. The second terminal of the first transistor is connected to the third terminal of the third transistor, the second terminal of the second transistor is connected to the third terminal of the fourth transistor, the third terminal of the first transistor is connected to one end of the second resistor in the driving unit, the third terminal of the second transistor is connected to one end of the third resistor in the driving unit, the second terminal of the third transistor is connected to one end of the first resistor in the gain unit, and the second terminal of the fourth transistor is connected to the other end of the first resistor.

[0012] Furthermore, the gain unit includes a fifth transistor, a sixth transistor, and a first resistor.

[0013] The fifth transistor has: a first terminal, a second terminal, and a third terminal; the sixth transistor has: a first terminal, a second terminal, and a third terminal.

[0014] After the first terminal of the fifth transistor is connected to the second terminal of the sixth transistor, it is used to apply the fourth bias voltage. The third terminal of the fifth transistor is connected to one end of the first resistor, and the third terminal of the sixth transistor is connected to the other end of the first resistor. The second terminal of the fifth transistor is connected to the third terminal of the seventh transistor in the driving unit, and the second terminal of the sixth transistor is connected to the third terminal of the eighth transistor in the driving unit to generate the third voltage.

[0015] Furthermore, the driving unit includes: a seventh transistor, an eighth transistor, a ninth transistor, a tenth transistor, an eleventh transistor, a twelfth transistor, a thirteenth transistor, a fourteenth transistor, a second resistor, and a third resistor.

[0016] The seventh transistor has: a first terminal, a second terminal, and a third terminal; the eighth transistor has: a first terminal, a second terminal, and a third terminal; the ninth transistor has: a first terminal, a second terminal, and a third terminal; the tenth transistor has: a first terminal, a second terminal, and a third terminal; the eleventh transistor has: a first terminal, a second terminal, and a third terminal; the twelfth transistor has: a first terminal, a second terminal, and a third terminal; the thirteenth transistor has: a first terminal, a second terminal, and a third terminal; and the fourteenth transistor has: a first terminal, a second terminal, and a third terminal.

[0017] The first terminal of the seventh transistor is connected to the third terminal of the ninth transistor and the second terminal of the eleventh transistor to generate the first voltage. The second terminal of the seventh transistor is connected to the second terminals of the eighth, ninth, and tenth transistors to connect to the first operating voltage. The first terminal of the eighth transistor is connected to the third terminal of the tenth transistor and the second terminal of the twelfth transistor to generate the second voltage. The third terminal of the seventh transistor is connected to the second terminal of the fifth transistor in the gain unit. The third terminal of the eighth transistor is connected to the second terminal of the sixth transistor in the gain unit. The first terminals of the ninth and tenth transistors are used to connect to the third bias voltage. The first terminals of the eleventh and twelfth transistors are used to connect to the second bias voltage. The third terminal of the eleventh transistor is connected to the third terminal of the thirteenth transistor. The third terminal of the twelfth transistor is connected to the third terminal of the fourteenth transistor. The first terminal of the thirteenth transistor is connected to the first terminal of the fourteenth transistor and then to the first terminal of the seventeenth transistor in the bias unit. The second terminal of the thirteenth transistor is connected to one end of the second resistor. The second terminal of the fourteenth transistor is connected to one end of the third resistor. The other ends of the second and third resistors are connected to the voltage reference point.

[0018] Furthermore, the bias unit includes: a fifteenth transistor, a sixteenth transistor, a seventeenth transistor, a bias current source, and a fourth resistor.

[0019] The fifteenth transistor has: a first terminal, a second terminal, and a third terminal; the sixteenth transistor has: a first terminal, a second terminal, and a third terminal; the seventeenth transistor has: a first terminal, a second terminal, and a third terminal.

[0020] The first terminal of the fifteenth transistor is used to connect to the first bias voltage. The third terminal of the fifteenth transistor is connected to the first terminal of the seventeenth transistor and the second terminal of the sixteenth transistor. The second terminal of the seventeenth transistor is connected to one end of the fourth resistor. The second terminal of the fifteenth transistor and the other end of the fourth resistor are connected to the voltage reference point. The third terminal of the sixteenth transistor is connected to one end of the bias current source and is used to connect to the second operating voltage. The first terminal of the sixteenth transistor is connected to the other end of the bias current source and the third terminal of the seventeenth transistor.

[0021] Furthermore, the voltage acquisition module also includes a calibration point.

[0022] The adjustment point is located at the connection between the first terminals of the thirteenth and fourteenth transistors in the voltage acquisition module. It is used to connect the adjustment current to correct the process deviation in manufacturing the subtractor circuit.

[0023] Furthermore, the voltage output module includes: a first branch, a second branch, and a fifth resistor.

[0024] One end of the first branch is connected to one end of the second branch and then to one end of the fifth resistor to output the voltage difference across the capacitor. The other end of the fifth resistor is connected to the voltage reference point.

[0025] Furthermore, the first branch includes: a first operational amplifier, an eighteenth transistor, a nineteenth transistor, a twentieth transistor, a twenty-first transistor, and a twenty-second transistor.

[0026] The eighteenth transistor has: a first terminal, a second terminal, and a third terminal; the nineteenth transistor has: a first terminal, a second terminal, and a third terminal; the twentieth transistor has: a first terminal, a second terminal, and a third terminal; the twenty-first transistor has: a first terminal, a second terminal, and a third terminal; the twenty-first transistor has: a first terminal, a second terminal, and a third terminal; and the twenty-second transistor has: a first terminal, a second terminal, and a third terminal.

[0027] The non-inverting input of the first operational amplifier is connected to the third terminal of the nineteenth transistor, the third terminal of the twentieth transistor, the first terminal of the twentieth transistor, and the first terminal of the twenty-first transistor. The second terminal of the nineteenth transistor is connected to the third terminal of the eighteenth transistor. The second terminal of the eighteenth transistor is used to connect to the first operating voltage. The first terminal of the eighteenth transistor is used to receive the first voltage. The first terminal of the nineteenth transistor receives the fourth bias voltage. The inverting input of the first operational amplifier is connected to the third terminal of the twenty-first transistor and the second terminal of the twenty-second transistor. The second terminal of the twentieth transistor is connected to the second terminal of the twenty-first transistor and then connected to the voltage reference point. The output of the first operational amplifier is connected to the first terminal of the twenty-second transistor. The third terminal of the twenty-second transistor serves as one end of the first branch.

[0028] Furthermore, the second branch includes: a second operational amplifier, a twenty-third transistor, and a twenty-fourth transistor.

[0029] The 23rd transistor has: a first terminal, a second terminal, and a third terminal; the 24th transistor has: a first terminal, a second terminal, and a third terminal.

[0030] The non-inverting input of the second operational amplifier is connected to the third terminal of the twenty-third transistor and the second terminal of the twenty-fourth transistor. The first terminal of the twenty-third transistor is used to receive the second voltage, and the second terminal of the twenty-third transistor is used to connect to the first operating voltage. The inverting input of the second operational amplifier is used to receive the third voltage. The output of the second operational amplifier is connected to the first terminal of the twenty-fourth transistor, and the third terminal of the twenty-fourth transistor serves as one end of the second branch.

[0031] By implementing the subtractor circuit described in the embodiments of this application, the input voltage has a wide range by obtaining the voltage difference across the capacitor and determining the voltage difference across the capacitor accordingly; by adjusting the adjustment point, the manufacturing process deviation of the subtractor circuit can be corrected. Attached Figure Description

[0032] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 This is a schematic diagram of the subtractor circuit provided in an embodiment of this application; Figure 2 This is a schematic diagram of a voltage acquisition module circuit with adjustment points provided in an embodiment of this application. Detailed Implementation

[0034] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0035] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The numbers in the accompanying drawings are only used to distinguish individual functional parts or modules and do not indicate logical relationships between parts or modules. The terms “comprising,” “including,” or “including,” and similar terms mean that the element or object preceding the term encompasses the element or object listed following the term and its equivalents, without excluding other elements or objects. The terms “connected,” “linked,” and similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. “Above,” “below,” “left,” “right,” etc., are used only to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0036] The various embodiments according to this disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that in the drawings, the same reference numerals are assigned to components having substantially the same or similar structure and function, and repeated descriptions of them will be omitted.

[0037] Commonly used subtractor circuits must make trade-offs between input voltage range, speed, and accuracy. This application provides the following technical solutions to achieve a subtractor circuit that balances speed and accuracy.

[0038] In some embodiments, such as Figure 1 As shown, a subtractor circuit includes a voltage acquisition module 100 and a voltage output module 200.

[0039] The voltage acquisition module 100 is used to acquire the voltage across the capacitor and the fourth bias voltage V. B4 This generates a first voltage V1, a second voltage V2, and a third voltage V3.

[0040] The voltage output module 200 is used to output voltages based on a first voltage V1, a second voltage V2, a third voltage V3, and a fourth bias voltage V. B4 Determine the voltage difference across the capacitor.

[0041] The voltage acquisition module 100 includes: a voltage input unit 110, a gain unit 120, a drive unit, and a bias unit 130.

[0042] Voltage input unit 110 is cascaded with gain unit 120, gain unit 120 is cascaded with drive unit, drive unit is cascaded with voltage input unit 110, and bias unit 130 is connected to drive unit; voltage input unit 110 is used to acquire the voltage across capacitor; gain unit 120 is used to acquire fourth bias voltage V. B4 The third voltage V3 is generated; the driving unit is used to generate the first voltage V1 and the second voltage V2.

[0043] Specifically, the voltage input unit 110 includes a first transistor T1, a second transistor T2, a third transistor T3, and a fourth transistor T4.

[0044] Among them, the first transistor T1, the second transistor T2, the third transistor T3, and the fourth transistor T4 are all P-channel MOSFETs.

[0045] The first transistor T1 has: the first transistor's first electrode T 1a The second electrode of the first transistor T 1b and the third electrode T of the first transistor 1c The second transistor T2 has: the first electrode T of the second transistor 2a The second transistor, second electrode T 2b and the third electrode T of the second transistor 2c The third transistor T3 has: the first terminal T of the third transistor 3a The second electrode of the third transistor T 3b and the third transistor's third electrode T 3c The fourth transistor T4 has: the first electrode T of the fourth transistor 4a The second electrode of the fourth transistor, T 4b and the third electrode T of the fourth transistor 4c .

[0046] The first transistor's first electrode T 1a The gate is the second electrode of the first transistor, T. 1b The source is the third terminal of the first transistor, T. 1c The drain is the first terminal of the second transistor, T. 2a The gate is the second transistor's second electrode, T. 2b The source is the second transistor, and the third transistor is T. 2c The drain is the first terminal of the third transistor, T.3a The gate, the second electrode of the third transistor, T 3b The source is the third transistor, and the third electrode is T. 3c The drain is the first terminal of the fourth transistor, T. 4a The gate, the second electrode of the fourth transistor, T 4b The source is the third terminal of the fourth transistor, T. 4c It is the drain electrode.

[0047] The first transistor's first electrode T 1a With the first electrode T of the third transistor 3a After connection, the voltage V used to connect one end of the capacitor is... IN1 The second transistor's second electrode T 2a With the first electrode T of the fourth transistor 4a After connection, the voltage V used to connect to the other end of the capacitor IN2 The second electrode of the first transistor, T 1b With the third transistor's third electrode T 3c Connection, second transistor second electrode T 2b With the third electrode T of the fourth transistor 4c Connection, first transistor third pole T 1c Connected to one end of the second resistor R2 in the drive unit, the third terminal T of the second transistor 2c Connect one end of the third resistor R3 in the drive unit, and the second terminal T of the third transistor 3b Connected to one end of the first resistor R1 of the gain unit 120, the second terminal T of the fourth transistor 4b Connect to the other end of the first resistor R1.

[0048] Specifically, the gain unit 120 includes a fifth transistor T5, a sixth transistor T6, and a first resistor R1.

[0049] Among them, the fifth transistor T5 and the sixth transistor T6 are both P-channel MOSFETs.

[0050] The fifth transistor T5 has: the first electrode T of the fifth transistor 5a The second electrode of the fifth transistor, T 5b and the third electrode T of the fifth transistor 5c The sixth transistor T6 has: the first electrode T of the sixth transistor 6a The second electrode of the sixth transistor, T 6b and the third electrode T of the sixth transistor 6c .

[0051] The first electrode of the fifth transistor, T 5a The gate, the second electrode of the fifth transistor, T 5b The source is the third terminal of the fifth transistor, T. 5c The drain is the first terminal of the sixth transistor, T.6a The gate, the second electrode of the sixth transistor, T 6b The source is the third terminal of the sixth transistor, T. 6c It is the drain electrode.

[0052] The first electrode of the fifth transistor, T 5a With the second electrode T of the sixth transistor 6a After connection, it is used to connect the fourth bias voltage V. B4 The fifth transistor's third electrode T 5c Connected to one end of the first resistor R1, the third terminal T of the sixth transistor 6c The other end of the first resistor R1 is connected to the second terminal T of the fifth transistor. 5b With the third electrode T of the seventh transistor in the drive unit 7c Connection, the second terminal of the sixth transistor T 6b With the third electrode T of the eighth transistor in the drive unit 8c The connection is used to generate the third voltage V3.

[0053] Specifically, the driving unit includes: the seventh transistor T7, the eighth transistor T8, the ninth transistor T9, and the tenth transistor T1. 10 11th transistor T 11 Twelfth transistor T 12 Thirteenth transistor T 13 Fourteenth transistor T 14 The second resistor R2 and the third resistor R3.

[0054] Among them, the seventh transistor T7, the eighth transistor T8, the ninth transistor T9, and the tenth transistor T 10 11th transistor T 11 and the twelfth transistor T 12 All are P-channel MOSFETs; the thirteenth transistor T 13 and the fourteenth transistor T 14 All are NPN transistors.

[0055] The seventh transistor T7 has: the first terminal T of the seventh transistor 7a The second electrode of the seventh transistor, T 7b and the third electrode T of the seventh transistor 7c The eighth transistor T8 has: the first terminal T of the eighth transistor 8a The second electrode of the eighth transistor, T 8b and the third electrode T of the eighth transistor 8c The ninth transistor T9 has: the first electrode T of the ninth transistor 9a The second electrode of the ninth transistor, T 9b and the third electrode T of the ninth transistor 9c ;Tenth transistor T 10It has: the first electrode T of the tenth transistor 10a The tenth transistor, second electrode T 10b and the third electrode T of the tenth transistor 10c ; Eleventh transistor T 11 It has: the first electrode T of the eleventh transistor 11a 11th transistor second electrode T 11b And the third electrode T of the eleventh transistor 11c ; Twelfth transistor T 12 It has: the first terminal T of the twelfth transistor 12a The second electrode of the twelfth transistor T 12b and the third electrode T of the twelfth transistor 12c ; Thirteenth transistor T 13 It has: the first electrode T of the thirteenth transistor 13a The second electrode of the thirteenth transistor, T 13b And the third electrode T of the thirteenth transistor 13c ; Fourteenth transistor T 14 It has: the first terminal T of the fourteenth transistor 14a The fourteenth transistor, second electrode T 14b and the third electrode T of the fourteenth transistor 14c .

[0056] The first electrode of the seventh transistor, T 7a The gate, the second terminal of the seventh transistor, T 7b The source, the third terminal of the seventh transistor, T 7c The drain is the first terminal of the eighth transistor, T. 8a The gate, the second electrode of the eighth transistor, T 8b The source, the third terminal of the eighth transistor, T 8c The drain is the first terminal of the ninth transistor, T. 9a The gate, the second electrode of the ninth transistor, T 9b The source, the third terminal of the ninth transistor, T 9c The drain; the first terminal of the tenth transistor, T. 10a The gate, the second terminal of the tenth transistor, T 10b The source, the third terminal of the tenth transistor, T 10c The drain is the first terminal of the eleventh transistor, T. 11a The gate is the second terminal of the eleventh transistor, T. 11b The source is the third terminal of the eleventh transistor, T. 11c The drain is the first terminal of the twelfth transistor, T. 12a The gate, the second terminal of the twelfth transistor, T. 12b The source is the third terminal of the twelfth transistor, T. 12c The drain; the first terminal of the thirteenth transistor, T. 13a The base is the second terminal of the thirteenth transistor, T.13b The emitter is the third terminal of the thirteenth transistor, T. 13c The collector; the first electrode of the fourteenth transistor, T. 14a The base is the second terminal of the fourteenth transistor, T. 14b The emitter is the third terminal of the fourteenth transistor, T. 14c It is the collector.

[0057] The first electrode of the seventh transistor, T 7a With the third electrode T of the ninth transistor 9c And the second electrode T of the eleventh transistor 11b After connection, it is used to generate the first voltage V1, and the second terminal T of the seventh transistor. 7b With the second electrode T of the eighth transistor 8b The second electrode of the ninth transistor, T 9b and the second electrode T of the tenth transistor 10b After connection, it is used to connect the first operating voltage V. DD1 The first electrode of the eighth transistor, T 8a With the third electrode T of the tenth transistor 10c and the second electrode T of the twelfth transistor 12b After connection, it is used to generate the second voltage V2, and the third terminal T of the seventh transistor. 7c With the second electrode T of the fifth transistor in gain unit 120 5b Connection, the third pole of the eighth transistor T 8c With the second electrode T of the sixth transistor in gain unit 120 6b Connection, the first electrode of the ninth transistor T 9a and the first electrode T of the tenth transistor 10a Used to connect the third bias voltage V B3 The first electrode of the eleventh transistor, T 11a and the first electrode T of the twelfth transistor 12a Used to connect the second bias voltage V B2 The eleventh transistor's third electrode T 11c With the third electrode T of the thirteenth transistor 13c Connection, the third terminal of the twelfth transistor T 12c With the fourteenth transistor's third electrode T 14c Connection, the first terminal of the thirteenth transistor T 13a With the first electrode T of the fourteenth transistor 14a After connection, it is connected to the first electrode T of the seventeenth transistor in the bias unit 130. 17a Connection, the second terminal of the thirteenth transistor T 13b Connected to one end of the second resistor R2, the second terminal T of the fourteenth transistor 14b Connect one end of the third resistor R3, and connect the other ends of the second resistor R2 and the third resistor R3 to the voltage reference point.

[0058] Specifically, the bias unit 130 includes: a fifteenth transistor T 15 The sixteenth transistor T 16 The seventeenth transistor T 17 Bias current source I B And the fourth resistor R4.

[0059] Among them, the fifteenth transistor T 15 and the sixteenth transistor T 16 All are N-channel MOSFETs; the seventeenth transistor T 17 It is an NPN transistor.

[0060] The fifteenth transistor T 15 It has: the first electrode T of the fifteenth transistor 15a The second electrode of the fifteenth transistor, T 15b and the third electrode T of the fifteenth transistor 15c ; Sixteenth transistor T 16 It has: the first electrode T of the sixteenth transistor 16a The second electrode of the sixteenth transistor, T 16b and the third electrode T of the sixteenth transistor 16c ; Seventeenth transistor T 17 It has: the first terminal T of the seventeenth transistor 17a The seventeenth transistor's second electrode T 17b and the third electrode T of the seventeenth transistor 17c .

[0061] The first electrode of the fifteenth transistor, T 15a The gate, the second terminal of the fifteenth transistor, T 15b The source, the third terminal of the fifteenth transistor, T 15c The drain; the first terminal of the sixteenth transistor, T. 16a The gate, the second terminal of the sixteenth transistor, T 16b The source, the third terminal of the sixteenth transistor, T. 16c The drain; the first terminal of the seventeenth transistor, T. 17a The base, the second terminal of the seventeenth transistor, T 17b The emitter is the third terminal of the seventeenth transistor, T. 17c It is the collector.

[0062] The first electrode of the fifteenth transistor, T 15a Used to connect the first bias voltage V B1 The fifteenth transistor, third electrode T 15c With the first electrode T of the seventeenth transistor 17a and the second electrode T of the sixteenth transistor 16b Connection, the seventeenth transistor's second terminal T 17bConnected to one end of the fourth resistor R4, the second terminal T of the fifteenth transistor 15b And the other end of the fourth resistor R4 is connected to the voltage reference point, and the third terminal T of the sixteenth transistor. 16c With bias current source I B One end is connected and used to connect the second working voltage V. DD2 The first electrode of the sixteenth transistor, T 16a With bias current source I B The other end and the third electrode T of the seventeenth transistor 17c connect.

[0063] Preferably, such as Figure 2 As shown, the voltage acquisition module 100 also includes a calibration point.

[0064] The adjustment point is set at the first electrode T of the thirteenth transistor in the voltage acquisition module 100. 13a With the first electrode T of the fourteenth transistor 14a The connection point is used to connect the adjustment current to correct for manufacturing deviations in the subtractor circuit.

[0065] During chip manufacturing, minute deviations in processes such as photolithography and doping can lead to inconsistencies in transistor parameters such as threshold voltage and transconductance, resulting in circuit offset voltage or gain errors. A trimming adjustment point is set in the subtractor circuit. A controllable small current (either source or sink current) is injected into this adjustment point via an external device. This injected current can fine-tune the flow through the thirteenth transistor T. 13 And the current ratio of the fourteenth transistor, ultimately fine-tuning the bias point of the entire circuit. Therefore, by injecting current into the adjustment point, offsets caused by process variations can be compensated, bringing the circuit's output zero or gain to the required level. Once the optimal adjustment current value is found, it can be permanently stored using non-volatile memory elements such as fuses, antifuses, or EEPROMs.

[0066] The voltage output module 200 includes: a first branch BC1, a second branch BC2, and a fifth resistor R5.

[0067] One end of the first branch BC1 is connected to one end of the second branch BC2, and then connected to one end of the fifth resistor R5. This connection is used to measure the voltage difference across the capacitor. The other end of the fifth resistor R5 is connected to the voltage reference point.

[0068] Specifically, the first branch BC1 includes: the first operational amplifier OP1 and the eighteenth transistor T. 18 The nineteenth transistor T 19 20th transistor T 20 Twenty-first transistor T 21 And the twenty-second transistor T 22 .

[0069] Among them, the eighteenth transistor T 18 and the nineteenth transistor T 19 It is a P-channel MOSFET; the twentieth transistor T 20 Twenty-first transistor T 21 And the twenty-second transistor T 22 All are N-channel MOSFETs.

[0070] The eighteenth transistor T 18 It has: the first electrode T of the eighteenth transistor 18a The second electrode of the eighteenth transistor, T 18b and the third electrode T of the eighteenth transistor 18c ; Nineteenth transistor T 19 It has: the first electrode T of the nineteenth transistor 19a The nineteenth transistor, second electrode T 19b and the third electrode T of the nineteenth transistor 19c ; Twentieth transistor T 20 It has: the first electrode T of the twentieth transistor 20a The twentieth transistor's second electrode T 20b And the third electrode T of the twentieth transistor 20c ; Twenty-first transistor T 21 It has: the first electrode T of the twenty-first transistor 21a The second electrode of the twenty-first transistor T 21b And the third electrode T of the twenty-first transistor 21c ; Twenty-second transistor T 22 It has: the first electrode T of the twenty-second transistor 22a The second electrode of the twenty-second transistor T 22b And the third electrode T of the twenty-second transistor 22c .

[0071] The first electrode of the eighteenth transistor, T 18a The gate, the second terminal of the eighteenth transistor, T. 18b The source, the third terminal of the eighteenth transistor, T. 18c The drain; the first terminal of the nineteenth transistor, T. 19a The gate, the second electrode of the nineteenth transistor, T. 19b The source, the third terminal of the nineteenth transistor, T. 19c The drain is the first terminal of the twentieth transistor, T. 20a The gate, the second electrode of the twentieth transistor, T. 20b The source is the twentieth transistor, and the third terminal is T. 20c The drain; the first terminal of the twenty-first transistor is T. 21a The gate, the second terminal of the twenty-first transistor, T. 21bThe source is the third terminal of the twenty-first transistor, T. 21c The drain is the first terminal of the twenty-second transistor, T. 22a The gate, the second terminal of the twenty-second transistor, T. 22b The source is the third terminal of the twenty-second transistor, T. 22c It is the drain electrode.

[0072] The non-inverting input of the first operational amplifier is connected to the third terminal of the nineteenth transistor, T. 19c The twentieth transistor, third electrode T 20c The twentieth transistor, first electrode T 20a and the first electrode T of the twenty-first transistor 21a Connection, the second terminal of the nineteenth transistor T 19b With the third electrode T of the eighteenth transistor 18c Connection, the second terminal of the eighteenth transistor T 18b Used to connect the first operating voltage V DD1 The first electrode of the eighteenth transistor, T 18a Used to receive the first voltage V1, the first terminal T of the nineteenth transistor 19a Receive the fourth bias voltage V B4 The inverting input of the first operational amplifier OP1 is connected to the third terminal of the twenty-first transistor T. 21c and the second electrode T of the twenty-second transistor 22b Connection, the second terminal of the twentieth transistor T 20b With the second electrode T of the twenty-first transistor 21b After connection, a voltage reference point is connected. The output of the first operational amplifier OP1 is connected to the first terminal T of the twenty-second transistor. 22a Connection, the third terminal of the twenty-second transistor T 22c As one end of the first branch road BC1.

[0073] Specifically, the second branch BC2 includes: the second operational amplifier OP2 and the twenty-third transistor T. 23 And the twenty-fourth transistor T 24 .

[0074] Twenty-third transistor T 23 And the twenty-fourth transistor T 24 All are P-channel MOSFETs.

[0075] Twenty-third transistor T 23 It has: the first electrode T of the twenty-third transistor 23a The second electrode of the twenty-third transistor T 23b And the third electrode T of the twenty-third transistor 23c ; Twenty-fourth transistor T 24 It has: the first electrode T of the twenty-fourth transistor 24aThe second electrode of the twenty-fourth transistor T 24b And the third electrode T of the twenty-fourth transistor 24c .

[0076] The first electrode of the 23rd transistor T 23a The gate, the second electrode of the twenty-third transistor, T. 23b The source, the third terminal of the twenty-third transistor, T. 23c The drain; the first terminal of the twenty-fourth transistor is T. 24a The gate, the second electrode of the twenty-fourth transistor, T. 24b The source, the third terminal of the twenty-fourth transistor, T. 24c It is the drain electrode.

[0077] The non-inverting input of the second operational amplifier OP2 is connected to the third terminal of the twenty-third transistor T. 23c and the second electrode T of the twenty-fourth transistor 24b Connection, the first terminal of the twenty-third transistor T 23a Used to continuously receive the second voltage V2, the second terminal of the twenty-third transistor T 23b Used to connect the first operating voltage V DD1 The inverting input of the second operational amplifier OP2 is used to receive the third voltage V3, and the output of the second operational amplifier OP2 is connected to the first terminal T of the twenty-fourth transistor. 24a Connection, the 24th transistor's third electrode T 24c As one end of the second branch road BC2.

[0078] The subtractor circuit works as follows: the first transistor T1, the second transistor T2, the third transistor T3, and the fourth transistor T4 constitute the input transconductance stage, and the thirteenth transistor T... 13 Fourteenth transistor T 14 The second resistor R2 and the third resistor R3 serve as loads. A static operating current is defined as the constant current in both transistors T1 and T2. The input voltage difference is applied to the first resistor R1, generating a loop control current. Let the current flowing through the seventh transistor T7 and the eighth transistor T8 be denoted as the first current. The loop control current is the difference between the first current and the second current. The first current is replicated through a current mirror to flow through the eighteenth transistor T1. 18 The current, the first operational amplifier OP1 clamps the twentieth transistor T 20 And the twenty-first transistor T 21 The drain voltages are equal, ensuring that the twentieth transistor T... 20 And the twenty-first transistor T 21 The current is accurately replicated and output to one end of the fifth resistor R5; the second current is replicated through the current mirror as flowing through the twenty-third transistor T. 23The current, the second operational amplifier OP2 clamps the twenty-third transistor T 23 The drain current is controlled to ensure accurate current replication and output to one end of the fifth resistor R5. Therefore, the current flowing through the fifth resistor R5 is the difference between the first current and the second current, which generates a voltage (V) across one end of the capacitor on the fifth resistor R5. IN1 ) and the voltage (V) at the other end of the capacitor IN2 The difference is as follows. Because it is a closed-loop control, the amplitudes of the first current and the second current can be precisely controlled.

[0079] By implementing the subtractor circuit described in the embodiments of this application, the input voltage has a wide range by obtaining the voltage difference across the capacitor and determining the voltage difference across the capacitor accordingly; by adjusting the adjustment point, the manufacturing process deviation of the subtractor circuit can be corrected.

[0080] All of the above-mentioned optional technical solutions can be combined in any way to form the optional embodiments of this application, and will not be described in detail here.

[0081] Note that the above description is merely a preferred embodiment and the technical principles employed in this application. Those skilled in the art will understand that this application is not limited to the specific embodiments described herein, and various obvious changes, readjustments, and substitutions can be made without departing from the scope of protection of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of protection of this application. Therefore, although this application has been described in detail through the above embodiments, this application is not limited to the above embodiments. Many other equivalent embodiments may be included without departing from the concept of this application, and the scope of this application is determined by the scope of the appended claims.

Claims

1. A subtractor circuit, characterized in that, include: Voltage acquisition module (100) and voltage output module (200); The voltage acquisition module (100) is used for acquiring the voltage across the capacitor and the fourth bias voltage (V B4 ), and generating the first voltage (V1), the second voltage (V2) and the third voltage (V3). The voltage output module (200) is configured to determine a voltage difference across the capacitor according to the first voltage (V1), the second voltage (V2), the third voltage (V3), and the fourth bias voltage (V B4 ).

2. The subtractor circuit according to claim 1, characterized in that, The voltage acquisition module (100) includes: a voltage input unit (110), a gain unit (120), a driving unit, and a bias unit (130). The voltage input unit (110) is cascaded with the gain unit (120), the gain unit (120) is cascaded with the drive unit, the drive unit is cascaded with the voltage input unit (110), and the bias unit (130) is connected to the drive unit. The voltage input unit (110) is used to obtain the voltage across the capacitor; The gain unit (120) is configured to obtain a fourth bias voltage (V B4 ) and generate the third voltage (V3). The driving unit is used to generate the first voltage (V1) and the second voltage (V2).

3. The subtractor circuit according to claim 1, characterized in that, The voltage input unit (110) includes: a first transistor (T1), a second transistor (T2), a third transistor (T3), and a fourth transistor (T4); The first transistor (T1) has: a first transistor first electrode (T 1a ), the second electrode of the first transistor (T) 1b ) and the third electrode of the first transistor (T) 1c ); The second transistor (T2) has: the first electrode of the second transistor (T) 2a ), the second transistor's second electrode (T) 2b ) and the third electrode of the second transistor (T) 2c ); The third transistor (T3) has: the first electrode of the third transistor (T 3a ), the second electrode of the third transistor (T) 3b ) and the third transistor's third electrode (T 3c ); The fourth transistor (T4) has: the first electrode of the fourth transistor (T) 4a ), the second electrode of the fourth transistor (T) 4b ) and the third electrode of the fourth transistor (T) 4c ); The first transistor's first electrode (T) 1a ) and the first electrode of the third transistor (T) 3a After connection, the voltage (V) used to connect to one end of the capacitor is... IN1 ), the second transistor's second electrode (T) 2a ) and the first electrode of the fourth transistor (T) 4a After connection, the voltage (V) used to connect to the other end of the capacitor. IN2 ), the second electrode of the first transistor (T) 1b ) and the third transistor third electrode (T 3c ) connection, the second transistor's second electrode (T 2b ) and the third electrode of the fourth transistor (T) 4c ) connection, the third electrode of the first transistor (T 1c The second transistor is connected to one end of the second resistor (R2) in the driving unit, and the third terminal (T) of the second transistor is connected to one end of the second resistor (R2) in the driving unit. 2c The third transistor is connected to one end of the third resistor (R3) in the driving unit, and the second terminal (T) of the third transistor is connected to one end of the third resistor (R3). 3b The fourth transistor is connected to one end of the first resistor (R1) of the gain unit (120), and the second terminal (T) of the fourth transistor is connected to the first resistor (R1) of the gain unit (120). 4b ) is connected to the other end of the first resistor (R1).

4. The subtractor circuit according to claim 1, characterized in that, The gain unit (120) includes: a fifth transistor (T5), a sixth transistor (T6), and a first resistor (R1); The fifth transistor (T5) has: the first electrode of the fifth transistor (T) 5a ), the second electrode of the fifth transistor (T) 5b ) and the third electrode of the fifth transistor (T) 5c ); The sixth transistor (T6) has: the first electrode of the sixth transistor (T) 6a ), the second electrode of the sixth transistor (T) 6b ) and the third electrode of the sixth transistor (T) 6c ); The first electrode of the fifth transistor (T) 5a ) and the second electrode of the sixth transistor (T) 6a After connection, it is used to connect the fourth bias voltage (V). B4 The third electrode of the fifth transistor (T) 5c The third terminal of the sixth transistor (T) is connected to one end of the first resistor (R1), and the third terminal of the sixth transistor (T) is connected to the first resistor (R1). 6c The fifth transistor's second terminal (T) is connected to the other end of the first resistor (R1). 5b ) and the third electrode of the seventh transistor in the driving unit (T 7c ) connection, the second electrode of the sixth transistor (T 6b ) and the third electrode of the eighth transistor in the driving unit (T) 8c ) connection, used to generate the third voltage (V3).

5. The subtractor circuit according to claim 1, characterized in that, The driving unit includes: a seventh transistor (T7), an eighth transistor (T8), a ninth transistor (T9), and a tenth transistor (T1). 10 ), eleventh transistor (T) 11 ), the twelfth transistor (T) 12 ), the thirteenth transistor (T) 13 ), the fourteenth transistor (T) 14 ), second resistor (R2) and third resistor (R3); The seventh transistor (T7) has: the first electrode of the seventh transistor (T) 7a ), the second electrode of the seventh transistor (T) 7b ) and the third electrode of the seventh transistor (T) 7c ); The eighth transistor (T8) has: the first electrode of the eighth transistor (T 8a ), the second electrode of the eighth transistor (T) 8b ) and the third electrode of the eighth transistor (T) 8c ); The ninth transistor (T9) has: the first electrode of the ninth transistor (T) 9a ), the second electrode of the ninth transistor (T) 9b ) and the third electrode of the ninth transistor (T) 9c ); The tenth transistor (T) 10 It has: the first electrode of the tenth transistor (T) 10a ), the second electrode of the tenth transistor (T) 10b ) and the third electrode of the tenth transistor (T) 10c ); The eleventh transistor (T) 11 It has: the first electrode of the eleventh transistor (T) 11a ), the second electrode of the eleventh transistor (T) 11b ) and the third electrode of the eleventh transistor (T) 11c ); The twelfth transistor (T) 12 It has: the first electrode of the twelfth transistor (T) 12a ), the second electrode of the twelfth transistor (T) 12b ) and the third electrode of the twelfth transistor (T) 12c ); The thirteenth transistor (T) 13 It has: the first electrode of the thirteenth transistor (T) 13a ), the second electrode of the thirteenth transistor (T) 13b ) and the third electrode of the thirteenth transistor (T) 13c ); The fourteenth transistor (T) 14 It has: the first electrode of the fourteenth transistor (T) 14a ), the fourteenth transistor's second electrode (T) 14b ) and the third electrode of the fourteenth transistor (T) 14c ); The first electrode of the seventh transistor (T) 7a ) and the third electrode of the ninth transistor (T) 9c ) and the second electrode of the eleventh transistor (T) 11b After connection, it is used to generate the first voltage (V1), the second electrode of the seventh transistor (T) 7b ) and the second electrode of the eighth transistor (T) 8b The second electrode of the ninth transistor (T) 9b ) and the second electrode of the tenth transistor (T) 10b After connection, it is used to connect the first working voltage (V). DD1 The first electrode of the eighth transistor (T) 8a ) and the third electrode of the tenth transistor (T) 10c ) and the second electrode of the twelfth transistor (T) 12b After connection, it is used to generate the second voltage (V2), the third electrode of the seventh transistor (T) 7c ) and the second electrode of the fifth transistor in the gain unit (120) (T 5b ) connection, the third electrode of the eighth transistor (T 8c ) and the second electrode (T) of the sixth transistor in the gain unit (120) 6b ) connection, the first electrode of the ninth transistor (T 9a ) and the first electrode of the tenth transistor (T) 10a ) is used to connect the third bias voltage (V B3 The first electrode of the eleventh transistor (T) 11a ) and the first electrode of the twelfth transistor (T) 12a ) is used to connect the second bias voltage (V) B2 The eleventh transistor's third electrode (T) 11c ) and the third electrode of the thirteenth transistor (T) 13c ) connection, the third electrode of the twelfth transistor (T 12c ) and the third electrode of the fourteenth transistor (T) 14c ) connection, the first electrode of the thirteenth transistor (T) 13a ) and the first electrode of the fourteenth transistor (T) 14a After connection, it is connected to the first electrode (T) of the seventeenth transistor in the bias unit (130). 17a ) connection, the second electrode of the thirteenth transistor (T) 13b The fourteenth transistor's second terminal (T) is connected to one end of the second resistor (R2), and the second terminal (T) of the fourteenth transistor is connected to the second resistor (R2). 14b The second resistor (R2) is connected to one end of the third resistor (R3), and the other end of the second resistor (R2) and the other end of the third resistor (R3) are connected to the voltage reference point.

6. The subtractor circuit according to claim 1, characterized in that, The bias unit (130) includes: a fifteenth transistor (T 15 ), the sixteenth transistor (T) 16 ), the seventeenth transistor (T) 17 ), bias current source (I) B ) and the fourth resistor (R4); The fifteenth transistor (T) 15 It has: the first electrode of the fifteenth transistor (T) 15a ), the second electrode of the fifteenth transistor (T) 15b ) and the third electrode of the fifteenth transistor (T) 15c ); The sixteenth transistor (T) 16 It has: the first electrode of the sixteenth transistor (T) 16a ), the second electrode of the sixteenth transistor (T) 16b ) and the third electrode of the sixteenth transistor (T) 16c ); The seventeenth transistor (T) 17 It has: the first electrode of the seventeenth transistor (T) 17a ), the seventeenth transistor's second electrode (T) 17b ) and the third electrode of the seventeenth transistor (T) 17c ); The first electrode of the fifteenth transistor (T) 15a ) is used to connect the first bias voltage (V B1 The third electrode of the fifteenth transistor (T) 15c ) and the first electrode of the seventeenth transistor (T) 17a ) and the second electrode of the sixteenth transistor (T) 16b ) connection, the seventeenth transistor second electrode (T 17b The fourth resistor (R4) is connected to one end of the fifth transistor, and the second terminal of the fifth transistor (T) is connected to the second terminal of the fifth transistor. 15b The other end of the fourth resistor (R4) is connected to the voltage reference point, and the third terminal of the sixteenth transistor (T) 16c ) and the bias current source (I B After one end is connected, it is used to connect the second working voltage (V). DD2 The first electrode of the sixteenth transistor (T) 16a ) and the bias current source (I B The other end of the transistor and the third electrode of the seventeenth transistor (T) 17c )connect.

7. The subtractor circuit according to any one of claims 1-6, characterized in that, The voltage acquisition module (100) also includes a calibration point; The adjustment point is set at the first electrode (T) of the thirteenth transistor in the voltage acquisition module (100). 13a ) and the first electrode of the fourteenth transistor (T) 14a The connection point is used to connect the adjustment current to correct process deviations in the manufacture of the subtractor circuit.

8. The subtractor circuit according to claim 1, characterized in that, The voltage output module (200) includes: a first branch (BC1), a second branch (BC2), and a fifth resistor (R5); One end of the first branch (BC1) is connected to one end of the second branch (BC2) and then connected to one end of the fifth resistor (R5) to output the voltage difference across the capacitor. The other end of the fifth resistor (R5) is connected to a voltage reference point.

9. The subtractor circuit according to claim 8, characterized in that, The first branch (BC1) includes: a first operational amplifier (OP1) and an eighteenth transistor (T). 18 ), the nineteenth transistor (T) 19 ), the twentieth transistor (T) 20 ), Twenty-first transistor (T) 21 ) and the twenty-second transistor (T 22 ); The eighteenth transistor (T) 18 It has: the first electrode of the eighteenth transistor (T) 18a ), the second electrode of the eighteenth transistor (T) 18b ) and the third electrode of the eighteenth transistor (T) 18c ); The nineteenth transistor (T) 19 It has: the first electrode of the nineteenth transistor (T) 19a ), the second electrode of the nineteenth transistor (T) 19b ) and the third electrode of the nineteenth transistor (T) 19c ); The twentieth transistor (T) 20 It has: the first electrode of the twentieth transistor (T) 20a ), the second electrode of the twentieth transistor (T) 20b ) and the twentieth transistor's third electrode (T) 20c ); The 21st transistor (T) 21 It has: the first electrode of the twenty-first transistor (T) 21a ), the second electrode of the twenty-first transistor (T) 21b ) and the third electrode of the twenty-first transistor (T) 21c ); The 22nd transistor (T) 22 It has: the first electrode of the twenty-second transistor (T) 22a ), the second electrode of the twenty-second transistor (T) 22b ) and the third electrode of the twenty-second transistor (T) 22c ); The non-inverting input of the first operational amplifier is connected to the third terminal of the nineteenth transistor (T). 19c ), and the third electrode of the twentieth transistor (T) 20c ), and the first electrode of the twentieth transistor (T) 20a ) and the first electrode of the twenty-first transistor (T) 21a ) connection, the second electrode of the nineteenth transistor (T 19b ) and the third electrode of the eighteenth transistor (T) 18c ) connection, the second electrode of the eighteenth transistor (T 18b ) is used to connect the first operating voltage (V) DD1 The first electrode of the eighteenth transistor (T) 18a ) is used to receive the first voltage (V1), the first terminal of the nineteenth transistor (T) 19a ) Receives the fourth bias voltage (V B4 The inverting input of the first operational amplifier (OP1) is connected to the third terminal of the twenty-first transistor (T). 21c ) and the second electrode of the twentieth-twelfth transistor (T) 22b ) connection, the second terminal of the twentieth transistor (T) 20b ) and the second electrode of the 21st transistor (T) 21b After connection to the voltage reference point, the output terminal of the first operational amplifier (OP1) is connected to the first terminal (T) of the 22nd transistor. 22a ) connection, the third electrode of the 22nd transistor (T) 22c ) serves as one end of the first branch (BC1).

10. The subtractor circuit according to claim 1, characterized in that, The second branch (BC2) includes: the second operational amplifier (OP2), the twenty-third transistor (T... 23 ) and the twenty-fourth transistor (T 24 ); The 23rd transistor (T) 23 It has: the first electrode of the twenty-third transistor (T) 23a ), the second electrode of the twenty-third transistor (T) 23b ) and the third electrode of the twenty-third transistor (T) 23c ); The 24th transistor (T) 24 It has: the first electrode of the twenty-fourth transistor (T) 24a ), the second electrode of the twenty-fourth transistor (T) 24b ) and the third electrode of the twenty-fourth transistor (T) 24c ); The non-inverting input of the second operational amplifier (OP2) is connected to the third terminal of the twenty-third transistor (T). 23c ) and the second electrode of the twenty-fourth transistor (T) 24b ) connection, the first electrode of the 23rd transistor (T) 23a ) is used to receive the second voltage (V2), and the second terminal of the twenty-third transistor (T) 23b ) is used to connect the first operating voltage (V) DD1 The inverting input of the second operational amplifier (OP2) is used to receive the third voltage (V3), and the output of the second operational amplifier (OP2) is connected to the first terminal of the twenty-fourth transistor (T). 24a ) connection, the third electrode of the 24th transistor (T 24c ) serves as one end of the second branch (BC2).