SlideShare ist ein Scribd-Unternehmen logo
1 von 14
ANALOG TO DIGITAL &
DIGITAL TO ANALOG CONVERSION
Prepared by:-
Kunj Patel (140410116058)
ANALOG-TO-DIGITAL CONVERTERS
 Why Analog?
• Not everything is digital!
• Even digital signaling has analog aspects (!?)
• Analog circuits and analysis are still necessary
• Physical phenomena (i.e., the real world) are
usually analog
• Many sensors are analog (potentiometer,
phototransistor, thermo-sensor, microphone)
• Many actuators are analog (solenoid, speakers)
• Some signals need to be processed in analog domain
before conversion to digital (amplification, filtering,
linearization)
ANALOG-TO-DIGITAL CONVERTERS
proportionality
Vmax = 7.5V
0V
1111
1110
0000
0010
0100
0110
1000
1010
1100
0001
0011
0101
0111
1001
1011
1101
0.5V
1.0V
1.5V
2.0V
2.5V
3.0V
3.5V
4.0V
4.5V
5.0V
5.5V
6.0V
6.5V
7.0V
analog to digital
4
3
2
1
t1 t2 t3 t4
0100 1000 0110 0101
time
analoginput(V)
Digital output
digital to analog
4
3
2
1
0100 1000 0110 0101
t1 t2 t3 t4
time
analogoutput(V)
Digital input
ANALOG TO DIGITAL CONVERSION
Instantaneous amplitudes of
continuous analog signal, measured
at equally spaced points in time.
A series of “snapshots”
Error=1/2 LSB
ANALOG TO DIGITAL CONVERSION
5
[a.k.a. “sample word length,” “bit depth”]
Precision of numbers used for
measurement: the more bits, the higher
the resolution.
Example: 16 bit
Sampling Rate
How often analog signal is measured
Sampling Resolution
[samples per second, Hz]
Example: 44,100 Hz
SAMPLING RATE
6
Nyquist Theorem:
Sampling rate must be at least twice as high as
the highest frequency you want to represent.
Determines the highest frequency that you
can represent with a digital signal.
Capturing just the crest and trough of a sine
wave will represent the wave exactly.
DIGITAL AND ANALOG CONVERSION
 A/D transfer function:
 10-bit ADC converter
 1024 voltage levels between 0V and
VREF
 10-bit digital value
 Usually VDD=VREF
 (e-Vmin)/(Vmax-Vmin)=d/(2^n-
1),
 When Vmin=0:
 e/Vmax=D/(2^n-1)
 In general
 Vmax match 2^n-1
 Vmin match 0
 How does D/A and A/D
conversion work?
DIGITAL AND ANALOG CONVERSION
 D/A is simpler than A/D
 Different resisters and an inverted OpAmp, to
implement a weighted summer.
 Example: 4-bit D/A
 If D3D2D1D0=0001 (i.e., 0V,0V,0V,-5V)
 Vo=-1.1*(D0/17.6+D1/8.8+D2/4.4+D2/2.2)
=0.3125V
 If D3D2D1D0=1111 (i.e., -5V,-5V,-5V,-5V)
 Vo=-1.1*(D0/17.6+D1/8.8+D2/4.4+D2/2.2)
=4.6875V
DIGITAL AND ANALOG CONVERSION
 Use D/A converter to generate
different analog values and
compare
 Control logic decides which values to try
 When comparison complete, best match
is put on output
 How can D/A be matched to
input in fewest steps?
comp
VIN
D/A
converter
A/D control
logic
10-bit test value
clock
10-bit output
start
conversion
conversion
complete
SUCCESSIVE APPROXIMATION (SAR) ADC
 Matching strategies:
 Counting conversion (slow)
 Successive approximation (faster)
 Successive Approximation:
 Basically binary search:
 Exact 10 steps instead of
1024, SAR is fast!
XXX
0XX 1XX
00X 01X 11X10X
000 001 010 011 100 101 110 111
XXX
<100?
0XX
<010?
1XX
<110?
00X
<001?
01X
<011?
10X
<101?
11X
<111?
DIGITAL-TO-ANALOG CONVERSION USING
SUCCESSIVE APPROXIMATION
Given an analog input signal whose voltage should range from 0 to 15 volts, and an 8-bit digital encoding, calculate the correct encoding for
5 volts. Then trace the successive-approximation approach to find the correct encoding.
5/15 = d/(28 - 1)=d/255
d= 85
Successive-approximation method
0 1 0 0 0 0 0 0
Encoding: 01010101
½(Vmax + Vmin) = 7.5 volts
Vmax = 7.5 volts.
½(7.5 + 0) = 3.75 volts
Vmin = 3.75 volts.
0 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0½(7.5 + 3.75) = 5.63 volts
Vmax = 5.63 volts
½(5.63 + 3.75) = 4.69 volts
Vmin = 4.69 volts.
0 1 0 1 0 0 0 0
½(5.63 + 4.69) = 5.16 volts
Vmax = 5.16 volts.
0 1 0 1 0 0 0 0
½(5.16 + 4.69) = 4.93 volts
Vmin = 4.93 volts.
0 1 0 1 0 1 0 0
½(5.16 + 4.93) = 5.05 volts
Vmax = 5.05 volts.
0 1 0 1 0 1 0 0
½(5.05 + 4.93) = 4.99 volts 0 1 0 1 0 1 0 1
3-BIT QUANTIZATION
A 3-bit binary (base 2) number has 23 = 8 values.
0
1
2
3
4
5
6
7
A rough approximation
Amplitude
Time — measure amp. at each tick of sample clock
COMMON SAMPLING RATES
Sampling Rate Uses
44.1 kHz (44100) CD, DAT
48 kHz (48000) DAT, DV, DVD-Video
96 kHz (96000) DVD-Audio
22.05 kHz (22050) Old samplers
Most software can handle all these rates.
Which rates can represent the range of
frequencies audible by (fresh) ears?
Analog to Digital , Digital to Analog Conversion

Weitere ähnliche Inhalte

Was ist angesagt?

Chapter 6m
Chapter 6mChapter 6m
Chapter 6m
wafaa_A7
 

Was ist angesagt? (20)

Companding & Pulse Code Modulation
Companding & Pulse Code ModulationCompanding & Pulse Code Modulation
Companding & Pulse Code Modulation
 
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift KeyingPhase Shift Keying & π/4 -Quadrature Phase Shift Keying
Phase Shift Keying & π/4 -Quadrature Phase Shift Keying
 
Analog to digital converters, adc
Analog to digital converters, adcAnalog to digital converters, adc
Analog to digital converters, adc
 
Adaptive equalization
Adaptive equalizationAdaptive equalization
Adaptive equalization
 
Vlsi stick daigram (JCE)
Vlsi stick daigram (JCE)Vlsi stick daigram (JCE)
Vlsi stick daigram (JCE)
 
Mimo in Wireless Communication
Mimo in Wireless CommunicationMimo in Wireless Communication
Mimo in Wireless Communication
 
Pulse modulation
Pulse modulationPulse modulation
Pulse modulation
 
8-PSK(Digital Communication Technique)
8-PSK(Digital Communication Technique)8-PSK(Digital Communication Technique)
8-PSK(Digital Communication Technique)
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...Lecture Notes:  EEEC6440315 Communication Systems - Inter Symbol Interference...
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
 
Op amp application as Oscillator
Op amp application as Oscillator Op amp application as Oscillator
Op amp application as Oscillator
 
Diversity Techniques in Wireless Communication
Diversity Techniques in Wireless CommunicationDiversity Techniques in Wireless Communication
Diversity Techniques in Wireless Communication
 
Ec 2401 wireless communication unit 2
Ec 2401 wireless communication   unit 2Ec 2401 wireless communication   unit 2
Ec 2401 wireless communication unit 2
 
Pn sequence
Pn sequencePn sequence
Pn sequence
 
Analog to Digital Conversion
Analog to Digital ConversionAnalog to Digital Conversion
Analog to Digital Conversion
 
Convolutional codes
Convolutional codesConvolutional codes
Convolutional codes
 
Digital modulation techniques
Digital modulation techniquesDigital modulation techniques
Digital modulation techniques
 
Chapter 6m
Chapter 6mChapter 6m
Chapter 6m
 
Chapter 03 cyclic codes
Chapter 03   cyclic codesChapter 03   cyclic codes
Chapter 03 cyclic codes
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 

Andere mochten auch

Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
Engr Ahmad Khan
 
Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
WaseemKhan00
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
DJNila
 
Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process
riley Mcclaflin
 
Assignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjeeAssignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjee
Soumit Mukherjee
 
Data Encoding
Data EncodingData Encoding
Data Encoding
Luka M G
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
Firman Bachtiar
 

Andere mochten auch (20)

DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Digital to analog conversion
Digital to analog conversionDigital to analog conversion
Digital to analog conversion
 
ADC and DAC Best Ever Pers
ADC and DAC Best Ever PersADC and DAC Best Ever Pers
ADC and DAC Best Ever Pers
 
The analog to digital conversion process
The analog to digital conversion processThe analog to digital conversion process
The analog to digital conversion process
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process Analog-to-Digital Conversion Process
Analog-to-Digital Conversion Process
 
Assignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjeeAssignment2 analog to digital conversion soumit_mukherjee
Assignment2 analog to digital conversion soumit_mukherjee
 
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16ADC - Analog to Digital  Conversion on AVR microcontroller Atmega16
ADC - Analog to Digital Conversion on AVR microcontroller Atmega16
 
Data Encoding
Data EncodingData Encoding
Data Encoding
 
Arduino report objective
Arduino report objectiveArduino report objective
Arduino report objective
 
ANALOG TO DIGITAL CONVERSION
ANALOG TO DIGITAL CONVERSIONANALOG TO DIGITAL CONVERSION
ANALOG TO DIGITAL CONVERSION
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Lecture6
Lecture6Lecture6
Lecture6
 
Analog to Digital Conversion Basics
Analog to Digital Conversion BasicsAnalog to Digital Conversion Basics
Analog to Digital Conversion Basics
 
Analog to-digital conversion
Analog to-digital conversionAnalog to-digital conversion
Analog to-digital conversion
 
Analog-to-Digital Conversion
Analog-to-Digital ConversionAnalog-to-Digital Conversion
Analog-to-Digital Conversion
 
Analog to digital conversion
Analog to digital conversionAnalog to digital conversion
Analog to digital conversion
 
Analog to digital conversion technique
Analog to digital conversion techniqueAnalog to digital conversion technique
Analog to digital conversion technique
 

Ähnlich wie Analog to Digital , Digital to Analog 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 three
YemaneBayray
 
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
AbdullahOmar64
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
ssuserf2cc17
 
Analog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.pptAnalog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.ppt
BEVARAVASUDEVAAP1813
 
Flyback Converter using PWM IC(LTspice Version)
Flyback Converter using PWM IC(LTspice Version)Flyback Converter using PWM IC(LTspice Version)
Flyback Converter using PWM IC(LTspice Version)
Tsuyoshi Horigome
 

Ähnlich wie Analog to Digital , Digital to Analog Conversion (20)

Lab 7 Report Voltage Comparators and Schmitt Triggers
Lab 7 Report Voltage Comparators and Schmitt TriggersLab 7 Report Voltage Comparators and Schmitt Triggers
Lab 7 Report Voltage Comparators and Schmitt Triggers
 
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
 
Amvdd Data Converter Fundamentals
Amvdd Data Converter FundamentalsAmvdd Data Converter Fundamentals
Amvdd Data Converter Fundamentals
 
ADC & DAC
ADC & DAC ADC & DAC
ADC & DAC
 
ASP
ASPASP
ASP
 
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
 
Circuit Design using TI
Circuit Design using TICircuit Design using TI
Circuit Design using TI
 
000715
000715000715
000715
 
Temperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capabilityTemperature Monitoring System with remote calibration capability
Temperature Monitoring System with remote calibration capability
 
Adc dac converter
Adc dac converterAdc dac converter
Adc dac converter
 
Prese000
Prese000Prese000
Prese000
 
Voltage to-frequency and frequency-to-voltage converter
Voltage to-frequency and frequency-to-voltage converterVoltage to-frequency and frequency-to-voltage converter
Voltage to-frequency and frequency-to-voltage converter
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 
Analog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.pptAnalog-Digital-Converter for nyquiest model.ppt
Analog-Digital-Converter for nyquiest model.ppt
 
Analog-Digital-Converter.ppt
Analog-Digital-Converter.pptAnalog-Digital-Converter.ppt
Analog-Digital-Converter.ppt
 
Flyback Converter using PWM IC(LTspice Version)
Flyback Converter using PWM IC(LTspice Version)Flyback Converter using PWM IC(LTspice Version)
Flyback Converter using PWM IC(LTspice Version)
 
Plc analog Tutorial
Plc analog TutorialPlc analog Tutorial
Plc analog Tutorial
 
Lab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersLab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational Amplifiers
 
000669
000669000669
000669
 

Mehr von Kunj Patel (7)

presentation strategies
presentation strategiespresentation strategies
presentation strategies
 
Divergence,curl,gradient
Divergence,curl,gradientDivergence,curl,gradient
Divergence,curl,gradient
 
Refrigeration system
Refrigeration systemRefrigeration system
Refrigeration system
 
Presentation strategies
Presentation strategiesPresentation strategies
Presentation strategies
 
vcla
vclavcla
vcla
 
Architectural acoustics, New engineering materials ,ultrasoni
Architectural acoustics, New engineering materials ,ultrasoniArchitectural acoustics, New engineering materials ,ultrasoni
Architectural acoustics, New engineering materials ,ultrasoni
 
Ela bhat
Ela bhatEla bhat
Ela bhat
 

Kürzlich hochgeladen

AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 

Kürzlich hochgeladen (20)

data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
(INDIRA) Call Girl Meerut Call Now 8617697112 Meerut Escorts 24x7
 
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICSUNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
UNIT-IFLUID PROPERTIES & FLOW CHARACTERISTICS
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Ramesh Nagar Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
UNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular ConduitsUNIT-II FMM-Flow Through Circular Conduits
UNIT-II FMM-Flow Through Circular Conduits
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 

Analog to Digital , Digital to Analog Conversion

  • 1. ANALOG TO DIGITAL & DIGITAL TO ANALOG CONVERSION Prepared by:- Kunj Patel (140410116058)
  • 2. ANALOG-TO-DIGITAL CONVERTERS  Why Analog? • Not everything is digital! • Even digital signaling has analog aspects (!?) • Analog circuits and analysis are still necessary • Physical phenomena (i.e., the real world) are usually analog • Many sensors are analog (potentiometer, phototransistor, thermo-sensor, microphone) • Many actuators are analog (solenoid, speakers) • Some signals need to be processed in analog domain before conversion to digital (amplification, filtering, linearization)
  • 3. ANALOG-TO-DIGITAL CONVERTERS proportionality Vmax = 7.5V 0V 1111 1110 0000 0010 0100 0110 1000 1010 1100 0001 0011 0101 0111 1001 1011 1101 0.5V 1.0V 1.5V 2.0V 2.5V 3.0V 3.5V 4.0V 4.5V 5.0V 5.5V 6.0V 6.5V 7.0V analog to digital 4 3 2 1 t1 t2 t3 t4 0100 1000 0110 0101 time analoginput(V) Digital output digital to analog 4 3 2 1 0100 1000 0110 0101 t1 t2 t3 t4 time analogoutput(V) Digital input
  • 4. ANALOG TO DIGITAL CONVERSION Instantaneous amplitudes of continuous analog signal, measured at equally spaced points in time. A series of “snapshots” Error=1/2 LSB
  • 5. ANALOG TO DIGITAL CONVERSION 5 [a.k.a. “sample word length,” “bit depth”] Precision of numbers used for measurement: the more bits, the higher the resolution. Example: 16 bit Sampling Rate How often analog signal is measured Sampling Resolution [samples per second, Hz] Example: 44,100 Hz
  • 6. SAMPLING RATE 6 Nyquist Theorem: Sampling rate must be at least twice as high as the highest frequency you want to represent. Determines the highest frequency that you can represent with a digital signal. Capturing just the crest and trough of a sine wave will represent the wave exactly.
  • 7. DIGITAL AND ANALOG CONVERSION  A/D transfer function:  10-bit ADC converter  1024 voltage levels between 0V and VREF  10-bit digital value  Usually VDD=VREF  (e-Vmin)/(Vmax-Vmin)=d/(2^n- 1),  When Vmin=0:  e/Vmax=D/(2^n-1)  In general  Vmax match 2^n-1  Vmin match 0  How does D/A and A/D conversion work?
  • 8. DIGITAL AND ANALOG CONVERSION  D/A is simpler than A/D  Different resisters and an inverted OpAmp, to implement a weighted summer.  Example: 4-bit D/A  If D3D2D1D0=0001 (i.e., 0V,0V,0V,-5V)  Vo=-1.1*(D0/17.6+D1/8.8+D2/4.4+D2/2.2) =0.3125V  If D3D2D1D0=1111 (i.e., -5V,-5V,-5V,-5V)  Vo=-1.1*(D0/17.6+D1/8.8+D2/4.4+D2/2.2) =4.6875V
  • 9. DIGITAL AND ANALOG CONVERSION  Use D/A converter to generate different analog values and compare  Control logic decides which values to try  When comparison complete, best match is put on output  How can D/A be matched to input in fewest steps? comp VIN D/A converter A/D control logic 10-bit test value clock 10-bit output start conversion conversion complete
  • 10. SUCCESSIVE APPROXIMATION (SAR) ADC  Matching strategies:  Counting conversion (slow)  Successive approximation (faster)  Successive Approximation:  Basically binary search:  Exact 10 steps instead of 1024, SAR is fast! XXX 0XX 1XX 00X 01X 11X10X 000 001 010 011 100 101 110 111 XXX <100? 0XX <010? 1XX <110? 00X <001? 01X <011? 10X <101? 11X <111?
  • 11. DIGITAL-TO-ANALOG CONVERSION USING SUCCESSIVE APPROXIMATION Given an analog input signal whose voltage should range from 0 to 15 volts, and an 8-bit digital encoding, calculate the correct encoding for 5 volts. Then trace the successive-approximation approach to find the correct encoding. 5/15 = d/(28 - 1)=d/255 d= 85 Successive-approximation method 0 1 0 0 0 0 0 0 Encoding: 01010101 ½(Vmax + Vmin) = 7.5 volts Vmax = 7.5 volts. ½(7.5 + 0) = 3.75 volts Vmin = 3.75 volts. 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0½(7.5 + 3.75) = 5.63 volts Vmax = 5.63 volts ½(5.63 + 3.75) = 4.69 volts Vmin = 4.69 volts. 0 1 0 1 0 0 0 0 ½(5.63 + 4.69) = 5.16 volts Vmax = 5.16 volts. 0 1 0 1 0 0 0 0 ½(5.16 + 4.69) = 4.93 volts Vmin = 4.93 volts. 0 1 0 1 0 1 0 0 ½(5.16 + 4.93) = 5.05 volts Vmax = 5.05 volts. 0 1 0 1 0 1 0 0 ½(5.05 + 4.93) = 4.99 volts 0 1 0 1 0 1 0 1
  • 12. 3-BIT QUANTIZATION A 3-bit binary (base 2) number has 23 = 8 values. 0 1 2 3 4 5 6 7 A rough approximation Amplitude Time — measure amp. at each tick of sample clock
  • 13. COMMON SAMPLING RATES Sampling Rate Uses 44.1 kHz (44100) CD, DAT 48 kHz (48000) DAT, DV, DVD-Video 96 kHz (96000) DVD-Audio 22.05 kHz (22050) Old samplers Most software can handle all these rates. Which rates can represent the range of frequencies audible by (fresh) ears?