7.0 A Primer on Data Conversion
In modern electronics, interfacing between the continuous, real-world analog domain and the discrete, computational digital domain is a fundamental requirement. Data converters—Analog-to-Digital Converters (ADCs) and Digital-to-Analog Converters (DACs)—are the essential circuits that perform this translation. Operational amplifiers are often key components within these converter architectures. This section provides a functional overview of the most common op-amp-based converter designs.
7.1 Digital-to-Analog Converters (DACs)
A Digital-to-Analog Converter (DAC) is a circuit that transforms a digital binary input code into a corresponding analog output signal, typically a voltage.
Weighted Resistor DAC
This DAC architecture uses an inverting summing amplifier with a set of binary-weighted resistors. Each input bit controls a switch that connects its corresponding resistor to either ground or a reference voltage. The resistors are weighted in powers of two (R, 2R, 4R, \dots), so that each bit contributes a proportionally weighted current to the summing node.
The generalized output voltage equation for an N-bit weighted resistor DAC is: V_{0}=\frac{V_{R}}{2}\left { \frac{b_{N-1}}{2^{0}}+ \frac{b_{N-2}}{2^{1}}+….+\frac{b_{0}}{2^{N-1}} \right } A key disadvantage of this design is the wide range of resistor values required, especially for a high number of bits. Fabricating a large range of highly accurate resistors on an integrated circuit is difficult and costly.
R-2R Ladder DAC
The R-2R ladder architecture overcomes the primary drawback of the weighted resistor DAC by using only two resistor values (R and 2R), regardless of the number of bits. This network of resistors acts as a current divider. The position of each bit’s switch determines how the reference current is divided before being summed by the op-amp.
Its primary advantages are:
- It requires only two precision resistor values, which are much easier to fabricate and match.
- The design is easily expandable to a higher number of bits by simply adding more R-2R sections.
7.2 Analog-to-Digital Converters (ADCs)
An Analog-to-Digital Converter (ADC) performs the inverse function of a DAC, converting a continuous analog input signal into a discrete digital binary code. ADCs can be classified into direct and indirect types.
Direct Type ADCs
Direct type ADCs perform the conversion by directly comparing the analog input to internally generated reference voltages.
- Counter Type ADC: This ADC uses a counter to increment the input of an internal DAC. The DAC’s analog output is compared to the analog input voltage. The counter increments until the DAC output exceeds the input voltage, at which point the counter stops and its value is the digital output.
- Successive Approximation ADC: This is a more efficient and widely used architecture. A Successive Approximation Register (SAR) intelligently tests each bit, one at a time, from the MSB to the LSB. For each bit, it sets the bit to ‘1’, sends the code to an internal DAC, and compares the DAC output to the analog input. If the DAC output is too high, the bit is reset to ‘0’; otherwise, it is kept at ‘1’. This process converges on the correct digital code much more quickly than the counter type.
- Flash Type ADC: This is the fastest type of ADC. It uses a parallel bank of comparators, each with a different reference voltage from a resistor divider network. All comparators evaluate the input voltage simultaneously (in a “flash”). A priority encoder then converts the comparator outputs into a final binary code.
Indirect Type ADC
Indirect type ADCs first convert the analog voltage into an intermediate domain, such as time or frequency, before generating the digital output.
- Dual Slope ADC: This ADC is known for its high accuracy and noise rejection. The conversion happens in two phases. First, the analog input voltage is integrated for a fixed period of time, causing the integrator’s output to ramp up. Second, the input is switched to a precise negative reference voltage, and the integrator’s output ramps down. A counter measures the time it takes for the output to return to zero. This measured time is directly proportional to the input voltage.
The journey through this handbook—from basic amplifiers and mathematical operators to complex non-linear processors, signal generators, and finally data converters—demonstrates the operational amplifier’s unparalleled utility. It began as a simple high-gain block, but through the clever application of feedback and external components, it transforms into the most versatile and fundamental building block in modern analog and mixed-signal electronic design.