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.

246 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

5 B7<br />

6 B6<br />

7 B5<br />

BINARY<br />

INPUT<br />

8 B4<br />

1408<br />

TTL 9 B3<br />

LEVELS<br />

10 B2<br />

II BI<br />

RI<br />

12 BO lQAC<br />

+Vref<br />

5 kfi 2 mAI4 o TO<br />

-2 mA<br />

(+10 V)<br />

Iref+<br />

lout 4<br />

15<br />

Iref-<br />

+5V -= 13 Vee<br />

-15V VEE<br />

100 pF<br />

16 C eomp<br />

2 GND<br />

OFFSET"="<br />

R2<br />

10 kfi<br />

SELECT TO<br />

MINIMIZE RINGING<br />

R3<br />

GAIN<br />

+9.92<br />

-10.00<br />

Fig. 7-H3. Application <strong>of</strong> 1408~type<br />

IC DAC<br />

Like most inexpensive monolithic DACs, the 1408 is a bare-bones<br />

device incorporating little more than the analog switches and R-2R ladder<br />

network. An external reference source and output amplifier are required for a<br />

complete DAC. The 1408 is basically a current-activated device; the reference<br />

is a current and the output is a current. It is also a multiplying DAC.<br />

The output current, Iottt, is equal to the reference current, Iref, times the<br />

binary input expressed as an unsigned binary fraction between 0 and 0.994.<br />

The reference current may range from 0 to about 4 mA, although below 0.5<br />

mA linearity errors increase such that monotonicity cannot be guaranteed.<br />

The reference current must always be positive and the output current is<br />

actually negative, meaning that the DAC output sinks current. Standard<br />

power supply voltages <strong>of</strong> +5 V and -15 V are used.<br />

Figure 7-18 shows a typical hookup for the 1408. Although other<br />

methods <strong>of</strong> supplying the reference current exist, the one shown is the<br />

simplest. The Ire/+ input sinks the reference current at a voltage equal to the<br />

voltage at Iref-. For a reference voltage <strong>of</strong> + 10 V with respect to ground, Ire/­<br />

is tied to ground and Iref+ receives a reference current <strong>of</strong> 2 mA (the optimum<br />

value) through a 5K resistor (R 1) tied to the reference voltage. A compensation<br />

capacitor <strong>of</strong> 100 pF is required to frequency compensate the internal<br />

reference current circuitry.<br />

An output voltage range <strong>of</strong> - 10 to + 10 is developed from the 0 to - 2<br />

mA output current with a current-to-voltage converter. A + 1.0 mA current<br />

from the reference voltage source through R2 <strong>of</strong>fsets -1.0 mA <strong>of</strong> the DAC<br />

output, giving a net current swing into the amplifier <strong>of</strong> -1.0 to + 1.0 mAo<br />

This current is then converted into a -10-V to + 10-V swing as a<br />

function <strong>of</strong>R3. The current output settling time is about 0.3 JLsec, which is<br />

extended to approximately 3 JLsec by the amplifier. R2 and R3 may be made

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

Saved successfully!

Ooh no, something went wrong!