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.

252 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

million) unit goes for nearly $1,000. With this kind <strong>of</strong> precision, one no<br />

longer casually connects ordinary op-amps with solder on ordinary circuit<br />

boards. The various gain and <strong>of</strong>fset errors <strong>of</strong> the amplifiers and thermocouple<br />

voltages in the wiring can easily wipe out the advantage <strong>of</strong> 16- and IS-bit<br />

accuracy. Fortunately, 12-bit accuracy is generally sufficient for producing<br />

control voltages in a computer-controlled analog synthesizer system.<br />

Many DACs are now available with input registers to hold the binary<br />

value being converted. These are <strong>of</strong>ten promoted as being "microprocessorcompatible,"<br />

since they can be connected right across the system's data bus<br />

and strobed when the DAC is addressed by the program. Unfortunately, their<br />

extra cost is <strong>of</strong>ten much more than equivalent external latches would be.<br />

Also, at the 12-bit level, it can be very difficult to keep noise from the data<br />

bus, which is flipping about wildly all the time, out <strong>of</strong> the analog circuitry<br />

connected to the same Ie. Noise isolation is much easier with external<br />

latches.<br />

Multiplexing DACs<br />

Even though DACs have decreased dramatically in size and cost from<br />

earlier units, it is still far too expensive to use a 12-bit DAC every time a<br />

computer-generated control voltage is needed. Fortunately, it is possible to<br />

multiplex the output <strong>of</strong> a single fast converter and make it look like several<br />

identical but slower converters.<br />

Figure 7-23 shows the fundamental concept <strong>of</strong> DAC multiplexing.<br />

Each multiplexed output consists <strong>of</strong> an analog switch, storage capacitor, and<br />

a voltage-follower op-amp. The idea is to store the output voltage for each<br />

channel in the capacitor rather than a separate register-DAC combination.<br />

For example, when output 1 must be updated the single DAC is given the<br />

corresponding digital input, a delay for DAC settling is taken, and SI is<br />

closed momentarily to update the charge on C1. Following this, other channels<br />

could be updated with no effect on output 1. If the switch, capacitor,<br />

DIGITAL -:<br />

INPUT<br />

•-<br />

VOLTAGE<br />

OUTPUT<br />

DAC<br />

SI<br />

>--__--~OUTN<br />

-:J cN<br />

Fig. 7-23. DAC multiplexing<br />

_

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

Saved successfully!

Ooh no, something went wrong!