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

tlnalog-to-Digital Converters<br />

The primary interface element between the digital logic found in a microcomputer<br />

system and the analog modules <strong>of</strong>a voltase-controlled system are<br />

digital-to-analog converters (DACs) and analog-to-digital converters<br />

(ADCs). For synthesizer control, only DACs are needed to convert numbers<br />

from the computer into control voltages. However, ADCs are used in some <strong>of</strong><br />

the human interface techniques to be described later. Fortunately, the two<br />

devices are very closely related, and, in fact, most ADC circuits utilize a<br />

DAC as a key element.<br />

The purpose <strong>of</strong> these "data-conversion" devices is to translate between<br />

the electrical quantities <strong>of</strong> current or voltage and digital quantities. For<br />

analog synthesizer control with a microprocessor, voltage is the preferred<br />

analog representation and twos-complement fixed-point binary is the preferred<br />

numerical representation. We can further specify that analog voltages<br />

in the range <strong>of</strong> - 10 V to + 10 V, and logic voltages compatible with TTL<br />

should be acceptable to the converter.<br />

A number <strong>of</strong> terms are used to describe and specify data-conversion<br />

devices. Most all <strong>of</strong> them are equally applicable to DACs and ADCs so the<br />

discussion will focus on DACs. Although converters that work with binarycoded<br />

decimal numbers are available, their variety is extremely limited.<br />

Also, since BCD arithmetic is inconsistent with maximum utilization <strong>of</strong><br />

microprocessor speed, the discussion will be restricted to binary converters.<br />

Resolution<br />

Data Conversion Terminology<br />

The most important and most quoted converter specification is its<br />

resolution measured in terms <strong>of</strong> bits. Resolution is essentially a measure <strong>of</strong> the<br />

number <strong>of</strong> different voltage levels that a DAC can produce. A 3-bit DAC, for<br />

example, accepts 3-bit binary numbers as input and can produce no more<br />

221

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

Saved successfully!

Ooh no, something went wrong!