DSP Unit-I Part 2 Updated 20.7.2020
DSP Unit-I Part 2 Updated 20.7.2020
2
Cont…
• The sampling is the process of conversion of a
continuous time signal into a discrete time signal.
• The sampling is performed by taking samples of
continuous time signal at definite intervals of time.
• The time interval between two successive samples will
be same and such type of sampling is called periodic
or uniform sampling.
• The time interval between successive samples is called
sampling time (or sampling period or sampling
interval), and it is denoted by “T.” The unit of sampling
period is second (s).
3
Cont…
• The inverse of sampling period is called sampling
frequency (or sampling rate), and it is denoted by Fs. The
unit of sampling frequency is hertz (Hz). ( kHz or MHz)
• Let, xa(t) = Analog / Continuous time signal.
x(n) = Discrete time signal obtained by sampling xa(t).
Mathematically, the relation between x(n) and xa(t) can be
expressed as,
2
Therefore Fs = 2Fmax
• To avoid aliasing Fs Fmax
• When sampling frequency Fs is equal to 2Fmax
the sampling rate is called Nyquist rate.
7
Sampling Theorem
• A band limited continuous time signal with
highest frequency (bandwidth) Fm hertz can
be uniquely recovered from its samples
provided that the sampling rate Fs is greater
than or equal to 2Fm samples per second
8
Cont…
9
ADC
10
Cont…
11
Cont…
12
Cont…
Normalized frequency
13
Cont..
• Quantization This is the conversion of a discrete-
time continuous-valued signal into a discrete-
time, discrete-valued (digital) signal.
• The value of each signal sample is represented by
a value selected from a finite set of possible
values.
• Quantization error The difference between the
unquantized sample x(n) and the quantized
output xq(n) is called the quantization error or
noise
15
Cont…
• The rounding quantizer assigns each sample of x(n) to
the nearest quantization level. The quantization error
eq(n) in rounding is limited to the range of − /2 to /2,
16
Cont…
17
Problem
Prob1: Consider the analog signal represented by
xa(t) = 3 cos 100πt
(a) Determine the minimum sampling rate required to avoid
aliasing.
(b) Suppose that the signal is sampled at the rate Fs = 200
Hz. What is the discrete-time signal obtained after
sampling?
(c) Suppose that the signal is sampled at the rate Fs = 75
Hz. What is the discrete-time signal obtained after
sampling
18
Cont…
Solution
w k t = 2F, Hence F = /2 = 100 /2
(a) The frequency of the analog signal is f = 50 Hz.
Hence the minimum sampling rate required to
avoid aliasing is Fs = 100 Hz. (i.e. Fs 2Fm )
(b) If the signal is sampled at Fs = 200 Hz, the
discrete-time signal is
19
Cont…
20
Cont…
Prob.2 The analog signal is represented by
22
Problem
23
Problem Cont…
24
25
26
27
28
29
30
31
32
Problem
Determine the following systems are time invariant or variant
(i) y(n) = x(n) + x (n-1) (ii) y(n) = x (-n) (iii) y(n) = x (2n)
33
Cont…
34
Cont…
35
Problem
36
Cont…
37
Cont…
38
39
Cont…
40
Cont…
41
Cont…
42
Cont…
43
Cont…
44
Cont…
45
Cont…
46
Cont…
47
Quantization Noise Power
48
Quantization Noise ratio (SQNR)
49
Coding of Quantization Sample
50
51
52
53
Digital Signal Processing Methods
54
Convolution Integral
The convolution of two functions h(t) and x(t), denoted by h(t)*x(t), is
defined by:
55
56
57