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

Sample-and-Hold Deglitcher<br />

The usual solution to DAC glitching at the sample rates used in audio<br />

applications is the incorporation <strong>of</strong> a sample-and-hold module at the output<br />

<strong>of</strong> the DAC. In operation, it would be switched to the hold state just prior to<br />

loading the next sample into the DAC and would not be switched back into<br />

the track mode until the DAC has settled at the new level. In this way,<br />

glitches from the DAC are not allowed to reach the output.<br />

As a practical matter, however, even SAH modules glitch when<br />

switched from one state to another. This is alright, however, if the magnitude<br />

and polarity <strong>of</strong> the glitches are constant and independent <strong>of</strong> the signal<br />

level. In that case, the glitches contain energy only at the sample rate and its<br />

harmonics, which will eventually be filtered out. Most commercial SAH<br />

modules are fairly good in this respect. A linear variation <strong>of</strong> glitch magnitude<br />

with the signal level can also be acceptable, since the only effect then would<br />

be a slight shift in the dc level <strong>of</strong> the output.<br />

Another SAH parameter that must be constant for low distortion is the<br />

switching time from hold to sample mode. If this varies nonlinearly with<br />

signal voltage level, then harmonic distortion is produced. Unfortunately,<br />

the switching time <strong>of</strong> most analog switches is signal voltage dependent. The<br />

reason is that they cannot turn on (or <strong>of</strong>f) until the switch driver voltage<br />

crosses the switch threshold voltage which, as was discussed in Chapter 7, is<br />

relative to the signal voltage. Since the driver voltage does not have a zero<br />

rise time, the time to cross the threshold voltage will vary with the signal<br />

level. A linear variation would be alright, but a perfectly linear drive voltage<br />

ramp is unlikely. However, if the drive voltage is <strong>of</strong> sufficiently large<br />

amplitude and centered with respect to the signal, reasonably linear variation<br />

can be obtained.<br />

Slew-Limiting Distortion<br />

There still exists a subtle yet quite significant distortion mechanism in<br />

the typical SAH module that is unrelated to glitching or switching time<br />

variation. The mechanism is slew limiting <strong>of</strong> the amplifiers in the SAH<br />

module when switching from hold mode to sample mode. Figure 12-7 shows<br />

a typical SAH module. When the sampling switch is closed, the circuit acts<br />

as a simple voltage follower. When open, A2 buffers the capacitor voltage<br />

~ :t>l"~,,.<br />

AI 'T +<br />

FROM +<br />

DAC<br />

~C<br />

Fig. 12-7. Typical feedback SAH circuit

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

Saved successfully!

Ooh no, something went wrong!