SlideShare a Scribd company logo
Digital Signal Processing (DSP)
Fundamentals
20 May 2024 Veton Këpuska 2
W1/
2
W5/
6
W5
W3/
4
W9/10
/11
W7/
8
W13/14
W12
/14
W14/
Image
Processing
Recognition
/Classificati
Neural Net
Filters
Copyright (C) 2005
Güner Arslan
351M Digital Signal Processing
(Spring 2005)
3
Signal Processing
 Humans are the most advanced signal processors
 speech and pattern recognition, speech
synthesis,…
 We encounter many types of signals in various
applications
 Electrical signals: voltage, current, magnetic and
electric fields,…
 Mechanical signals: velocity, force,
displacement,…
 Acoustic signals: sound, vibration,…
 Other signals: pressure, temperature,…
20 May 2024 4
 DSP’s process signals
 Signal – a detectable physical
quantity or impulse (as a voltage,
current, or magnetic field strength)
by which messages or information
can be transmitted (Webster
Dictionary)
20 May 2024 Veton Këpuska 5
Introduction to DSP
 Signal Characteristics:
 Signals are Physical Quantities:
 Signals are Measurable
 Signals are Analog
 Signals Contain Information.
 Examples:
 Temperature [oC]
 Pressure [Newtons/m2] or [Pa]
 Mass [kg]
 Speed [m/s]
 Acceleration [m/s2]
 Torque [Newton*m]
 Voltage [Volts]
 Current [Amps]
 Power [Watts]
20 May 2024 Veton Këpuska 6
20 May 2024 7
Why Processing Signals?
 Extraction of Information
 Amplitude
 Phase
 Frequency
 Spectral Content
 Transform the Signal
 FDMA (Frequency Division
Multiple Access)
 TDMA (Time Division Multiple
Access)
 CDMA (Code Division Multiple
Access)
 Compress Data
 ADPCM (Adaptive Differential
Pulse Code Modulation)
 CELP (Code Excited Linear
Prediction)
 MPEG (Moving Picture Experts
Group)
 HDTV (High Definition TV)
 Generate Feedback
Control Signal
 Robotics (ASIMOV)
 Vehicle Manufacturing
 Process Control
 Extraction of Signal in
Noise
 Filtering
 Autocorrelation
 Convolution
 Store Signals in Digital
Format for Analysis
 FFT
 …
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
8
In digital telephones, voice is sampled every 125μsec, or at a
sampling frequency of 8,000 Hz. Each sample is quantized into
an 8-bit word, or 256 levels. This gives an overall rate of 8x0008
= 64;000 bits per second. The
worldwide digital telephony network, therefore, is composed primarily of
channels
capable of carrying 64,000 bits per second, or multiples of this (so that
multiple
telephone channels can be carried together). In cellular phones, voice
samples are
further compressed to bit rates of 8,000 to 32,000 bits per second
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
9
whose "phase" is now . It has been shifted by radians
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
10
For infinitely long sinusoids, a change in is the same as a shift in time, such as a time delay. If is delayed (time-shifted) by of its cycle, it becomes:
whose "phase" is now . It has been shifted by radians
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
11
Calculation between phase angle φ° in degrees (deg), the time delay Δ
t and the
frequency f is:
Phase angle (deg)
(Time shift) Time difference
Frequency
λ = c / f and c = 343 m/s at 20°C.
Calculation between phase angle φ in radians (rad),
the time shift or time delay Δ t,
and the frequency f is:
Phase angle (rad)
"Bogen" means "radians". (Time shift) Time difference
Frequency
Time = path length / speed of sound
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
12
S(t) = A sin(ωot − ϕ)
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
13
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
14
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
15
20 May 2024 Veton Këpuska 16
20 May 2024 Veton Këpuska 17
20 May 2024 18
In this class, analog signals are electrical.
Sensors: are devices that convert other
physical quantities (temperature,
pressure, etc.) to electrical signals.
Sensor output is analog and need to be
converted to digital to be processed by
computer
 Data : student grades (80, 60, .., 90,
75), Temp’s over days of the month,
 Information: process data : (grade
average, % success, ), ( today is hot,
average temp over month,..)
 Knowledge: use data and information
to conclude / experience : if .., then..
(if it is hot use umbrella /..
20 May 2024 19
 Signal : convert data/../ to volt/current
ready to be sent.
20 May 2024 20
Text
data
Binary
data
Digital signal
3 011
7 111
20 May 2024 21
What is DSP?
0
0.22
0.44
0.64
0.82
0.98
1.11
1.2
1.24
1.27
1.24
1.2
1.11
0.98
0.82
0.64
0.44
0.22
0
-0.22
-0.44
-0.64
-0.82
-0.98
-1.11
-1.2
-1.26
-1.28
-1.26
-1.2
-1.11
-0.98
-0.82
-0.64
-0.44
-0.22
0
-2
-1.5
-1
-0.5
0
0.5
1
1.5
2
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
20 May 2024 23
Analog-to-Digital and Digital-to-Analog
20 May 2024 Veton Këpuska 24
20 May 2024 Veton Këpuska 25
20 May 2024 Veton Këpuska 26
20 May 2024 Veton Këpuska 27
20 May 2024 Veton Këpuska 28
20 May 2024 Veton Këpuska 29
20 May 2024 Veton Këpuska 30
20 May 2024 31
Digital Telephone Communication System Example:
Signal Types
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
32
Conversions Between Signal
Types
Sampling
Quantizing
Encoding
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
33
Message Encoded in ASCII
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
34
Noisy Message Encoded in ASCII
Progressively
noisier
signals
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
35
Bit Recovery in a Digital Signal
Using Filtering
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
36
20 May 2024 Veton Këpuska 37
Assignment 1 (Matlab implementation) signal regeneration
- Generate noiseless clean signal X(n) :pulse train of 0’s and 1’s
- Generate discrete random noise N(n) (or Gaussian noise) using
random generate
- Noisy signal Y(n) = x(n) + n(n)
- Select a threshold level TH
- Apply condition: if y(n) >=TH; then y1(n) =1;
- else; y1(n) =0
- Compare x(n) to y1(n); and find error bits
- Change noise amplitude (higher/ lower) and repeat signal
regeneration
- Put your conclusion on the effect of high noise level on bit error
rate ( higher noise ; higher error bits).
Image Filtering to Aid
Perception
Original X-Ray Image Filtered X-Ray Image
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
38
Discrete-Time Systems
In a discrete-time system events occur at points in time but not
between those points. The most important example is a digital
computer. Significant events occur at the end of each clock
cycle and nothing of significance (to the computer user) happens
between those points in time.
Discrete-time systems can be described by difference (not
differential) equations. Let a discrete-time system generate an
excitation signal y[n] where n is the number of discrete-time
intervals that have elapsed since some beginning time n = 0.
y n
[ ]=1.97y n -1
[ ]- y n - 2
[ ]
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
39
Discrete-Time Systems
The equation
y n
[ ]=1.97y n -1
[ ]- y n - 2
[ ]
says in words “The signal value at any time n is 1.97 times the signal
previous time [n -1] minus the signal value at the time before that
[n - 2].”
If we know the signal value at any two times, we can compute its
value at all other (discrete) times. This is quite similar to a
second-order differential equation for which knowledge of two
independent initial conditions allows us to find the solution for all
time and the solution methods are very similar.
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
40
Discrete-Time Systems
y n
[ ]=1.97y n -1
[ ]- y n - 2
[ ]
We could solve this equation by iteration using a computer.
yn = 1 ; yn1 = 0 ;
while 1,
yn2 = yn1 ; yn1 = yn ; yn = 1.97*yn1 - yn2 ;
end
We could also describe the system
with a block diagram.
Initial Conditions
(“D” means delay one unit in discrete
time.)
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
41
Discrete-Time Systems
y n
[ ]=1.97y n -1
[ ]- y n - 2
[ ]
With the initial conditions y[1] = 1 and y[0] = 0 the response
is
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
42
Feedback Systems
In a feedback system the response of the system is “fed back”
and combined with the excitation is such a way as to optimize
the response in some desired sense. Examples of feedback
systems are
1. Temperature control in a house using a thermostat
2. Water level control in the tank of a flush toilet.
3. Pouring a glass of lemonade to the top of the glass without overflowing.
4. A refrigerator ice maker that keeps the bin full of ice
but does not make extra ice.
5. Driving a car.
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
43
Feedback Systems
Below is an example of a discrete-time feedback system. The
response y[n] is fed back through two delays and gains b and c
and combined with the excitation x[n]. Different values of a,
b and c can create dramatically different responses to the same
excitation.
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
44
Feedback Systems
Responses to an excitation that changes from 0 to 1 at n = 0.
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
45
Sound Recording System
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
46
Recorded Sound as a Signal
Example
 “s” “i” “gn” “al”
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
47
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
48
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
49
M. J. Roberts - All Rights Reserved. Edited by Dr.
Robert Akl
50
 HW
 1. given signal y(t) = 5 sin(2∏ft + Ф). Draw signal y(t)
for:
 i..f = 2000 Hz, Ф =0, ∏ /4, ∏ /2, ∏.
 Ii. use Matlab :
- display graphic representations of above signal.
- Display the sum of y(t) for Ф =0+ y(t) for Ф = ∏/4
- Display the sum of y(t) for Ф =0+ y(t) for Ф = ∏/4 +
- y(t) for Ф = ∏/2
20 May 2024 51
 2. given signal y(t):
 Write equation representing y(t),
 Write equation representing y(t-1),
 Draw signal z(t) = 2y(t) + y(-t)
 Use matlab and validate your answer.
20 May 2024 Veton Këpuska 52
-3 -1 0 1 3 4
6
4
2
amplitude
time
20 May 2024 Veton Këpuska 53
20 May 2024 Veton Këpuska 54
20 May 2024 Veton Këpuska 55
20 May 2024 Veton Këpuska 56
20 May 2024 Veton Këpuska 57
20 May 2024 Veton Këpuska 58
20 May 2024 Veton Këpuska 59
20 May 2024 Veton Këpuska 60
20 May 2024 61
0 20 40 60 80 100
-10
0
10
t (ms)
0 10 20 30 40 50
-10
0
10
n (samples)
20 May 2024 Veton Këpuska 62
20 May 2024 63
ADC
x(t) Analog
Low-pass
Filter
Sample
and
Hold
fs
b) Amplitude Quantized Signal
xa(nT)
x[n]
Quantizer DSP
c) Amplitude & Time Quantized – Digital Signal
a) Continuous Signal
20 May 2024 Veton Këpuska 64
20 May 2024 Veton Këpuska 65
20 May 2024 Veton Këpuska 66
20 May 2024 Veton Këpuska 67
20 May 2024 Veton Këpuska 68
20 May 2024 Veton Këpuska 69
20 May 2024 Veton Këpuska 70
20 May 2024 Veton Këpuska 71
20 May 2024 Veton Këpuska 72
20 May 2024 Veton Këpuska 73
20 May 2024 Veton Këpuska 74
20 May 2024 75
DAC
DSP
Digital to
Analog
Converter
Analog
Low-pass
Filter
y[n]
y(t)
ya(nT)
c) Continuous Low-pass filtered Signal
b) Analog Signal
a) Digital Output Signal
20 May 2024 Veton Këpuska 76
20 May 2024 Veton Këpuska 77
20 May 2024 Veton Këpuska 78
20 May 2024 Veton Këpuska 79
20 May 2024 Veton Këpuska 80
20 May 2024 Veton Këpuska 81
20 May 2024 Veton Këpuska 82
20 May 2024 Veton Këpuska 83
20 May 2024 Veton Këpuska 84
20 May 2024 Veton Këpuska 85
20 May 2024 Veton Këpuska 86
20 May 2024 Veton Këpuska 87
20 May 2024 Veton Këpuska 88
DSP Application Domains
20 May 2024 Veton Këpuska 89
20 May 2024 Veton Këpuska 90
20 May 2024 Veton Këpuska 91
20 May 2024 Veton Këpuska 92
FPGA: Field Programmable Gate Arrays
 FPGA
20 May 2024 Veton Këpuska 93
20 May 2024 94
20 May 2024 Veton Këpuska 95
END
20 May 2024 Veton Këpuska 96

More Related Content

PPT
introduction to digital signal processing
PDF
slides (1).pdf
PDF
02_signals.pdf
PPTX
Lecture 1.pptx
PPT
Sns slide 1 2011
PDF
DSP_note_for_lab especially ofr Lab finals
PPTX
Pertemuan 1 - Sinyal dan Sistem Linier Kelas Praktisi.pptx
PPT
Chapter1.ppt
introduction to digital signal processing
slides (1).pdf
02_signals.pdf
Lecture 1.pptx
Sns slide 1 2011
DSP_note_for_lab especially ofr Lab finals
Pertemuan 1 - Sinyal dan Sistem Linier Kelas Praktisi.pptx
Chapter1.ppt

Similar to Ch1 EE412 Introduction to DSP and .ppt (20)

PDF
Dsp 2marks
PDF
Solvedproblems 120406031331-phpapp01
PPT
Chapter1_isyarat dan system pendahuluan.ppt
PDF
Mobile_Lec6
PDF
EC8553 Discrete time signal processing
PPTX
Digital Signal Processingchapter#01.pptx
PPT
week1 computer architecture and design for
PDF
Digital Electronics NPTEL Slides (WEEK 1)
PDF
Ch1_Modulation.pdf
PDF
Module 1 (1).pdf
PPT
Basics of edge detection and forier transform
PPT
Digital signal processing part1
PDF
Digital Signals Topic 3 Fourier Analysis (std).pdf
PDF
Rigol RF basics_knowledge_applications
PDF
Digital Signal Processing Tutorial:Chapt 1 signal and systems
PDF
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
PDF
1.Basics of Signals
PPTX
communication system lec2
PDF
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
PPTX
Dsp ppt
Dsp 2marks
Solvedproblems 120406031331-phpapp01
Chapter1_isyarat dan system pendahuluan.ppt
Mobile_Lec6
EC8553 Discrete time signal processing
Digital Signal Processingchapter#01.pptx
week1 computer architecture and design for
Digital Electronics NPTEL Slides (WEEK 1)
Ch1_Modulation.pdf
Module 1 (1).pdf
Basics of edge detection and forier transform
Digital signal processing part1
Digital Signals Topic 3 Fourier Analysis (std).pdf
Rigol RF basics_knowledge_applications
Digital Signal Processing Tutorial:Chapt 1 signal and systems
CHƯƠNG 2 KỸ THUẬT TRUYỀN DẪN SỐ - THONG TIN SỐ
1.Basics of Signals
communication system lec2
DSP_2018_FOEHU - Lec 1 - Introduction to Digital Signal Processing
Dsp ppt
Ad

Recently uploaded (20)

PDF
composite construction of structures.pdf
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
Artificial Intelligence
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PPT
Project quality management in manufacturing
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
Sustainable Sites - Green Building Construction
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
PPTX
UNIT 4 Total Quality Management .pptx
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
web development for engineering and engineering
PPTX
Current and future trends in Computer Vision.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPT
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
PPT
Mechanical Engineering MATERIALS Selection
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Digital Logic Computer Design lecture notes
PPT
introduction to datamining and warehousing
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
composite construction of structures.pdf
Automation-in-Manufacturing-Chapter-Introduction.pdf
Artificial Intelligence
CYBER-CRIMES AND SECURITY A guide to understanding
Project quality management in manufacturing
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
Sustainable Sites - Green Building Construction
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
UNIT 4 Total Quality Management .pptx
Model Code of Practice - Construction Work - 21102022 .pdf
web development for engineering and engineering
Current and future trends in Computer Vision.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Introduction, IoT Design Methodology, Case Study on IoT System for Weather Mo...
Mechanical Engineering MATERIALS Selection
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Digital Logic Computer Design lecture notes
introduction to datamining and warehousing
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Ad

Ch1 EE412 Introduction to DSP and .ppt

  • 1. Digital Signal Processing (DSP) Fundamentals
  • 2. 20 May 2024 Veton Këpuska 2 W1/ 2 W5/ 6 W5 W3/ 4 W9/10 /11 W7/ 8 W13/14 W12 /14 W14/ Image Processing Recognition /Classificati Neural Net Filters
  • 3. Copyright (C) 2005 Güner Arslan 351M Digital Signal Processing (Spring 2005) 3 Signal Processing  Humans are the most advanced signal processors  speech and pattern recognition, speech synthesis,…  We encounter many types of signals in various applications  Electrical signals: voltage, current, magnetic and electric fields,…  Mechanical signals: velocity, force, displacement,…  Acoustic signals: sound, vibration,…  Other signals: pressure, temperature,…
  • 4. 20 May 2024 4  DSP’s process signals  Signal – a detectable physical quantity or impulse (as a voltage, current, or magnetic field strength) by which messages or information can be transmitted (Webster Dictionary)
  • 5. 20 May 2024 Veton Këpuska 5 Introduction to DSP  Signal Characteristics:  Signals are Physical Quantities:  Signals are Measurable  Signals are Analog  Signals Contain Information.  Examples:  Temperature [oC]  Pressure [Newtons/m2] or [Pa]  Mass [kg]  Speed [m/s]  Acceleration [m/s2]  Torque [Newton*m]  Voltage [Volts]  Current [Amps]  Power [Watts]
  • 6. 20 May 2024 Veton Këpuska 6
  • 7. 20 May 2024 7 Why Processing Signals?  Extraction of Information  Amplitude  Phase  Frequency  Spectral Content  Transform the Signal  FDMA (Frequency Division Multiple Access)  TDMA (Time Division Multiple Access)  CDMA (Code Division Multiple Access)  Compress Data  ADPCM (Adaptive Differential Pulse Code Modulation)  CELP (Code Excited Linear Prediction)  MPEG (Moving Picture Experts Group)  HDTV (High Definition TV)  Generate Feedback Control Signal  Robotics (ASIMOV)  Vehicle Manufacturing  Process Control  Extraction of Signal in Noise  Filtering  Autocorrelation  Convolution  Store Signals in Digital Format for Analysis  FFT  …
  • 8. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 8 In digital telephones, voice is sampled every 125μsec, or at a sampling frequency of 8,000 Hz. Each sample is quantized into an 8-bit word, or 256 levels. This gives an overall rate of 8x0008 = 64;000 bits per second. The worldwide digital telephony network, therefore, is composed primarily of channels capable of carrying 64,000 bits per second, or multiples of this (so that multiple telephone channels can be carried together). In cellular phones, voice samples are further compressed to bit rates of 8,000 to 32,000 bits per second
  • 9. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 9 whose "phase" is now . It has been shifted by radians
  • 10. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 10 For infinitely long sinusoids, a change in is the same as a shift in time, such as a time delay. If is delayed (time-shifted) by of its cycle, it becomes: whose "phase" is now . It has been shifted by radians
  • 11. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 11 Calculation between phase angle φ° in degrees (deg), the time delay Δ t and the frequency f is: Phase angle (deg) (Time shift) Time difference Frequency λ = c / f and c = 343 m/s at 20°C. Calculation between phase angle φ in radians (rad), the time shift or time delay Δ t, and the frequency f is: Phase angle (rad) "Bogen" means "radians". (Time shift) Time difference Frequency Time = path length / speed of sound
  • 12. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 12 S(t) = A sin(ωot − ϕ)
  • 13. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 13
  • 14. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 14
  • 15. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 15
  • 16. 20 May 2024 Veton Këpuska 16
  • 17. 20 May 2024 Veton Këpuska 17
  • 18. 20 May 2024 18 In this class, analog signals are electrical. Sensors: are devices that convert other physical quantities (temperature, pressure, etc.) to electrical signals. Sensor output is analog and need to be converted to digital to be processed by computer
  • 19.  Data : student grades (80, 60, .., 90, 75), Temp’s over days of the month,  Information: process data : (grade average, % success, ), ( today is hot, average temp over month,..)  Knowledge: use data and information to conclude / experience : if .., then.. (if it is hot use umbrella /.. 20 May 2024 19
  • 20.  Signal : convert data/../ to volt/current ready to be sent. 20 May 2024 20 Text data Binary data Digital signal 3 011 7 111
  • 24. Analog-to-Digital and Digital-to-Analog 20 May 2024 Veton Këpuska 24
  • 25. 20 May 2024 Veton Këpuska 25
  • 26. 20 May 2024 Veton Këpuska 26
  • 27. 20 May 2024 Veton Këpuska 27
  • 28. 20 May 2024 Veton Këpuska 28
  • 29. 20 May 2024 Veton Këpuska 29
  • 30. 20 May 2024 Veton Këpuska 30
  • 31. 20 May 2024 31 Digital Telephone Communication System Example:
  • 32. Signal Types M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 32
  • 33. Conversions Between Signal Types Sampling Quantizing Encoding M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 33
  • 34. Message Encoded in ASCII M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 34
  • 35. Noisy Message Encoded in ASCII Progressively noisier signals M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 35
  • 36. Bit Recovery in a Digital Signal Using Filtering M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 36
  • 37. 20 May 2024 Veton Këpuska 37 Assignment 1 (Matlab implementation) signal regeneration - Generate noiseless clean signal X(n) :pulse train of 0’s and 1’s - Generate discrete random noise N(n) (or Gaussian noise) using random generate - Noisy signal Y(n) = x(n) + n(n) - Select a threshold level TH - Apply condition: if y(n) >=TH; then y1(n) =1; - else; y1(n) =0 - Compare x(n) to y1(n); and find error bits - Change noise amplitude (higher/ lower) and repeat signal regeneration - Put your conclusion on the effect of high noise level on bit error rate ( higher noise ; higher error bits).
  • 38. Image Filtering to Aid Perception Original X-Ray Image Filtered X-Ray Image M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 38
  • 39. Discrete-Time Systems In a discrete-time system events occur at points in time but not between those points. The most important example is a digital computer. Significant events occur at the end of each clock cycle and nothing of significance (to the computer user) happens between those points in time. Discrete-time systems can be described by difference (not differential) equations. Let a discrete-time system generate an excitation signal y[n] where n is the number of discrete-time intervals that have elapsed since some beginning time n = 0. y n [ ]=1.97y n -1 [ ]- y n - 2 [ ] M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 39
  • 40. Discrete-Time Systems The equation y n [ ]=1.97y n -1 [ ]- y n - 2 [ ] says in words “The signal value at any time n is 1.97 times the signal previous time [n -1] minus the signal value at the time before that [n - 2].” If we know the signal value at any two times, we can compute its value at all other (discrete) times. This is quite similar to a second-order differential equation for which knowledge of two independent initial conditions allows us to find the solution for all time and the solution methods are very similar. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 40
  • 41. Discrete-Time Systems y n [ ]=1.97y n -1 [ ]- y n - 2 [ ] We could solve this equation by iteration using a computer. yn = 1 ; yn1 = 0 ; while 1, yn2 = yn1 ; yn1 = yn ; yn = 1.97*yn1 - yn2 ; end We could also describe the system with a block diagram. Initial Conditions (“D” means delay one unit in discrete time.) M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 41
  • 42. Discrete-Time Systems y n [ ]=1.97y n -1 [ ]- y n - 2 [ ] With the initial conditions y[1] = 1 and y[0] = 0 the response is M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 42
  • 43. Feedback Systems In a feedback system the response of the system is “fed back” and combined with the excitation is such a way as to optimize the response in some desired sense. Examples of feedback systems are 1. Temperature control in a house using a thermostat 2. Water level control in the tank of a flush toilet. 3. Pouring a glass of lemonade to the top of the glass without overflowing. 4. A refrigerator ice maker that keeps the bin full of ice but does not make extra ice. 5. Driving a car. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 43
  • 44. Feedback Systems Below is an example of a discrete-time feedback system. The response y[n] is fed back through two delays and gains b and c and combined with the excitation x[n]. Different values of a, b and c can create dramatically different responses to the same excitation. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 44
  • 45. Feedback Systems Responses to an excitation that changes from 0 to 1 at n = 0. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 45
  • 46. Sound Recording System M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 46
  • 47. Recorded Sound as a Signal Example  “s” “i” “gn” “al” M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 47
  • 48. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 48
  • 49. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 49
  • 50. M. J. Roberts - All Rights Reserved. Edited by Dr. Robert Akl 50
  • 51.  HW  1. given signal y(t) = 5 sin(2∏ft + Ф). Draw signal y(t) for:  i..f = 2000 Hz, Ф =0, ∏ /4, ∏ /2, ∏.  Ii. use Matlab : - display graphic representations of above signal. - Display the sum of y(t) for Ф =0+ y(t) for Ф = ∏/4 - Display the sum of y(t) for Ф =0+ y(t) for Ф = ∏/4 + - y(t) for Ф = ∏/2 20 May 2024 51
  • 52.  2. given signal y(t):  Write equation representing y(t),  Write equation representing y(t-1),  Draw signal z(t) = 2y(t) + y(-t)  Use matlab and validate your answer. 20 May 2024 Veton Këpuska 52 -3 -1 0 1 3 4 6 4 2 amplitude time
  • 53. 20 May 2024 Veton Këpuska 53
  • 54. 20 May 2024 Veton Këpuska 54
  • 55. 20 May 2024 Veton Këpuska 55
  • 56. 20 May 2024 Veton Këpuska 56
  • 57. 20 May 2024 Veton Këpuska 57
  • 58. 20 May 2024 Veton Këpuska 58
  • 59. 20 May 2024 Veton Këpuska 59
  • 60. 20 May 2024 Veton Këpuska 60
  • 61. 20 May 2024 61 0 20 40 60 80 100 -10 0 10 t (ms) 0 10 20 30 40 50 -10 0 10 n (samples)
  • 62. 20 May 2024 Veton Këpuska 62
  • 63. 20 May 2024 63 ADC x(t) Analog Low-pass Filter Sample and Hold fs b) Amplitude Quantized Signal xa(nT) x[n] Quantizer DSP c) Amplitude & Time Quantized – Digital Signal a) Continuous Signal
  • 64. 20 May 2024 Veton Këpuska 64
  • 65. 20 May 2024 Veton Këpuska 65
  • 66. 20 May 2024 Veton Këpuska 66
  • 67. 20 May 2024 Veton Këpuska 67
  • 68. 20 May 2024 Veton Këpuska 68
  • 69. 20 May 2024 Veton Këpuska 69
  • 70. 20 May 2024 Veton Këpuska 70
  • 71. 20 May 2024 Veton Këpuska 71
  • 72. 20 May 2024 Veton Këpuska 72
  • 73. 20 May 2024 Veton Këpuska 73
  • 74. 20 May 2024 Veton Këpuska 74
  • 75. 20 May 2024 75 DAC DSP Digital to Analog Converter Analog Low-pass Filter y[n] y(t) ya(nT) c) Continuous Low-pass filtered Signal b) Analog Signal a) Digital Output Signal
  • 76. 20 May 2024 Veton Këpuska 76
  • 77. 20 May 2024 Veton Këpuska 77
  • 78. 20 May 2024 Veton Këpuska 78
  • 79. 20 May 2024 Veton Këpuska 79
  • 80. 20 May 2024 Veton Këpuska 80
  • 81. 20 May 2024 Veton Këpuska 81
  • 82. 20 May 2024 Veton Këpuska 82
  • 83. 20 May 2024 Veton Këpuska 83
  • 84. 20 May 2024 Veton Këpuska 84
  • 85. 20 May 2024 Veton Këpuska 85
  • 86. 20 May 2024 Veton Këpuska 86
  • 87. 20 May 2024 Veton Këpuska 87
  • 88. 20 May 2024 Veton Këpuska 88
  • 89. DSP Application Domains 20 May 2024 Veton Këpuska 89
  • 90. 20 May 2024 Veton Këpuska 90
  • 91. 20 May 2024 Veton Këpuska 91
  • 92. 20 May 2024 Veton Këpuska 92 FPGA: Field Programmable Gate Arrays
  • 93.  FPGA 20 May 2024 Veton Këpuska 93
  • 95. 20 May 2024 Veton Këpuska 95
  • 96. END 20 May 2024 Veton Këpuska 96

Editor's Notes