SlideShare a Scribd company logo
1 of 23
1
Data-Converter Circuits
A/D and D/A
Chapter 9
1
Analog Signals every where
Examples of A/D
• Microphones - take your voice varying pressure waves in the air
and convert them into varying electrical signals
• Seat Belt-
• Thermocouple – temperature measuring device converts thermal
energy to electric energy
• Voltmeters
• Digital Multimeters
• ADSL
3
Figure 9.36 The process of periodically sampling an analog signal. (a) Sample-and-hold (S/H) circuit.
The switch closes for a small part (t seconds) of every clock period (T). (b) Input signal waveform. (c)
Sampling signal (control signal for the switch). (d) Output signal (to be fed to A/D converter).
Need to Sample an
analog signal
Then convert to digital
by A/D converter
Most signals are
analog
Are sensor outputs Analog ?
Eg. Seatbelt ? EEG, oil temp
4
Figure 9.37 The A/D and D/A converters as circuit blocks.
A/D converter and D/A Converters
Analog to Digital Digital to Analog
What parts of your iPhone
operation are Analog ? / Digital
Your internet access: Analog ?
Digital ?
A/D converter
Converts analog signals into binary words
6
Figure 9.38 The analog samples at the output of a D/A converter are usually fed to a sample-and-hold
circuit to obtain the staircase waveform shown. This waveform can then be filtered to obtain the smooth
waveform, shown in color. The time delay usually introduced by the filter is not shown.
D/A Conversion
Normal Output from digital domain is staircase
Filtered to produce smooth Analog output
Conversion accuracy: eg 2-bits
7
Blue line ?
Red ?
• Analog is continuous
• But digital is discrete
• Limited by number
of bits
3-bit conversion example
8
Each binary representation is a “range”
Quantization levels
Eg 5V divided into 8
levels – each 0.625
9
Figure 2.10 A weighted summer.
D/A conversion implementation
Weighted Summing Circuit
vo = - [(Rf / R1) * v1 + (Rf / R2) * v2 +….+ (Rf / Rn) * vn]
in = ?
i = ?
10
Figure 9.39 An N-bit D/A converter using a binary-weighted resistive ladder network.
N-bit D/A Converter Implementation
Binary weighted resistive ladder
digital values control switches S1 - Sn
Analog  Digital Conversion
2-Step Process:
• Quantizing - breaking down analog value to
set of finite states
• Encoding - assigning a digital word or number
to each state
Step 1: Quantizing
Example: a 3 bit A/D , N=23=8 (no. of steps)
0-10V signals.
Separated into discrete
states with 1.25V
increments.
Analog quantization
size:
Q=(Vmax-Vmin)/N =
(10V – 0V)/8 = 1.25V
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
Encoding
give value to each state
Output
States
Output Binary Equivalent
0 000
1 001
2 010
3 011
4 100
5 101
6 110
7 111
Accuracy of A/D Conversion
two ways to improve accuracy:
• Increase resolution: improves accuracy in measuring
analog signal amplitude
• Increase sampling rate: increases max frequency that
can be measured. Eg high pitch audio
A/D Converter Types
– Flash ADC
– Delta-Sigma ADC
– Dual Slope (integrating) ADC
– Successive Approximation ADC
ADC Resolution Comparison
0 5 10 15 20 25
Sigma-Delta
Successive Approx
Flash
Dual Slope
Resolution (Bits)
Type Speed (relative) Cost (relative)
Dual Slope Slow Med
Flash Very Fast High
Successive Appox Medium – Fast Low
Sigma-Delta Slow Low
ADC Types Comparison
17
Figure 9.43 A simple feedback-type A/D converter.
Analog to Digital Converter
Simple, Cheap but slow : (SAR)
Increment counter  D/A  compare
D
I
G
I
T
A
L
A
N
A
L
O
G
PIC microcontroller A/D
10-bit resolution
controlled by
program. registers
18
If 0-5V range
What is pic resolution
What is 3.65V
In digital domain ?
8 Analog channels
Flash ADC
• series of comparators, each one compares
input to a unique reference voltage.
• comparator outputs connect to a priority
encoder circuit  produces binary output
20
Figure 9.45 Parallel, simultaneous, or flash A/D conversion.
Flash Analog to Digital Converter
Fast – but more expensive :
Single cycle - Uses many Comparators in parallel with
different reference voltages
Analog
Digital
• 2N-1 comparators for N-bits
• Each reference voltage
equivalent to a quantization
level
• Encoding logic produces
word
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.
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
23
Figure 9.46 Charge-redistribution A/D converter suitable for CMOS implementation: (a) sample phase, (b) hold
phase, and (c) charge-redistribution phase.
A / D Converter
– CMOS
Implementation
Charge-redistribution
A/D
FYI

More Related Content

What's hot

Instrumentation amplifier
Instrumentation amplifierInstrumentation amplifier
Instrumentation amplifiermohdabuzar5
 
Cascaded differential amplifier
Cascaded differential amplifierCascaded differential amplifier
Cascaded differential amplifierHasit Trivedi
 
Data converter fundamentals
Data converter fundamentalsData converter fundamentals
Data converter fundamentalsAbhishek Kadam
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...Nidhi Baranwal
 
Analog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfAnalog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfEngineering Funda
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuitsMahesh_Naidu
 
Digital communication systems
Digital communication systemsDigital communication systems
Digital communication systemsNisreen Bashar
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3Anil Nigam
 
BJT- Emitter Follower Circuit
BJT- Emitter Follower CircuitBJT- Emitter Follower Circuit
BJT- Emitter Follower CircuitDr Piyush Charan
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation pptsanjeev2419
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1Mukesh Tekwani
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor LogicDiwaker Pant
 

What's hot (20)

Ditial to Analog Converter
Ditial to Analog ConverterDitial to Analog Converter
Ditial to Analog Converter
 
Instrumentation amplifier
Instrumentation amplifierInstrumentation amplifier
Instrumentation amplifier
 
Cascaded differential amplifier
Cascaded differential amplifierCascaded differential amplifier
Cascaded differential amplifier
 
ADC & DAC
ADC & DACADC & DAC
ADC & DAC
 
Voltage regulators
Voltage regulatorsVoltage regulators
Voltage regulators
 
Data converter fundamentals
Data converter fundamentalsData converter fundamentals
Data converter fundamentals
 
Digital modulation techniques...
Digital modulation techniques...Digital modulation techniques...
Digital modulation techniques...
 
Directional couplers 22
Directional couplers 22Directional couplers 22
Directional couplers 22
 
Analog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdfAnalog Electronics interview and viva questions.pdf
Analog Electronics interview and viva questions.pdf
 
Chebyshev filter
Chebyshev filterChebyshev filter
Chebyshev filter
 
Sample and hold circuit
Sample and hold circuitSample and hold circuit
Sample and hold circuit
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
CMOS logic circuits
CMOS logic circuitsCMOS logic circuits
CMOS logic circuits
 
Digital communication systems
Digital communication systemsDigital communication systems
Digital communication systems
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3
 
BJT- Emitter Follower Circuit
BJT- Emitter Follower CircuitBJT- Emitter Follower Circuit
BJT- Emitter Follower Circuit
 
Pulse Modulation ppt
Pulse Modulation pptPulse Modulation ppt
Pulse Modulation ppt
 
Operational Amplifier Part 1
Operational Amplifier Part 1Operational Amplifier Part 1
Operational Amplifier Part 1
 
Pass Transistor Logic
Pass Transistor LogicPass Transistor Logic
Pass Transistor Logic
 

Similar to Data-Converter Circuits Explained: A/D and D/A Conversion

Similar to Data-Converter Circuits Explained: A/D and D/A Conversion (20)

adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Microprocesser
MicroprocesserMicroprocesser
Microprocesser
 
analog to digital converter.ppt
analog to digital converter.pptanalog to digital converter.ppt
analog to digital converter.ppt
 
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
 
Data convertors
Data convertorsData convertors
Data convertors
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
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
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Top schools in noida
Top schools in noidaTop schools in noida
Top schools in noida
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
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
 
simple ADC Interfacing
simple ADC Interfacingsimple ADC Interfacing
simple ADC Interfacing
 
Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)Pic ppt 13104022(4th_year)
Pic ppt 13104022(4th_year)
 
Analog to Digital Converter
Analog to Digital ConverterAnalog to Digital Converter
Analog to Digital Converter
 
Adc
AdcAdc
Adc
 
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
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
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 2
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 

Recently uploaded

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 

Recently uploaded (20)

A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 

Data-Converter Circuits Explained: A/D and D/A Conversion

  • 2. Analog Signals every where Examples of A/D • Microphones - take your voice varying pressure waves in the air and convert them into varying electrical signals • Seat Belt- • Thermocouple – temperature measuring device converts thermal energy to electric energy • Voltmeters • Digital Multimeters • ADSL
  • 3. 3 Figure 9.36 The process of periodically sampling an analog signal. (a) Sample-and-hold (S/H) circuit. The switch closes for a small part (t seconds) of every clock period (T). (b) Input signal waveform. (c) Sampling signal (control signal for the switch). (d) Output signal (to be fed to A/D converter). Need to Sample an analog signal Then convert to digital by A/D converter Most signals are analog Are sensor outputs Analog ? Eg. Seatbelt ? EEG, oil temp
  • 4. 4 Figure 9.37 The A/D and D/A converters as circuit blocks. A/D converter and D/A Converters Analog to Digital Digital to Analog What parts of your iPhone operation are Analog ? / Digital Your internet access: Analog ? Digital ?
  • 5. A/D converter Converts analog signals into binary words
  • 6. 6 Figure 9.38 The analog samples at the output of a D/A converter are usually fed to a sample-and-hold circuit to obtain the staircase waveform shown. This waveform can then be filtered to obtain the smooth waveform, shown in color. The time delay usually introduced by the filter is not shown. D/A Conversion Normal Output from digital domain is staircase Filtered to produce smooth Analog output
  • 7. Conversion accuracy: eg 2-bits 7 Blue line ? Red ? • Analog is continuous • But digital is discrete • Limited by number of bits
  • 8. 3-bit conversion example 8 Each binary representation is a “range” Quantization levels Eg 5V divided into 8 levels – each 0.625
  • 9. 9 Figure 2.10 A weighted summer. D/A conversion implementation Weighted Summing Circuit vo = - [(Rf / R1) * v1 + (Rf / R2) * v2 +….+ (Rf / Rn) * vn] in = ? i = ?
  • 10. 10 Figure 9.39 An N-bit D/A converter using a binary-weighted resistive ladder network. N-bit D/A Converter Implementation Binary weighted resistive ladder digital values control switches S1 - Sn
  • 11. Analog  Digital Conversion 2-Step Process: • Quantizing - breaking down analog value to set of finite states • Encoding - assigning a digital word or number to each state
  • 12. Step 1: Quantizing Example: a 3 bit A/D , N=23=8 (no. of steps) 0-10V signals. Separated into discrete states with 1.25V increments. Analog quantization size: Q=(Vmax-Vmin)/N = (10V – 0V)/8 = 1.25V 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
  • 13. Encoding give value to each state Output States Output Binary Equivalent 0 000 1 001 2 010 3 011 4 100 5 101 6 110 7 111
  • 14. Accuracy of A/D Conversion two ways to improve accuracy: • Increase resolution: improves accuracy in measuring analog signal amplitude • Increase sampling rate: increases max frequency that can be measured. Eg high pitch audio
  • 15. A/D Converter Types – Flash ADC – Delta-Sigma ADC – Dual Slope (integrating) ADC – Successive Approximation ADC
  • 16. ADC Resolution Comparison 0 5 10 15 20 25 Sigma-Delta Successive Approx Flash Dual Slope Resolution (Bits) Type Speed (relative) Cost (relative) Dual Slope Slow Med Flash Very Fast High Successive Appox Medium – Fast Low Sigma-Delta Slow Low ADC Types Comparison
  • 17. 17 Figure 9.43 A simple feedback-type A/D converter. Analog to Digital Converter Simple, Cheap but slow : (SAR) Increment counter  D/A  compare D I G I T A L A N A L O G
  • 18. PIC microcontroller A/D 10-bit resolution controlled by program. registers 18 If 0-5V range What is pic resolution What is 3.65V In digital domain ? 8 Analog channels
  • 19. Flash ADC • series of comparators, each one compares input to a unique reference voltage. • comparator outputs connect to a priority encoder circuit  produces binary output
  • 20. 20 Figure 9.45 Parallel, simultaneous, or flash A/D conversion. Flash Analog to Digital Converter Fast – but more expensive : Single cycle - Uses many Comparators in parallel with different reference voltages Analog Digital • 2N-1 comparators for N-bits • Each reference voltage equivalent to a quantization level • Encoding logic produces word
  • 21. 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.
  • 22. 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
  • 23. 23 Figure 9.46 Charge-redistribution A/D converter suitable for CMOS implementation: (a) sample phase, (b) hold phase, and (c) charge-redistribution phase. A / D Converter – CMOS Implementation Charge-redistribution A/D FYI