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 233<br />

I<br />

2R t<br />

MSB LSB lout<br />

V ref<br />

R<br />

MSB ! 0 0 0 0<br />

0<br />

0 0 1 1/8 Vre/lr<br />

2R v ou! 0 1 0 1/4 Vre/r<br />

0 1 1 3/8 Vre/lr<br />

1 0 0 1/2 Vrer/r<br />

R<br />

1 0 1 5/8 V re1 /r<br />

2R<br />

1 1 0 3/4 V re1 /r<br />

LSB 1 1 1 718 V re1 /r<br />

2R<br />

Fig. 7-7. Inverted current ladder DAC<br />

7-6 and note that, as drawn, the digital code essentially interpolates between<br />

ground and the reference voltage according to the binary fraction operating<br />

the switches. In fact, the circuit will interpolate between any two voltages if<br />

the ground terminal is freed and connected insread to the second voltage.<br />

Figure 7-8 shows a 3-bit example, in which the lower ladder terminal is<br />

connected to + 1 V and the upper terminal is connected to + 2 V. The 3-bit<br />

digital code then selects eight voltage levels YSV apart starting at and<br />

including the voltage at the lower ladder terminal (+ I V) and ending one step<br />

short <strong>of</strong> the voltage at the upper ladder terminal (+2 - Ys V).<br />

To form a segmented DAC, a modified resistor string DAC is first<br />

constructed using two sets <strong>of</strong> switches so that two output voltages are<br />

produced, the second always one step higher than the first (Fig. 7-9). These<br />

voltages are then buffered by op-amps and applied to the ends <strong>of</strong> a resistor<br />

ladder DAC, which in turn interpolates the large step into much smaller<br />

ones. The most significant bits <strong>of</strong> the digital code drive the resistor string<br />

DAC, while the remaining less significant bits drive the resistor ladder DAC.<br />

Vrefh =+2.0 V.<br />

Vrefl = +1.0 V.<br />

1<br />

t MSB 2R Vout<br />

R MSB LSB Vout<br />

2R I I I I.B75<br />

1 I 0 I. 750<br />

I 0 I 1.625<br />

I 0 0 1.500<br />

2R<br />

0 I 1 1.375<br />

+LSB<br />

0 I 0 1.250<br />

2R<br />

0 o 0 I 1.125<br />

o 0 0 1.000<br />

Fig. 7-8. Ladder DAC interpolating between +1 and + 2 V

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

Saved successfully!

Ooh no, something went wrong!