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

DAC WR PULSE ~ IOpsec F<br />

~_&--------,<br />

DATA INTO DAC ::X~ .....JX"- _<br />

~----<br />

DAC OUTPUT<br />

DEGLITCH SWITCH O~~ 11..-__..1<br />

FILTER INPUT -------..- '-....<br />

N~ATIVE EXPONENTIAL CURVES~ ----<br />

Fig. 12-29. Audio DAC timing diagram<br />

been latched from the data-in lines and that a new sample should be made<br />

available. The data could be supplied directly by a running audio-output<br />

program, direct memory access circuit, or FIFO buffer logic. The DAC<br />

output signal is 10 V peak-to-peak in amplitude but is reduced to 5 V by the<br />

filter compensation stage. The filter itself reduces it further to 2.5 V but then<br />

is amplified back to 10 V (3.5 V'lns) by the output amplifier, a level sufficient<br />

to overcome minor ground-loop noise. Ground-loop concerns may be<br />

completely eliminated in exchange for dc response by incorporating a<br />

standard 600-ohm line transformer into the unit (use a 25-JLF nonpolarized<br />

dc blocking capacitor in series with the transformer primary). The output<br />

amplifier can drive a primary impedance as low as 600 ohms.<br />

Only three adjustments are necessary after the unit is built. For best<br />

linearity in the DAC, the <strong>of</strong>fset voltage <strong>of</strong>Al and A2 must be nulled. Do this<br />

by removing the 7546, temporarily shorting both amplifier inputs to<br />

ground, and turning the <strong>of</strong>fset null pot to the point where the amplifier<br />

output switches between - 14 and + 14 V. The dc <strong>of</strong>fset at the final output is<br />

zeroed with the potentiometer in the 7546 reference circuit. Perform the<br />

adjustment with the DAC running and outputting a string <strong>of</strong> zero samples.<br />

This is important because control feedthrough capacitance in the deglitcher<br />

contributes to the output <strong>of</strong>fset.<br />

Au.dio Digitizing<br />

At this time, let us take a brief look at analog-to-digital conversion <strong>of</strong><br />

audio. In a synthesis application, the major reason for digitizing audio is for<br />

modification or source-signal analysis. Consequently, there is not as much<br />

need for superdynamic range and distortion figures as with the audio DAC.<br />

Like the DAC, an <strong>of</strong>f-the-shelf ADC alone is not suitable for audio. A<br />

block diagram <strong>of</strong> an audio ADC is shown in Fig. 12-30. The low-pass filter<br />

considerations are not the same as those with the DAC except that high<br />

sample rates do llOt eliminate the need for a filter. The DAC used for

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

Saved successfully!

Ooh no, something went wrong!