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.

374 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

90<br />

80<br />

16-BIT DAe<br />

12-BIT FLOATI~~<br />

(""" ""'<br />

20<br />

10<br />

o<br />

-BO -70 -60 -50 -40 -30 -20 -10 0 +/0 +20<br />

SIGNAL LEVEL RELATIVE TO OVERLOAD (dB)<br />

Fig. 12-5. Floating-point DAC performance<br />

amplifier, which the DAC drives. Low signal levels are created by programming<br />

the amplifier for a low gain rather than reducing the digital<br />

sample values going to the DAC. Thus, the DAC's noise is also reduced and<br />

the resulting SiN ratio tends to be constant at low signal levels.<br />

Let us assume for a moment that the programmable gain amplifier has<br />

eight possible gain settings, each a factor <strong>of</strong> two apart. Thus, gains <strong>of</strong> 1.0,<br />

0.5, 0.25, ... ,0.0078 are possible. The corresponding SiN ratio graph for<br />

the system is shown in Fig. 12-5. The maximum SiN ratio is no more than<br />

that <strong>of</strong> an ordinary 12-bit DAC, but at low signal levels it is actually better<br />

than a true 16-bit unit! Furthermore, only 15 bits are used for the samples.<br />

Note that these are theoretical figures, since retaining a noise level 115 dB<br />

below the overload point in subsequent circuitry is quite a feat indeed.<br />

Since the gain data are carried along with the signal data in each<br />

sample, there is no problem in handling transients as there is in an analog<br />

audio system. The data format is actually very much like the floating point<br />

number format in computer arithmetic. The 12 bits going to the DAC are<br />

the "fraction" part, while the 3 bits going to the gain control circuit are the<br />

"exponent." The base <strong>of</strong> 2 is set by the design <strong>of</strong> the gain control circuit.<br />

A floating-point DAC can also be viewed as having a variable step size.<br />

In the region close to zero, the step size is quite small, which minimizes<br />

quantization noise. As the signal level increases, the step size becomes twice<br />

as large, four times, etc., until at levels near overload the steps are 128 times<br />

larger than at low levels. Of course, every time the step size is doubled the

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

Saved successfully!

Ooh no, something went wrong!