Escolar Documentos
Profissional Documentos
Cultura Documentos
The most commonly used A/D for converting analogue values to corresponding
binary values is the Successive-Approximation A/D converter. It has a fixed conversion
time and is faster than the Dual-Slope A/D converter. The Successive-Approximation
converter is however slower than the Flash converter. The main components of a
Successive-Approximation A/D Converter are the Successive Approximation Register
(SAR), a Digital to Analogue Converter and a Comparator. Figure 45.1.
Vout
Digital-to-Analogue
Converter
D0
Parallel
Binary
Output
D3
Input
Signal
D
Comparator
SAR Serial
CLK Binary
Output
The analogue signal sample which is to be converted into its corresponding binary
value is applied at the non-inverted input of the Comparator. Initially, the most-
significant bit D3 is set to logic 1 by the Successive Approximation Register (SAR). The
Digital-to-Analogue converter converts the binary input digit 1000 to it equivalent
analogue value. The output analogue value is connected to the inverted input of the
comparator. If the applied Input signal is larger than the signal generated by the D/A
converter the output of the comparator is logic 1 which sets the most significant bit D3 of
the SAR to logic 1. The next most significant bit is set to 1 and the new binary number
1100 is applied at the input of the D/A converter. The analogue output is applied at the
comparator input which generates logic 1 or 0 depending upon the magnitude of the two
signals applied at the inputs of the comparator. Depending upon logic 0 or 1 produced at
the output of the comparator, the SAR sets or resets the next most significant digit. This
procedure is repeated for all the binary digits.
1. Missing Code
In the graph illustrated to highlight the missing code ‘1001’ a linearly increasing
analogue voltage is applied at the input of an A/D converter and the binary output is
plotted. Ideally, a staircase output should be obtained showing the linearly increasing
binary values. Figure 45.2a. The graph shows a missing binary code 1001, represented
instead by 1000. The missing code in the case of a Flash converter is due to the failure of
a comparator which fails to provide an appropriate input to the Priority Encoder. The
Priority Encoder therefore outputs the same code for analogue values 8 and 9.
2. Incorrect Code
Incorrect Code at the output of the A/D converter is due to a particular bit stuck at
some fixed logic value. In the graph illustrating an example of Incorrect Code, the bit
next to the least significant is permanently stuck at logic 0. Therefore, for analogue
0101
0000
0001
0010
0011
0100
0110
0111
1111
1000
1000
1010
1011
1100
1101
1110
Figure 45.2a Missing Code ‘1001’
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
For a D/A converter with weighted resistors 8K, 4K, 2K and 1K respectively and
the feedback resistor of 2K ohms. The output voltages for binary inputs 0000 to 1111 are
shown. Table 45.2.
Rf
8R
V
bit 0
4R
V
bit 1
Vout
2R
V
bit 2
R
V
bit 3
Table 45.2 D/A Output voltages for binary inputs 0000 to 1111
Depending upon the binary input, the R/2R resistor network simplifies to an
equivalent network which determines the total current flowing through the feedback
resistance Rf. For example, when 0001 binary is applied the R/2R circuit simplifies to the
circuit shown. Figure 45.5a. Simplifying the circuit further reduces it to the Thevenin’s
equivalent circuit. Figure 43.5b. The current flowing through the feedback resistance Rf
0.625V
is defined by the equation I =
2R
The output voltage Vout is represented by the voltage drop across Rf. Table 45.3
gives a summary of the total current and the output voltage for each of the 16
combinations of 4-bit binary input.
Rf
2R
RTh R8
+0.625V
R R
Vout
2R R7
Figure 45.3b The equivalent R/2R resistor network with binary 0001
Table 45.3 D/A Output voltages for binary inputs 0000 to 1111
1. Resolution
Resolution is defined as the number of bits that are converted. It is also defined as
a reciprocal of the number of discrete steps in the output represented as percentage. The
resolution of a 4-bit D/A converter is therefore represented as (1/15) 100 = 6.67%. An 8-
bit D/A converter has a resolution of (1/63) 100 = 1.59%.
2. Accuracy
Accuracy of a D/A converter is determined by comparing the actual output of a
D/A converter with the expected output. It is expressed as a percentage of the full-scale
or maximum output voltage. If for example, the accuracy is ±0.1 %, for a D/A converter
which has a maximum output of 20 volts, the maximum error for any output voltage is
(20)(0.001) = 20 mV. Ideally, the accuracy should not be worse than ±1/2 of the least
significant bit. For an 8-bit D/A converter, the least significant bit is 0.39% of the full-
scale. The accuracy should be one-half of 0.39%, that is ±0.195%. In terms of voltage,
consider that the full-scale output of the 8-bit D/A converter is 64 volts. The maximum
error that is allowed is (64)(0.00195) = 0.1248 volts = 125 mV. Each discrete step of the
D/A converter is equal to 0.25 volts = 250 mV. Assuming that 00000001 is applied at the
input of the D/A converter, the exact analogue output should be 250 mV. If there is an
error in the output voltage then the acceptable range of voltages representing 00000001
are from 125 mV to 375 mV. A voltage output which is less than 125 mV represents the
binary value 00000000 and a voltage output which exceeds 375 mV represents the binary
value 00000010. Thus the error should be within ±1/2% of the least significant bit.
3. Linearity
The output of the D/A converter should be a straight line when the binary input is
varied between its minimum and maximum values. An offset error is determined by the
output voltage when the binary input bits are all set to logic 0.
4. Monotonicity
The output of the D/A converter should give an increasing analogue voltage
output when the binary input is varied between its minimum and maximum values.
However, if the D/A converter outputs a lower voltage than its preceding output voltage
the converter is said to exhibit non-monotonic behavior.
5. Settling Time
Ideally, the D/A converter should immediately result in an analogue output
corresponding to the input binary value. A D/A converter however takes a finite amount
of time to output an analogue value corresponding to the binary input. The settling time
of a D/A converter is defined as the time the D/A converter takes to settle within ±1/2
least significant bit of its final value when a change occurs in the input. Assume that the
input to an 8-bit D/A converter is 00000101 which is represented by 1.250 Volts. The
binary input changes to 00000001 which is represented by 250 mV. The output of the