SlideShare a Scribd company logo
1 of 19
Spring 2020 (Online Learning)
EEE324 - Digital Signal Processing
Lecture 2: Practical A/D Converters And D/A Converters
Department of Electrical and Computer Engineering
COMSATS University Islamabad, Lahore Campus
Resources
Textbook
โ€ข Digital Signal Processing: Principles, Algorithms and Applications by John G. Proakis and Dimitris K Manolakis
(P&M)
Reference Books
โ€ข Discrete-Time Signal Processing by Alan V. Oppenheim, Ronald. W. Schafer, Pearson Education (OS)
โ€ข Digital Signal Processing: A Computer-based approach by Sanjit K. Mitra, McGraw-Hill Science (SKM)
โ€ข Signals and Systems by Alan V. Oppenheim, Alan S. Willsky and with S. Hamid (OW&N)
Reading Material
โ€ข Chapter 6 โ€“ Sect. 6.3 of Proakis & Manolakis
Course Contents
Review of Signals & Systems Concepts, Introduction to DSP Theory and Applications, A/D and
D/A Signal Transformation, Sampling & Quantization of Signals, Digital Signals in Time and
Frequency Domains, Discrete Fourier Transform and Fast Fourier Transform, Circular
Convolution & Methods of Linear Filtering, Discrete Time LTI Systems, LTI Systems Analysis in
Time and Frequency Domain and its Stability, z-Transform, Unilateral z-Transform, Digital Filters,
Ideal and Practical Digital Filters, Finite Impulse Response (FIR) Filters, Infinite Impulse
Response (IIR) Filters, Realization of Digital Filters, DSP Algorithms and their Implementation
Issues, DSP Processors, DSP Applications
Course Learning Outcomes (CLOs)
1. Apply all the concepts of the signal and systems, their mathematical description/ representation and
transformations in discrete domain to understand and analyze discrete time LTI systems. (PLO1-C3)
2. Analyze the discrete systems using Fast Fourier Transform (FFT) and filter realization techniques for
discrete time signal processing. (PLO2-C4)
3. Design the digital filter using analog and digital techniques for discrete time signal processing (PLO3-
C5)
4. Manipulate the concepts of digital signal processing using software and hardware tools. (PLO5-P5)
5. Explain the concepts of digital signal processing by justifying the lab experiments performed using
software and hardware tools. (PLO10-A4)
6. Demonstrate the concepts of digital signal processing by completing the lab tasks through effective
individual and team work. (PLO9-A3)
Course Breakdown
Weeks
Topic CLO Bloom
Taxonomy
Specific Outcome Contact
Hours
Students
Learning
Hours
Assessment
1.5
Review of Concepts of Signals and
Systems
CLO1 C3
Apply signals and systems concepts to
comprehend digital signal processing
4.5 8
Quiz 1, Assignment 1, S-I,
Terminal
1.5
Time Domain Analysis of Discrete Time
LTI Systems
CLO1 C3
Analyze the discrete time LTI systems using
time domain techniques to learn digital signal
processing
4.5 8
Quiz 1, Assignment 1, S-I,
Terminal
4 LTI systems in Transform Domain CLO1 C3
Apply the transform domain techniques to
analyze LTI systems
12 36
Quiz 1, Assignment 1, SI,
Terminal
1
Sampling and Reconstruction of Signal in
time and frequency Domain
CLO1 C3
Apply time and frequency domain techniques
for sampling and reconstruction of signals
3 7 Assignment 2, S-II, Terminal
3 Implementation of DFT and FFT CLO2 C4
Demonstrate the discrete time signals by
implementing DFT and FFT
9 20
Quiz 2, Assignment 2, S-II,
Terminal
1
Filter Structures using Filter Realization
Techniques
CLO2 C4
Demonstrate the filter realization techniques to
sketch and analyze the filter structures
3 7 Quiz 3, Assignment 3, Terminal
3 Filter Design Techniques CLO3 C5
Design digital filters for DSP using filter
design techniques
9 20 Quiz 4, Assignment 4, Terminal
Lecture Outline
โ€ข Practical Analog-to-Digital Converter
โ€ข Ideal Quantization Operation
โ€ข Ideal Quantization Adds Noise
โ€ข Ideal Quantization Noise Model
โ€ข Ideal Quantization Noise PSD
โ€ข Ideal ADC SNR
โ€ข Non-Ideal ADC Error Sources
ADC
D-T
DAC
x(t)
C-T
Signal
x[n]
Signal
Clock
xฬ‚(t)
C-T
Signal
Now that we have the basic theory for ideal samplingโ€ฆ How do real
ADCs and DACs work?? What are the important aspects to take into
account?
The first step was to see that this is possible:
Can we recover the signal from its ideal samples???!!!
Quantization issues in the ADCs
Sample-and-Hold issues in the DACs
Practical Analog-to-Digital Converter
Quantizer
Stream of
binary words
ADC t
xq[n]
t
x(t)
b bit
Binary
Words
Ideal Quantization Operation
โ€ข An ADCโ€™s number of bits sets the number of levels
โ€“ Let b = # of bits used to represent a level
โ€“ There will be 2b quantizationlevels
โ€ข Each level = (integer)๏‚ด๏„
โ€“ where ๏„ = ADC โ€œresolutionโ€ or โ€œstep sizeโ€
โ€ข Sampled analog value converted to closest quantization level
โ€“ xq= round(x/๏„)๏‚ด๏„
t
โ€“
โ€“
4๏„
3๏„
2๏„
๏„
xq[n]
โ€“๏„
2๏„
3๏„
Ideal ADC Specs
โ€ข Full-Scale Voltage:Vmax
โ€ข Number of bits: b
โ€ข Resolution: ๏„ = 2Vmax / 2b
โ€ข Dynamic Range (DR)
โ€ข Signal-to-Noise Ratio (SNR)
Dynamic Range of Ideal ADC
โ€ข DR = (Power of Max Signal) / (Power of Min Signal)
โ€“ Max Signal = Sinewave with Amplitude of Full Scale
โ€“ Min Signal = Smallest Sinewave That Can Change LSB = ๏„/2
Signal Just Below Min Signal
t
๏„
๏„/2
โ€“๏„/2
โ€“๏„
8
2
2
๏€ฝ
max ๏€ฝ
22b ๏„2
๏€จ๏„2b 2๏€ฉ
2
V 2
Pmax ๏€ฝ
๏„2
8
๏€ฝ
๏€จ๏„2๏€ฉ2
2
min ๏€ฝ
2
V 2
Pmin ๏€ฝ
(dB)
max
P
P
๏€ฝ 6.02b
๏ƒน
๏ƒบ
๏ƒบ๏ƒป
10๏ƒช
๏ƒช๏ƒซ
๏ƒฉ
๏„2 8
22b ๏„2 8
๏€ฝ10log
๏ƒบ
๏ƒน
10๏ƒช
๏ƒซ min ๏ƒป
๏ƒฉ
DR ๏€ฝ10log
6 dB of DR per Bit
b DR
8 48 dB
10 60 dB
12 72 dB
14 84 dB
16 96 dB
Ideal Quantization Adds Noise
โ€ข Quantized Signal = Original + Noise
t
โ€“
โ€“
4๏„
3๏„
2๏„
๏„
xq[k] |error| ๏‚ฃ ๏„/2
โ€“๏„
2๏„
3๏„
t
eq[k] = xq[k] โ€“ x[k]
๏„/2
โ€“๏„/2
xq[k] ๏€ฝ x[k]๏€ซ eq[k]
โ€ข Assume that โ€œerror thenโ€ does not affect โ€œerror nowโ€
โ€“ Error is โ€œuncorrelatedโ€โ€ฆ aka โ€œwhite noiseโ€
โ€“ PSD is flat (โ€œwhiteโ€) Sq( f ) = No
Ideal Quantization Noise Model
error
-๏„/2 ๏„/2
โ€ข Need a Statistical Model
โ€“ Prob. Density Function (PDF)
โ€“ Power Spectral Density (PSD) / Auto-Correlation Function (ACF)
โ€ข Assume that no error value is more likely than others
โ€“ PDF = Uniformly Distributed: U[โ€“๏„/2, ๏„/2]
Histogram
of Error
Ideal Quantization Noise PSD
-5 -4 -3 -2 -1 2 3 4 5
-40
0
-10
-20
-30
0 1
Frequency (kHz)
|DFT|
(dB)
-5 -4 -3 -2 -1 2 3 4 5
-40
0
-10
-20
-30
0 1
Frequency (kHz)
|DFT|
(dB)
PSD w/o Quantization
PSD w/ 5 Bit Quantization
Signal = 3 Sines
Ideal ADC SNR
โ€ข Signal-to-Noise Ratio (SNR)
โ€“ SNRADC = (Signal Power) / (Quant Noise Power)
โ€ข Uniform Quantization Noise: U[โ€“๏„/2, ๏„/2]
โ€“ So Noise Power isโ€ฆ.
โ€ข ADC Specs usually give SNR for โ€œFull-Scaleโ€ Sinewave
๏ป ๏ฝ
2
q q
๏„2
12
P ๏€ฝ E e [k] ๏€ฝ e2
(1/ ๏„) de ๏€ฝ
๏„/2
๏ƒฒ
๏€ญ๏„/2
8
2
2
๏€ฝ
max ๏€ฝ
22b ๏„2
๏€จ๏„2b 2๏€ฉ
2
V 2
Pmax ๏€ฝ
b
q
P
3
Pmax
๏€ฝ 2 4
๏„2 12
๏›
22b 8๏๏„2
๏€ฝ
SNRADC,max ๏€ฝ
SNRADC,max (dB) ๏€ฝ 6.02b ๏€ซ1.76
โ€ข SNRADC,max is only for Full-Scale and Sinusoid
โ€“ For other cases:
โ€“ where C depends on Signal Level and Signalโ€™s Peak Factor(PF)
โ€ข Peak Factor = (Signal Peak Value) / (Signal RMS)
Low PF Signal High PF Signal
Ideal ADC SNR & Peak Factor
SNRADC (dB) ๏€ฝ 6.02b๏€ซ C where C ๏‚ฃ1.76 dB
t t
-21 -18 -15 -12 -9
Peak Factor (dB)
-6 -3
20
10
30
60
50
40
90
80
70
14 bits
12 bits
10 bits
8 bits
6 bits
Note: For Full-Scale Signals Only
Max. Result
SNR
ADC
(dB)
Max. Peak Factor
Impact of PF on Ideal ADC SNR
โ€ข Nonlinearities
โ€“ Nonlinear Relationship Between Input/Output Levels
โ€ข Aperture Jitter
Non-Ideal ADC Error Sources
-1 -0.5 0 0.5 1
-1
1
0.5
0
-0.5
Input Value
Output
Value
โ€“ Variations in Sample Times (arenโ€™t sampling on a regular time grid)
โ€ข Missing Output Code
โ€“ A Binary Code that Never Shows Up Regardless of InputValue
These Errors Cause:
Spurs in the Frequency Domain
Increase in the SNRADC 12/19
-5 -4 -3 -2 2 3 4 5
-40
-35
-15
-20
-25
-30
-10
0
-5
-1 0 1
Frequency (kHz)
|DFT|
(dB)
Signal Spikes
Spurs
Noise Floor
SFDR
Effect of Non-Ideal Error Sources
These are common definitions โ€“ BUT check the data sheet!
โ€ข Signal-to-Noise Ratio (SNR)
โ€“ Ratio of Fundamental Sinusoid Power to Total Noise Power
โ€“ Power of Spurs is Excluded
โ€ข Signal-to-Noise-and-Distortion Ratio (SINAD)
โ€“ Ratio of Fundamental Sinusoid Power to Total Noise and Distortion Power
โ€“ Power of Spurs is Included
โ€ข Effective Number of Bits (ENOB)
โ€“ # of Bits for an Ideal ADC whose Theoretical SNRADC = SINAD ofDevice
โ€ข Spurious-Free Dynamic Range (SFDR)
โ€“ Ratio of Fundamental Sinusoid Power to Largest Spurโ€™s Power
Specifications for Practical ADCs
ENOB ๏€ฝ
SINAD ๏€ญ 1.76
6.02

More Related Content

Similar to Lecture 2- Practical AD and DA Conveters (Online Learning).pptx

Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxHamzaJaved306957
ย 
Lect1a_ basics of DSP.pptx
Lect1a_ basics of DSP.pptxLect1a_ basics of DSP.pptx
Lect1a_ basics of DSP.pptxVarsha506533
ย 
Share Lecture-1.pptx
Share Lecture-1.pptxShare Lecture-1.pptx
Share Lecture-1.pptxFatimaRana38
ย 
dsp.pdf
dsp.pdfdsp.pdf
dsp.pdfNaol Worku
ย 
Analog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition SystemsAnalog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition SystemsMathivanan Natarajan
ย 
PC based oscilloscope
PC based oscilloscopePC based oscilloscope
PC based oscilloscopeVitalij Stepin
ย 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingJim Jenkins
ย 
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...TSC University of Mondragon
ย 
Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPCDisha Modi
ย 
Final presentation
Final presentationFinal presentation
Final presentationRohan Lad
ย 
Titan X Research Paper
Titan X Research PaperTitan X Research Paper
Titan X Research PaperJennifer Wood
ย 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGAIRJET Journal
ย 
01 ece 3125 ~ ece 3242 - sept 10, 2012 - general intro
01   ece 3125 ~ ece 3242 - sept 10, 2012 - general intro01   ece 3125 ~ ece 3242 - sept 10, 2012 - general intro
01 ece 3125 ~ ece 3242 - sept 10, 2012 - general introAhmed Shabeel
ย 
Surrey dl-4
Surrey dl-4Surrey dl-4
Surrey dl-4ozzie73
ย 
3EE1108 Digital Signal Processing
3EE1108  Digital Signal Processing3EE1108  Digital Signal Processing
3EE1108 Digital Signal ProcessingKimberly Pulley
ย 
SylvainFlamantCV
SylvainFlamantCVSylvainFlamantCV
SylvainFlamantCVSylvain Flamant
ย 
Lect1_ DSP.pptx
Lect1_ DSP.pptxLect1_ DSP.pptx
Lect1_ DSP.pptxVarsha506533
ย 

Similar to Lecture 2- Practical AD and DA Conveters (Online Learning).pptx (20)

Thesis
ThesisThesis
Thesis
ย 
Sampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptxSampling and Reconstruction (Online Learning).pptx
Sampling and Reconstruction (Online Learning).pptx
ย 
Lect1a_ basics of DSP.pptx
Lect1a_ basics of DSP.pptxLect1a_ basics of DSP.pptx
Lect1a_ basics of DSP.pptx
ย 
Share Lecture-1.pptx
Share Lecture-1.pptxShare Lecture-1.pptx
Share Lecture-1.pptx
ย 
Unit-1.pptx
Unit-1.pptxUnit-1.pptx
Unit-1.pptx
ย 
dsp.pdf
dsp.pdfdsp.pdf
dsp.pdf
ย 
Analog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition SystemsAnalog to Digital Converters and Data Acquisition Systems
Analog to Digital Converters and Data Acquisition Systems
ย 
add9.5.ppt
add9.5.pptadd9.5.ppt
add9.5.ppt
ย 
PC based oscilloscope
PC based oscilloscopePC based oscilloscope
PC based oscilloscope
ย 
Advanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal ProcessingAdvanced Topics In Digital Signal Processing
Advanced Topics In Digital Signal Processing
ย 
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
Real-time Implementation of Sphere Decoder-based MIMO Wireless System (EUSIPC...
ย 
Speech Compression using LPC
Speech Compression using LPCSpeech Compression using LPC
Speech Compression using LPC
ย 
Final presentation
Final presentationFinal presentation
Final presentation
ย 
Titan X Research Paper
Titan X Research PaperTitan X Research Paper
Titan X Research Paper
ย 
Software Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGASoftware Design of Digital Receiver using FPGA
Software Design of Digital Receiver using FPGA
ย 
01 ece 3125 ~ ece 3242 - sept 10, 2012 - general intro
01   ece 3125 ~ ece 3242 - sept 10, 2012 - general intro01   ece 3125 ~ ece 3242 - sept 10, 2012 - general intro
01 ece 3125 ~ ece 3242 - sept 10, 2012 - general intro
ย 
Surrey dl-4
Surrey dl-4Surrey dl-4
Surrey dl-4
ย 
3EE1108 Digital Signal Processing
3EE1108  Digital Signal Processing3EE1108  Digital Signal Processing
3EE1108 Digital Signal Processing
ย 
SylvainFlamantCV
SylvainFlamantCVSylvainFlamantCV
SylvainFlamantCV
ย 
Lect1_ DSP.pptx
Lect1_ DSP.pptxLect1_ DSP.pptx
Lect1_ DSP.pptx
ย 

Recently uploaded

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
ย 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptNANDHAKUMARA10
ย 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
ย 
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 Bookingdharasingh5698
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
ย 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
ย 
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
ย 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756dollysharma2066
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfRagavanV2
ย 
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.pdfankushspencer015
ย 
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...Call Girls in Nagpur High Profile
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Standamitlee9823
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
ย 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
ย 

Recently uploaded (20)

Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
ย 
Block diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.pptBlock diagram reduction techniques in control systems.ppt
Block diagram reduction techniques in control systems.ppt
ย 
(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
ย 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
ย 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
ย 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
ย 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
ย 
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
ย 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
ย 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
ย 
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...
ย 
(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
ย 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
ย 
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
FULL ENJOY Call Girls In Mahipalpur Delhi Contact Us 8377877756
ย 
Unit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdfUnit 1 - Soil Classification and Compaction.pdf
Unit 1 - Soil Classification and Compaction.pdf
ย 
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
ย 
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...
ย 
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night StandCall Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
Call Girls In Bangalore โ˜Ž 7737669865 ๐Ÿฅต Book Your One night Stand
ย 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
ย 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
ย 

Lecture 2- Practical AD and DA Conveters (Online Learning).pptx

  • 1. Spring 2020 (Online Learning) EEE324 - Digital Signal Processing Lecture 2: Practical A/D Converters And D/A Converters Department of Electrical and Computer Engineering COMSATS University Islamabad, Lahore Campus
  • 2. Resources Textbook โ€ข Digital Signal Processing: Principles, Algorithms and Applications by John G. Proakis and Dimitris K Manolakis (P&M) Reference Books โ€ข Discrete-Time Signal Processing by Alan V. Oppenheim, Ronald. W. Schafer, Pearson Education (OS) โ€ข Digital Signal Processing: A Computer-based approach by Sanjit K. Mitra, McGraw-Hill Science (SKM) โ€ข Signals and Systems by Alan V. Oppenheim, Alan S. Willsky and with S. Hamid (OW&N) Reading Material โ€ข Chapter 6 โ€“ Sect. 6.3 of Proakis & Manolakis
  • 3. Course Contents Review of Signals & Systems Concepts, Introduction to DSP Theory and Applications, A/D and D/A Signal Transformation, Sampling & Quantization of Signals, Digital Signals in Time and Frequency Domains, Discrete Fourier Transform and Fast Fourier Transform, Circular Convolution & Methods of Linear Filtering, Discrete Time LTI Systems, LTI Systems Analysis in Time and Frequency Domain and its Stability, z-Transform, Unilateral z-Transform, Digital Filters, Ideal and Practical Digital Filters, Finite Impulse Response (FIR) Filters, Infinite Impulse Response (IIR) Filters, Realization of Digital Filters, DSP Algorithms and their Implementation Issues, DSP Processors, DSP Applications
  • 4. Course Learning Outcomes (CLOs) 1. Apply all the concepts of the signal and systems, their mathematical description/ representation and transformations in discrete domain to understand and analyze discrete time LTI systems. (PLO1-C3) 2. Analyze the discrete systems using Fast Fourier Transform (FFT) and filter realization techniques for discrete time signal processing. (PLO2-C4) 3. Design the digital filter using analog and digital techniques for discrete time signal processing (PLO3- C5) 4. Manipulate the concepts of digital signal processing using software and hardware tools. (PLO5-P5) 5. Explain the concepts of digital signal processing by justifying the lab experiments performed using software and hardware tools. (PLO10-A4) 6. Demonstrate the concepts of digital signal processing by completing the lab tasks through effective individual and team work. (PLO9-A3)
  • 5. Course Breakdown Weeks Topic CLO Bloom Taxonomy Specific Outcome Contact Hours Students Learning Hours Assessment 1.5 Review of Concepts of Signals and Systems CLO1 C3 Apply signals and systems concepts to comprehend digital signal processing 4.5 8 Quiz 1, Assignment 1, S-I, Terminal 1.5 Time Domain Analysis of Discrete Time LTI Systems CLO1 C3 Analyze the discrete time LTI systems using time domain techniques to learn digital signal processing 4.5 8 Quiz 1, Assignment 1, S-I, Terminal 4 LTI systems in Transform Domain CLO1 C3 Apply the transform domain techniques to analyze LTI systems 12 36 Quiz 1, Assignment 1, SI, Terminal 1 Sampling and Reconstruction of Signal in time and frequency Domain CLO1 C3 Apply time and frequency domain techniques for sampling and reconstruction of signals 3 7 Assignment 2, S-II, Terminal 3 Implementation of DFT and FFT CLO2 C4 Demonstrate the discrete time signals by implementing DFT and FFT 9 20 Quiz 2, Assignment 2, S-II, Terminal 1 Filter Structures using Filter Realization Techniques CLO2 C4 Demonstrate the filter realization techniques to sketch and analyze the filter structures 3 7 Quiz 3, Assignment 3, Terminal 3 Filter Design Techniques CLO3 C5 Design digital filters for DSP using filter design techniques 9 20 Quiz 4, Assignment 4, Terminal
  • 6. Lecture Outline โ€ข Practical Analog-to-Digital Converter โ€ข Ideal Quantization Operation โ€ข Ideal Quantization Adds Noise โ€ข Ideal Quantization Noise Model โ€ข Ideal Quantization Noise PSD โ€ข Ideal ADC SNR โ€ข Non-Ideal ADC Error Sources
  • 7. ADC D-T DAC x(t) C-T Signal x[n] Signal Clock xฬ‚(t) C-T Signal Now that we have the basic theory for ideal samplingโ€ฆ How do real ADCs and DACs work?? What are the important aspects to take into account? The first step was to see that this is possible: Can we recover the signal from its ideal samples???!!! Quantization issues in the ADCs Sample-and-Hold issues in the DACs
  • 8. Practical Analog-to-Digital Converter Quantizer Stream of binary words ADC t xq[n] t x(t) b bit Binary Words
  • 9. Ideal Quantization Operation โ€ข An ADCโ€™s number of bits sets the number of levels โ€“ Let b = # of bits used to represent a level โ€“ There will be 2b quantizationlevels โ€ข Each level = (integer)๏‚ด๏„ โ€“ where ๏„ = ADC โ€œresolutionโ€ or โ€œstep sizeโ€ โ€ข Sampled analog value converted to closest quantization level โ€“ xq= round(x/๏„)๏‚ด๏„ t โ€“ โ€“ 4๏„ 3๏„ 2๏„ ๏„ xq[n] โ€“๏„ 2๏„ 3๏„ Ideal ADC Specs โ€ข Full-Scale Voltage:Vmax โ€ข Number of bits: b โ€ข Resolution: ๏„ = 2Vmax / 2b โ€ข Dynamic Range (DR) โ€ข Signal-to-Noise Ratio (SNR)
  • 10. Dynamic Range of Ideal ADC โ€ข DR = (Power of Max Signal) / (Power of Min Signal) โ€“ Max Signal = Sinewave with Amplitude of Full Scale โ€“ Min Signal = Smallest Sinewave That Can Change LSB = ๏„/2 Signal Just Below Min Signal t ๏„ ๏„/2 โ€“๏„/2 โ€“๏„ 8 2 2 ๏€ฝ max ๏€ฝ 22b ๏„2 ๏€จ๏„2b 2๏€ฉ 2 V 2 Pmax ๏€ฝ ๏„2 8 ๏€ฝ ๏€จ๏„2๏€ฉ2 2 min ๏€ฝ 2 V 2 Pmin ๏€ฝ (dB) max P P ๏€ฝ 6.02b ๏ƒน ๏ƒบ ๏ƒบ๏ƒป 10๏ƒช ๏ƒช๏ƒซ ๏ƒฉ ๏„2 8 22b ๏„2 8 ๏€ฝ10log ๏ƒบ ๏ƒน 10๏ƒช ๏ƒซ min ๏ƒป ๏ƒฉ DR ๏€ฝ10log 6 dB of DR per Bit b DR 8 48 dB 10 60 dB 12 72 dB 14 84 dB 16 96 dB
  • 11. Ideal Quantization Adds Noise โ€ข Quantized Signal = Original + Noise t โ€“ โ€“ 4๏„ 3๏„ 2๏„ ๏„ xq[k] |error| ๏‚ฃ ๏„/2 โ€“๏„ 2๏„ 3๏„ t eq[k] = xq[k] โ€“ x[k] ๏„/2 โ€“๏„/2 xq[k] ๏€ฝ x[k]๏€ซ eq[k]
  • 12. โ€ข Assume that โ€œerror thenโ€ does not affect โ€œerror nowโ€ โ€“ Error is โ€œuncorrelatedโ€โ€ฆ aka โ€œwhite noiseโ€ โ€“ PSD is flat (โ€œwhiteโ€) Sq( f ) = No Ideal Quantization Noise Model error -๏„/2 ๏„/2 โ€ข Need a Statistical Model โ€“ Prob. Density Function (PDF) โ€“ Power Spectral Density (PSD) / Auto-Correlation Function (ACF) โ€ข Assume that no error value is more likely than others โ€“ PDF = Uniformly Distributed: U[โ€“๏„/2, ๏„/2] Histogram of Error
  • 13. Ideal Quantization Noise PSD -5 -4 -3 -2 -1 2 3 4 5 -40 0 -10 -20 -30 0 1 Frequency (kHz) |DFT| (dB) -5 -4 -3 -2 -1 2 3 4 5 -40 0 -10 -20 -30 0 1 Frequency (kHz) |DFT| (dB) PSD w/o Quantization PSD w/ 5 Bit Quantization Signal = 3 Sines
  • 14. Ideal ADC SNR โ€ข Signal-to-Noise Ratio (SNR) โ€“ SNRADC = (Signal Power) / (Quant Noise Power) โ€ข Uniform Quantization Noise: U[โ€“๏„/2, ๏„/2] โ€“ So Noise Power isโ€ฆ. โ€ข ADC Specs usually give SNR for โ€œFull-Scaleโ€ Sinewave ๏ป ๏ฝ 2 q q ๏„2 12 P ๏€ฝ E e [k] ๏€ฝ e2 (1/ ๏„) de ๏€ฝ ๏„/2 ๏ƒฒ ๏€ญ๏„/2 8 2 2 ๏€ฝ max ๏€ฝ 22b ๏„2 ๏€จ๏„2b 2๏€ฉ 2 V 2 Pmax ๏€ฝ b q P 3 Pmax ๏€ฝ 2 4 ๏„2 12 ๏› 22b 8๏๏„2 ๏€ฝ SNRADC,max ๏€ฝ SNRADC,max (dB) ๏€ฝ 6.02b ๏€ซ1.76
  • 15. โ€ข SNRADC,max is only for Full-Scale and Sinusoid โ€“ For other cases: โ€“ where C depends on Signal Level and Signalโ€™s Peak Factor(PF) โ€ข Peak Factor = (Signal Peak Value) / (Signal RMS) Low PF Signal High PF Signal Ideal ADC SNR & Peak Factor SNRADC (dB) ๏€ฝ 6.02b๏€ซ C where C ๏‚ฃ1.76 dB t t
  • 16. -21 -18 -15 -12 -9 Peak Factor (dB) -6 -3 20 10 30 60 50 40 90 80 70 14 bits 12 bits 10 bits 8 bits 6 bits Note: For Full-Scale Signals Only Max. Result SNR ADC (dB) Max. Peak Factor Impact of PF on Ideal ADC SNR
  • 17. โ€ข Nonlinearities โ€“ Nonlinear Relationship Between Input/Output Levels โ€ข Aperture Jitter Non-Ideal ADC Error Sources -1 -0.5 0 0.5 1 -1 1 0.5 0 -0.5 Input Value Output Value โ€“ Variations in Sample Times (arenโ€™t sampling on a regular time grid) โ€ข Missing Output Code โ€“ A Binary Code that Never Shows Up Regardless of InputValue These Errors Cause: Spurs in the Frequency Domain Increase in the SNRADC 12/19
  • 18. -5 -4 -3 -2 2 3 4 5 -40 -35 -15 -20 -25 -30 -10 0 -5 -1 0 1 Frequency (kHz) |DFT| (dB) Signal Spikes Spurs Noise Floor SFDR Effect of Non-Ideal Error Sources
  • 19. These are common definitions โ€“ BUT check the data sheet! โ€ข Signal-to-Noise Ratio (SNR) โ€“ Ratio of Fundamental Sinusoid Power to Total Noise Power โ€“ Power of Spurs is Excluded โ€ข Signal-to-Noise-and-Distortion Ratio (SINAD) โ€“ Ratio of Fundamental Sinusoid Power to Total Noise and Distortion Power โ€“ Power of Spurs is Included โ€ข Effective Number of Bits (ENOB) โ€“ # of Bits for an Ideal ADC whose Theoretical SNRADC = SINAD ofDevice โ€ข Spurious-Free Dynamic Range (SFDR) โ€“ Ratio of Fundamental Sinusoid Power to Largest Spurโ€™s Power Specifications for Practical ADCs ENOB ๏€ฝ SINAD ๏€ญ 1.76 6.02

Editor's Notes

  1. These are the course content of the course. We will cover highlighted contents todayโ€™s lecture.
  2. This lecture will cover the first CLO of the course.
  3. The course breakdown is also highlighted for your information.