MECH 3211 Lecture 9 - Digital Instrumentation - 2
MECH 3211 Lecture 9 - Digital Instrumentation - 2
2
ADC
3
ADC
Comparator
4
ADC
5
ADC
Comparator
In basic form, a comparator can be made from an op-amp without
feedback:
where the real open loop gain of the op-amp AOL is of order 510 or more.
Thus, some small voltage difference, V2-V1 , produces a large VOUT .
this property can be exploited in a logical operation including the effects
of amplifier saturation:
6
ADC
7
ADC
1. Flash/Parallel Converter
8
ADC
all the digital outputs with reference input voltages below the
input signal will be true and all of the digital outputs with
reference signals above the input signal level will be false.
the output logic circuit converts these 2n-1 binary values into an
n-bit number.
9
ADC
10
ADC
11
ADC
12
ADC
13
ADC
•when the start signal is applied, the sample and hold (S&H) latches the
analog input.
•the control unit begins an iterative process where the digital value is
approximated, converted to an analog value with the DAC and compared to the
analog input with the comparator.
• when the DAC output equals the analog input, the end signal
is set by the control unit and the correct digital output is available.
14
ADC
Vin Vc
Vo
2. In the next cycle, start with MSB2 = 1 and all other lowers bit
equal 0.
• Vo < Vin , then Vc is high and the MSB2 is maintained at 1.
• Vo > Vin , then Vc is low and the MSB2 is reset to 0.
3. The process continues until all bits up to the LSB are scanned.
16
ADC
Example
An analog voltage Vs = 6.5 V is converted by a 4-bit
successive approximation ADC. The ADC voltage input
range is 15V (FS).
17
ADC
18
ADC
Example
A 6-bit successive approximation ADC is used to convert the signal from the
sensor. The voltage input range is 0 – 5 Volt.
19
If :Vo < Vin , then Vc is high and the MSBn is maintained at 1.
Vo > Vin , then Vc is low and the MSBn is reset to 0.
Vin= 3V, Vo is FS/2n+FS/2n+1+…..
Input
2.5V
3V
2.81V 2.97V
3.125V 3.05V
3.75V
1 0 0 1 1 0
Result the binary number from A/D Converter: 100110
20
ADC
1 2 Vin n
b1 2 b2 2 .... bn 2
VR
b1,b2…bn = n-bit digital output
Vin = analog input voltage
VR = analog reference voltage
V VR 2 n
21
ADC
From eq.
1 2 n Vin
b1 2 b2 2 .... bn 2
VR
where n=6, Vin=3 V, VR=5 V
3
b1 2 1 b2 2 2 .... bn 2 6 0. 6
5
22
ADC
Vin 1 n
For bipolar ADC : binary number, N INT [( )2 ]
VR 2
Example:
A bipolar 8-bit successive approximation ADC is used to convert the signal
from the sensor. The voltage input range is -5 – 5 Volt (or 5V ref). Determine
the binary number as the result of the conversion, when the voltage input to
the ADC card is -0.85 volt.
0.85 1 8
N INT [( )2 ]
5 2
N INT [84.48] 8410 010101002
23
ADC
3. Integrating ADC
(Single Slope)
24
ADC
Integrating ADC
when the comparator output is low (input voltage greater than integrator
output), the integrator is allowed to charge the capacitor in a linear fashion.
meanwhile, the counter is counting up at a rate fixed by the precision clock
frequency.
the time it takes for the capacitor to charge up to the same voltage level as the
input depends on the input signal level and the combination of -Vref, R, and C.
25
ADC
Integrating ADC
26
ADC
27
ADC
28
ADC
Example
A measurement of temperature using a sensor that outputs
6.5mV/C must measure to 100 C. A 6 bit ADC with a 10V
reference is used.
Develop a circuit to interface the sensor and any of the discussed
ADC techniques.
29