AnalogToDigital Conversion OpenLoop Technique 1 VoltagetoFrequency Conversion F

  • Slides: 14
Download presentation
Analog-To-Digital Conversion Open-Loop Technique: 1. Voltage-to-Frequency Conversion F α VA Input Analog Voltage (VA)

Analog-To-Digital Conversion Open-Loop Technique: 1. Voltage-to-Frequency Conversion F α VA Input Analog Voltage (VA) Voltage-tofrequency Converter (VFC) Gate Reset Counter Fixed Time )Input T) Digital output N α (VA) �� ∆ �� 1 N = = T. F F= ∆t But, Fα (VA) F= K (VA) Were, K=VFC Proportionality Constant N = T K (VA) = K (VA) K = K T ( ADC proportionality constant) Accuracy limitations in this technique are due to non-linearity in the voltage frequency converter over the entire analog input range and precision required in the time Base Signal Pulse Width. Typical voltage frequency converter output frequencies are in the range (10 KHz) to (1 MHz) for maximum input voltage 107

2. Voltage- To- Time Conversion ADC TαVA Input Analog Voltage (VA) Voltage-to-time. Converter VTC

2. Voltage- To- Time Conversion ADC TαVA Input Analog Voltage (VA) Voltage-to-time. Converter VTC Reset Gat e Counter Digital output Clock Fc N α (VA) �� ∆ �� N= = T FC Fc = 1 ∆ �� But, Tα (VA) T = K (VA) Where K= VTC ( Proportionality Constant) N= Fc K(VA) = K (VA) K = K Fc =ADC Proportionality Constant. 3. Flash (Simultaneous) Analog-to-Digital Converter A comparator is an op. amp. configuration where the voltages of two inputs are compared. If the “+” input is greater than the “-” input, the output is a logic high. The flash method utilizes comparators that compare reference voltage with the analog input voltage. When the input voltage exceeds the reference voltage, a HIGH is generated. A comparator is not needed for all 0’s condition. 108

n In general a 2 -1 comparators are required for converting to an n-

n In general a 2 -1 comparators are required for converting to an n- bit binary code. The number of bits in an ADC is its resolution. Example 1: Design a 2 -bit simultaneous A/D converter. Solution: The required number of comparators = 22 − 1 = 3 where n is the number of bits of the digital output number. Input Voltage (V) 0 to +V/4 to +V/2 + 3 V/4 +3 V/4 to +V C 1 Low High Comparators output C 2 Low High C 3 Low Low High Advantage: Provides a fast conversion times because of a high through put measured in sps (samples per second. ) Disadvantage: Large number of comparators necessary for a reasonable –sized binary number n no. of comparators = 2 -1 Where n is the number of bits of the output. 109

Example 2: Design a 3 bit Flash ADC. Solution: 0 0 1 1 110

Example 2: Design a 3 bit Flash ADC. Solution: 0 0 1 1 110

Example 3: Determine the binary code output of the 3 -bit flash ADC for

Example 3: Determine the binary code output of the 3 -bit flash ADC for the input with the encoder enable pulses shown in fig. 1. VRef = +8 V. Fig. 1 Sampling of values on a waveform for conversion to binary code. The resulting digital output sequence: 100 (4), 110(6), 111(7), 110(6), 100 (4), 010(2), 000(0), 001(1), 011 (3), 101 (5), 110 (6), 111(7) Waveform of the resulting digital output sequence: 111

Feedback Techniques 1. Counter Type A/D Converter: A higher resolution A/D converter using only

Feedback Techniques 1. Counter Type A/D Converter: A higher resolution A/D converter using only one comparator could be constructed if a variable reference voltage could then be applied to the comparator and when it became equal to the input analog voltage the conversion would be complete. 0 ≤ VA≤ Vref This method is much simpler than the simultaneous method for high resolution, but the conversion time required is longer. Since the counter always begins at zero and counts through its normal binary sequence, it may require as many as 2�� counts before conversion is complete. The − 1 counts. average conversion time is 2�� 112

Note that the conversion time depends on the size of the input signal 1.

Note that the conversion time depends on the size of the input signal 1. Step Size = �� /2�� -1 ��. �� 2. Number of steps = VA / step size 3. The conversion time = No. of steps * Time 4. The resolution in volt = �� / 2�� -1 ��. �� 2. Successive Approximation Analog-to-Digital Converter The Successive-Approximation ADC is one of the most popular types in use today. It has a relatively simple configuration and an excellent conversion The rate. following Figure shows the basic block diagram of a 4 bit Successive - approximation ADC. It consists of a DAC, Successive-Approximation Register (SAR), and a comparator. 113

The operation diagram for a 3 bit successive - approximation converter ADC is shown

The operation diagram for a 3 bit successive - approximation converter ADC is shown below: The time for one analog to digital conversion must depend on both the clocks period (T) and number of bits n. It is given as Tc = n x T Tc: Conversion time. 114

T: Clock period. n: Number of bits. Example 4: An 8 -bit successive approximation

T: Clock period. n: Number of bits. Example 4: An 8 -bit successive approximation ADC is driven by 1 MHz clock. Find its conversion time. Solution: F=1 MHz T= 1�� 1 T=1∗ 106 =1µs N=8, Tc = n x T 8 x 1 = 8µs Example 5: An 8 -bit digital ramp ADC with a 40 m. V resolution uses a clock frequency of 2. 5 MHz a comparator with VT=1 m. V. Determine the following values: 1) The digital output for Vin=6 V. 2) The digital output for Vin=6. 035 V. 3) The max. and average conversion time for this ADC. Solution: The digital output is given by, Count= Vin/ resolution 1) Vin=6 V Count = 6/ 40*10− 3 =150

2) count =6. 035/40*10− 3 = 150 115 3) (Tc) max= (maximum count)* T

2) count =6. 035/40*10− 3 = 150 115 3) (Tc) max= (maximum count)* T =2�� -1*1/f =255/25*106 Example 6: A 4 bit digital ramp ADC has an input range of 0 to 7. 5 volt. Estimate: Resolution, digital output for an input of 4. 25 volts and Conversion time if the clock frequency is 1 MHz. Solution: Digital output= input/ Resolution in V/LSB Resolution =Vi/ 2�� -1 =7. 5/16 -1=0. 5 V/LSB D= 4. 25/0. 5= 8. 5 LSBs=9 digital output=1001 F=1 MHz T=1/f =1/1*106 =1µs N=4 bit Tc = 24 x 1 = 16 µs

116 4. Integrating Types: A. The Single-Slope Technique: Start pulse Vo(t 1) = −

116 4. Integrating Types: A. The Single-Slope Technique: Start pulse Vo(t 1) = − V 0(t 1) = 1 t 1 ∫ (−Vref)dt RC to Vref (t − 1 RC t)= o VA N = (�� ) × ���� 1 − �� �� � � Vc Where Fc= Clock Freq. �� Slop=Vref/RC �� 1 �� 0 Clock �� �� � � ��

N = N o( V A ) Vref No = 2 n The Single

N = N o( V A ) Vref No = 2 n The Single Slope ADC has a number of disadvantages compared to the Dual-Slope ADC: 1. Convesion time varies with input voltage level, so that specification Noise frequencies are not easily rejected. 2. It depends for its accuracy on a capacitor and a resistor (unstable components). 3. Variations in clock frequency will affect the final recorded output. For these reasons, designers prefer the dual-slope method, although it may be slower than the single slope. The advantages of the dual-slope method are relatively Low cost, simplicity, high accuracy, linearity, and excitant Noise rejection. The one disadvantage of this method is the relatively long Conversion time; it +1 clock pulses normally for n bits full scale conversion. requires 2�� 119