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.

378 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

are associated with the lesser significant bits because, after all, their influence<br />

on the output is less.<br />

If the DAC is <strong>of</strong>fset binary encoded, the largest glitch, therefore, occurs<br />

right at zero crossing. Unfortunately, even low-amplitude signals are going<br />

to cross zero so the distortion due to glitching can become absolutely intolerable<br />

at low signal levels. The distortion also becomes worse at higher frequencies,<br />

since more glitch energy per unit time (power) is being released.<br />

Sign-magnitude coding can have the same problem because <strong>of</strong> switching<br />

transients from the sign-bit amplifier. Floating-point DACs, however, attenuate<br />

the zero-crossing glitch along with the signal at low levels.<br />

Glitch magnitude and duration are not <strong>of</strong>ten specified on a DAC data<br />

sheet. When they are, the units are very likely to be volt-seconds because <strong>of</strong><br />

the unpredictable nature <strong>of</strong> DAC glitches. Unfortunately, this alone is insufficient<br />

information to even estimate the distortion that might be produced in<br />

an audio application. What is needed is the rms voltage <strong>of</strong> the glitch and its<br />

duration so that the energy content can be determined.<br />

Low-Glitch DAC Circuits<br />

The two primary causes <strong>of</strong> glitching in DAC circuits are differences in<br />

the switching time <strong>of</strong> the various bits (skew) and differences between the bit<br />

turn-on and turn-<strong>of</strong>f times. In some DAC circuits, the most significant bit<br />

switches carry considerably more current than the least significant bits, thus<br />

contributing to differences in switching times. Some R-2R designs, however,<br />

pass the same current through all <strong>of</strong> the bit switches, thus eliminating<br />

this cause <strong>of</strong> skew. Even the digital input register can contribute to skew,<br />

since it will undoubtedly span two or more ICs that may have different<br />

propagation times. The use <strong>of</strong> high-speed Schottky registers, which are<br />

verified to have equal delay times, will minimize this source <strong>of</strong> skew. Any<br />

sign-magnitude or floating-point translation logic should be in front <strong>of</strong> the<br />

input register as well.<br />

Nonsymmetrical turn-on/turn-<strong>of</strong>f time is an accepted fact <strong>of</strong> life among<br />

TTI logic designers. The reason is storage time in the saturated bipolar<br />

transistor switches, which also applies to many DAC analog switch designs.<br />

The digital input registers <strong>of</strong>ten accentuate the problem for the same reason.<br />

There are, however, low-glitch DACs on the market that use emittercoupled<br />

logic internally for the register and nonsaturating current steering<br />

analog switches.<br />

Typically, these are only available in I2-bit versions, since they are<br />

designed primarily for CRT deflection circuits. One type that is available has<br />

a maximum glitch amplitude <strong>of</strong> 40 mY, a duration <strong>of</strong> 60 nsec, and a<br />

full-scale output <strong>of</strong> ±5 V. With a I-kHz full amplitude output, the glitch<br />

distortion would be about-78 dB with respect to the signal, about 6 dB<br />

below its I2-bit quantization noise. At 10 kHz, however, the glitch distortion<br />

rises by 10 dB, making it the dominant noise source.

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

Saved successfully!

Ooh no, something went wrong!