Sample and Hold: Signal Switching
Sample and Hold: Signal Switching
In the page on Analog-to-Digital conversion, the importance of using a sample-and-hold circuit with a
successive-approximation A/D converter (like the ADC0804) was emphasized. In fact, if the input
voltage to be digitized is varying, a sample-and-hold circuit is mandatory. A/D converters with more
precision cannot give their advertised accuracy without a sample-and-hold. In this page, the principle of a
sample-and-hold circuit is explained and illustrated, and the practical use of the LF398 monolithic
sample-and-hold circuit is described. We also measure the leakage currents that exist in these circuits.
What happens is this: when the S/H is in the "sample" state, with the control voltage above 1.4 V, the
voltage at the input appears at the output, and varies simultaneously. A S/H presents a very high input
impedance, and its bandwidth is considerable. When the control is changed to "hold," below 1.4 V, the
sampled voltage is held on a hold capacitor and the output voltage is frozen at that point. There is a
settling time after the hold command until the output is within 1 mV of its steady value. For the LF398,
this is about 0.8 s. After the hold command, the aperture time is the time after which changes of the
input voltage no longer affect the output voltage. For the LF398, it is 150-200 ns. The acquisition time is
the time for the internal nodes to settle, and the output to be within, say, 0.1% of its final value, when a 10
V step is made at the input. The acquisition time depends on the size of the hold capacitor. For the LF398,
with a 0.01 F hold capacitor, it is about 20 s. Times from the hold command are measured from the 1.4
V point of the control waveform.
Even if the times are taken into account, the accuracy of the output depends on several more parameters.
First, the S/H acts like a unity-gain buffer, and its gain may vary slightly from 1. This gain error is less
than 0.01% maximum at 25°C. Secondly, there is a finite jump in the output voltage called the hold step
when the hold command is issued. For a hold capacitor of 0.01 F, this is 0.5 mV typically, 2.5 mV
maximum for the LF398. Finally, there is droop as the hold capacitor voltage declines steadily in the
"hold" state. This droop is caused mainly by a constant leakage current, and can be predicted fairly well,
so that corrections can be made for it if desired. All of this should convince you that it is a challenging
task to design a good S/H circuit.
Selection of the hold capacitor is an important matter. The larger the hold capacitance, the smaller is the
droop. The smaller the hold capacitor, the more quickly it can be charged and the smaller the acquisition
time. There is, therefore, a tradeoff in selection of hold capacitor size. For most normal uses, a value of
0.01 F is satisfactory, and values in the range 1 nF to 1 F are usual. The type of capacitor used is
important. It is obvious that the capacitor should have small leakage, so all electrolytics, whether
aluminum or tantalum, are excluded. The next most important characteristic is "dielectric absorption" or
hysteresis in the dielectric constant. This means that the voltage is not a single valued function of the
charge on the capacitor, as it should be for a S/H circuit. The capacitor voltage changes as the dielectric
"relaxes," as well as when charge is supplied or taken away. Ceramic capacitors are unusable because of
their high hysteresis, greater than 1% of the voltage on them. Otherwise excellent mica and polycarbonate
capacitors have less hysteresis, but still too much for a S/H. The three dielectrics that are suitable for an
accurate S/H circuit are polypropylene, polystyrene and Teflon, roughly in that order. Polypropylene has
the least hysteresis of all, and is the best choice for a hold capacitor, but any of the three will give
adequate results.
Apply about 5.00 V (say) and hold it. Record the time at the start, and at every even volt as the output
voltage droops. I found that it took 28 minutes to decline to 0.00 V. The voltage kept on decreasing, until
it reached some internal saturation value at -10.76 V. If you plot the output voltage versus time, you will
find a straight line with a slope of -3.0 mV/s. This demonstrates that the droop is caused by a constant
leakage current, and is not an exponential RC decay. The leakage current is found to be 30 pA. The
specifications of the LF398 allow it to be up to 200 pA. Note that we did not do much worse than this
with our discrete circuit. The LF398 is much easier to control, however, and is optimized as a S/H. If you
need better specs, there are the more expensive LF298 and LF198 (which mainly give an extended
temperature range), and the LF398A, with tightened specs. The LF398 is, however, an excellent circuit
suitable for most peaceful requirements.
You should have no trouble now in applying the LF398 to a computer-controlled A/D converter. You will
only need one extra logic control output, to command the S/H circuit to hold before triggering a
conversion.