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.

412 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

DIGITAL<br />

r---r---7 OUTPUT<br />

Fig. 12-30. Audio ADC<br />

successive approximation must be reasonably fast in order to attain the higher<br />

audio sample rates. For example, the settling time <strong>of</strong> the DAC plus the<br />

response time <strong>of</strong> the comparator must be less than 2 f-Lsec if 12-bit<br />

conversions are to be done at 40 ks/s. This can be a very strict requirement if<br />

a fast sample rate and high resolution for audio recording/playback is desired.<br />

The successsive approximation logic is as described in Chapter 7. The FIFO<br />

buffer holds the last sample value converted until the host can accept it. As<br />

with the DAC, the buffer may be as simple as a single register or a true<br />

multilevel hardware FIFO. Uniformity <strong>of</strong> sample rate is just as important as<br />

before and therefore should come from a crystal-controlled timing generator.<br />

The sample-and-hold, however, performs a completely different function.<br />

Rather than gating out glitches, its job is to capture the input signal at<br />

an instant in time and hold it long enough to be digitized. Slewing and<br />

glitching are not important, but aperture time and aperture uncertainty are<br />

critical for low noise and distortion in the converted results.<br />

Figure 12-31 illustrates the job to be done by the SAH module.<br />

Acquisition time specifies the interval between the sample command and the<br />

time when the SAH is adequately following the signal. This time usually<br />

varies with signal level but need not cause concern unless it becomes longer<br />

than the sample period minus the ADC conversion time. Even when the<br />

signal is being followed, there is a finite lag in the tracking called tracking<br />

error. As long as the lag time is constant, its only effect is a very slight<br />

reduction in high-frequency response, but if it varies with signal amplitude,<br />

distortion can be introduced.<br />

When the hold command is given, there is a finite delay before the<br />

sampling switch starts to turn <strong>of</strong>f, which is called aperture delay. Once the<br />

switch begins to turn <strong>of</strong>f, there is an additional delay before it is completely<br />

turned <strong>of</strong>f, which is called aperture time, and is a critical audio SAH parame-

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

Saved successfully!

Ooh no, something went wrong!