2. Encoders
Though the output obtained from comparators are in the form of 0s and 1s, but can't be called as binary output. A sequence of 0s and 1s will be converted into binary form by using a circuit called Encoder. A simple encoder converts 2n input lines into ‘n' output lines. These ‘n' output lines follow binary algebra.
3. Analog to Digital Converter (ADC)
As discussed in previous section ADCs are used to convert analog signals into Digital Signals. There are various techniques of converting Analog Signals into Digital signals which are enlisted as follows. However we will be discussing only Direct Conversion ADC, detail study of other techniques is out of the scope of the present course.
- Direct Conversion ADC or Flash ADC
- Successive Approximation ADC
- A ramp-compare ADC
- Wilkinson ADC
- Integrating ADC
- Delta-encoded ADC or counter-ramp
- Pipeline ADC (also called subrangingquantizer)
- Sigma-delta ADC (also known as a delta-sigma ADC)
- Time-interleaved ADC
3.1 Direct Conversion ADC or Flash ADC
Figure 2.8.2 Circuit of Flash ADC
Figure 2.8.2 shows the circuit of Direct conversion or Flash ADC. To convert a digital signal of N-bits, Flash ADC requires 2N -1 comparators and 2N resistors. The circuit provides the reference voltage to all the comparators. Each comparator gives an output of 1 when its analog voltage is higher than reference voltage or otherwise the output is 0. In the above circuit, reference voltages to comparators are provided by means of resistor ladder logic.
The circuit described in figure 2.8.2 acts as 3 Bit ADC device. Let us assume this ADC works between the range of 0-10 Volts. The circuit requires 7 comparators and 8 resisters.Now the voltages across each resistor are divided in such a way that a ladder of 1 volt is built with the help of 1K-Ohm resistances. Therefore the reference voltages across all the comparators are 1-7 volts.
Now let us assume that an input voltage signal of 2.5 V is to be converted into its related digital form. As 2.5V is greater than 1V and 2V, first two comparators will give output as 1,1. But 2.5V is less than 3,4,5,6,7 V values therefore all other comparators will give 0s. Thus we will have output from comparators as 0000011(from top). This will be fed to the encoder logic circuit. This circuit will first change the output in single high line format and then converts it into 3 output lines format by using binary algebra. Then this digital output from ADC may be used for manipulation or actuation by the microcontrollers or computers.