Skip to main content
The new Teacher Workspace is here. Your first 3 assignments are free. Try it →

Sample-and-hold circuit

A sample-and-hold circuit is a circuit that grabs an input voltage at one instant and holds that value steady for a short time. In Intro to Electrical Engineering, it sits in front of an ADC so the converter can measure a stable signal.

Last updated July 2026

What is sample-and-hold circuit?

A sample-and-hold circuit is the part of an analog front end that freezes a changing voltage long enough for the next stage to measure it. In Intro to Electrical Engineering, you usually meet it when studying analog-to-digital conversion, because an ADC cannot convert a signal cleanly if the input is moving while the conversion is happening.

The basic idea is simple: during the sample phase, a switch connects the input signal to a capacitor. That capacitor charges to the current input voltage. During the hold phase, the switch opens and the capacitor is isolated, so the circuit keeps presenting nearly the same voltage to the ADC for the duration of the conversion.

That held voltage is only an approximation of the original signal at one instant in time, but that is exactly what you want for sampling. Without a hold stage, a fast-changing input, like a waveform in a data acquisition lab, could drift enough during conversion to create a wrong digital code. The sample-and-hold circuit reduces that error by giving the converter a stable target.

This is also why timing matters. The sample interval has to be long enough for the capacitor to charge close to the input voltage, and the hold interval has to be long enough for the ADC to finish converting. If the switch, capacitor, or amplifier is too slow, the circuit may not settle fully, and the measured value will be off.

A common lab-level misconception is thinking the circuit stores the whole signal. It does not. It stores one voltage snapshot at a time. The signal is still continuous at the input, but the output to the converter is held constant between samples so the ADC can work with a clean, unchanging value.

Why sample-and-hold circuit matters in Intro to Electrical Engineering

In Intro to Electrical Engineering, sample-and-hold circuits sit right at the border between analog signals and digital data. If you are studying quantization and analog-to-digital conversion, this is the piece that makes the conversion practical for real signals instead of idealized ones.

It also gives you a concrete way to think about timing errors. A problem might ask why a digitized waveform looks distorted even when the math for the ADC is correct. The answer could be that the input was not held steady long enough, or that the circuit could not settle before conversion. That connects component behavior, signal timing, and measurement accuracy in one place.

You will also see sample-and-hold behavior in lab work and instrumentation. Digital oscilloscopes, data acquisition systems, and microcontroller interfaces all need a momentary snapshot of voltage before they can process it. If you understand this circuit, it becomes easier to explain why fast signals need front-end conditioning and why switching speed and capacitor choice affect the final result.

Keep studying Intro to Electrical Engineering Unit 20

Official unit cheatsheet

open one-pager

How sample-and-hold circuit connects across the course

Analog-to-Digital Converter (ADC)

The sample-and-hold circuit usually feeds the ADC. The ADC needs a stable input during conversion, and the hold phase gives it that stable voltage. If the input changes too much while the ADC is working, the digital result can be wrong even if the quantizer itself is functioning correctly.

Quantization

Quantization turns the held analog voltage into one of a finite set of digital levels. The sample-and-hold circuit does not do the rounding itself, but it makes the rounding meaningful by presenting a fixed value. Without a stable hold value, you are quantizing a moving target.

Nyquist Theorem

Nyquist tells you how often you need to sample a signal to reconstruct it properly. The sample-and-hold circuit carries out that sampling in hardware by taking discrete snapshots. If the sampling rate is too low, even a perfect hold circuit cannot save the signal from aliasing.

Signal-to-Noise Ratio

A cleaner hold stage can improve measurement quality by reducing input droop and conversion error. Noise on the switch, capacitor leakage, or settling problems can lower the effective signal-to-noise ratio of the sampled data. That means the circuit affects how trustworthy the digital reading looks.

Is sample-and-hold circuit on the Intro to Electrical Engineering exam?

A quiz problem might show a block diagram and ask you to label where the sample-and-hold circuit belongs, usually between the analog input and the ADC. A calculation question may give a sampling interval, conversion time, or hold capacitor behavior and ask whether the circuit can keep the voltage steady long enough. In a lab report, you might explain why a fast waveform looks stepped or slightly shifted after digitization, then connect that to insufficient hold time, settling time, or leakage. If your instructor gives you a trace or oscilloscope screenshot, you may need to identify the sample instant and explain why the converter needs a stable input before it assigns a digital code. The main move is to trace the timing: sample first, hold second, convert third.

Sample-and-hold circuit vs Analog-to-Digital Converter (ADC)

An ADC converts the analog voltage into a digital number, while a sample-and-hold circuit freezes the voltage long enough for that conversion to happen accurately. They often appear next to each other in a system, which makes them easy to mix up. The sample-and-hold is support circuitry, not the conversion stage itself.

Key things to remember about sample-and-hold circuit

  • A sample-and-hold circuit captures one instant of an analog voltage and keeps that value steady for a short time.

  • In Intro to Electrical Engineering, it is most often discussed as part of analog-to-digital conversion.

  • The circuit usually uses a switch and a capacitor, where the capacitor charges during sampling and holds during conversion.

  • Its job is not to digitize the signal, but to give the ADC a stable voltage to measure.

  • Timing, settling, and leakage matter because they affect how accurate the held voltage is.

Frequently asked questions about sample-and-hold circuit

What is sample-and-hold circuit in Intro to Electrical Engineering?

It is a circuit that takes a snapshot of an analog voltage and holds that value constant for a short period. In Intro to Electrical Engineering, you usually see it as the front-end stage that lets an ADC convert a changing signal without losing accuracy.

How does a sample-and-hold circuit work?

A switch connects the input to a capacitor during the sample phase, and the capacitor charges to the input voltage. Then the switch opens, the capacitor is isolated, and the circuit holds that voltage while the next stage reads it.

Why do ADCs need a sample-and-hold circuit?

An ADC needs the input to stay steady while it converts the signal into a digital number. If the voltage keeps moving during conversion, the output code can be off. The hold stage keeps the measurement stable long enough for the ADC to finish.

What is the difference between sampling and holding?

Sampling is the moment the circuit connects to the input and captures the voltage. Holding is the period after the switch opens, when the captured voltage is kept nearly constant. Students often mix them up, but they happen at different times in the conversion process.

Sample-and-Hold Circuit | Intro to Electrical Engineering | Fiveable