Note on Digital to Analog Converters

• Note
• Things to remember

Digital to analog conversion:

The process of converting discrete time digital signal into the continuous analog signal is called Digital to analog conversion(DAC). The device used for this process are called Digital to analog converters. DAC converters produce output current or voltage proportional to the corresponding digital quantity(binary digit) applied to its input. In many applications , the digital output of the microcomputer is converted into analog quantity which is used for the control of relay , small motors ,actuators etc

Types of Digital to analog converters:

1. Weighted Resistors Network(WRN) DAC

1.Weighted Resistors Network(WRN) DAC:

The Weighted Resistors Network DAC, which contains individual electrical components for each bit of the DAC connected to a summing point. These precise voltages or currents sum to the correct output value. This is one of the fastest conversion methods but suffers from poor accuracy because of the high precision required for each individual voltage or current. Such high-precision components are expensive, so this type of converter is usually limited to 8-bit resolution or less.

It consists of the following four major components.

1. n switches one for each bit applied to the input
2. a weighted resistor ladder network, where the resistance is inversely proportional to the numerical significance of the corresponding binary digital
3. a reference voltage Vref
4. a summing amplifier that adds the current flowing in the resistive network to develop a signal that is proportional to the digital input.

The behavior of the circuit may be analyzed easily by using "Millman's theorem". It state that "the voltage appearing at any node in a resistive network is equal to the summation of the current entering the node (assuming the node voltage is zero) divided by the summation of the conductance connected to the mode".

Mathematically we can write,

Assume that the resistor R1 , R2 , R3 ....... Rn is binary weighted resistors, thus

A Resistor Ladder Network, can deliver a binary number say number of n bits

Each bit controls a switch Si that is connected to V . when ai= 1 , then the bit is ON, and when ai= 0, then the bit is OFF.

The reference voltage source VR is considered to have zero internal impedance. The resistor that is connected to the switches has a value such as to make the current flow proportion to the binary weight of the respective input. But the resistor in the MSB position has the value R, the next has the value 2R etc. The resistor of the LSB has the value of (2n-1 ) R. The current flowing in the summing amplifier is given by,

Above relation shows that output voltage of the D/A converter is proportional to a number represented by the switch that is connected to VR i.e. ai = 1 Maximum current will flow when all a coefficient is 1, i.e.

When all the bits of the digital word have a value of 1, then the output current of D/A converter is termed the full-scale output current and is an important design parameter. On the other hand, if all switches are open i.e. all a coefficients are zero, then the output voltage (current) is zero. The maximum output voltage Vo= ­-IRi depends on the feedback resistor Rf . As the operational amplifier is operated in the negative feedback mode for the purpose of summing so that it performs as an excellent current to voltage converter.

1.As only one resistor is used per it in the resistor network, thus it is an economical D/A converter

1. Resistors used in the network have a wide range of values, so it is very difficult to ensure the absolute accuracy and stability of all the resistors.
2. It is very difficult to match the temperature coefficients of all the resistors. This factor is especially important in D/A converters operation over a wide temperature range.
3. As the switches represent finite impedance that is connected in series with the weighted resistors and their magnitudes and variations have to be taken into account in a D/A converter design.
4. When n is so large, the resistance corresponding to LBS can assume a large value, which may be comparable with the input resistance of the amplifier. This leads to erroneous results.

The R-2R LadderDAC which is a binary-weighted DAC that uses a repeating cascaded structure of resistor values R and 2R. This improves the precision due to the relative ease of producing equal valued-matched resistors (or current sources).In the case of a weighted resistor, DAC requires a wide range of resistance values and switches for each bit position if high accuracy conversion is required. A digital to analog converter with an R-­2R ladder network as shown in the figure below eliminates these complications at the expense of an additional resistor for each bit.

The operation of R­-2R ladder DAC is easily explained considering the weights of the different bits one at a time. This can be followed by superposition to construct analog output corresponding any digital input word. Let only the MSB is turned ON in the first case, and all other bits are OFF, a simplified equivalent circuit can be drawn as shown in the figure below.

The equivalent circuit with only switch S connected to the reference voltage is shown in figure below

As the input terminal of the operational amplifier is at virtual ground. If the feedback resistor R for the operational amplifier is taken as 3R, the corresponding output voltage due to the MSB alone is

Let next switch Sn-2 at VR with all other switches at zero. Here, the current at node (n-2) divide equally to the right and to the left resulting in a voltage at node (n-2)

Output voltage due to node (n­-2) at the operational amplifier is

References

• The process of converting discrete time digital signal into the continuous analog signal is called Digital to analog conversion(DAC). The device used for this process are called Digital to analog converters.
•  DAC converters produce output current or voltage proportional to the corresponding digital quantity(binary digit) applied to its input.
• Weighted Resistors Network(WRN) DAC and R-2R Ladder Network DAC are the basic types of Digital to analog converters.
.

0%