Академический Документы
Профессиональный Документы
Культура Документы
0
1
2
-1.5
-0.5
-2
-1
1 0
0.22
3 0.44
0.64
5 0.82
0.98
7 1.11
1.2
9 1.24
1.27
11 1.24
1.2
13 1.11
0.98
15 0.82
0.64
17 0.44
0.22
19 0
-0.22
-0.44 21
-0.64
-0.82 23
-0.98
-1.11 25
-1.2
-1.26 27
What is DSP?
-1.28
-1.26 29
-1.2
-1.11 31
-0.98
-0.82 33
-0.64
-0.44 35
-0.22
37 0
Binary Search
The speed the binary search is accomplished
depends on:
The clock speed of the ADC
The number of bits resolution
Can be shortened by a good guess (but usually is
not worth the effort)
How Does It Work?
Faithful Duplication
Now that we can slice up a waveform and
convert it into digital form, lets take a look at
how it is used in DSP
Draw a simple waveform on graph paper
Scale appropriately
Gather digital data points to represent the
waveform
Starting Waveform Used to
Create Digital Data
How Does It Work?
Faithful Duplication
Swap your waveform data with a partner
Using the data, recreate the waveform on a
sheet of graph paper
Waveform Created from
Digital Data
How Does It Work?
Faithful Duplication
150 150
100 100
Amplitude
Amplitude
50 50
0 0
-50 0 10 20 30 40 -50 0 10 20 30 40
-100 -100
-150 -150
Time Time
How Does It Work?
Faithful Duplication
Lets take care of some static crashes that cause
some interference
Using your raw digital data, create a new table
of data that replaces extreme high and low
values:
Replace values greater than 100 with 100
Replace values less than -100 with -100
Modulation
Discrete signals are rarely transmitted over long distances
or stored in large quantities in their raw form.
1. telecommunications
Three most commonly used digital modulation
schemes for transmitting
are involved. ADC or DACs are either to expensive or do not have sufficient
* DSP designs can be time consuming plus need the necessary resources
(software etc)
5. Modulation
Convolution
Convolution is one of the most frequently used operations in
DSP. Specially in digital filtering applications where two finite
and causal sequences x[n] and h[n] of lengths N1 and N2 are
convolved
y[n] h[n] x[n] h[k ]x[n k ] h[k ]x[n k ]
k k 0
1. Auto-correlation
2. Cross-correlation
Given two length-N sequences x[k] and y[k] with zero means, an estimate of
rxy(n) is an estimate of the cross covarience
their
Where,
1 N n1
x[k ] y[k n] n 0,1,2,...
rxy n N k 0
1 N n 1
N k 0
x[k n] y[k ] n 0,1,2,...
1 N 1 1 N 1
rxx (0) x[k ] , ryy (0) y[k ]
2 2
N k 0 N k 0
[n]
2. An estimate of the auto-correlation xx of an length-
N sequence x[k] with zero mean is given by
rxx [n]
xx [n] , n 0,1,2
rxx [0]
Application Areas
Image Processing Instrumentation/Control Speech/Audio Military
Pattern recognition spectrum analysis speech recognition secure communications
etc.