8.1 and 8.2 Signal System and Digital Signal Processing
8.1 and 8.2 Signal System and Digital Signal Processing
Signal:
The physical quantity that contains the information. The signal may be
one dimensional or multidimensional
Example:
I(t) , V(t) , X(t1,t2,t3)
1
9/26/2024
2
9/26/2024
3
9/26/2024
4
9/26/2024
yn
1
xn 1 xn xn 1
3
Causal or non-causal?
Solution:
Non-causal; the output signal y[n] depends on a future value of the
input signal, x[n+1]
yn
1
xn 1 xn xn 1
3
10
5
9/26/2024
11
A signal is a power signal if and only if average power of signal satisfies the
condition
0<P<∞ and E=∞
12
6
9/26/2024
13
14
7
9/26/2024
• Signum function is the signal used to define the sign of the signal
Sgn(t) = 1 for t> 0
-1 for t<0
0 for t= 0
15
3. Sinc Signal:
16
8
9/26/2024
Hilbert Transformation
9
9/26/2024
Let a signal x(t) with Fourier transform X(ω). The Hilbert transform of
x(t) is obtained by the convolution of x(t) and (1/πt), i.e.,
10
9/26/2024
The process of recovering the original signal x(t) from x^(t)is called the inverse
Hilbert transform. Mathematically, it is defined as,
The equations of functions x(t) and x^(t) together are called Hilbert transform pair.
Fourier Series
To represent any periodic signal x(t), Fourier devel oped a n expression ca lled Fourier
series. This is in terms of a n infinite sum of sines a n d cosines or exponentials. Fourier
series uses orthoganality condition.
Fourier Series Representation of Continuous Time Periodic Signals
A signal is said to b e periodic if it satisfies the condition x (t) = x (t + T) or x (n) = x (n + N).
Where T = fund a me nta l tim e p erio d,
ω 0= fund a me nta l frequenc y = 2π /T
There are two basic periodic signals: x(t)=cosω0t(sinusoidal) & x(t)=ejω0t(complex
exponential)
These two signals are periodic with period T=2π/ω0
A set of harmonically related complex exponentials c a n b e represented as {ϕk(t)}
11
9/26/2024
Fourier Series
Fourier Series
12
9/26/2024
Fourier Series
by Euler's formula,
He nce in equation 2, the integral is zero for all values of k except at k = n. Put k = n in
equation 2.
Re pla ce n by k
13
9/26/2024
14
9/26/2024
15
9/26/2024
Equation 1 represents exponential Fourier series representation of a signal f(t) over the
interval (t0, t0+T).
16
9/26/2024
17
9/26/2024
INTRODUCTION:
The main dra wba ck of Fourier series is, it is only a pplicable to periodic signals. There are
some naturally produ ce d signals such as nonperiodic or aperiodic, which w e ca nnot
represent using Fourier series. To o ve rcome this shortcoming, Fourier d evel oped a
mathematical model to transform signals between time (or spatial) domain to
frequency domain & vice versa, which is called 'Fourier transform'.
Fourier transform has many applications in physics a n d engineering such as analysis of LTI
systems, RADAR, astronomy, signal processing etc.
Deriving Fourier transform from Fourier series:
Consider a periodic signal f(t) with period T. The complex Fourier series representation of
f(t) is given a s
18
9/26/2024
In the limit as T→∞,Δf approache s differential df, kΔf becomes a continuous variable f,
a n d summation be come s integration
FT of GATE Function
FT of Impulse Function:
19
9/26/2024
FT of Exponentials:
FT of Signum Function :
20
9/26/2024
Linearity Property:
21
9/26/2024
22
9/26/2024
Where,
23
9/26/2024
Example: Let
Fourier transform of this sequence will exist if it is absolutely summable. We have
24
9/26/2024
Now consider a periodic sequence x[n] with period N a n d with the Fourier series
representation
25
9/26/2024
26
9/26/2024
is used to say that left ha nd side is the signal x[n] whose DTFT is given a t right ha nd side.
27
9/26/2024
28
9/26/2024
The impulse train on the right-hand side reflects the d c or avera ge value that c a n result
from summation.
6.Time Reversal
7.Time Expansion
For continuous-time signal, w e have
For discrete-time signals, however, a should b e a n integer. Let us define a signal with k a
positive integer,
29
9/26/2024
For k > 1, the signal is spread out a n d slowed down in time, while its Fourier transform is
compressed.
8.Differentiation in Frequency
The right-hand side of the a b o ve equation is the Fourier transform of - jnx[n] . Therefore,
multip lying b oth sides by j , w e see tha t
9.Parseval’s Relation
30
9/26/2024
Proof:
31
9/26/2024
32
9/26/2024
33
9/26/2024
• If the signal can be represented as sum of fourier series components and power is
defined as:
Proof:
34
9/26/2024
35
9/26/2024
36
9/26/2024
37
9/26/2024
38
9/26/2024
System:
A system refers to any physical device that produces output signal in
response to an input signal.
Input x(t)
Process h(t)
Output y(t)
78
39
9/26/2024
Example of system
In automatic speaker recognition system; the system is to extract the information
from an incoming speech signal for the purpose of recognizing and identifying the
speaker.
In communication system; the system will transport the the information contained
in the message over a communication channel and deliver that information to the
destination.
• A linear system is any system that obeys the property of scaling and
superposition. i.e. output is linearly proportional to input.
80
40
9/26/2024
81
X(n-n0) Y (n -n0)
82
41
9/26/2024
83
y(t) is the output of the continuous-time LTI system with input x(t) and
no initial energy.
With the unit impulse as an input [i.e., x(t)=(t)], the output is defined
as the IMPULSE RESPONSE and is represented by h(t).
84
42
9/26/2024
Convolution is a mathematical operation used to express the relation between input and output of an
LTI system. It relates input, output and impulse response of an LTI system as:
y(t)=x(t)∗h(t)
85
CT CONVOLUTION INTEGRAL
DT CONVOLUTION SUM
y[n] x[n] h[n] x[i]h[n i]
i
86
43
9/26/2024
Commutative
Same output!
87
Distributive
x(t) [h1(t) h2 (t)] x(t) h1(t) x(t) h2 (t)
88
44
9/26/2024
Associative
89
90
45
9/26/2024
SYSTEM MEMORY
91
Solution:
(a) It has memory, the value of the output signal y[n] at time n depends on
the present and two pass values of x[n].
(b) It is memoryless, because the value of the output signal y[n] depends
only on the present value of the input signal x[n].
92
46
9/26/2024
Inverse Systems
A system is invertible if the input of the system can be recovered
from the output of the system. For example, this concept is important
in communication applications. We will focus on this property with
our echo cancellation lab.
93
94
47
9/26/2024
95
System Bandwidth
In the case of a low pass system , the 3-dB bandwidth is
defined as the difference between zero frequency at which the
amplitude response attains its peak value H(0) and the
frequency at which the amplitude response drops to a value
equal to H(0)/√2 .
In the case of band-pass system the 3-dB bandwidth is defined as the difference
between the frequencies at which the amplitude response drops to a value equal to
1/√2 time the peak value H( fc ) at mid band frequency fc .
96
48
9/26/2024
49
9/26/2024
X(ω)
δ(t) x(t)
Ideal LPF
H(ω)
ω
ωm
• An ideal low pass filter should pass without any attenuation or distortion , all
signal frequencies below a certain frequency ‘ωm’ in rad/sec . Whereas signal
frequencies above ωm are completely attenuated.
• Thus, the frequencies response (magnitude response) of ideal LPF is a gate
function and phase response is linear and equal to – ωtd .
99
1
This filter will need the following impulse response
- ωc ωc
Where,
Unfortunately, the sinc function has infinite support. That is, it has non-zero values all the
way from −∞−∞ to ∞∞. In other words, our ideal filter requires infinite memory which makes
it non-realizable.
100
50
9/26/2024
Sampling
Sampling Rate (Frequency): The number of samples taken per unit time. It is usually
measured in Hertz (Hz).
Sampling Interval: The time between successive samples, which is the reciprocal of the
sampling rate (i.e., Ts=1/fs, where fs is the sampling frequency).
The sampling rate must be sufficiently high to accurately represent the continuous signal.
This is governed by the Sampling Theorem.
Sampling Theorem
The Sampling Theorem, also known as the Nyquist-Shannon Sampling Theorem, states:
51
9/26/2024
The maximum frequency compone nt of g(t) is fm. To recover the signal g(t) exactly from
its samples it has to b e sampled at a rate fs ≥2fm.
The minimum required sampling rate fs = 2fm is called “Nyquist rate”.
52
9/26/2024
Let g s(t) b e the sampled signal. Its Fourier Transform Gs(ω) is given by
53
9/26/2024
Aliasing:
Aliasing occurs when a signal is sampled at a rate lower than its Nyquist Rate Aliasing is a phenomenon
where the high frequency components of the sampled signal interfere with e a c h other
beca use of inadequate sampling ωs < ω m
Aliasing leads to distortion in recovered signal. This is the reason why sampling frequency
should b e atleast twice the bandwidth of the signal.
Aliasing:
This results in different signals becoming indistinguishable from each other when sampled,
leading to distortion or misrepresentation of the original signal.
Mathematically: Aliasing can be described by the formula falias= |f - kfs,| where f is the
original frequency, k is an integer, and fs is the sampling frequency.
Prevention: To avoid aliasing, you can either sample at a rate higher than the Nyquist Rate
or use an anti-aliasing filter to remove high-frequency components before sampling.
54
9/26/2024
Oversampling:
In practice signal are oversampled, where fs is significantly higher than Nyquist rate to
avoid aliasing.
Sampling
If Rs < 2B, aliasing (overlapping of the spectra) results.
Types of sampling
Ideal Sampling
Natural Sampling
Flat-Top Sampling
55
9/26/2024
The problem with a natural sampled waveform is that the tops of the sample pulses are not flat.
It is not compatible with a digital system since the amplitude of each sample has infinite
number of possible values.
Another technique known as flat top sampling is used to alleviate this problem.
56
9/26/2024
Flat-Top Sampling
Flat top sampling is obtained by the convolution of the signal obtained after ideal
sampling with a unity amplitude rectangular pulse, p(t).
The top of the samples i.e.pulse is held to a constant height for the whole sample
period
This technique is used to realize Sample-and-Hold (S/H) operation
In S/H, input signal is continuously sampled and then the value is held for as long as it
takes to for the A/D to acquire its value
57