22.09.2015 Views

of Microprocessors

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

Musical-Applications-of-Microprocessors-2ed-Chamberlin-H-1987

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

DIGITAL-TO-ANALOG AND ANALOG-TO-DIGITAL CONVERTERS 231<br />

resistor equal to the parallel combination <strong>of</strong> all <strong>of</strong> the weighted resistors. For<br />

reasonably high-resolution converters, this equivalent resistance is essentially<br />

R/2.<br />

Speed<br />

Unlike the previous scheme, the speed <strong>of</strong> this circuit is quite good. The<br />

only limitation on speed is the switching time <strong>of</strong> the switches and the load<br />

capacitance at the output node where all <strong>of</strong> the resistors are tied together.<br />

Even with a slow switching time <strong>of</strong> 1 f.Lsec, a node capacitance <strong>of</strong> 10 pF, and<br />

an R value <strong>of</strong> 50K, the settling time for 12 bits <strong>of</strong> resolution would be 1<br />

f.Lsec + 9 (25K X 10 pF) = 3.25 f.Lsec. With this kind <strong>of</strong> speed, the limiting<br />

factor is <strong>of</strong>ten the buffer amplifier usually connected to the output. For<br />

even higher speeds, the current output configuration (output "shorted" to<br />

the input <strong>of</strong> a current-to-voltage converter op-amp circuit) can be used to<br />

eliminate the 2.25-f.Lsec contribution <strong>of</strong> output capacitance.<br />

Although the speed is high, this circuit (in fact all resistive divider<br />

networks) is subject to glitches when moving from one level to another. The<br />

root cause <strong>of</strong> large glitches is nonsymmetrical switching time <strong>of</strong> the analog<br />

switches. Assume for the moment that a 3-bit DAC is moving up one step<br />

from 011 to 100 and that the switches go from 1 to 0 faster than from 0 to 1.<br />

The resistor network will actually see a switch state <strong>of</strong> 000 during the time<br />

between 1-0 switching and 0-1 switching. This momentary zero state creates<br />

a large negative glitch until the most significant switch turns on. Even if<br />

switching times are identical, the less significant bits may be slower than the<br />

more significant ones because they handle much lower signal currents. Unequal<br />

switching may be largely overcome in some circuit configurations, but<br />

small glitches can still be generated during finite switching times when a<br />

fraction <strong>of</strong> the reference voltage is still passing through a partially <strong>of</strong>f switch.<br />

Thus, although some DAC glitching is a fact <strong>of</strong> life, a simple low-pass filter<br />

that may even be above the audio range is usually sufficient to eliminate the<br />

effect <strong>of</strong> glitches in synthesizer control applications.<br />

R-2R Ladder<br />

Figure 7-6 shows a different resistance divider network that is the basis<br />

for most modern DACs. Although somewhat more difficult to analyze than<br />

the weighted resistor network, the output voltages are 0.0,0.25,0.5, and<br />

0.75 times Vre(corresponding to codes <strong>of</strong> 00, 01,10, and 11. Bits are added<br />

by inserting a switch, series 2R resistor, and lR resistor to the next lower bit<br />

between the MSB and LSB. Note that the resistor to ground from the LSB is<br />

2R rather than lR. This is called a terminating resistor because it simulates<br />

the equivalent impedance <strong>of</strong> an infinite string <strong>of</strong>less significant bits all in the<br />

zero state.<br />

The advantages <strong>of</strong> this configuration are numerous. One is that only<br />

two different values <strong>of</strong> precision resistors are needed. Although about twice

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!