Chapter 8

Sampling and data conversionECEE

An ADC maps a voltage interval into codes; a DAC maps a code into a voltage or current. The endpoint convention sets the LSB. Conversion time, resolution, accuracy and signal-to-noise ratio measure different properties.

8.1 Sample-and-hold circuitsECEE

Past papers · EC 2020–2026 (7 papers): 2 questions, 4 marks

A switch connects the input to a hold capacitor during track; a high-input-impedance buffer reads the stored voltage during hold. Acquisition time is the time to settle to a stated error band. Aperture delay is the offset between the hold command and actual sampling instant; aperture jitter is random variation of that instant.

For a full-span initial step into an nn-bit converter with LSB Δ=Vspan/2n\Delta=V_{\mathrm{span}}/2^n, half-LSB settling requires at least (n+1)ln⁡2(n+1)\ln2 RC time constants. Increasing CHC_H reduces droop but slows acquisition. Charge injection causes a hold step; it is different from gradual leakage droop. Sample-and-hold reference.

Nyquist sampling, aliasing and reconstruction: see the Signals and Systems handbook (GATE EC §2).

Schmitt-trigger thresholds, hysteresis and oscillator circuits: see the Analog Electronics handbook (GATE EE §9).

8.2 Transfer steps and quantisation conventionsECEE

Past papers · EC 2020–2026 (7 papers): 2 questions, 2 marks · EE 2020–2026 (7 papers): 1 question, 2 marks

Read the transfer graph before converting a voltage to a code. “Full scale” may denote the reference span or the measured output at the all-ones code. These definitions differ by one step.

Offset binary maps the lowest bipolar level to all zeros and the centre to 100…0100\ldots0. Two's-complement coding maps zero to all zeros and negative levels to a set sign bit; convert between the two by flipping the MSB when level ordering and span agree.

Two explicit three-bit quantisation rules with different threshold locations.Two explicit three-bit quantisation rules with different threshold locations.

8.3 Weighted and ladder DACsECEE

Past papers · EC 2020–2026 (7 papers): 1 question, 1 mark

An inverting summing amplifier adds bit-controlled currents into a virtual ground. The output sign is set by the circuit, not by the unsigned input code. Assume an ideal op-amp operating within its output range.

In a binary-weighted DAC, resistor ratio spread grows exponentially with bit count. An R–2R ladder uses only two resistance values but still needs accurate ratios. Code transition 011…1→100…0 can cause a large glitch if switches do not change simultaneously. Settling time includes amplifier and ladder transients.

8.4 ADC architectures and conversion timeECEE

A flash ADC compares against all thresholds in parallel and encodes the thermometer result. A successive-approximation (SAR) ADC uses a comparator, DAC and register to test bits from MSB to LSB. A counter-ramp ADC increments a DAC code until the comparator changes state. A tracking ADC increments or decrements from the previous code and is fast only for small input changes.

In SAR, tentatively set a bit, compare input with the DAC output, keep it if the trial level does not exceed the input, otherwise clear it. Continue to LSB. The conversion count is independent of input but each cycle must allow DAC settling and comparator decision.

Dual-slope cancels the common integrator RCRC ratio between run-up and run-down. Integrating over an integer number of interference periods rejects a zero-mean periodic disturbance. Flash is fast but uses exponentially many comparators. A pipeline ADC divides conversion across stages and provides a sample per cycle after filling, with multiple-cycle latency. A sigma–delta ADC uses oversampling, noise shaping and digital filtering; resolution trades against bandwidth and latency. Use stated specifications rather than a universal conversion-time formula for these last two architectures.

8.5 Accuracy, noise and data rateECEE

Past papers · EC 2020–2026 (7 papers): 3 questions, 5 marks

Resolution counts nominal codes; accuracy compares actual values with the specified ideal transfer. Offset error shifts the transfer. Gain error changes slope after offset removal. Integral nonlinearity (INL) depends on the chosen ideal line, typically endpoint or best fit; do not mix the two definitions.

A code's DNL cannot be below −1-1 when defined as an ordered ADC bin width; nonmonotonic behaviour needs a fuller transfer description. “±0.5 LSB quantisation error” is not a guarantee that offset, gain and INL errors total less than half an LSB. Static specification reference.

At a sine amplitude fraction aa of full scale, add 20log⁡10a20\log_{10}a to ideal SQNR. ENOB uses noise and distortion (SINAD), not SNR alone when distortion matters. At exact coherent sampling ratios, especially a sine at half the sampling rate, error can be strongly correlated with signal and phase; the uniform-noise expression is the conventional ideal estimate, not a universal measured result. ENOB reference.

Last-minute recall

  • A hold capacitor trades acquisition time against droop.
  • Sampling-time error matters most at high input slope.
  • Distinguish reference span from all-ones output.
  • Identify rounding thresholds before assigning an ADC code.
  • Inverting DAC outputs carry a minus sign.
  • A flash converter needs 2n−12^n-1 comparators.
  • SAR tests one bit per comparison; ramp time depends on code.
  • Dual-slope uses equal and opposite integrated areas.
  • DNL is a local step error; INL is deviation from an ideal line.
  • The ideal sine SQNR assumes a quantisation-noise model.
  • Raw output bit rate is bits per sample times samples per second.

Revise offline: the whole Digital Logic and Electronics handbook as one PDF

49 pages · 2.4 MBFree to read online. Sign in to download the PDF.We save the handbook, version and request time in My downloads. Privacy policy

All chapters · Corrections