CN114679181A - Digital-to-analog converter and comparison circuit for voltage superposition - Google Patents

Digital-to-analog converter and comparison circuit for voltage superposition Download PDF

Info

Publication number
CN114679181A
CN114679181A CN202210205003.3A CN202210205003A CN114679181A CN 114679181 A CN114679181 A CN 114679181A CN 202210205003 A CN202210205003 A CN 202210205003A CN 114679181 A CN114679181 A CN 114679181A
Authority
CN
China
Prior art keywords
current
electrically connected
voltage
circuit
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210205003.3A
Other languages
Chinese (zh)
Other versions
CN114679181B (en
Inventor
袁冰
薛晓磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tuoer Microelectronics Co ltd
Original Assignee
Tuoer Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tuoer Microelectronics Co ltd filed Critical Tuoer Microelectronics Co ltd
Priority to CN202210205003.3A priority Critical patent/CN114679181B/en
Publication of CN114679181A publication Critical patent/CN114679181A/en
Application granted granted Critical
Publication of CN114679181B publication Critical patent/CN114679181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/66Digital/analogue converters

Abstract

The application is suitable for the power electronics field, provides a digital-to-analog converter and comparison circuit for voltage stack's digital-to-analog converter includes first current cell, second current cell and voltage stack unit, first current cell is used for being connected with first voltage source electricity, second current cell is used for ground connection, first current cell voltage stack unit with second current cell concatenates in proper order. The digital-to-analog converter for voltage superposition provided by the embodiment of the application can solve the problem that the existing digital-to-analog converter can not directly superpose the analog output voltage converted by binary coding with the known voltage.

Description

Digital-to-analog converter and comparison circuit for voltage superposition
Technical Field
The application belongs to the technical field of power electronics, and particularly relates to a digital-to-analog converter and a comparison circuit for voltage superposition.
Background
The existing digital-to-analog converter generally takes the ground in a circuit as a voltage reference point, the analog output voltage converted by the binary code is the voltage relative to the ground, and the analog output voltage converted by the binary code cannot be directly superposed with the known voltage.
Disclosure of Invention
The embodiment of the application provides a digital-to-analog converter for voltage superposition, which can solve the problem that the existing digital-to-analog converter cannot directly superpose the analog output voltage converted by binary coding with the known voltage.
In a first aspect, an embodiment of the present application provides a digital-to-analog converter for voltage superposition, including a first current unit, a second current unit, and a voltage superposition unit, where the first current unit is used to be electrically connected to a first voltage source, the second current unit is used to be grounded, and the first current unit, the voltage superposition unit, and the second current unit are sequentially connected in series;
the first current unit is used for receiving a target digital signal, providing a target current signal according to the target digital signal, and controlling the target current signal to be loaded at a first loading point or a second loading point in the voltage superposition unit;
the second current unit is used for receiving the target digital signal, providing the target current signal according to the target digital signal, and controlling the target current signal to be loaded at a second loading point or a first loading point in the voltage superposition unit;
When a target current signal provided by the first current unit is loaded at a first loading point in the voltage superposition unit and a target current signal provided by the second current unit is loaded at a second loading point in the voltage superposition unit, the flow direction of the target current signal in the voltage superposition unit is a first direction; when a target current signal provided by the first current unit is loaded at a second loading point in the voltage superposition unit and a target current signal provided by the second current unit is loaded at a first loading point in the voltage superposition unit, the flow direction of the target current signal in the voltage superposition unit is a second direction; the first direction and the second direction are opposite;
the voltage superposition unit is used for receiving a target voltage signal, superposing the target voltage signal and the first voltage signal and outputting an analog voltage signal; the first voltage signal is generated by the voltage superposition unit according to the target current signal.
In a possible implementation manner of the first aspect, the first current unit includes a first current input circuit, a first current source circuit, a first switch circuit, and a first commutation circuit; the first current source circuit and the first current input circuit are both used for being electrically connected with the first voltage source, the first current input circuit is electrically connected with the first current source circuit, the first switch circuit is respectively electrically connected with the first current source circuit and the first reversing circuit, and the first reversing circuit is respectively electrically connected with a first loading point and a second loading point on the voltage superposition unit;
The first current input circuit is used for providing a first input current for the first current source circuit;
the first current source circuit is used for providing N-1 reference current signals according to the first input current;
the first switch circuit is used for selecting M reference current signals from the N-1 reference current signals according to the target digital signal to form the target current signal; wherein N is an integer of 2 or more, M is more than or equal to 0 and less than or equal to N-1, and M is an integer;
the first commutation circuit is used for controlling the target current signal to be loaded on a first loading point or a second loading point in the voltage superposition unit according to the target digital signal.
In one possible implementation manner of the first aspect, the first current source circuit comprises N-1 first current sources, the first switch circuit comprises N-1 first switches, and the first commutation circuit comprises a first gating switch; the N-1 first current sources are electrically connected with the first current input circuit, the anodes of the N-1 first current sources are used for being electrically connected with the first voltage source, the cathodes of the N-1 first current sources are electrically connected with the first ends of the N-1 first switches in a one-to-one correspondence manner, the second ends of the N-1 first switches are electrically connected with the first end of the first gating switch, the second end of the first gating switch is electrically connected with a first loading point on the voltage superposition unit, and the third end of the first gating switch is electrically connected with a second loading point on the voltage superposition unit;
The reference currents provided by the N-1 first current sources are respectively 2N-2I,2N-3I, …, 2I, I, wherein N is an integer greater than or equal to 2, and I is the first current input powerA first input current provided by the circuit; the control end of the N-1 first switches is used for receiving N-1 data bits in the target digital signal, and the N-1 data bits are B in sequenceN-2,BN-3,…,B1,B0The data bit is used for indicating that the corresponding first switch is switched on or off; the control end of the first gating switch is used for receiving a sign bit in the target digital signal, and the sign bit is BN-1And the sign bit is used for indicating the first gating switch to load the target current signal on a first load point or a second load point in the voltage superposition unit.
In a possible implementation manner of the first aspect, the first current input circuit includes an operational amplifier, a first resistor, a second resistor, a first NMOS transistor, a first PMOS transistor, and a second PMOS transistor;
the non-inverting input end of the operational amplifier is used for receiving a reference voltage, the inverting input end of the operational amplifier is respectively and electrically connected with the first end of the first resistor and the source electrode of the first NMOS tube, the second end of the first resistor is grounded, and the output end of the operational amplifier is electrically connected with the grid electrode of the first NMOS tube; the drain electrode of the first NMOS tube is electrically connected with the first end of the second resistor, the grid electrode of the second PMOS tube and the N-1 first current sources respectively; the second end of the second resistor is electrically connected with the drain electrode of the second PMOS tube, the grid electrode of the first PMOS tube and the N-1 first current sources respectively; the source electrode of the second PMOS tube is electrically connected with the drain electrode of the first PMOS tube, and the source electrode of the first PMOS tube is used for being electrically connected with the first voltage source.
In a possible implementation manner of the first aspect, each of the first current sources includes a fifth PMOS transistor and a sixth PMOS transistor; each first switch comprises an eighth NMOS transistor;
the source electrode of the fifth PMOS tube is used for being electrically connected with the first voltage source, the gate electrode of the fifth PMOS tube is electrically connected with the second end of the second resistor, the drain electrode of the fifth PMOS tube is electrically connected with the source electrode of the sixth PMOS tube, the gate electrode of the sixth PMOS tube is electrically connected with the drain electrode of the first NMOS tube, the drain electrode of the sixth PMOS tube is electrically connected with the drain electrode of the eighth NMOS tube, the gate electrode of the eighth NMOS tube is used for receiving one data bit in the target digital signal, and the source electrode of the eighth NMOS tube is electrically connected with the first end of the first gating switch;
the branch circuit formed by the first PMOS tube and the second PMOS tube and the branch circuits formed by the N-1 fifth PMOS tubes and the sixth PMOS tubes form a cascode first current mirror, and the proportion of the first current mirror is 1: 2N-2:2N -3:……:2:1;
The first gating switch comprises an inverter, a fourth NMOS tube and a fifth NMOS tube;
the input end of the phase inverter is used for receiving a sign bit in the target digital signal, the input end of the phase inverter is electrically connected with the gate of the fifth NMOS transistor, the output end of the phase inverter is electrically connected with the gate of the fourth NMOS transistor, the drain of the fourth NMOS transistor is electrically connected with the drain of the fifth NMOS transistor and the source of the eighth NMOS transistor respectively, the source of the fourth NMOS transistor is electrically connected with the first loading point of the voltage superposition unit, and the source of the fifth NMOS transistor is electrically connected with the second loading point of the voltage superposition unit.
In a possible implementation manner of the first aspect, the second current unit includes a second current input circuit, a second current source circuit, a second switch circuit, and a second commutation circuit; the second current input circuit is used for being electrically connected with the first voltage source, and the second current source circuit is used for being grounded; the second current input circuit is electrically connected with the second current source circuit, the second switch circuit is electrically connected with the second current source circuit and the second reversing circuit respectively, and the second reversing circuit is electrically connected with a first load point and a second load point on the voltage superposition unit respectively;
the second current input circuit is used for providing a second input current for the second current source circuit;
the second current source circuit is used for providing N-1 reference current signals according to the second input current;
the second switch circuit is used for selecting M reference current signals from the N-1 reference current signals according to the target digital signal to form the target current signal; wherein N is an integer greater than or equal to 2, M is greater than or equal to 0 and less than or equal to N-1, and M is an integer;
the second commutation circuit is used for controlling the target current signal to be loaded on a second loading point or a first loading point in the voltage superposition unit according to the target digital signal.
In one possible implementation manner of the first aspect, the second current source circuit comprises N-1 second current sources, the second switch circuit comprises N-1 second switches, and the second commutation circuit comprises a second gating switch; the N-1 second current sources are electrically connected with the second current input circuit, anodes of the N-1 second current sources are electrically connected with first ends of the N-1 second switches in a one-to-one correspondence manner, cathodes of the N-1 second current sources are grounded, second ends of the N-1 second switches are electrically connected with first ends of the second gating switches, second ends of the second gating switches are electrically connected with a first loading point on the voltage superposition unit, and third ends of the second gating switches are electrically connected with a second loading point on the voltage superposition unit;
the reference currents of the N-1 second current sources are respectively 2N-2I,2N-3I, …, 2I, I, wherein N is an integer greater than or equal to 2, and I is a second input current provided by the second current input circuit;
the control ends of the N-1 second switches are used for receiving N-1 data bits in the target digital signal, and the data bits are used for indicating the corresponding second switches to be switched on or switched off; the control end of the second gating switch is used for receiving a sign bit in the target digital signal, and the sign bit is used for instructing the second gating switch to load the target current signal on a second load point or a first load point in the voltage superposition unit;
The second current input circuit comprises a third PMOS tube, a fourth PMOS tube, a third NMOS tube, a second NMOS tube and a third resistor;
the source electrode of the third PMOS tube is used for being electrically connected with the first voltage source, the grid electrode of the third PMOS tube is electrically connected with the second end of the second resistor, the drain electrode of the third PMOS tube is electrically connected with the source electrode of the fourth PMOS tube, the grid electrode of the fourth PMOS tube is electrically connected with the first end of the second resistor, the drain electrode of the fourth PMOS tube is electrically connected with the first end of the third resistor and the grid electrode of the third NMOS tube respectively, the second end of the third resistor is electrically connected with the drain electrode of the third NMOS tube and the grid electrode of the second NMOS tube respectively, the source electrode of the third NMOS tube is electrically connected with the drain electrode of the second NMOS tube, the source electrode of the second NMOS tube is grounded, and the grid electrode of the third NMOS tube and the grid electrode of the second NMOS tube are both electrically connected with the N-1 second current sources;
the branch composed of the third PMOS tube and the fourth PMOS tube and the branch composed of the first PMOS tube and the second PMOS tube form a cascode second current mirror, and the proportion of the second current mirror is 1: 1.
In a possible implementation manner of the first aspect, each second current source includes a tenth NMOS transistor and an eleventh NMOS transistor, and each second switch includes a ninth NMOS transistor;
the grid electrode of the ninth NMOS tube is used for receiving a data bit in the target digital signal, the drain electrode of the ninth NMOS tube is electrically connected with the first end of the second gating switch, the source electrode of the ninth NMOS tube is electrically connected with the drain electrode of the tenth NMOS tube, the grid electrode of the tenth NMOS tube is electrically connected with the grid electrode of the third NMOS tube, the source electrode of the tenth NMOS tube is electrically connected with the drain electrode of the eleventh NMOS tube, the grid electrode of the eleventh NMOS tube is electrically connected with the grid electrode of the second NMOS tube, and the source electrode of the eleventh NMOS tube is grounded;
a branch composed of the second NMOS transistor and the third NMOS transistor and N-1 branches composed of the tenth NMOS transistor and the eleventh NMOS transistor form a cascode third current mirror, where the third current mirror has a ratio of 1: 2N-2:2N -3:……:2:1;
The second gating switch comprises a sixth NMOS transistor and a seventh NMOS transistor;
a gate of the sixth NMOS transistor is electrically connected to an input terminal of the phase inverter, a gate of the seventh NMOS transistor is electrically connected to an output terminal of the phase inverter, a source of the sixth NMOS transistor is electrically connected to a source of the seventh NMOS transistor and a drain of the ninth NMOS transistor, respectively, a drain of the sixth NMOS transistor is electrically connected to the first loading point of the voltage superposition unit, and a drain of the seventh NMOS transistor is electrically connected to the second loading point of the voltage superposition unit.
In a possible implementation manner of the first aspect, the voltage superposition unit includes a first superposition resistor, a first end of the first superposition resistor is electrically connected to the source of the fourth NMOS transistor and the drain of the sixth NMOS transistor, respectively, a second end of the first superposition resistor is electrically connected to the source of the fifth NMOS transistor and the drain of the seventh NMOS transistor, respectively, and the first voltage signal is generated according to the first superposition resistor and the target current signal.
In a second aspect, an embodiment of the present application provides a comparison circuit, which includes an N-bit successive approximation register, a third switch, a fourth switch, a comparator, and the foregoing digital-to-analog converter for voltage superposition;
the N-bit successive approximation register is electrically connected with the digital-to-analog converter, a first end of the third switch is electrically connected with the digital-to-analog converter, an output end of the digital-to-analog converter is electrically connected with a reverse input end of the comparator, and a second end of the third switch is electrically connected with a first end of the fourth switch and a same-direction input end of the comparator respectively; a first terminal of the third switch is configured to receive a third voltage, and a second terminal of the fourth switch is configured to receive a fourth voltage; the output end of the comparator is electrically connected with the N-bit successive approximation register;
During calibration, the third switch is closed, the fourth switch is opened, the N-bit successive approximation register acquires a clock signal, determines the target digital signal according to the clock signal and a level signal output by the comparator, and outputs the target digital signal; the digital-to-analog converter is used for determining an output analog voltage signal according to the target digital signal so that the analog voltage signal output by the digital-to-analog converter can eliminate the offset voltage of the comparator.
Compared with the prior art, the embodiment of the application has the advantages that:
the embodiment of the application provides a digital-to-analog converter for voltage superposition, which comprises a first current unit, a second current unit and a voltage superposition unit, wherein the first current unit is electrically connected with a first voltage source, the second current unit is grounded, and the first current unit, the voltage superposition unit and the second current unit are sequentially connected in series. The existing digital-to-analog converter takes the ground in the circuit as a voltage reference point, and the analog output voltage converted by the binary code cannot be directly superposed with the known voltage. According to the embodiment of the application, the first current unit and the second current unit enable the analog voltage signal output by the digital-to-analog converter not to be the voltage relative to the ground, and the problem that the analog output voltage converted by the binary code cannot be directly superposed with the known voltage by the conventional digital-to-analog converter is solved. The specific process is as follows: the first current unit provides a target current signal according to the target digital signal and controls the target current signal to be loaded at a first loading point or a second loading point in the voltage superposition unit; the second current unit provides a target current signal according to the target digital signal and controls the target current signal to be loaded at a second loading point or a first loading point in the voltage superposition unit; the voltage superposition unit generates a first voltage signal according to the target current signal, and the first voltage signal can be directly superposed with the target voltage signal received by the voltage superposition unit and output an analog voltage signal.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required to be used in the embodiments or the prior art description will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings may be obtained according to these drawings without inventive labor.
Fig. 1 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
fig. 3 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
fig. 5 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
fig. 6 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a digital-to-analog converter for voltage superposition according to another embodiment of the present application;
Fig. 8 is a schematic structural diagram of a comparison circuit according to another embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in the specification of this application and the appended claims, the term "if" may be interpreted contextually as "when …" or "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
As shown in fig. 1, an embodiment of the present application provides a digital-to-analog converter for voltage superposition, which can solve a problem that an existing digital-to-analog converter cannot directly superimpose an analog output voltage converted from a binary code with a known voltage. Comprises a first current unit 10, a second current power supply 30 and a voltage superposition unit 20, wherein the first current unit 10 is used for connecting with a first voltage sourceVCCAnd the second current unit 30 is electrically connected to ground, and the first current unit 10, the voltage superposition unit 20 and the second current unit 30 are sequentially connected in series.
Specifically, the first current unit 10 receives a target digital signal, provides a target current signal according to the target digital signal, and controls the target current signal to be loaded at a first load point or a second load point in the voltage superposition unit 20.
The second current unit 30 receives the target digital signal, provides the target current signal according to the target digital signal, and controls the target current signal to be loaded at the second load point or the first load point in the voltage superimposing unit 20.
When the target current signal provided by the first current unit 10 is loaded at the first loading point in the voltage superposition unit 20 and the target current signal provided by the second current unit 30 is loaded at the second loading point in the voltage superposition unit 20, the flow direction of the target current signal in the voltage superposition unit 20 is the first direction. When the target current signal provided by the first current unit 10 is loaded at the second loading point in the voltage superposition unit 20 and the target current signal provided by the second current unit 30 is loaded at the first loading point in the voltage superposition unit 20, the flow direction of the target current signal in the voltage superposition unit 20 is the second direction. The first direction is opposite to the second direction.
The voltage superposition unit 20 receives a target voltage signal VINAnd a target voltage signal V is providedINAfter being superposed with the first voltage signal, the analog voltage signal V is outputOUT_DAC(ii) a The first voltage signal is generated by the voltage superposition unit 20 according to the target current signal.
The target digital signal corresponds to the N-bit digital code, and the magnitude of the target current signal can be changed by changing the target digital signal, and the flow direction of the target current signal in the voltage superposition unit 20 can be changed, so that the polarity and magnitude of the first voltage signal can be changed, and the output analog voltage signal V can be further enabled to be changedOUT_DACBoth polarity and magnitude of (a) may be varied.
It should be noted that the digital target signal is obtained by the prior art.
As shown in the figure2, the first current unit 10 includes a first current input circuit 101, a first current source circuit 102, a first switch circuit 103, and a first commutation circuit 104. The first current source circuit 102 and the first current input circuit 101 are used for connecting with a first voltage source VCCThe first current input circuit 101 is electrically connected to the first current source circuit 102, the first switch circuit 103 is electrically connected to the first current source circuit 102 and the first commutation circuit 104, and the first commutation circuit 104 is electrically connected to the first load point and the second load point of the voltage superimposing unit 20.
Specifically, the first current input circuit 101 provides a first input current for the first current source circuit 102.
The first current source circuit 102 provides N-1 reference current signals based on the first input current.
The first switch circuit 103 selects M reference current signals from the N-1 reference current signals according to the target digital signal to form a target current signal; wherein N is an integer greater than or equal to 2, M is greater than or equal to 0 and less than or equal to N-1, and M is an integer.
The first commutation circuit 104 controls the target current signal to be loaded on the first load point or the second load point in the voltage superposition unit 20 according to the target digital signal.
As shown in fig. 3, the first current source circuit 102 includes N-1 first current sources. The first switch circuit 103 includes N-1 first switches. The first commutation circuit 104 comprises a first gating switch. N-1 first current sources are electrically connected with the first current input circuit 101, and the anodes of the N-1 first current sources are used for connecting with a first voltage source VCCThe cathodes of the N-1 first current sources are electrically connected with the first ends of the N-1 first switches in a one-to-one correspondence manner, the second ends of the N-1 first switches are electrically connected with the first end of the first gating switch, the second end of the first gating switch is electrically connected with the first loading point on the voltage superposition unit 20, and the third end of the first gating switch is electrically connected with the second loading point on the voltage superposition unit 20.
Specifically, the reference currents provided by the N-1 first current sources are respectively 2N-2I,2N-3I, …, 2I, I, wherein N is an integer greater than or equal to 2, and I is the first current inputA first input current provided by circuit 101. The control end of the N-1 first switches receives N-1 data bits in the target digital signal, and the N-1 data bits are B in sequenceN-2,BN-3,…,B1,B0The data bit indicates whether the corresponding first switch is turned on or off. The control end of the first gating switch receives a sign bit in the target digital signal, wherein the sign bit is BN-1And the sign bit indicates that the first gating switch loads the target current signal on the first load point or the second load point in the voltage superposition unit.
As shown in fig. 4, the first current input circuit 101 includes an operational amplifier AMP, a first resistor R1A second resistor R2A first NMOS transistor MN1The first PMOS transistor MP1And a second PMOS transistor MP2. The non-inverting input terminal of the operational amplifier AMP receives a reference voltage VREFThe inverting input terminals of the operational amplifier AMP are connected to the first resistors R, respectively1First end of (1) and first NMOS transistor MN1Is electrically connected to the source electrode of the first resistor R1Is grounded, the output end of the operational amplifier AMP and the first NMOS transistor MN1Is electrically connected. First NMOS transistor MN1Respectively with the second resistor R 2First end of the PMOS transistor MP and a second PMOS transistor MP2Is electrically connected to the N-1 first current sources. A second resistor R2The second end of the first PMOS transistor MP is connected with the second PMOS transistor MP2Drain electrode of (1), first PMOS tube MP1Is electrically connected to the N-1 first current sources. Second PMOS transistor MP2Source electrode of and first PMOS transistor MP1Is electrically connected with the drain electrode of the first PMOS transistor MP1Is used for being connected with a first voltage source VCCAnd (6) electrically connecting.
Specifically, under deep negative feedback, the voltages of the non-inverting input terminal and the inverting input terminal of the operational amplifier AMP are approximately equal, and the error is negligible, so that the first resistor R1Voltage on is reference voltage VREFTherefore, the first input current I provided by the first current input circuit 101 is VREF/R1
As shown in fig. 5, each first current source includes a fifth PMOS transistor and a sixth PMOS transistor. Each first switchThe switch comprises an eighth NMOS transistor. The source electrode of the fifth PMOS tube is used for being connected with a first voltage source VCCElectrically connected with the gate of the fifth PMOS transistor and the second resistor R2The second end of the fifth PMOS tube is electrically connected, and the drain electrode of the fifth PMOS tube is electrically connected with the source electrode of the sixth PMOS tube. Grid electrode of sixth PMOS tube and first NMOS tube MN1The drain electrode of the sixth PMOS tube is electrically connected with the drain electrode of the eighth NMOS tube. The grid electrode of the eighth NMOS tube receives a data bit in the target digital signal, and the source electrode of the eighth NMOS tube is electrically connected with the first end of the first gating switch.
As shown in FIG. 5, in the first current source, the fifth PMOS transistor is denoted as PMOS transistor MP10The sixth PMOS transistor is represented as PMOS transistor MP20. In the second first current source, the fifth PMOS transistor is represented as PMOS transistor MP11The sixth PMOS transistor is represented as PMOS transistor MP21. In the N-1 first current source, the fifth PMOS transistor is represented as PMOS transistor MP1N-2The sixth PMOS transistor is represented as PMOS transistor MP2N-2. In the first switch, the eighth NMOS transistor is represented as NMOS transistor MN30In the second first switch, the eighth NMOS transistor is represented as NMOS transistor MN31In the N-1 st switch, the eighth NMOS transistor is represented as the NMOS transistor MN3N-2
Specifically, when the data bit received by the gate of the eighth NMOS transistor is 1, the eighth NMOS transistor is turned on, and the reference current signal provided by the first current source connected to the eighth NMOS transistor is selected. When the data bit received by the grid electrode of the eighth NMOS tube is 0, the eighth NMOS tube is turned off, and the reference current signal provided by the first current source connected with the eighth NMOS tube is not selected.
First PMOS transistor MP1And a second PMOS transistor MP2The branch circuit formed by the N-1 fifth PMOS tubes and the branch circuit formed by the sixth PMOS tube form a cascode first current mirror, and the proportion of the first current mirror is 1: 2N-2:2N-3:……:2:1。
As shown in FIG. 5, the first gate switch includes an inverter and a fourth NMOS transistor MN 4And a fifth NMOS transistor MN5. An input terminal of the inverter receives the sign bit in the target digital signal, the input terminal of the inverter and the fifth NMOS pipe MN5Is electrically connected with the grid electrode of the phase inverter, and the output end of the phase inverter is connected with the fourth NMOS tube MN4Is electrically connected. Fourth NMOS transistor MN4Respectively connected with the fifth NMOS transistor MN5The drain electrode of the second NMOS tube is electrically connected with the source electrode of the eighth NMOS tube, and the fourth NMOS tube MN4Is electrically connected to the first load point of the voltage superimposing unit 20. Fifth NMOS transistor MN5Is electrically connected to the second load point of the voltage superimposing unit 20.
Specifically, when the sign bit received by the inverter is 1, the fourth NMOS transistor MN is turned on4Turn off, fifth NMOS transistor MN5And is turned on, and the control target current signal is loaded on the second loading point in the voltage superposition unit 20. When the sign bit received by the phase inverter is 0, the fourth NMOS transistor MN4Conducting the fifth NMOS transistor MN5And is turned off, and the control target current signal is loaded on the first loading point in the voltage superposition unit 20.
As shown in fig. 5, the second current unit 30 includes a second current input circuit 301, a second current source circuit 304, a second switching circuit 303, and a second commutation circuit 302. The second current input circuit 301 is used for connecting with the first voltage source V CCElectrically connected, the second current source circuit 304 is for ground. The second current input circuit 301 is electrically connected to a second current source circuit 304, the second switch circuit 303 is electrically connected to the second current source circuit 304 and a second commutation circuit 302, respectively, and the second commutation circuit 302 is electrically connected to a first load point and a second load point on the voltage superimposing unit 20, respectively.
Specifically, the second current input circuit 301 provides a second input current to the second current source circuit 304.
The second current source circuit 304 provides N-1 reference current signals based on the second input current.
The second switch circuit 303 selects M reference current signals from the N-1 reference current signals according to the target digital signal to form the target current signal; wherein N is an integer greater than or equal to 2, M is greater than or equal to 0 and less than or equal to N-1, and M is an integer.
The second commutation circuit controls the target current signal to be loaded on the second load point or the first load point in the voltage superposition unit 20 according to the target digital signal.
As shown in fig. 6, the second current source circuit 304 includes N-1 second current sources. The second switch circuit 303 includes N-1 second switches. The second commutation circuit 302 includes a second gating switch. The N-1 second current sources are electrically connected to the second current input circuit 301, the anodes of the N-1 second current sources are electrically connected to the first ends of the N-1 second switches in a one-to-one correspondence manner, the cathodes of the N-1 second current sources are grounded, the second ends of the N-1 second switches are electrically connected to the first ends of the second gating switches, the second ends of the second gating switches are electrically connected to the first load points on the voltage superimposing unit 20, and the third ends of the second gating switches are electrically connected to the second load points on the voltage superimposing unit 20.
Specifically, the reference currents of the N-1 second current sources are respectively 2N-2I,2N-3I, …, 2I, where N is an integer greater than or equal to 2, I is the second input current provided by the second current input circuit 301;
and the control ends of the N-1 second switches receive N-1 data bits in the target digital signal, and the data bits indicate that the corresponding second switches are switched on or off. The control terminal of the second gating switch receives a sign bit in the target digital signal, and the sign bit instructs the second gating switch to load the target current signal at the second load point or the first load point in the voltage superimposing unit 20.
As shown in fig. 7, the second current input circuit 301 includes a third PMOS transistor MP3And the fourth PMOS transistor MP4And a third NMOS transistor MN3A second NMOS transistor MN2And a third resistor R3. Third PMOS transistor MP3Is used for being connected with a first voltage source VCCElectrically connected, third PMOS transistor MP3And a second resistor R2The second end of the third PMOS tube MP is electrically connected3Drain electrode of and fourth PMOS transistor MP4Is electrically connected. Fourth PMOS transistor MP4And a second resistor R2The first end of the fourth PMOS tube MP is electrically connected4Respectively with the third resistor R3First terminal and third NMOS transistor MN3Is electrically connected. Third resistor R3The second end of the NMOS transistor is respectively connected with the third NMOS transistor MN 3Drain electrode of (1) and second NMOS tube MN2Is electrically connected. Third NMOS transistor MN3Source electrode of (1) and second NMOS transistor MN2Is electrically connected with the drain electrode of the second NMOS tube MN2The source electrode of the third NMOS transistor MN is grounded3Gate of the transistor and the second NMOS transistor MN2Are all electrically connected with N-1 second current sources.
Specifically, the third PMOS transistor MP3And a fourth PMOS transistor MP4The branch and the first PMOS transistor MP1And a second PMOS transistor MP2The formed branch circuit forms a cascode second current mirror, and the proportion of the second current mirror is 1: 1.
as shown in fig. 7, each second current source includes a tenth NMOS transistor and an eleventh NMOS transistor. Each second switch comprises a ninth NMOS transistor. The grid electrode of the ninth NMOS tube receives a data bit in the target digital signal, the drain electrode of the ninth NMOS tube is electrically connected with the first end of the second gating switch, and the source electrode of the ninth NMOS tube is electrically connected with the drain electrode of the tenth NMOS tube. Grid of tenth NMOS transistor and third NMOS transistor MN3The source electrode of the tenth NMOS tube is electrically connected with the drain electrode of the eleventh NMOS tube. Grid electrode of eleventh NMOS (N-channel metal oxide semiconductor) transistor and second NMOS transistor MN2The grid of the eleventh NMOS tube is electrically connected, and the source of the eleventh NMOS tube is grounded.
As shown in FIG. 7, in the first and second current sources, the tenth NMOS transistor is represented as NMOS transistor MN 20And the eleventh NMOS transistor is represented as NMOS transistor MN10. In the second current source, the tenth NMOS transistor is represented as NMOS transistor MN21The eleventh NMOS transistor is represented as NMOS transistor MN11. In the N-1 second current source, the tenth NMOS transistor is represented as NMOS transistor MN2N-2The eleventh NMOS transistor is represented as NMOS transistor MN1N-2. In the first and second switches, the ninth NMOS transistor is represented as NMOS transistor MN40In the second switch, the ninth NMOS transistor is represented as NMOS transistor MN41In the N-1 second switch, the ninth NMOS transistor is represented as the NMOS transistor MN4N-2
Specifically, when the data bit received by the gate of the ninth NMOS transistor is 1, the ninth NMOS transistor is turned on, and then the reference current signal provided by the second current source connected to the ninth NMOS transistor is selected. When the data bit received by the grid electrode of the ninth NMOS tube is 0, the ninth NMOS tube is turned off, and the reference current signal provided by the second current source connected with the ninth NMOS tube is not selected.
Second NMOS transistor MN2And a third NMOS transistor MN3The formed branch circuit and the branch circuit formed by the N-1 tenth NMOS tube and the eleventh NMOS tube form a cascode third current mirror, and the proportion of the third current mirror is 1: 2N-2:2N-3:……:2:1。
As shown in fig. 7, the second gate switch includes a sixth NMOS transistor MN6And a seventh NMOS transistor MN7. Sixth NMOS transistor MN 6The grid of the NMOS transistor is electrically connected with the input end of the phase inverter, and the seventh NMOS transistor MN7The grid of the NMOS transistor is electrically connected with the output end of the phase inverter, and the sixth NMOS transistor MN6Respectively connected with a seventh NMOS transistor MN7The source electrode of the NMOS transistor is electrically connected with the drain electrode of the ninth NMOS transistor, and the sixth NMOS transistor MN6Is electrically connected to the first load point of the voltage superposition unit 20, and a seventh NMOS transistor MN7Is electrically connected to the second load point 20 of the voltage superimposing unit.
Specifically, when the sign bit received by the inverter is 1, the sixth NMOS transistor MN is implemented6Conducting the seventh NMOS transistor MN7And is turned off, and the control target current signal is loaded on the first loading point in the voltage superposition unit 20. When the sign bit received by the phase inverter is 0, the sixth NMOS transistor MN6Turn off, seventh NMOS transistor MN7And is turned on, and the control target current signal is loaded on the second loading point in the voltage superposition unit 20.
As shown in fig. 7, the voltage superimposing unit 20 includes a first superimposing resistor R0First superimposed resistance R0Respectively connected with the fourth NMOS transistor MN4Source electrode and sixth NMOS transistor MN6Is electrically connected with the drain electrode of the first resistor R0Second terminals of the NMOS transistors are connected with a fifth NMOS transistor MN respectively5Source electrode and seventh NMOS transistor MN7Is electrically connected. The first voltage signal is based on the first superposed resistor R 0And target current signal generation.
For the sake of clarity, the operation of the digital-to-analog converter for voltage superposition is described in detail with reference to fig. 7.
Firstly, receiving a target digital signal, wherein the target digital signal corresponds to an N-bit digital code, the code is 1 to represent that a corresponding open tube is connected, and the code is 0 to represent that a corresponding switch is disconnected. When the sign bit BN-1When 1, the fourth NMOS transistor MN4Turn off, fifth NMOS transistor MN5Conducting the sixth NMOS transistor MN6Conducting the seventh NMOS transistor MN7Turning off, controlling R of the target current signal from the first superposition resistance0From the first overlap resistor, R0The first voltage signal defines a positive value. Sign bit BN-1When 0, the fourth NMOS transistor MN4Conducting the fifth NMOS transistor MN5Turn off, sixth NMOS transistor MN6Turn off, seventh NMOS transistor MN7Conducting to control the R of the target current signal from the first superposition resistor0From the first end of the first overlap resistor, R0The first voltage signal is defined as a negative value.
The first current source and the second current source are symmetrical, and the data bit is from BN-2~B0Respectively corresponding to different current weights, high bit weight, low bit weight, and data bit BiCorresponding current magnitude of 2 iAnd I. Then the formula for the analog voltage signal can be derived:
Figure BDA0003528855810000171
for the description of the formula: when B is presentN-1When 1, the second term is positive; b isN-1At 0, the second term is negative. B isiTo 1, the corresponding current value is added, BiIf the current value is 0, the corresponding current value does not exist, and finally a target current signal is obtained and passes through the first superposed resistor R0And converting the voltage into a first voltage signal, wherein the first voltage signal corresponds to a second term in the formula.
As shown in fig. 8, an embodiment of the present application further provides a comparison circuit, which includes an N-bit successive approximation register 50 and a third switchS3And a fourth switch S4A comparator 60 and the above-mentioned digital-to-analog converter 40 for voltage superposition. The N-bit successive approximation register 50 is electrically connected to the digital-to-analog converter 40, and the third switch S3Is electrically connected to the digital-to-analog converter 40, the output terminal of the digital-to-analog converter 40 is electrically connected to the inverting input terminal of the comparator 60, and the third switch S3Respectively with the fourth switch S4Is electrically connected to the unidirectional input of comparator 60. Third switch S3For receiving a third voltage V3Fourth switch S4For receiving a fourth voltage V4. The output 60 of the comparator is electrically connected to the N-bit successive approximation register 50.
In particular, during calibration, the third switch S3Closed, fourth switch S4And when the circuit is disconnected, the N-bit successive approximation register 50 acquires a clock signal, determines a target digital signal according to the clock signal and the level signal output by the comparator 60, and outputs the target digital signal. The DAC 40 determines the output analog voltage signal V according to the target digital signalOUT_DACSo that the analog voltage signal V outputted from the digital-to-analog converter 40OUT_DACEliminating offset voltage V of comparatorOS
The process of determining the target digital signal by the N-bit successive approximation register 50 is: when the first clock rising edge arrives, the sign bit B of the digital-to-analog converter 40 is first setN-1Set 1, data bit BN-2~B0Set to 0, and if the comparator 60 output is high, the sign bit BN-1Set to 1, and if the output of comparator 60 is low, the sign bit BN-1Setting to 0; when the second rising edge comes, the data bit B of the DAC 40 is converted toN-2Set 1, data bit BN-3~B0Set 0, if sign bit BN-1Is 1, then data bit BN-2Set to coincide with the output level of comparator 60 if the sign bit BN-1Is 0, then data bit BN-2Set to be opposite to the comparator 60 output level; when the third rising edge comes, the data bit B of the DAC 40 is converted toN-3Set 1, data bit BN-4~B0Set 0, if sign bit B N-1Set to 1, then data bit BN-3Set to be consistent with the output level of the comparator 60 if the sign bit BN-1Is 0, then data bit BN-3Set to be opposite to the comparator 60 output level; by analogy, each bit of the digital-to-analog converter 40 is determined and kept unchanged, and finally a target digital signal is obtained, so that the offset voltage V of the comparator 60 is eliminated by the analog voltage signal output by the digital-to-analog converter 40OS
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A digital-to-analog converter for voltage superposition is characterized by comprising a first current unit, a second current unit and a voltage superposition unit, wherein the first current unit is electrically connected with a first voltage source, the second current unit is grounded, and the first current unit, the voltage superposition unit and the second current unit are sequentially connected in series;
The first current unit is used for receiving a target digital signal, providing a target current signal according to the target digital signal, and controlling the target current signal to be loaded at a first loading point or a second loading point in the voltage superposition unit;
the second current unit is used for receiving the target digital signal, providing the target current signal according to the target digital signal, and controlling the target current signal to be loaded at a second loading point or a first loading point in the voltage superposition unit;
when a target current signal provided by the first current unit is loaded at a first loading point in the voltage superposition unit and a target current signal provided by the second current unit is loaded at a second loading point in the voltage superposition unit, the flow direction of the target current signal in the voltage superposition unit is a first direction; when the target current signal provided by the first current unit is loaded at a second loading point in the voltage superposition unit and the target current signal provided by the second current unit is loaded at a first loading point in the voltage superposition unit, the flow direction of the target current signal in the voltage superposition unit is a second direction; the first direction and the second direction are opposite;
The voltage superposition unit is used for receiving a target voltage signal, superposing the target voltage signal and the first voltage signal and outputting an analog voltage signal; the first voltage signal is generated by the voltage superposition unit according to the target current signal.
2. The digital-to-analog converter for voltage superposition according to claim 1, wherein the first current unit comprises a first current input circuit, a first current source circuit, a first switching circuit, and a first commutation circuit; the first current source circuit and the first current input circuit are both used for being electrically connected with the first voltage source, the first current input circuit is electrically connected with the first current source circuit, the first switch circuit is respectively electrically connected with the first current source circuit and the first reversing circuit, and the first reversing circuit is respectively electrically connected with a first loading point and a second loading point on the voltage superposition unit;
the first current input circuit is used for providing a first input current for the first current source circuit;
the first current source circuit is used for providing N-1 reference current signals according to the first input current;
The first switch circuit is used for selecting M reference current signals from the N-1 reference current signals according to the target digital signal to form the target current signal; wherein N is an integer of 2 or more, M is more than or equal to 0 and less than or equal to N-1, and M is an integer;
the first commutation circuit is used for controlling the target current signal to be loaded on a first loading point or a second loading point in the voltage superposition unit according to the target digital signal.
3. The digital-to-analog converter for voltage superposition according to claim 2, wherein the first current source circuit comprises N-1 first current sources, the first switching circuit comprises N-1 first switches, and the first commutation circuit comprises a first gating switch; the N-1 first current sources are electrically connected with the first current input circuit, the anodes of the N-1 first current sources are used for being electrically connected with the first voltage source, the cathodes of the N-1 first current sources are electrically connected with the first ends of the N-1 first switches in a one-to-one correspondence manner, the second ends of the N-1 first switches are electrically connected with the first end of the first gating switch, the second end of the first gating switch is electrically connected with a first loading point on the voltage superposition unit, and the third end of the first gating switch is electrically connected with a second loading point on the voltage superposition unit;
The reference currents provided by the N-1 first current sources are respectively 2N-2I,2N-3I, …, 2I, I, wherein N is an integer greater than or equal to 2, and I is a first input current provided by the first current input circuit; the control end of the N-1 first switches is used for receiving N-1 data bits in the target digital signal, and the N-1 data bits are B in sequenceN-2,BN-3,…,B1,B0The data bit is used for indicating the corresponding first switch to be switched on or switched off; the control end of the first gating switch is used for receiving a sign bit in the target digital signal, and the sign bit is BN-1And the sign bit is used for instructing the first gating switch to load the target current signal on a first load point or a second load point in the voltage superposition unit.
4. The digital-to-analog converter for voltage superposition of claim 3, wherein the first current input circuit comprises an operational amplifier, a first resistor, a second resistor, a first NMOS transistor, a first PMOS transistor and a second PMOS transistor;
the non-inverting input end of the operational amplifier is used for receiving a reference voltage, the inverting input end of the operational amplifier is respectively and electrically connected with the first end of the first resistor and the source electrode of the first NMOS tube, the second end of the first resistor is grounded, and the output end of the operational amplifier is electrically connected with the grid electrode of the first NMOS tube; the drain electrode of the first NMOS tube is electrically connected with the first end of the second resistor, the grid electrode of the second PMOS tube and the N-1 first current sources respectively; the second end of the second resistor is electrically connected with the drain electrode of the second PMOS tube, the grid electrode of the first PMOS tube and the N-1 first current sources respectively; the source electrode of the second PMOS tube is electrically connected with the drain electrode of the first PMOS tube, and the source electrode of the first PMOS tube is used for being electrically connected with the first voltage source.
5. The digital-to-analog converter for voltage superposition of claim 4, wherein each of said first current sources comprises a fifth PMOS transistor and a sixth PMOS transistor; each first switch comprises an eighth NMOS transistor;
the source electrode of the fifth PMOS tube is used for being electrically connected with the first voltage source, the gate electrode of the fifth PMOS tube is electrically connected with the second end of the second resistor, the drain electrode of the fifth PMOS tube is electrically connected with the source electrode of the sixth PMOS tube, the gate electrode of the sixth PMOS tube is electrically connected with the drain electrode of the first NMOS tube, the drain electrode of the sixth PMOS tube is electrically connected with the drain electrode of the eighth NMOS tube, the gate electrode of the eighth NMOS tube is used for receiving one data bit in the target digital signal, and the source electrode of the eighth NMOS tube is electrically connected with the first end of the first gating switch;
a branch composed of the first PMOS tube and the second PMOS tube and branches composed of the N-1 fifth PMOS tubes and the sixth PMOS tubes form a cascode first current mirror, and the cascode first current mirror is formed by the first PMOS tube and the second PMOS tubeThe first current mirror proportion is 1: 2N-2:2N-3:……:2:1;
The first gating switch comprises an inverter, a fourth NMOS tube and a fifth NMOS tube;
the input end of the phase inverter is used for receiving a sign bit in the target digital signal, the input end of the phase inverter is electrically connected with the gate of the fifth NMOS transistor, the output end of the phase inverter is electrically connected with the gate of the fourth NMOS transistor, the drain of the fourth NMOS transistor is electrically connected with the drain of the fifth NMOS transistor and the source of the eighth NMOS transistor respectively, the source of the fourth NMOS transistor is electrically connected with the first loading point of the voltage superposition unit, and the source of the fifth NMOS transistor is electrically connected with the second loading point of the voltage superposition unit.
6. The digital-to-analog converter for voltage superposition according to claim 5, wherein the second current unit comprises a second current input circuit, a second current source circuit, a second switching circuit, and a second commutation circuit; the second current input circuit is used for being electrically connected with the first voltage source, and the second current source circuit is used for being grounded; the second current input circuit is electrically connected with the second current source circuit, the second switch circuit is electrically connected with the second current source circuit and the second reversing circuit respectively, and the second reversing circuit is electrically connected with a first loading point and a second loading point on the voltage superposition unit respectively;
the second current input circuit is used for providing a second input current for the second current source circuit;
the second current source circuit is used for providing N-1 reference current signals according to the second input current;
the second switch circuit is used for selecting M reference current signals from the N-1 reference current signals according to the target digital signal to form the target current signal; wherein N is an integer greater than or equal to 2, M is greater than or equal to 0 and less than or equal to N-1, and M is an integer;
the second commutation circuit is used for controlling the target current signal to be loaded on a second loading point or a first loading point in the voltage superposition unit according to the target digital signal.
7. The digital-to-analog converter for voltage superposition of claim 6, wherein the second current source circuit comprises N-1 second current sources, the second switching circuit comprises N-1 second switches, and the second commutation circuit comprises a second gating switch; the N-1 second current sources are electrically connected with the second current input circuit, anodes of the N-1 second current sources are electrically connected with first ends of the N-1 second switches in a one-to-one correspondence manner, cathodes of the N-1 second current sources are grounded, second ends of the N-1 second switches are electrically connected with first ends of the second gating switches, second ends of the second gating switches are electrically connected with a first loading point on the voltage superposition unit, and third ends of the second gating switches are electrically connected with a second loading point on the voltage superposition unit;
the reference currents of the N-1 second current sources are respectively 2N-2I,2N-3I, …, 2I, I, wherein N is an integer greater than or equal to 2, and I is a second input current provided by the second current input circuit;
the control ends of the N-1 second switches are used for receiving N-1 data bits in the target digital signal, and the data bits are used for indicating the corresponding second switches to be switched on or switched off; the control end of the second gating switch is used for receiving a sign bit in the target digital signal, and the sign bit is used for instructing the second gating switch to load the target current signal on a second load point or a first load point in the voltage superposition unit;
The second current input circuit comprises a third PMOS tube, a fourth PMOS tube, a third NMOS tube, a second NMOS tube and a third resistor;
the source electrode of the third PMOS tube is used for being electrically connected with the first voltage source, the grid electrode of the third PMOS tube is electrically connected with the second end of the second resistor, the drain electrode of the third PMOS tube is electrically connected with the source electrode of the fourth PMOS tube, the grid electrode of the fourth PMOS tube is electrically connected with the first end of the second resistor, the drain electrode of the fourth PMOS tube is respectively electrically connected with the first end of the third resistor and the grid electrode of the third NMOS tube, the second end of the third resistor is respectively electrically connected with the drain electrode of the third NMOS tube and the grid electrode of the second NMOS tube, the source electrode of the third NMOS tube is electrically connected with the drain electrode of the second NMOS tube, the source electrode of the second NMOS tube is grounded, and the grid electrode of the third NMOS tube and the grid electrode of the second NMOS tube are both electrically connected with the N-1 second current sources;
the branch circuit formed by the third PMOS tube and the fourth PMOS tube and the branch circuit formed by the first PMOS tube and the second PMOS tube form a cascode second current mirror, and the proportion of the second current mirror is 1: 1.
8. The digital-to-analog converter for voltage superposition of claim 7, wherein each of said second current sources comprises a tenth NMOS transistor and an eleventh NMOS transistor, and each of said second switches comprises a ninth NMOS transistor;
the grid electrode of the ninth NMOS tube is used for receiving a data bit in the target digital signal, the drain electrode of the ninth NMOS tube is electrically connected with the first end of the second gating switch, the source electrode of the ninth NMOS tube is electrically connected with the drain electrode of the tenth NMOS tube, the grid electrode of the tenth NMOS tube is electrically connected with the grid electrode of the third NMOS tube, the source electrode of the tenth NMOS tube is electrically connected with the drain electrode of the eleventh NMOS tube, the grid electrode of the eleventh NMOS tube is electrically connected with the grid electrode of the second NMOS tube, and the source electrode of the eleventh NMOS tube is grounded;
a branch composed of the second NMOS transistor and the third NMOS transistor and branches composed of N-1 tenth NMOS transistors and eleventh NMOS transistors form a cascode third current mirror, where the ratio of the third current mirror is 1: 2N-2:2N -3:……:2:1;
The second gating switch comprises a sixth NMOS transistor and a seventh NMOS transistor;
the grid electrode of the sixth NMOS tube is electrically connected with the input end of the phase inverter, the grid electrode of the seventh NMOS tube is electrically connected with the output end of the phase inverter, the source electrode of the sixth NMOS tube is respectively electrically connected with the source electrode of the seventh NMOS tube and the drain electrode of the ninth NMOS tube, the drain electrode of the sixth NMOS tube is electrically connected with the first loading point of the voltage superposition unit, and the drain electrode of the seventh NMOS tube is electrically connected with the second loading point of the voltage superposition unit.
9. The digital-to-analog converter for voltage superposition according to claim 8, wherein the voltage superposition unit comprises a first superposition resistor, a first end of the first superposition resistor is electrically connected with the source of the fourth NMOS transistor and the drain of the sixth NMOS transistor, respectively, a second end of the first superposition resistor is electrically connected with the source of the fifth NMOS transistor and the drain of the seventh NMOS transistor, respectively, and the first voltage signal is generated according to the first superposition resistor and the target current signal.
10. A comparison circuit comprising an N-bit successive approximation register, a third switch, a fourth switch, a comparator and the digital-to-analog converter for voltage superposition of any one of claims 1 to 9;
the N-bit successive approximation register is electrically connected with the digital-to-analog converter, a first end of the third switch is electrically connected with the digital-to-analog converter, an output end of the digital-to-analog converter is electrically connected with a reverse input end of the comparator, and a second end of the third switch is electrically connected with a first end of the fourth switch and a same-direction input end of the comparator respectively; a first terminal of the third switch is configured to receive a third voltage, and a second terminal of the fourth switch is configured to receive a fourth voltage; the output end of the comparator is electrically connected with the N-bit successive approximation register;
During calibration, the third switch is closed, the fourth switch is opened, the N-bit successive approximation register acquires a clock signal, determines the target digital signal according to the clock signal and a level signal output by the comparator, and outputs the target digital signal; the digital-to-analog converter is used for determining an output analog voltage signal according to the target digital signal so that the analog voltage signal output by the digital-to-analog converter can eliminate the offset voltage of the comparator.
CN202210205003.3A 2022-03-02 2022-03-02 Digital-to-analog converter and comparison circuit for voltage superposition Active CN114679181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210205003.3A CN114679181B (en) 2022-03-02 2022-03-02 Digital-to-analog converter and comparison circuit for voltage superposition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210205003.3A CN114679181B (en) 2022-03-02 2022-03-02 Digital-to-analog converter and comparison circuit for voltage superposition

Publications (2)

Publication Number Publication Date
CN114679181A true CN114679181A (en) 2022-06-28
CN114679181B CN114679181B (en) 2023-06-09

Family

ID=82071883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210205003.3A Active CN114679181B (en) 2022-03-02 2022-03-02 Digital-to-analog converter and comparison circuit for voltage superposition

Country Status (1)

Country Link
CN (1) CN114679181B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104716962A (en) * 2014-12-31 2015-06-17 南京天易合芯电子有限公司 Digital-analog converter unit and current steering type digital-analog converter
CN107425845A (en) * 2017-05-08 2017-12-01 华为技术有限公司 A kind of superposition circuit and floating voltage D/A converting circuit
US20190131987A1 (en) * 2016-07-05 2019-05-02 Asahi Kasei Microdevices Corporation Da converter, da converting method, adjusting apparatus, and adjusting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104716962A (en) * 2014-12-31 2015-06-17 南京天易合芯电子有限公司 Digital-analog converter unit and current steering type digital-analog converter
US20190131987A1 (en) * 2016-07-05 2019-05-02 Asahi Kasei Microdevices Corporation Da converter, da converting method, adjusting apparatus, and adjusting method
CN107425845A (en) * 2017-05-08 2017-12-01 华为技术有限公司 A kind of superposition circuit and floating voltage D/A converting circuit
CN112737567A (en) * 2017-05-08 2021-04-30 华为技术有限公司 Superposition operation circuit and floating voltage digital-to-analog conversion circuit

Also Published As

Publication number Publication date
CN114679181B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US9673832B2 (en) Successive approximation analog-to-digital converter and accuracy improving method thereof
US20050057379A1 (en) A/D converter calibration
US7830295B2 (en) A/D converter
JP2714999B2 (en) Analog / digital converter
US7420499B2 (en) Analog-to-digital converter and threshold-value correcting method
CN114679177A (en) Comparison device and analog-digital converter
US10084465B2 (en) Analog-to-digital converters with a plurality of comparators
CN114679181A (en) Digital-to-analog converter and comparison circuit for voltage superposition
US6642867B1 (en) Replica compensated heterogeneous DACs and methods
US9197231B1 (en) Systems and methods for data conversion
JPH1065542A (en) A/d converter circuit
CN116298471A (en) Signal detection circuit and signal detection method
EP1349283A2 (en) A/D converter circuit
US6326914B1 (en) Current mode asynchronous decision A/D converter
US7609191B2 (en) Digital/analog converting driver and method
US7098837B2 (en) A/D converter
US20240039553A1 (en) Successive approximation ad converter circuit
US7579975B2 (en) DAC architecture for an ADC pipeline
US20230163776A1 (en) Analog-to-digital converter and method for analog-to-digital conversion
JP2560980B2 (en) 1-bit cell and analog / digital converter
JPH05145421A (en) Reference voltage generating circuit
CN117134770A (en) Sectional type digital-to-analog conversion circuit, electronic circuit and electronic equipment
JPH0774638A (en) A/d converter
US20190326923A1 (en) Multi-Ladder Digital to Analog Converter
CN116800272A (en) High-speed sectional digital-to-analog conversion circuit, electronic circuit and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant