Fiveable

🩺Biomedical Instrumentation Unit 11 Review

QR code for Biomedical Instrumentation practice questions

11.1 Principles of Analog-to-Digital Conversion

11.1 Principles of Analog-to-Digital Conversion

Written by the Fiveable Content Team • Last updated August 2025
Written by the Fiveable Content Team • Last updated August 2025
🩺Biomedical Instrumentation
Unit & Topic Study Guides

Analog-to-Digital Conversion Fundamentals

Analog-to-digital conversion is the bridge between the continuous analog world of physiological sensors and the discrete digital world of computers. Every time a biomedical system records an ECG, EEG, or pulse oximetry signal, an ADC is doing the work of turning a voltage waveform into numbers a processor can store, analyze, and display.

The quality of that conversion depends on three tightly linked factors: resolution, sampling rate, and accuracy. Understanding how these interact is essential for choosing or designing a data acquisition system that faithfully captures the signal you care about.

ADC Basics

An analog-to-digital converter (ADC) takes a continuous analog voltage and outputs a discrete digital code representing that voltage. It sits between the analog front-end (amplifiers, filters, sensors) and the digital back-end (microcontroller, DSP, or PC).

The conversion process has two core steps:

  1. Sampling — measuring the analog signal at specific time intervals.
  2. Quantization — rounding each measured value to the nearest discrete level the ADC can represent.

Both steps introduce limitations. Sampling limits how fast a signal can change and still be captured. Quantization limits how precisely each sample reflects the true voltage.

Quantization and Resolution

Quantization maps a continuous range of voltages to a finite set of discrete digital codes. Because the analog value almost never lands exactly on a quantization level, there's always a small rounding error.

Resolution is the number of bits the ADC uses to represent each sample. More bits means more quantization levels and finer voltage distinctions:

  • An 8-bit ADC produces 28=2562^8 = 256 levels
  • A 12-bit ADC produces 212=4,0962^{12} = 4{,}096 levels
  • A 16-bit ADC produces 216=65,5362^{16} = 65{,}536 levels

The step size (also called the least significant bit voltage, or LSB) is:

Step size=VFSR2n\text{Step size} = \frac{V_{FSR}}{2^n}

where VFSRV_{FSR} is the full-scale voltage range and nn is the number of bits. For a 12-bit ADC with a 0–3.3 V range, the step size is about 0.81 mV0.81 \text{ mV}. Any voltage change smaller than that is invisible to the converter.

Quantization error ranges from 12-\frac{1}{2} LSB to +12+\frac{1}{2} LSB. Doubling the resolution (adding one bit) cuts this error in half. For biomedical signals with very small amplitudes (like EEG at ~50 µV), high resolution is critical so the signal isn't buried in quantization noise.

ADC Basics, Analog To Digital Conversion - Sampling and Quantization - Electronics-Lab.com

Conversion Error and Accuracy

Quantization error is only one source of inaccuracy. The total conversion error between the true analog value and the digital output also includes:

  • Offset error — a constant shift of the entire transfer function away from the ideal.
  • Gain error — the slope of the transfer function deviating from ideal, causing errors that grow with signal amplitude.
  • Non-linearity — deviations from a straight-line transfer characteristic. This is split into differential non-linearity (DNL), which is variation in individual step sizes, and integral non-linearity (INL), which is cumulative deviation from the ideal line.
  • Noise — thermal and electronic noise in the ADC circuitry that causes the output to fluctuate even with a steady input.

Accuracy describes how close the digital output is to the true analog value, accounting for all these errors. It's often specified as ±LSBs or as a percentage of full-scale range.

Two practical techniques for improving effective accuracy:

  • Oversampling — sampling at a rate much higher than needed, then averaging. Each 4× increase in oversampling rate gains roughly 1 extra effective bit of resolution.
  • Dithering — adding a small amount of noise before conversion to randomize quantization error, which can then be averaged out.

Sampling and Encoding

ADC Basics, Analog To Digital Conversion - Sampling and Quantization - Electronics-Lab.com

Sampling Process

Sampling converts a continuous-time signal into a sequence of discrete-time values. The sampling rate (fsf_s) is how many times per second the ADC measures the analog input.

The Nyquist-Shannon sampling theorem sets the minimum requirement:

fs2fmaxf_s \geq 2 \cdot f_{max}

where fmaxf_{max} is the highest frequency component present in the signal. This minimum rate (2fmax2 \cdot f_{max}) is called the Nyquist rate.

If you sample below the Nyquist rate, aliasing occurs. Aliasing folds high-frequency components down into lower frequencies, creating artifacts that are impossible to remove after digitization. A 60 Hz noise component sampled at 100 Hz, for example, would alias to 40 Hz and could be mistaken for a real physiological signal.

To prevent aliasing, an anti-aliasing filter (a low-pass analog filter) is placed before the ADC. It attenuates frequencies above fs/2f_s / 2 so they can't corrupt the digitized data. In practice, biomedical systems often sample well above the Nyquist rate (typically 5–10× the highest frequency of interest) to give the anti-aliasing filter a more gradual rolloff requirement.

Discrete-Time Signals and Binary Encoding

After sampling and quantization, each value is encoded as a binary word whose length equals the ADC's resolution. Common encoding schemes include:

  • Straight (unsigned) binary — used when the input range is unipolar (e.g., 0 to +3.3 V). Code 000...0000...0 represents the minimum, 111...1111...1 represents the maximum.
  • Two's complement — the standard for representing signed (bipolar) values. The most significant bit indicates the sign, and the remaining bits represent magnitude. This is the most common format in digital signal processing.
  • Offset binary — similar to straight binary but shifted so that the midpoint code represents zero. Sometimes used in older ADC hardware.

The encoded binary values are then stored in memory, passed to a microcontroller, or transmitted to a host computer for further processing and display.

Conversion Time and Throughput

Conversion time is how long the ADC takes to produce one digital output from the moment it begins a conversion. Throughput is the maximum number of conversions per second, typically stated in samples per second (SPS).

Different ADC architectures trade off speed, resolution, and complexity:

ArchitectureTypical SpeedTypical ResolutionCommon Biomedical Use
FlashVery fast (>1 GSPS possible)Low–moderate (6–12 bits)Ultrasound imaging
SAR (Successive Approximation)Moderate–fast (10 kSPS–5 MSPS)Moderate–high (10–18 bits)ECG, EMG, general-purpose DAQ
Sigma-Delta (ΣΔ)Slow–moderate (10 SPS–1 MSPS)High–very high (16–24 bits)EEG, precision measurements
  • Flash ADCs use one comparator per quantization level, so an nn-bit flash ADC needs 2n12^n - 1 comparators. Extremely fast, but hardware cost and power scale exponentially with resolution.
  • SAR ADCs perform a binary search, testing one bit per clock cycle from MSB to LSB. They offer a good balance of speed and resolution, making them the workhorse of many biomedical data acquisition systems.
  • Sigma-Delta ADCs oversample at very high rates and use digital filtering to achieve high resolution with excellent noise rejection. Their slower throughput is acceptable for low-bandwidth signals like EEG (which only extends to ~100 Hz).

Choosing the right architecture depends on the signal: a 24-bit sigma-delta ADC is ideal for capturing tiny EEG voltages at low bandwidth, while a fast SAR or flash ADC is better suited for high-frequency ultrasound echo data.

Pep mascot
Upgrade your Fiveable account to print any study guide

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Click below to go to billing portal → update your plan → choose Yearly → and select "Fiveable Share Plan". Only pay the difference

Plan is open to all students, teachers, parents, etc
Pep mascot
Upgrade your Fiveable account to export vocabulary

Download study guides as beautiful PDFs See example

Print or share PDFs with your students

Always prints our latest, updated content

Mark up and annotate as you study

Plan is open to all students, teachers, parents, etc
report an error
description

screenshots help us find and fix the issue faster (optional)

add screenshot

2,589 studying →