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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

228 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

3-8<br />

7<br />

DECODER 6<br />

rC 5<br />

4 TO CORRESPONDING<br />

DIGITAL<br />

B 3 ANALOG SWITCH<br />

INPUT<br />

2<br />

A I<br />

LSB<br />

0<br />

R<br />

R<br />

R<br />

R<br />

R<br />

R<br />

R<br />

Fig. 7-4. Resistor string DAC<br />

The most significant advantage is that all <strong>of</strong> the resistors are <strong>of</strong> the same<br />

value, and each resistor corresponds to one and only one step in the input<br />

code-output voltage graph in Fig. 7-1. Differential linearity can be made<br />

very good even with fairly inaccurate resistors. For example, if 5%-tolerance<br />

resistors were used, the worst differential linearity error would be only onetenth<br />

<strong>of</strong> the step size-very good performance indeed. Better yet, this level <strong>of</strong><br />

differential linearity can be maintained even at very high resolutions <strong>of</strong> 12<br />

bits and more using the same 5%-tolerance resistors, just a whole lot more <strong>of</strong><br />

them.<br />

Integral linearity can be a problem, however. Imagine building one <strong>of</strong><br />

these DACs at the 8-bit level. For the 255 resistors required, you would buy<br />

three bags <strong>of</strong> 100 5% resistors and connect them in the series string using all<br />

<strong>of</strong> the resistors from one bag before going to the next. Although all <strong>of</strong> the<br />

resistors are within 5% <strong>of</strong> their marked value and will be fairly randomly<br />

distributed throughout this range, it is entirely possible that bag 1 might<br />

average a couple <strong>of</strong> percent lower than bags 2 and 3 because they were made<br />

on a Monday. When the DAC is complete and tested, it will be found that<br />

the first 100 steps will be a couple <strong>of</strong> percent smaller than the others on the<br />

average, which makes the overall stair-step curve bow down and to the right<br />

very significantly. Of course, in a real manufacturing situation or on a chip,

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

Saved successfully!

Ooh no, something went wrong!