Sample and Hold Circuits
Definition
A sample and hold circuit is an electronic circuit that samples the instantaneous value of an analog input signal at a specific time and then holds that value constant for a desired period, usually long enough for analog-to-digital conversion or other processing.
In other words, it is a circuit that performs two functions:
Sample
- captures the input voltage at a particular instant.
Hold
- maintains that captured voltage unchanged for a set duration.
The circuit commonly uses a switch, a capacitor, and a buffer amplifier. When the switch is closed, the capacitor charges to the input voltage. When the switch is opened, the capacitor retains that voltage, and the output follows the stored value. The ideal sample and hold circuit would capture and store the voltage perfectly, but practical circuits suffer from small errors such as leakage, droop, and acquisition delay.
Main Content
1. Basic Principle of Sample and Hold Operation
Sampling phase
- During this phase, the input signal is connected to a storage element, usually a capacitor, through an electronic switch. The capacitor charges to the instantaneous value of the input voltage. This means the circuit “takes a snapshot” of the signal at that moment. If the input waveform is a sine wave, for example, the sampled value depends on the exact instant when the switch closes.
Holding phase
- After sampling, the switch opens and isolates the capacitor from the input. The capacitor then retains the captured voltage, and a buffer circuit supplies this voltage to the output without loading the capacitor significantly. The stored voltage remains approximately constant until the next sampling event.
The core idea is that the input can change continuously, but the output can be made temporarily constant. This is essential in systems where a conversion or measurement process takes time. For example, if a sensor output varies rapidly and an ADC needs several microseconds to convert it, the sample and hold circuit prevents the input from changing during that conversion.
A simple conceptual representation is:
Input Signal --> [Switch] --> [Capacitor] --> [Buffer] --> Output
| ^
Control Holds
signal voltage
When the control signal enables the switch, the capacitor follows the input. When disabled, the capacitor stores the sampled level.
2. Circuit Elements and Their Roles
Electronic switch
- The switch is usually implemented using a transistor arrangement or a CMOS transmission gate. Its job is to connect and disconnect the input signal from the storage capacitor. The quality of the switch strongly affects accuracy because imperfect switching can introduce resistance, charge injection, and offset errors.
Holding capacitor
- The capacitor is the storage element of the circuit. It holds the sampled voltage after the switch is opened. The value of the capacitor is chosen carefully: a larger capacitor reduces droop and noise sensitivity but requires more charging current and may slow down acquisition.
Buffer amplifier
- A voltage follower or high-input-impedance amplifier is connected after the capacitor. Its purpose is to provide the output to the next stage without drawing significant current from the capacitor. Without this buffer, the load could discharge the capacitor and destroy the held value.
These three parts work together to make the sample and hold circuit effective. The switch determines when sampling occurs, the capacitor stores the value, and the buffer preserves that value at the output. In practical design, the amplifier should have very low input bias current and wide bandwidth so that it does not disturb the held signal.
Important design consideration: the capacitor must be charged through the switch within the available sample time. If the switch resistance is high or the capacitor is too large, the circuit may not settle to the correct voltage before the hold mode begins. This leads to acquisition error.
3. Performance Characteristics and Errors
Acquisition time
- This is the time required for the output to settle to the input voltage within a specified error after the switch is closed. Short acquisition time is desirable in high-speed data acquisition systems. It depends on switch resistance, capacitor size, and amplifier settling behavior. If the acquisition time is too long, the circuit cannot keep up with rapid sampling.
Aperture time and aperture uncertainty
- The exact moment when sampling occurs is not perfectly instantaneous. Aperture time is the effective interval over which the input is sampled, and aperture uncertainty is the timing jitter in that interval. In high-frequency applications, even tiny timing errors can produce significant voltage errors. For example, if a fast sine wave is sampled slightly early or late, the stored voltage may differ noticeably from the intended sample point.
Droop rate, leakage, and hold-step error
- Once in hold mode, the capacitor should ideally keep its charge forever, but practical capacitors leak charge through internal paths, switch leakage, and amplifier input bias current. This causes the held voltage to slowly decrease or change over time, called droop. Hold-step error occurs when a sudden small change appears at the output as the circuit enters hold mode, often caused by charge injection from the switch. These errors limit the accuracy of the output during the hold interval.
Other common imperfections include pedestal error, feedthrough, and thermal noise. In precision circuits, such effects must be minimized through careful component selection and layout.
Working / Process
1. Input signal is applied and the control switch is enabled
- The analog input is connected to the storage capacitor.
- The capacitor starts charging toward the input voltage.
- The output buffer follows this charging action.
- The circuit remains in this state only long enough to let the capacitor settle sufficiently close to the input value.
2. The input voltage is captured at the sampling instant
- At the exact sampling command, the switch closes or opens depending on the circuit design.
- The capacitor voltage becomes equal, or nearly equal, to the instantaneous input voltage.
- This is the “sample” moment, which must be precisely controlled.
- Timing accuracy is extremely important, especially for high-speed or high-frequency signals.
3. The circuit enters hold mode and preserves the sampled value
- The switch opens and disconnects the input from the capacitor.
- The capacitor now holds the voltage.
- The buffer amplifier outputs this stored level to the next stage.
- The held value remains available until the next sampling pulse, though it may slowly drift because of leakage or droop.
An example can help: suppose a temperature sensor produces a slowly varying voltage. If an ADC needs a stable input for a brief conversion, the sample and hold circuit captures the sensor voltage at the chosen instant and holds it steady while the ADC converts it into digital form. This guarantees that the conversion corresponds to one exact moment rather than an average over changing input values.
Advantages / Applications
Improves accuracy in ADC systems
- Sample and hold circuits stabilize the input during analog-to-digital conversion. This prevents conversion errors when the input is changing rapidly and ensures that the digital result represents the sampled instant correctly.
Useful in data acquisition and instrumentation
- Many measuring instruments, oscilloscopes, telemetry devices, and monitoring systems rely on sample and hold circuits to capture waveforms and store them briefly for analysis.
Essential in communication and signal processing systems
- They are used in multiplexed systems, digital audio, sample-based processing, and certain modulation/demodulation applications where signals must be momentarily frozen before further processing.
Additional practical uses include peak detection systems, track-and-hold stages, biomedical signal acquisition, and hold circuits inside integrated ADCs. In modern electronics, sample and hold functionality may be integrated into larger ICs rather than being built as a separate discrete circuit, but the operating principle remains the same.
Summary
- A sample and hold circuit captures an instant value of an analog signal and keeps it steady for a short time.
- It mainly uses a switch, a capacitor, and a buffer amplifier.
-
It is widely used in ADCs, data acquisition, and measurement systems.
-
Important terms to remember: sample mode, hold mode, acquisition time, aperture uncertainty, droop rate, charge injection