SlideShare a Scribd company logo
1 of 66
DIGITAL SIGNAL PROCESSING – An
Introduction
Dr.Y. Narasimha Murthy Ph.D
yayavaram@yahoo.com
Organization
o What is signal processing
o Need of Processing
o Catagories
o Advantages of Digital over analog
o Filters-Analog & Digital
o Comparison
o Digital filters-Types
2/28/2023 Dr.YNM 2
contd
o FIR &IIR
o Advantages-Disadvantages
o Applications of DSP
o Simple Illustrations
o Various types of DSPs
o Microprocessor & Signal processor
o Architecture
o Books &Web resources
2/28/2023 Dr.YNM 3
What is Signal processing?
 Signal processing is the analysis,
interpretation, and manipulation of signals
like sound, images time-varying
measurement values and sensor data etc…
 For example biological data such as
electrocardiograms, control system signals,
telecommunication transmission signals such
as radio signals, and many others.
2/28/2023 Dr.YNM 4
Need of Signal Processing
When a signal is transmitted from one point
to another there is every possibility of
contamination /deformation of the signal
by external noise.
So to retrieve the original signal at the
receiver suitable filters are to be used. i.e
the signal is processed to obtain the pure
signal.
2/28/2023 Dr.YNM 5
Categories of signal processing
 Analog signal processing — for signals that
have not been digitized, as in classical
radio, telephone, radar, and television
systems.
 This involves linear electronic circuits such
as passive filters, active filters, additive
mixers, integrators and delay lines.
2/28/2023 Dr.YNM 6
 It also involves non-linear circuits such as
compandors, multiplicators (frequency mixers
and voltage-controlled amplifiers), voltage-
controlled filters, voltage-controlled oscillators
and phase-locked loops.
 Digital signal processing — for signals that have
been digitized, processing is done by general-
purpose computers or by digital circuits such as
ASICs, field-programmable gate arrays or
specialized digital signal processors (DSP chips).
2/28/2023 Dr.YNM 7
So the processing of the signal helps to estimate
characteristic parameters of the signal and also to
transform the signal in to the desired form.
2/28/2023 Dr.YNM 8
Analog signal processing
The analog signal processing is basically, filtering of
the signal . It can be denoted by the following
diagram.
2/28/2023 Dr.YNM 9
Digital signal processing-Block diagram
The digital signal processor consists of anti-aliasing
filter, analog to digital converter (ADC), a digital filter
represented by the transfer function H(z), a digital to
analog converter and a reconstruction filter.
2/28/2023 Dr.YNM 10
Advantages of Digital over analog
signal processing
 Accuracy: The analog circuits are prone to
temperature and external effects, but the digital
filters have no such problems.
 Flexibility: Reconfiguration of analog filters is
very complex whereas the digital filters can be
reconfigured easily by changing the program
coefficients.
2/28/2023 Dr.YNM 11
 Digital signals can be easily stored on any
magnetic media or optical media are using
semiconductor chips.
 Easy operation: Even complex
mathematical operations can be performed
easily using computers, which is not the
case with analog processing.
2/28/2023 Dr.YNM 12
 Multiplexing: Digital signal processing
provides the way for Integrated service
digital network (ISDN) where digitized
signals can be multiplexed with other
digital data and transmitted through the
same channel.
2/28/2023 Dr.YNM 13
Limitations
There are also certain limitations in DSP.
 Bandwidth restrictions
 Speed limitations
 Finite word length problems.
2/28/2023 Dr.YNM 14
Filters
Any one who observes the DSP block
diagram finds that the filter is the main
component of DSP.
Filters have two uses
a) Signal separation
b) Signal restoration
2/28/2023 Dr.YNM 15
 Signal separation is needed when a signal
has been contaminated with interference,
noise or other signals.
 Signal restoration is used when a signal
has been distorted in some way or other.
For example an audio recording made with
poor equipment may be filtered to get the
original sound.
2/28/2023 Dr.YNM 16
Another example of deblurring of an image
occurred with an improperly focused lens
or a shaky camera.
So these problems can be solved with either
analog or digital filters.
2/28/2023 Dr.YNM 17
Analog filters
Analog filters take the analog signal as input
and process the signal and finally gives the
analog output.
An analog filter is constructed using resistors,
capacitors, active components etc…
2/28/2023 Dr.YNM 18
A simple analog low pass filter is shown
below
2/28/2023 Dr.YNM 19
Coming to advantages of Analog filters they are
cheap and have a large dynamic range in
both amplitude and frequency. But in terms of
performance they are not superior to digital
filters.
2/28/2023 Dr.YNM 20
Digital filters
A digital filter processes and generates digital
data.
A digital filter constitutes elements like adder,
multiplier and delay units.
Digital filters are vastly superior in the level of
performance in comparison to analog filters.
2/28/2023 Dr.YNM 21
A simple digital filter
2/28/2023 Dr.YNM 22
Advantages
There are many advantages with digital
filters.
 Unlike analog filters ,the digital filter
performance is not influenced by
component ageing, temperature and power
variations.
2/28/2023 Dr.YNM 23
 A digital filter is highly immune to noise and
relatively stable.
 Digital filters afford a wide variety of shapes
for the amplitude and phase responses.
 Impedance matching problems are minimum.
2/28/2023 Dr.YNM 24
 Transportation and reconfiguration is very
easy ,which is not true in the case of analog
filters.
 Multiple filtering is possible only in digital
filters.
 Computational problems are minimum.
2/28/2023 Dr.YNM 25
Disadvantages:
There are few disadvantages also.
 Quantization error occurs due to finite word
length in the representation of signals and
parameters.
 Digital filters also suffer from Bandwidth
problems.
2/28/2023 Dr.YNM 26
Differences between analog and
digital filters :
 An analog filter is constructed using active,
passive components like resistors, capacitors
and op amps etc..
A digital filter constitutes adder, multiplier and
delay elements
 An analog filter is denoted by a differential
equation.
A digital filter is denoted by a difference
equation.
2/28/2023 Dr.YNM 27
 Laplace transform is used for the analysis of
analog filter.
Z transforms are used for the analysis of digital
filters.
 The frequency response of an analog filter can
be modified by changing the components.
The frequency response can be changed by
changing the filter coefficients.
2/28/2023 Dr.YNM 28
Types of Digital filters
Broadly speaking ,two types of digital filters
exists.
 FIR Filters(Finite impulse response filters)
 IIR Filters (Infinite Impulse response filters)
2/28/2023 Dr.YNM 29
FIR Filters
The digital filter whose impulse response is of finite
duration is known as Finite impulse response filter.
The response of the FIR filter depends only on the
present and past input samples.
These FIR filters are also called non recursive filters.
So, in FIR the impulse response sequence is of finite
duration, i.e. it has a finite number of non-zero terms.
2/28/2023 Dr.YNM 30
The system with the impulse response
denotes an FIR system.


 

otherwise
n
n
h
0
4
2
)
(
2/28/2023 Dr.YNM 31
Ex: The following difference equation
denotes the finite impulse response filter.
For i<0, y(n)=0 i.e. the impulse response is
finite and it exists only for n>0
)
(
)
(
1
0
i
n
x
b
n
y
N
i
i 
 


2/28/2023 Dr.YNM 32
Advantages of FIR Filters
 FIR filters can be designed with exact linear
phase. These linear phase filters are
important for applications where frequency
dispersion due to non-linear phase is
hazardous. (For example speech processing
and data transmission)
 FIR filters are stable
 Round off noise can be eliminated in FIR
filters
2/28/2023 Dr.YNM 33
 FIR filters can be efficiently implemented in
multirate DSP systems
 FIR filters reduce the computation complexity
2/28/2023 Dr.YNM 34
Disadvantages
 As large number of impulse response
samples are required to properly
approximate sharp cutoff FIR filters the
processing will become complex due to slow
convolution.
 The delay of linear phase FIR filters can
sometimes create problems in some DSP
applications.
2/28/2023 Dr.YNM 35
IIR Filters
The digital filter whose impulse response is of infinite
duration is known as Infinite impulse response filter.
The response of an IIR filter is a function of
current and past input signal samples and past
output signal samples.
It is also called recursive filter.

 





K
k
k
L
l
l k
n
y
B
l
x
x
A
n
y
1
0
)
(
)
(
)
(
2/28/2023 Dr.YNM 36
Ex: A simple first order difference equation
illustrates the IIR filter.
The implementation diagram of first order IIR
filter is shown in the next slide.
)
1
(
.
)
(
)
( 

 n
y
b
n
x
n
y
2/28/2023 Dr.YNM 37
2/28/2023 Dr.YNM 38
Advantages of IIR filters
1. An IIR filter has lesser number of side
lobes in the stop-band than an FIR filter
with the same number of parameters.
2. Also the implementation of an IIR filter
involves fewer parameters, less
memory requirements and lower
computational complexity.
2/28/2023 Dr.YNM 39
Disadvantages
 IIR filters do not have linear phase and
also they are not very stable.
 Realization of IIR filters is not very easy
as compared to FIR filters
 As it is a recursive filter the number of
coefficients is very large and the memory
requirements are also high
2/28/2023 Dr.YNM 40
Applications of DSP
Digital signal processing has variety of
applications in diverse fields like
 Digital filtering
 Spectral analysis
 Speech processing
 Image processing
 Radar and sonar processing
2/28/2023 Dr.YNM 41
 Disk and robot control
 Telecommunication
 Consumer electronics
 Biomedical engineering
 Military applications
2/28/2023 Dr.YNM 42
Let us discuss few examples of DSP in
musical sound processing.
In all musical recordings, the sound from
instruments is recorded in studio and
then special audio effects are added by
manipulating the recorded musical
sounds. The audio effects are artificially
generated using various DSP
techniques.
2/28/2023 Dr.YNM 43
The sound reaching the listeners in a
concert hall during a musical programme
consists of direct sound, early reflections
and reverberations (echoes). But the
sound recorded in a studio is different
and it doesn’t sound natural.
2/28/2023 Dr.YNM 44
So, echoes are simply generated by delay
units. The direct sound and a single echo
appear in K sampling period latter can be
generated by the FIR filter with the system
function
The realization of the echo filter is shown in the
next slide.
1
,
.
1
)
( 

 
b
Z
b
z
H K
2/28/2023 Dr.YNM 45
2/28/2023 Dr.YNM 46
To generate multiple echoes separated K
sapling periods we can use an FIR filter
with transfer function
K
N
N
K
K
Z
b
Z
b
Z
b
z
H )
1
(
1
2
2
,
.
1
)
( 







 

2/28/2023 Dr.YNM 47
Similarly an infinite number of echoes
spaced K sampling periods apart with
exponentially decaying amplitudes can
be created by an IIR filter.
The realization of infinite echo generator is
shown in the next slide.
2/28/2023 Dr.YNM 48
2/28/2023 Dr.YNM 49
The other special sound effects are
flanging and chorus. The flanging effect
is created by feeding the same musical
note to two tape recorders and then
combining their delayed outputs. This
effect can be simulated using the FIR
filter by periodically varying the delay
K(n) between 0 and K.
2/28/2023 Dr.YNM 50
The functional diagram of flanging effect
generator is shown in the next slide.
2/28/2023 Dr.YNM 51
2/28/2023 Dr.YNM 52
The chorus effect is achieved when
several musicians are playing the same
musical note at the same time with small
changes in the amplitudes and small
timing differences between their sounds.
2/28/2023 Dr.YNM 53
A chorus generator can be realized by
parallelly connecting few number of
flanging effect filters.
2/28/2023 Dr.YNM 54
Various DSP Processors
Texas DSP Processors
16-bit Fixed point arithmetic processors
 TMS320C1X
 TMS320C2X
 TMS320C5X
 TMS320C8X
32-bit floating point arithmetic processors
 TMS320C3X
 TMS320C4X
2/28/2023 Dr.YNM 55
Analog devices DSP Processors
 Blackfin
 SHARC
 TigerSHARC
 ADSP-21XX – 16 bit fixed point processor
 ADSP-210XX- 32 bit floating point processor
2/28/2023 Dr.YNM 56
Differences between microprocessor
and Digital signal processor
 A microprocessor with its limited speed
is meant for low speed applications
whereas the DSP is meant for fast real
time applications.
 Generally microprocessors use Van-
nuemann architecture whereas most of
the DSP processors use a modified
Harvard architecture with two or three
memory buses.
2/28/2023 Dr.YNM 57
OR
Bus
General purpose processors
Early DSP processors
More optimized DSP processors
2/28/2023 Dr.YNM 58
Simple architecture of DSP
processor
2/28/2023 Dr.YNM 59
The books which have helped me to
understand DSP
1. Oppenheim, A.V. and Schefar, Digital signal
processing, PHI
2. Oppenheim, Applications of digital signal
processing, PHI
3. Rabir and Gold, Theory of digital signal
processing, PHI
4. Proakis and Manolakis, Digital signal
processing, Pearson publishers
2/28/2023 Dr.YNM 60
5. Antoniou, A. Digital filters analysis, design
applications, McGraw Hill
6. Johnson, J.R. Introduction to digital signal
processing , PHI
7. Vanvalkenburg.M.V. Analog filter design,
Sanders publishers
8. Vinay K. Ingle, Proakis, Digital signal
processing using MATLAB, Bookware series
2/28/2023 Dr.YNM 61
9. Sajeeth K. Mithra, Digital signal processing,
TMH
10. V.K. Khanna, Digital signal processing,
telecommunication, multimedia technology,
Wheeler publishers
11. P. Rameshbabu, Digital signal processing,
Scitech publishers.
12. Salivana, Digital signal processing, TMH
2/28/2023 Dr.YNM 62
13. Ifeachor and Jervis, Digital signal
processing-a practical approach, Addison
Wesley publishers
14. Sarkar N. Elements of digital signal
processing, Kanna publishers
15. Defetta D.J. Digital signal processing, John
Wieley publishers
16. Lyons R.G. Understanding digital signal
processing,Addition Wesley
2/28/2023 Dr.YNM 63
17. B. Venkataramani, Digital signal
processors, TMH
18. Chapman J. Stephen, MATLAB
Programming for engineers, Bookware
Series
19. Ramachandran.B. Digital signal processing,
Anuradha publishers
20. Bose N.K. Digital filters-Theory and applications,
Elsevier publishers
21. The Scientist and Engineer's and Guide to Digital Signal
Processing by Steven W. Smith.(On line text)
2/28/2023 Dr.YNM 64
Web References
 www.ti.com
 www.analog.com
 www.dspguru.com
 www.mathworks.com
 www.dsptutor.freeuk.com
 www.dspguide.com
 www.elsevier.com/locate/dsp (On line journal)
 dsp.rice.edu (rice university)
 www.youtube.com (lecture on DSP)
2/28/2023 Dr.YNM 65
Concluding Remarks
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep.
---- Robert Frost
GOOD LUCK!
2/28/2023 Dr.YNM 66

More Related Content

What's hot

Linear prediction
Linear predictionLinear prediction
Linear prediction
Uma Rajaram
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
shrinivasgnaik
 

What's hot (20)

Pn sequence
Pn sequencePn sequence
Pn sequence
 
digital filters
digital filtersdigital filters
digital filters
 
Introduction to dsp
Introduction to dspIntroduction to dsp
Introduction to dsp
 
Sampling Theorem
Sampling TheoremSampling Theorem
Sampling Theorem
 
Design of Filters PPT
Design of Filters PPTDesign of Filters PPT
Design of Filters PPT
 
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter DesignDSP_2018_FOEHU - Lec 06 - FIR Filter Design
DSP_2018_FOEHU - Lec 06 - FIR Filter Design
 
Basics of Digital Filters
Basics of Digital FiltersBasics of Digital Filters
Basics of Digital Filters
 
Introduction to Digital Signal Processing
Introduction to Digital Signal ProcessingIntroduction to Digital Signal Processing
Introduction to Digital Signal Processing
 
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and SystemsDSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
DSP_2018_FOEHU - Lec 03 - Discrete-Time Signals and Systems
 
Basics of digital filters
Basics of digital filtersBasics of digital filters
Basics of digital filters
 
5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals 5. convolution and correlation of discrete time signals
5. convolution and correlation of discrete time signals
 
IIR filter design, Digital signal processing
IIR filter design, Digital signal processingIIR filter design, Digital signal processing
IIR filter design, Digital signal processing
 
Linear prediction
Linear predictionLinear prediction
Linear prediction
 
Pll ppt
Pll pptPll ppt
Pll ppt
 
Design of FIR Filters
Design of FIR FiltersDesign of FIR Filters
Design of FIR Filters
 
Dispersion in optical fibers
Dispersion in optical fibersDispersion in optical fibers
Dispersion in optical fibers
 
Fir and iir filter_design
Fir and iir filter_designFir and iir filter_design
Fir and iir filter_design
 
Statistical signal processing(1)
Statistical signal processing(1)Statistical signal processing(1)
Statistical signal processing(1)
 
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier TransformDSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
DSP_2018_FOEHU - Lec 08 - The Discrete Fourier Transform
 
Radix-2 DIT FFT
Radix-2 DIT FFT Radix-2 DIT FFT
Radix-2 DIT FFT
 

Similar to Introduction to DSP.ppt

Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...
Subhadeep Chakraborty
 

Similar to Introduction to DSP.ppt (20)

1749 1756
1749 17561749 1756
1749 1756
 
1749 1756
1749 17561749 1756
1749 1756
 
E0162736
E0162736E0162736
E0162736
 
DIGITAL FILTERS/SIGNERS types and uses.docx
DIGITAL FILTERS/SIGNERS types and uses.docxDIGITAL FILTERS/SIGNERS types and uses.docx
DIGITAL FILTERS/SIGNERS types and uses.docx
 
Discrete time signal processing unit-2
Discrete time signal processing unit-2Discrete time signal processing unit-2
Discrete time signal processing unit-2
 
Performance analysis of iir digital band stop filter
Performance analysis of iir digital band stop filterPerformance analysis of iir digital band stop filter
Performance analysis of iir digital band stop filter
 
Performance Analysis and Simulation of Decimator for Multirate Applications
Performance Analysis and Simulation of Decimator for Multirate ApplicationsPerformance Analysis and Simulation of Decimator for Multirate Applications
Performance Analysis and Simulation of Decimator for Multirate Applications
 
Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...Determination of optimum coefficients of iir digital butterworth band stop fi...
Determination of optimum coefficients of iir digital butterworth band stop fi...
 
presentation on digital signal processing
presentation on digital signal processingpresentation on digital signal processing
presentation on digital signal processing
 
IRJET-A Comparative Study of Digital FIR and IIR Band- Pass Filter
IRJET-A Comparative Study of Digital FIR and IIR Band- Pass FilterIRJET-A Comparative Study of Digital FIR and IIR Band- Pass Filter
IRJET-A Comparative Study of Digital FIR and IIR Band- Pass Filter
 
IRJET- A Review on Microstrip Filter for the Application in Communication System
IRJET- A Review on Microstrip Filter for the Application in Communication SystemIRJET- A Review on Microstrip Filter for the Application in Communication System
IRJET- A Review on Microstrip Filter for the Application in Communication System
 
Introduction to DSP
Introduction to DSPIntroduction to DSP
Introduction to DSP
 
DSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital FiltersDSP_2018_FOEHU - Lec 05 - Digital Filters
DSP_2018_FOEHU - Lec 05 - Digital Filters
 
Hk3613091316
Hk3613091316Hk3613091316
Hk3613091316
 
F0213137
F0213137F0213137
F0213137
 
Filtration and synthesis of different types of human voice signals
Filtration and synthesis of different types of human voice signalsFiltration and synthesis of different types of human voice signals
Filtration and synthesis of different types of human voice signals
 
digital signal processing
digital signal processing digital signal processing
digital signal processing
 
Computer Based Model to Filter Real Time Acquired Human Carotid Pulse
Computer Based Model to Filter Real Time Acquired Human Carotid PulseComputer Based Model to Filter Real Time Acquired Human Carotid Pulse
Computer Based Model to Filter Real Time Acquired Human Carotid Pulse
 
DSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital FiltersDSP_FOEHU - Lec 07 - Digital Filters
DSP_FOEHU - Lec 07 - Digital Filters
 
Design of Area Efficient Digital FIR Filter using MAC
Design of Area Efficient Digital FIR Filter using MACDesign of Area Efficient Digital FIR Filter using MAC
Design of Area Efficient Digital FIR Filter using MAC
 

More from Dr.YNM

More from Dr.YNM (20)

Atmel.ppt
Atmel.pptAtmel.ppt
Atmel.ppt
 
PIC Microcontrollers.ppt
PIC Microcontrollers.pptPIC Microcontrollers.ppt
PIC Microcontrollers.ppt
 
Crystalstructure-.ppt
Crystalstructure-.pptCrystalstructure-.ppt
Crystalstructure-.ppt
 
Basics of OS & RTOS.ppt
Basics of OS & RTOS.pptBasics of OS & RTOS.ppt
Basics of OS & RTOS.ppt
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
 
Microcontroller-8051.ppt
Microcontroller-8051.pptMicrocontroller-8051.ppt
Microcontroller-8051.ppt
 
Introduction to ASICs.pptx
Introduction to ASICs.pptxIntroduction to ASICs.pptx
Introduction to ASICs.pptx
 
VHDL-PRESENTATION.ppt
VHDL-PRESENTATION.pptVHDL-PRESENTATION.ppt
VHDL-PRESENTATION.ppt
 
Basics of data communications.pptx
Basics of data communications.pptxBasics of data communications.pptx
Basics of data communications.pptx
 
CPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptxCPLD & FPGA Architectures and applictionsplications.pptx
CPLD & FPGA Architectures and applictionsplications.pptx
 
Transient response of RC , RL circuits with step input
Transient response of RC , RL circuits  with step inputTransient response of RC , RL circuits  with step input
Transient response of RC , RL circuits with step input
 
CISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURESCISC & RISC ARCHITECTURES
CISC & RISC ARCHITECTURES
 
Lect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURELect 4 ARM PROCESSOR ARCHITECTURE
Lect 4 ARM PROCESSOR ARCHITECTURE
 
Lect 3 ARM PROCESSOR ARCHITECTURE
Lect 3  ARM PROCESSOR ARCHITECTURE Lect 3  ARM PROCESSOR ARCHITECTURE
Lect 3 ARM PROCESSOR ARCHITECTURE
 
Microprocessor Architecture 4
Microprocessor Architecture  4Microprocessor Architecture  4
Microprocessor Architecture 4
 
Lect 2 ARM processor architecture
Lect 2 ARM processor architectureLect 2 ARM processor architecture
Lect 2 ARM processor architecture
 
Microprocessor Architecture-III
Microprocessor Architecture-IIIMicroprocessor Architecture-III
Microprocessor Architecture-III
 
LECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORSLECT 1: ARM PROCESSORS
LECT 1: ARM PROCESSORS
 
Microprocessor architecture II
Microprocessor architecture   IIMicroprocessor architecture   II
Microprocessor architecture II
 
Verilog Test Bench
Verilog Test BenchVerilog Test Bench
Verilog Test Bench
 

Recently uploaded

Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
meharikiros2
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
pritamlangde
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
HenryBriggs2
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
mphochane1998
 

Recently uploaded (20)

Augmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptxAugmented Reality (AR) with Augin Software.pptx
Augmented Reality (AR) with Augin Software.pptx
 
PE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and propertiesPE 459 LECTURE 2- natural gas basic concepts and properties
PE 459 LECTURE 2- natural gas basic concepts and properties
 
Query optimization and processing for advanced database systems
Query optimization and processing for advanced database systemsQuery optimization and processing for advanced database systems
Query optimization and processing for advanced database systems
 
Integrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - NeometrixIntegrated Test Rig For HTFE-25 - Neometrix
Integrated Test Rig For HTFE-25 - Neometrix
 
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
COST-EFFETIVE  and Energy Efficient BUILDINGS ptxCOST-EFFETIVE  and Energy Efficient BUILDINGS ptx
COST-EFFETIVE and Energy Efficient BUILDINGS ptx
 
Digital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptxDigital Communication Essentials: DPCM, DM, and ADM .pptx
Digital Communication Essentials: DPCM, DM, and ADM .pptx
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Introduction to Geographic Information Systems
Introduction to Geographic Information SystemsIntroduction to Geographic Information Systems
Introduction to Geographic Information Systems
 
Electromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptxElectromagnetic relays used for power system .pptx
Electromagnetic relays used for power system .pptx
 
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
scipt v1.pptxcxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx...
 
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptxS1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
S1S2 B.Arch MGU - HOA1&2 Module 3 -Temple Architecture of Kerala.pptx
 
AIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech studentsAIRCANVAS[1].pdf mini project for btech students
AIRCANVAS[1].pdf mini project for btech students
 
Signal Processing and Linear System Analysis
Signal Processing and Linear System AnalysisSignal Processing and Linear System Analysis
Signal Processing and Linear System Analysis
 
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments""Lesotho Leaps Forward: A Chronicle of Transformative Developments"
"Lesotho Leaps Forward: A Chronicle of Transformative Developments"
 
Post office management system project ..pdf
Post office management system project ..pdfPost office management system project ..pdf
Post office management system project ..pdf
 
fitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .pptfitting shop and tools used in fitting shop .ppt
fitting shop and tools used in fitting shop .ppt
 
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...Max. shear stress theory-Maximum Shear Stress Theory ​  Maximum Distortional ...
Max. shear stress theory-Maximum Shear Stress Theory ​ Maximum Distortional ...
 
School management system project Report.pdf
School management system project Report.pdfSchool management system project Report.pdf
School management system project Report.pdf
 
Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...Basic Electronics for diploma students as per technical education Kerala Syll...
Basic Electronics for diploma students as per technical education Kerala Syll...
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 

Introduction to DSP.ppt

  • 1. DIGITAL SIGNAL PROCESSING – An Introduction Dr.Y. Narasimha Murthy Ph.D yayavaram@yahoo.com
  • 2. Organization o What is signal processing o Need of Processing o Catagories o Advantages of Digital over analog o Filters-Analog & Digital o Comparison o Digital filters-Types 2/28/2023 Dr.YNM 2
  • 3. contd o FIR &IIR o Advantages-Disadvantages o Applications of DSP o Simple Illustrations o Various types of DSPs o Microprocessor & Signal processor o Architecture o Books &Web resources 2/28/2023 Dr.YNM 3
  • 4. What is Signal processing?  Signal processing is the analysis, interpretation, and manipulation of signals like sound, images time-varying measurement values and sensor data etc…  For example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others. 2/28/2023 Dr.YNM 4
  • 5. Need of Signal Processing When a signal is transmitted from one point to another there is every possibility of contamination /deformation of the signal by external noise. So to retrieve the original signal at the receiver suitable filters are to be used. i.e the signal is processed to obtain the pure signal. 2/28/2023 Dr.YNM 5
  • 6. Categories of signal processing  Analog signal processing — for signals that have not been digitized, as in classical radio, telephone, radar, and television systems.  This involves linear electronic circuits such as passive filters, active filters, additive mixers, integrators and delay lines. 2/28/2023 Dr.YNM 6
  • 7.  It also involves non-linear circuits such as compandors, multiplicators (frequency mixers and voltage-controlled amplifiers), voltage- controlled filters, voltage-controlled oscillators and phase-locked loops.  Digital signal processing — for signals that have been digitized, processing is done by general- purpose computers or by digital circuits such as ASICs, field-programmable gate arrays or specialized digital signal processors (DSP chips). 2/28/2023 Dr.YNM 7
  • 8. So the processing of the signal helps to estimate characteristic parameters of the signal and also to transform the signal in to the desired form. 2/28/2023 Dr.YNM 8
  • 9. Analog signal processing The analog signal processing is basically, filtering of the signal . It can be denoted by the following diagram. 2/28/2023 Dr.YNM 9
  • 10. Digital signal processing-Block diagram The digital signal processor consists of anti-aliasing filter, analog to digital converter (ADC), a digital filter represented by the transfer function H(z), a digital to analog converter and a reconstruction filter. 2/28/2023 Dr.YNM 10
  • 11. Advantages of Digital over analog signal processing  Accuracy: The analog circuits are prone to temperature and external effects, but the digital filters have no such problems.  Flexibility: Reconfiguration of analog filters is very complex whereas the digital filters can be reconfigured easily by changing the program coefficients. 2/28/2023 Dr.YNM 11
  • 12.  Digital signals can be easily stored on any magnetic media or optical media are using semiconductor chips.  Easy operation: Even complex mathematical operations can be performed easily using computers, which is not the case with analog processing. 2/28/2023 Dr.YNM 12
  • 13.  Multiplexing: Digital signal processing provides the way for Integrated service digital network (ISDN) where digitized signals can be multiplexed with other digital data and transmitted through the same channel. 2/28/2023 Dr.YNM 13
  • 14. Limitations There are also certain limitations in DSP.  Bandwidth restrictions  Speed limitations  Finite word length problems. 2/28/2023 Dr.YNM 14
  • 15. Filters Any one who observes the DSP block diagram finds that the filter is the main component of DSP. Filters have two uses a) Signal separation b) Signal restoration 2/28/2023 Dr.YNM 15
  • 16.  Signal separation is needed when a signal has been contaminated with interference, noise or other signals.  Signal restoration is used when a signal has been distorted in some way or other. For example an audio recording made with poor equipment may be filtered to get the original sound. 2/28/2023 Dr.YNM 16
  • 17. Another example of deblurring of an image occurred with an improperly focused lens or a shaky camera. So these problems can be solved with either analog or digital filters. 2/28/2023 Dr.YNM 17
  • 18. Analog filters Analog filters take the analog signal as input and process the signal and finally gives the analog output. An analog filter is constructed using resistors, capacitors, active components etc… 2/28/2023 Dr.YNM 18
  • 19. A simple analog low pass filter is shown below 2/28/2023 Dr.YNM 19
  • 20. Coming to advantages of Analog filters they are cheap and have a large dynamic range in both amplitude and frequency. But in terms of performance they are not superior to digital filters. 2/28/2023 Dr.YNM 20
  • 21. Digital filters A digital filter processes and generates digital data. A digital filter constitutes elements like adder, multiplier and delay units. Digital filters are vastly superior in the level of performance in comparison to analog filters. 2/28/2023 Dr.YNM 21
  • 22. A simple digital filter 2/28/2023 Dr.YNM 22
  • 23. Advantages There are many advantages with digital filters.  Unlike analog filters ,the digital filter performance is not influenced by component ageing, temperature and power variations. 2/28/2023 Dr.YNM 23
  • 24.  A digital filter is highly immune to noise and relatively stable.  Digital filters afford a wide variety of shapes for the amplitude and phase responses.  Impedance matching problems are minimum. 2/28/2023 Dr.YNM 24
  • 25.  Transportation and reconfiguration is very easy ,which is not true in the case of analog filters.  Multiple filtering is possible only in digital filters.  Computational problems are minimum. 2/28/2023 Dr.YNM 25
  • 26. Disadvantages: There are few disadvantages also.  Quantization error occurs due to finite word length in the representation of signals and parameters.  Digital filters also suffer from Bandwidth problems. 2/28/2023 Dr.YNM 26
  • 27. Differences between analog and digital filters :  An analog filter is constructed using active, passive components like resistors, capacitors and op amps etc.. A digital filter constitutes adder, multiplier and delay elements  An analog filter is denoted by a differential equation. A digital filter is denoted by a difference equation. 2/28/2023 Dr.YNM 27
  • 28.  Laplace transform is used for the analysis of analog filter. Z transforms are used for the analysis of digital filters.  The frequency response of an analog filter can be modified by changing the components. The frequency response can be changed by changing the filter coefficients. 2/28/2023 Dr.YNM 28
  • 29. Types of Digital filters Broadly speaking ,two types of digital filters exists.  FIR Filters(Finite impulse response filters)  IIR Filters (Infinite Impulse response filters) 2/28/2023 Dr.YNM 29
  • 30. FIR Filters The digital filter whose impulse response is of finite duration is known as Finite impulse response filter. The response of the FIR filter depends only on the present and past input samples. These FIR filters are also called non recursive filters. So, in FIR the impulse response sequence is of finite duration, i.e. it has a finite number of non-zero terms. 2/28/2023 Dr.YNM 30
  • 31. The system with the impulse response denotes an FIR system.      otherwise n n h 0 4 2 ) ( 2/28/2023 Dr.YNM 31
  • 32. Ex: The following difference equation denotes the finite impulse response filter. For i<0, y(n)=0 i.e. the impulse response is finite and it exists only for n>0 ) ( ) ( 1 0 i n x b n y N i i      2/28/2023 Dr.YNM 32
  • 33. Advantages of FIR Filters  FIR filters can be designed with exact linear phase. These linear phase filters are important for applications where frequency dispersion due to non-linear phase is hazardous. (For example speech processing and data transmission)  FIR filters are stable  Round off noise can be eliminated in FIR filters 2/28/2023 Dr.YNM 33
  • 34.  FIR filters can be efficiently implemented in multirate DSP systems  FIR filters reduce the computation complexity 2/28/2023 Dr.YNM 34
  • 35. Disadvantages  As large number of impulse response samples are required to properly approximate sharp cutoff FIR filters the processing will become complex due to slow convolution.  The delay of linear phase FIR filters can sometimes create problems in some DSP applications. 2/28/2023 Dr.YNM 35
  • 36. IIR Filters The digital filter whose impulse response is of infinite duration is known as Infinite impulse response filter. The response of an IIR filter is a function of current and past input signal samples and past output signal samples. It is also called recursive filter.         K k k L l l k n y B l x x A n y 1 0 ) ( ) ( ) ( 2/28/2023 Dr.YNM 36
  • 37. Ex: A simple first order difference equation illustrates the IIR filter. The implementation diagram of first order IIR filter is shown in the next slide. ) 1 ( . ) ( ) (    n y b n x n y 2/28/2023 Dr.YNM 37
  • 39. Advantages of IIR filters 1. An IIR filter has lesser number of side lobes in the stop-band than an FIR filter with the same number of parameters. 2. Also the implementation of an IIR filter involves fewer parameters, less memory requirements and lower computational complexity. 2/28/2023 Dr.YNM 39
  • 40. Disadvantages  IIR filters do not have linear phase and also they are not very stable.  Realization of IIR filters is not very easy as compared to FIR filters  As it is a recursive filter the number of coefficients is very large and the memory requirements are also high 2/28/2023 Dr.YNM 40
  • 41. Applications of DSP Digital signal processing has variety of applications in diverse fields like  Digital filtering  Spectral analysis  Speech processing  Image processing  Radar and sonar processing 2/28/2023 Dr.YNM 41
  • 42.  Disk and robot control  Telecommunication  Consumer electronics  Biomedical engineering  Military applications 2/28/2023 Dr.YNM 42
  • 43. Let us discuss few examples of DSP in musical sound processing. In all musical recordings, the sound from instruments is recorded in studio and then special audio effects are added by manipulating the recorded musical sounds. The audio effects are artificially generated using various DSP techniques. 2/28/2023 Dr.YNM 43
  • 44. The sound reaching the listeners in a concert hall during a musical programme consists of direct sound, early reflections and reverberations (echoes). But the sound recorded in a studio is different and it doesn’t sound natural. 2/28/2023 Dr.YNM 44
  • 45. So, echoes are simply generated by delay units. The direct sound and a single echo appear in K sampling period latter can be generated by the FIR filter with the system function The realization of the echo filter is shown in the next slide. 1 , . 1 ) (     b Z b z H K 2/28/2023 Dr.YNM 45
  • 47. To generate multiple echoes separated K sapling periods we can use an FIR filter with transfer function K N N K K Z b Z b Z b z H ) 1 ( 1 2 2 , . 1 ) (            2/28/2023 Dr.YNM 47
  • 48. Similarly an infinite number of echoes spaced K sampling periods apart with exponentially decaying amplitudes can be created by an IIR filter. The realization of infinite echo generator is shown in the next slide. 2/28/2023 Dr.YNM 48
  • 50. The other special sound effects are flanging and chorus. The flanging effect is created by feeding the same musical note to two tape recorders and then combining their delayed outputs. This effect can be simulated using the FIR filter by periodically varying the delay K(n) between 0 and K. 2/28/2023 Dr.YNM 50
  • 51. The functional diagram of flanging effect generator is shown in the next slide. 2/28/2023 Dr.YNM 51
  • 53. The chorus effect is achieved when several musicians are playing the same musical note at the same time with small changes in the amplitudes and small timing differences between their sounds. 2/28/2023 Dr.YNM 53
  • 54. A chorus generator can be realized by parallelly connecting few number of flanging effect filters. 2/28/2023 Dr.YNM 54
  • 55. Various DSP Processors Texas DSP Processors 16-bit Fixed point arithmetic processors  TMS320C1X  TMS320C2X  TMS320C5X  TMS320C8X 32-bit floating point arithmetic processors  TMS320C3X  TMS320C4X 2/28/2023 Dr.YNM 55
  • 56. Analog devices DSP Processors  Blackfin  SHARC  TigerSHARC  ADSP-21XX – 16 bit fixed point processor  ADSP-210XX- 32 bit floating point processor 2/28/2023 Dr.YNM 56
  • 57. Differences between microprocessor and Digital signal processor  A microprocessor with its limited speed is meant for low speed applications whereas the DSP is meant for fast real time applications.  Generally microprocessors use Van- nuemann architecture whereas most of the DSP processors use a modified Harvard architecture with two or three memory buses. 2/28/2023 Dr.YNM 57
  • 58. OR Bus General purpose processors Early DSP processors More optimized DSP processors 2/28/2023 Dr.YNM 58
  • 59. Simple architecture of DSP processor 2/28/2023 Dr.YNM 59
  • 60. The books which have helped me to understand DSP 1. Oppenheim, A.V. and Schefar, Digital signal processing, PHI 2. Oppenheim, Applications of digital signal processing, PHI 3. Rabir and Gold, Theory of digital signal processing, PHI 4. Proakis and Manolakis, Digital signal processing, Pearson publishers 2/28/2023 Dr.YNM 60
  • 61. 5. Antoniou, A. Digital filters analysis, design applications, McGraw Hill 6. Johnson, J.R. Introduction to digital signal processing , PHI 7. Vanvalkenburg.M.V. Analog filter design, Sanders publishers 8. Vinay K. Ingle, Proakis, Digital signal processing using MATLAB, Bookware series 2/28/2023 Dr.YNM 61
  • 62. 9. Sajeeth K. Mithra, Digital signal processing, TMH 10. V.K. Khanna, Digital signal processing, telecommunication, multimedia technology, Wheeler publishers 11. P. Rameshbabu, Digital signal processing, Scitech publishers. 12. Salivana, Digital signal processing, TMH 2/28/2023 Dr.YNM 62
  • 63. 13. Ifeachor and Jervis, Digital signal processing-a practical approach, Addison Wesley publishers 14. Sarkar N. Elements of digital signal processing, Kanna publishers 15. Defetta D.J. Digital signal processing, John Wieley publishers 16. Lyons R.G. Understanding digital signal processing,Addition Wesley 2/28/2023 Dr.YNM 63
  • 64. 17. B. Venkataramani, Digital signal processors, TMH 18. Chapman J. Stephen, MATLAB Programming for engineers, Bookware Series 19. Ramachandran.B. Digital signal processing, Anuradha publishers 20. Bose N.K. Digital filters-Theory and applications, Elsevier publishers 21. The Scientist and Engineer's and Guide to Digital Signal Processing by Steven W. Smith.(On line text) 2/28/2023 Dr.YNM 64
  • 65. Web References  www.ti.com  www.analog.com  www.dspguru.com  www.mathworks.com  www.dsptutor.freeuk.com  www.dspguide.com  www.elsevier.com/locate/dsp (On line journal)  dsp.rice.edu (rice university)  www.youtube.com (lecture on DSP) 2/28/2023 Dr.YNM 65
  • 66. Concluding Remarks The woods are lovely, dark and deep, But I have promises to keep, And miles to go before I sleep, And miles to go before I sleep. ---- Robert Frost GOOD LUCK! 2/28/2023 Dr.YNM 66