Download presentation
1
Comparators, DAC, and ADC
by Dr. Amin Danial Asham
2
References Introduction to Instrumentation, Sensors, and Process Control-William C. Dunn Data Sheet of TI-DAC0808 Data Sheet of TI ADC0808
3
Comparator A comparator is basically a very high gain differential amplifier that compares two analog signals π π and π π and based on is greater π ππ’π‘ is either 1 or 0. If π π > π π then π ππ’π‘ = V cc (supply) Logic 1 If π π > π π then π ππ’π‘ =0 Logic 0
4
Digital to Analog Converter (DAC)
DAC is a device that gets a binary coded value and generate a corresponding analog voltage. The n-bits DAC can generate 2 π different levels of analog signal π 0 from 0 volt up to ππππ₯ (full scale volt of DAC). That means DAC can generate 2 π β1 nonzero levels. π· 0 π· 1 π· 2 π· π π π DAC π πππ
5
Digital to Analog Converter (DAC) (continue)
The output of voltage of DAC is π π = π πππ ( 2 πβ1 + 2 πβ2 +β¦+ 2 0 )/ 2 π Therefore for the maximum output voltage π πππ₯ is π πππ₯ = π πππ 2 π β1 2 π Resolution: resolution of DAC usually refers to the number of bits. The voltage corresponding to the LSB is called 1 LSB 1 πΏππ΅= ππππ 2 π volt
6
Digital to Analog Converter (DAC) (continue)
π· 0 π· 1 π· 2 π πππ 3-bits DAC
7
Digital to Analog Converter (DAC) (continue)
Example: for a 8 bit DAC with a full scale volts. Find π πππ and 1LSB Solution: Sππππ π πππ₯ = π πππ β1 2 8 β΄ π πππ = π πππ₯ β1 =5 volts 1πΏππ΅= π πππ 2 π = π πππ₯ 2 π β1 =
8
Analog to Digital Converter (ADC)
Analog to digital converter converts an analog signal to a binary value. π ππ is the input analog signal π· π π· πβ1 β¦ π· 0 is the output binary value corresponding to the input analog signal π ππ , where π· π is MSB and π· π is the LSB. Resolution refers to the number of bits of the output binary value of the ADC. π· 0 π· 1 π· 2 π· π π ππ ADC π πππ
9
Analog to Digital Converter (ADC) (continue)
ADC with a resolution of n bits divides the full scale of the input analog signal into 2 π levels. 1 LSB or Quantization level (Q) is the voltage change of the in signal the causes the output of the converter change from one level to another. 1πΏππ΅= π πππ 2 π The output code represents an integer equals to: π ππ π πππ Γ 2 π
10
Analog to Digital Converter (ADC) (continue)
Flash converter: As shown the analog input signal is compare with different levels of voltages obtained by dividing π πππ . When the input voltage exceeds certain level the corresponding comparator gives an output 1. The output of the comparators converted to binary value using an encoder. Flash converters are the fastest technique for converting analog voltages into digital signals, but expensive. π πππ
11
Analog to Digital Converter (ADC) (continue)
Successive approximation is a parallel feedback ADC that feeds back a voltage from a DAC, as shown. A comparator compares the analog input sign the analog signal generated from the current binary value via DAC . If the generated signal is not matching the input a new value generated by the counter and then compared again and so no. The comparator is controlling the counter operation. Conversion is started by start signal and gives a feedback after completion
12
Thanks
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.