Dsp Chapter 1
Dsp Chapter 1
Introduction To
Digital Signal
Processing
What is DSP?
2
Digital Signal Processing
digital digital
signal signal
analog analog
signal A/D DSP D/A signal
Pros
Accuracy can be controlled by choosing word length
Repeatable
Sensitivity to electrical noise is minimal
Dynamic range can be controlled using floating point numbers
Flexibility can be achieved with software implementations
Non-linear and time-varying operations are easier to implement
Digital storage is cheap
Digital information can be encrypted for security
Price/performance and reduced time-to-market
Cons
Sampling causes loss of information
A/D and D/A requires mixed-signal hardware
Limited speed of processors
Quantization and round-off errors
351M Digital Signal Processing (Spring 2005) Copyright (C) 2005 Güner
Arslan
Analog-Digital
Examples of analog technology
photocopiers
telephones
audio tapes
televisions (intensity and color info per scan
line)
VCRs (same as TV)
Examples of digital technology
Digital computers!
Why NOT go digital?
Quantization
Converts actual sample values (usually voltage
measurements) into an integer approximation
Process of rounding off a continuous value so that it can
be represented by a fixed number of binary digits
Tradeoff between number of bits required and error
Human perception limitations affect allowable error
Specific application affects allowable error
Two approaches to quantization
Rounding the sample to the closest integer.
(e.g. round 3.14 to 3)
Create a Quantizer table that generates a staircase
pattern of values based on a step size.
14
Analog-Digital Converter (ADC)
Analog-to-Digital Converter
Quantizing
and
Encoding
Sampling and
Hold
t
Input: Analog t
Signal
ADC Process
Sampling & Hold
Quantizing Encoding
Separating the input Assigning a unique
signal into a discrete digital code to each
states with K state for input into
increments the microprocessor
K=2N
N is the number of bits
of the ADC
Analog quantization
size
Q=(Vmax-Vmin)/2N
Q is the Resolution
Digital-to-Analog Conversion