Digital-to-analog converter
By using an R-2R ladder resistor network architecture with multiple resistor branches and impedance matching modules in the digital-to-analog converter, and using node control voltages and charge pump modules to stabilize the on-resistance, the impact of on-resistance in the existing technology is solved. The issue of output accuracy achieves higher output accuracy and linearity.
Patent Information
- Application Number
- CN202410843595.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-29
AI Technical Summary
The output voltage accuracy of the existing digital-to-analog converter with R-2R ladder resistor network architecture is affected by the on-resistance of the switch, and the on-resistance changes with the digital code value, which affects the linearity of the output.
Using an R-2R ladder resistance network architecture composed of multiple first resistance branches and impedance matching modules, the second conversion module generates node control voltages based on digital code values to control the on and off of the transistors in the impedance matching module. A charge pump module is used to stabilize the on-resistance and a gate voltage bootstrap switch is used to keep the on-resistance constant.
The output accuracy and linearity of the digital-to-analog converter are improved to ensure the stability and accuracy of the output voltage under different digital code values.
Smart Images

Figure CN118868950A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of integrated circuits, and in particular to a digital-to-analog converter. Background Art
[0002] There are many different types of digital to analog converter (DAC) architectures, among which the R-2R ladder resistor network architecture DAC is a very common and simple architecture. In the R-2R ladder resistor network architecture DAC, the accuracy of the output voltage is affected by the on-resistance of the switch. As the input digital code value changes, the on-resistance of the switch will also change accordingly, and this change will further affect the output accuracy and linearity of the DAC.
[0003] Figure 1a A circuit diagram of a digital-to-analog converter in the prior art is shown; Figure 1b Shows Figure 1a Equivalent circuit diagram of the digital-to-analog converter in. Figure 1a and Figure 1b R and 2R indicated in the figure are the impedances of the corresponding resistors, d0 to d3 are 4-bit digital code values, r is the on-resistance of each switch, Vref is the reference voltage, and Vout is the output voltage.
[0004] See also Figure 1a , without considering the on-resistance 2r of the switch, the output voltage Vout can be expressed as:
[0005]
[0006] See also Figure 1b When the on-resistance r of the switch is considered, the output voltage Vout cannot be expressed by formula (1), which affects the accuracy of the output voltage Vout. In addition, the on-resistance of the switch will change with the change of the input digital code value, thereby affecting the linearity of the output voltage Vout.
[0007] Therefore, a new digital-to-analog converter with an R-2R ladder resistor network architecture is yet to be proposed to solve the above problems. Summary of the invention
[0008] In view of the above problems, an object of the present invention is to provide a digital-to-analog converter, so as to improve the output accuracy of the digital-to-analog converter.
[0009] According to one aspect of the present invention, there is provided a digital-to-analog converter, comprising a first conversion module for obtaining corresponding analog signals according to a plurality of input digital code values, wherein the first conversion module comprises an R-2R ladder resistor network architecture consisting of a plurality of first resistor branches and a plurality of impedance matching modules; wherein each impedance matching module comprises a first transistor and a first resistor connected in series, and the digital-to-analog converter further comprises: a second conversion module for obtaining a plurality of node control voltages corresponding to the plurality of impedance matching modules according to the plurality of digital code values, wherein each node control voltage is used to control the on and off of the first transistor in the corresponding impedance matching module.
[0010] Optionally, the second conversion module also includes multiple charge pump modules corresponding to multiple node control voltages, the input end of each charge pump module is connected to the corresponding node control voltage, and the output end is connected to the control end of the first transistor in the impedance matching module corresponding to the node control voltage.
[0011] Optionally, multiple impedance matching modules are connected in series, the first end of the first first resistor branch is connected to the first end of the second first resistor branch, the second end of the first first resistor branch is connected to the first reference voltage, and an impedance matching module is arranged between the first ends of two adjacent first resistor branches from the second to the last resistor branch, and the second ends of the second to the last resistor branch are selectively connected to the first reference voltage or the second reference voltage according to the corresponding digital code.
[0012] Optionally, each of the first resistance branches includes a second resistor and a first switch connected in series, and an end of the second resistor that is not connected to the first switch is a first end of the first resistance branch.
[0013] Optionally, the first switch is a gate voltage bootstrap switch, and the first transistor is an NMOS transistor.
[0014] Optionally, the sum of the on-resistance of the first switch of each first resistance branch and the resistance value of the second resistor is twice the sum of the on-resistance of the first transistor of each impedance matching module and the resistance value of the first resistor.
[0015] Optionally, an on-resistance of each of the first switches is twice an on-resistance of each of the first transistors, and a resistance value of each of the second resistors is twice a resistance value of each of the first resistors.
[0016] Optionally, the second conversion module further includes an R-2R ladder resistor network architecture consisting of a plurality of second resistor branches and a plurality of third resistors.
[0017] Optionally, multiple third resistors are connected in series, the first end of the first second resistor branch is connected to the first end of the second second resistor branch, the second end of the first second resistor branch is connected to the first reference voltage, and from the second to the last second resistor branch, a third resistor is connected between the first ends of two adjacent second resistor branches, and the second ends of the second to the last second resistor branches are selectively connected to the first reference voltage or the second reference voltage according to the corresponding digital code, and multiple node control voltages are provided by the common node of the second resistor branch and the third resistor.
[0018] Optionally, the first second resistor branch includes a fourth resistor connected between the first end and the second end. Except for the first second resistor branch, each second resistor branch includes a fourth resistor and a second switch connected in series, and the end of the fourth resistor not connected to the second switch is the first end of the second resistor branch.
[0019] The digital-to-analog converter provided by the embodiment of the present invention includes a first conversion module and a second conversion module, and the resistance of the impedance matching module of the first conversion module matches the resistance of the first resistance branch. When performing digital-to-analog conversion, the input multiple digital code values are first provided to the second conversion module to obtain multiple node control voltages, and then the first transistor of the corresponding impedance matching module is controlled to be turned on by the multiple node control voltages, thereby starting the first conversion module, so that the first conversion module can generate corresponding analog signals according to the multiple digital code values, thereby improving the output accuracy of the digital-to-analog converter.
[0020] In a preferred embodiment, a plurality of node control voltages are provided to the control end of the first transistor of the corresponding impedance matching module via a plurality of charge pump modules, so that the on-resistance of the first transistor does not change with the change of the input signal.
[0021] In a preferred embodiment, the first switch of the first resistor branch adopts a gate voltage bootstrap switch, so that the on-resistance of the first switch does not change with the change of the input digital code value, thereby further improving the output accuracy and linearity of the digital-to-analog converter. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:
[0023] Figure 1a A circuit diagram of a digital-to-analog converter in the prior art is shown;
[0024] Figure 1b Shows Figure 1a Equivalent circuit diagram of the digital-to-analog converter in;
[0025] Figure 2A schematic diagram of the structure of a digital-to-analog converter according to an embodiment of the present invention is shown;
[0026] Figure 3 A circuit diagram of a digital-to-analog converter according to an embodiment of the present invention is shown;
[0027] Figure 4 An equivalent circuit diagram of a first conversion module in a digital-to-analog converter according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0028] Various embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. In each of the accompanying drawings, the same elements or modules are represented by the same or similar reference numerals. For the sake of clarity, the various parts in the accompanying drawings are not drawn to scale.
[0029] It should be understood that in the following description, a "circuit" may include a single or multiple combined hardware circuits, programmable circuits, state machine circuits, and / or elements capable of storing instructions executed by programmable circuits. When an element or circuit is said to be "connected to" another element or an element or circuit is said to be "connected between" two nodes, it may be directly coupled or connected to another element or there may be an intermediate element, and the connection between the elements may be physical, logical, or a combination thereof. Conversely, when an element is said to be "directly coupled to" or "directly connected to" another element, it means that there is no intermediate element between the two.
[0030] At the same time, certain words are used in this patent specification and claims to refer to specific components. It should be understood by those skilled in the art that hardware manufacturers may use different terms to refer to the same component. This patent specification and claims do not use differences in names as a way to distinguish components, but rather use differences in components' functions as the criteria for distinction.
[0031] In addition, it should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements defined by the statement "comprise one..." do not exclude the existence of other identical elements in the process, method, article or equipment including the elements.
[0032] Figure 2A structural schematic diagram of a digital-to-analog converter according to an embodiment of the present invention is shown.
[0033] See also Figure 2 The digital-to-analog converter provided in the embodiment of the present invention includes a first conversion module 100 and a second conversion module 200. The first conversion module 100 and the second conversion module 200 have the same number of bits, which is N bits, where N is any positive integer.
[0034] See also Figure 2 , the first conversion module 100 is connected to the second conversion module 200, and the second conversion module 200 receives a multi-bit digital code value [d0-d(N-1)].
[0035] The first conversion module 100 receives a multi-bit digital code value [d0-d(N-1)], and obtains a corresponding analog signal Vout according to the multi-bit digital code value [d0-d(N-1)]. The analog signal Vout is the output voltage of the digital-to-analog converter.
[0036] Figure 3 A circuit diagram of a digital-to-analog converter according to an embodiment of the present invention is shown; Figure 4 An equivalent circuit diagram of a first conversion module in a digital-to-analog converter according to an embodiment of the present invention is shown.
[0037] See also Figure 3 The first conversion module 100 includes an R-2R ladder resistor network architecture consisting of multiple first resistor branches and multiple impedance matching modules, wherein each impedance matching module includes a first transistor M2i (i∈[1,N-1]) and a first resistor R2i connected in series, and each first resistor branch includes a second resistor R1j (j∈[0,N]) and a first switch S1j connected in series.
[0038] Specifically, each valid bit of the first conversion module 100 includes a first resistor branch. Except for the last valid bit (most significant bit, MSB), each valid bit also includes an impedance matching module, and multiple impedance matching modules are connected in series. Each impedance matching module is connected between the first end of the first resistor branch of the valid bit and the first end of the first resistor branch one bit higher than the valid bit. The first conversion module 100 also includes a non-valid bit, which includes a first resistor branch. The end of the second resistor R1j of each valid bit that is not connected to the first switch S1j is the first end of the first resistor branch. The first resistor branch from the non-valid bit to the most significant bit is the first first resistor branch, the second first resistor branch...the last first resistor branch.
[0039] In the embodiment of the present invention, the first transistors M2i of the first to N-1th effective bits of the first conversion module 100 are M21, M22, ..., M2(N-1) in sequence, and the first resistors R2i of the first to N-1th effective bits are R21, R22, ..., R2(N-1) in sequence. The second resistors R1j of the first to Nth effective bits are R11, R12, ..., R1N in sequence, and the first switches S1j of the first to Nth effective bits are S11, S12, ..., S1N in sequence. The digital code values of the first to Nth effective bits are d0, d1, ..., d(N-1) in sequence.
[0040] The first switch S1j of the first resistor branch of each valid bit of the first conversion module 100 selectively connects its second resistor R1j to the first reference voltage or the second reference voltage according to its corresponding digital code value. When the digital code value [d0-d(N-1)] is input to the first conversion module 100, the second resistor R10 of the non-valid bit is connected to the first reference voltage. The first reference voltage is, for example, a ground voltage, and the second reference voltage is, for example, a reference voltage Vref, and the reference voltage Vref is greater than the ground voltage.
[0041] See also Figure 4 , when the first switch S1j is turned on, the voltage of one end of the first switch S1j of each valid bit connected to the first reference voltage or the second reference voltage (hereinafter referred to as the first end) is Vref*di(i∈[0,N-1]). The voltage of one end of the first switch S10 of the non-valid bit that is not connected to the second resistor R10 is 0.
[0042] Taking the first valid bit (least significant bit, LSB) of the first conversion module 100 as an example, if the digital code value d0 received by the first switch S11 of the first valid bit is 1, the second resistor R11 of the first valid bit is connected to the reference voltage Vref. At this time, the first end voltage of the first switch S11 is 1*Vref. If the digital code value d0 received by the first switch S11 of the first valid bit is 0, the second resistor R11 of the first valid bit is connected to the reference ground. At this time, the first end voltage of the first switch S11 is 0*Vref.
[0043] Furthermore, the sum of the on-resistance r1j and the second resistor R1j of the first switch S1j of each first resistor branch is twice the sum of the on-resistance r2i and the first resistor R2i of the first transistor M2i of each impedance matching module.
[0044] Furthermore, the resistance of the second resistor R1j of any first resistor branch is equal, the on-resistance of the first switch S1j of any first resistor branch is equal, the resistance of the first resistor R2i of any impedance matching module is equal, and the on-resistance of the first transistor M2i of any impedance matching module is equal.
[0045] Further, the on-resistance of the first switch S1j is twice the on-resistance of the first transistor M2i. For example, this can be achieved by setting the size of the first transistor M2i to be twice the size of the first switch S1j.
[0046] Furthermore, the resistance of the second resistor R1j is twice the resistance of the first resistor R2i.
[0047] Furthermore, the first switch S1j adopts a gate voltage bootstrap switch so that its on-resistance does not change with the input digital code value.
[0048] Furthermore, the first transistor M2i is implemented by using an NMOS (N-type Metal-Oxide-Semiconductor Field-Effect Transistor).
[0049] The first end of the first resistor R1N of the last valid bit of the first conversion module 100 provides the output voltage Vout of the digital-to-analog converter. Assuming that the on-resistance of the first switch S1j is 2r, the on-resistance of the first transistor M2i is r, the resistance of the second resistor R1j is 2R, and the resistance of the first resistor R2i is R, then the equivalent impedance of the output voltage Vout is R+r, and the formula of the output voltage Vout can be expressed as:
[0050]
[0051] The second conversion module 200 is used to obtain multiple node control voltages 51-5(N-1) corresponding to the multiple impedance matching modules of the first conversion module 100 according to the input multiple digital code values [d0-d(N-1)], and each node control voltage 5i (i∈[1,N-1]) is used to control the on and off of the first transistor M2i of the corresponding impedance matching module.
[0052] The second conversion module 200 includes a plurality of charge pump modules 61-6(N-1) corresponding to a plurality of node control voltages 51-5(N-1) one by one, and the input end of each charge pump module 6i is connected to the corresponding node control voltage 5i, and the output end is connected to the control end of the first transistor M2i of the impedance matching module corresponding to the node control voltage 5i. In the present invention, the charge pump module 6i can be implemented by any charge pump circuit of the prior art.
[0053] The second conversion module 200 also includes an R-2R ladder resistor network architecture consisting of a plurality of second resistor branches and a plurality of third resistors R4i. The first second resistor branch includes a fourth resistor R30 connected between the first end and the second end. In addition to the first second resistor branch, each second resistor branch includes a fourth resistor R3t (t∈[1,N]) and a second switch S3t connected in series, a plurality of third resistors R4i are connected in series, a third resistor R4i is connected between the first ends of two adjacent second resistor branches, and the first end of the second resistor branch refers to an end of the fourth resistor R3t that is not connected to the second switch S3t. The common node of the second resistor branch and the third resistor R4i provides the plurality of node control voltages 51-5(N-1).
[0054] Specifically, each effective bit of the second conversion module 200 includes a second resistor branch. Except for the last effective bit (most significant bit, MSB), each effective bit also includes a third resistor R4i. The fourth resistor R3t of each effective bit is connected to its third resistor R4i.
[0055] In the embodiment of the present invention, the third resistors R4i of the first to N-1th effective bits of the second conversion module 200 are R41, R42, ... R4(N-1) in sequence. The fourth resistors R3t of the first to Nth effective bits are R31, R32, ... R3N in sequence, and the second switches S3t of the first to Nth effective bits are S31, S32, ... S3N in sequence. The digital code values of the first to Nth effective bits are d0, d1, ..., d(N-1) in sequence.
[0056] Except for the last valid bit, the common node of the second resistance branch of each valid bit of the second conversion module 200 and the third resistor R4i generates a node control voltage 5i. The corresponding relationship between the node control voltage 5i and the valid bits of the second conversion module 200 is that the first valid bit (least significant bit, LSB) generates a node control voltage 51, the second valid bit generates a node control voltage 52, ..., and the N-1th valid bit generates a node control voltage 5(N-1). The corresponding relationship between the multiple node control voltages 51-5(N-1) and the first transistors M21-M2(N-1) in the multiple impedance matching modules is that the node control voltage 51 corresponds to the first transistor M21, the node control voltage 52 corresponds to the first transistor M22, ..., and the node control voltage 5(N-1) corresponds to the first transistor M2(N-1).
[0057] Except for the last effective bit, each effective bit of the second conversion module 200 further includes a charge pump module 6i connected to its node control voltage 5i.
[0058] The second switch S3t of the second resistor branch of each valid bit of the second conversion module 200 selectively connects its fourth resistor R3t to the first reference voltage or the second reference voltage according to the corresponding digital code value. The first reference voltage is, for example, the ground voltage, and the second reference voltage is, for example, the reference voltage Vref, which is greater than the ground voltage.
[0059] See also Figure 4 When the second switch S3t is turned on, the voltage of one end (hereinafter referred to as the first end) of the second switch S3t of each valid bit of the second conversion module 200 connected to the first reference voltage or the second reference voltage is Vref*di(i∈[0,N-1]).
[0060] Taking the first valid bit of the second conversion module 200 as an example, if the digital code value d0 received by the second switch S31 of the first valid bit is 1, the fourth resistor R31 of the first valid bit is connected to the reference voltage Vref. At this time, the first end voltage of the second switch S31 is 1*Vref. If the digital code value d0 received by the second switch S31 of the first valid bit is 0, the fourth resistor R31 of the first valid bit is connected to the reference ground. At this time, the first end voltage of the second switch S31 is 0*Vref.
[0061] Furthermore, the resistance value of the fourth resistor R3t of each second resistor branch is twice the resistance value of each third resistor R4i.
[0062] Furthermore, the second switch S3t may be implemented by using a CMOS transmission gate.
[0063] The digital-to-analog converter provided by the embodiment of the present invention includes a first conversion module 100 and a second conversion module 200, and the resistance of the impedance matching module of the first conversion module 100 matches the resistance of the first resistance branch. When performing digital-to-analog conversion, the input multiple digital code values [d0-d(N-1)] are first provided to the second conversion module 200, thereby obtaining multiple node control voltages 51-5(N-1), and the first transistor M2i of the corresponding impedance matching module is controlled to be turned on through the multiple node control voltages 5i, so that the first conversion module 100 can generate a corresponding analog signal Vout according to the multiple digital code values [d0-d(N-1)], and the analog signal is the output voltage Vout of the digital-to-analog converter, so that the output analog voltage Vout satisfies the above formula (2) without considering the influence of the multiple digital code values [d0-d(N-1)], thereby improving the output accuracy of the digital-to-analog converter.
[0064] Furthermore, the multiple node control voltages 5i are provided to the control end of the first transistor M2i after passing through the charge pump module 6i, so that the on-resistance of the first transistor M2i does not change with the change of the input signal.
[0065] Furthermore, the first switch S1j of the first resistor branch adopts a gate voltage bootstrap switch, so that the on-resistance of the first switch S1j does not change with the change of the input digital code value, thereby further improving the output accuracy and linearity of the digital-to-analog converter.
[0066] According to the embodiments of the present invention, as described above, these embodiments do not describe all the details in detail, nor do they limit the invention to specific embodiments. Obviously, many modifications and changes can be made based on the above description. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can make good use of the present invention and the modified use based on the present invention. The scope of protection of the present invention shall be based on the scope defined by the claims of the present invention and their equivalents.
Claims
1. A digital-to-analog converter, comprising: A first conversion module, used for obtaining corresponding analog signals according to a plurality of input digital code values, wherein the first conversion module comprises an R-2R ladder resistor network architecture consisting of a plurality of first resistor branches and a plurality of impedance matching modules; Wherein, each impedance matching module includes a first transistor and a first resistor connected in series, and the digital-to-analog converter further includes: The second conversion module is used to obtain a plurality of node control voltages corresponding to the plurality of impedance matching modules according to the plurality of digital code values, and each node control voltage is used to control the on and off of the first transistor in the corresponding impedance matching module.
2. The digital-to-analog converter according to claim 1, wherein: The second conversion module also includes multiple charge pump modules corresponding to multiple node control voltages, the input end of each charge pump module is connected to the corresponding node control voltage, and the output end is connected to the control end of the first transistor in the impedance matching module corresponding to the node control voltage.
3. The digital-to-analog converter according to claim 1, wherein: A plurality of impedance matching modules are connected in series, a first end of a first first resistor branch is connected to a first end of a second first resistor branch, and a second end of the first first resistor branch is connected to a first reference voltage. The second to last resistance branch has an impedance matching module disposed between the first ends of two adjacent first resistance branches, and the second ends of the second to last resistance branches are selectively connected to the first reference voltage or the second reference voltage according to the corresponding digital code.
4. The digital-to-analog converter according to claim 3, wherein: Each of the first resistance branches includes a second resistor and a first switch connected in series, and an end of the second resistor that is not connected to the first switch is a first end of the first resistance branch.
5. The digital-to-analog converter according to claim 4, wherein: The first switch is a gate voltage bootstrap switch, and the first transistor is an NMOS transistor.
6. The digital-to-analog converter according to claim 5, wherein: The sum of the on-resistance of the first switch of each of the first resistance branches and the resistance value of the second resistor is twice the sum of the on-resistance of the first transistor of each of the impedance matching modules and the resistance value of the first resistor.
7. The digital-to-analog converter according to claim 5, wherein: The on-resistance of each of the first switches is twice the on-resistance of each of the first transistors, and the resistance of each of the second resistors is twice the resistance of each of the first resistors.
8. The digital-to-analog converter according to claim 2, wherein: The second conversion module further includes an R-2R ladder resistor network architecture consisting of a plurality of second resistor branches and a plurality of third resistors.
9. The digital-to-analog converter according to claim 8, wherein: A plurality of third resistors are connected in series, a first end of a first second resistor branch is connected to a first end of a second second resistor branch, and a second end of the first second resistor branch is connected to a first reference voltage. The second to last second resistor branch, a third resistor is connected between the first ends of two adjacent second resistor branches, and the second ends of the second to last second resistor branches are selectively connected to the first reference voltage or the second reference voltage according to the corresponding digital code, and multiple node control voltages are provided by the common node of the second resistor branch and the third resistor.
10. The digital-to-analog converter according to claim 9, wherein: The first second resistor branch includes a fourth resistor connected between the first end and the second end. Except for the first second resistor branch, each of the second resistor branches includes a fourth resistor and a second switch connected in series, and the end of the fourth resistor not connected to the second switch is the first end of the second resistor branch.
Citation Information
Cited By
Digital-to-analog converter
WO2026001564A1
