Back to Basics: Sample/Track and Hold Amplifiers

Last week we went into details of ADC and how source impedance can effect timing. Now there will be cases where you are looking to sample two independent signals, say bio-med signals, on 2 separate analog channels on an MCU with a single ADC.

With a time-multiplexed SAR ADC, the internal sampling capacitor first charges from channel A. The mux flips to channel B. If the source is not low impedance or acquisition time is short, some charge from A rides into B. You see a ghost voltage of the previous channel. One fix is to wait after each switch so it settles. That reduces ghosting, but it creates timing skew between channels. Meaning it’s non-time synchronised.

Track and hold Amplifier

Sometimes this skew is not acceptable. In bio-med you might want ECG and PPG at the same instant. This is where sample or track-and-hold stages help. You place a T/H per channel and drive all holds with one edge. In track the output follows the input. On hold the switch opens, a small capacitor freezes the value, and a buffer drives the ADC. The ADC then converts sequentially, but the samples come from the same instant.

There are few parameters to keep in mind while selecting one, Aperture delay and Jitter set the exact instant you grab the signal. Lower jitter means cleaner SNR and less channel-to-channel timing error. Droop is how the held voltage slowly sags because of leakage. Too much droop changes readings. Hold step is the small jump when the switch opens due to charge injection. Big steps look like offsets or spikes. I usually aim for low jitter, low droop, and small hold step, so both channels look clean and truly simultaneous.

So next time when you want absolutely 2 signals at the same time look into sample and hold Amplifiers. TI and Analog devices have a few in their portfolio.

If you liked the post, Share it with your friends!

Back to Basics: ADC and Impedance

Recently, in a discussion with a few folks, I found that ADC concepts were not that clear. Esp. with regard to the source impedance part. Some were under the impression that you connect a voltage within ADC range and measure, thats it. This might be a very basic thing, but I thought I should explain.

ADC Impedance

Source impedance is simply the open-circuit resistance seen looking back into whatever is driving the ADC input. An ideal source is zero ohms. A real sensor, voltage divider or source output has some finite output source resistance. That resistance, the ADC’s input resistance and capacitance form an RC low-pass filter. Check images for the equivalent circuit.

ADCs have a sample‐and‐hold capacitance (Approx tens of pF). When a voltage source is connected to ADC, this capacitor charges through the source resistance and an internal switching resistance (approx 1-2kΩ). This RC circuit needs a finite time to rise up. If you have a 2bit ADC for the last bit to settle, it would take approx 10x the RC time constant. To put it approx numbers, let’s say Rsource=1kΩ, Ron = 1kΩ, C= 10pF, RC time constant is 20ns, 10x that would be 0.20us. So you need to sample and take values only after this settling time for the LSB, else it will give you are wrong reading. This becomes a major factor if you are taking only 1 ADC reading of the sample and then going away. If that value is not settled, you get a wrong reading. Especially applicable when sampling fast changing AC signals. Now if Rsource is larger, say from a large MΩ voltage divider, your sampling time is going to 1000x this number. So always aim to keep source impedance less than 1k or so if you can afford the current.

What to do if you can’t? Then use a buffer so that your flow will be,
Sensor ->(High-Impedance) -> Op-amp (Unity gain buffer) -> (Low-Impedance) -> ADC input. 
This guarantees the ADC always see a low-impedance source because of the op-amp and your input is effectively shielded.

Please do take care of the source impedance case. There is lots to discuss regarding ADCs. If there is genuine interest, I can spend some time creating a series in the future. Do let me know.

If you liked the post, Share it with your friends!
1 2 3 9