Resistor network type digital-to-analog converter structures
Technical field
The present invention relates to a kind of digital to analog converter, be specifically related to a kind of resistor network type digital-to-analog converter structures.
Background technology
Converting to the discrete signal of binary digit amount form with standard volume (or reference quantity) is the transducer of the analog quantity of benchmark, is called for short DAC or D/A converter.Modal digital to analog converter is that the digital quantity with parallel binary is converted to direct voltage or direct current, and it is commonly used for the output channel of process control computer system, links to each other with actuator, realizes the automatic control to production process.D convertor circuit also is used in the analog to digital converter design that utilizes feedback technique.
A kind of common DAC structure is the R-2R type, and Fig. 1 is the R-2R type DAC schematic diagram of a kind of n position, is R-2R ladder network structure, is that the resistor network of R and 2R constitutes by resistance.Concrete circuit be connected to n by the switches Si of input signal Di control connect a resistance be 2R resistance elementary cell successively parallel arranged form, be that the resistance of R connects by a resistance between adjacent two elementary cells, the resistance terminal of highest order is as the output of digital to analog converter, the resistance terminal of lowest order also is the grounding through resistance of 2R by a resistance, one termination reference voltage VREF of switch, other end ground connection.In the ladder network structure, see that to low level the resistance between each node and the ground all is 2R in the past from the connected node of any one 2R resistance and R resistance.For switches Si (the i value is 0~n), meets reference voltage VREF during Di=1, and Di=0 is ground connection then, can obtain the DAC output end voltage to be:
VOUT=[D0×2
-n+D1×2
-(n-1)+…+Dn-2×2
-2+Dn-1×2
-1]×VREF。
Summary of the invention
Technical problem to be solved by this invention provides a kind of n position resistor network type digital-to-analog converter structures, and it can improve the precision and the speed of digital to analog converter.
For solving the problems of the technologies described above, the technical solution of resistor network type digital-to-analog converter structures of the present invention is: in the n figure place weighted-voltage D/A converter, high m position is for being the resistance of R and i position R array structure that switch is formed by resistance, and all the other are R-2R ladder network structure, wherein i=2
m-1; Digital to analog converter also comprises decoder, is connected between numeral input and the described R array, is used for the high m position code conversion of n bit digital input is the switch in the R array of the described i of coding back control position, i position.
Resistor network type digital-to-analog converter structures of the present invention is compared with traditional R-2R type digital-to-analog converter structures, get the resistance of same resistance, on highest order resistance, add 1% resistance deviation, we can see the digital to analog converter that the present invention is designed by emulation, all make moderate progress than R-2R type digital to analog converter on integral nonlinearity (INL) and differential nonlinearity (DNL).Aspect speed, under the situation that same load capacitance is charged, it is many that the used time of the R-2R type digital-to-analog converter structures that the used time ratio of the designed R-2R type digital-to-analog converter structures of the present invention is traditional will be lacked.
Description of drawings
The present invention is further detailed explanation below in conjunction with the drawings and specific embodiments:
Fig. 1 is traditional R-2R type digital-to-analog converter structures schematic diagram;
Fig. 2 is a resistor network type digital-to-analog converter structures schematic diagram of the present invention;
Fig. 3 is of the present invention one concrete 12 resistor network type digital-to-analog converter structures schematic diagrames.
Embodiment
Resistor network type digital-to-analog converter structures of the present invention is for being converted to the high m position in traditional R-2R type digital-to-analog converter structures high by 2
m-1 forms.N figure place weighted-voltage D/A converter structure (see figure 2) of the present invention, wherein high m position is for being the resistance R of R and i position R array structure that switch is formed by resistance, all the other n-m positions are R-2R ladder network structure, wherein i=2
m-1; Also comprise decoder in addition in the digital to analog converter, be connected between numeral input and the R array, be used for the high m position code conversion of n bit digital input is the switch in the R array of the described i of coding back control position, i position.All switches in the digital to analog converter are 0 o'clock ground connection at input coding, are to connect reference voltage at 1 o'clock.A kind of concrete decoder can be high m position binary code is converted to i position thermometer code.In R-2R ladder network structure, to Sn-m-1, the closed resistance of each switch is 2 times of closed resistance of adjacent high One-position switch from the switch S 0 of lowest order; And in the R array structure, the closed resistance of each switch (being that K0 is to Ki-1) all equates, and equals 1/2 of n-m-1 bit switch closed resistance.The choosing value of m is decided according to needed digital-to-analogue conversion speed, and be 1/2 of original structure the change-over time of digital to analog converter of the present invention
m
In 12 concrete resistor network type digital-to-analog converter structures example (see figure 3)s of the present invention, high 2 for being the resistance R of R and 3 R array structures that switch is formed by resistance, all the other low 10 is the R-2R ladder network structure that is made of the resistance that switch and 2 resistances are R and 2R; Decoder is connected between numeral input and the R array, and high 2 code conversion that are used for the input of 12 bit digital are the switch (see Fig. 3, MSB is a highest significant position among the figure, and LSB is a least significant bit) in 3 R arrays of control behind 3 codings.In 3 R arrays, three K switch 0, K1 and K2 are that the resistance of R links to each other with output OUT by resistance respectively, and between adjacent two resistance are not set.The closed resistance of three K switch 0, K1 and K2 equates, and equals 1/2 of switch S 9 closed resistances.And in the R-2R ladder network structure, switch S 0 is to S9, and the closed resistance of each switch all is 2 times of adjacent high One-position switch resistance, is 2 times of switch S 5 closed resistances as the closed resistance of switch S 4.Switch in 3 R array structures is controlled (table 1 is high 2 decoder truth tables that change 3) after by decoder binary input signal D11 and D10 being converted to thermometer code X0, X1 and X2, all switches are 0 o'clock ground connection at input coding, are to connect reference voltage at 1 o'clock.
Table 1
D11 |
D10 |
X2 |
X1 |
X0 |
0 |
0 |
0 |
0 |
0 |
0 |
1 |
0 |
0 |
1 |
1 |
0 |
0 |
1 |
1 |
1 |
1 |
1 |
1 |
1 |
For K switch i, working method is identical with switches Si, meets VREF during Xi=1, and Xi=0 is ground connection then, can obtain new digital-to-analog converter structures output end voltage still to be:
VOUT=[D0×2
-12+D1×2
-11+D2×2
-10+D3×2
-9+…+D10×2
-2+D11×2
-1]×VREF。
12 DAC structures of the present invention are compared with traditional 12 DAC structures of R-2R type, get the resistance of same resistance, on highest order resistance, add 1% resistance deviation, we can see the digital to analog converter that the present invention is designed by emulation, all make moderate progress than R-2R type digital to analog converter on integral nonlinearity (INL) and differential nonlinearity (DNL).Aspect speed, under the situation that same load capacitance is charged, as 12 resistor network type digital-to-analog converter structures among the designed the present invention of Fig. 3, the used time approximately is about 1/4 of traditional 12 R-2R type digital-to-analog converter structures.Therefore digital-to-analog converter structures of the present invention has the advantages that speed is fast, precision is high.