Skip to main content

Sample-and-Hold

CI

CircuitSim

·

Created Oct 3, 2026

·

Updated Oct 3, 2026

Preview will appear once the owner saves the schematic
Details

Components

9


Schematic

Yes


Simulation

Transient analysis


Copies

Not copied yet

About this circuit

A CMOS transmission gate charges a hold capacitor while enabled; the capacitor retains the sampled voltage while the switch is open.

Circuit notes

Sample-and-Hold

A CMOS transmission gate charges a hold capacitor while enabled; the capacitor retains the sampled voltage while the switch is open.

Circuit operation

While Enable is high, the transmission gate charges CH to the input signal. While Enable is low, both devices turn off and CH holds the sampled voltage. RL represents the finite input resistance of the following stage.

Expected behavior

VH(t)=VH(0)e−t/(RLCH)V_H(t)=V_H(0)e^{-t/(R_LC_H)} RLCH=100 msR_LC_H=100\,\mathrm{ms}

CH is 100 nF and RL is 1 MΩ. During a roughly 0.55 ms hold interval, resistive droop is about 0.55% of the held voltage. Acquisition is finite because the transistor on-resistance must charge CH. This example intentionally has no output buffer so loading remains visible.

Reading the results

The first voltage probe is green and the second is red. Additional voltage traces use distinct colors. Current probes, when present, start with blue and then purple. The chart opens with separate traces on a fixed time window; the table retains the same probe order. Zoom to extents includes the complete schematic.

The saved transient runs for 4.0 ms with a maximum step of 1.00 µs. Use the middle of settled plateaus for logic comparisons and the time-axis cursors for delays.

Try a change

Set RL to 100 kΩ; the held voltage decays faster. Restore the saved values after comparing the result.

Model limits

These are generic transistor models, not a specific manufactured part. The 5 V circuits use illustrative threshold, transconductance, junction-capacitance and series-resistance parameters. Device mismatch, temperature drift, layout parasitics, breakdown and detailed noise are not represented. The schematic and component properties expose the values used.

Components used

Components used
9 components
NameManufacturerMPNCountType

4-Terminal NMOS

Generic

—

1

Official

4-Terminal PMOS

Generic

—

1

Official

AC Voltage Source

Generic

—

1

Official

Capacitor

Generic

—

1

Official

DC Voltage Source

Generic

—

1

Official

N-channel MOSFET

Generic

—

1

Official

P-channel MOSFET

Generic

—

1

Official

Pulse Voltage Source

Generic

—

1

Official

Resistor

Generic

—

1

Official

Try this circuit yourself

Free to get started. No download — runs in your browser with a full SPICE engine.