SlideShare a Scribd company logo
1 of 125
Download to read offline
Copyright © 2002 S. K. Mitra
1
Signals and Signal Processing
Signals and Signal Processing
• Signals play an important role in our daily
life
• A signal is a function of independent
variables such as time, distance, position,
temperature, and pressure
• Some examples of typical signals are shown
next
Copyright © 2002 S. K. Mitra
2
Examples of Typical Signals
Examples of Typical Signals
• Speech and music signals - Represent air
pressure as a function of time at a point in
space
• Waveform of the speech signal “I like
digital signal processing” is shown below
0 1 2 3
-1
-0.5
0
0.5
1
Time, sec.
Amplitude
Copyright © 2002 S. K. Mitra
3
Examples of Typical Signals
Examples of Typical Signals
• Electrocardiography (ECG) Signal -
Represents the electrical activity of the
heart
• A typical ECG signal is shown below
Copyright © 2002 S. K. Mitra
4
Examples of Typical Signals
Examples of Typical Signals
• The ECG trace is a periodic waveform
• One period of the waveform shown below
represents one cycle of the blood transfer
process from the heart to the arteries
P
R
Q
S
T
Millivolts
Seconds
Copyright © 2002 S. K. Mitra
5
Examples of Typical Signals
Examples of Typical Signals
• Electroencephalogram (EEG) Signals -
Represent the electrical activity caused by
the random firings of billions of neurons in
the brain
Copyright © 2002 S. K. Mitra
6
Examples of Typical Signals
Examples of Typical Signals
• Seismic Signals - Caused by the movement
of rocks resulting from an earthquake, a
volcanic eruption, or an underground
explosion
• The ground movement generates 3 types of
elastic waves that propagate through the
body of the earth in all directions from the
source of movement
Copyright © 2002 S. K. Mitra
7
Examples of Typical Signals
Examples of Typical Signals
• Typical seismograph record
Copyright © 2002 S. K. Mitra
8
Examples of Typical Signals
Examples of Typical Signals
• Black-and-white picture - Represents light
intensity as a function of two spatial
coordinates
I(x,y)
Copyright © 2002 S. K. Mitra
9
Examples of Typical Signals
Examples of Typical Signals
• Video signals - Consists of a sequence of
images, called frames, and is a function of 3
variables: 2 spatial coordinates and time
1
Frame 3
Frame 5
Frame
Video
video
the
on
Click
Copyright © 2002 S. K. Mitra
10
Signals and Signal Processing
Signals and Signal Processing
• Most signals we encounter are generated
naturally
• However, a signal can also be generated
synthetically or by a computer
Copyright © 2002 S. K. Mitra
11
Signals and Signal Processing
Signals and Signal Processing
• A signal carries information
• Objective of signal processing: Extract the
useful information carried by the signal
• Method information extraction: Depends on
the type of signal and the nature of the
information being carried by the signal
• This course is concerned with the discrete-
time representation of signals and their
discrete-time processing
Copyright © 2002 S. K. Mitra
12
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• Types of signal: Depends on the nature of
the independent variables and the value of
the function defining the signal
• For example, the independent variables can
be continuous or discrete
• Likewise, the signal can be a continuous or
discrete function of the independent
variables
Copyright © 2002 S. K. Mitra
13
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• Moreover, the signal can be either a real-
valued function or a complex-valued
function
• A signal generated by a single source is
called a scalar signal
• A signal generated by multiple sources is
called a vector signal or a multichannel
signal
Copyright © 2002 S. K. Mitra
14
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A one-dimensional (1-D) signal is a
function of a single independent variable
• A multidimensional (M-D) signal is a
function of more than one independent
variables
• The speech signal is an example of a 1-D
signal where the independent variable is
time
Copyright © 2002 S. K. Mitra
15
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• An image signal, such as a photograph, is
an example of a 2-D signal where the 2
independent variables are the 2 spatial
variables
• A color image signal is composed of three
2-D signals representing the three primary
colors: red, green and blue (RGB)
Copyright © 2002 S. K. Mitra
16
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• The 3 color components of a color image
are shown below
Copyright © 2002 S. K. Mitra
17
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• The full color image obtained by displaying
the previous 3 color components is shown
below
Copyright © 2002 S. K. Mitra
18
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• Each frame of a black-and-white digital
video signal is a 2-D image signal that is a
function of 2 discrete spatial variables, with
each frame occurring at discrete instants of
time
• Hence, black-and-white digital video signal
can be considered as an example of a 3-D
signal where the 3 independent variables are
the 2 spatial variables and time
Copyright © 2002 S. K. Mitra
19
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A color video signal is a 3-channel signal
composed of three 3-D signals representing
the three primary colors: red, green and blue
(RGB)
• For transmission purposes, the RGB
television signal is transformed into another
type of 3-channel signal composed of a
luminance component and 2 chrominance
components
Copyright © 2002 S. K. Mitra
20
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• For a 1-D signal, the independent variable is
usually labeled as time
• If the independent variable is continuous,
the signal is called a continuous-time signal
• If the independent variable is discrete, the
signal is called a discrete-time signal
Copyright © 2002 S. K. Mitra
21
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A continuous-time signal is defined at every
instant of time
• A discrete-time signal is defined at discrete
instants of time, and hence, it is a sequence
of numbers
• A continuous-time signal with a continuous
amplitude is usually called an analog signal
• A speech signal is an example of an analog
signal
Copyright © 2002 S. K. Mitra
22
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A discrete-time signal with discrete-valued
amplitudes represented by a finite number
of digits is referred to as the digital signal
• An example of a digital signal is the
digitized music signal stored in a CD-ROM
disk
• A discrete-time signal with continuous-
valued amplitudes is called a sampled-data
signal
Copyright © 2002 S. K. Mitra
23
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A digital signal is thus a quantized sampled-
data signal
• A continuous-time signal with discrete-
value amplitudes is usually called a
quantized boxcar signal
• The figure in the next slide illustrates the 4
types of signals
Copyright © 2002 S. K. Mitra
24
Characterization and
Characterization and
Classification of Signals
Classification of Signals
signal
time
-
continuous
A
signal
data
-
sampled
A
signal
boxcar
quantized
A
t
Time,
Amplitude
t
Time,
Amplitude
t
Time,
Amplitude
t
Time,
Amplitude
signal
digital
A
Copyright © 2002 S. K. Mitra
25
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• The functional dependence of a signal in its
mathematical representation is often
explicitly shown
• For a continuous-time 1-D signal, the
continuous independent variable is usually
denoted by t
• For example, u(t) represents a continuous-
time 1-D signal
Copyright © 2002 S. K. Mitra
26
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• For a discrete-time 1-D signal, the discrete
independent variable is usually denoted by
n
• For example, {v[n]} represents a discrete-
time 1-D signal
• Each member, v[n], of a discrete-time signal
is called a sample
Copyright © 2002 S. K. Mitra
27
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• In many applications, a discrete-time signal
is generated by sampling a parent
continuous-time signal at uniform intervals
of time
• If the discrete instants of time at which a
discrete-time signal is defined are uniformly
spaced, the independent discrete variable n
can be normalized to assume integer values
Copyright © 2002 S. K. Mitra
28
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• In the case of a continuous-time 2-D signal,
the 2 independent variables are the spatial
coordinates, usually denoted by x and y
• For example, the intensity of a black-and-
white image at location (x,y) can be
expressed as u(x,y)
Copyright © 2002 S. K. Mitra
29
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• On the other hand, a digitized image is a 2-D
discrete-time signal, and its 2 independent
variables are discretized spatial variables,
often denoted by m and n
• Thus, a digitized image can be represented as
v[m,n]
• A black-and-white video signal is a 3-D
signal and can be represented as u(x,y,t)
Copyright © 2002 S. K. Mitra
30
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A color video signal is a vector signal
composed of 3 signals representing the 3
primary colors: red, green, and blue










=
)
,
,
(
)
,
,
(
)
,
,
(
)
,
,
(
t
y
x
b
t
y
x
g
t
y
x
r
t
y
x
u
Copyright © 2002 S. K. Mitra
31
Characterization and
Characterization and
Classification of Signals
Classification of Signals
• A signal that can be uniquely determined by
a well-defined process, such as a
mathematical expression or rule, or table
look-up, is called a deterministic signal
• A signal that is generated in a random
fashion and cannot be predicted ahead of
time is called a random signal
Copyright © 2002 S. K. Mitra
32
Typical Signal Processing
Typical Signal Processing
Applications
Applications
• Most signal processing operations in the
case of analog signals are carried out in the
time-domain
• In the case of discrete-time signals, both
time-domain or frequency-domain
operations are usually employed
Copyright © 2002 S. K. Mitra
33
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• Three most basic time-domain signal
operations are scaling, delay, and addition
• Scaling is simply the multiplication of a
signal either by a positive or negative
constant
• In the case of analog signals, the operation
is usually called amplification if the
magnitude of the multiplying constant,
called gain, is greater than 1
Copyright © 2002 S. K. Mitra
34
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• If the magnitude of the multiplying constant
is less than 1, the operation is called
attenuation
• If x(t) is an analog signal that is scaled by a
constant α, then the scaling operation
generates a signal y(t) = α x(t)
• Two other elementary operations are
integration and differentiation
Copyright © 2002 S. K. Mitra
35
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• The integration of an analog signal x(t)
generates a signal
• The differentiation of an analog signal x(t)
generates a signal
∫ τ
τ
=
∞
−
t
d
x
t
y )
(
)
(
dt
t
dx
t
w
)
(
)
( =
Copyright © 2002 S. K. Mitra
36
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• The delay operation generates a signal that is
a delayed replica of the original signal
• For an analog signal x(t),
is the signal obtained by delaying x(t) by the
amount of time which is assumed to be a
positive number
• If is negative, then it is an advance
operation
)
(
)
( o
t
t
x
t
y −
=
o
t
o
t
Copyright © 2002 S. K. Mitra
37
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• Many applications require operations
involving two or more signals to generate a
new signal
• For example,
is the signal generated by the addition of the
three analog signals, , , and
)
(
)
(
)
(
)
( 3
2
1 t
x
t
x
t
x
t
y +
+
=
)
(
3 t
x
)
(
1 t
x )
(
2 t
x
Copyright © 2002 S. K. Mitra
38
Elementary Time-Domain
Elementary Time-Domain
Operations
Operations
• The product of 2 signals, and ,
generates a signal
• The elementary operations discussed so far
are also carried out on discrete-time signals
• More complex operations operations are
implemented by combining two or more
elementary operations
)
(
1 t
x )
(
2 t
x
)
(
)
(
)
( 2
1 t
x
t
x
t
y ⋅
=
Copyright © 2002 S. K. Mitra
39
Filtering
Filtering
• Filtering is one of the most widely used
complex signal processing operations
• The system implementing this operation is
called a filter
• A filter passes certain frequency
components without any distortion and
blocks other frequency components
Copyright © 2002 S. K. Mitra
40
Filtering
Filtering
• The range of frequencies that is allowed to
pass through the filter is called the
passband, and the range of frequencies that
is blocked by the filter is called the
stopband
• In most cases, the filtering operation for
analog signals is linear
Copyright © 2002 S. K. Mitra
41
Filtering
Filtering
• The filtering operation of a linear analog
filter is described by the convolution
integral
where x(t) is the input signal, y(t) is the
output of the filter, and h(t) is the impulse
response of the filter
∫ τ
τ
τ
−
=
∞
∞
−
d
x
t
h
t
y )
(
)
(
)
(
Copyright © 2002 S. K. Mitra
42
Filtering
Filtering
• A lowpass filter passes all low-frequency
components below a certain specified
frequency , called the cutoff frequency,
and blocks all high-frequency components
above
• A highpass filter passes all high-frequency
components a certain cutoff frequency
and blocks all low-frequency components
below
c
f
c
f
c
f
Copyright © 2002 S. K. Mitra
43
Filtering
Filtering
• A bandpass filter passes all frequency
components between 2 cutoff frequencies,
and , where , and blocks all
frequency components below the frequency
and above the frequency
• A bandstop filter blocks all frequency
components between 2 cutoff frequencies,
and , where , and passes all
frequency components below the frequency
and above the frequency
1
c
f 2
c
f 2
1 c
c f
f <
1
c
f 2
c
f 2
1 c
c f
f <
1
c
f 2
c
f
1
c
f 2
c
f
Copyright © 2002 S. K. Mitra
44
Filtering
Filtering
• Figures below illustrate the lowpass
filtering of an input signal composed of 3
sinusoidal components of frequencies 50
Hz, 110 Hz, and 210 Hz
0 20 40 60 80 100
-4
-2
0
2
4
Time, msec
Amplitude
Input signal
0 20 40 60 80 100
-1
-0.5
0
0.5
1
Time, msec
Amplitude
Lowpass filter output
Copyright © 2002 S. K. Mitra
45
Filtering
Filtering
• Figures below illustrate highpass and
bandpass filtering of the same input signal
0 20 40 60 80 100
-1
-0.5
0
0.5
1
Time, msec
Amplitude
Highpass filter output
0 20 40 60 80 100
-1
-0.5
0
0.5
1
Time, msec
Amplitude
Bandpass filter output
Copyright © 2002 S. K. Mitra
46
Filtering
Filtering
• There are various other types of filters
• A filter blocking a single frequency
component is called a notch filter
• A multiband filter has more than one
passband and more than one stopband
• A comb filter blocks frequencies that are
integral multiples of a low frequency
Copyright © 2002 S. K. Mitra
47
Filtering
Filtering
• In many applications the desired signal
occupies a low-frequency band from dc to
some frequency Hz, and gets corrupted
by a high-frequency noise with frequency
components above Hz with
• In such cases, the desired signal can be
recovered from the noise-corrupted signal
by passing the latter through a lowpass filter
with a cutoff frequency where
L
f
H
f L
H f
f >
c
f H
c
L f
f
f <
<
Copyright © 2002 S. K. Mitra
48
Filtering
Filtering
• A common source of noise is power lines
radiating electric and magnetic fields
• The noise generated by power lines appears
as a 6-Hz sinusoidal signal corrupting the
desired signal and can be removed by
passing the corrupted signal through a notch
filter with a notch frequency at 60 Hz
Copyright © 2002 S. K. Mitra
49
Generation of Complex
Generation of Complex
Signals
Signals
• A signal can be real-valued or complex-
valued
• For convenience, the former is usually
called a real signal while the latter is called
a complex signal
• A complex signal can be generated from a
real signal by employing a Hilbert
transformer
Copyright © 2002 S. K. Mitra
50
Generation of Complex
Generation of Complex
Signals
Signals
• The impulse response of a Hilbert
transformer is given by
• Consider a real signal x(t) with a
continuous-time Fourier transform (CTFT)
X(jΩ) given by
t
t
hHT π
= 1
)
(
∫
=
Ω
∞
∞
−
Ω
−
dt
e
t
x
j
X t
j
)
(
)
(
Copyright © 2002 S. K. Mitra
51
Generation of Complex
Generation of Complex
Signals
Signals
• X(jΩ) is called the spectrum of x(t)
• The magnitude spectrum of a real signal
exhibits even symmetry with respect to w
while the phase spectrum exhibits odd
symmetry
• The spectrum X(jΩ) of a real signal
x(t) contains both positive and negative
frequencies
Copyright © 2002 S. K. Mitra
52
Generation of Complex
Generation of Complex
Signals
Signals
• Thus we can write
where is the portion of X(jΩ)
occupying the positive frequency range and
is the portion of X(jΩ) occupying
the negative frequency range
)
(
)
(
)
( Ω
+
Ω
=
Ω j
X
j
j
X
j
X n
p
)
( Ω
j
Xp
)
( Ω
j
Xn
Copyright © 2002 S. K. Mitra
53
Generation of Complex
Generation of Complex
Signals
Signals
• If x(t) is passed through a Hilbert
transformer, its output y(t) is given by:
• The spectrum Y(jΩ) of y(t) is given by the
product of the CTFTs of and x(t)
∫ τ
τ
τ
−
=
∞
∞
−
d
x
t
h
t
y HT )
(
)
(
)
(
)
(t
hHT
Copyright © 2002 S. K. Mitra
54
Generation of Complex
Generation of Complex
Signals
Signals
• The CTFT of is given by
• Therefore
)
( Ω
j
HHT )
(t
hHT



<
Ω
>
Ω
−
=
Ω
0
,
0
,
)
(
j
j
j
HHT
)
(
)
(
)
( Ω
Ω
=
Ω j
X
j
H
j
Y HT
)
(
)
( Ω
+
Ω
−
= j
X
j
j
X
j n
p
Copyright © 2002 S. K. Mitra
55
Generation of Complex
Generation of Complex
Signals
Signals
• As the magnitude and phase of Y(jΩ) are an
even and odd function, respectively, it
follows from
that y(t) is also a real function
• Consider the complex signal g(t):
g(t) = x(t) + j y(t)
)
(
)
(
)
( Ω
+
Ω
−
=
Ω j
X
j
j
X
j
j
Y n
p
Copyright © 2002 S. K. Mitra
56
Generation of Complex
Generation of Complex
Signals
Signals
• The CTFT of g(t) is thus given by
• In other words, the complex signal g(t),
called an analytic signal, has only positive
frequency components
)
(
2
)
(
)
(
)
( Ω
=
Ω
+
Ω
=
Ω j
X
j
Y
j
j
X
j
G p
•
)
(t
x
)
(t
x
)
(t
y
Hilbert
r
Transforme
part
real
part
imaginary
)
(
)
(
)
( t
y
j
t
x
t
g +
=
Copyright © 2002 S. K. Mitra
57
Modulation and Demodulation
Modulation and Demodulation
• For efficient transmission of a low-
frequency signal over a channel, it is
necessary to transform the signal to a high-
frequency signal by means of a modulation
operation
• At the receiving end, the modulated high-
frequency signal is demodulated to extract
the desired low-frequency signal
Copyright © 2002 S. K. Mitra
58
Modulation and Demodulation
Modulation and Demodulation
• There are 4 major types of modulation of
analog signals:
(1) Amplitude modulation
(2) Frequency modulation
(3) Phase modulation
(4) Pulse amplitude modulation
Copyright © 2002 S. K. Mitra
59
Amplitude Modulation
Amplitude Modulation
• Amplitude modulation is conceptually
simple
• Here, the amplitude of a high-frequency
sinusoidal signal , called the
carrier signal, is varied by the low-
frequency signal x(t), called the modulating
signal
• Process generates a high-frequency signal,
called modulated signal, y(t) given by:
)
cos( ot
A Ω
)
cos(
)
(
)
( ot
t
Ax
t
y Ω
=
Copyright © 2002 S. K. Mitra
60
Amplitude Modulation
Amplitude Modulation
• Thus, amplitude modulation can be
implemented by forming the product of the
modulating signal with the carrier signal
• To demonstrate the frequency translating
property, let
x(t) =
where
)
cos( 1t
Ω
o
1 Ω
<<
Ω
Copyright © 2002 S. K. Mitra
61
Amplitude Modulation
Amplitude Modulation
• Then
• The CTFT of Y(jΩ) of y(t) is given by
where X(jΩ) is the CTFT of x(t)
)
cos(
)
cos(
)
( o
1 t
t
A
t
y Ω
⋅
Ω
=
( ) ( )
t
t A
A )
(
cos
)
(
cos 1
o
2
1
o
2
Ω
−
Ω
Ω
+
Ω
=
( ) ( )
)
(
)
(
)
( o
2
o
2
Ω
+
Ω
+
Ω
−
Ω
=
Ω j
X
j
X
j
Y A
A
Copyright © 2002 S. K. Mitra
62
Amplitude Modulation
Amplitude Modulation
• Spectra of the modulating signal x(t) and the
modulated signal y(t) are shown below
)
( Ω
j
Y
Ω
o
Ω
o
Ω
− m
Ω
−
Ωo
)
( o m
Ω
−
Ω
− 0
2
A
)
( Ω
j
X
Ω
m
Ω
m
Ω
− 0
1
m
Ω
+
Ωo
)
( o m
Ω
+
Ω
−
Copyright © 2002 S. K. Mitra
63
Amplitude Modulation
Amplitude Modulation
• As can be seen from the figures on the
previous slide, y(t) is a bandlimited high-
frequency signal with a bandwidth of
centered at
• The portion of the amplitude-modulated
signal between and is called
the upper sideband, whereas, the portion of
the amplitude-modulated signal between
and is called the lower sideband
m
Ω
2
o
Ω
m
Ω
+
Ωo
m
Ω
−
Ωo
o
Ω
o
Ω
Copyright © 2002 S. K. Mitra
64
Amplitude Modulation
Amplitude Modulation
• Because of the generation of two sidebands
and the absence of a carrier component in
the modulated signal, the process is called
double-sideband suppress carrier (DSB-SC)
modulation
• The demodulation of y(t) to recover x(t) is
carried out in two stages
Copyright © 2002 S. K. Mitra
65
Amplitude Modulation
Amplitude Modulation
• First, y(t) is multiplied with a sinusoidal
signal of the same frequency as the carrier:
• The result indicates that r(t) is composed of
x(t) scaled by a factor 1/2 and an amplitide-
modulated signal with a carrier frequency
t
t
Ax
t
t
y
t
r o
2
o cos
)
(
cos
)
(
)
( Ω
=
Ω
=
)
2
cos(
)
(
)
( o
2
2
t
t
x
t
x A
A Ω
+
=
o
2Ω
Copyright © 2002 S. K. Mitra
66
Amplitude Modulation
Amplitude Modulation
• The spectrum R(jΩ) of r(t) is shown below
)
( Ω
j
X
Ω
m
Ω
m
Ω
− 0
2
A
o
2Ω
o
2Ω
−
m
Ω
−
Ωo
2
)
2
( o m
Ω
−
Ω
−
c
Ω
c
Ω
−
Copyright © 2002 S. K. Mitra
67
Amplitude Modulation
Amplitude Modulation
• Thus x(t) can be recovered from r(t) by
passing it through a lowpass filter with a
cutoff frequency at satisfying the
relation
• The modulation and demodulation schemes
are as shown below:
c
Ω
m
c
m Ω
−
Ω
<
Ω
<
Ω o
2
×
)
(t
x )
(t
y
t
A o
cosΩ
× Lowpass
Filter
)
(t
y
)
(t
r
)
(
2
t
x
A
t
o
cosΩ
Copyright © 2002 S. K. Mitra
68
Amplitude Modulation
Amplitude Modulation
• In general, it is difficult to ensure that the
demodulating sinusoidal signal has a
frequency identical to that of the carrier
• To get around the above problem, the
modulation process is modified so that the
transmitted signal includes the carrier signal
Copyright © 2002 S. K. Mitra
69
Amplitude Modulation
Amplitude Modulation
• This is achieved by redefining the
amplitude modulation operation as follows:
where m is a number chosen to ensure that
[1 + m x(t)] is positive for all t
• As the carrier is also present in the
modulated signal, the process is called
double-sideband (DSB) modulation
)
cos(
)]
(
1
[
)
( ot
t
x
m
A
t
y Ω
+
=
Copyright © 2002 S. K. Mitra
70
Amplitude Modulation
Amplitude Modulation
• Figure below shows the waveforms of a
modulating sinusoidal signal of frequency
20 Hz and the amplitude-modulated carrier
with a carrier frequency 400 Hz obtained
using the DSB modulation scheme and m =
0.5
0 20 40 60 80 100
-1
-0.5
0
0.5
1
Time, msec
Amplitude
Modulating signal
0 20 40 60 80 100
-2
-1
0
1
2
Time, msec
Amplitude
Modulated carrier
Copyright © 2002 S. K. Mitra
71
Amplitude Modulation
Amplitude Modulation
• In the case of the conventional DSB
amplitude modulation scheme, the
modulated signal has a bandwidth of ,
whereas the bandwidth of the modulating
signal is
• To increase the capacity of the transmission
medium, either the upper sideband or the
lower sideband of the modulated signal is
transmitted
m
Ω
m
Ω
2
Copyright © 2002 S. K. Mitra
72
Amplitude Modulation
Amplitude Modulation
• The corresponding procedure is called
single-sideband (SSB) modulation, a
possible implentation of which is shown
below
• The spectra of pertinent signals in the SSB
modulation scheme are shown in the next
slide
)
(t
x
)
(t
y
t
A o
cosΩ
×
×
+
•
t
A o
sinΩ
Hilbert
r
Transforme
)
(t
u
)
(
1 t
w
)
(
2 t
w
Copyright © 2002 S. K. Mitra
73
Amplitude Modulation
Amplitude Modulation
)
(
2 Ω
j
W
Ω
o
Ω
o
Ω
− 0
2
A
)
(
1 Ω
j
W
Ω
o
Ω
o
Ω
− 0
2
A
)
( Ω
j
Y
Ω
o
Ω
o
Ω
− 0
A
Copyright © 2002 S. K. Mitra
74
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• The DSB amplitude modualtion is half as
efficient as SSB amplitude modulation
• The quadrature amplitude modualtion
(QAM) method uses DSB modulation to
modulate two different signals so that they
both occupy the same bandwidth
• Hence, QAM takes up as much bandwidth
as the SSB method
Copyright © 2002 S. K. Mitra
75
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• Consider two bandlimited signals and
with a bandwidth of as indicated
below
)
(
1 t
x
)
(
2 t
x m
Ω
)
(
1 Ω
j
X
Ω
m
Ω
m
Ω
− 0
)
(
2 Ω
j
X
Ω
m
Ω
m
Ω
− 0
Copyright © 2002 S. K. Mitra
76
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• The two modulating signals are individually
modulated by the two carrier signals
and , respectively,
and are summed, resulting in
• The two carrier signals have the same
carrier frequency but have a phase
difference of 90
o
)
cos( ot
A Ω )
sin( ot
A Ω
)
sin(
)
(
)
cos(
)
(
)
( o
2
o
1 t
t
Ax
t
t
Ax
t
y Ω
+
Ω
=
o
Ω
Copyright © 2002 S. K. Mitra
77
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• The carrier is called the in-phase
component and the carrier is
called the quadrature component
• The spectrum Y(jΩ) of the composite signal
y(t) is given by
)
cos( ot
A Ω
)
sin( ot
A Ω
( ) ( )}
(
(
{
)
( o
1
o
1
2
Ω
+
Ω
+
Ω
−
Ω
=
Ω j
X
j
X
j
Y A
( ) ( )}
(
(
{ o
2
o
2
2
Ω
+
Ω
−
Ω
−
Ω
+ j
X
j
X
j
A
Copyright © 2002 S. K. Mitra
78
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• y(t) is seen to occupy the same bandwidth
as the modulated signal obtained by a DSB
modulation
• To recover and , y(t) is multiplied
by both the in-phase and the quadrature
components of the carrier separately,
resulting in
)
(
1 t
x )
(
2 t
x
)
cos(
)
(
)
( o
1 t
t
y
t
r Ω
=
)
sin(
)
(
)
( o
2 t
t
y
t
r Ω
=
Copyright © 2002 S. K. Mitra
79
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• Substituting the expression for y(t) in both
of the last two equations, we obtain after
some algebra
• Lowpass filtering of and by filters
with a cutoff at yields and
)
2
sin(
)
(
)
2
cos(
)
(
)
(
)
( o
2
2
o
1
2
1
2
1 t
t
x
t
t
x
t
x
t
r A
A
A Ω
+
Ω
+
=
)
2
cos(
)
(
)
2
sin(
)
(
)
(
)
( o
2
2
o
1
2
2
2
2 t
t
x
t
t
x
t
x
t
r A
A
A Ω
−
Ω
+
=
)
(
1 t
r )
(
2 t
r
m
Ω )
(
1 t
x )
(
2 t
x
Copyright © 2002 S. K. Mitra
80
Quadrature
Quadrature Amplitude
Amplitude
Modulation
Modulation
• The QAM modulation and demodulation
schemes are shown below
)
(
1
2
t
x
A
)
(
2
2
t
x
A
+
phase
90
o
shifter
•
×
×
)
(
1 t
x
)
(
2 t
x
)
(t
y
)
cos( ot
A Ω
phase
90
o
shifter
•
×
×
Lowpass
filter
Lowpass
filter
)
(t
y
)
cos( ot
Ω
•
Copyright © 2002 S. K. Mitra
81
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• For an efficient utilization of a wideband
transmission channel, many narrow-
bandwidth low-frequency signals are
combined for a composite wideband signal
that is transmitted as a single signal
• The process of combining the low-
frequency signals is called multiplexing
Copyright © 2002 S. K. Mitra
82
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• Multiplexing is implemented to ensure that
a replica of each of the original narrow-
bandwidth low-frequency signal can be
recovered at the receiving end
• The recovery process of the low-frequency
signals is called demultiplexing
Copyright © 2002 S. K. Mitra
83
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• One method of combining different voice
signals in a telephone communication
system is the frequency-division
multiplexing (FDM) scheme
• Here, each voice signal, typically
bandlimited to a low-frequency band of
width Ω , is frequency-translated into a
higher frequency band using the amplitude
modulation method
m
Copyright © 2002 S. K. Mitra
84
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• The carrier frequency of adjacent
amplitude-modulated signals is separated by
, where to ensure that there is
no overlap in the spectra of the individual
modulated signals after they are added to
form the baseband composite signal
• The composite signal is then modulated
onto the main carrier developing the FDM
signal and transmitted
o
Ω m
Ω
>
Ω 2
o
Copyright © 2002 S. K. Mitra
85
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
)
(
1 Ω
j
X
Ω
m
Ω
m
Ω
− 0
)
(
2 Ω
j
X
Ω
m
Ω
m
Ω
− 0
)
(
3 Ω
j
X
Ω
m
Ω
Ω
1
Ω 2
Ω 3
Ω
0
1
Ω
−
)
( Ω
j
Ycomp
−
m
Ω
− 0
low
the
of
Spectra signals
frequency
−
signal
composite
modulated
the
of
Spectra
Copyright © 2002 S. K. Mitra
86
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• At the receiving end, the composite
baseband signal is first recovered from the
FDM signal by demodulation
• Then each individual frequency-translated
signal is demultiplexed by passing the
composite signal through a bank of
bandpass filters
Copyright © 2002 S. K. Mitra
87
Multiplexing and
Multiplexing and
Demultiplexing
Demultiplexing
• The center frequency of each bandpass filter
has a value same as that of its carrier
frequency and bandwidth slightly greater
than
• The output of each bandpass filter is then
demodulated to recover a scaled replica of
its corresponding voice signal
m
Ω
2
Copyright © 2002 S. K. Mitra
88
Advantages of DSP
Advantages of DSP
• Absence of drift in the filter characteristics
– Processing characteristics are fixed, e.g. by
binary coefficients stored in memories
– Thus, they are independent of the external
environment and of parameters such as
temperature
– Aging has no effect
Copyright © 2002 S. K. Mitra
89
Advantages of DSP
Advantages of DSP
• Improved quality level
– Quality of processing limited only by economic
considerations
– Arbitrarily low degradations achieved with
desired quality by increasing the number of bits
in data/coefficient representation
– An increase of 1 bit in the representation results
in a 6 dB improvement in the SNR
Copyright © 2002 S. K. Mitra
90
Advantages of DSP
Advantages of DSP
• Reproducibility
– Component tolerances do not affect system
performance with correct operation
– No adjustments necessary during fabrication
– No realignment needed over lifetime of
equipment
Copyright © 2002 S. K. Mitra
91
Advantages of DSP
Advantages of DSP
• Ease of new function development
– Easy to develop and implement adaptive filters,
programmable filters and complementary filters
– Illustrates flexibility of digital techniques
Copyright © 2002 S. K. Mitra
92
Advantages of DSP
Advantages of DSP
• Multiplexing
– Same equipment can be shared between several
signals, with obvious financial advantages for
each function
• Modularity
– Uses standard digital circuits for
implementation
Copyright © 2002 S. K. Mitra
93
Advantages of DSP
Advantages of DSP
• Total single chip implementation using
VLSI technology
• No loading effect
Copyright © 2002 S. K. Mitra
94
Limitations of DSP
Limitations of DSP
• Lesser Reliability
– Digital systems are active devices, and thus use
more power and are less reliable
– Some compensation is obtained from the
facility for automatic supervision and
monitoring of digital systems
Copyright © 2002 S. K. Mitra
95
Limitations of DSP
Limitations of DSP
• Limited Frequency Range of Operation
– Frequency range technologically limited to
values corresponding to maximum computing
capacities that can be developed and exploited
• Additional Complexity in the Processing of
Analog Signals
– A/D and D/A converters must be introduced
adding complexity to overall system
Copyright © 2002 S. K. Mitra
96
DSP Application Examples
DSP Application Examples
• Cellular Phone
• Discrete Multitone Transmission
• Digital Camera
• Digital Sound Synthesis
• Signal Coding & Compression
• Signal Enhancement
Copyright © 2002 S. K. Mitra
97
DSP Core
S/W
DSP Core
S/W
ARM RISC
Core
S/W
ARM RISC
Core
S/W
SINGLE CHIP
DIGITAL BASEBAND
ASIC
Backplane
User Display
User Display
Keyboard
Keyboard
SIM Card
SIM Card
RF
Interface
RF
Interface
Audio
Interface
Audio
Interface
Speaker
Speaker Mic
Mic
Op Amps
Op Amps
Switches
Switches
Regulators
Regulators
Receiver
Receiver
Modulator
Modulator Driver
Driver
RF
SECTION
Power
Amp
Power
Amp
Synthesizer
Synthesizer
Touch Screen
Touch Screen
Cellular Phone Block Diagram
Cellular Phone Block Diagram
s
Instrument
Texas
:
Courtesy
Copyright © 2002 S. K. Mitra
98
• 100-200 MHz DSP +
MCU
• ASIC Logic
• Dense Memory
• Analog
Cellular Phone Baseband
System on a Chip
s
Instrument
Texas
:
Courtesy
Copyright © 2002 S. K. Mitra
99
Discrete
Discrete Multitone
Multitone
Transmission (DMT)
Transmission (DMT)
• Core technology in the implementation of
the asymmetric digital subscriber line
(ADSL) and very-high-rate digital
subscriber line (VDSL)
• Closely related to: Orthogonal frequency-
division multiplexing (OFDM)
Copyright © 2002 S. K. Mitra
100
ADSL
ADSL
• A local transmission system designed to
simultaneously support three services on a
single twisted-wire pair:
– Data transmission downstream (toward the
subscriber) at bit rates of upto 9 Mb/s
– Data transmission upstream (away from the
subscriber) at bit rates of upto 1 Mb/s
– Plain old telephone service (POTS)
Copyright © 2002 S. K. Mitra
101
ADSL
• Band-allocations for an FDM-based ADSL
system
power
Transmit
band
stream
-
down
rate
-
bit
High
band
POTS
band
Guard
band
upstream
rate
-
bit
Low
Frequency
Copyright © 2002 S. K. Mitra
102
ADSL
ADSL
• Asymmetry in the frequency band
allocation:
– to bring movies, television, video catalogs,
remote CD-ROMs, corporate LANs, and the
Internet into homes and small businesses
Copyright © 2002 S. K. Mitra
103
VDSL
VDSL
• Optical network emanating from twisted
pair provides data rates of 13 to 26 Mb/s
downstream and 2 to 3 Mb/s upstream over
short distances less than about 1 km
• Allows the delivery of digital TV, super-fast
Web surfing and file transfer, and virtual
offices at home
Copyright © 2002 S. K. Mitra
104
Discrete
Discrete Multitone
Multitone
Transmission
Transmission
• Advantages in using DMT for ADSL and
VDSL
– The ability to maximize the transmitted bit rate
– Adaptivity to changing line conditions
– Reduced sensitivity to line conditions
Copyright © 2002 S. K. Mitra
105
OFDM
OFDM
• Applications:
– Wireless communications - an effective
technique to combat multipath fading
– Digital audio broadcasting
• Uses a fixed number of bits per subchannel
while DMT uses loading for bit allocation
Copyright © 2002 S. K. Mitra
106
OFDM
OFDM
• Basic differences with DMT architecture
– Signal constellation encoder does not include a
loading algorithm for bit allocation
– In the transmitter, an upconverter included after
the D/A converter to translate the transmitted
frequency
– In the receiver, a downconverter included
before the A/D converter to undo the frequency
translation
Copyright © 2002 S. K. Mitra
107
Digital Camera
Digital Camera
• CMOS Imaging Sensor
– Increasingly being used in digital cameras
– Single chip integration of sensor and other
image processing algorithms needed to generate
final image
– Can be manufactured at low cost
– Less expensive cameras use single sensor with
individual pixels in the sensor covered with
either a red, a green, or a blue optical filter
Copyright © 2002 S. K. Mitra
108
Digital Camera
Digital Camera
• Image Processing Algorithms
– Bad pixel detection and masking
– Color interpolation
– Color balancing
– Contrast enhancement
– False color detection and masking
– Image and video compression
Copyright © 2002 S. K. Mitra
109
Digital Camera
Digital Camera
• Bad Pixel Detection and Masking
Copyright © 2002 S. K. Mitra
110
Digital Camera
Digital Camera
• Color Interpolation and Balancing
Copyright © 2002 S. K. Mitra
111
Digital Sound Synthesis
Digital Sound Synthesis
• Four methods for the synthesis of musical
sound:
– Wavetable Synthesis
– Spectral Synthesis
– Nonlinear Synthesis
– Synthesis by Physical Modeling
Copyright © 2002 S. K. Mitra
112
Digital Sound Synthesis
Digital Sound Synthesis
• Wavetable Synthesis
- Recorded or synthesized musical events stored in
internal memory and played back on demand
- Playback tools consists of various techniques for
sound variation during reproduction such as pitch
shifting, looping, enveloping and filtering
- Example: Giga Sampler
Copyright © 2002 S. K. Mitra
113
Digital Sound Synthesis
Digital Sound Synthesis
• Spectral Synthesis
- Produces sounds from frequency domain models
- Signal represented as a superposition of basis
functions with time-varying amplitudes
- Practical implementation usually consist of a
combination of additive synthesis, subtractive
synthesis and granular synthesis
- Example: Kawaii K500 Demo
Copyright © 2002 S. K. Mitra
114
Digital Sound Synthesis
Digital Sound Synthesis
• Nonlinear Synthesis
- Frequency modulation method: Time-
dependent phase terms in the sinusoidal basis
functions
- An inexpensive method frequently used in
synthesizers and in sound cards for PC
- Example: Variation modulation index complex
algorithm (Pulsar)
Copyright © 2002 S. K. Mitra
115
Digital Sound Synthesis
Digital Sound Synthesis
• Physical Modeling
- Models the sound production method
- Physical description of the main vibrating
structures by partial differential equations
- Most methods based on wave equation
describing the wave propagation in solids and in
air
- Examples: (CCRMA, Stanford)
• Guitar with nylon strings
• Marimba
• Tenor saxophone
Copyright © 2002 S. K. Mitra
116
Signal Coding & Compression
Signal Coding & Compression
• Concerned with efficient digital
representation of audio or visual signal
for storage and transmission to provide
maximum quality to the listener or
viewer
Copyright © 2002 S. K. Mitra
117
Signal Compression Example
Signal Compression Example
• Original speech
Data size 330,780 bytes
• Compressed speech (GSM 6.10)
- Sampled at 22.050 kHz, Data size 16,896 bytes
• Compressed speech (Lernout & Hauspie
CELP 4.8kbit/s)
Sampled at 8 kHz, Data size 2,302 bytes
0 1 2 3
-1
-0.5
0
0.5
1
Time, sec.
Amplitude
16-bit, sampled at 44.1 kHz rate
Copyright © 2002 S. K. Mitra
118
Signal Compression Example
Signal Compression Example
• Original music
Audio Format: PCM 16.000 kHz, 16 Bit
(Data size 66206 bytes)
• Compressed music
Audio Format: GSM 6.10, 22.05 kHz
(Data size 9295 bytes)
Courtesy: Dr. A. Spanias
Copyright © 2002 S. K. Mitra
119
Signal Compression Example
Signal Compression Example
Compressed Image
Average bit rate - 0.5 bits per pixel
Original Lena
8 bits per pixel
Copyright © 2002 S. K. Mitra
120
Signal Enhancement
Signal Enhancement
• Purpose: To emphasize specific signal
features to provide maximum quality to the
listener or viewer
• For speech signals, algorithms include
removal of background noise or interference
• For image or video signals, algorithms
include contrast enhancement, sharpening
and noise removal
Copyright © 2002 S. K. Mitra
121
Signal Enhancement Example
Signal Enhancement Example
• Noisy speech signal
(10% impulse noise)
• Noise removed speech
0 1 2 3
-1
-0.5
0
0.5
1
Time, sec.
Amplitude
0.4 0.6 0.8 1 1.2
-1
-0.5
0
0.5
1
Time, sec.
Amplitude
Copyright © 2002 S. K. Mitra
122
Signal Enhancement Example
Signal Enhancement Example
EKG corrupted with EKG after filtering with
60 Hz interference a notch filter
0 500 1000 1500 2000
-50
0
50
100
150
time
EKG After Noise Removal
Amplitude
0 500 1000 1500 2000
-50
0
50
100
150
time
Amplitude
EKG Corrupted With 60 Hz Interference
Copyright © 2002 S. K. Mitra
123
Signal Enhancement Example
Signal Enhancement Example
• Original image and its contrast enhanced version
Original Enhanced
Copyright © 2002 S. K. Mitra
124
Signal Enhancement Example
Signal Enhancement Example
• Original image and its contrast enhanced version
Original Enhanced
Copyright © 2002 S. K. Mitra
125
Signal Enhancement Example
Signal Enhancement Example
• Noise corrupted image and its noise-removed
version
20% pixels corrupted with
additive impulse noise
Noise-removed version

More Related Content

Similar to ch1

UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORNahumQuiros
 
05_Signal_Encoding_Techniques.pdf
05_Signal_Encoding_Techniques.pdf05_Signal_Encoding_Techniques.pdf
05_Signal_Encoding_Techniques.pdfMariaBatool42
 
Intro signals and_systems
Intro signals and_systemsIntro signals and_systems
Intro signals and_systemspoonam_goyal
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptxTekle12
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptxTekle12
 
Engn2228 2014-lectures
Engn2228 2014-lecturesEngn2228 2014-lectures
Engn2228 2014-lecturesdarcuin
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersNelson Anand
 
Signal & systems
Signal & systemsSignal & systems
Signal & systemsAJAL A J
 
signal and system ch1-1 for students of NCNU EE
signal and system ch1-1 for students of  NCNU EEsignal and system ch1-1 for students of  NCNU EE
signal and system ch1-1 for students of NCNU EEssuserf111f7
 
Chapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxChapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxtahaniali27
 
Analog and Digital Signals
Analog and Digital SignalsAnalog and Digital Signals
Analog and Digital SignalsSana Ullah
 
Signal Conditioning.pptx
Signal Conditioning.pptxSignal Conditioning.pptx
Signal Conditioning.pptxSuvenduMondal12
 

Similar to ch1 (20)

UNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLORUNDERSTANDING SOUND, IMAGES AND COLOR
UNDERSTANDING SOUND, IMAGES AND COLOR
 
05_Signal_Encoding_Techniques.pdf
05_Signal_Encoding_Techniques.pdf05_Signal_Encoding_Techniques.pdf
05_Signal_Encoding_Techniques.pdf
 
Signals basics
Signals basicsSignals basics
Signals basics
 
Intro signals and_systems
Intro signals and_systemsIntro signals and_systems
Intro signals and_systems
 
Signals
SignalsSignals
Signals
 
digital signal processing
digital signal processing digital signal processing
digital signal processing
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Chapter 2.1.pptx
Chapter 2.1.pptxChapter 2.1.pptx
Chapter 2.1.pptx
 
Engn2228 2014-lectures
Engn2228 2014-lecturesEngn2228 2014-lectures
Engn2228 2014-lectures
 
Digital Signal Processing-Digital Filters
Digital Signal Processing-Digital FiltersDigital Signal Processing-Digital Filters
Digital Signal Processing-Digital Filters
 
Signal & systems
Signal & systemsSignal & systems
Signal & systems
 
signal and system ch1-1 for students of NCNU EE
signal and system ch1-1 for students of  NCNU EEsignal and system ch1-1 for students of  NCNU EE
signal and system ch1-1 for students of NCNU EE
 
Chapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptxChapter 1- Signals and Systems Classification.pptx
Chapter 1- Signals and Systems Classification.pptx
 
DSP Introduction.pptx
DSP Introduction.pptxDSP Introduction.pptx
DSP Introduction.pptx
 
Analog and Digital Signals
Analog and Digital SignalsAnalog and Digital Signals
Analog and Digital Signals
 
Unit_II_1.pdf
Unit_II_1.pdfUnit_II_1.pdf
Unit_II_1.pdf
 
Signal Conditioning.pptx
Signal Conditioning.pptxSignal Conditioning.pptx
Signal Conditioning.pptx
 
Signal Filtering
Signal FilteringSignal Filtering
Signal Filtering
 
Us transducers (2)
Us transducers (2)Us transducers (2)
Us transducers (2)
 
SubBottom Profiler training
SubBottom Profiler trainingSubBottom Profiler training
SubBottom Profiler training
 

More from ssuserb83554

Circular convolution
Circular convolutionCircular convolution
Circular convolutionssuserb83554
 
Shannon Switching - Presentation
Shannon Switching - PresentationShannon Switching - Presentation
Shannon Switching - Presentationssuserb83554
 
Rivers and Bridges - Lubeck
Rivers and Bridges - LubeckRivers and Bridges - Lubeck
Rivers and Bridges - Lubeckssuserb83554
 
Rivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-KalingradRivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-Kalingradssuserb83554
 
Rivers and Bridges - Gdansk
Rivers and Bridges - GdanskRivers and Bridges - Gdansk
Rivers and Bridges - Gdanskssuserb83554
 
Rivers and Bridges - Budapest
Rivers and Bridges - BudapestRivers and Bridges - Budapest
Rivers and Bridges - Budapestssuserb83554
 
Essential of Economic Sustainability
Essential of Economic SustainabilityEssential of Economic Sustainability
Essential of Economic Sustainabilityssuserb83554
 
Dimensions of Effective Teaching
Dimensions of Effective TeachingDimensions of Effective Teaching
Dimensions of Effective Teachingssuserb83554
 
Lecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual InformationLecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual Informationssuserb83554
 
Lecture 1. Introduction
Lecture 1. IntroductionLecture 1. Introduction
Lecture 1. Introductionssuserb83554
 
An Introduction to MAGMA
An Introduction to MAGMAAn Introduction to MAGMA
An Introduction to MAGMAssuserb83554
 

More from ssuserb83554 (18)

ch3-4
ch3-4ch3-4
ch3-4
 
ch3-3
ch3-3ch3-3
ch3-3
 
ch3-2
ch3-2ch3-2
ch3-2
 
ch3-1
ch3-1ch3-1
ch3-1
 
ch2-3
ch2-3ch2-3
ch2-3
 
ch2-2
ch2-2ch2-2
ch2-2
 
ch2-1
ch2-1ch2-1
ch2-1
 
Circular convolution
Circular convolutionCircular convolution
Circular convolution
 
Shannon Switching - Presentation
Shannon Switching - PresentationShannon Switching - Presentation
Shannon Switching - Presentation
 
Rivers and Bridges - Lubeck
Rivers and Bridges - LubeckRivers and Bridges - Lubeck
Rivers and Bridges - Lubeck
 
Rivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-KalingradRivers and Bridges - Konigsberg-Kalingrad
Rivers and Bridges - Konigsberg-Kalingrad
 
Rivers and Bridges - Gdansk
Rivers and Bridges - GdanskRivers and Bridges - Gdansk
Rivers and Bridges - Gdansk
 
Rivers and Bridges - Budapest
Rivers and Bridges - BudapestRivers and Bridges - Budapest
Rivers and Bridges - Budapest
 
Essential of Economic Sustainability
Essential of Economic SustainabilityEssential of Economic Sustainability
Essential of Economic Sustainability
 
Dimensions of Effective Teaching
Dimensions of Effective TeachingDimensions of Effective Teaching
Dimensions of Effective Teaching
 
Lecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual InformationLecture 2: Entropy and Mutual Information
Lecture 2: Entropy and Mutual Information
 
Lecture 1. Introduction
Lecture 1. IntroductionLecture 1. Introduction
Lecture 1. Introduction
 
An Introduction to MAGMA
An Introduction to MAGMAAn Introduction to MAGMA
An Introduction to MAGMA
 

Recently uploaded

Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfKira Dess
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxkalpana413121
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New HorizonMorshed Ahmed Rahath
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfEr.Sonali Nasikkar
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docxrahulmanepalli02
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxKarpagam Institute of Teechnology
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Stationsiddharthteach18
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...josephjonse
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualBalamuruganV28
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.benjamincojr
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxCHAIRMAN M
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdfKamal Acharya
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfJNTUA
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUankushspencer015
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Studentskannan348865
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1T.D. Shashikala
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024EMMANUELLEFRANCEHELI
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...archanaece3
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...drjose256
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Ramkumar k
 

Recently uploaded (20)

Artificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdfArtificial intelligence presentation2-171219131633.pdf
Artificial intelligence presentation2-171219131633.pdf
 
UNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptxUNIT 4 PTRP final Convergence in probability.pptx
UNIT 4 PTRP final Convergence in probability.pptx
 
15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon15-Minute City: A Completely New Horizon
15-Minute City: A Completely New Horizon
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx21P35A0312 Internship eccccccReport.docx
21P35A0312 Internship eccccccReport.docx
 
analog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptxanalog-vs-digital-communication (concept of analog and digital).pptx
analog-vs-digital-communication (concept of analog and digital).pptx
 
Independent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging StationIndependent Solar-Powered Electric Vehicle Charging Station
Independent Solar-Powered Electric Vehicle Charging Station
 
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...8th International Conference on Soft Computing, Mathematics and Control (SMC ...
8th International Conference on Soft Computing, Mathematics and Control (SMC ...
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
electrical installation and maintenance.
electrical installation and maintenance.electrical installation and maintenance.
electrical installation and maintenance.
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Insurance management system project report.pdf
Insurance management system project report.pdfInsurance management system project report.pdf
Insurance management system project report.pdf
 
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdfInvolute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
Involute of a circle,Square, pentagon,HexagonInvolute_Engineering Drawing.pdf
 
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTUUNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
UNIT-2 image enhancement.pdf Image Processing Unit 2 AKTU
 
Circuit Breakers for Engineering Students
Circuit Breakers for Engineering StudentsCircuit Breakers for Engineering Students
Circuit Breakers for Engineering Students
 
Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1Research Methodolgy & Intellectual Property Rights Series 1
Research Methodolgy & Intellectual Property Rights Series 1
 
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
NEWLETTER FRANCE HELICES/ SDS SURFACE DRIVES - MAY 2024
 
5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...5G and 6G refer to generations of mobile network technology, each representin...
5G and 6G refer to generations of mobile network technology, each representin...
 
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
Tembisa Central Terminating Pills +27838792658 PHOMOLONG Top Abortion Pills F...
 
Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)Theory of Time 2024 (Universal Theory for Everything)
Theory of Time 2024 (Universal Theory for Everything)
 

ch1

  • 1. Copyright © 2002 S. K. Mitra 1 Signals and Signal Processing Signals and Signal Processing • Signals play an important role in our daily life • A signal is a function of independent variables such as time, distance, position, temperature, and pressure • Some examples of typical signals are shown next
  • 2. Copyright © 2002 S. K. Mitra 2 Examples of Typical Signals Examples of Typical Signals • Speech and music signals - Represent air pressure as a function of time at a point in space • Waveform of the speech signal “I like digital signal processing” is shown below 0 1 2 3 -1 -0.5 0 0.5 1 Time, sec. Amplitude
  • 3. Copyright © 2002 S. K. Mitra 3 Examples of Typical Signals Examples of Typical Signals • Electrocardiography (ECG) Signal - Represents the electrical activity of the heart • A typical ECG signal is shown below
  • 4. Copyright © 2002 S. K. Mitra 4 Examples of Typical Signals Examples of Typical Signals • The ECG trace is a periodic waveform • One period of the waveform shown below represents one cycle of the blood transfer process from the heart to the arteries P R Q S T Millivolts Seconds
  • 5. Copyright © 2002 S. K. Mitra 5 Examples of Typical Signals Examples of Typical Signals • Electroencephalogram (EEG) Signals - Represent the electrical activity caused by the random firings of billions of neurons in the brain
  • 6. Copyright © 2002 S. K. Mitra 6 Examples of Typical Signals Examples of Typical Signals • Seismic Signals - Caused by the movement of rocks resulting from an earthquake, a volcanic eruption, or an underground explosion • The ground movement generates 3 types of elastic waves that propagate through the body of the earth in all directions from the source of movement
  • 7. Copyright © 2002 S. K. Mitra 7 Examples of Typical Signals Examples of Typical Signals • Typical seismograph record
  • 8. Copyright © 2002 S. K. Mitra 8 Examples of Typical Signals Examples of Typical Signals • Black-and-white picture - Represents light intensity as a function of two spatial coordinates I(x,y)
  • 9. Copyright © 2002 S. K. Mitra 9 Examples of Typical Signals Examples of Typical Signals • Video signals - Consists of a sequence of images, called frames, and is a function of 3 variables: 2 spatial coordinates and time 1 Frame 3 Frame 5 Frame Video video the on Click
  • 10. Copyright © 2002 S. K. Mitra 10 Signals and Signal Processing Signals and Signal Processing • Most signals we encounter are generated naturally • However, a signal can also be generated synthetically or by a computer
  • 11. Copyright © 2002 S. K. Mitra 11 Signals and Signal Processing Signals and Signal Processing • A signal carries information • Objective of signal processing: Extract the useful information carried by the signal • Method information extraction: Depends on the type of signal and the nature of the information being carried by the signal • This course is concerned with the discrete- time representation of signals and their discrete-time processing
  • 12. Copyright © 2002 S. K. Mitra 12 Characterization and Characterization and Classification of Signals Classification of Signals • Types of signal: Depends on the nature of the independent variables and the value of the function defining the signal • For example, the independent variables can be continuous or discrete • Likewise, the signal can be a continuous or discrete function of the independent variables
  • 13. Copyright © 2002 S. K. Mitra 13 Characterization and Characterization and Classification of Signals Classification of Signals • Moreover, the signal can be either a real- valued function or a complex-valued function • A signal generated by a single source is called a scalar signal • A signal generated by multiple sources is called a vector signal or a multichannel signal
  • 14. Copyright © 2002 S. K. Mitra 14 Characterization and Characterization and Classification of Signals Classification of Signals • A one-dimensional (1-D) signal is a function of a single independent variable • A multidimensional (M-D) signal is a function of more than one independent variables • The speech signal is an example of a 1-D signal where the independent variable is time
  • 15. Copyright © 2002 S. K. Mitra 15 Characterization and Characterization and Classification of Signals Classification of Signals • An image signal, such as a photograph, is an example of a 2-D signal where the 2 independent variables are the 2 spatial variables • A color image signal is composed of three 2-D signals representing the three primary colors: red, green and blue (RGB)
  • 16. Copyright © 2002 S. K. Mitra 16 Characterization and Characterization and Classification of Signals Classification of Signals • The 3 color components of a color image are shown below
  • 17. Copyright © 2002 S. K. Mitra 17 Characterization and Characterization and Classification of Signals Classification of Signals • The full color image obtained by displaying the previous 3 color components is shown below
  • 18. Copyright © 2002 S. K. Mitra 18 Characterization and Characterization and Classification of Signals Classification of Signals • Each frame of a black-and-white digital video signal is a 2-D image signal that is a function of 2 discrete spatial variables, with each frame occurring at discrete instants of time • Hence, black-and-white digital video signal can be considered as an example of a 3-D signal where the 3 independent variables are the 2 spatial variables and time
  • 19. Copyright © 2002 S. K. Mitra 19 Characterization and Characterization and Classification of Signals Classification of Signals • A color video signal is a 3-channel signal composed of three 3-D signals representing the three primary colors: red, green and blue (RGB) • For transmission purposes, the RGB television signal is transformed into another type of 3-channel signal composed of a luminance component and 2 chrominance components
  • 20. Copyright © 2002 S. K. Mitra 20 Characterization and Characterization and Classification of Signals Classification of Signals • For a 1-D signal, the independent variable is usually labeled as time • If the independent variable is continuous, the signal is called a continuous-time signal • If the independent variable is discrete, the signal is called a discrete-time signal
  • 21. Copyright © 2002 S. K. Mitra 21 Characterization and Characterization and Classification of Signals Classification of Signals • A continuous-time signal is defined at every instant of time • A discrete-time signal is defined at discrete instants of time, and hence, it is a sequence of numbers • A continuous-time signal with a continuous amplitude is usually called an analog signal • A speech signal is an example of an analog signal
  • 22. Copyright © 2002 S. K. Mitra 22 Characterization and Characterization and Classification of Signals Classification of Signals • A discrete-time signal with discrete-valued amplitudes represented by a finite number of digits is referred to as the digital signal • An example of a digital signal is the digitized music signal stored in a CD-ROM disk • A discrete-time signal with continuous- valued amplitudes is called a sampled-data signal
  • 23. Copyright © 2002 S. K. Mitra 23 Characterization and Characterization and Classification of Signals Classification of Signals • A digital signal is thus a quantized sampled- data signal • A continuous-time signal with discrete- value amplitudes is usually called a quantized boxcar signal • The figure in the next slide illustrates the 4 types of signals
  • 24. Copyright © 2002 S. K. Mitra 24 Characterization and Characterization and Classification of Signals Classification of Signals signal time - continuous A signal data - sampled A signal boxcar quantized A t Time, Amplitude t Time, Amplitude t Time, Amplitude t Time, Amplitude signal digital A
  • 25. Copyright © 2002 S. K. Mitra 25 Characterization and Characterization and Classification of Signals Classification of Signals • The functional dependence of a signal in its mathematical representation is often explicitly shown • For a continuous-time 1-D signal, the continuous independent variable is usually denoted by t • For example, u(t) represents a continuous- time 1-D signal
  • 26. Copyright © 2002 S. K. Mitra 26 Characterization and Characterization and Classification of Signals Classification of Signals • For a discrete-time 1-D signal, the discrete independent variable is usually denoted by n • For example, {v[n]} represents a discrete- time 1-D signal • Each member, v[n], of a discrete-time signal is called a sample
  • 27. Copyright © 2002 S. K. Mitra 27 Characterization and Characterization and Classification of Signals Classification of Signals • In many applications, a discrete-time signal is generated by sampling a parent continuous-time signal at uniform intervals of time • If the discrete instants of time at which a discrete-time signal is defined are uniformly spaced, the independent discrete variable n can be normalized to assume integer values
  • 28. Copyright © 2002 S. K. Mitra 28 Characterization and Characterization and Classification of Signals Classification of Signals • In the case of a continuous-time 2-D signal, the 2 independent variables are the spatial coordinates, usually denoted by x and y • For example, the intensity of a black-and- white image at location (x,y) can be expressed as u(x,y)
  • 29. Copyright © 2002 S. K. Mitra 29 Characterization and Characterization and Classification of Signals Classification of Signals • On the other hand, a digitized image is a 2-D discrete-time signal, and its 2 independent variables are discretized spatial variables, often denoted by m and n • Thus, a digitized image can be represented as v[m,n] • A black-and-white video signal is a 3-D signal and can be represented as u(x,y,t)
  • 30. Copyright © 2002 S. K. Mitra 30 Characterization and Characterization and Classification of Signals Classification of Signals • A color video signal is a vector signal composed of 3 signals representing the 3 primary colors: red, green, and blue           = ) , , ( ) , , ( ) , , ( ) , , ( t y x b t y x g t y x r t y x u
  • 31. Copyright © 2002 S. K. Mitra 31 Characterization and Characterization and Classification of Signals Classification of Signals • A signal that can be uniquely determined by a well-defined process, such as a mathematical expression or rule, or table look-up, is called a deterministic signal • A signal that is generated in a random fashion and cannot be predicted ahead of time is called a random signal
  • 32. Copyright © 2002 S. K. Mitra 32 Typical Signal Processing Typical Signal Processing Applications Applications • Most signal processing operations in the case of analog signals are carried out in the time-domain • In the case of discrete-time signals, both time-domain or frequency-domain operations are usually employed
  • 33. Copyright © 2002 S. K. Mitra 33 Elementary Time-Domain Elementary Time-Domain Operations Operations • Three most basic time-domain signal operations are scaling, delay, and addition • Scaling is simply the multiplication of a signal either by a positive or negative constant • In the case of analog signals, the operation is usually called amplification if the magnitude of the multiplying constant, called gain, is greater than 1
  • 34. Copyright © 2002 S. K. Mitra 34 Elementary Time-Domain Elementary Time-Domain Operations Operations • If the magnitude of the multiplying constant is less than 1, the operation is called attenuation • If x(t) is an analog signal that is scaled by a constant α, then the scaling operation generates a signal y(t) = α x(t) • Two other elementary operations are integration and differentiation
  • 35. Copyright © 2002 S. K. Mitra 35 Elementary Time-Domain Elementary Time-Domain Operations Operations • The integration of an analog signal x(t) generates a signal • The differentiation of an analog signal x(t) generates a signal ∫ τ τ = ∞ − t d x t y ) ( ) ( dt t dx t w ) ( ) ( =
  • 36. Copyright © 2002 S. K. Mitra 36 Elementary Time-Domain Elementary Time-Domain Operations Operations • The delay operation generates a signal that is a delayed replica of the original signal • For an analog signal x(t), is the signal obtained by delaying x(t) by the amount of time which is assumed to be a positive number • If is negative, then it is an advance operation ) ( ) ( o t t x t y − = o t o t
  • 37. Copyright © 2002 S. K. Mitra 37 Elementary Time-Domain Elementary Time-Domain Operations Operations • Many applications require operations involving two or more signals to generate a new signal • For example, is the signal generated by the addition of the three analog signals, , , and ) ( ) ( ) ( ) ( 3 2 1 t x t x t x t y + + = ) ( 3 t x ) ( 1 t x ) ( 2 t x
  • 38. Copyright © 2002 S. K. Mitra 38 Elementary Time-Domain Elementary Time-Domain Operations Operations • The product of 2 signals, and , generates a signal • The elementary operations discussed so far are also carried out on discrete-time signals • More complex operations operations are implemented by combining two or more elementary operations ) ( 1 t x ) ( 2 t x ) ( ) ( ) ( 2 1 t x t x t y ⋅ =
  • 39. Copyright © 2002 S. K. Mitra 39 Filtering Filtering • Filtering is one of the most widely used complex signal processing operations • The system implementing this operation is called a filter • A filter passes certain frequency components without any distortion and blocks other frequency components
  • 40. Copyright © 2002 S. K. Mitra 40 Filtering Filtering • The range of frequencies that is allowed to pass through the filter is called the passband, and the range of frequencies that is blocked by the filter is called the stopband • In most cases, the filtering operation for analog signals is linear
  • 41. Copyright © 2002 S. K. Mitra 41 Filtering Filtering • The filtering operation of a linear analog filter is described by the convolution integral where x(t) is the input signal, y(t) is the output of the filter, and h(t) is the impulse response of the filter ∫ τ τ τ − = ∞ ∞ − d x t h t y ) ( ) ( ) (
  • 42. Copyright © 2002 S. K. Mitra 42 Filtering Filtering • A lowpass filter passes all low-frequency components below a certain specified frequency , called the cutoff frequency, and blocks all high-frequency components above • A highpass filter passes all high-frequency components a certain cutoff frequency and blocks all low-frequency components below c f c f c f
  • 43. Copyright © 2002 S. K. Mitra 43 Filtering Filtering • A bandpass filter passes all frequency components between 2 cutoff frequencies, and , where , and blocks all frequency components below the frequency and above the frequency • A bandstop filter blocks all frequency components between 2 cutoff frequencies, and , where , and passes all frequency components below the frequency and above the frequency 1 c f 2 c f 2 1 c c f f < 1 c f 2 c f 2 1 c c f f < 1 c f 2 c f 1 c f 2 c f
  • 44. Copyright © 2002 S. K. Mitra 44 Filtering Filtering • Figures below illustrate the lowpass filtering of an input signal composed of 3 sinusoidal components of frequencies 50 Hz, 110 Hz, and 210 Hz 0 20 40 60 80 100 -4 -2 0 2 4 Time, msec Amplitude Input signal 0 20 40 60 80 100 -1 -0.5 0 0.5 1 Time, msec Amplitude Lowpass filter output
  • 45. Copyright © 2002 S. K. Mitra 45 Filtering Filtering • Figures below illustrate highpass and bandpass filtering of the same input signal 0 20 40 60 80 100 -1 -0.5 0 0.5 1 Time, msec Amplitude Highpass filter output 0 20 40 60 80 100 -1 -0.5 0 0.5 1 Time, msec Amplitude Bandpass filter output
  • 46. Copyright © 2002 S. K. Mitra 46 Filtering Filtering • There are various other types of filters • A filter blocking a single frequency component is called a notch filter • A multiband filter has more than one passband and more than one stopband • A comb filter blocks frequencies that are integral multiples of a low frequency
  • 47. Copyright © 2002 S. K. Mitra 47 Filtering Filtering • In many applications the desired signal occupies a low-frequency band from dc to some frequency Hz, and gets corrupted by a high-frequency noise with frequency components above Hz with • In such cases, the desired signal can be recovered from the noise-corrupted signal by passing the latter through a lowpass filter with a cutoff frequency where L f H f L H f f > c f H c L f f f < <
  • 48. Copyright © 2002 S. K. Mitra 48 Filtering Filtering • A common source of noise is power lines radiating electric and magnetic fields • The noise generated by power lines appears as a 6-Hz sinusoidal signal corrupting the desired signal and can be removed by passing the corrupted signal through a notch filter with a notch frequency at 60 Hz
  • 49. Copyright © 2002 S. K. Mitra 49 Generation of Complex Generation of Complex Signals Signals • A signal can be real-valued or complex- valued • For convenience, the former is usually called a real signal while the latter is called a complex signal • A complex signal can be generated from a real signal by employing a Hilbert transformer
  • 50. Copyright © 2002 S. K. Mitra 50 Generation of Complex Generation of Complex Signals Signals • The impulse response of a Hilbert transformer is given by • Consider a real signal x(t) with a continuous-time Fourier transform (CTFT) X(jΩ) given by t t hHT π = 1 ) ( ∫ = Ω ∞ ∞ − Ω − dt e t x j X t j ) ( ) (
  • 51. Copyright © 2002 S. K. Mitra 51 Generation of Complex Generation of Complex Signals Signals • X(jΩ) is called the spectrum of x(t) • The magnitude spectrum of a real signal exhibits even symmetry with respect to w while the phase spectrum exhibits odd symmetry • The spectrum X(jΩ) of a real signal x(t) contains both positive and negative frequencies
  • 52. Copyright © 2002 S. K. Mitra 52 Generation of Complex Generation of Complex Signals Signals • Thus we can write where is the portion of X(jΩ) occupying the positive frequency range and is the portion of X(jΩ) occupying the negative frequency range ) ( ) ( ) ( Ω + Ω = Ω j X j j X j X n p ) ( Ω j Xp ) ( Ω j Xn
  • 53. Copyright © 2002 S. K. Mitra 53 Generation of Complex Generation of Complex Signals Signals • If x(t) is passed through a Hilbert transformer, its output y(t) is given by: • The spectrum Y(jΩ) of y(t) is given by the product of the CTFTs of and x(t) ∫ τ τ τ − = ∞ ∞ − d x t h t y HT ) ( ) ( ) ( ) (t hHT
  • 54. Copyright © 2002 S. K. Mitra 54 Generation of Complex Generation of Complex Signals Signals • The CTFT of is given by • Therefore ) ( Ω j HHT ) (t hHT    < Ω > Ω − = Ω 0 , 0 , ) ( j j j HHT ) ( ) ( ) ( Ω Ω = Ω j X j H j Y HT ) ( ) ( Ω + Ω − = j X j j X j n p
  • 55. Copyright © 2002 S. K. Mitra 55 Generation of Complex Generation of Complex Signals Signals • As the magnitude and phase of Y(jΩ) are an even and odd function, respectively, it follows from that y(t) is also a real function • Consider the complex signal g(t): g(t) = x(t) + j y(t) ) ( ) ( ) ( Ω + Ω − = Ω j X j j X j j Y n p
  • 56. Copyright © 2002 S. K. Mitra 56 Generation of Complex Generation of Complex Signals Signals • The CTFT of g(t) is thus given by • In other words, the complex signal g(t), called an analytic signal, has only positive frequency components ) ( 2 ) ( ) ( ) ( Ω = Ω + Ω = Ω j X j Y j j X j G p • ) (t x ) (t x ) (t y Hilbert r Transforme part real part imaginary ) ( ) ( ) ( t y j t x t g + =
  • 57. Copyright © 2002 S. K. Mitra 57 Modulation and Demodulation Modulation and Demodulation • For efficient transmission of a low- frequency signal over a channel, it is necessary to transform the signal to a high- frequency signal by means of a modulation operation • At the receiving end, the modulated high- frequency signal is demodulated to extract the desired low-frequency signal
  • 58. Copyright © 2002 S. K. Mitra 58 Modulation and Demodulation Modulation and Demodulation • There are 4 major types of modulation of analog signals: (1) Amplitude modulation (2) Frequency modulation (3) Phase modulation (4) Pulse amplitude modulation
  • 59. Copyright © 2002 S. K. Mitra 59 Amplitude Modulation Amplitude Modulation • Amplitude modulation is conceptually simple • Here, the amplitude of a high-frequency sinusoidal signal , called the carrier signal, is varied by the low- frequency signal x(t), called the modulating signal • Process generates a high-frequency signal, called modulated signal, y(t) given by: ) cos( ot A Ω ) cos( ) ( ) ( ot t Ax t y Ω =
  • 60. Copyright © 2002 S. K. Mitra 60 Amplitude Modulation Amplitude Modulation • Thus, amplitude modulation can be implemented by forming the product of the modulating signal with the carrier signal • To demonstrate the frequency translating property, let x(t) = where ) cos( 1t Ω o 1 Ω << Ω
  • 61. Copyright © 2002 S. K. Mitra 61 Amplitude Modulation Amplitude Modulation • Then • The CTFT of Y(jΩ) of y(t) is given by where X(jΩ) is the CTFT of x(t) ) cos( ) cos( ) ( o 1 t t A t y Ω ⋅ Ω = ( ) ( ) t t A A ) ( cos ) ( cos 1 o 2 1 o 2 Ω − Ω Ω + Ω = ( ) ( ) ) ( ) ( ) ( o 2 o 2 Ω + Ω + Ω − Ω = Ω j X j X j Y A A
  • 62. Copyright © 2002 S. K. Mitra 62 Amplitude Modulation Amplitude Modulation • Spectra of the modulating signal x(t) and the modulated signal y(t) are shown below ) ( Ω j Y Ω o Ω o Ω − m Ω − Ωo ) ( o m Ω − Ω − 0 2 A ) ( Ω j X Ω m Ω m Ω − 0 1 m Ω + Ωo ) ( o m Ω + Ω −
  • 63. Copyright © 2002 S. K. Mitra 63 Amplitude Modulation Amplitude Modulation • As can be seen from the figures on the previous slide, y(t) is a bandlimited high- frequency signal with a bandwidth of centered at • The portion of the amplitude-modulated signal between and is called the upper sideband, whereas, the portion of the amplitude-modulated signal between and is called the lower sideband m Ω 2 o Ω m Ω + Ωo m Ω − Ωo o Ω o Ω
  • 64. Copyright © 2002 S. K. Mitra 64 Amplitude Modulation Amplitude Modulation • Because of the generation of two sidebands and the absence of a carrier component in the modulated signal, the process is called double-sideband suppress carrier (DSB-SC) modulation • The demodulation of y(t) to recover x(t) is carried out in two stages
  • 65. Copyright © 2002 S. K. Mitra 65 Amplitude Modulation Amplitude Modulation • First, y(t) is multiplied with a sinusoidal signal of the same frequency as the carrier: • The result indicates that r(t) is composed of x(t) scaled by a factor 1/2 and an amplitide- modulated signal with a carrier frequency t t Ax t t y t r o 2 o cos ) ( cos ) ( ) ( Ω = Ω = ) 2 cos( ) ( ) ( o 2 2 t t x t x A A Ω + = o 2Ω
  • 66. Copyright © 2002 S. K. Mitra 66 Amplitude Modulation Amplitude Modulation • The spectrum R(jΩ) of r(t) is shown below ) ( Ω j X Ω m Ω m Ω − 0 2 A o 2Ω o 2Ω − m Ω − Ωo 2 ) 2 ( o m Ω − Ω − c Ω c Ω −
  • 67. Copyright © 2002 S. K. Mitra 67 Amplitude Modulation Amplitude Modulation • Thus x(t) can be recovered from r(t) by passing it through a lowpass filter with a cutoff frequency at satisfying the relation • The modulation and demodulation schemes are as shown below: c Ω m c m Ω − Ω < Ω < Ω o 2 × ) (t x ) (t y t A o cosΩ × Lowpass Filter ) (t y ) (t r ) ( 2 t x A t o cosΩ
  • 68. Copyright © 2002 S. K. Mitra 68 Amplitude Modulation Amplitude Modulation • In general, it is difficult to ensure that the demodulating sinusoidal signal has a frequency identical to that of the carrier • To get around the above problem, the modulation process is modified so that the transmitted signal includes the carrier signal
  • 69. Copyright © 2002 S. K. Mitra 69 Amplitude Modulation Amplitude Modulation • This is achieved by redefining the amplitude modulation operation as follows: where m is a number chosen to ensure that [1 + m x(t)] is positive for all t • As the carrier is also present in the modulated signal, the process is called double-sideband (DSB) modulation ) cos( )] ( 1 [ ) ( ot t x m A t y Ω + =
  • 70. Copyright © 2002 S. K. Mitra 70 Amplitude Modulation Amplitude Modulation • Figure below shows the waveforms of a modulating sinusoidal signal of frequency 20 Hz and the amplitude-modulated carrier with a carrier frequency 400 Hz obtained using the DSB modulation scheme and m = 0.5 0 20 40 60 80 100 -1 -0.5 0 0.5 1 Time, msec Amplitude Modulating signal 0 20 40 60 80 100 -2 -1 0 1 2 Time, msec Amplitude Modulated carrier
  • 71. Copyright © 2002 S. K. Mitra 71 Amplitude Modulation Amplitude Modulation • In the case of the conventional DSB amplitude modulation scheme, the modulated signal has a bandwidth of , whereas the bandwidth of the modulating signal is • To increase the capacity of the transmission medium, either the upper sideband or the lower sideband of the modulated signal is transmitted m Ω m Ω 2
  • 72. Copyright © 2002 S. K. Mitra 72 Amplitude Modulation Amplitude Modulation • The corresponding procedure is called single-sideband (SSB) modulation, a possible implentation of which is shown below • The spectra of pertinent signals in the SSB modulation scheme are shown in the next slide ) (t x ) (t y t A o cosΩ × × + • t A o sinΩ Hilbert r Transforme ) (t u ) ( 1 t w ) ( 2 t w
  • 73. Copyright © 2002 S. K. Mitra 73 Amplitude Modulation Amplitude Modulation ) ( 2 Ω j W Ω o Ω o Ω − 0 2 A ) ( 1 Ω j W Ω o Ω o Ω − 0 2 A ) ( Ω j Y Ω o Ω o Ω − 0 A
  • 74. Copyright © 2002 S. K. Mitra 74 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • The DSB amplitude modualtion is half as efficient as SSB amplitude modulation • The quadrature amplitude modualtion (QAM) method uses DSB modulation to modulate two different signals so that they both occupy the same bandwidth • Hence, QAM takes up as much bandwidth as the SSB method
  • 75. Copyright © 2002 S. K. Mitra 75 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • Consider two bandlimited signals and with a bandwidth of as indicated below ) ( 1 t x ) ( 2 t x m Ω ) ( 1 Ω j X Ω m Ω m Ω − 0 ) ( 2 Ω j X Ω m Ω m Ω − 0
  • 76. Copyright © 2002 S. K. Mitra 76 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • The two modulating signals are individually modulated by the two carrier signals and , respectively, and are summed, resulting in • The two carrier signals have the same carrier frequency but have a phase difference of 90 o ) cos( ot A Ω ) sin( ot A Ω ) sin( ) ( ) cos( ) ( ) ( o 2 o 1 t t Ax t t Ax t y Ω + Ω = o Ω
  • 77. Copyright © 2002 S. K. Mitra 77 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • The carrier is called the in-phase component and the carrier is called the quadrature component • The spectrum Y(jΩ) of the composite signal y(t) is given by ) cos( ot A Ω ) sin( ot A Ω ( ) ( )} ( ( { ) ( o 1 o 1 2 Ω + Ω + Ω − Ω = Ω j X j X j Y A ( ) ( )} ( ( { o 2 o 2 2 Ω + Ω − Ω − Ω + j X j X j A
  • 78. Copyright © 2002 S. K. Mitra 78 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • y(t) is seen to occupy the same bandwidth as the modulated signal obtained by a DSB modulation • To recover and , y(t) is multiplied by both the in-phase and the quadrature components of the carrier separately, resulting in ) ( 1 t x ) ( 2 t x ) cos( ) ( ) ( o 1 t t y t r Ω = ) sin( ) ( ) ( o 2 t t y t r Ω =
  • 79. Copyright © 2002 S. K. Mitra 79 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • Substituting the expression for y(t) in both of the last two equations, we obtain after some algebra • Lowpass filtering of and by filters with a cutoff at yields and ) 2 sin( ) ( ) 2 cos( ) ( ) ( ) ( o 2 2 o 1 2 1 2 1 t t x t t x t x t r A A A Ω + Ω + = ) 2 cos( ) ( ) 2 sin( ) ( ) ( ) ( o 2 2 o 1 2 2 2 2 t t x t t x t x t r A A A Ω − Ω + = ) ( 1 t r ) ( 2 t r m Ω ) ( 1 t x ) ( 2 t x
  • 80. Copyright © 2002 S. K. Mitra 80 Quadrature Quadrature Amplitude Amplitude Modulation Modulation • The QAM modulation and demodulation schemes are shown below ) ( 1 2 t x A ) ( 2 2 t x A + phase 90 o shifter • × × ) ( 1 t x ) ( 2 t x ) (t y ) cos( ot A Ω phase 90 o shifter • × × Lowpass filter Lowpass filter ) (t y ) cos( ot Ω •
  • 81. Copyright © 2002 S. K. Mitra 81 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • For an efficient utilization of a wideband transmission channel, many narrow- bandwidth low-frequency signals are combined for a composite wideband signal that is transmitted as a single signal • The process of combining the low- frequency signals is called multiplexing
  • 82. Copyright © 2002 S. K. Mitra 82 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • Multiplexing is implemented to ensure that a replica of each of the original narrow- bandwidth low-frequency signal can be recovered at the receiving end • The recovery process of the low-frequency signals is called demultiplexing
  • 83. Copyright © 2002 S. K. Mitra 83 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • One method of combining different voice signals in a telephone communication system is the frequency-division multiplexing (FDM) scheme • Here, each voice signal, typically bandlimited to a low-frequency band of width Ω , is frequency-translated into a higher frequency band using the amplitude modulation method m
  • 84. Copyright © 2002 S. K. Mitra 84 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • The carrier frequency of adjacent amplitude-modulated signals is separated by , where to ensure that there is no overlap in the spectra of the individual modulated signals after they are added to form the baseband composite signal • The composite signal is then modulated onto the main carrier developing the FDM signal and transmitted o Ω m Ω > Ω 2 o
  • 85. Copyright © 2002 S. K. Mitra 85 Multiplexing and Multiplexing and Demultiplexing Demultiplexing ) ( 1 Ω j X Ω m Ω m Ω − 0 ) ( 2 Ω j X Ω m Ω m Ω − 0 ) ( 3 Ω j X Ω m Ω Ω 1 Ω 2 Ω 3 Ω 0 1 Ω − ) ( Ω j Ycomp − m Ω − 0 low the of Spectra signals frequency − signal composite modulated the of Spectra
  • 86. Copyright © 2002 S. K. Mitra 86 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • At the receiving end, the composite baseband signal is first recovered from the FDM signal by demodulation • Then each individual frequency-translated signal is demultiplexed by passing the composite signal through a bank of bandpass filters
  • 87. Copyright © 2002 S. K. Mitra 87 Multiplexing and Multiplexing and Demultiplexing Demultiplexing • The center frequency of each bandpass filter has a value same as that of its carrier frequency and bandwidth slightly greater than • The output of each bandpass filter is then demodulated to recover a scaled replica of its corresponding voice signal m Ω 2
  • 88. Copyright © 2002 S. K. Mitra 88 Advantages of DSP Advantages of DSP • Absence of drift in the filter characteristics – Processing characteristics are fixed, e.g. by binary coefficients stored in memories – Thus, they are independent of the external environment and of parameters such as temperature – Aging has no effect
  • 89. Copyright © 2002 S. K. Mitra 89 Advantages of DSP Advantages of DSP • Improved quality level – Quality of processing limited only by economic considerations – Arbitrarily low degradations achieved with desired quality by increasing the number of bits in data/coefficient representation – An increase of 1 bit in the representation results in a 6 dB improvement in the SNR
  • 90. Copyright © 2002 S. K. Mitra 90 Advantages of DSP Advantages of DSP • Reproducibility – Component tolerances do not affect system performance with correct operation – No adjustments necessary during fabrication – No realignment needed over lifetime of equipment
  • 91. Copyright © 2002 S. K. Mitra 91 Advantages of DSP Advantages of DSP • Ease of new function development – Easy to develop and implement adaptive filters, programmable filters and complementary filters – Illustrates flexibility of digital techniques
  • 92. Copyright © 2002 S. K. Mitra 92 Advantages of DSP Advantages of DSP • Multiplexing – Same equipment can be shared between several signals, with obvious financial advantages for each function • Modularity – Uses standard digital circuits for implementation
  • 93. Copyright © 2002 S. K. Mitra 93 Advantages of DSP Advantages of DSP • Total single chip implementation using VLSI technology • No loading effect
  • 94. Copyright © 2002 S. K. Mitra 94 Limitations of DSP Limitations of DSP • Lesser Reliability – Digital systems are active devices, and thus use more power and are less reliable – Some compensation is obtained from the facility for automatic supervision and monitoring of digital systems
  • 95. Copyright © 2002 S. K. Mitra 95 Limitations of DSP Limitations of DSP • Limited Frequency Range of Operation – Frequency range technologically limited to values corresponding to maximum computing capacities that can be developed and exploited • Additional Complexity in the Processing of Analog Signals – A/D and D/A converters must be introduced adding complexity to overall system
  • 96. Copyright © 2002 S. K. Mitra 96 DSP Application Examples DSP Application Examples • Cellular Phone • Discrete Multitone Transmission • Digital Camera • Digital Sound Synthesis • Signal Coding & Compression • Signal Enhancement
  • 97. Copyright © 2002 S. K. Mitra 97 DSP Core S/W DSP Core S/W ARM RISC Core S/W ARM RISC Core S/W SINGLE CHIP DIGITAL BASEBAND ASIC Backplane User Display User Display Keyboard Keyboard SIM Card SIM Card RF Interface RF Interface Audio Interface Audio Interface Speaker Speaker Mic Mic Op Amps Op Amps Switches Switches Regulators Regulators Receiver Receiver Modulator Modulator Driver Driver RF SECTION Power Amp Power Amp Synthesizer Synthesizer Touch Screen Touch Screen Cellular Phone Block Diagram Cellular Phone Block Diagram s Instrument Texas : Courtesy
  • 98. Copyright © 2002 S. K. Mitra 98 • 100-200 MHz DSP + MCU • ASIC Logic • Dense Memory • Analog Cellular Phone Baseband System on a Chip s Instrument Texas : Courtesy
  • 99. Copyright © 2002 S. K. Mitra 99 Discrete Discrete Multitone Multitone Transmission (DMT) Transmission (DMT) • Core technology in the implementation of the asymmetric digital subscriber line (ADSL) and very-high-rate digital subscriber line (VDSL) • Closely related to: Orthogonal frequency- division multiplexing (OFDM)
  • 100. Copyright © 2002 S. K. Mitra 100 ADSL ADSL • A local transmission system designed to simultaneously support three services on a single twisted-wire pair: – Data transmission downstream (toward the subscriber) at bit rates of upto 9 Mb/s – Data transmission upstream (away from the subscriber) at bit rates of upto 1 Mb/s – Plain old telephone service (POTS)
  • 101. Copyright © 2002 S. K. Mitra 101 ADSL • Band-allocations for an FDM-based ADSL system power Transmit band stream - down rate - bit High band POTS band Guard band upstream rate - bit Low Frequency
  • 102. Copyright © 2002 S. K. Mitra 102 ADSL ADSL • Asymmetry in the frequency band allocation: – to bring movies, television, video catalogs, remote CD-ROMs, corporate LANs, and the Internet into homes and small businesses
  • 103. Copyright © 2002 S. K. Mitra 103 VDSL VDSL • Optical network emanating from twisted pair provides data rates of 13 to 26 Mb/s downstream and 2 to 3 Mb/s upstream over short distances less than about 1 km • Allows the delivery of digital TV, super-fast Web surfing and file transfer, and virtual offices at home
  • 104. Copyright © 2002 S. K. Mitra 104 Discrete Discrete Multitone Multitone Transmission Transmission • Advantages in using DMT for ADSL and VDSL – The ability to maximize the transmitted bit rate – Adaptivity to changing line conditions – Reduced sensitivity to line conditions
  • 105. Copyright © 2002 S. K. Mitra 105 OFDM OFDM • Applications: – Wireless communications - an effective technique to combat multipath fading – Digital audio broadcasting • Uses a fixed number of bits per subchannel while DMT uses loading for bit allocation
  • 106. Copyright © 2002 S. K. Mitra 106 OFDM OFDM • Basic differences with DMT architecture – Signal constellation encoder does not include a loading algorithm for bit allocation – In the transmitter, an upconverter included after the D/A converter to translate the transmitted frequency – In the receiver, a downconverter included before the A/D converter to undo the frequency translation
  • 107. Copyright © 2002 S. K. Mitra 107 Digital Camera Digital Camera • CMOS Imaging Sensor – Increasingly being used in digital cameras – Single chip integration of sensor and other image processing algorithms needed to generate final image – Can be manufactured at low cost – Less expensive cameras use single sensor with individual pixels in the sensor covered with either a red, a green, or a blue optical filter
  • 108. Copyright © 2002 S. K. Mitra 108 Digital Camera Digital Camera • Image Processing Algorithms – Bad pixel detection and masking – Color interpolation – Color balancing – Contrast enhancement – False color detection and masking – Image and video compression
  • 109. Copyright © 2002 S. K. Mitra 109 Digital Camera Digital Camera • Bad Pixel Detection and Masking
  • 110. Copyright © 2002 S. K. Mitra 110 Digital Camera Digital Camera • Color Interpolation and Balancing
  • 111. Copyright © 2002 S. K. Mitra 111 Digital Sound Synthesis Digital Sound Synthesis • Four methods for the synthesis of musical sound: – Wavetable Synthesis – Spectral Synthesis – Nonlinear Synthesis – Synthesis by Physical Modeling
  • 112. Copyright © 2002 S. K. Mitra 112 Digital Sound Synthesis Digital Sound Synthesis • Wavetable Synthesis - Recorded or synthesized musical events stored in internal memory and played back on demand - Playback tools consists of various techniques for sound variation during reproduction such as pitch shifting, looping, enveloping and filtering - Example: Giga Sampler
  • 113. Copyright © 2002 S. K. Mitra 113 Digital Sound Synthesis Digital Sound Synthesis • Spectral Synthesis - Produces sounds from frequency domain models - Signal represented as a superposition of basis functions with time-varying amplitudes - Practical implementation usually consist of a combination of additive synthesis, subtractive synthesis and granular synthesis - Example: Kawaii K500 Demo
  • 114. Copyright © 2002 S. K. Mitra 114 Digital Sound Synthesis Digital Sound Synthesis • Nonlinear Synthesis - Frequency modulation method: Time- dependent phase terms in the sinusoidal basis functions - An inexpensive method frequently used in synthesizers and in sound cards for PC - Example: Variation modulation index complex algorithm (Pulsar)
  • 115. Copyright © 2002 S. K. Mitra 115 Digital Sound Synthesis Digital Sound Synthesis • Physical Modeling - Models the sound production method - Physical description of the main vibrating structures by partial differential equations - Most methods based on wave equation describing the wave propagation in solids and in air - Examples: (CCRMA, Stanford) • Guitar with nylon strings • Marimba • Tenor saxophone
  • 116. Copyright © 2002 S. K. Mitra 116 Signal Coding & Compression Signal Coding & Compression • Concerned with efficient digital representation of audio or visual signal for storage and transmission to provide maximum quality to the listener or viewer
  • 117. Copyright © 2002 S. K. Mitra 117 Signal Compression Example Signal Compression Example • Original speech Data size 330,780 bytes • Compressed speech (GSM 6.10) - Sampled at 22.050 kHz, Data size 16,896 bytes • Compressed speech (Lernout & Hauspie CELP 4.8kbit/s) Sampled at 8 kHz, Data size 2,302 bytes 0 1 2 3 -1 -0.5 0 0.5 1 Time, sec. Amplitude 16-bit, sampled at 44.1 kHz rate
  • 118. Copyright © 2002 S. K. Mitra 118 Signal Compression Example Signal Compression Example • Original music Audio Format: PCM 16.000 kHz, 16 Bit (Data size 66206 bytes) • Compressed music Audio Format: GSM 6.10, 22.05 kHz (Data size 9295 bytes) Courtesy: Dr. A. Spanias
  • 119. Copyright © 2002 S. K. Mitra 119 Signal Compression Example Signal Compression Example Compressed Image Average bit rate - 0.5 bits per pixel Original Lena 8 bits per pixel
  • 120. Copyright © 2002 S. K. Mitra 120 Signal Enhancement Signal Enhancement • Purpose: To emphasize specific signal features to provide maximum quality to the listener or viewer • For speech signals, algorithms include removal of background noise or interference • For image or video signals, algorithms include contrast enhancement, sharpening and noise removal
  • 121. Copyright © 2002 S. K. Mitra 121 Signal Enhancement Example Signal Enhancement Example • Noisy speech signal (10% impulse noise) • Noise removed speech 0 1 2 3 -1 -0.5 0 0.5 1 Time, sec. Amplitude 0.4 0.6 0.8 1 1.2 -1 -0.5 0 0.5 1 Time, sec. Amplitude
  • 122. Copyright © 2002 S. K. Mitra 122 Signal Enhancement Example Signal Enhancement Example EKG corrupted with EKG after filtering with 60 Hz interference a notch filter 0 500 1000 1500 2000 -50 0 50 100 150 time EKG After Noise Removal Amplitude 0 500 1000 1500 2000 -50 0 50 100 150 time Amplitude EKG Corrupted With 60 Hz Interference
  • 123. Copyright © 2002 S. K. Mitra 123 Signal Enhancement Example Signal Enhancement Example • Original image and its contrast enhanced version Original Enhanced
  • 124. Copyright © 2002 S. K. Mitra 124 Signal Enhancement Example Signal Enhancement Example • Original image and its contrast enhanced version Original Enhanced
  • 125. Copyright © 2002 S. K. Mitra 125 Signal Enhancement Example Signal Enhancement Example • Noise corrupted image and its noise-removed version 20% pixels corrupted with additive impulse noise Noise-removed version