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.

DIGITAL-TO-ANALOG AND ANALOG-TO-DIGITAL CONVERSION 373<br />

3-BIT<br />

GAIN<br />

CONTROL<br />

DIGITAL<br />

GAIN<br />

CONTROL<br />

12-BIT<br />

DAC<br />

ANALOG<br />

SIGNAL<br />

GAIN-CONTROLLED<br />

AMPLIFIER<br />

OUTPUT<br />

Fig. 12--4. Floating-point DAC<br />

16 bits for quite some time, and the difference would probably be inaudible<br />

anyway.<br />

Segmented DAC<br />

The sign-magnitude DAC just -described is really a special case <strong>of</strong> the<br />

segmented DAC discussed in Chapter 7 with two segments: one from minus<br />

full scale to just under zero and the other from just over zero to plus full scale.<br />

Use <strong>of</strong>a real segmented DAC with the usual 8 or 16 segments in fact provides<br />

the same benefits as sign magnitude coding with the advantage <strong>of</strong> having the<br />

code conversion logic and sign-bit stage built into the DAC module itself<br />

There are in fact 16-bit DACs on the market designed for audio applications<br />

that use the segmented architecture. Note that, although the differential<br />

linearity at zero (and elsewhere) may be essentially perfect, if the spec sheet<br />

reads 13-bit integral linearity (0.006%), then at high signal levels the<br />

distortion due to that nonlinearity will be the same as a 13-bit DAC. In<br />

practice, the distortion generated by a segmented DAC with 13-bit integral<br />

linearity will be mostly low-order harmonics that tend to be less audible than<br />

the sharp spikes caused by localized nonlinearities in an equivalent all-ladder<br />

DAC. Interestingly, a harmonic distortion analyzer's typical rms readout<br />

would lead one to the opposite conclusion.<br />

Floating-Point DACs<br />

A method commonly used in analog audio equipment to improve<br />

apparent SiN ratio is to "ride the gain." Strong signals are made stronger by<br />

increasing the gain, while weak signals are made even weaker by reducing<br />

the gain. Since the noise is most audible at low signal levels, the act <strong>of</strong><br />

reducing the gain also reduces the noise and so improves the SiN ratio. The<br />

main problem encountered in this scheme is knowing when and how much to<br />

change the gain setting.<br />

In an audio DAC application, it should be possible to apply the same<br />

concept to a 12-bit DAC to improve its SiN ratio at low signal levels.<br />

Consider the setup in Fig. 12-4. Twelve-bit samples operate the 12-bit DAC<br />

in the normal way. However, three additional bits control a variable-gain

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

Saved successfully!

Ooh no, something went wrong!