SlideShare a Scribd company logo
1 of 21
Analog to Digital Converter 
SUBMITTED TO:- SUBMITTED BY:- 
Mr. Peeyush Sanam Madhusudhan Agarwal
CONTENTS 
 Definition 
 Need of ADC in EMBEDDED 
Registers of ADC 
Types of ADC 
Applications
DEFINITION 
An analog-to-digital converter, or ADC as it is more 
commonly called, is a device that converts analog signals 
into digital signals. 
OR 
An analog-to-digital converter (ADC, A/D, or A to D) is a 
device that converts a continuous physical quantity 
(usually voltage) to a digital number that represents the 
quantity's amplitude
ANALOG-TO-DIGITAL 
CONVERSION 
Terminology 
analog: continuously valued signal, such as 
temperature or speed, with infinite possible values in 
between 
digital: discretely valued signal, such as integers, 
encoded in binary 
An embedded system’s surroundings typically involve 
many analog signals.
ANALOG-TO-DIGITAL CONVERTERS 
Vmax = 7.5V 
7.0V 
6.5V 
6.0V 
5.5V 
5.0V 
4.5V 
4.0V 
3.5V 
3.0V 
2.5V 
2.0V 
1.5V 
1.0V 
0.5V 
0V 
1111 
1110 
1101 
1100 
1011 
1010 
1001 
1000 
0111 
0110 
0101 
0100 
0011 
0010 
0001 
0000 
proportionality 
analog to digital 
4 
3 
2 
1 
time 
t1 t2 t3 t4 
0100 0110 0110 0101 
analog input 
(V) 
Digital output
NEED OF ADC IN 
EMBEDDED 
The microcontroller is a digital device so it needs 
digital input to process. 
But a number of input devices available which 
gives analog signal. 
So its necessary to convert analog signals to 
digital signals 
Its done by Analog to Digital Circuit inside a 
microcontroller.
REGISTERS OF ADC 
 There are four type of register which we use in ADC 
A. ADMUX(ADC Multiplexer Selection Register) 
B. ADCSRA(ADC Status and Control Register) 
C. ADCH Storing the ADC result 
D. ADCL
ADMUX(ADC MULTIPLEXER SELECTION 
REGISTER) 
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 
REFS1 REFS0 ADLAR MUX 4 MUX 3 MUX 2 MUX 1 MUX 0 
0 0 0 0 0 0 0 0 Initial 
value 
REFS1 REFS0 Vref 
0 0 OFF 
0 1 5V 
1 0 REVERS 
E 
1 1 2.56V 
0 1 0 0 0 0 0 0
ADCSRA(ADC STATUS AND CONTROL 
REGISTER) 
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 
ADEN ADSC ADATE ADIF ADIE ADPS2 ADPS1 ADPS0 
0 0 0 0 0 0 0 0 Initial 
value 
ADC 
enab 
le 
ADC 
start 
convers 
ion 
Auto 
trigge 
r 
enable 
Interru 
pt flag 
Interr 
upt 
enable 
ADC pre scale 
factor 
1 1 0 0 0 1 1 1
Types of Analog to Digital Converters 
1. Counter Type 
2. Integrating or Dual Slope 
3. Parallel or Flash 
4. Successive Approximation
Counter Type 
Control Logic 
D A C 
Counter 
START 
Vin 
Comparator 
Digital Output 
clock 
•When START is received, 
•control logic initializes the system, (sets counter to 0), 
and 
•turns on Clock sending regular pulses to the counter.
As the Clock sends regular pulses to the counter, the counter outputs 
a digital signal to the Digital-to-Analog converter 
D A C 
Counter 
START 
Vin 
Comparator 
Digital Output 
clock 
Control Logic
As the counter counts, its output to the D A C generates a staircase 
Control Logic 
D A C 
Counter 
START 
Vin 
Comparator 
Digital Output 
clock 
ramp to the comparator.
As the ramp voltage increases to the comparator, it rises closer and 
closer to Vin at which point the comparator shifts states 
Control Logic 
D A C 
Counter 
START 
Vin 
Comparator 
Digital Output 
clock
Once the digital output has been read by the associated circuitry, a new 
start signal is sent, repeating the cycle. 
Control Logic 
D A C 
Counter 
START 
Vin 
Comparator 
Digital Output 
clock
Tracking ADC - similar to the counter type except it uses an 
up/down counter and can track a varying signal more quickly 
Track & Hold Logic 
D A C 
Up/Down 
Counter 
Vin 
Comparator 
Digital Output 
clock
Vin 
-Vref 
Integrating or Dual Slope A/D 
Control logic 
Counter 
clock 
comparator 
integrator 
Digital Output
Successive-Approximation A/D 
D/A Converter 
Successive 
Approximation 
Register 
Vref 
clock 
analog 
input 
Digital 
Outpu 
t Data 
comparato 
r 
STRT 
At initialization, all bits from the SAR are set to zero, and conversion 
begins by taking STRT line low.
APPLICATIONS 
Music recording 
Digital signal processing 
Scientific instruments
AND
Thank you……….

More Related Content

What's hot

Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAmitabh Shukla
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversionPraveen Kumar
 
ADC Interfacing with pic Microcontrollert
ADC Interfacing with pic MicrocontrollertADC Interfacing with pic Microcontrollert
ADC Interfacing with pic Microcontrollertleapshare007
 
ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope techniquePoojashreeG
 
M-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONM-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONSubhajit Shaw
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog ConverterHossam Zein
 
Adc and dac
Adc and dacAdc and dac
Adc and dacboarddk1
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adcMaria Roshan
 
Successive Approximation ADC
Successive Approximation ADC Successive Approximation ADC
Successive Approximation ADC AbhayDhupar
 
adc dac converter
adc dac converteradc dac converter
adc dac converterGaurav Rai
 

What's hot (20)

Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
 
ADC Interfacing with pic Microcontrollert
ADC Interfacing with pic MicrocontrollertADC Interfacing with pic Microcontrollert
ADC Interfacing with pic Microcontrollert
 
ADC using single slope technique
ADC using single slope  techniqueADC using single slope  technique
ADC using single slope technique
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
M-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONM-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATION
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
 
Data convertors
Data convertorsData convertors
Data convertors
 
Digital to analog conversion
Digital to analog                    conversionDigital to analog                    conversion
Digital to analog conversion
 
Ad and da convertor
Ad and da convertorAd and da convertor
Ad and da convertor
 
Lica 7th chapter slides
Lica 7th chapter slidesLica 7th chapter slides
Lica 7th chapter slides
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
Microprocesser
MicroprocesserMicroprocesser
Microprocesser
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
ADC
ADCADC
ADC
 
Successive Approximation ADC
Successive Approximation ADC Successive Approximation ADC
Successive Approximation ADC
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 

Similar to Analog to digital converter

Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2Hattori Sidek
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.pptDreamers6
 
Fundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.pptFundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.pptBEVARAVASUDEVAAP1813
 
digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .pptAbdullahOmar64
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital ConversionSyed Umair
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptdaredevil15082004
 
Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Daman Singh
 
03 analog control_sp17
03 analog control_sp1703 analog control_sp17
03 analog control_sp17John Todora
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15John Todora
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog worldIslam Samir
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversionEngr Ahmad Khan
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac finalDrVikasMahor
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And ActuatorsJinesh Patel
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptxnaveen088888
 
analog to digital converter seminar
analog to digital converter seminaranalog to digital converter seminar
analog to digital converter seminargayatrigayu1
 

Similar to Analog to digital converter (20)

Meeting w9 chapter 3 part 2
Meeting w9   chapter 3 part 2Meeting w9   chapter 3 part 2
Meeting w9 chapter 3 part 2
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
Fundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.pptFundamental of MSD Module-III Part-a.ppt
Fundamental of MSD Module-III Part-a.ppt
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
digital anlage c converter for digital .ppt
digital anlage c converter for digital .pptdigital anlage c converter for digital .ppt
digital anlage c converter for digital .ppt
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)
 
Lecture 12 (adc) rv01
Lecture 12  (adc) rv01Lecture 12  (adc) rv01
Lecture 12 (adc) rv01
 
03 analog control_sp17
03 analog control_sp1703 analog control_sp17
03 analog control_sp17
 
05 analog control_sp15
05 analog control_sp1505 analog control_sp15
05 analog control_sp15
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog world
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
analog to digital converter and dac final
analog to digital converter and dac finalanalog to digital converter and dac final
analog to digital converter and dac final
 
Sensors And Actuators
Sensors And ActuatorsSensors And Actuators
Sensors And Actuators
 
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
UNIT 4 & 5 - I         nterfacing_Lecture7.pptxUNIT 4 & 5 - I         nterfacing_Lecture7.pptx
UNIT 4 & 5 - I nterfacing_Lecture7.pptx
 
A TO D CONVERTER
A TO D CONVERTERA TO D CONVERTER
A TO D CONVERTER
 
EEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdfEEE UNIT-2 PPT.pdf
EEE UNIT-2 PPT.pdf
 
analog to digital converter seminar
analog to digital converter seminaranalog to digital converter seminar
analog to digital converter seminar
 

More from Poornima institute of engineering and technology (12)

Ethics
EthicsEthics
Ethics
 
Calibration
CalibrationCalibration
Calibration
 
DMRC
DMRCDMRC
DMRC
 
Vlsi
VlsiVlsi
Vlsi
 
Li fi
Li fiLi fi
Li fi
 
Teleportation
TeleportationTeleportation
Teleportation
 
Mining robot
Mining robotMining robot
Mining robot
 
Report on PLCC
Report on PLCCReport on PLCC
Report on PLCC
 
Power Line carrier communication
Power Line carrier communicationPower Line carrier communication
Power Line carrier communication
 
Tera ray
Tera ray Tera ray
Tera ray
 
Career consling
Career conslingCareer consling
Career consling
 
Difference between led & lcd
Difference between led & lcdDifference between led & lcd
Difference between led & lcd
 

Analog to digital converter

  • 1. Analog to Digital Converter SUBMITTED TO:- SUBMITTED BY:- Mr. Peeyush Sanam Madhusudhan Agarwal
  • 2. CONTENTS  Definition  Need of ADC in EMBEDDED Registers of ADC Types of ADC Applications
  • 3. DEFINITION An analog-to-digital converter, or ADC as it is more commonly called, is a device that converts analog signals into digital signals. OR An analog-to-digital converter (ADC, A/D, or A to D) is a device that converts a continuous physical quantity (usually voltage) to a digital number that represents the quantity's amplitude
  • 4. ANALOG-TO-DIGITAL CONVERSION Terminology analog: continuously valued signal, such as temperature or speed, with infinite possible values in between digital: discretely valued signal, such as integers, encoded in binary An embedded system’s surroundings typically involve many analog signals.
  • 5. ANALOG-TO-DIGITAL CONVERTERS Vmax = 7.5V 7.0V 6.5V 6.0V 5.5V 5.0V 4.5V 4.0V 3.5V 3.0V 2.5V 2.0V 1.5V 1.0V 0.5V 0V 1111 1110 1101 1100 1011 1010 1001 1000 0111 0110 0101 0100 0011 0010 0001 0000 proportionality analog to digital 4 3 2 1 time t1 t2 t3 t4 0100 0110 0110 0101 analog input (V) Digital output
  • 6. NEED OF ADC IN EMBEDDED The microcontroller is a digital device so it needs digital input to process. But a number of input devices available which gives analog signal. So its necessary to convert analog signals to digital signals Its done by Analog to Digital Circuit inside a microcontroller.
  • 7. REGISTERS OF ADC  There are four type of register which we use in ADC A. ADMUX(ADC Multiplexer Selection Register) B. ADCSRA(ADC Status and Control Register) C. ADCH Storing the ADC result D. ADCL
  • 8. ADMUX(ADC MULTIPLEXER SELECTION REGISTER) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 REFS1 REFS0 ADLAR MUX 4 MUX 3 MUX 2 MUX 1 MUX 0 0 0 0 0 0 0 0 0 Initial value REFS1 REFS0 Vref 0 0 OFF 0 1 5V 1 0 REVERS E 1 1 2.56V 0 1 0 0 0 0 0 0
  • 9. ADCSRA(ADC STATUS AND CONTROL REGISTER) Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0 ADEN ADSC ADATE ADIF ADIE ADPS2 ADPS1 ADPS0 0 0 0 0 0 0 0 0 Initial value ADC enab le ADC start convers ion Auto trigge r enable Interru pt flag Interr upt enable ADC pre scale factor 1 1 0 0 0 1 1 1
  • 10. Types of Analog to Digital Converters 1. Counter Type 2. Integrating or Dual Slope 3. Parallel or Flash 4. Successive Approximation
  • 11. Counter Type Control Logic D A C Counter START Vin Comparator Digital Output clock •When START is received, •control logic initializes the system, (sets counter to 0), and •turns on Clock sending regular pulses to the counter.
  • 12. As the Clock sends regular pulses to the counter, the counter outputs a digital signal to the Digital-to-Analog converter D A C Counter START Vin Comparator Digital Output clock Control Logic
  • 13. As the counter counts, its output to the D A C generates a staircase Control Logic D A C Counter START Vin Comparator Digital Output clock ramp to the comparator.
  • 14. As the ramp voltage increases to the comparator, it rises closer and closer to Vin at which point the comparator shifts states Control Logic D A C Counter START Vin Comparator Digital Output clock
  • 15. Once the digital output has been read by the associated circuitry, a new start signal is sent, repeating the cycle. Control Logic D A C Counter START Vin Comparator Digital Output clock
  • 16. Tracking ADC - similar to the counter type except it uses an up/down counter and can track a varying signal more quickly Track & Hold Logic D A C Up/Down Counter Vin Comparator Digital Output clock
  • 17. Vin -Vref Integrating or Dual Slope A/D Control logic Counter clock comparator integrator Digital Output
  • 18. Successive-Approximation A/D D/A Converter Successive Approximation Register Vref clock analog input Digital Outpu t Data comparato r STRT At initialization, all bits from the SAR are set to zero, and conversion begins by taking STRT line low.
  • 19. APPLICATIONS Music recording Digital signal processing Scientific instruments
  • 20. AND