VL
Initializing Lab Environment...

ADC & DAC (Sampling & Quantization)

ADC & DAC (Sampling & Quantization) Sandbox
Sensor2 HzSampler16 HzQuantizer8 lvlsBinary100
Analog2 Hz3-bit ADC8 lvlsContinuous Analog vs Quantized Staircase โ†’

Nyquist & Quantization

Step Size ฮ”V0.714 V
Sample Codes100 110 111

Parameters

bit
26
Hz
432
Hz
110

Auto-Sweep Engine

2x

ADC & DAC (Sampling & Quantization)

ADC/DAC

An Analog-to-Digital Converter (ADC) snapshots a continuous sensor voltage at sample rate fs and rounds each snapshot to the nearest binary level (2^N levels). Sampling slower than 2ร— signal frequency causes aliasing!

fsโ‰ฅ2fmaxโก,ฮ”V=Vref2Nโˆ’1f_s \ge 2 f_{\max}, \quad \Delta V = \frac{V_{\text{ref}}}{2^N - 1}

Whiteboard Solver Steps

Step 1

1. Nyquist Sampling Theorem

Sample rate satisfies Nyquist (fsโ‰ฅ2fmaxโกf_s \ge 2 f_{\max}), capturing the true signal shape.

fs=16 Hzโ€…โ€Šโ‰ฅโ€…โ€Š2fmaxโก=4 Hzf_s = 16\text{ Hz} \;\ge\; 2 f_{\max} = 4\text{ Hz}
Step 2

2. Quantization Resolution

More bits create finer staircase steps and smaller quantization error (ยฑ0.357 V\pm 0.357\text{ V}).

ฮ”V=5 V23โˆ’1=0.714 V/step\Delta V = \frac{5\text{ V}}{2^{3} - 1} = 0.714\text{ V/step}