DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr....

39
COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur 1 NIT Jamshedpur

Transcript of DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr....

Page 1: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

COURSE NAME

DIGITAL SIGNAL PROCESSING

COURSE CODE: EC 701

Dr. Mrutyunjay Rout

Dept. of Electronics and communication Engineering

NIT Jamshedpur

1NIT Jamshedpur

Page 2: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

NIT Jamshedpur

2

Course DescriptionUNIT-I: DSP Preliminaries, Sampling, DT signals, sampling theorem in time domain, sampling of analog

signals, recovery of analog signals, and analytical treatment with examples, mapping between analog

frequencies to digital frequency, representation of signals as vectors, concept of Basis function and

orthogonality. Basic elements of DSP and its requirements, advantages of Digital over Analog signal

processing.

UNIT-II: Discrete Fourier Transform, DTFT, Definition, Frequency domain sampling , DFT, Properties of

DFT, circular convolution, linear convolution, Computation of linear convolution using circular

convolution, FFT, decimation in time and decimation in frequency using Radix-2 FFT algorithm, Linear

filtering using overlap add and overlap save method, Introduction to Discrete Cosine Transform

UNIT-III: Z transform, Need for transform, relation between Laplace transform and Z transform, between

Fourier transform and Z transform, Properties of ROC and properties of Z transform, Relation between

pole locations and time domain behaviour, causality and stability considerations for LTI systems, Inverse

Z transform, Power series method, partial fraction expansion method, Solution of difference equations.

UNIT-IV: IIR Filter Design, Concept of analog filter design (required for digital filter design), Design of

IIR filters from analog filters, IIR filter design by approximation of derivatives filter design by impulse

invariance method, Bilinear transformation method, warping effect. Characteristics of Butterworth filters,

Chebyshev filters and elliptic filters, Butterworth filter design, IIR filter realization using direct form,

cascade form and parallel form, Finite word length effect in IIR filter design.

UNIT-V: FIR Filter Design, Ideal filter requirements, Gibbs phenomenon, windowing techniques,

characteristics and comparison of different window functions, Design of linear phase FIR filter using

windows and frequency sampling method. FIR filters realization using direct form, cascade form and

lattice form, Finite word length effect in FIR filter design, Multirate DSP, Introduction to DSP Processor

Concept of Multirate DSP, Sampling rate conversion by a non-integer factor, Design of two stage sampling

rate converter, General Architecture of DSP, Introduction to Code composer studio, Application of DSP to

Voice Processing, Music Processing, Image processing and Radar processing

Page 3: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

NIT Jamshedpur 3

Books

Text Books:

1. John G Proakis and Manolakis, β€œDigital Signal Processing Principles,

Algorithms andApplications”, Pearson, Fourth Edition, 2007.

2. S.Salivahanan, A. Vallavaraj, and C. Gnanapriya, β€œDigital Signal

Processing”, TMH/McGraw Hill International, 2007.

Reference Books:

1. S.K. Mitra, β€œDigital Signal Processing, A Computer-Based Approach”,

Tata Mc Graw Hill, 1998.

2. Ifaeachor E.C, Jervis B. W., β€œDigital Signal processing: Practical

approach”, Pearson publication, Second edition, 2002.

3. Johny R. Johnson, Introduction to Digital Signal Processing, PHI, 2006.

Page 4: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

Introduction to Digital Signal

Processing

4NIT Jamshedpur

Page 5: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8➒ Signal processing emerged soon after World War I in the

form of electrical filtering.

➒ With the invention of the digital computer and the rapidprogress in VLSI technology during the 1960s, a new wayof processing signals the signal processing is term asdigital signal processing.

➒ Digital signal processors take the real world signals likeaudio, video, speech etc., that have been sampled andquantized and then mathematically manipulate them.

➒ Signals need to be processed so that the information thatthey contain can be displayed, analyzed, or converted toanother type of signal that may be of use.

5NIT Jamshedpur

Page 6: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

6NIT Jamshedpur

What is Signal?

β€’ Anything that carries information and represents

as a function of independent variables such as

time, space, temperature, pressure, etc.

β€’ Any physical quantity that can be varied in such a

way as to convey information.

β€’ A signal is any quantity that depends on one or

more independent variables.

Page 7: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

7NIT Jamshedpur

Example of Signalβ€’ A radio signal represents the strength of an electromagnetic wave

that depends on one independent variable, namely time is a 1-Dsignal.

β€’ Image is a 2-D signal.

β€’ A video signal is a 3-D signal.

β€’ Natural signals:βœ“ Signals produced by the brain and heart

βœ“ Signals originating in galaxies, astronomical images etc.

βœ“ Speech signals, sounds made by dolphins

βœ“ Signals produced by lightning, the atmospheric pressure etc.

β€’ Man-made signals:βœ“ Signals originating from satellites, radio, telephone, TV

βœ“ Signals due to ECG, EEG etc.

βœ“ signals generate from musical instruments

Page 8: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

8NIT Jamshedpur

β€’ Signal Processing: Process of operation in which the characteristics of asignal such as amplitude, shape, phase, frequency, etc. undergoes a change.

OR

Signal processing is the analysis, interpretation and manipulation of anysignals like sound, images etc.

β€’ Types of signal processing:

βœ“Analog Signal Processing

βœ“ Digital Signal Processing

Analog Signal

Processing

Analog SignalX(t)

Analog Output Signal

y(t)

Sample and

Hold

AnalogInput Signal

X(t)

Analog Output Signal

y(t)

A/D

Converter

Digital Signal

Processor

D/A

Converter

β€’ Digital Signal processors (DSP) take real-world signals like audio, video,

pressure, temperature etc. that have been digitized and then mathematically

manipulate them

Page 9: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

9NIT Jamshedpur

Components of a DSP System

Page 10: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

10NIT Jamshedpur

β€’ Advantages of Digital Signal Processing:βœ“Greater Accuracy

βœ“Cheaper

βœ“Ease of Data storage

βœ“Easy Operation

βœ“Flexibility

βœ“Multiplexing

β€’ Limitations of Digital Signal Processing:βœ“Antialiasing Filter

βœ“Bandwidth limited by Sampling Rate

βœ“Quantization Error

Page 11: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

11NIT Jamshedpur

β€’ Applications of Digital SignalProcessing:βœ“In Communication

βœ“Consumer Application (e.g., TV, FMradio etc.)

βœ“Image processing

βœ“In Biomedical

βœ“In Radar and Sonar

βœ“In Speech and Music

Page 12: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

12NIT Jamshedpur

β€’ Any unwanted signal interfering with the main signal

is termed as noise. So, noise is also a signal but

unwanted.

β€’ Classification of Signals:

Depending on the independent variables and the value of the

function defining the signal.

1. Continuous-Time (CT) and Discrete-Time(DT) Signals

2. Continuous-valued and Discrete-valued Signals

3. Multichannel and Multidimensional Signals

4. Deterministic and Random Signals

Page 13: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

13NIT Jamshedpur

Continuous-Time (CT) and Discrete-Time (DT) Signals:

β€’ Continuous-Time (CT) Signal:

➒ A CT Signal is a signal that is defined at each and every instant of time.

It can be represented as x(t), where t is the independent variable.

➒ This type of signal shows continuity both in amplitude and time. These

will have values at each instant of time. Sine and cosine functions are

the best example of Continuous time signal.

Page 14: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

14NIT Jamshedpur

Continuous-Time (CT) and Discrete-Time (DT) Signals:

β€’ Discrete-Time (DT) Signals:

➒ A DT signal is a signal that is defined at discrete instant of time. It can

be represented as x(nT), where n is an integer and T is the time interval

between two consecutive signal values (Sampling period).

➒ This type of signal shows continuity in amplitude but discrete in time.

➒ Relationship between time variables t and n of CT and DT signals.

Page 15: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

15NIT Jamshedpur

Representation of Discrete-Time (DT) Signals:

β€’ Graphical Representation

β€’ Functional Representation

β€’ Tabular Representation n … -3 -2 -1 0 1 2 3 …

X[n] … 0 0 0 1 1 1 1 …

β€’ Sequence Representation . . . 0 0 0 ΰΈ“1↑

1 1 1 . . .

Page 16: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

16NIT Jamshedpur

β€’ Continuous Valued and Discrete Valued Signals:

➒ Values of CT or DT signals can be continuous or discrete.

➒ If the signal takes on all possible values on a finite or an

infinite range, it is said to be a Continuous valued signal.

➒ If the signal takes a set of discrete values, it is called Discrete

valued signal.

➒ Continuous time and continuous valued : Analog signal.

➒ Continuous time and discrete valued: Quantized signal.

➒ Discrete time and continuous valued: Sampled signal.

➒ Discrete time and discrete values: Digital signal.

Page 17: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

17NIT Jamshedpur

Multichannel and Multidimensional Signals:

β€’ Multichannel Signal:

➒ Signal is generated from multiple sources.

➒ For example: Electrocardiography (ECG) 3 lead and 12 lead signal.

π‘₯ 𝑑 =

π‘₯1(𝑑)π‘₯2(𝑑)π‘₯3(𝑑)

β€’ Multidimensional Signal:

➒ If the signal is function of one independent variable is called one

dimension signal otherwise the signal is called M-dimensional signal

➒ For example: Video signal, I(x,y,t) is a 3-Dimensional signal because I is

the function of three independent variables (x,y,t).

Page 18: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

18NIT Jamshedpur

Deterministic and Random Signals:

β€’ Deterministic Signal:

➒ A signal is said to be deterministic if there is no uncertainty with respect

to its value at any instant of time. Or, signals which can be defined

exactly by a mathematical formula are known as deterministic signals.

➒ This signal is predicted at any time.

β€’ Random Signal:

➒ A signal is said to be Random if there is

uncertainty with respect to its value at some

instant of time

➒ Random signals cannot be described by a

mathematical equation.

➒ Random signals are modelled in probabilistic

terms.

Page 19: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

19NIT Jamshedpur

Standard Discrete-Time Signals:

β€’ Unit Step Sequence:

β€’ Unit Sample Sequence (Impulse Sequence):

➒ The unit step sequence can be written in terms of delayed impulses as

𝑒 𝑛 = 𝛿 𝑛 + 𝛿 𝑛 βˆ’ 1 + 𝛿 𝑛 βˆ’ 2 +β‹― = Οƒπ‘˜=0∞ 𝛿[𝑛 βˆ’ π‘˜]

Page 20: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

20NIT Jamshedpur

Standard Discrete-Time Signals:

β€’ Unit Ramp Sequence:

β€’ Exponential Sequence:

➒ Exponential sequence are important in representing and analyzing liner time

invariant systems.

➒ An exponential signal can either have exponentially rising or falling

amplitude depending upon its exponent value.

➒ The general form of an exponential sequence is given by π‘₯ 𝑛 = 𝛼𝑛 βˆ€ 𝑛 .

➒ If α is real then the sequence is real.

Page 21: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

21NIT Jamshedpur

β€’ Exponential Sequence:

Page 22: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

22NIT Jamshedpur

β€’ Exponential Sequence:

➒ When β€œΞ±β€ is complex, a more general case to consider is the

complex exponential sequence:

π‘₯ 𝑛 = 𝐴𝛼𝑛 where 𝛼 = 𝛼 π‘’π‘—πœ”π‘œ and A = 𝐴 𝑒𝑗φ

π‘₯ 𝑛 = 𝐴𝛼𝑛 = 𝐴 𝑒𝑗φ |𝛼|π‘›π‘’π‘—πœ”π‘œπ‘›

= 𝐴 |𝛼|𝑛𝑒𝑗(πœ”π‘œπ‘›+Ο†)

= 𝐴 |𝛼|𝑛cos (πœ”π‘œπ‘› + Ο†) + 𝑗 𝐴 |𝛼|𝑛sin (πœ”π‘œπ‘› + Ο†)=Re π‘₯(𝑛) + π‘—πΌπ‘š π‘₯(𝑛)

Polar form

➒ If 𝛼 < 1, the real and imaginary part of the sequence

magnitude oscillate with exponentially decaying envelopes.

➒ If 𝛼 > 1, the real and imaginary part of the sequence

magnitude oscillate with exponentially growing envelopes.

Page 23: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

23NIT Jamshedpur

β€’ Exponential Sequence:

Page 24: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

24NIT Jamshedpur

β€’ Exponential Sequence:

➒ When 𝛼 =1, x(n) is referred to as the discrete-time complex

sinusoidal sequence and has the form:

π‘₯(𝑛) = 𝐴 cos (πœ”π‘œπ‘› + Ο†) + 𝑗 𝐴 sin (πœ”π‘œπ‘› + Ο†)

➒ For complex sinusoidal sequence, the real and imaginary part of

the sequence magnitude oscillate with constant envelopes.

Page 25: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

25NIT Jamshedpur

Operation on Discrete-Time Signals:

β€’ Signal processing is a group of basic operations applied to an

input signal resulting in another signal as the output.

β€’ The basic set of operations are:

➒ Time Shifting

➒ Time Scaling

➒ Time Reversal

➒ Signal Multiplier

➒ Signal Addition

OperationDT input

SignalX(n)

DT Output Signaly(n)

Page 26: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

26NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Shifting: The name suggests, the shifting of a signal in time.

This is done by adding or subtracting an integer quantity of the shift

to the time variable in the function.

β€’ Subtracting a fixed positive quantity from the time variable will shift

the signal to the right (delay) by the subtracted quantity.

β€’ Adding a fixed positive amount to the time variable will shift the

signal to the left (advance) by the added quantity.

Delay kDT input

SignalX(n)

DT Output Signal

y(n)=x(n-k)

Advance kDT input

SignalX(n)

DT Output Signal

y(n)=x(n+k)

Page 27: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

27NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Shifting (Delay): Right Shifting

Delay kDT input

SignalX(n)

DT Output Signal

y(n)=x(n-k)

π‘₯[n]= 0 0.25 0.75 ΰΈ“1↑

0.75 0.25 0 π‘₯[n-3]= ΰΈ“0↑

0.25 0.75 1 0.75 0.25 0

Page 28: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

28NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Shifting (Advance): Left Shifting

Advance kDT input

SignalX(n)

DT Output Signal

y(n)=x(n+k)

π‘₯[n]= ΰΈ“1↑

2 3 4 π‘₯[n+1]= 1 ΰΈ“2↑

3 4

Page 29: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

29NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Scaling: Time scaling compresses or dilates a signal by

multiplying the time variable by some quantity.

β€’ If the quantity is greater than one, the signal becomes narrower and

the operation is called decimation.

β€’ If the quantity is less than one, the signal becomes wider and the

operation is called expansion or interpolation, depending on how the

gaps between values are filled.

Time Scaling

k=2

DT input SignalX(n)

DT Output Signal

y(n)=x(2n)

Time Scaling

k=1/2

DT input SignalX(n)

DT Output Signal

y(n)=x(n/2)

Compress the signal x(n)

Expand the signal x(n)

Page 30: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

30NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Scaling (Compress): Signal becomes narrower

Time Scaling

k=2

DT input SignalX(n)

DT Output Signal

y(n)=x(2n)

π‘₯[n]= 0 0.25 0.75 ΰΈ“1↑

0.75 0.25 0 π‘₯[2n]= 0 0 0.25 ΰΈ“1↑

0.25 0 0

Page 31: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

31NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Scaling (Expand): Signal becomes narrower

π‘₯[n]= 0 0.25 0.75 ΰΈ“1↑

0.75 0.25 0 π‘₯[2n]= 0 0 0.25 ΰΈ“1↑

0.25 0 0

Time Scaling

k=1/2

DT input SignalX(n)

DT Output Signal

y(n)=x(n/2)

Page 32: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

32NIT Jamshedpur

Operation on Discrete-Time Signals:β€’ Time Reversal: This operation is the reversal of the time axis, or

flipping the signal over the y-axis.

β€’ Folding the sequence x[n] about n=0.

β€’ Mathematically, it is expressed as x[-n]

Time ReversalDT input

SignalX(n)

DT Output Signal

y(n)=x(-n)

π‘₯[n]= βˆ’3 βˆ’ 2 βˆ’ 1 ΰΈ“0↑

1 2 3 π‘₯[2n]= 3 2 1 ΰΈ“0↑

βˆ’ 1 βˆ’ 2 βˆ’ 3

Page 33: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

33NIT Jamshedpur

Operation on Discrete-Time Signals:

β€’ Time –Scaling and Time- Shifting operations are not

commutative.

β€’ Time-Reversal and Time-Shifting operations are not

commutative.

β€’ Time –Scaling and Time-Reversal operations are commutative.

β€’ All above operations are based on transformations of the

independent variable i.e., discrete time n.

Page 34: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

34NIT Jamshedpur

Sequence of Operations:

Step 1: First delay or advance the signal i.e., first operation is the

Time-Shifting.

Step 2: Perform Time-Scaling and/or Time-Reversal on the shifted

signal

π‘„π‘’π‘’π‘ π‘‘π‘–π‘œπ‘›: π‘†π‘˜π‘’π‘‘π‘β„Ž π‘₯ βˆ’π‘› + 2 π‘Žπ‘›π‘‘ π‘₯ βˆ’π‘› βˆ’ 2 π‘€β„Žπ‘’π‘› π‘₯ 𝑛 = ΰΈ“2↑

1 3 5 8

π‘†β„Žπ‘–π‘“π‘‘ 𝑏𝑦 π‘˜ π‘“π‘œπ‘™π‘‘ π‘₯(𝑛) = π‘†β„Žπ‘–π‘“π‘‘ 𝑏𝑦 π‘˜ π‘₯(βˆ’π‘›) = π‘₯(βˆ’π‘› + π‘˜)

πΉπ‘œπ‘™π‘‘ π‘†β„Žπ‘–π‘“π‘‘ 𝑏𝑦 π‘˜ π‘₯(𝑛) = πΉπ‘œπ‘™π‘‘ π‘₯(𝑛 βˆ’ π‘˜) = π‘₯(βˆ’π‘› βˆ’ π‘˜)

Page 35: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

35NIT Jamshedpur

Operation on Discrete-Time Signals:

β€’ Scalar Multiplication (Amplitude Scaling): The signal x(n) is

multiplied by a scalar factor β€˜a’.

DT input SignalX(n)

DT Output Signal

y(n)=a. x(n)

a

If π‘₯ 𝑛 = ΰΈ“2↑

1 3 5 8 and a = 2 then 𝑦 𝑛 = ΰΈ“4↑

2 6 10 16

β€’ For Example:

Page 36: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

36NIT Jamshedpur

Operation on Discrete-Time Signals:

β€’ Signal Multiplier: Multiplication of two signals to form

another sequence.

DT input SignalX(n)

DT Output Signal

y(n)=a. x(n)

a

If π‘₯ 𝑛 = ΰΈ“2↑

1 3 5 8 and a = 2 then 𝑦 𝑛 = ΰΈ“4↑

2 6 10 16

β€’ For Example:

Page 37: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

37NIT Jamshedpur

Sampling Process

β€’ To be able to process a continuous valued continuous-time i.e

analog signal by a digital processor, we must first sample it to

generate a discrete-time signal the quantize it to get a quantized

discrete-time signal.

β€’ A sampling system comprises three main components:

βœ“ Sampler

βœ“ Quantizer

βœ“ Encoder

Page 38: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

38NIT Jamshedpur

Sampling Processβ€’ Sampling is defined as, β€œThe process of measuring the instantaneous values

of continuous-time signal in a discrete form.”

β€’ Sample is a piece of data taken from the whole data which is continuous in

the time domain.

β€’ When a source generates an analog signal and if that has to be digitized,

having 1s and 0s i.e., High or Low, the signal has to be discretized in time.

This discretization of analog signal is called as Sampling.

Page 39: DIGITAL SIGNAL PROCESSING 701Digital...COURSE NAME DIGITAL SIGNAL PROCESSING COURSE CODE: EC 701 Dr. Mrutyunjay Rout Dept. of Electronics and communication Engineering NIT Jamshedpur

Lecture: 1-8

39NIT Jamshedpur

Sampling Processβ€’ To discretize the signals, the gap between the samples should be fixed. That gap

can be termed as a sampling period Ts.

β€’ π‘†π‘Žπ‘šπ‘π‘™π‘–π‘›π‘” πΉπ‘Ÿπ‘’π‘žπ‘’π‘’π‘›π‘π‘¦ =1

𝑇𝑠= 𝑓𝑠

β€’ The sampling rate fs denotes the number of samples taken per second, or for a

finite set of values.

β€’ For an analog signal to be reconstructed from the digitized signal, the sampling

rate should be highly considered. The rate of sampling should be such that the

data in the message signal should neither be lost nor it should get over-lapped.

Hence, a rate was fixed for this, called as Nyquist rate.

β€’ The sampling theorem, which is also called as Nyquist theorem, delivers the

theory of sufficient sample rate in terms of bandwidth for the class of functions

that are bandlimited.

β€’ 𝑓𝑠 = 2𝐡

β€’ The sampling theorem states that, β€œa signal can be exactly reproduced if it is

sampled at the rate fs which is greater than twice the maximum frequency B.”