A topic in the Open Knowledge Graph — a free, open map of 15,290 topics and the order to learn them in.

ADC and DAC Fundamentals

College Depth 185 in the knowledge graph ☐ I know this ☆ Set as goal
1,253prerequisites beneath it
See this on the map →
Digital Logic Gates BasicsDigital vs. Analog Signals+2 more→
analog-to-digital digital-to-analog sampling quantization resolution nyquist sample-and-hold r2r-ladder flash-adc successive-approximation

Core Idea

Analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) bridge the continuous analog world and discrete digital processing. A DAC converts an N-bit digital code to one of 2N discrete voltage levels; the R-2R ladder DAC uses a resistor network to weight each bit by powers of two, producing V_out = V_ref * (digital code) / 2N. An ADC performs the inverse: sampling the analog signal at discrete time intervals (sample rate f_s), holding each sample constant (sample-and-hold), and quantizing it to the nearest digital code. The Nyquist-Shannon theorem requires f_s > 2 * f_max to avoid aliasing — frequency components above f_s/2 fold back into the signal band as distortion. Resolution (number of bits N) determines the smallest detectable voltage change (LSB = V_ref / 2N) and the signal-to-quantization-noise ratio (SQNR = 6.02*N + 1.76 dB). Common ADC architectures trade speed for resolution: flash converters (fastest, uses 2N - 1 comparators), successive-approximation (moderate speed, one comparator with binary search logic), and sigma-delta (highest resolution, uses oversampling and noise shaping). Each additional bit of resolution doubles the number of quantization levels and improves SQNR by approximately 6 dB.

How It's Best Learned

Build an R-2R ladder DAC and measure the output voltage for each binary input code to verify the binary weighting. Then study the successive-approximation ADC as a binary search: the internal DAC generates a comparison voltage, the comparator decides if the input is above or below, and the logic sets or clears each bit from MSB to LSB. Sample a sine wave at various rates relative to its frequency to observe aliasing when the Nyquist criterion is violated.

Common Misconceptions

Explainer

The real world is analog — temperatures, pressures, sounds, and voltages are continuous quantities that can take any value in a range. Digital processors, on the other hand, only understand discrete binary numbers. Analog-to-digital converters (ADCs) and digital-to-analog converters (DACs) are the translators that let digital systems sense and control the physical world. You already know from digital logic that a collection of N bits can represent 2N distinct states. A DAC exploits that directly: each unique N-bit binary code maps to one of 2N discrete output voltage levels, uniformly spaced between 0 and V_ref. The smallest possible voltage step is one LSB (least significant bit) = V_ref / 2N.

The R-2R ladder DAC makes this concrete using only two resistor values. Each bit position contributes a current that is exactly half the contribution of the bit above it — MSB contributes V_ref/2, the next bit V_ref/4, and so on — because the R-2R network binary-weights the currents through each node. Summing these currents through a final resistor gives a voltage proportional to the binary code. This is the same weighted-sum idea you know from binary number representation: each bit position has a value that is a power of two relative to the LSB.

An ADC runs the process in reverse, but it must solve a harder problem: it needs to represent a continuously varying analog voltage as a discrete number, repeatedly over time. This requires two steps. First, sampling — the analog voltage is measured at regular intervals at rate f_s. Second, quantization — each sampled voltage is rounded to the nearest of the 2N discrete code levels. The Nyquist-Shannon theorem constrains sampling rate: if the signal contains frequency components up to f_max, you must sample at f_s > 2·f_max or else aliasing occurs — high-frequency components fold back into the signal band, indistinguishable from real low-frequency content. This is why your phone records audio at 44.1 kHz: human hearing tops out near 20 kHz, and 44.1 kHz satisfies the Nyquist criterion with margin.

Resolution and speed trade off across ADC architectures. The flash ADC uses 2N − 1 comparators to evaluate all possible code levels simultaneously — blindingly fast but exponentially expensive in hardware; 8-bit flash ADCs are feasible, 16-bit ones are not. The successive-approximation register (SAR) ADC performs a binary search in N clock cycles: compare input to V_ref/2, set or clear the MSB, then bisect the remaining range — moderate speed, one comparator, and well-suited to the 8–16 bit range common in microcontrollers. Sigma-delta ADCs oversample at many times f_s and use noise shaping to push quantization noise out of the signal band, achieving 16–24 bit resolution at audio frequencies but too slowly for fast signals. Understanding these architectures means knowing that "higher resolution" and "faster conversion" are not independently selectable — physics and cost force a choice.

Practice Questions 5 questions

Prerequisite Chain

Understanding Zero → The Number Zero → Counting to Five → Counting to 10 → One-to-One Correspondence → Counting a Set of Objects Up to 20 → Cardinality: The Last Number Counted → Matching Numerals to Quantities → Subitizing Small Quantities → Addition Within 10 → Making 10 as an Addition Strategy → Addition Within 20 → Doubles and Near Doubles → Doubles Facts Within 10 → Near Doubles Facts Within 20 → Mental Math Strategies for Addition → Mental Math: Adding and Subtracting Tens → Addition Within 100 → Repeated Addition as Multiplication → Multiplication as Equal Groups → Multiplication: Arrays → Basic Multiplication Facts (0s, 1s, 2s, 5s, 10s) → Multiplication Facts Within 100 → Division as Equal Sharing → Division as Grouping (Measurement Division) → Division: Grouping (Repeated Subtraction) Model → Division: Fair Sharing Model → Division as Equal Sharing → Division as Grouping → Basic Division Facts → Division Facts Within 100 → Multiplication and Division Fact Families → Relationship Between Multiplication and Division → Division Facts as Inverse of Multiplication → Remainders and Quotients in Division → Division Word Problems → Multi-Step Word Problems → Solving Multi-Step Word Problems → Multiplication Word Problems → Division Word Problems → Introduction to Long Division → Factors and Multiples → Prime and Composite Numbers → Equivalent Fractions → Relating Fractions and Decimals → Decimal Place Value → Integers and the Number Line → Comparing and Ordering Integers → Absolute Value → Adding Integers → Subtracting Integers → Multiplying Integers → Dividing Integers → Unit Rates → Proportions → Percent Concept → Converting Between Fractions, Decimals, and Percents → Operations with Rational Numbers → Two-Step Equations → Solving Multi-Step Equations → Equations with Variables on Both Sides → Angle Pairs: Complementary, Supplementary, and Vertical → Parallel Lines and Transversals → Corresponding Angles → Alternate Interior Angles → Triangle Angle Sum Theorem → Exterior Angle Theorem → Triangle Inequality Theorem → Similar Triangles: AA Similarity → Similar Triangles: SSS and SAS Similarity → Proportions in Similar Triangles → Right Triangle Trigonometry Introduction → Sine, Cosine, and Tangent Ratios → Trigonometric Ratios Review → Radian Measure → Converting Between Degrees and Radians → The Unit Circle → Graphing Sine and Cosine → Graphing Tangent and Reciprocal Trigonometric Functions → Derivatives of Trigonometric Functions → Antiderivatives → Iterated Integrals and Fubini's Theorem → Double Integrals in Cartesian Coordinates → Double Integrals in Polar Coordinates → Double Integrals in Polar Coordinates → Double Integrals: Definition and Setup → Iterated Integrals and Fubini's Theorem → Double Integrals over Rectangular Regions → Double Integrals over General Regions → Applications of Double Integrals: Area, Mass, and Moments → Triple Integrals in Cartesian Coordinates → Triple Integrals in Cylindrical and Spherical Coordinates → Change of Variables and the Jacobian Determinant → Applications of Triple Integrals: Volume and Mass → Vector Fields and Their Representations → Line Integrals of Vector Fields → Work and Circulation → Line Integrals of Scalar and Vector Functions → Fundamental Theorem for Line Integrals → Conservative Vector Fields → Conservative Vector Fields and Potential Functions → Curl and Divergence of Vector Fields → Curl and Divergence → Divergence Theorem → Electric Flux and Divergence Theorem → Gauss's Law: Integral Form and Meaning → Solving Problems with Gauss's Law → Conductors in Electrostatic Equilibrium → Capacitance and Capacitors → Dielectrics → Dielectric Constant and Relative Permittivity → Electric Field Inside Dielectric Materials → Dielectric Materials and Polarization → Dielectric Susceptibility and Permittivity → Energy Density in Electric Fields → Electric Current and Current Density → Electrical Resistance and Resistivity → Ohm's Law and Circuit Elements → Electromotive Force (EMF) and Batteries → Kirchhoff's Circuit Laws: Voltage and Current → DC Circuit Network Analysis Methods → Transient Response in RC Circuits → RC Circuits → LC and RLC Circuits → AC Circuits: Fundamentals → Impedance and Reactance → AC Power and Resonance → Electromagnetic Waves → Postulates of Special Relativity → Time Dilation → Length Contraction → Lorentz Transformation → Relativistic Velocity Addition → Relativistic Momentum and Energy → Mass-Energy Equivalence and E=mc² → Photons as Particles with Energy and Momentum → Planck-Einstein Relation: Energy and Frequency → Photoelectric Effect → The Photon: Light as Quanta → Compton Scattering → Wave-Particle Duality → de Broglie Wavelength → The Schrödinger Equation → State Vectors and Wavefunctions → Quantum Superposition → The Measurement Problem → Interpretations of Quantum Mechanics → Postulates of Quantum Mechanics → Observables and Quantum Operators → Commutators and Commutation Relations → The WKB Approximation → WKB Quantization and Bohr-Sommerfeld Rule → Angular Momentum Quantization → Solution of the Hydrogen Atom → Introduction to Scattering Theory → Partial Wave Analysis in Scattering → Spin Angular Momentum → Electron Spin and Intrinsic Magnetic Moment → Stern-Gerlach Experiment: Spin Quantization and Measurement → Electron Diffraction and Matter Wave Properties → Davisson-Germer Experiment: Crystal Diffraction of Electrons → Electron Diffraction and Matter Wave Interference → Wavefunctions and Probability Density Interpretation → Quantum Superposition and Linear Combinations of States → Quantum Operators and Observables → Expectation Values and Averages → Time-Independent Perturbation Theory → Degenerate Perturbation Theory → Time-Dependent Perturbation Theory → Transition Probabilities and Selection Rules → Hydrogen Atom Spectral Series → Spectral Lines and Energy Transitions → Selection Rules for Atomic Transitions → LS and jj Coupling Schemes in Multi-Electron Atoms → Pauli Exclusion Principle and Antisymmetric Wavefunctions → Electron Configuration and the Aufbau Principle → Electrical Properties of Materials → Diode Characteristics and Models → Diode Circuit Applications → Bipolar Junction Transistor (BJT) Fundamentals → MOSFET Fundamentals → Operational Amplifier Fundamentals → Op-Amp Circuit Applications → Inverting Amplifier Analysis → Summing and Difference Amplifiers → ADC and DAC Fundamentals

Longest path: 186 steps · 1253 total prerequisite topics

Prerequisites (4)

Leads To (0)

No topics depend on this one yet.