Академический Документы
Профессиональный Документы
Культура Документы
Jameel Ahmed
Department of Electrical Engineering
HITEC University
March 2, 2013
Contents
3 Classification of Signals
2 March 2, 2013
Introduction To DSP
Signal
A signal is any physical quantity that varies with time, space or any
other independent variable or variables.
Processing
Performing certain operations on a signal to extract some useful
information
Digital
The word digital in digital signal processing means that the
processing is done either by a digital hardware or by a digital
computer.
3 March 2, 2013
Digital Signal Processing
4 March 2, 2013
Cont…
Let ,where k=1,2,3 denotes the electrical signal from the kth
sensor as a function of time, the set of p=3 signals can be
represented by a vector , where
5 March 2, 2013
Cont…
6 March 2, 2013
Cont…
Is a real-valued signal.
Is a complex-valued signal.
7 March 2, 2013
Limitations of Analog Signal
Processing
Component tolerances
Undesired nonlinearities
Tolerances
• Temperature
• Vibration
8 March 2, 2013
Cont…
Inflexibility to changes
9 March 2, 2013
Advantages of DSP
Repeatable
1
March 2, 2013
Limitations of DSP
1
March 2, 2013
Classification of Signals
Signal
Continuous Discrete
Continuous- Discrete-
Valued Valued
Time Signal Time Signal
Signal Signal
1
March 2, 2013
Cont…
Continuous-Time Signal
Function of time
13 March 2, 2013
Cont…
Discrete-Time Signal
14 March 2, 2013
Cont…
Continuous-Valued Signal
Infinite values
Function of time or n
15 March 2, 2013
Cont…
Discrete-Valued Signal
Finite values
Function of time or n
16 March 2, 2013
A/D & D/A Conversion
Analog Analog
A/D Digital Signal D/ A
input output
Convertor Processor Convertor
signal signal
Digital Digital
input output
signal signal
17 March 2, 2013
Cont…
18 March 2, 2013
Example Of Quantization
Example # 4:
n x(n)
Discrete-time signal (Truncation) (Rounding) (Rounding)
0 1 1.0 1.0 0.0
1 0.9 0.9 0.9 0.0
2 0.81 0.8 0.8 -0.01
3 0.729 0.7 0.7 -0.029
4 0.6561 0.6 0.7 0.0439
5 0.59049 0.5 0.6 0.00951
6 0.531441 0.5 0.5 -0.031441
7 0.4782969 0.4 0.5 0.0217031
8 0.43046721 0.4 0.4 -0.03046721
9 0.387420489 0.3 0.4 0.012579511
10 0.34867844 0.3 0.3 0.04867844
11 0.313810596 0.3 0.3 0.013810596
12 0.282429536 0.2 0.3 0.017570463
19 March 2, 2013
Quantization
20 March 2, 2013
Cont…
Quantization Levels:
The values allowed in the digital signal are
called the Quantization Levels.
21 March 2, 2013
Cont…
22 March 2, 2013
Coding
23 March 2, 2013
Cont…
n x(n) Code
Truncated
0 1.0 0000
1 0.9 0001
2 0.8 0010
3 0.7 0011
4 0.6 0100
5 0.5 0101
6 0.5 0101
7 0.4 0110
8 0.4 0110
9 0.3 0111
10 0.3 0111
11 0.3 0111
12 0.2 1000
24 March 2, 2013
Cont…
0000
0001
0010
0011
0100
0101
0110
0111
1000
0 2 4 6 8 10 12
25 March 2, 2013
Continuous-Time Signal
26 March 2, 2013
Discrete-Time Signal
27 March 2, 2013
Sampling
28 March 2, 2013
Cont…
Continuous Signal
Discrete Signal
where
T = Sampling Period
Fs = Sampling Frequency (Hz) = Sampling Rate (Samples / Second)
29 March 2, 2013
Cont…
where T = 1
As
30 March 2, 2013
Aliasing
31 March 2, 2013
Example #1
b) Suppose that the signal is sampled at the rate of 200Hz, what is the
discrete-time signal obtained after sampling ?
c) Suppose that the signal is sampled at the rate of 75Hz, what is the
discrete-time signal obtained after sampling ?
32 March 2, 2013
Solution
33 March 2, 2013
Cont…
34 March 2, 2013
Cont…
35 March 2, 2013
Example # 2
36 March 2, 2013
Solution
37 March 2, 2013
Example # 3
Then find,
a) Discrete-Time signal?
b) Is there any aliasing, if so find Alias signal?
c) Find the minimum sampling rate to avoid Aliasing?
38 March 2, 2013
Solution
a)
So and
39 March 2, 2013
Cont…
Similarly
40 March 2, 2013
Comparison Between Continuous
Time and Discrete Time Signal
Where Where
A= Amplitude A = Amplitude
Ω = Frequency (radian/ second) ω = Frequency (radian/sample)
θ=Phase θ = Phase
F=cycles/second -∞ < F < ∞ f = cycles/sample -1/2 ≤ f ≤ 1/2
41 March 2, 2013
Characteristics of Analog
Sinusoidal Signal
42 March 2, 2013
Characteristics of Discrete Time
Sinusoid
(or f= -1/2).
43 March 2, 2013
Cont…
Rational
44 March 2, 2013
Cont…
Where
46 March 2, 2013
Cont…
47 March 2, 2013
Cont…
48 March 2, 2013
Example
x (n) = A cos(ω n+ θ)
Where
ω = π/6 and θ=π/3
f = 1/12 cycles per sample
49 March 2, 2013
Digital Signal & Analog Signal
Digital Signals
Analog Signals
50 March 2, 2013
Analog To Digital Converter
Sampling.
Quantization.
Coding.
51 March 2, 2013
Digital To Analog Converter
Decoding.
Quantization.
Sampling.
52 March 2, 2013
Cont…
Digital
Decoding Quantizer Sampler Band Pass
signal
Filter
53 March 2, 2013
Cont…
54 March 2, 2013