Escolar Documentos
Profissional Documentos
Cultura Documentos
Lecture 1
Outline
Introduction of DSP
Applications
Projects
DSP in Biomedical Engineering
DSP in Radars
DSP in Communication Systems
INTRODUCTION TO DSP
Adv DSP:
Focus on DSP Software Design
DSP
Application of mathematical operations (linear
and non-linear) to digitally represented signals
IN
OUT
A/D DSP
x[0]
D/A
x[1]
n
-3 -2 -1 0
Discrete
Time Signal
General Introduction
sequence x[n]
- as opposed to continuous-time
signals x(t)
- time = independent variable
Example- 1D Signal
Sampled continuous-time (analog) signals
- Speech
DSP
Roots in 17-th and 18-th century
mathematics
An important modern tool in a
multitude of fields of science and
technology
Techniques and Applications of DSP
As old as Newton and Gauss
As new as digital computers and integrated
circuits
Purpose
To estimate characteristic parameters
of signals
Statistical Signal Processing
Typical Scenario
Step 1: Analog sensor picking analog signal (e.g., microphone picking sound)
Step 2: Analog to Digital Converter
Step 3: DSP processes the digital signals (e.g., compression, noise suppression)
Step 4: Digital to analog converter to recover the analog signal
10
Real-Time DSP
Digital Signal in
Example:
Real-Time
Digital Processing
Microprocessor
Cell
Receiver
Chip
Peripherals
RF
Codec
DSP
Chip
Voice
Codec
-Speech Coders
-Speech Recognition
- Equalizers
- Antenna noise cancellation
-Image enhancement techniques
12
13
Purpose
DSP SW Design: Availability of highspeed digital computers has fostered
development of increasingly complex
and sophisticated signal processing
algorithms
Digital Design of DSP: Advances in VLSI
technology have made possible
economical implementations of very
complex digital signal processing
algorithms
DSP APPLICATIONS
Adv DSP:
Focus on DSP Software Design
15
DSP is Everywhere
Sound applications
Compression, enhancement, special effects, synthesis, recognition, echo
cancellation,
Cell Phones, MP3 Players, Movies, Dictation, Text-to-speech,
Communication
Modulation, coding, detection, equalization, echo cancellation,
Cell Phones, dial-up modem, DSL modem, Satellite Receiver,
Automotive
ABS, GPS, Active Noise Cancellation, Cruise Control, Parking,
Medical
Magnetic Resonance, Tomography, Electrocardiogram,
Military
Radar, Sonar, Space photographs, remote sensing,
Mechanical
Motor control, process control, oil and mineral prospecting,
Video
Communications
Data Storage
& Transmission
Web wireless
technology
Space
Imaging
Appls
Speech
Recognition
Car Awake
warning system
Optical
Wearable
Computers
Ultrasound
Medical
Imaging
Spy
Satellite
Imaging
Military
Appls
Real-Time
Video-Camera
Cell-Phones
A/D
digital
signal
DSP
digital
signal
D/A
analog
signal
Intra-cardiac Signals
fMRI
3-D Accelerometers
Thallium scans
Fundus Image
The fundus of the eye is the interior surface of the eye, opposite the lens, and
includes the retina, optic disc, macula and fovea,
Cardiac ECG
Intra Cardiac
Holter Monitor
Nuclear
Cardiac & CT
Angiography
Diabetic
Retinopathy,
Maculopathy,
OCT
Hess
Charting
i-Hospital
Use ICT as a Catalyst
Gastroenterology
National
Repository &
Analytics
Eye Care
The retina is the layer of tissue at the back of the inner eye
Optic Disc - brightest circular spot
Macula - main central part of retina responsible for fine
details and sharp vision
Blood Vessels
Retinal Image
Feature
Extraction
Feature Selection
Candidate Lesions
Feature Set
Optic Disc
Microaneurysms
Normal
Mild
Moderate
Severe
G
R
A
D
I
N
G
Haemorrhage
Hard Exudates
Soft Exudates
C
L
A
S
S
I
F
I
E
R
A Tele-Cardiac &
i-Diagnostic System
Corporate Social Responsibility
AFIC / NIHD
National ICT R&D Fund
Tele-cardiac node at
District hospital
Wireless
Internet
ONT
Ambulance
ONT
WebSerices
and NMS
Server
WiFi Router
Patient
Doctors
Terminal
Operator
49
ECG Wave
50
ECG View
52
53
54
55
56
57
ECG Wave
58
ECG signal
Morphology Comprehension and location of fiducial points
RR
ST
QT
PP
PR
SDNN
NN50
count
HRV
Triangular
index
Dispersion
Different
ial index
VLF
TINN
ApEn
LF10m
ULF
MSE
LF
Total
Power
HF
HR
Nonlinear Analysis
Parameters
Frequency Domain
Parameters
SDNN
index
RMSSD
SDANN
QRS
pNN50
SEn
DFA
MFA
HRT
Alpha
Logarithm
ic index
HF10m
TWA
IBSI
MKLT
LF/ HF
Output Space
Membership functions
N
59
Start
Perform Analysis
no
Ectopic Beat
yes
Beat Classification
Repopulate signal
of normal beats
Calculate RR
intervals (Heart
Rate Variability)
Perform Analysis
Calculate QT
interval
Perform Analysis
Calculate ST
segment duration
Perform Analysis
Template
Matching
Morphology
Analysis
Calculate T wave
alternans
Calculate Heart
Rate Turbulence
Perform Analysis
Perform Analysis
A Hybrid Classifier
Abnormality
Found?
yes
Transmit
Data
no
Generate Report
Local
Database
End
60
Bandpass Filter
0.5/1 Hz < fs < 40Hz
Bandpass Filter
0.05 Hz < fs < 150Hz
Raw ECG
61
Start
ECG Signal
62
Start
Acquire ECG Signal
Filter ECG
Compute frequency component
fnotch with highest energy
in the sliding window
Powerline Interface
removed signal
63
Start
64
Start
Beats Splitting
and Assignment
Inter-beat
decorrelating transform
Intra-beat
decorrelating transform
Noise Estimation
Diagnosed ECG
QRS Detection
Transform Domain
Wiener Filter
Beats Merging
Inverse Transform
Inverse Transform
65
Start
Calculation of Time
Window before R peak
Calculation of Time
Window after R peak
Detection of
Modulus Maxima Pair
Detection of
Modulus Maxima Pair
Multiscale Zero-crossing
point and edge detection
Multiscale Zero-crossing
point and edge detection
R point
Detection of
QRS onset
Detection of
QRS offset
Detection of
Q point
Detection of
S point
QRS onset
and Q point
QRS offset
and S point
Detection of
T point
Detection of P point
Detection of P
wave onset
P point
P wave Onset
Detection of P
wave offset
P wave Offset
T point
Detection of T
wave onset
Detection of T
wave offset
T wave Onset
T wave Offset66
AR coefficients
Calculate Y1 APC/
PVC/ NSR/ SVT or VT/ VF
VT/ VF
Calculate Y2 VT/ VF
SVT
VT
VF
APC/ NSR
PVC/ NSR
APC
NSR
PVC
NSR
68
RR intervals
HRV Preprocessing
DWT
iDWT
Clean RR intervals
69
T1 T3
P
Q
T3 T4
T1 T2
P
Q
T2 T4
IfS(|T1 T3| < |T1 T2|) and (|T2 ST4| < |T3 T4|) and (|T2 T4| S
< |T1 T2|) and (|T1 T3| < |T3 ST4|)
Then T wave Alternans in this window is present
Here Tn is the nth T wave in a Four Beat Window (n=1,2,3,4)
70
Type
PP
Interval
Variation
(s)
PR
Interval
Variation
(s)
PP
Interval
Duration
(s)
RR
Interval
Duration
(s)
Atrial
Rate
(1/s)
Ventricular
Rate (1/s)
P-wave
PR
Interval
Duration
(s)
QRS
Interval
Duration
(s)
T wave
QT
Interval
Duration
(s)
ST
segment
shift
(mV)
Normal
<0.16
<0.16
0.6 - 1
0.6 - 1
60 - 100
60 - 100
Present,
upright,
round
and
smooth
0.12
0.2
0.06
0.1
Present,
upright and
round
0.36
0.44
-0.05 - 1
FDB
Normal
Normal
Normal
Normal
Normal
Normal
Normal
>0.2
Normal
Normal
Normal
SDB-I
Normal
>0.16
0.33
0.6
0.33
0.6
Normal
Normal
Normal
>0.2
Normal
Normal
Normal
TDB
Normal
>1
Normal
<60
Normal
Normal
Normal
Normal
Myo. In
>1
Ischemia
<-0.05
VER
Normal
Normal
>1
>1
<40
<40
Normal
Normal
>0.1
Normal
SAr
>0.16
>0.16
>0.33
>0.33
Normal
Normal
Normal
Normal
Normal
Normal
Normal
SB
Normal
Normal
>1
>1
<60
<60
Normal
Normal
Normal
Normal
Normal
ST
Normal
Normal
0.33
0.6
0.33
0.6
100 180
100 - 180
Normal
Normal
Normal
Normal
Normal
VF
1 1.5
VT
Normal
Normal
>100
Absent
>0.1
VA
> 1.5
PAC
> 0.16
> 0.16
0.33
0.6
0.33
0.6
Normal
Normal
PVC
Absent
>0.1
Opposite in
direction to
QRS
AT
Normal
Normal
0.24
0.4
150 250
Normal
Normal
AFr
Normal
Normal
Normal
250 400
Normal
Abnorma
l
Normal
AFn
0.33
>400
100 - 180
Abnorma
Normal
71
-
DSP Algorithms
Burst Receiver
SBSRAM
A/D
From RF
Board
FEC
To RF
Board
Xlllnx 4062
TMS320C6201
DDS
Flash
68332
SRAM
DSP Software
Embedded Software
Square
wave outpt
Output
Bitsream
72
73
User Applications
Media
Processing
Apps &
Devices
Cell &
Packet
Processing
Apps &
Devices
Call
Control &
Signaling
Protocols
& Apps
AVAZ
SNMP
Agent
& MIB
Utilities
74
75
DRSE Demodulator
Ethernet
SD
DATAX
PORT A
SD
RD
SD
PROLIANT
1850R
SD
ONLINE
PORT B
RD
iZ 9200
BWD
PORT SEL
ENTER
DISC
DATA
Test
DRSE Demodulator
Load
On
Line
On
Battery
Smart Replace
Boost Battery Battery
SDR
The Technology
From Other
Channels
1010010
Analog
input
Analog to
Digital
Converter
Digital Bandpass
waveform
Bits
Bandpass
modulate
10110
Source
Encode
Pulse
modulated
waveform
Encrypt
Encoded
Bits
Channel
Encoded
Data
Bit to Sym.
& Pulse
Modulate
01101
Encrypted
Data
Multiplexed Data
Scrambled
data
Channel
Encode
1001101
Digital
Bandpass
waveform
De-modulate
Digital
Baseband
waveform
Source
Decoded
Bits
Analog
output
D/A
1010010
Decrypted
Bits
Source
Decode
10110
01101
01010
10101
Scrambler
10001
Bits
Equalizer,
Timing and
Sym. to Bits
Multiplex
Channel
Decode
Channel
Decoded
Data
01101
Descramble
Descrambled Bits
Demultiplexed
Bits
10001
DeDecrypt
Multiplex
To other
Channels
80
81
SDR (Equalizer)
82
KLT (PCA)
Eigenimages examples:
Facial
image
set
Corresponding
eigenfaces
Face
aproximation,
from rough to
detailed, as more
coefficients are
added
COURSE OUTLINE
&
LEARNING OUTCOMES
Adv DSP:
Focus on DSP Software Design
85
Course Outline
Basic Concepts
Fundamentals of discrete-time, linear, shift-invariant signals
and systems in
Representation and Analysis: sampling, quantization, Fourier and
z-transform;
Implementation: filtering and transform techniques;
Design: filter & processing algorithm design.
Efficient computational algorithms for FFT and their implementation.
Course Outline
Advanced Topics
Sampling rate conversion in multirate systems,
multirate signal processing, bandpass sampling
and advanced transforms
Signal Modeling, Least Square Method, Pade
Approximation, Pronys Method, Finite Data
Record and Stochastic Models
Levinson Recursion
Course Outline
DSP SW Design
Course Outline
DSP SW
Design
Band-pass
sampling
Multi-rate
Signal
Processing
Signal
Modeling
DSP Fundamentals
Prerequisite
A fundamental course in signal
processing
Liner System analysis and transform
analysis
convolution and filtering
Fourier transforms
Laplace and z transforms
Textbook
Oppenheim, Schafer and
Buck, Discrete-Time
Signal Processing, 2nd
edition (Prentice-Hall,
1999)
Refrences:
Hayes, Digital Signal
Processing (Schaums
Outlines Series), 1999
McClellan, Schafer, &
Yoder, DSP First
Text
Monson H. Hayes
Statistical Digital Signal
Modeling
John Wiley & Sons, Inc
Processing
and
References:
Ifeachor Jervis
Digital Signal Processing- A Practical Approach
Prentice Hall
Marks Distribution
Grading
Sessional #1:
Sessional #2:
Quizzes
Assignments
Term Paper
Term Project:
Final:
20%
20%
5%
5%
2%
5%-10%
40-45%
DSP FUNDAMENTALS
Adv DSP:
Focus on DSP Software Design
95
Signals
Basic Types
-10
0
10
t (ms)
20
40
60
80
100
10
20
30
40
50 n (samples)
-10
0
Basic Signals
1.5
1
0.5
0
-10
-5
10
-5
10
-5
10
1.5
1
0.5
0
-10
1
Exponential sequences
0.5
x[n] a n
0
-10
Sinusoidal Sequences
Sinusoid
xn A coson
A complex exponential
x[n] Ae
jon
xn A coson jA sinon
sindemo
% sin generation
xn1 = A*sin(omega*n+theta);
% exp generation
xn2 = A.^n;
Basic Operations
operations
Operations in Matlab
xn1 = [1 0 3 2 -1 0 0 0 0 0];
xn2 = [1 3 -1 1 0 0 1 2 0 0];
yn = xn1 + xn2;
Linear
linearity
Linear
Time-Invariant
System
Linear
Time-Invariant Systems
LTI System
Simple 3*3
Neighbourhood
3*3 Filter
Image f (x, y)
Original Image
Pixels
Filter (w)
eprocessed = n*e +
j*a + k*b + l*c +
m*d + o*f +
p*g + q*h + r*i