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.

256 MUSICAL ApPLICATIONS OF MICROPROCESSORS<br />

refresh interval can minimize the effect, polystyrene should always be used<br />

for the hold capacitor dielectric.<br />

The capacitor size is largely determined by the required update time<br />

and the on resistance <strong>of</strong> the analog switch. Note that some switches with an<br />

otherwise low resistance may require external series resistance to limit the<br />

current when large changes in output voltage occur such as from -10 to<br />

+ 10 V. Without limiting resistance, a 50-ohm switch would try to conduct<br />

nearly half an amp (if the DAC output amplifier could deliver it) when<br />

switched on. For purposes <strong>of</strong> calculation, a total switch and limiting resistance<br />

<strong>of</strong> 400 ohms will be assumed.<br />

Part <strong>of</strong> the update time is spent waiting for the DAC to settle. With a<br />

decent output amplifier on the DAC, this can be around 5 p.sec. Thus, if the<br />

total update time is to be 50 p.sec, then 45 are available for capacitor<br />

charging. Assuming a worst-case transition <strong>of</strong> the full 20-V range, a worstcase<br />

error <strong>of</strong> one-half the resolution <strong>of</strong> a 12-bit main DAC would require the<br />

capacitor to charge within 2.4 mV or about 0.012% <strong>of</strong> its final value. With a<br />

normal negative exponential charging curve, at least 9RC time constants will<br />

be tequired to update the capacitor that accurately. The RC time constant<br />

therefore should be 5 p.sec or less, meaning that C can be no larget than<br />

0.016 p.F. Unfortunately, this is not always large enOllgh to swamp out the<br />

effect <strong>of</strong> feedthrough glitch in the analog switch. Larger capacitors up to<br />

perhaps 0.1 p.F (about the largest polystyrene value available) may be usable,<br />

however, if large voltage steps are avoided or several refresh periods for final<br />

channel settling is acceptable.<br />

Channel Output Amplifier<br />

The channel output amplifier to a large degree determines the refresh<br />

period, since its input bias current is normally the largest contribution to<br />

leakage from the storage capacitor. This problem may be easily circumvented<br />

by using one <strong>of</strong> the newer FET input op-amps that have vanishingly small<br />

bias currents. However, these tend to have larget <strong>of</strong>fset voltages than bipolar<br />

input stage devices and cost more. So, as an exercise, let us determine just<br />

how bad the situation would be with a standard bipolar op-amp.<br />

The LM324A is a popular quad op-amp with an unusually low bias<br />

current <strong>of</strong> 45 nA and a typical <strong>of</strong>fset voltage <strong>of</strong> 2 mV, a little less than<br />

one-half the step size <strong>of</strong> a 12-bit, ± lO-V DAC. With a hold capacitor <strong>of</strong><br />

0.016 p.F calculated previously, the drift rate due to bias current will be 2.8<br />

V/sec. Thus, if drift is to be held to less than one-half the DAC step size (2.5<br />

mY) between refreshes, the refresh interval should be less than 880 p.sec. A<br />

refresh operation could be expected to take considerably less time than a full<br />

update operation, since the capacitor voltage change is normally very small.<br />

A 20-p.sec reftesh time, for example, would allow 5 p.sec for DAC settling<br />

and a liberal three time constants for capacitor recharge. With these num-

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

Saved successfully!

Ooh no, something went wrong!