A digital thermometer can display a temperature, a music interface can record a guitar note, and a battery monitor can report a voltage. In each case, the physical quantity begins as an analog signal: a voltage that can change continuously rather than jumping neatly between numbers.
But a digital system cannot examine a changing voltage over an unlimited stretch of time. An analog-to-digital converter (ADC) needs a brief interval in which the input is stable enough to measure. If the signal moves while that measurement is underway, the result can be wrong.
That small but demanding job is handled by a sample-and-hold circuit. It takes a rapid “snapshot” of an analog voltage, then keeps that snapshot steady long enough for downstream electronics to use it.
The idea sounds simple: a switch and a capacitor. In real designs, however, settling time, leakage, noise, charge injection, bandwidth, and timing all decide whether that snapshot is trustworthy.
📸 What a Sample-and-Hold Circuit Does
A sample-and-hold circuit, often abbreviated S/H, periodically observes an input voltage and stores its instantaneous value. During the sampling interval, its output follows the input. During the hold interval, the output is ideally constant even if the input continues changing.
This produces a sequence of flat voltage levels. Each level represents the input at one selected instant. An ADC can then convert that held voltage into a binary code without having to chase a moving target.
🌊 Why Analog Signals Need Brief Snapshots
Real-world electrical signals often change continuously. Audio waveforms swing with sound pressure, sensor outputs drift with temperature or force, and communication signals can vary much faster than a person can observe.
An ADC takes finite time to perform a conversion. If its input changes significantly during that time, the converter may produce a code that does not correspond cleanly to any one instant of the original signal. Holding the voltage isolates conversion from the signal’s continuing motion.
🧠 Sampling Is Not the Same as Quantization
Sampling and quantization are related but distinct operations. Sampling chooses points in time. Quantization assigns each sampled voltage to one of a finite number of digital levels.
For example, sampling may take a sensor reading every millisecond. A 12-bit ADC then quantizes each reading into one of 4096 possible codes across its input range. The sample-and-hold function concerns time; ADC resolution concerns voltage increments.
🔁 The Two Operating Phases
Every basic S/H circuit alternates between two states. In the track or sample state, the storage element is connected to the input and the output follows it. In the hold state, that connection opens and the stored voltage is presented at the output.
Some systems use the word “sample” for a very short acquisition event. Others use “track” because the capacitor follows the input for a measurable interval before hold begins. The underlying purpose is the same: acquire, then preserve.
🧩 The Essential Building Blocks
A practical circuit usually contains an analog switch, a hold capacitor, and one or more buffers. The switch is controlled by a clock or logic signal. The capacitor stores charge, and the buffers prevent connected circuits from disturbing that stored charge.
- Input buffer: drives the switch and capacitor without heavily loading the signal source.
- Analog switch: connects and disconnects the sampling path.
- Hold capacitor: stores charge corresponding to the sampled voltage.
- Output buffer: delivers the held voltage to the ADC or another load.
Integrated ADCs frequently include much of this circuitry internally, although the external source still must meet acquisition requirements.
⚡ The Capacitor Stores the Voltage as Charge
A capacitor does not store voltage in isolation; it stores electric charge. Its voltage is related to charge by Q = C × V, where Q is charge, C is capacitance, and V is voltage.
When the switch closes, charge flows until the capacitor voltage approaches the input voltage. When the switch opens, the capacitor retains that charge approximately. The word “approximately” matters because real capacitors, switches, and input stages always provide some path for charge to move.
🚪 The Analog Switch Is More Than a Digital Switch
An analog switch must pass a range of voltages with low error while it is on and block the signal well while it is off. CMOS transmission gates and MOSFET-based switches are common choices because they can be controlled digitally while handling analog signals.
Its on-resistance forms part of the charging path to the capacitor. Its off leakage contributes to hold error. Its parasitic capacitances can inject an unwanted voltage step at the exact moment the switch opens.
⏱️ Acquisition Time and RC Settling
The capacitor cannot jump to the correct voltage instantly. It charges through source resistance, switch resistance, and any deliberate series resistance. Together with the capacitor, those resistances create an RC time constant.
After a step in input voltage, the capacitor approaches the new value exponentially. A high-resolution conversion requires the residual settling error to become much smaller than one least significant bit (LSB). Therefore, a source that is acceptable for a low-speed meter may fail when driving a fast ADC directly.
📏 Why ADC Resolution Tightens the Requirement
Higher resolution makes small voltage errors visible in the digital result. For an ideal N-bit converter, one LSB is the full-scale input range divided by 2N. A 16-bit system has far less tolerance for incomplete settling than an 8-bit system.
Designers therefore evaluate acquisition time against the required accuracy, not merely whether the waveform “looks close” on an oscilloscope. A held voltage that misses the target by a few millivolts may be harmless in one system and unacceptable in another.
🪣 Choosing the Hold Capacitor
A larger capacitor tends to reduce voltage change caused by a given amount of leakage charge or switch charge injection. It can therefore improve hold stability. However, a larger capacitor also takes longer to charge through a given resistance.
A smaller capacitor can acquire a new input quickly, but it is more sensitive to parasitic capacitance, leakage, noise, and loading from the next stage. Component selection is a tradeoff between acquisition speed, hold accuracy, physical layout, and the characteristics of the driving amplifier.
📉 Droop Rate: The Held Value Slowly Falls or Rises
Droop is the gradual change in held output voltage after the circuit enters hold mode. It arises from capacitor leakage, switch leakage, buffer input bias current, and contamination or moisture across a circuit board.
A useful first approximation is dV/dt = I/C, where I is net leakage current and C is hold capacitance. The polarity depends on the direction of the leakage current. For a given leakage, more capacitance reduces the rate of voltage change.
💥 Charge Injection at the Switching Edge
When a MOS switch turns off, charge associated with its channel and control-node capacitances can be pushed into the hold capacitor. This phenomenon, called charge injection, creates a small voltage step rather than a perfectly clean transition.
The error can depend on input voltage, switch geometry, clock amplitude, and capacitance. A larger hold capacitor reduces the resulting voltage step, but it does not eliminate the cause. Precision switch designs, complementary switching techniques, and careful timing help manage it.
🪄 Clock Feedthrough and Timing Noise
The clock that commands the switch can couple through parasitic capacitance into the analog signal path. This is known as clock feedthrough. It may appear as a narrow glitch near the sample-to-hold transition.
In a low-resolution, slow measurement system, the disturbance may be insignificant. In a precision data-acquisition chain, it can become a repeatable offset or a signal-dependent error. Shielding, grounding, switch selection, and clock-edge control can all affect the outcome.
🎯 Aperture Time Defines the True Sampling Instant
The switch does not close or open in zero time. Aperture time is the effective uncertainty or delay associated with the instant at which a sample is taken. It matters most when the input voltage has a steep slope.
If an input changes quickly, a tiny uncertainty in sampling time becomes a voltage uncertainty. For a sine wave, this timing-related error grows with both signal frequency and amplitude. It is why high-speed, high-resolution systems care intensely about low-jitter clock sources.
⌛ Aperture Jitter Limits Dynamic Accuracy
Jitter is random variation in the timing of sampling edges. Unlike a fixed delay, which can often be calibrated or accommodated, random jitter produces uncertainty from sample to sample.
At low input frequencies, the signal changes slowly and jitter may contribute little error. At high frequencies, the same timing variation can limit achievable signal-to-noise ratio even if the ADC has many bits on paper. Clock quality is therefore part of the analog design, not merely a digital housekeeping detail.
🎵 A Simple Audio Example
Consider a hypothetical audio interface sampling a microphone signal. At each sampling instant, its input circuitry must acquire the microphone amplifier’s voltage and hold it steady while the ADC determines a code.
If the source amplifier is unable to drive the ADC’s sampling capacitor quickly, rapid waveform changes may not settle correctly. The resulting distortion is not necessarily obvious as random noise; it can create signal-dependent errors, especially at higher audio frequencies and larger levels.
📡 High-Speed Data Acquisition Changes the Priorities
In a slow environmental monitor, hold time can be relatively long and source signals may change gently. In a fast oscilloscope front end, software-defined radio receiver, or precision control loop, the circuit faces much shorter timing margins.
High-speed systems prioritize bandwidth, aperture jitter, rapid settling, and controlled impedance. They may use specialized ADC drivers and fully differential signal paths. The basic sample-and-hold concept remains unchanged, but parasitic effects that were negligible at low speed become dominant.
🔄 Multiplexed ADC Inputs Need Special Care
Many ADCs use an input multiplexer to measure several channels with one converter. The sampling capacitor may be connected first to one channel, then another. Each channel must charge or discharge that capacitor to its own voltage during the allotted acquisition time.
Large voltage differences between adjacent channels, high sensor source impedance, or a rapid channel scan can cause channel-to-channel errors. A common remedy is to add a buffer amplifier, increase acquisition time, reduce source impedance, or arrange channel order thoughtfully when the application permits.
🛡️ Input Buffers Isolate the Signal Source
An op-amp buffer can provide low output impedance and enough transient current to charge an ADC’s internal sampling capacitor. This protects a delicate sensor, resistor divider, or filter from being disturbed each time the ADC samples.
Not every op-amp is suitable. The amplifier must remain stable while driving the effective capacitive and switched load, settle rapidly after sampling transients, operate within the required voltage range, and meet noise and offset needs. Datasheet guidance for ADC driver circuits is especially valuable here.
🧰 The Small Series Resistor and Reservoir Capacitor
A frequently used interface places a modest series resistor between a driver amplifier and the ADC input, with a local capacitor near the ADC pin. The local capacitor can supply the brief current demanded during acquisition, while the resistor helps isolate the amplifier from the abrupt switched-capacitor load.
This network must be designed rather than copied blindly. Too much resistance slows settling; too much capacitance can burden the driver or change filter behavior. The ADC’s acquisition time, internal capacitance, and recommended input network determine suitable values.
🧹 Anti-Aliasing Must Happen Before Sampling
Sampling does not distinguish between a desired signal and an excessively high-frequency signal that can masquerade as a lower frequency after conversion. This effect is called aliasing.
An analog low-pass filter placed before the ADC limits energy above the usable bandwidth. The sample-and-hold captures whatever reaches it; it cannot undo aliases already created by inadequate input filtering. A good design considers filtering, sample rate, and S/H bandwidth as one signal-conditioning chain.
📊 Sample Rate, Hold Time, and Conversion Time
These timing terms are easy to confuse. The sample rate is how often new samples are taken. Acquisition time is how long the input has to settle onto the sampling capacitor. Conversion time is how long the ADC needs to produce a digital output.
In some converter architectures, acquisition and conversion occur in separate portions of each cycle. In others, they overlap or are internally pipelined. A designer should use the timing definitions from the specific converter rather than assuming every ADC operates identically.
🧮 Common ADC Architectures Use Sampling Differently
Successive-approximation-register (SAR) ADCs commonly rely on a sampling capacitor and then compare the held input against an internal digital-to-analog converter. The input must be settled before conversion begins.
Delta-sigma converters oversample and use internal modulators and digital filtering, while pipeline converters use multiple stages to support high throughput. Their input interfaces and timing needs differ, but each architecture still depends on precisely controlled interaction between continuous analog signals and discrete-time processing.
🔬 Measuring Sample-and-Hold Performance
Oscilloscope traces can reveal gross glitches, incomplete settling, and switching transients, especially with an appropriately high-bandwidth probe and careful grounding. Yet a waveform that looks clean may still hide errors below the probe’s effective resolution.
For precision work, engineers also inspect ADC code distributions, spectral performance, offset and gain behavior, and response to controlled step inputs. Testing should reflect the real signal source impedance, clock conditions, temperature range, and channel sequence rather than an ideal laboratory source alone.
⚠️ Common Design Mistakes
- Assuming an ADC input is a simple high-impedance DC load rather than a periodically switched capacitive load.
- Using a high-value resistor divider without checking whether it can settle during acquisition.
- Choosing a large capacitor solely to reduce droop, then overlooking slower acquisition.
- Ignoring clock jitter when digitizing high-frequency signals.
- Placing anti-alias filtering after, rather than before, the sampling operation.
- Testing one multiplexer channel at a time and missing channel-switching errors.
These mistakes are often fixable, but they are much cheaper to address before the board layout and firmware timing are fixed.
🧭 A Practical Design Workflow
Start with the signal: its voltage range, bandwidth, source impedance, noise level, and required measurement accuracy. Then select the ADC and read its acquisition-time, input-current, and recommended-driver specifications.
- Choose a sample rate high enough for the desired signal bandwidth and filtering strategy.
- Budget error from settling, offset, noise, reference accuracy, and timing jitter.
- Design the input filter and driver as a combined network.
- Simulate or calculate settling for worst-case input steps.
- Validate the completed hardware with realistic sources and channel switching.
This sequence prevents a common failure mode: choosing a converter by resolution alone and discovering later that the analog front end cannot feed it correctly.
🌡️ Temperature, Leakage, and Board Cleanliness
Leakage currents can change with temperature and humidity. At high impedances, residue from solder flux, fingerprints, moisture, or contaminated insulation can become a meaningful leakage path across the circuit board.
Precision designs may use guarded traces, clean assembly practices, suitable capacitor dielectrics, and layout spacing around sensitive nodes. These details are less dramatic than selecting an ADC, but they can determine whether a held voltage remains stable long enough in demanding instruments.
🧱 Layout Keeps Fast Switching Away from Sensitive Nodes
The sampling clock and digital data lines can carry fast edges that couple into analog traces through shared impedance, electric fields, or magnetic fields. Keep the analog input path short, provide a low-impedance return path, and place local bypass capacitors close to active devices.
Grounding requires thought rather than a universal rule. The goal is to control return currents and prevent digital switching currents from creating voltage disturbances in the analog reference or input path. A layout review should consider current loops, not just schematic connections.
🔍 When You Do Not Need an External S/H
Many modern ADCs include an internal track-and-hold circuit, so an external standalone S/H is not automatically necessary. Adding one can introduce its own leakage, offset, and switching errors.
An external circuit becomes useful when the ADC needs a different input interface, when a signal must be held for another subsystem, when multiplexing or timing demands are unusual, or when a specialized front end provides better performance. The right question is not “Should every ADC have one?” but “Does the complete acquisition chain meet its error budget?”
🧾 Key Tradeoffs at a Glance
| Design choice | Potential advantage | Potential cost |
|---|---|---|
| Larger hold capacitor | Lower droop and smaller injection step | Longer acquisition time |
| Lower source impedance | Faster settling | More driver power or buffering complexity |
| Higher sample rate | More temporal detail and easier filter transition | More data, power, and timing demands |
| Lower-jitter clock | Better high-frequency dynamic accuracy | Greater clock-design complexity |
| Stronger input filtering | Reduced aliasing | Possible bandwidth and phase tradeoffs |
There is no universally best component value or topology. A successful implementation balances these effects against the actual signal and required uncertainty.
💡 The Core Principle to Remember
A sample-and-hold circuit converts a continuously changing electrical quantity into a voltage that is stable for a short, useful interval. That modest act makes accurate analog-to-digital conversion possible.
Its real performance is governed by time and charge: how quickly the capacitor settles, how well it retains charge, how cleanly the switch disconnects, and how precisely the clock defines the sampling instant. Understanding those relationships turns an ADC input from a mysterious pin into a designable system.
Reliable digital measurements begin with an accurate analog snapshot, captured at the right instant and held long enough to be trusted. From audio recordings to industrial sensors, that principle is quietly at work every time electronics translate the physical world into data. 🔌📈⏱️

