Sei sulla pagina 1di 68

ECE 2006

Frequency Analysis of Signals and


Systems-1 (Review of Discrete
time Signals )
Dr. Shweta B. Thomas
School of Electronics Engineering
Objectives of the Course

 To recognize linear time-invariant (LTI) discrete-time systems


 To find frequency response of LTI system, find zeros and poles in discrete-
time LTI system
 To design IIR filters using impulse invariance, design FIR filters using
windowing
 To apply FFT to Communication Systems
 To implement certain DSP algorithms on Digital Signal Processors
 Obtain a knowledge and ability to use the appropriate tools(Digital Signal
Processors) to build DSP systems for real time problems
Outcomes
Student will be able to
 Describe and interpret the basic elements of digital Signal processing.
 Design and solve the specific analysis using Discrete Fourier transform, Z-
transform on given input signals
 Ability to design and implement filter like operations within the real time
constraints.
 Ability to design a typical digital Signal processing for specific application in real
time.
 Ability to Contribute Signal processing tasks in interdisciplinary projects like
automotive systems, Communication, Biomedical, space, defence, Multimedia and
virtual reality etc.,
 Solve real time signal processing issues by identifying finite word length effect and
performance improvement by properly selecting components to fulfil the required
features.
Course Contents
Module I
Frequency Analysis of Signals and Systems-1
Module II
Frequency Analysis of Signals and Systems-2
Module III
Theory and Design of Analog Filters
Module IV
Design of IIR Digital Filters
Module V
Design of FIR Digital Filters
Module VI
Realization of Digital Filters
Module VII
Realization of Lattice filter structures
Module VII
Contemporary Topics
Text Books
1. J. G. Proakis, D.G. Manolakis and D.Sharma, “Digital Signal Processing Principles,
Algorithms and Applications”, 4th edition, Pearson Education, 2012.

2. S.K.Mitra, Digital Signal Processing, 4th edition, TMH, 2013.

References
1. Sophocles J. Orfanidis, “Introduction to Signal Processing” 2nd edition, Prentice
Hall, Inc, 20101.

2. Oppenhiem V.A.V and Schaffer R.W, “Discrete – time Signal Processing”, 3rd edition,
Prentice Hall, 2013.

3. Lawrence R Rabiner and Bernard Gold, “Theory and Application of Digital Signal
Processing”, PHI 2009.

4. Andreas Antoniou, Digital Signal Processing, TMH, 2006

5. Emmanuel C.Ifeachor, “Digital Signal Processing A Practical Approach” 2nd edition


reprint, Pearson Education, 2010.
What does DSP mean?

 Digital signal processing (DSP) is the process of analyzing and modifying a


signal to optimize or improve its efficiency or performance. It involves
applying various mathematical and computational algorithms to analog
and digital signals to produce a signal that's of higher quality than the
original signal.

 Signal processing is an immense and diverse field. It is also a field that did
not exist 50 years ago and one that remains mysterious, or quite unknown
to most people. Signal processing is not the transmission of signals, as
through telephone wires or by radio waves, but the changes made to
signals so as to improve transmission or use of the signals.

6
Digital Signal Processing?

7
Digital versus Analog Processing

8
DSP as a specific methodology….From a need to design a product

9
Practical application of DSP: Wearable Sensors and Systems

10
Introduction to Signals
Signal and System

Signal: Anything that carries some information can be called signal.


Example: Electrocardiogram (ECG), provides information about the health of the
person’s heart and Electroencephalogram (EEG) signal provides
information about brain activity of a person.

System: System is a device or combination of devices, that generates a


response or an output signal, for a given input signal. Input to a
system is called as excitation and output from it is called as response.
 For one or more inputs, the system can have one or more outputs.
Example: Communication System, electrical system, biological system, etc..
12
13
Representation of DT Signals

To distinguish between continuous-time and discrete time signals,


we will use the symbol ‘t’ to denote the continuous time
independent variable and ‘n’ to denote the discrete time
independent variable.
Graphical representation

15
Functional representation

16
Tabular representation

17
Sequence representation

18
Classification

 Number of independent variables (i.e., dimensionality):


 A signal with one independent variable is said to be one
dimensional (e.g., audio).
 A signal with more than one independent variable is said to be
multi-dimensional (e.g., image).
 Continuous or discrete independent variables:
 A signal with continuous independent variables is said to be
continuous time (CT) (e.g., voltage waveform).
 A signal with discrete independent variables is said to be discrete
time (DT) (e.g., stock market index).
 Continuous or discrete dependent variable:
 A signal with a continuous dependent variable is said to be
continuous valued (e.g., voltage waveform).
 A signal with a discrete dependent variable is said to be discrete
valued (e.g., digital image).
A continuous-valued CT signal is said to be analog (e.g., voltage waveform).
A discrete-valued DT signal is said to be digital (e.g., digital audio). 19
Signal Classification

 Continuous-time and Discrete-time


 Deterministic and Random
 Causal and anti causal signals
 Energy and Power
 Right-handed and left-handed signals
 Periodic and Non-periodic
 Finite and infinite length
 Even and Odd

20
Continuous & Discrete-Time Signals

Continuous-Time
Signals x(t)
• Most signals in the real world are
continuous time, as the scale is
infinitesimally fine.
• Eg voltage, velocity, t
• Denote by x(t), where the time
interval may be bounded (finite) or
infinite
Discrete-Time Signals
• Some real world and many digital x[n]
signals are discrete time, as they are
sampled
• E.g. pixels, daily stock price (anything
that a digital computer processes) n
• Denote by x[n], where n is an integer
value that varies discretely
Deterministic signals, random signals

 Deterministic signal

• There is no uncertainty with respect to its value at any time.

Exp. sin(3t)

 Random signal

• There is uncertainty before its actual occurrence

22
Causal and anti causal Signals

 Causal signals : zero for all negative time

 Anti-causal signals : zero for all positive time

 Non-causal : non-zero values in both positive and negative time

23
Even Signals

 A function x is said to be even if it satisfies

x(t) = x(−t) for all t.

 A sequence x is said to be even if it satisfies

x(n) = x(−n) for all n.

 Geometrically, the graph of an even signal is symmetric about the origin.

 Some examples of even signals are shown below.

24
Odd Signals

 A function x is said to be odd if it satisfies


x(t) = −x(−t) for all t.
 A sequence x is said to be odd if it satisfies
x(n) = −x(−n) for all n.
 Geometrically, the graph of an odd signal is antisymmetric about the
origin.
 An odd signal x must be such that x(0) = 0.
 Some examples of odd signals are shown below.

25
Decomposition of a Signal into Even and Odd Parts

 Every function x has a unique representation of the form

x(t) = xe(t)+xo(t),

where the functions xe and xo are even and odd, respectively.

 In particular, the functions xe and xo are given by

xe(t) = 1/2 [x(t)+x(−t)] and xo(t) = 1/2 [x(t)−x(−t)] .

 The functions xe and xo are called the even part and odd part of x,
respectively.

 For convenience, the even and odd parts of x are often denoted as Even{x}
and Odd{x}, respectively.

26
Periodic Signals

 A function x is said to be periodic with period T (or T-periodic) if, for some
strictly-positive real constant T, the following condition holds:

x(t) = x(t +T) for all t.

 A periodic function x is said to have frequency 1/T and angular frequency


2𝜋/T .

 A sequence x is said to be periodic with period N (or N-periodic) if, for


some strictly-positive integer constant N, the following condition holds:

x(n) = x(n + kN) for all n.

where integer k may be positive, negative or zero.

27
 N = 2π(m/ω0)

 To compute N, we must have to choose the smallest value of m that will


make N = 2π(m/ω0) an integer.

 A discrete time complex exponential signal will always periodic with


period 2 π.

 A discrete time complex exponential signal will periodic if and only if ω0 is


multiple of π. This requires ω0n = 2πk where k is an integer.

28
Numerical problems

29
30
Periodic Signals

 Some examples of periodic signals are shown below.

31
Periodic Signals

 The period of a periodic signal is not unique. That is, a signal that is
periodic with period T is also periodic with period kT, for every (strictly)
positive integer k.

 The smallest period with which a signal is periodic is called the


fundamental period and its corresponding frequency is called the
fundamental frequency. 32
Sum of Periodic Functions
 Sum of periodic functions. Let x1 and x2 be periodic functions with
fundamental periods T1 and T2, respectively. Then, the sum y = x1 +x2 is a
periodic function if and only if the ratio T1/T2 is a rational number (i.e.,
the quotient of two integers). Suppose that T1/T2 = q/r where q and r are
integers and coprime (i.e., have no common factors), then the
fundamental period of y is rT1 (or equivalently, qT2, since rT1 = qT2).
(Note that rT1 is simply the least common multiple of T1 and T2.)

 Although the above theorem only directly addresses the case of the sum
of two functions, the case of N functions (where N > 2) can be handled by
applying the theorem repeatedly N −1 times.

 The smallest period with which a signal is periodic is called the


fundamental period and its corresponding frequency is called the
fundamental frequency.

33
Signal Energy and Power

34
Energy and Power of Unit Step Sequence

35
Right-handed and left-handed signals

 Right-handed and left-handed signal : zero between a given variable and


positive or negative infinity.

Finite and Infinite length

 Finite-length signal : nonzero over a finite interval tmin< t< tmax.

 Finite-length signal : nonzero over all real numbers.

36
Elementary Signals or Basic Signals

1. Unit step signal


2. Unit impulse or Unit sample signal
3. Unit ramp signal
4. Sinusoidal signal
5. Exponential signal

37
Unit step signal

Shift a
1
1, t  a
u (t  a)  
0 , t  a a t 38
Unit Impulse or Unit sample signal

39
Unit ramp signal
Sinusoidal signal
DT Real Exponential signal
DT Complex Exponential signal
Basic Operations on Signals

 Shifting

 Time reversal

 Time scaling

 Scalar multiplication

 Signal multiplier

 Signal addition

44
Amplitude Scaling

 C x is a amplitude scaled version of x whose amplitude is scaled by a factor C.


Addition

 Addition of two signals is nothing but


addition of their corresponding
amplitudes. This can be best explained by
using the following example:

 As seen from the diagram,


-10 < t < -3 amplitude of z = x1 + x2 = 0 + 2 = 2
-3 < t < 3 amplitude of z = x1 + x2 = 1 + 2 = 3
3 < t < 10 amplitude of z = x1 + x2 = 0 + 2 = 2
Subtraction

 subtraction of two signals is nothing but


subtraction of their corresponding
amplitudes. This can be best explained by
the following example:

 As seen from the diagram,


-10 < t < -3 amplitude of z = x1 - x2 = 0 - 2 = -2
-3 < t < 3 amplitude of z = x1 - x2 = 1 - 2 = -1
3 < t < 10 amplitude of z = x1 + x2 = 0 - 2 = -2
Multiplication

 Multiplication of two signals is nothing but


multiplication of their corresponding
amplitudes. This can be best explained by
the following example:

 As seen from the diagram,


-10 < t < -3 amplitude of z = x1 ×x2 = 0 ×2 = 0
-3 < t < 3 amplitude of z = x1 ×x2 = 1 ×2 = 2
3 < t < 10 amplitude of z = x1 × x2 = 0 × 2 = 0
Time Shifting

 x(t ± t0) is time shifted version of the signal x .


x (t + t0) negative shift
x (t - t0) positive shift
Time Scaling

 x At is time scaled version of the signal xt . where A is always positive.


|A| > 1 = Compression of the signal
|A| < 1 = Expansion of the signal

Note: uat = ut time scaling is not applicable for unit step function.
Time Reversal

 x (-t) is the time reversal of the signal x(t) .


Transformation of Independent Variable

 Sometimes we need to change the independent variable axis for


theoretical analysis or for just practical purposes (both in CT and DT
signals).

 Time shift x[n]=x[n-no]

 – Time reversal x(t)=x(-t) (reverse playing of magnetic tape)

 – Time scaling x(t)=x(t/2) (slow playing, fast playing)

52
Time Reversal (Folding) and Shifting

53
Examples of Transformations

 Given the signal x(t)


Examples of Transformations

 For the general case, i.e., x(at+b),


 1. first apply the shift (b),
 2. and then perform time scaling (or reversal) based on a.
Examples of Transformations
Examples of Transformations
Examples of Transformations
Useful Mathematical Formulas
Summation Formulas Euler's Formulas

Exponential and Logarithmic Functions

59
Trigonometric Identities

60
Power Series Expansions

Some Definite Integrals

61
Numerical Problems
Prob.1 Determine whether or not each of the following signals is periodic. If the signal is
periodic, determine its fundamental period.
(a) x(t) = 2 cos(2t + π/5).
Solution. This signal is a CT sinusoid so it is periodic. Its fundamental angular frequency is
2rad/sec and hence its fundamental period is T = 2π/ω0 = π.

(b) x(t) = ej(πt−2).


Solution. This signal is periodic and its fundamental angular frequency is π rad/sec. Thus its
fundamental period is T = 2π/π = 2.

(c) x(t) = [cos(4t + π/3)]2.


Solution. This signal can be rewritten as x(t) = 1/2 + 1/2 cos(8t + 2π/3). We can see that this
signal is periodic since the first term is constant and the other term is a CT sinusoid. The CT
sinusoid term has fundamental angular frequency 8 rad/sec and thus x(t) is periodic with
fundamental period T = 2π/8 = π/4.
(d) x[n] = cos(πn/2) cos(πn/4).
Solution. We can rewrite x[n] as x[n] = 1/2 cos(3πn/4) + 1/2 cos(πn/4). Thus, x[n] is
the sum of two DT sinusoidal signals of fundamental periods N1 = 8 and N2 = 8.
Hence, x[n] is periodic and its fundamental period is the least common multiple of 8
and 8 which is N = 8.

(e) x[n] = 2 cos(πn/4) − sin(πn/8) + cos(πn/2 − π/6).


Solution. The fundamental periods of the individual DT sinusoidal signals are N1 = 8,
N2 = 16, and N3 = 4. Hence, x[n] is periodic and its fundamental period is the least
common multiple of 8, 16, and 4 which is N = 16.

(f) x[n] = sin(6πn/7 − 1)


Solution. This DT sinusoid is periodic with fundamental period N = 7.
Prob.2 A CT signal x is defined for all t by
x(t) = 3u(t) − 2u(t − 2) − u(t − 3),
where u is the CT unit step. CT signals x1 and x2 are defined for all t by
x1(t) = x(−t/4)
x2(t) = x(1 − t)x(2 − t)
(a) Sketch x and x1 as a function of t

Figure 1: Plot of signal x(t) Figure 2: Plot of signal x1(t)


(a) Sketch x3 as a function of t

Figure 3: The plot of (a) x(1 − t), (b) x(2 − t), and (c) x2(t)
Prob.3 Find the fundamental frequency of the following continuous signal:
x(t) = cos(10πt/3) + sin(5πt/4)

The frequencies and periods of the two terms are, respectively,


ω1 = 10π /3 , f1 = 5 /3 , T1 = 3/ 5 , ω2 = 5π /4 , f2 = 5 /8 , T2 = 8 /5,
Alternatively, the period of the fundamental T0 is the LCM of
T1 = 3/5 and T2 = 8/5:
T0 = LCM( 3 /5 , 8 /5 ) = 24/ 5
Now we get ω0 = 2πf0 = 2π/T0 = 5π/12 and the signal can be written as;
x(t) = cos(8 (5π /12) t) + sin(3 (5π/ 12) t) = cos(8ω0t) + sin(3ω0t)
i.e., the two terms are the 3th and 8th harmonic of the fundamental frequency ω0,
respectively.
Prob.4 Determine whether or not each the following signals is periodic through
using fundamental period.

Potrebbero piacerti anche