SlideShare uma empresa Scribd logo
1 de 30
Presented By:

Roll No:
Presentation Topic:

Analog to Digital Conversion
(ADC)
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

analog-to-digital converter: ADC, A/D, A2D;
converts an analog signal to a digital signal
Analog Signals
Analog signals – directly measurable quantities
in terms of some other quantity
Examples:
• Thermometer – mercury height rises as
temperature rises
• Car Speedometer – Needle moves farther
right as you accelerate
Digital Signals
Digital Signals – have only two states. For digital
computers, we refer to binary states, 0 and 1.
“1” can be on, “0” can be off.
Examples:
• Light switch can be either on or off
• Door to a room is either open or closed
ADC Basic Principle:
• The basic principle of operation is to use the
comparator principle to determine whether or
not to turn on a particular bit of the binary
number output.
• It is typical for an ADC to use a digital-toanalog converter (DAC) to determine one of
the inputs to the comparator.
Quantization
• Quantization is the process of converting the sampled continuousValued signals into discrete-valued data

©Alex Doboli 2006
Quantizing
The number of possible states that the
converter can output is:
N=2n
where n is the number of bits in the AD
converter
Example: For a 3 bit A/D converter, N=23=8.
Analog quantization size:
Q=(V max -V min)/N = (10V – 0V)/8 = 1.25V
Analog  Digital Conversion
2-Step Process:
• Quantizing - breaking down analog value is a
set of finite states
• Encoding - assigning a digital word or number to
each state and matching it to the input signal
Step 1: Quantizing
Example:
You have 0-10V signals.
Separate them into a set
of discrete states with
1.25V increments. (How
did we get 1.25V?
(Discussed in previous slide)

Output
States

Discrete Voltage
Ranges (V)

0

0.00-1.25

1

1.25-2.50

2

2.50-3.75

3

3.75-5.00

4

5.00-6.25

5

6.25-7.50

6

7.50-8.75

7

8.75-10.0
Step 2. Encoding
• Here we assign the
digital value (binary
number) to each state
for the computer to
read.

Output
States

Output Binary Equivalent

0

000

1

001

2

010

3

011

4

100

5

101

6

110

7

111
Sampling
• It is a process of taking a sufficient number of
discrete values at point on a waveform that
will define the shape of waveform.
• The more samples you take, the more
accurately you will define the waveform.
• It converts analog signal into series of
impulses, each representing amplitude of the
signal at given point…….
Sampling
Collect sufficient data for correctly representing a
continuous-time signal

©Alex Doboli 2006
3 Basic Types
• Flash ADC
• Digital-Ramp/Dual slope/Counter slope ADC
• Successive Approximation ADC
1->

Flash ADC

• Consists of a series of comparators, each one
comparing the input signal to a unique
reference voltage.
• The comparator outputs connect to the inputs
of a priority encoder circuit, which produces a
binary output
3 bit Flash ADC Circuit
How Flash Works
• As the analog input voltage exceeds the
reference voltage at each comparator, the
comparator outputs will sequentially saturate
to a high state.
• The priority encoder generates a binary
number based on the highest-order active
input, ignoring all other active inputs.
ADC Output
Flash
Advantages
• Simplest in terms of
operational theory
• Most efficient in terms of
speed, very fast
limited only in terms of
comparator and gate
propagation delays

Disadvantages
• Lower resolution
• Expensive
• For each additional
output bit, the number of
comparators is doubled
i.e. for 8 bits, 256
comparators needed
2->

Dual Slope ADC

• Also known as Counter-Ramp or Digital Ramp ADC
• A dual slope ADC is commonly used in
measurement instruments (such as DVM’s).

ADC 1.21
Dual Slope ADC circuit
Input
Oscillator

Switch

Control Logic

Counter
VReference

Registers

Digital Output
ADC 1.22
Dual Slope Function
• The Dual Slope ADC functions in this manner:
– When an analog value is applied the capacitor begins to
charge in a linear manner and the oscillator passes to
the counter.
– The counter continues to count until it reaches a
predetermined value. Once this value is reached the
count stops and the counter is reset. The control logic
switches the input to the first comparator to a reference
voltage, providing a discharge path for the capacitor.
– As the capacitor discharges the counter counts.
– When the capacitor voltage reaches the reference
voltage the count stops and the value is stored in the
register.
ADC 1.23
Successive approximation ADC
• Much faster than the
digital ramp ADC
because it uses digital
logic to converge on
the value closest to the
input voltage.
• A comparator and a
DAC are used in the
process.
Successive Approximation ADC
• A Successive Approximation Register (SAR) is
added to the circuit
• Instead of counting up in binary sequence,
this register counts by trying all values of bits
starting with the MSB and finishing at the LSB.
• The register monitors the comparators output
to see if the binary count is greater or less
than the analog signal input and adjusts the
bits accordingly
Successive Approximation ADC
Circuit
Output
ADC Types Comparison
ADC Resolution Comparison
Dual Slope

Flash
Successive Approx

0

5

10
15
Resolution (Bits)

20

Type

Speed (relative)

Cost (relative)

Dual Slope

Slow

Med

Flash

Very Fast

High

Successive Approx

Medium – Fast

Low

25
Examples of A/D Applications
• Microphones - take your voice varying pressure waves in the air
and convert them into varying electrical signals

• Strain Gages - determines the amount of strain (change in
dimensions) when a stress is applied

• Thermocouple – temperature measuring device converts
thermal energy to electric energy

• Voltmeters
• Digital Multimeters
Analog to digital conversion

Mais conteúdo relacionado

Mais procurados

Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital ConvertersAnas Smarty
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 
(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
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adcMaria Roshan
 
adc dac converter
adc dac converteradc dac converter
adc dac converterGaurav Rai
 
Companding and DPCM and ADPCM
Companding and DPCM and ADPCMCompanding and DPCM and ADPCM
Companding and DPCM and ADPCMnaimish12
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processingvanikeerthika
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signalsteja reddy
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifierUnsa Shakir
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applicationsDr.YNM
 
Delta modulation
Delta modulationDelta modulation
Delta modulationmpsrekha83
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...Nidhi Baranwal
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - CountersJayakrishnan J
 
Introduction to ADC & DAC
Introduction  to   ADC & DACIntroduction  to   ADC & DAC
Introduction to ADC & DACNikhil Raut
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifiersarunkutti
 

Mais procurados (20)

Analog to Digital Converters
Analog to Digital ConvertersAnalog to Digital Converters
Analog to Digital Converters
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
(D/A) and (A/D)conversion
(D/A) and (A/D)conversion(D/A) and (A/D)conversion
(D/A) and (A/D)conversion
 
Op amp
Op ampOp amp
Op amp
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Companding and DPCM and ADPCM
Companding and DPCM and ADPCMCompanding and DPCM and ADPCM
Companding and DPCM and ADPCM
 
Digital signal processing
Digital signal processingDigital signal processing
Digital signal processing
 
Analog and digital signals
Analog and digital signalsAnalog and digital signals
Analog and digital signals
 
Operational amplifier
Operational amplifierOperational amplifier
Operational amplifier
 
Unit 1 embedded systems and applications
Unit 1 embedded systems and applicationsUnit 1 embedded systems and applications
Unit 1 embedded systems and applications
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
Delta modulation
Delta modulationDelta modulation
Delta modulation
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Digital Electronics - Counters
Digital Electronics - CountersDigital Electronics - Counters
Digital Electronics - Counters
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
Introduction to ADC & DAC
Introduction  to   ADC & DACIntroduction  to   ADC & DAC
Introduction to ADC & DAC
 
Introduction to dsp
Introduction to dspIntroduction to dsp
Introduction to dsp
 
DPCM
DPCMDPCM
DPCM
 
Differential amplifier
Differential amplifierDifferential amplifier
Differential amplifier
 

Destaque

Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Ali Rind
 
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERSripati Mahapatra
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital ConverterRonak Machhi
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converterAshutosh Jaiswal
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introductionRobert Lujo
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processingrohitnayak
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language ProcessingPranav Gupta
 

Destaque (8)

Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20Digital control systems (dcs) lecture 18-19-20
Digital control systems (dcs) lecture 18-19-20
 
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTERANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
ANALOG TO DIGITAL AND DIGITAL TO ANALOG CONVERTER
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Natural language processing (NLP) introduction
Natural language processing (NLP) introductionNatural language processing (NLP) introduction
Natural language processing (NLP) introduction
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 

Semelhante a Analog to digital conversion

Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeYemaneBayray
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadavAnil Yadav
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.pptDreamers6
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog worldIslam Samir
 
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
 
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 and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAbhinavSharma374939
 
Analog to digital conversion techniques.pptx
Analog to digital conversion techniques.pptxAnalog to digital conversion techniques.pptx
Analog to digital conversion techniques.pptxhepzijustin
 
Single Slope ADC.pptx
Single Slope ADC.pptxSingle Slope ADC.pptx
Single Slope ADC.pptxhepzijustin
 
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
 
Adc and dac
Adc and dacAdc and dac
Adc and dacboarddk1
 
Data acquisition system
Data acquisition systemData acquisition system
Data acquisition systemgirishgandhi4
 
Chapter-1 Digital Measuring Instruments.pptx
Chapter-1 Digital Measuring Instruments.pptxChapter-1 Digital Measuring Instruments.pptx
Chapter-1 Digital Measuring Instruments.pptxramkumarraja7
 

Semelhante a Analog to digital conversion (20)

Chap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part threeChap 3. signal processing elemnt part three
Chap 3. signal processing elemnt part three
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
 
Adc by anil kr yadav
Adc by anil kr yadavAdc by anil kr yadav
Adc by anil kr yadav
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
Interfacing to the analog world
Interfacing to the analog worldInterfacing to the analog world
Interfacing to the analog world
 
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
 
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 and Digital to Analog Converter
Analog to Digital and Digital to Analog ConverterAnalog to Digital and Digital to Analog Converter
Analog to Digital and Digital to Analog Converter
 
Analog to digital conversion techniques.pptx
Analog to digital conversion techniques.pptxAnalog to digital conversion techniques.pptx
Analog to digital conversion techniques.pptx
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Single Slope ADC.pptx
Single Slope ADC.pptxSingle Slope ADC.pptx
Single Slope ADC.pptx
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
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 and dac
Adc and dacAdc and dac
Adc and dac
 
Adc f05
Adc f05Adc f05
Adc f05
 
Data acquisition system
Data acquisition systemData acquisition system
Data acquisition system
 
Chapter-1 Digital Measuring Instruments.pptx
Chapter-1 Digital Measuring Instruments.pptxChapter-1 Digital Measuring Instruments.pptx
Chapter-1 Digital Measuring Instruments.pptx
 
Computer hardware
Computer hardware Computer hardware
Computer hardware
 
Adc &dac ppt
Adc &dac pptAdc &dac ppt
Adc &dac ppt
 

Último

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Association for Project Management
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docxPoojaSen20
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Jisc
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 

Último (20)

Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 

Analog to digital conversion

  • 1.
  • 3. Presentation Topic: Analog to Digital Conversion (ADC)
  • 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 analog-to-digital converter: ADC, A/D, A2D; converts an analog signal to a digital signal
  • 5. Analog Signals Analog signals – directly measurable quantities in terms of some other quantity Examples: • Thermometer – mercury height rises as temperature rises • Car Speedometer – Needle moves farther right as you accelerate
  • 6. Digital Signals Digital Signals – have only two states. For digital computers, we refer to binary states, 0 and 1. “1” can be on, “0” can be off. Examples: • Light switch can be either on or off • Door to a room is either open or closed
  • 7. ADC Basic Principle: • The basic principle of operation is to use the comparator principle to determine whether or not to turn on a particular bit of the binary number output. • It is typical for an ADC to use a digital-toanalog converter (DAC) to determine one of the inputs to the comparator.
  • 8. Quantization • Quantization is the process of converting the sampled continuousValued signals into discrete-valued data ©Alex Doboli 2006
  • 9. Quantizing The number of possible states that the converter can output is: N=2n where n is the number of bits in the AD converter Example: For a 3 bit A/D converter, N=23=8. Analog quantization size: Q=(V max -V min)/N = (10V – 0V)/8 = 1.25V
  • 10. Analog  Digital Conversion 2-Step Process: • Quantizing - breaking down analog value is a set of finite states • Encoding - assigning a digital word or number to each state and matching it to the input signal
  • 11. Step 1: Quantizing Example: You have 0-10V signals. Separate them into a set of discrete states with 1.25V increments. (How did we get 1.25V? (Discussed in previous slide) Output States Discrete Voltage Ranges (V) 0 0.00-1.25 1 1.25-2.50 2 2.50-3.75 3 3.75-5.00 4 5.00-6.25 5 6.25-7.50 6 7.50-8.75 7 8.75-10.0
  • 12. Step 2. Encoding • Here we assign the digital value (binary number) to each state for the computer to read. Output States Output Binary Equivalent 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111
  • 13. Sampling • It is a process of taking a sufficient number of discrete values at point on a waveform that will define the shape of waveform. • The more samples you take, the more accurately you will define the waveform. • It converts analog signal into series of impulses, each representing amplitude of the signal at given point…….
  • 14. Sampling Collect sufficient data for correctly representing a continuous-time signal ©Alex Doboli 2006
  • 15. 3 Basic Types • Flash ADC • Digital-Ramp/Dual slope/Counter slope ADC • Successive Approximation ADC
  • 16. 1-> Flash ADC • Consists of a series of comparators, each one comparing the input signal to a unique reference voltage. • The comparator outputs connect to the inputs of a priority encoder circuit, which produces a binary output
  • 17. 3 bit Flash ADC Circuit
  • 18. How Flash Works • As the analog input voltage exceeds the reference voltage at each comparator, the comparator outputs will sequentially saturate to a high state. • The priority encoder generates a binary number based on the highest-order active input, ignoring all other active inputs.
  • 20. Flash Advantages • Simplest in terms of operational theory • Most efficient in terms of speed, very fast limited only in terms of comparator and gate propagation delays Disadvantages • Lower resolution • Expensive • For each additional output bit, the number of comparators is doubled i.e. for 8 bits, 256 comparators needed
  • 21. 2-> Dual Slope ADC • Also known as Counter-Ramp or Digital Ramp ADC • A dual slope ADC is commonly used in measurement instruments (such as DVM’s). ADC 1.21
  • 22. Dual Slope ADC circuit Input Oscillator Switch Control Logic Counter VReference Registers Digital Output ADC 1.22
  • 23. Dual Slope Function • The Dual Slope ADC functions in this manner: – When an analog value is applied the capacitor begins to charge in a linear manner and the oscillator passes to the counter. – The counter continues to count until it reaches a predetermined value. Once this value is reached the count stops and the counter is reset. The control logic switches the input to the first comparator to a reference voltage, providing a discharge path for the capacitor. – As the capacitor discharges the counter counts. – When the capacitor voltage reaches the reference voltage the count stops and the value is stored in the register. ADC 1.23
  • 24. Successive approximation ADC • Much faster than the digital ramp ADC because it uses digital logic to converge on the value closest to the input voltage. • A comparator and a DAC are used in the process.
  • 25. Successive Approximation ADC • A Successive Approximation Register (SAR) is added to the circuit • Instead of counting up in binary sequence, this register counts by trying all values of bits starting with the MSB and finishing at the LSB. • The register monitors the comparators output to see if the binary count is greater or less than the analog signal input and adjusts the bits accordingly
  • 28. ADC Types Comparison ADC Resolution Comparison Dual Slope Flash Successive Approx 0 5 10 15 Resolution (Bits) 20 Type Speed (relative) Cost (relative) Dual Slope Slow Med Flash Very Fast High Successive Approx Medium – Fast Low 25
  • 29. Examples of A/D Applications • Microphones - take your voice varying pressure waves in the air and convert them into varying electrical signals • Strain Gages - determines the amount of strain (change in dimensions) when a stress is applied • Thermocouple – temperature measuring device converts thermal energy to electric energy • Voltmeters • Digital Multimeters