WO2020020092A1 - Digital to analog converter - Google Patents

Digital to analog converter Download PDF

Info

Publication number
WO2020020092A1
WO2020020092A1 PCT/CN2019/097020 CN2019097020W WO2020020092A1 WO 2020020092 A1 WO2020020092 A1 WO 2020020092A1 CN 2019097020 W CN2019097020 W CN 2019097020W WO 2020020092 A1 WO2020020092 A1 WO 2020020092A1
Authority
WO
WIPO (PCT)
Prior art keywords
digital
switch
terminal
resistor
analog converter
Prior art date
Application number
PCT/CN2019/097020
Other languages
French (fr)
Chinese (zh)
Inventor
刘菁
Original Assignee
圣邦微电子(北京)股份有限公司
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 圣邦微电子(北京)股份有限公司 filed Critical 圣邦微电子(北京)股份有限公司
Publication of WO2020020092A1 publication Critical patent/WO2020020092A1/en

Links

Images

Classifications

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

Definitions

  • the invention relates to the field of integrated circuit manufacturing, and more particularly to a digital-to-analog converter.
  • DACs digital-to-analog converters
  • FIG. 1 shows a schematic structural diagram of a resistive digital-to-analog converter.
  • a conventional resistive digital-to-analog converter 100 connects resistors R1 to R64 having the same resistance value in series with each other, and access reference Between the voltage Vref and the reference ground, the switches S0-S64 connected in parallel are connected to the connection node between the resistors. Multiple switches S0-S64 are controlled by the decoded digital signal, and the voltage of each node between the resistors is selected to be output as the ground. An analog voltage corresponding to a digital signal.
  • an object of the present invention is to provide a digital-to-analog converter, which has higher efficiency and accuracy.
  • a digital-to-analog converter including: a first resistor string including a plurality of first resistors connected between a reference voltage and a reference ground; and a second resistor string including a first input terminal and a second resistor. A plurality of second resistors between the input terminals; a first switch network for selecting at least one first resistor in the first resistor string according to a first significant bit of the input digital signal; a second switch network for At least one second resistor is selected in the second resistor string according to the second significant bit of the input digital signal, wherein the digital-to-analog converter further includes a third switch network for A current path from a first switching network to the second resistor string.
  • both ends of the first resistor include a first terminal
  • both ends of the second resistor include a second terminal
  • adjacent first resistors in the first resistance string share the first terminal
  • adjacent second resistors in the second resistance string share the second terminal
  • the first switch network includes a plurality of first switches, a first path end of the plurality of first switches is correspondingly connected to the first terminal, and a second path end is connected to an output of the first switch network.
  • the second switch network includes a plurality of second switches, a first path end of the second switch is correspondingly connected to the second terminal, and a second path end is connected to an output end of the second switch network The output terminal of the second switch network is used to output an analog signal corresponding to the digital signal.
  • the first switch network includes a first output terminal and a second output terminal, wherein a second path terminal of an even number of the first switches is connected to the first output terminal, and an odd number of the first A second path end of a switch is connected to the second output end.
  • the first switch network includes a first output end and a second output end, wherein the second path end of the odd number of the first switches is connected to the first output end, and the even number of the first A second path end of a switch is connected to the second output end.
  • the third switch network includes a first switch circuit and a second switch circuit
  • the first switch circuit and the second switch circuit each include a third switch and a fourth switch
  • the first switch A first path end of the third switch in the circuit is connected to the first output end
  • a second path end is connected to the first input end
  • a first path end of the fourth switch is connected to the first
  • the output end is connected
  • the second path end is connected to the second input end
  • the first path end of the third switch in the second switch circuit is connected to the second output end
  • the second path end is connected to the second output end.
  • the second input terminal is connected
  • the first path terminal of the fourth switch is connected to the second output terminal
  • the second path terminal is connected to the first input terminal.
  • the digital-to-analog converter further includes: a first decoding circuit, configured to obtain a first control signal according to the first significant bit of the digital signal, and the first control signal is used to control the plurality of A closed / open state of a first switch; a second decoding circuit, configured to obtain a second control signal according to the second significant bit of the digital signal, and the second control signal is used to control the plurality of second On / off state of the switch.
  • a first decoding circuit configured to obtain a first control signal according to the first significant bit of the digital signal, and the first control signal is used to control the plurality of A closed / open state of a first switch
  • a second decoding circuit configured to obtain a second control signal according to the second significant bit of the digital signal, and the second control signal is used to control the plurality of second On / off state of the switch.
  • the first control signal and the second control signal are independent of each other.
  • the first significant bit is the most significant bit
  • the second significant bit is the least significant bit
  • the digital-to-analog converter of the present invention includes a third switching network for coupling both ends of the selected resistor in the first resistor string to the first of the second resistor string during the operation of the digital-to-analog converter.
  • An input terminal and a second input terminal when the resistance on the first resistor string is switched, the first input terminal and the second input terminal of the second resistor string are switched simultaneously. Therefore, when the resistance on the first resistance string is switched, the first input terminal and the second input terminal of the second resistance string increase the same voltage to ground.
  • the logic of the second switch network is switched.
  • the switching logic is independent from the first switching network.
  • the first control signal and the second control signal are independent from each other, which makes the first decoding circuit and the second decoding circuit independent from each other, which makes the decoding complexity greatly. Reduce, improve work efficiency and reduce power consumption.
  • the digital-to-analog converter of the present invention has higher conversion efficiency and smaller area under high bits.
  • FIG. 1 shows a schematic structural diagram of a conventional resistive digital-to-analog converter.
  • FIG. 2 shows a schematic diagram of a typical 4-bit digital-to-analog converter composed of a master and a slave resistor string.
  • FIG. 3 is a schematic structural diagram of an existing digital-to-analog converter when the input digital signal is 0011.
  • FIG. 4 is a schematic structural diagram of a digital-to-analog converter according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram showing the relationship between the bits of the digital signals I4I3I2I1 and the closed / open states of the switches SM1-SM5, switches SHI and SH2, and switches SL1-SL4 in FIG.
  • FIG. 6 is a schematic structural diagram of a digital-to-analog converter according to a first embodiment of the present invention when an input digital signal is 0000.
  • FIG. 7 is a schematic structural diagram of a digital-to-analog converter according to a first embodiment of the present invention when the input digital signal is 0100.
  • circuit refers to a conductive loop formed by at least one element or sub-circuit through an electrical connection or an electromagnetic connection.
  • an element or circuit When an element or circuit is “connected” to another element or an element / circuit is "connected” between two nodes, it can be directly coupled or connected to another element or an intermediate element can exist.
  • the connection between the elements can be Is physical, logical, or a combination.
  • an element when referred to as being "directly coupled” or “directly connected” to another element, it means that there are no intervening elements present.
  • FIG. 2 shows a typical 4-bit digital-to-analog converter 200 composed of a master and a slave resistor string, including a first resistor string 210, a second resistor string 230, a first switching network 220, a second switching network 240, and Decoding module 260.
  • the decoding module 260 is configured to obtain M control signals according to the received digital signals, where the M control signals are divided into a first control signal and a second control signal.
  • the decoding module 260 obtains the first control signals C0-C4 and the second control signals D0-D3 according to the four-bit digital signals I4I3I2I1.
  • I4 and I3 represent the most significant bits (MSB)
  • the first control signals C0-C4 are, for example, high-order bit control signals
  • I1 and I2 represent the least significant bits (Least, Significant Bit, LSB)
  • the signals D0-D3 are, for example, low-order bit control signals.
  • the decoding module 260 includes a first decoding circuit 261 and a second decoding circuit 262.
  • the first decoding circuit 261 is configured to generate a first decoding circuit according to the two most significant bits I4 and I3 of the four-bit digital signals I4, I3, I2, and I1.
  • the first decoding circuit 461 is implemented using, for example, a first decoder, and decodes by using a Gray code.
  • the second decoding circuit 262 is configured to generate second control signals D0-D3 according to I3, I2, and I1 of the four-bit digital signals I4, I3, I2, and I1.
  • the second decoding circuit 262 includes a second decoder 263 and a selection circuit 264.
  • the second decoder 263 receives the two least significant bits I2 and I1 and generates a binary signal at the output terminals A0, A1, A2, and A3 according to I2 and I1.
  • the selection circuit 264 includes a first input terminal A and a second input terminal B.
  • the first input terminal A is connected to the output terminals A0, A1, A2, and A3, and the second input terminal B is connected to the output terminals A0, A5 through multiple inverters 51, A1, A2, and A3 are connected, output terminals A0, A1, A2, and A3 are correspondingly connected to the input terminals of the plurality of inverters 51, and the output terminal of the inverter 51 is connected to the second input terminal B of the selection circuit 264.
  • the selection circuit 264 is, for example, a multiplexer for selectively coupling one of the first input terminal A or the second input terminal B to the output terminal of the selection circuit 264 according to the bit I3. More specifically, when the binary signal of bit I3 is logic 0, the selection circuit 264 couples the output terminals A0, A1, A2, and A3 to the output, respectively, as shown by the solid line 52 in FIG. 8 to decode the second
  • the converter 263 generates binary signals at the output terminals A0, A1, A2, and A3 and directly outputs the binary signals as the second control signals D0-D3.
  • the output terminals A0, A1, A2, and A3 are connected to the output of the selection circuit 264 after passing through the inverter 51, as shown by the dotted line 54 in FIG.
  • the two decoders 263 generate binary signals at the output terminals A0, A1, A2, and A3 and output the inverted signals as the second control signals D0-D3.
  • the first resistor string 210 is composed of a plurality of resistors Ra4-Ra1 having the same resistance value in series, and the plurality of resistors Ra4-Ra1 are connected between the reference voltage Vref and the reference ground.
  • the second resistor string 230 is composed of a plurality of resistors Rb3-Rb1 having equal resistance values connected in series.
  • the first switch network 220 includes a plurality of switches SM0-SM4, and the second switch network includes a plurality of switches SL0-SL3.
  • the first switching network 220 is controlled by the first control signals C0-C4 generated by the first decoding circuit 261, and the second switching network 240 is controlled by the second control signals D0-D3 generated by the second decoding circuit. Assuming the reference voltage Vref is equal to 1V, Table 1 shows the relationship between the output result of the DAC and the first switching network 220 and the second switching network 240 under ideal conditions.
  • FIG. 3 shows a schematic structural diagram of an existing digital-to-analog converter when the digital signal is 0011.
  • the switches SM1, SM0, and SL3 are closed.
  • the resistance of the resistors Ra4-Ra1 on the first resistor string are all R1, and that of the resistors Rb3-Rb1 on the second resistor string.
  • the value is R2, then the total resistance of the circuit connected from the reference voltage Vref can be obtained. Then the voltage generated on the resistor Ra1 is
  • R1 R2
  • 3 LSB Least Significant Bit, so we can get that one LSB of the 4-bit digital-to-analog converter is 1 / 15Vref.
  • this is only an ideal situation.
  • the resistance values of the main and second resistor strings are often not equal.
  • the prior art digital-to-analog converter has the following disadvantages: 1. In order to eliminate the interference of the closed current on the second resistor string 230 to the first resistor string 210 and cause each LSB error, the existing digital-to-analog converter is in the main A voltage buffer is inserted between the second resistor string. However, due to the error of the voltage buffer itself, this will increase the error of the output voltage, and the voltage buffer will consume additional power consumption and chip area. 2.
  • the logic of the second switch network of the second resistor string is different, for example: switch SM0 and switch SM1 are closed, that is, When the resistor string Ra1 is selected, the corresponding DAC output voltage is 0-3 / 15V, and the switches closed by the second switch network are SL0-SL3 in turn; when the switches SM1 and SM2 are closed, the resistor Ra2 is selected in the first resistor string. At this time, corresponding to the DAC output voltage is 4 / 15V-7 / 15V, the switches closed by the second switch network are SL3-SL0, as shown in Table 1.
  • the decoding logic of the second switching network in the existing digital-to-analog converter changes according to the resistance selected by the first resistor string, which increases the complexity of digital decoding of the digital-to-analog converter and increases the workload of decoding. 3.
  • the change in the voltage of each resistor on the second resistor string is related to the selected resistor on the first resistor string.
  • the top voltage of resistor Rb3 of the second resistor string is unchanged, but the bottom voltage of resistor Rb1 is increased; and when the first resistor string is switched from resistor Ra2 to resistor At Ra3, the top voltage of the resistor Rb3 of the second resistance string 230 increases, but the bottom voltage of the resistor Rb1 does not change.
  • the voltage changes at the head and tail of the second resistor string 230 change, which may cause the output of the digital-to-analog converter under different codes. Different changes will occur, which will affect the output voltage value and the conversion accuracy of digital-to-analog conversion.
  • FIG. 4 is a schematic structural diagram of a digital-to-analog converter 300 according to an embodiment of the present invention.
  • the digital-to-analog converter 300 is used to convert an N-bit digital signal into an analog signal.
  • the digital-to-analog converter 300 may be implemented as an independent module by an integrated circuit or combined with other modules.
  • the periphery of the digital-to-analog converter 300 includes a first reference input terminal 16, a second reference input terminal 17, and an analog signal output terminal 18.
  • the first reference input terminal 16 is configured to receive a reference voltage Vref
  • the second reference input terminal 17 is configured to receive an analog ground signal.
  • the reference voltage Vref enables the digital-to-analog converter 300 to generate an analog output according to a reference frame.
  • the digital-to-analog converter 300 includes a first resistor string 310, a first switch network 320, a second resistor string 340, a second switch network 350, and a decoding module 360.
  • the first resistor string 310 includes 2 N / 2 resistors connected in series
  • the second resistor string 340 includes (2 N / 2 -1) resistors connected in series.
  • N is an even number greater than 0.
  • the digital-to-analog converter 300 is used as an example for description. Therefore, the first resistor string 310 includes four resistors connected in series, and the second resistor string includes three resistors connected in series.
  • the decoding module 360 is configured to obtain M control signals according to the received digital signals, where the M control signals are divided into a first control signal and a second control signal.
  • the decoding module 360 obtains the first control signals C0-C4 and the second control signals D0-D3 according to the four-digit numbers I4, I3, I2, and I1.
  • I4 and I3 represent the most significant bits (MSB)
  • the first control signals C0-C4 are, for example, high-order bit control signals
  • I1 and I2 represent the least significant bits (Least, Significant Bit, LSB)
  • the signals D0-D3 are, for example, low-order bit control signals.
  • the decoding module 360 includes a first decoding circuit 361 and a second decoding circuit 362.
  • the first decoding circuit 361 is configured to generate a first decoding circuit according to the two most significant bits I4 and I3 of the four-bit digital signals I4, I3, I2, and I1.
  • the first decoding circuit 361 is implemented using, for example, a decoder, and decodes by using a Gray code.
  • the second decoding circuit 362 is configured to generate second control signals D0-D3 according to the two least significant bits I2 and I1 of the four-bit digital signals I4, I3, I2, and I1.
  • the second decoding circuit 362 is implemented using, for example, a decoder, and decodes by using a Gray code.
  • the first resistor string 310 includes resistors Ra4-Ra1 connected in series between the reference voltage Vref and the ground. Among them, the resistance values of the resistors Ra1-Ra4 are equal. It is worth noting that the two ends of the resistors Ra1, Ra2, Ra3, and Ra4 have connection terminals, for example: the two ends of resistor Ra1 have terminals T1 and T2, the resistor Ra2 has terminals T2 and T3, and the resistor Ra3 has terminals T3 and The terminal T4 and the resistor Ra4 have a terminal T4 and a terminal T5, as shown in FIG. 4. In response to the current fed by the reference voltage Vref, the resistors Ra1-Ra4 in the first resistor string 310 generate a voltage at the terminals T1-T5.
  • the second resistor string 340 includes resistors Rb1, Rb2, and Rb3 connected in series between the first input terminal 26 and the second input terminal 28 of the second resistor string 340, and the resistances of the resistors Rb1, Rb2, and Rb3 are substantially equal.
  • resistors Rb1, Rb2, and Rb3 have connection terminals at both ends, for example: resistor Rb1 has terminals Q1 and Q2, resistor Rb2 has terminals Q2 and Q3, and resistor Rb3 has terminals Q3 and Q4, as shown in Figure 4. As shown.
  • the terminal Q3 is connected to the first input terminal 26 of the second resistor string 340, and the terminal Q0 is connected to the second input terminal 28 of the second resistor string 340.
  • the first switch network 320 includes (2 N / 2 +1) switches, N is an even number greater than 0, and the plurality of switches are correspondingly connected to a plurality of connection terminals in the first resistor string 310.
  • the first switch network 320 includes switches SM1-SM5.
  • the first path ends of the switches SM1, SM2, SM3, SM4, and SM5 are connected to terminals T1, T2, and T3, respectively.
  • the second path ends of the even-numbered switches SM2 and SM4 are connected to the first output terminal 36 of the first switching network 320; the second path ends of the odd-numbered switches SM1, SM3, and SM5 are connected to the second switching network 320.
  • Output 38 is
  • the second path end of the odd-numbered switches SM2 and SM4 is connected to the first output end 36 of the first switch network 320; the second path of the even-numbered switches SM1, SM3, and SM5 Is connected to the second output terminal 38 of the first switching network 320.
  • the present invention is not limited thereto, and those skilled in the art may select according to specific situations.
  • the closed and open states of the switches SM1, SM2, SM3, SM4, and SM5 are controlled by the first control signals C0-C4, respectively.
  • the second switch network 350 includes 2 N / 2 switches, N is an even number greater than 0, and the plurality of switches are correspondingly connected to the plurality of connection terminals in the second resistor string 340.
  • the second switch network 350 includes switches SL1, SL2, SL3, and SL4.
  • the first path ends of the switches SL1, SL2, SL3, and SL4 are connected to the terminals Q1, Q2, Q3, and Q4, respectively.
  • the second path ends of the switches SL1, SL2, SL3, and SL4 are connected to the analog signal output end 18.
  • the closed and open states of the switches SL1, SL2, SL3, SL4 are controlled by the second control signals D0-D3.
  • the digital-to-analog converter 300 further includes a third switching network 330.
  • the third switching network 330 is configured to provide a current path from the first switching network 320 to the second resistor string 340.
  • the third switch network 330 includes a first switch circuit and a second switch circuit, and each of the first switch circuit and the second switch circuit includes switches SH1 and SH2.
  • the first path terminal of the first switching circuit is connected to the first output terminal 36 of the first switching network 320, and the second path terminal of the first switching circuit is connected to the first input terminal 26 and the second input of the second resistor string 340. Terminal 28 is connected.
  • the first path terminal of the second switching circuit is connected to the second output terminal 38 of the first switching network 320, and the second path terminal of the second switching circuit is connected to the first input terminal 26 and the second input terminal 28 of the second resistor string 340. connection.
  • the first path terminals of the switches SH1 and SH2 of the first switching circuit are connected to the first output terminal 36 of the first switching network 320, and the second path terminal of the switch SH1 is connected to the first input terminal 26 of the second resistor string 340.
  • the second path terminal of the switch SH2 is connected to the second input terminal 28 of the second resistor string 340.
  • a first path terminal of the switches SH1 and SH2 of the second switching circuit is connected to the second output terminal 38 of the first switching network 320, and a second path terminal of the switch SH1 is connected to the second input terminal 28 of the second resistor string 340.
  • the second path terminal of SH2 is connected to the first input terminal of the second resistor string 340.
  • the first switching network 320 is used to select a resistor from the resistors Ra1-Ra4 of the first resistor string 310 according to the most significant bits I4 and I3 in the digital signal
  • the third switching network 330 is used to select the resistance of the selected resistor. Both ends are coupled to the first input terminal 26 and the second input terminal 28 of the second resistor string 340.
  • the resistors Rb1-Rb4 in the second resistor string 340 are at the terminal Q1 A voltage is generated at -Q4.
  • the second switching network 350 is configured to select a resistor from the resistors Rb1 to Rb3 of the second resistor string 340 and couple a voltage generated at a terminal of the resistor to the analog signal output terminal 18 of the digital-to-analog converter 300.
  • FIG. 5 shows the relationship between the bits of the four-bit digital signal I4I3I2I1 and the closed / open states of the switches SM1-SM5, switches SH1 and SH2, and switches SL1-SL4.
  • the switch SH1 in the third switch network 330 is closed; when the resistance selected in the first resistance string 310 is For the even number of resistors, the switch SH2 in the third switching network 330 is closed.
  • the switching sequence of the second switching network 350 always follows the bits of the digital signals I4I3I2I1 from small to large, and is sequentially switched by the switches SL1-SL4.
  • the logic switching of the second switching network 350 and the switching logic of the first switching network 320 are independent of each other.
  • the first control signal and the second control signal are independent of each other, thereby greatly reducing the complexity of decoding and improving work. Efficiency and reduce power consumption.
  • the switches SM1 and SM2 are closed in the first switch network 320, the switch SH1 is closed in the third switch network 330, and the second switch network 350 is closed.
  • Arthur switch SL1 is closed.
  • the terminal T2 of the resistor Ra1 is coupled to the first input terminal 26 of the second resistor string 340 through the switch SM2 and the switch SH1 of the first switching circuit in the third switching network 330, as shown by the dotted line 61 in FIG. 6.
  • the terminal T1 of the resistor Ra1 is coupled to the second input terminal 28 of the second resistor string 340 through the switch SM1 and the switch SH1 of the second switching circuit in the third switching network 330, as shown by the dotted line 62 in FIG. 6.
  • the switches SM2 and SM3 are closed in the first switch network 320, the switch SH2 is closed in the third switch network 330, and the switch SL1 is closed in the second switch network 350.
  • the terminal T3 of the resistor Ra2 is coupled to the first input terminal 26 of the second resistor string 340 through the switch SM3 and the switch SH2 of the second switching circuit in the third switching network 330, as shown by the dashed line 71 in FIG. 7.
  • the terminal T2 of the resistor Ra2 is coupled to the second input terminal 28 of the second resistor string 340 through the switch SM2 and the switch SH2 of the first switching circuit in the third switching network 330, as shown by the dashed line 72 in FIG. 7.
  • the voltage across ground of each resistor on the second resistor string 340 is increased by 1 / 4Vref; when the first resistor string 310 is switched from resistor Ra2 to resistor At Ra3, the voltage rising to ground across each resistor on the second resistor string 340 is also 1 / 4Vref. Therefore, each time the first resistor string 310 is switched, the voltage across the resistors in the second resistor string 340 changes uniformly, so that the output analog signal will not be different due to different codes, which will affect the conversion accuracy of digital-to-analog conversion.
  • the “resistance” mentioned in the above embodiments may be a single physical resistor or a resistance element, or may be a combination of multiple physical resistors or resistance elements.
  • the resistive digital-to-analog converter shown in the present invention is applicable to various types of impedance elements, and the impedance of each impedance element corresponds to the required resistance. Therefore, the "resistance” referred to here is any number of different types of resistance elements, such as precision thin film resistors, based on circuit layout, which are made of SiCr or other materials, or in the case of integrated circuits (mixed with Hetero-p- or n-) polysilicon. It is also understood that the "resistance” described herein may include any circuit element that can generate a voltage proportional to the current passing through it across its terminals.
  • the present invention is described in detail by taking a 4-digit digital-to-analog converter as an example.
  • the digital-to-analog converter disclosed in the present invention is also suitable for converting digital signals of other bits
  • the present invention is not limited thereto.
  • the digital-to-analog converter of the present invention includes a third switching network for coupling both ends of the selected resistor in the first resistor string to the first of the second resistor string during the operation of the digital-to-analog converter.
  • An input terminal and a second input terminal when the resistance on the first resistor string is switched, the first input terminal and the second input terminal of the second resistor string are switched simultaneously. Therefore, when the resistance on the first resistance string is switched, the first input terminal and the second input terminal of the second resistance string increase the same voltage to ground.
  • the logic of the second switch network is switched.
  • the switching logic is independent from the first switching network.
  • the first control signal and the second control signal are independent from each other, which makes the first decoding circuit and the second decoding circuit independent from each other, which makes the decoding complexity greatly. Reduce, improve work efficiency and reduce power consumption.
  • the digital-to-analog converter of the present invention has higher conversion efficiency and smaller area under high bits.

Abstract

A digital to analog converter (300) comprises: a first resistor string (310), comprising multiple first resistors connected between a reference voltage and a reference ground; a second resistor string (340), comprising multiple second resistors connected between a first input end (26) and a second input end (28); a first switch network (320), for selecting at least one first resistor from the first resistor string (310) according to a first valid bit of an input digital signal; and a second switch network (350), for selecting at least one second resistor from the second resistor string (340) according to a second valid bit of the input digital signal. The digital to analog converter (300) also comprises a third switch network (330) that provides a current path from the first switch network (320) to the second resistor string (340). When switching is performed on the first resistor string (310), voltages across the resistors of the second resistor string (340) change uniformly, and the degree of matching is greatly improved, thereby eliminating the case in which an output analog signal difference between adjacent codes has a strong correlation with an absolute code, affecting the accuracy of digital to analog conversion.

Description

数模转换器D / A converter
本申请要求了2018年7月24日提交的、申请号为201810820578.X、发明名称为“数模转换器”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority from a Chinese patent application filed on July 24, 2018 with an application number of 201810820578.X and an invention name of "digital-to-analog converter", the entire contents of which are incorporated herein by reference.
技术领域Technical field
本发明涉及集成电路制造领域,更具体地涉及一种数模转换器。The invention relates to the field of integrated circuit manufacturing, and more particularly to a digital-to-analog converter.
背景技术Background technique
随着计算机技术、多媒体技术、信号处理技术迅速发展,先进的电子系统不断涌现,在现代电子系统的前端和后端都将应用到数模转换器(digital to analog converter,DAC)。With the rapid development of computer technology, multimedia technology, and signal processing technology, advanced electronic systems continue to emerge. Both front-end and back-end of modern electronic systems will be applied to digital-to-analog converters (DACs).
数模转换器用于将数字信号转换为模拟信号,在集成电路设计中,电阻型数模转换器是较为常见的一种。如图1示出了一种电阻型数模转换器的结构示意图,如图1所示,传统的电阻型数模转换器100将具有相同电阻值的电阻R1-R64彼此串联连接,接入参考电压Vref和参考地之间,由并联的开关S0-S64连接在电阻之间的连接节点上,多个开关S0-S64由经过解码的数字信号控制,选择地输出电阻之间各节点的电压作为相应于数字信号的模拟电压。对于传统结构的数模转换器,当精度N=10位以上时,需要2 N个开关,电路会占用更大的面积,同时开关的杂散电容也会限制数模转换的速度。 Digital-to-analog converters are used to convert digital signals into analog signals. In integrated circuit design, resistive digital-to-analog converters are a more common type. FIG. 1 shows a schematic structural diagram of a resistive digital-to-analog converter. As shown in FIG. 1, a conventional resistive digital-to-analog converter 100 connects resistors R1 to R64 having the same resistance value in series with each other, and access reference Between the voltage Vref and the reference ground, the switches S0-S64 connected in parallel are connected to the connection node between the resistors. Multiple switches S0-S64 are controlled by the decoded digital signal, and the voltage of each node between the resistors is selected to be output as the ground. An analog voltage corresponding to a digital signal. For a digital-to-analog converter with a conventional structure, when the accuracy N = 10 bits or more, 2 N switches are needed, the circuit will occupy a larger area, and the stray capacitance of the switch will also limit the speed of the digital-to-analog conversion.
发明内容Summary of the Invention
有鉴于此,本发明的目的在于提供一种数模转换器,数模转换的效率和精度更高。In view of this, an object of the present invention is to provide a digital-to-analog converter, which has higher efficiency and accuracy.
根据本发明提供一种数模转换器,包括:第一电阻串,包括连接在参考电压与参考地之间的多个第一电阻;第二电阻串,包括连接在第一输入端和第二输入端之间的多个第二电阻;第一开关网络,用于根据输入的数字信号的第一有效位在所述第一电阻串中选定至少一个第一电阻;第二开关网络,用于根据输入的所述数字信号的第二有效位在所述第二电阻串中选定至少一个第二电阻,其中,所述数模转换器还包括第三开关网络,用于提供从所述第一开关网络到所述第二电阻串的电流路径。According to the present invention, a digital-to-analog converter is provided, including: a first resistor string including a plurality of first resistors connected between a reference voltage and a reference ground; and a second resistor string including a first input terminal and a second resistor. A plurality of second resistors between the input terminals; a first switch network for selecting at least one first resistor in the first resistor string according to a first significant bit of the input digital signal; a second switch network for At least one second resistor is selected in the second resistor string according to the second significant bit of the input digital signal, wherein the digital-to-analog converter further includes a third switch network for A current path from a first switching network to the second resistor string.
优选地,所述第一电阻的两端包括第一端子,所述第二电阻的两端包括第二端子。Preferably, both ends of the first resistor include a first terminal, and both ends of the second resistor include a second terminal.
优选地,所述第一电阻串中相邻的所述第一电阻共用所述第一端子,所述第二电阻串中相邻的所述第二电阻共用所述第二端子。Preferably, adjacent first resistors in the first resistance string share the first terminal, and adjacent second resistors in the second resistance string share the second terminal.
优选地,所述第一开关网络包括多个第一开关,所述多个第一开关的第一通路端与所述第一端子对应连接,第二通路端与所述第一开关网络的输出端连接;所述第二开关网络包括多个第二开关,所述第二开关的第一通路端与所述第二端子对应连接,第二通路端与所述第二开关网络的输出端连接,所述第二开关网络的输出端用于输出与所述数字信号相应的模拟信号。Preferably, the first switch network includes a plurality of first switches, a first path end of the plurality of first switches is correspondingly connected to the first terminal, and a second path end is connected to an output of the first switch network. The second switch network includes a plurality of second switches, a first path end of the second switch is correspondingly connected to the second terminal, and a second path end is connected to an output end of the second switch network The output terminal of the second switch network is used to output an analog signal corresponding to the digital signal.
优选地,所述第一开关网络包括第一输出端和第二输出端,其中,第偶数个所述第一开关的第二通路端与所述第一输出端连接,第奇数个所述第一开关的第二通路端与所述第二输出端连接。Preferably, the first switch network includes a first output terminal and a second output terminal, wherein a second path terminal of an even number of the first switches is connected to the first output terminal, and an odd number of the first A second path end of a switch is connected to the second output end.
优选地,所述第一开关网络包括第一输出端和第二输出端,其中,第奇数个所述第一开关的第二通路端与所述第一输出端连接,第偶数个所述第一开关的第二通路端与所述第二输出端连接。Preferably, the first switch network includes a first output end and a second output end, wherein the second path end of the odd number of the first switches is connected to the first output end, and the even number of the first A second path end of a switch is connected to the second output end.
优选地,所述第三开关网络包括第一开关电路和第二开关电路,所述第一开关电路和所述第二开关电路都包括第三开关和第四开关,其中,所述第一开关电路中的所述第三开关的第一通路端与所述第一输出端连接,第二通路端与所述第一输入端连接,所述第四开关的第一通路端与所述第一输出端连接,第二通路端与所述第二输入端连接,所述第二开关电路中的所述第三开关的第一通路端与所述第二输出端连接,第二通路端与所述第二输入端连接,所述第四开关的第一通路端与所述第二输出端连接,第二通路端与所述第一输入端连接。Preferably, the third switch network includes a first switch circuit and a second switch circuit, and the first switch circuit and the second switch circuit each include a third switch and a fourth switch, wherein the first switch A first path end of the third switch in the circuit is connected to the first output end, a second path end is connected to the first input end, and a first path end of the fourth switch is connected to the first The output end is connected, the second path end is connected to the second input end, the first path end of the third switch in the second switch circuit is connected to the second output end, and the second path end is connected to the second output end. The second input terminal is connected, the first path terminal of the fourth switch is connected to the second output terminal, and the second path terminal is connected to the first input terminal.
优选地所述的数模转换器还包括:第一解码电路,用于根据所述数字信号的所述第一有效位得到第一控制信号,所述第一控制信号用于控制所述多个第一开关的闭合/断开状态;第二解码电路,用于根据所述数字信号的所述第二有效位得到第二控制信号,所述第二控制信号用于控制所述多个第二开关的闭合/断开状态。Preferably, the digital-to-analog converter further includes: a first decoding circuit, configured to obtain a first control signal according to the first significant bit of the digital signal, and the first control signal is used to control the plurality of A closed / open state of a first switch; a second decoding circuit, configured to obtain a second control signal according to the second significant bit of the digital signal, and the second control signal is used to control the plurality of second On / off state of the switch.
优选地,所述第一控制信号和所述第二控制信号相互独立。Preferably, the first control signal and the second control signal are independent of each other.
优选地,所述第一有效位为最高有效位,所述第二有效位为最低有效位。Preferably, the first significant bit is the most significant bit, and the second significant bit is the least significant bit.
综上所述,本发明的数模转换器包括第三开关网络,用于在数模转换器工作过程中将第一电阻串中被选定的电阻的两端耦合到第二电阻串的第一输入端和第二输入端,当第一电阻串上的电阻进行切换时,第二电阻串的第一输入端和第二输入端同时进行切换。因此当第一电阻串上的电阻进行切换时,第二电阻串的第一输入端和第二输入端对地升高相同的电压。所以每次第一电阻串进行切换时第二电阻串中的电阻的两端电压变化一致,匹配性大大提高,从而不会由于代码不同而造成输出模拟信号的不同,影响数模转换的转换精度。In summary, the digital-to-analog converter of the present invention includes a third switching network for coupling both ends of the selected resistor in the first resistor string to the first of the second resistor string during the operation of the digital-to-analog converter. An input terminal and a second input terminal, when the resistance on the first resistor string is switched, the first input terminal and the second input terminal of the second resistor string are switched simultaneously. Therefore, when the resistance on the first resistance string is switched, the first input terminal and the second input terminal of the second resistance string increase the same voltage to ground. Therefore, each time the first resistance string is switched, the voltage across the resistance in the second resistance string changes uniformly, and the matching is greatly improved, so that the output analog signal will not be different due to different codes, which will affect the conversion accuracy of digital-to-analog conversion. .
同时因为在第一电阻串的电阻进行切换过程中,第二电阻串中电流的方向一直是固定的,不会随着第一电阻串中电阻的切换而改变,所以第二开关网络的逻辑切换和第一开关网络的切换逻辑之间是相互独立的,最终第一控制信号和第二控制信号相互独立,使得第一解码电路和第二解码电路之间相互独立,从而使得解码的复杂度大大减小,提高工作效率,减小功耗。At the same time, because the resistance of the first resistance string is switched, the direction of the current in the second resistance string is always fixed and will not change with the resistance of the first resistance string. Therefore, the logic of the second switch network is switched. The switching logic is independent from the first switching network. In the end, the first control signal and the second control signal are independent from each other, which makes the first decoding circuit and the second decoding circuit independent from each other, which makes the decoding complexity greatly. Reduce, improve work efficiency and reduce power consumption.
同时第三开关网络中的第三开关和第四开关由于只是随第一电阻串的电阻的选择顺序依次切换,复杂度也不高。因此,在高比特下的本发明的数模转换器的转换效率更高,面积更小。At the same time, since the third switch and the fourth switch in the third switch network are only sequentially switched in accordance with the selection order of the resistance of the first resistor string, the complexity is not high. Therefore, the digital-to-analog converter of the present invention has higher conversion efficiency and smaller area under high bits.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
通过以下参照附图对本发明实施例的描述,本发明的上述以及其他目的、特征和优点将更为清楚。The above and other objects, features, and advantages of the present invention will be more apparent from the following description of embodiments of the present invention with reference to the accompanying drawings.
图1示出传统的电阻型数模转换器的结构示意图。FIG. 1 shows a schematic structural diagram of a conventional resistive digital-to-analog converter.
图2示出一种典型的由主、从电阻串组成的4比特数模转换器的结构示意图。FIG. 2 shows a schematic diagram of a typical 4-bit digital-to-analog converter composed of a master and a slave resistor string.
图3示出输入数字信号为0011时现有的数模转换器的结构示意图。FIG. 3 is a schematic structural diagram of an existing digital-to-analog converter when the input digital signal is 0011.
图4示出根据本发明实施例的数模转换器的结构示意图。FIG. 4 is a schematic structural diagram of a digital-to-analog converter according to an embodiment of the present invention.
图5示出图4中数字信号I4I3I2I1的位与开关SM1-SM5、开关SHI和开关SH2以及开关SL1-SL4的闭合/断开状态之间的关系示意图。FIG. 5 is a schematic diagram showing the relationship between the bits of the digital signals I4I3I2I1 and the closed / open states of the switches SM1-SM5, switches SHI and SH2, and switches SL1-SL4 in FIG.
图6示出当输入的数字信号为0000时本发明第一实施例的数模转换器的结构示意图。FIG. 6 is a schematic structural diagram of a digital-to-analog converter according to a first embodiment of the present invention when an input digital signal is 0000.
图7示出当输入的数字信号为0100时本发明第一实施例的数模转换器的结构示意图。FIG. 7 is a schematic structural diagram of a digital-to-analog converter according to a first embodiment of the present invention when the input digital signal is 0100.
具体实施方式detailed description
以下将参照附图更详细地描述本发明。在各个附图中,相同的元件采用类似的附图标记来表示。为了清楚起见,附图中的各个部分没有按比例绘制。此外,在图中可能未示出某些公知的部分。Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings. In the various drawings, the same elements are denoted by similar reference numerals. For clarity, the various elements in the drawings have not been drawn to scale. In addition, some well-known parts may not be shown in the drawings.
在下文中描述了本发明的许多特定的细节,例如部件的结构、材料、尺寸、处理工艺和技术,以便更清楚地理解本发明。但正如本领域的技术人员能够理解的那样,可以不按照这些特定的细节来实现本发明。In the following, many specific details of the invention are described, such as the structure, materials, dimensions, processing techniques, and techniques of the components, in order to better understand the invention. As will be understood by those skilled in the art, the invention may be practiced without these specific details.
应当理解,在以下的描述中,“电路”是指由至少一个元件或子电路通过电气连接或电磁连接构成的导电回路。当称元件或电路“连接到”另一元件或称元件/电路“连接在”两个节点之间时,它可以直接耦合或连接到另一元件或者可以存在中间元件,元件之间的连接可以是物理上的、逻辑上的、或者其结合。相反,当称元件“直接耦合到”或“直接连接到”另一元件时,意味着两者不存在中间元件。It should be understood that, in the following description, “circuit” refers to a conductive loop formed by at least one element or sub-circuit through an electrical connection or an electromagnetic connection. When an element or circuit is "connected" to another element or an element / circuit is "connected" between two nodes, it can be directly coupled or connected to another element or an intermediate element can exist. The connection between the elements can be Is physical, logical, or a combination. In contrast, when an element is referred to as being "directly coupled" or "directly connected" to another element, it means that there are no intervening elements present.
图2示出的是一个典型的由主、从电阻串组成的4比特数模转换器200,包括第一电阻串210、第二电阻串230、第一开关网络220、第二开关网络240以及解码模块260。FIG. 2 shows a typical 4-bit digital-to-analog converter 200 composed of a master and a slave resistor string, including a first resistor string 210, a second resistor string 230, a first switching network 220, a second switching network 240, and Decoding module 260.
解码模块260用于根据接收到的数字信号得到M个控制信号,其中,所述M个控制信号分 为第一控制信号和第二控制信号。例如在本实施例中,解码模块260根据四位数字信号I4I3I2I1得到第一控制信号C0-C4和第二控制信号D0-D3。其中,I4和I3表示最高有效位(Most Significant Bit,MSB),第一控制信号C0-C4例如为高阶位控制信号;I1和I2表示最低有效位(Least Significant Bit,LSB),第二控制信号D0-D3例如为低阶位控制信号。The decoding module 260 is configured to obtain M control signals according to the received digital signals, where the M control signals are divided into a first control signal and a second control signal. For example, in this embodiment, the decoding module 260 obtains the first control signals C0-C4 and the second control signals D0-D3 according to the four-bit digital signals I4I3I2I1. Among them, I4 and I3 represent the most significant bits (MSB), and the first control signals C0-C4 are, for example, high-order bit control signals; I1 and I2 represent the least significant bits (Least, Significant Bit, LSB), and the second control The signals D0-D3 are, for example, low-order bit control signals.
具体地,解码模块260包括第一解码电路261和第二解码电路262,第一解码电路261用于根据四位数字信号I4、I3、I2、I1中的两个最高有效位I4和I3产生第一控制信号C0-C4。在本实施例中,第一解码电路461例如使用第一解码器实现,通过使用格雷码进行解码。Specifically, the decoding module 260 includes a first decoding circuit 261 and a second decoding circuit 262. The first decoding circuit 261 is configured to generate a first decoding circuit according to the two most significant bits I4 and I3 of the four-bit digital signals I4, I3, I2, and I1. A control signal C0-C4. In this embodiment, the first decoding circuit 461 is implemented using, for example, a first decoder, and decodes by using a Gray code.
第二解码电路262用于根据四位数字信号I4、I3、I2、I1中的I3、I2和I1产生第二控制信号D0-D3。第二解码电路262包括第二解码器263和选择电路264。The second decoding circuit 262 is configured to generate second control signals D0-D3 according to I3, I2, and I1 of the four-bit digital signals I4, I3, I2, and I1. The second decoding circuit 262 includes a second decoder 263 and a selection circuit 264.
第二解码器263接收两个最低有效位I2和I1,并根据I2和I1在输出端子A0、A1、A2和A3处产生二进制信号。选择电路264包括第一输入端A和第二输入端B,第一输入端A与输出端子A0、A1、A2和A3连接,第二输入端B通过多个反相器51与输出端子A0、A1、A2和A3连接,输出端子A0、A1、A2和A3与多个反相器51的输入端对应连接,反相器51的输出端与选择电路264的第二输入端B连接。选择电路264例如为多路复用器,用于根据位I3将第一输入端A或第二输入端B中的一个选择性地耦合到选择电路264的输出端。更具体地说,当位I3的二进制信号为逻辑0时,选择电路264将输出端子A0、A1、A2和A3分别耦合到输出端,如图8中所示的实线52,将第二解码器263在输出端子A0、A1、A2和A3处产生二进制信号直接输出为第二控制信号D0-D3。当位I3的二进制信号为逻辑1时,输出端子A0、A1、A2和A3分别在通过反相器51后,与选择电路264的输出端相连,如图8中的虚线54所示,将第二解码器263在输出端子A0、A1、A2和A3处产生二进制信号的反相信号输出为第二控制信号D0-D3。The second decoder 263 receives the two least significant bits I2 and I1 and generates a binary signal at the output terminals A0, A1, A2, and A3 according to I2 and I1. The selection circuit 264 includes a first input terminal A and a second input terminal B. The first input terminal A is connected to the output terminals A0, A1, A2, and A3, and the second input terminal B is connected to the output terminals A0, A5 through multiple inverters 51, A1, A2, and A3 are connected, output terminals A0, A1, A2, and A3 are correspondingly connected to the input terminals of the plurality of inverters 51, and the output terminal of the inverter 51 is connected to the second input terminal B of the selection circuit 264. The selection circuit 264 is, for example, a multiplexer for selectively coupling one of the first input terminal A or the second input terminal B to the output terminal of the selection circuit 264 according to the bit I3. More specifically, when the binary signal of bit I3 is logic 0, the selection circuit 264 couples the output terminals A0, A1, A2, and A3 to the output, respectively, as shown by the solid line 52 in FIG. 8 to decode the second The converter 263 generates binary signals at the output terminals A0, A1, A2, and A3 and directly outputs the binary signals as the second control signals D0-D3. When the binary signal of bit I3 is logic 1, the output terminals A0, A1, A2, and A3 are connected to the output of the selection circuit 264 after passing through the inverter 51, as shown by the dotted line 54 in FIG. The two decoders 263 generate binary signals at the output terminals A0, A1, A2, and A3 and output the inverted signals as the second control signals D0-D3.
第一电阻串210由阻值相等的多个电阻Ra4-Ra1串联组成,多个电阻Ra4-Ra1连接在参考电压Vref和参考地之间。第二电阻串230由阻值相等的多个电阻Rb3-Rb1串联组成。第一开关网络220包括多个开关SM0-SM4,第二开关网络包括多个开关SL0-SL3。第一开关网络220受控于第一解码电路261产生的第一控制信号C0-C4,第二开关网络240受控于第二解码电路产生的第二控制信号D0-D3。假设参考电压Vref等于1V,表1示出在理想情况下DAC的输出结果与第一开关网络220和第二开关网络240之间的关系。The first resistor string 210 is composed of a plurality of resistors Ra4-Ra1 having the same resistance value in series, and the plurality of resistors Ra4-Ra1 are connected between the reference voltage Vref and the reference ground. The second resistor string 230 is composed of a plurality of resistors Rb3-Rb1 having equal resistance values connected in series. The first switch network 220 includes a plurality of switches SM0-SM4, and the second switch network includes a plurality of switches SL0-SL3. The first switching network 220 is controlled by the first control signals C0-C4 generated by the first decoding circuit 261, and the second switching network 240 is controlled by the second control signals D0-D3 generated by the second decoding circuit. Assuming the reference voltage Vref is equal to 1V, Table 1 shows the relationship between the output result of the DAC and the first switching network 220 and the second switching network 240 under ideal conditions.
表1Table 1
Figure PCTCN2019097020-appb-000001
Figure PCTCN2019097020-appb-000001
Figure PCTCN2019097020-appb-000002
Figure PCTCN2019097020-appb-000002
图3示出当数字信号为0011时现有的数模转换器的结构示意图。如图3所示,当输入为0011时,开关SM1、SM0以及SL3闭合,假设第一电阻串上的电阻Ra4-Ra1的阻值都是R1,第二电阻串上的电阻Rb3-Rb1的阻值都是R2,则可以得到从参考电压Vref接入电路的总电阻
Figure PCTCN2019097020-appb-000003
则在电阻Ra1上产生的电压为
FIG. 3 shows a schematic structural diagram of an existing digital-to-analog converter when the digital signal is 0011. As shown in Figure 3, when the input is 0011, the switches SM1, SM0, and SL3 are closed. It is assumed that the resistance of the resistors Ra4-Ra1 on the first resistor string are all R1, and that of the resistors Rb3-Rb1 on the second resistor string. The value is R2, then the total resistance of the circuit connected from the reference voltage Vref can be obtained.
Figure PCTCN2019097020-appb-000003
Then the voltage generated on the resistor Ra1 is
Figure PCTCN2019097020-appb-000004
Figure PCTCN2019097020-appb-000004
在一个理想的4比特的数模转换器中:R1=R2,则可以根据上面的公式得到Ra1上的电压Va1=3/15Vref,而并联在Ra1上有电阻Rb1-Rb3,即3个LSB(Least Significant Bit,最低有效位),因此我们可以得到该4比特数模转换器的一个LSB是1/15Vref。当然,这只是一种理想情况,在实际的电阻型数模转换器的电路设计中,主、第二电阻串的阻值大小往往是不相等的。In an ideal 4-bit digital-to-analog converter: R1 = R2, the voltage Va1 = 3 / 15Vref on Ra1 can be obtained according to the above formula, and resistors Rb1-Rb3 are connected in parallel on Ra1, that is, 3 LSB ( Least Significant Bit, so we can get that one LSB of the 4-bit digital-to-analog converter is 1 / 15Vref. Of course, this is only an ideal situation. In the actual circuit design of a resistive digital-to-analog converter, the resistance values of the main and second resistor strings are often not equal.
现有技术的数模转换器存在以下的缺点:1、为了消除第二电阻串230上闭合电流对于第一电阻串210的干扰,引起每一个LSB的误差,现有的数模转换器在主、第二电阻串之间插入电压缓冲器。但是由于电压缓冲器自身的误差,这样反而会增加输出电压的误差,而且电压缓冲器会消耗额外的功耗和芯片面积。2、从表1可以看出,当在第一电阻串中选中不同的电阻时,第二电阻串的第二开关网络的逻辑是不同的,例如:开关SM0和开关SM1闭合,即在第一电阻串选中电阻Ra1时,对应于DAC输出电压为0-3/15V,第二开关网络闭合的开关依次为SL0-SL3;而当开关SM1和开关SM2闭合,即在第一电阻串选中电阻Ra2时,对应于DAC输出电压为4/15V-7/15V,第二开关网络闭合的开关依次为SL3-SL0,如表1所示。所以现有的数模转换器中第二开关网络的解码逻辑根据第一电阻串选中的电阻而变化,增加了数模转换器数字解码的复杂程度,提高了解码的工作量。3、第二电阻串上每个电阻的电压的变化与第一电阻串上选中的电阻有关。例如:第一电阻串由电阻Ra1切换到电阻Ra2时,第二电阻串的电阻Rb3的顶端电压不变,但是电阻Rb1的底端电压升高;而当第一电阻串从电阻Ra2切换到电阻Ra3时,第二电阻串230的电阻Rb3的顶端电压升高,但是电阻Rb1的底端电压不变。在同样的1LSB变化下,由于第一电阻串 210中选择的电阻的不同,第二电阻串230的首端和尾端的电压变化发生改变,从而导致在不同的代码下数模转换器的输出可能会出现不同的变化,从而影响输出电压值,影响数模转换的转换精度。The prior art digital-to-analog converter has the following disadvantages: 1. In order to eliminate the interference of the closed current on the second resistor string 230 to the first resistor string 210 and cause each LSB error, the existing digital-to-analog converter is in the main A voltage buffer is inserted between the second resistor string. However, due to the error of the voltage buffer itself, this will increase the error of the output voltage, and the voltage buffer will consume additional power consumption and chip area. 2. It can be seen from Table 1 that when different resistors are selected in the first resistor string, the logic of the second switch network of the second resistor string is different, for example: switch SM0 and switch SM1 are closed, that is, When the resistor string Ra1 is selected, the corresponding DAC output voltage is 0-3 / 15V, and the switches closed by the second switch network are SL0-SL3 in turn; when the switches SM1 and SM2 are closed, the resistor Ra2 is selected in the first resistor string. At this time, corresponding to the DAC output voltage is 4 / 15V-7 / 15V, the switches closed by the second switch network are SL3-SL0, as shown in Table 1. Therefore, the decoding logic of the second switching network in the existing digital-to-analog converter changes according to the resistance selected by the first resistor string, which increases the complexity of digital decoding of the digital-to-analog converter and increases the workload of decoding. 3. The change in the voltage of each resistor on the second resistor string is related to the selected resistor on the first resistor string. For example: when the first resistor string is switched from resistor Ra1 to resistor Ra2, the top voltage of resistor Rb3 of the second resistor string is unchanged, but the bottom voltage of resistor Rb1 is increased; and when the first resistor string is switched from resistor Ra2 to resistor At Ra3, the top voltage of the resistor Rb3 of the second resistance string 230 increases, but the bottom voltage of the resistor Rb1 does not change. Under the same 1LSB change, due to the different resistances selected in the first resistor string 210, the voltage changes at the head and tail of the second resistor string 230 change, which may cause the output of the digital-to-analog converter under different codes. Different changes will occur, which will affect the output voltage value and the conversion accuracy of digital-to-analog conversion.
图4示出本发明实施例提供的数模转换器300的结构示意图。数模转换器300用于将N位的数字信号转换为模拟信号。数模转换器300可由集成电路实施为独立模块或者与其他模块组合。FIG. 4 is a schematic structural diagram of a digital-to-analog converter 300 according to an embodiment of the present invention. The digital-to-analog converter 300 is used to convert an N-bit digital signal into an analog signal. The digital-to-analog converter 300 may be implemented as an independent module by an integrated circuit or combined with other modules.
数模转换器300的外围包括第一参考输入端16、第二参考输入端17以及模拟信号输出端18。第一参考输入端16用于接收参考电压Vref,第二参考输入端17用于接收模拟接地信号。参考电压Vref使得数模转换器300能够根据参考框架产生模拟输出。The periphery of the digital-to-analog converter 300 includes a first reference input terminal 16, a second reference input terminal 17, and an analog signal output terminal 18. The first reference input terminal 16 is configured to receive a reference voltage Vref, and the second reference input terminal 17 is configured to receive an analog ground signal. The reference voltage Vref enables the digital-to-analog converter 300 to generate an analog output according to a reference frame.
如图4所示,数模转换器300包括第一电阻串310、第一开关网络320、第二电阻串340、第二开关网络350以及解码模块360。其中,第一电阻串310包括串联连接的2 N/2个电阻,第二电阻串340包括串联连接的(2 N/2-1)个电阻,N为大于0的偶数。在本实施例中,以数模转换器300转换4位数字信号为例进行说明,因此第一电阻串310包括4个电阻串联连接,第二电阻串包括3个电阻串联连接。 As shown in FIG. 4, the digital-to-analog converter 300 includes a first resistor string 310, a first switch network 320, a second resistor string 340, a second switch network 350, and a decoding module 360. The first resistor string 310 includes 2 N / 2 resistors connected in series, and the second resistor string 340 includes (2 N / 2 -1) resistors connected in series. N is an even number greater than 0. In this embodiment, the digital-to-analog converter 300 is used as an example for description. Therefore, the first resistor string 310 includes four resistors connected in series, and the second resistor string includes three resistors connected in series.
解码模块360用于根据接收到的数字信号得到M个控制信号,其中,所述M个控制信号分为第一控制信号和第二控制信号。例如在本实施例中,解码模块360根据四位数字I4、I3、I2和I1得到第一控制信号C0-C4和第二控制信号D0-D3。其中,I4和I3表示最高有效位(Most Significant Bit,MSB),第一控制信号C0-C4例如为高阶位控制信号;I1和I2表示最低有效位(Least Significant Bit,LSB),第二控制信号D0-D3例如为低阶位控制信号。The decoding module 360 is configured to obtain M control signals according to the received digital signals, where the M control signals are divided into a first control signal and a second control signal. For example, in this embodiment, the decoding module 360 obtains the first control signals C0-C4 and the second control signals D0-D3 according to the four-digit numbers I4, I3, I2, and I1. Among them, I4 and I3 represent the most significant bits (MSB), and the first control signals C0-C4 are, for example, high-order bit control signals; I1 and I2 represent the least significant bits (Least, Significant Bit, LSB), and the second control The signals D0-D3 are, for example, low-order bit control signals.
具体地,解码模块360包括第一解码电路361和第二解码电路362,第一解码电路361用于根据四位数字信号I4、I3、I2、I1中的两个最高有效位I4和I3产生第一控制信号C0-C4。在本实施例中,第一解码电路361例如使用解码器实现,通过使用格雷码进行解码。Specifically, the decoding module 360 includes a first decoding circuit 361 and a second decoding circuit 362. The first decoding circuit 361 is configured to generate a first decoding circuit according to the two most significant bits I4 and I3 of the four-bit digital signals I4, I3, I2, and I1. A control signal C0-C4. In this embodiment, the first decoding circuit 361 is implemented using, for example, a decoder, and decodes by using a Gray code.
第二解码电路362用于根据四位数字信号I4、I3、I2、I1中的两个最低有效位I2和I1产生第二控制信号D0-D3。第二解码电路362例如使用解码器实现,通过使用格雷码进行解码。The second decoding circuit 362 is configured to generate second control signals D0-D3 according to the two least significant bits I2 and I1 of the four-bit digital signals I4, I3, I2, and I1. The second decoding circuit 362 is implemented using, for example, a decoder, and decodes by using a Gray code.
第一电阻串310包括串联于参考电压Vref和地之间的电阻Ra4-Ra1。其中,电阻Ra1-Ra4的阻值相等。值得注意的是,电阻Ra1,Ra2,Ra3和Ra4的两端分别具有连接端子,例如:电阻Ra1两端分别具有端子T1和端子T2,电阻Ra2具有端子T2和端子T3,电阻Ra3具有端子T3和端子T4,电阻Ra4具有端子T4和端子T5,如图4所示。响应于参考电压Vref馈送的电流,第一电阻串310中的电阻Ra1-Ra4在端子T1-T5处产生电压。The first resistor string 310 includes resistors Ra4-Ra1 connected in series between the reference voltage Vref and the ground. Among them, the resistance values of the resistors Ra1-Ra4 are equal. It is worth noting that the two ends of the resistors Ra1, Ra2, Ra3, and Ra4 have connection terminals, for example: the two ends of resistor Ra1 have terminals T1 and T2, the resistor Ra2 has terminals T2 and T3, and the resistor Ra3 has terminals T3 and The terminal T4 and the resistor Ra4 have a terminal T4 and a terminal T5, as shown in FIG. 4. In response to the current fed by the reference voltage Vref, the resistors Ra1-Ra4 in the first resistor string 310 generate a voltage at the terminals T1-T5.
第二电阻串340包括串联连接在第二电阻串340的第一输入端26与第二输入端28之间的电阻Rb1,Rb2和Rb3,电阻Rb1,Rb2和Rb3的阻值基本相等。同样的,电阻器Rb1,Rb2和Rb3 的两端分别具有连接端子,例如:电阻Rb1具有端子Q1和端子Q2,电阻Rb2具有端子Q2和端子Q3,电阻Rb3分别具有端子Q3和Q4,如图4所示。端子Q3与第二电阻串340的第一输入端26连接,端子Q0与第二电阻串340的第二输入端28连接。The second resistor string 340 includes resistors Rb1, Rb2, and Rb3 connected in series between the first input terminal 26 and the second input terminal 28 of the second resistor string 340, and the resistances of the resistors Rb1, Rb2, and Rb3 are substantially equal. Similarly, resistors Rb1, Rb2, and Rb3 have connection terminals at both ends, for example: resistor Rb1 has terminals Q1 and Q2, resistor Rb2 has terminals Q2 and Q3, and resistor Rb3 has terminals Q3 and Q4, as shown in Figure 4. As shown. The terminal Q3 is connected to the first input terminal 26 of the second resistor string 340, and the terminal Q0 is connected to the second input terminal 28 of the second resistor string 340.
第一开关网络320包括(2 N/2+1)个开关,N为大于0的偶数,所述多个开关与第一电阻串310中的多个连接端子对应连接。例如,在本实施例中,第一开关网络320包括开关SM1-SM5,如图4所示,开关SM1、SM2、SM3、SM4和SM5的第一通路端分别连接到端子T1,T2,T3,T4和T5。第偶数个开关SM2和SM4的第二通路端连接到第一开关网络320的第一输出端36;第奇数个开关SM1、SM3和SM5的第二通路端连接到第一开关网络320的第二输出端38。当然,在本发明其他的实施例中,第奇数个开关SM2和SM4的第二通路端连接到第一开关网络320的第一输出端36;第偶数个开关SM1、SM3和SM5的第二通路端连接到第一开关网络320的第二输出端38。本发明不以此为限制,本领域的技术人员可以根据具体情况进行选择。 The first switch network 320 includes (2 N / 2 +1) switches, N is an even number greater than 0, and the plurality of switches are correspondingly connected to a plurality of connection terminals in the first resistor string 310. For example, in this embodiment, the first switch network 320 includes switches SM1-SM5. As shown in FIG. 4, the first path ends of the switches SM1, SM2, SM3, SM4, and SM5 are connected to terminals T1, T2, and T3, respectively. T4 and T5. The second path ends of the even-numbered switches SM2 and SM4 are connected to the first output terminal 36 of the first switching network 320; the second path ends of the odd-numbered switches SM1, SM3, and SM5 are connected to the second switching network 320. Output 38. Of course, in other embodiments of the present invention, the second path end of the odd-numbered switches SM2 and SM4 is connected to the first output end 36 of the first switch network 320; the second path of the even-numbered switches SM1, SM3, and SM5 Is connected to the second output terminal 38 of the first switching network 320. The present invention is not limited thereto, and those skilled in the art may select according to specific situations.
此外,开关SM1、SM2、SM3、SM4和SM5的闭合和断开状态分别由第一控制信号C0-C4控制。In addition, the closed and open states of the switches SM1, SM2, SM3, SM4, and SM5 are controlled by the first control signals C0-C4, respectively.
第二开关网络350包括2 N/2个开关,N为大于0的偶数,所述多个开关与第二电阻串340中的多个连接端子对应连接。例如,如图4所示,第二开关网络350包括开关SL1、SL2、SL3和SL4。开关SL1、SL2、SL3、SL4的第一通路端分别连接到端子Q1、Q2、Q3和Q4。开关SL1、SL2、SL3、SL4的第二通路端与模拟信号输出端18连接。开关SL1、SL2、SL3、SL4的闭合和断开状态由第二控制信号D0-D3控制。 The second switch network 350 includes 2 N / 2 switches, N is an even number greater than 0, and the plurality of switches are correspondingly connected to the plurality of connection terminals in the second resistor string 340. For example, as shown in FIG. 4, the second switch network 350 includes switches SL1, SL2, SL3, and SL4. The first path ends of the switches SL1, SL2, SL3, and SL4 are connected to the terminals Q1, Q2, Q3, and Q4, respectively. The second path ends of the switches SL1, SL2, SL3, and SL4 are connected to the analog signal output end 18. The closed and open states of the switches SL1, SL2, SL3, SL4 are controlled by the second control signals D0-D3.
数模转换器300还包括第三开关网络330,第三开关网络330用于提供第一开关网络320到第二电阻串340的电流路径。第三开关网络330包括第一开关电路和第二开关电路,第一开关电路和第二开关电路都包括开关SH1和SH2。其中,第一开关电路的第一通路端与第一开关网络320的第一输出端36连接,第一开关电路的第二通路端与第二电阻串340的第一输入端26和第二输入端28连接。第二开关电路的第一通路端与第一开关网络320的第二输出端38连接,第二开关电路的第二通路端与第二电阻串340的第一输入端26和第二输入端28连接。具体地,第一开关电路的开关SH1和SH2的第一通路端与第一开关网络320的第一输出端36连接,开关SH1的第二通路端与第二电阻串340的第一输入端26连接,开关SH2的第二通路端与第二电阻串340的第二输入端28连接。第二开关电路的开关SH1和SH2的第一通路端与第一开关网络320的第二输出端38连接,开关SH1的第二通路端与第二电阻串340的第二输入端28连接,开关SH2的第二通路端与第二电阻串340的第一输入端连接。The digital-to-analog converter 300 further includes a third switching network 330. The third switching network 330 is configured to provide a current path from the first switching network 320 to the second resistor string 340. The third switch network 330 includes a first switch circuit and a second switch circuit, and each of the first switch circuit and the second switch circuit includes switches SH1 and SH2. The first path terminal of the first switching circuit is connected to the first output terminal 36 of the first switching network 320, and the second path terminal of the first switching circuit is connected to the first input terminal 26 and the second input of the second resistor string 340. Terminal 28 is connected. The first path terminal of the second switching circuit is connected to the second output terminal 38 of the first switching network 320, and the second path terminal of the second switching circuit is connected to the first input terminal 26 and the second input terminal 28 of the second resistor string 340. connection. Specifically, the first path terminals of the switches SH1 and SH2 of the first switching circuit are connected to the first output terminal 36 of the first switching network 320, and the second path terminal of the switch SH1 is connected to the first input terminal 26 of the second resistor string 340. The second path terminal of the switch SH2 is connected to the second input terminal 28 of the second resistor string 340. A first path terminal of the switches SH1 and SH2 of the second switching circuit is connected to the second output terminal 38 of the first switching network 320, and a second path terminal of the switch SH1 is connected to the second input terminal 28 of the second resistor string 340. The second path terminal of SH2 is connected to the first input terminal of the second resistor string 340.
第一开关网络320用于根据数字信号中的最高有效位I4和I3在第一电阻器串310的电阻 Ra1-Ra4中选定一个电阻,第三开关网络330用于将被选定的电阻的两端耦合到第二电阻串340的第一输入端26和第二输入端28。响应于通过第一开关网络320和第三开关网络330在第一电阻器串310和第二电阻器串340之间流过的电流,第二电阻器串340中的电阻Rb1-Rb4在端子Q1-Q4处产生电压。第二开关网络350用于在第二电阻器串340的电阻Rb1-Rb3中选定的一个电阻,并将该电阻的端子上产生的电压耦合到数模转换器300的模拟信号输出端18。The first switching network 320 is used to select a resistor from the resistors Ra1-Ra4 of the first resistor string 310 according to the most significant bits I4 and I3 in the digital signal, and the third switching network 330 is used to select the resistance of the selected resistor. Both ends are coupled to the first input terminal 26 and the second input terminal 28 of the second resistor string 340. In response to the current flowing between the first resistor string 310 and the second resistor string 340 through the first switching network 320 and the third switching network 330, the resistors Rb1-Rb4 in the second resistor string 340 are at the terminal Q1 A voltage is generated at -Q4. The second switching network 350 is configured to select a resistor from the resistors Rb1 to Rb3 of the second resistor string 340 and couple a voltage generated at a terminal of the resistor to the analog signal output terminal 18 of the digital-to-analog converter 300.
图5示出四位数字信号I4I3I2I1的位与开关SM1-SM5、开关SH1和开关SH2以及开关SL1-SL4的闭合/断开状态之间的关系。FIG. 5 shows the relationship between the bits of the four-bit digital signal I4I3I2I1 and the closed / open states of the switches SM1-SM5, switches SH1 and SH2, and switches SL1-SL4.
在实际操作中,如图5所示,当第一电阻串310中选中的电阻为第奇数个电阻时,第三开关网络330中的开关SH1闭合;当第一电阻串310中选中的电阻为第偶数个电阻时,第三开关网络330中的开关SH2闭合。基于此,第二开关网络350的开关顺序始终跟随数字信号I4I3I2I1的位从小到大,由开关SL1-SL4依次切换。这样第二开关网络350的逻辑切换和第一开关网络320的切换逻辑之间是相互独立的,最终第一控制信号和第二控制信号相互独立,从而使得解码的复杂度大大减小,提高工作效率,减小功耗。In actual operation, as shown in FIG. 5, when the resistance selected in the first resistance string 310 is an odd number of resistances, the switch SH1 in the third switch network 330 is closed; when the resistance selected in the first resistance string 310 is For the even number of resistors, the switch SH2 in the third switching network 330 is closed. Based on this, the switching sequence of the second switching network 350 always follows the bits of the digital signals I4I3I2I1 from small to large, and is sequentially switched by the switches SL1-SL4. In this way, the logic switching of the second switching network 350 and the switching logic of the first switching network 320 are independent of each other. In the end, the first control signal and the second control signal are independent of each other, thereby greatly reducing the complexity of decoding and improving work. Efficiency and reduce power consumption.
另外,作为第一个例子,当输入的数字信号为0000时,在第一开关网络320中将开关SM1和开关SM2闭合,在第三开关网络330中将开关SH1闭合,在第二开关网络350中将开关SL1闭合。电阻Ra1的端子T2通过开关SM2和第三开关网络330中第一开关电路的开关SH1耦合到第二电阻串340的第一输入端26,如图6中的虚线61所示。电阻Ra1的端子T1通过开关SM1和第三开关网络330中第二开关电路的开关SH1耦合到第二电阻串340的第二输入端28,如图6中的虚线62所示。In addition, as a first example, when the input digital signal is 0000, the switches SM1 and SM2 are closed in the first switch network 320, the switch SH1 is closed in the third switch network 330, and the second switch network 350 is closed. Lieutenant switch SL1 is closed. The terminal T2 of the resistor Ra1 is coupled to the first input terminal 26 of the second resistor string 340 through the switch SM2 and the switch SH1 of the first switching circuit in the third switching network 330, as shown by the dotted line 61 in FIG. 6. The terminal T1 of the resistor Ra1 is coupled to the second input terminal 28 of the second resistor string 340 through the switch SM1 and the switch SH1 of the second switching circuit in the third switching network 330, as shown by the dotted line 62 in FIG. 6.
当输入为0100时,在第一开关网络320中将开关SM2和SM3闭合,在第三开关网络330中将开关SH2闭合,在第二开关网络350中将开关SL1闭合。电阻Ra2的端子T3通过开关SM3和第三开关网络330中第二开关电路的开关SH2耦合到第二电阻串340的第一输入端26,如图7中的虚线71所示。电阻Ra2的端子T2通过开关SM2和第三开关网络330中第一开关电路的开关SH2耦合到第二电阻串340的第二输入端28,如图7中的虚线72所示。When the input is 0100, the switches SM2 and SM3 are closed in the first switch network 320, the switch SH2 is closed in the third switch network 330, and the switch SL1 is closed in the second switch network 350. The terminal T3 of the resistor Ra2 is coupled to the first input terminal 26 of the second resistor string 340 through the switch SM3 and the switch SH2 of the second switching circuit in the third switching network 330, as shown by the dashed line 71 in FIG. 7. The terminal T2 of the resistor Ra2 is coupled to the second input terminal 28 of the second resistor string 340 through the switch SM2 and the switch SH2 of the first switching circuit in the third switching network 330, as shown by the dashed line 72 in FIG. 7.
根据上述两个具体的例子我们可以得到,在本发明实施例中,当第一电阻串310上的电阻进行切换时,第二电阻串340的第一输入端26和第二输入端28同时进行切换。因此当第一电阻串310上的电阻进行切换时,第二电阻串340的第一输入端26和第二输入端28对地升高相同的电压。例如:当第一电阻串310从Ra1切换到电阻Ra2时,第二电阻串340上每个电阻两端的对地电压升高均为1/4Vref;当第一电阻串310由电阻Ra2切换到电阻Ra3时,第二电阻串340上的每个电阻两端的对地升高的电压同样为1/4Vref。所以每次第一电阻串310进行切换时第二电阻串 340中的电阻的两端电压变化一致,从而不会由于代码不同而造成输出模拟信号的不同,影响数模转换的转换精度。According to the above two specific examples, we can obtain that in the embodiment of the present invention, when the resistance on the first resistance string 310 is switched, the first input terminal 26 and the second input terminal 28 of the second resistance string 340 are performed simultaneously. Switch. Therefore, when the resistance on the first resistance string 310 is switched, the first input terminal 26 and the second input terminal 28 of the second resistance string 340 increase the same voltage to ground. For example: when the first resistor string 310 is switched from Ra1 to resistor Ra2, the voltage across ground of each resistor on the second resistor string 340 is increased by 1 / 4Vref; when the first resistor string 310 is switched from resistor Ra2 to resistor At Ra3, the voltage rising to ground across each resistor on the second resistor string 340 is also 1 / 4Vref. Therefore, each time the first resistor string 310 is switched, the voltage across the resistors in the second resistor string 340 changes uniformly, so that the output analog signal will not be different due to different codes, which will affect the conversion accuracy of digital-to-analog conversion.
其中,在上述实施例中提到的“电阻”,可以为单个物理电阻器或者电阻元件,也可以为多个物理电阻器或电阻元件的组合。换言之,本发明所示的电阻型数模转换器适用于各种类型的阻抗元件,每个阻抗元件的阻抗对应于要求的电阻。因此,这里所指的“电阻”进一步是根据电路布局的任何数量不同类型的电阻元件,诸如精确薄膜电阻器,这些精确薄膜电阻器是以SiCr或其它材料、或在集成电路情况中以(掺杂p-或n-的)多晶硅形成的。还可以理解,这里描述的“电阻”可以包括任何电路元件,这些电路元件可以跨越它的端子产生与通过它的电流成正比的电压。The “resistance” mentioned in the above embodiments may be a single physical resistor or a resistance element, or may be a combination of multiple physical resistors or resistance elements. In other words, the resistive digital-to-analog converter shown in the present invention is applicable to various types of impedance elements, and the impedance of each impedance element corresponds to the required resistance. Therefore, the "resistance" referred to here is any number of different types of resistance elements, such as precision thin film resistors, based on circuit layout, which are made of SiCr or other materials, or in the case of integrated circuits (mixed with Hetero-p- or n-) polysilicon. It is also understood that the "resistance" described herein may include any circuit element that can generate a voltage proportional to the current passing through it across its terminals.
在上述实施例中,以4位数模转换器为例对本发明进行了详细说明,但是,正如本领域的技术人员所知,本发明公开的数模转换器也适用于转换其他位的数字信号,本发明不以此为限制。In the above embodiments, the present invention is described in detail by taking a 4-digit digital-to-analog converter as an example. However, as known to those skilled in the art, the digital-to-analog converter disclosed in the present invention is also suitable for converting digital signals of other bits The present invention is not limited thereto.
综上所述,本发明的数模转换器包括第三开关网络,用于在数模转换器工作过程中将第一电阻串中被选定的电阻的两端耦合到第二电阻串的第一输入端和第二输入端,当第一电阻串上的电阻进行切换时,第二电阻串的第一输入端和第二输入端同时进行切换。因此当第一电阻串上的电阻进行切换时,第二电阻串的第一输入端和第二输入端对地升高相同的电压。所以每次第一电阻串进行切换时第二电阻串中的电阻的两端电压变化一致,匹配性大大提高,从而不会由于代码不同而造成输出模拟信号的不同,影响数模转换的转换精度。In summary, the digital-to-analog converter of the present invention includes a third switching network for coupling both ends of the selected resistor in the first resistor string to the first of the second resistor string during the operation of the digital-to-analog converter. An input terminal and a second input terminal, when the resistance on the first resistor string is switched, the first input terminal and the second input terminal of the second resistor string are switched simultaneously. Therefore, when the resistance on the first resistance string is switched, the first input terminal and the second input terminal of the second resistance string increase the same voltage to ground. Therefore, each time the first resistance string is switched, the voltage across the resistance in the second resistance string changes uniformly, and the matching is greatly improved, so that the output analog signal will not be different due to different codes, which will affect the conversion accuracy of digital-to-analog conversion. .
同时因为在第一电阻串的电阻进行切换过程中,第二电阻串中电流的方向一直是固定的,不会随着第一电阻串中电阻的切换而改变,所以第二开关网络的逻辑切换和第一开关网络的切换逻辑之间是相互独立的,最终第一控制信号和第二控制信号相互独立,使得第一解码电路和第二解码电路之间相互独立,从而使得解码的复杂度大大减小,提高工作效率,减小功耗。At the same time, because the resistance of the first resistance string is switched, the direction of the current in the second resistance string is always fixed and will not change with the resistance of the first resistance string. Therefore, the logic of the second switch network is switched. The switching logic is independent from the first switching network. In the end, the first control signal and the second control signal are independent from each other, which makes the first decoding circuit and the second decoding circuit independent from each other, which makes the decoding complexity greatly. Reduce, improve work efficiency and reduce power consumption.
同时第三开关网络中的开关SH1和SH2由于只是随第一电阻串的电阻的选择顺序依次切换,复杂度也不高。因此,在高比特下的本发明的数模转换器的转换效率更高,面积更小。At the same time, since the switches SH1 and SH2 in the third switch network are only sequentially switched in accordance with the selection order of the resistances of the first resistor string, the complexity is not high. Therefore, the digital-to-analog converter of the present invention has higher conversion efficiency and smaller area under high bits.
应当说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order among them. Moreover, the terms "including", "comprising", or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or device that includes a series of elements includes not only those elements but also those that are not explicitly listed Or other elements inherent to such a process, method, article, or device. Without more restrictions, the elements defined by the sentence "including a ..." do not exclude the existence of other identical elements in the process, method, article, or equipment including the elements.
依照本发明的实施例如上文所述,这些实施例并没有详尽叙述所有的细节,也不限制该发明 仅为所述的具体实施例。显然,根据以上描述,可作很多的修改和变化。本说明书选取并具体描述这些实施例,是为了更好地解释本发明的原理和实际应用,从而使所属技术领域技术人员能很好地利用本发明以及在本发明基础上的修改使用。本发明仅受权利要求书及其全部范围和等效物的限制。The embodiments according to the present invention are described above. These embodiments do not describe all the details in detail, nor limit the invention to the specific embodiments described. Obviously, many modifications and changes can be made according to the above description. These embodiments are selected and described in this specification 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 modify and use it based on the present invention. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (10)

  1. 一种数模转换器,包括:A digital-to-analog converter includes:
    第一电阻串,包括连接在参考电压与参考地之间的多个第一电阻;A first resistor string including a plurality of first resistors connected between a reference voltage and a reference ground;
    第二电阻串,包括连接在第一输入端和第二输入端之间的多个第二电阻;A second resistor string including a plurality of second resistors connected between the first input terminal and the second input terminal;
    第一开关网络,用于根据输入的数字信号的第一有效位在所述第一电阻串中选定至少一个第一电阻;A first switch network, configured to select at least one first resistor in the first resistor string according to a first significant bit of an input digital signal;
    第二开关网络,用于根据输入的所述数字信号的第二有效位在所述第二电阻串中选定至少一个第二电阻,A second switch network, configured to select at least one second resistor in the second resistor string according to a second significant bit of the digital signal input,
    其中,所述数模转换器还包括第三开关网络,用于提供从所述第一开关网络到所述第二电阻串的电流路径。The digital-to-analog converter further includes a third switching network for providing a current path from the first switching network to the second resistor string.
  2. 根据权利要求1所述的数模转换器,其中,所述第一电阻的两端包括第一端子,所述第二电阻的两端包括第二端子。The digital-to-analog converter according to claim 1, wherein both ends of the first resistor include a first terminal, and both ends of the second resistor include a second terminal.
  3. 根据权利要求2所述的数模转换器,其中,所述第一电阻串中相邻的所述第一电阻共用所述第一端子,所述第二电阻串中相邻的所述第二电阻共用所述第二端子。The digital-to-analog converter according to claim 2, wherein adjacent first resistors in the first resistor string share the first terminal, and adjacent second ones in the second resistor string The resistor shares the second terminal.
  4. 根据权利要求2所述的数模转换器,其中,所述第一开关网络包括多个第一开关,所述多个第一开关的第一通路端与所述第一端子对应连接,第二通路端与所述第一开关网络的输出端连接;The digital-to-analog converter according to claim 2, wherein the first switch network includes a plurality of first switches, a first path end of the plurality of first switches is correspondingly connected to the first terminal, and a second The path end is connected to the output end of the first switch network;
    所述第二开关网络包括多个第二开关,所述第二开关的第一通路端与所述第二端子对应连接,第二通路端与所述第二开关网络的输出端连接,所述第二开关网络的输出端用于输出与所述数字信号相应的模拟信号。The second switch network includes a plurality of second switches. A first path end of the second switch is correspondingly connected to the second terminal. A second path end is connected to an output end of the second switch network. An output terminal of the second switching network is used to output an analog signal corresponding to the digital signal.
  5. 根据权利要求4所述的数模转换器,其中,所述第一开关网络包括第一输出端和第二输出端,The digital-to-analog converter according to claim 4, wherein the first switching network includes a first output terminal and a second output terminal,
    其中,第偶数个所述第一开关的第二通路端与所述第一输出端连接,第奇数个所述第一开关的第二通路端与所述第二输出端连接。Wherein, the second path terminal of the even-numbered first switch is connected to the first output terminal, and the second path terminal of the odd-numbered first switch is connected to the second output terminal.
  6. 根据权利要求4所述的数模转换器,其中,所述第一开关网络包括第一输出端和第二输出端,The digital-to-analog converter according to claim 4, wherein the first switching network includes a first output terminal and a second output terminal,
    其中,第奇数个所述第一开关的第二通路端与所述第一输出端连接,第偶数个所述第一开关的第二通路端与所述第二输出端连接。Wherein, the second path end of the odd-numbered first switch is connected to the first output terminal, and the second path end of the even-numbered first switch is connected to the second output terminal.
  7. 根据权利要求5或6所述的数模转换器,其中,所述第三开关网络包括第一开关电路和第二开关电路,所述第一开关电路和所述第二开关电路都包括第三开关和第四开关,The digital-to-analog converter according to claim 5 or 6, wherein the third switching network includes a first switching circuit and a second switching circuit, and the first switching circuit and the second switching circuit each include a third Switch and fourth switch,
    其中,所述第一开关电路中的所述第三开关的第一通路端与所述第一输出端连接,第二通路端与所述第一输入端连接,所述第四开关的第一通路端与所述第一输出端连接,第二通路端与所述第二输入端连接,The first path end of the third switch in the first switch circuit is connected to the first output end, the second path end is connected to the first input end, and the first path end of the fourth switch is The path end is connected to the first output end, and the second path end is connected to the second input end.
    所述第二开关电路中的所述第三开关的第一通路端与所述第二输出端连接,第二通路端与所述第二输入端连接,所述第四开关的第一通路端与所述第二输出端连接,第二通路端与所述第一输入端连接。A first path terminal of the third switch in the second switch circuit is connected to the second output terminal, a second path terminal is connected to the second input terminal, and a first path terminal of the fourth switch It is connected to the second output terminal, and the second path terminal is connected to the first input terminal.
  8. 根据权利要求4所述的数模转换器,还包括:The digital-to-analog converter according to claim 4, further comprising:
    第一解码电路,用于根据所述数字信号的所述第一有效位得到第一控制信号,所述第一控制信号用于控制所述多个第一开关的闭合/断开状态;A first decoding circuit configured to obtain a first control signal according to the first significant bit of the digital signal, where the first control signal is used to control the on / off states of the plurality of first switches;
    第二解码电路,用于根据所述数字信号的所述第二有效位得到第二控制信号,所述第二控制信号用于控制所述多个第二开关的闭合/断开状态。A second decoding circuit is configured to obtain a second control signal according to the second significant bit of the digital signal, and the second control signal is used to control the on / off states of the plurality of second switches.
  9. 根据权利要求7所述的数模转换器,其中,所述第一控制信号和所述第二控制信号相互独立。The digital-to-analog converter according to claim 7, wherein the first control signal and the second control signal are independent of each other.
  10. 根据权利要求1所述的数模转换器,其中,所述第一有效位为最高有效位,所述第二有效位为最低有效位。The digital-to-analog converter according to claim 1, wherein the first significant bit is a most significant bit, and the second significant bit is a least significant bit.
PCT/CN2019/097020 2018-07-24 2019-07-22 Digital to analog converter WO2020020092A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810820578.XA CN110752847A (en) 2018-07-24 2018-07-24 Digital-to-analog converter
CN201810820578.X 2018-07-24

Publications (1)

Publication Number Publication Date
WO2020020092A1 true WO2020020092A1 (en) 2020-01-30

Family

ID=69182124

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/097020 WO2020020092A1 (en) 2018-07-24 2019-07-22 Digital to analog converter

Country Status (2)

Country Link
CN (1) CN110752847A (en)
WO (1) WO2020020092A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112305294B (en) * 2020-10-26 2023-11-24 上海南芯半导体科技股份有限公司 Two-section type resistor network and digital-to-analog converter based on two-section type resistor network
CN114625194A (en) * 2020-12-10 2022-06-14 圣邦微电子(北京)股份有限公司 Reference voltage generating circuit and generating method thereof
CN114389606A (en) * 2021-12-30 2022-04-22 北京力通通信有限公司 Digital-to-analog conversion circuit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110199062A1 (en) * 2007-08-20 2011-08-18 Austriamicrosystems Ag DC/DC Converter Arrangement and Method for DC/DC Conversion
CN105530010A (en) * 2014-10-17 2016-04-27 英飞凌科技股份有限公司 Very high dynamic-range switched capacitor adc with large input impedance for applications tolerating increased distortion and noise at large input signal levels
CN106341130A (en) * 2016-08-30 2017-01-18 中国科学院上海高等研究院 Digital-to-analog converter
CN108243313A (en) * 2016-12-26 2018-07-03 三星电机株式会社 With the more resistor string digital to analog converter for improving switching noise(DAC)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4338591A (en) * 1981-06-09 1982-07-06 Analog Devices, Incorporated High resolution digital-to-analog converter
JPS5944125A (en) * 1982-09-07 1984-03-12 Toshiba Corp Digital-analog converter
US5969657A (en) * 1997-07-22 1999-10-19 Analog Devices, Inc. Digital to analog converter
JP2003224477A (en) * 2002-01-28 2003-08-08 Sharp Corp D/a converter circuit and portable terminal device, and audio unit having the same
US7109904B2 (en) * 2004-12-21 2006-09-19 Exar Corporation High speed differential resistive voltage digital-to-analog converter
JP4779875B2 (en) * 2006-08-24 2011-09-28 ソニー株式会社 Digital-analog converter and video display device
CN101471669A (en) * 2007-12-28 2009-07-01 上海华虹Nec电子有限公司 D/A converter and D/A converting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110199062A1 (en) * 2007-08-20 2011-08-18 Austriamicrosystems Ag DC/DC Converter Arrangement and Method for DC/DC Conversion
CN105530010A (en) * 2014-10-17 2016-04-27 英飞凌科技股份有限公司 Very high dynamic-range switched capacitor adc with large input impedance for applications tolerating increased distortion and noise at large input signal levels
CN106341130A (en) * 2016-08-30 2017-01-18 中国科学院上海高等研究院 Digital-to-analog converter
CN108243313A (en) * 2016-12-26 2018-07-03 三星电机株式会社 With the more resistor string digital to analog converter for improving switching noise(DAC)

Also Published As

Publication number Publication date
CN110752847A (en) 2020-02-04

Similar Documents

Publication Publication Date Title
WO2020020092A1 (en) Digital to analog converter
JP3229135B2 (en) Analog / digital converter
US9432046B1 (en) Successive approximation analog-to-digital converter
JP4836670B2 (en) Pipeline type A / D converter
US10069506B2 (en) Calibration circuit and calibration method for DAC
WO2015027758A1 (en) Digital to analogue converter with segmented capacitor array structure
JP2010171781A (en) Impedance adjusting circuit
TWI644518B (en) Charge compensation circuit and analog-to-digital converter with the same
US8937568B2 (en) D/A converter
US9800259B1 (en) Digital to analog converter for performing digital to analog conversion with current source arrays
US6542104B1 (en) Method and apparatus for low power thermometer to binary coder
KR20230148310A (en) Analog to digital converter and semiconductor apparatus using the same
TWI792438B (en) Signal converter device, dynamic element matching circuit, and dynamic element matching method
US7893857B2 (en) Analog to digital converter using successive approximation
WO2019205833A1 (en) Digital-to-analog converter, conversion circuit, and display device
US6747588B1 (en) Method for improving successive approximation analog-to-digital converter
Ghoshal et al. A bit swap logic (BSL) based bubble error correction (BEC) method for flash ADCs
US20210218409A1 (en) Analog to digital converter device and capacitor weight calibration method
US10084465B2 (en) Analog-to-digital converters with a plurality of comparators
US20030201924A1 (en) Digital-to-analog converter
TWI777464B (en) Signal converting apparatus and signal converting method
TWI698091B (en) Successive approximation register analog-to-digital converter and operation method thereof
CN116458067A (en) Successive approximation register analog-to-digital converter timing calibration
US9973204B1 (en) Resistor string digital to analog converter
JP5446689B2 (en) Voltage comparison circuit and semiconductor device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19841249

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19841249

Country of ref document: EP

Kind code of ref document: A1