Beruflich Dokumente
Kultur Dokumente
Discussion #2
Discrete Time Signals & Systems
Tarun Choubisa
Dept. of ETC,
KIIT University
17 January 2011 1
Signal Classification
“Generic” Signal Energy and Power
• Signal energy, E, is defined as the area under x2(t). For example, signal energy
for f(t) shown below is the shaded area shown under f2(t).
• Note that these are similar to the electrical analogies (voltage), but they are in
general form.
Energy and Power over Infinite Time
• For many signals, we’re interested in examining the power and energy over
an infinite time interval (-∞, ∞). These quantities are therefore defined by:
T 2 2
E lim T x(t ) dt x(t ) dt
T
N 2 2
E lim N n N
x[n] n
x[n]
• If the sums or integrals do not converge(= not finite), the energy of such a
signal is infinite 1 T 2
P lim T x(t ) dt
2T T
1 N 2
P lim N n N
x[n]
2N 1
• Two important (sub)classes of signals
1. Finite total energy (and therefore zero average power): Energy signal
2. Finite average power (and therefore infinite total energy): Power signal
Energy and power signal
• A signal is said to be energy signal if it has finite energy and zero power.
• For example, sine wave in infinite length is power signal. Since the energy of a power signal
is infinite, it has no meaning to us. Thus, we use power (energy per given time) for power
signal, because the power of power signal is finite, 0 < P < ∞.
• Other examples: unit step, complex exponential in both continuous and discrete time(O &
W 1.3 b, e),sinusoidal signal (O & W 1.3 c)
x[n] = A cos( n + )
Calculation of Periodicity
Discrete Time: 2
N m
0
where N is the integer.
• Sum of two or more periodic signals is also a periodic signal.
If xa[n] and xb[n] are two periodic signals with fundamental
period Na and Nb respectively, then signal y[n]=xa[n]+xb[n]
is a periodic signal with fundamental period N given by
• N= Na*Nb/(GCD(Na,Nb))
• where GCD greatest common divisor of Na & Nb
• N1 /N2 = 5/7
• N=7 N1 =5 N2
Odd and Even Function
FUNCTIONS
Symmetric about the origin
Odd and Even Signals: Continuous time
• An even signal is identical to its time reversed signal, i.e.
it can be reflected in the origin and is equal to the
original: x( t ) x(t )
• Examples:
• x(t) = cos(t)
• x(t) = c
• An odd signal is identical to its negated, time reversed
signal, i.e. it is equal to the negative reflected signal
x( t ) x(t )
• Examples:
• x(t) = sin(t)
• x(t) = t
• Odd signal is always zero at t=0 and n=0
• This is important because any signal can be expressed as
the sum of an odd signal and an even signal.
Sine and Cosine are always periodic in CT but in Discrete Time they may be aperiodic. Sin(2n)
Even and Odd Signals
• Any signal can be expressed in terms of odd and even signal
Odd(anti-symmetric) Signal
Signal which satisfies x(n)=-x(-n) for all values for
n is called as odd signal
Even and Odd Decomposition: Average Value
System Classification
Memory less/memory systems( Static/dynamic system)
• A system for which the output depends only on a present input and
thus, not requires memory, is called as memory less (static ) system.
• e.g. y(n)= a*x(n) , y(n)=x2(n)
• e.g. Amplifier, a resistor is a memoryless CT system where x(t) is
current and y(t) is the voltage
• Example: Circuits composed only of resistors are static systems.
Find y(t). +
R1
+
x(t) _ R2 y(t)
_
• A system for which the output depends on past and/or future
values of the input, hence it needs memory, delay elements, is
called as memory(dynamic) system
• e.g. y(n)=x(n)+x(n+2) , y(n)=x(n-2)
• e.g. Delaying and advancing the signal.
• Differential equations require initial conditions.
Example: Circuits with inductors and capacitors are dynamic systems. Find y(t).
+ Note: We will generally be concerned with
R
+ y(t) dynamic systems. Static systems can be viewed
x(t) _ C
as a special case of dynamic systems.
17 January 2011 14
_
Classification: Time Variant/Invariant
• A system is said to be time-invariant if its input-output
relationship does not change with time.
• Informally, a system is time-invariant (TI) if its behavior does not
depend on what time it is.
• In other words if a time shift or delay at the input
produces identical time shift at the output , then system is said to
be time invariant system.
i.e. H{x(n-a)}=y(n-a), tube-light, fan
• A system is said to be time-variant if its input-output
relationship changes with time.
• In the case of discrete-time digital systems, we often use the term
shift-invariant instead of time-invariant
• Result for time invariant system: T*e(t)+=r(t), then T*e’(t)+=r’(t)
• e(t)=excitation, r(t)=response, e’(t)=derivative of excitation.
17 January 2011 15
Time/Shift Invariant Systems
a a
Time Variant/Invariant: Testing
• Y(n-a): simply put (n-a) at place of n in the relationship of x(n) and y(n).
x(n-a)
• Fact: If the input to a TI System is periodic, then the output is periodic
with the same period.
17 January 2011 17
DSP: Proakis(Chapter 2)
17 January 2011 18
LINEAR AND NONLINEAR SYSTEMS
17 January 2011 19
Sedra/Smith
Example: For the circuit below, if the input voltage doubles, the output voltage
doubles. Or if the input is multiplied by k, the output is multiplied by k. So the circuit
satisfies the homogeneity property.
i i2
3 2 +
+
Input = x(t) = 10 V _ 6 5 V = y(t) = output
out
_
vout i2 i v
22
LINEAR AND NONLINEAR SYSTEMS
Additivity
A system satisfies the additivity property if the output y(t) can be determined by the
algebraic sum of the outputs due to each input acting separately (with all other inputs
set to zero).
3 2 +
x1 _+ 6 y1
5
_
3 2 +
x1+x2 _+ 6 y1+y2
5
3 2 + _
x2 _+ 6 y2
5
_
23
Classification: Linear /non-linear
• Superposition( additivity + amplitude scaling/homogeneity) property of a system with any two inputs x1(n) and
x2(n) is defined as
• H{a x1(n) +b x2 (n) }= a H{x1(n)} +b H{x2(n) }
= a y1(n) +b y2(n) Testing both the properties simultaneously.
Here a and b are any complex constants(can be real also).
17 January 2011 24
Linear /non-linear: Testing
• Interference: Principle of Superposition
• In-phase Out-phase
• A complicated system may be compose of
linear and non-linear components, but to
check about linearity, just we have to check
input-output relationship.
• Example: Fan
• If Rotations = k*voltage Linear
• Otherwise Nonlinear.
17 January 2011 25
Linear /non-linear Systems: Problems
1) y(n)=nx(n)
y1(n)=nx1(n)
y2(n)= nx2(n)
H[ax1(n)+bx2(n)] = anx1(n)+bnx2(n)] =n[ax1(n)+bx2(n)]
…..A
ay1(n)+by2(n)= nax1(n)+ nbx2(n) = n[ax1(n)+bx2(n)]
…..B
17 January 2011 26
Linear /non-linear Systems: Problems
2) y(n)=x2(n)
y1(n)=x12(n)
y2(n)=x22(n)
ay1(n)+by2(n)=ax12(n)+bx22(n)….A
H[ax1(n)+bx2(n)]= [ax1(n)+bx2(n)]2
= a2x12(n)+b2x22 (n)+2abx1(n)x2(n)
………B
A != B
Non-linear system
17 January 2011 27
Linear /non-linear Systems: Problems
Example : A system is described by y(t) Kx(t) or use v(t) Ri(t) .
Is the system linear?
linear
t t
1
Example : A system is described by y(t) K x(t)dt or use v(t) i(t)dt .
0
C0
Is the system linear?
linear
t
1
Example : A system is described by v(t) i(t)dt v(0).
C0
Is the system linear?
Non-linear
28
Linear /non-linear Systems: Problems
Example : A system is described by the relationship y(t) = Re{x(t)}.
(Hint: Test for homogeneity (try k = j) and additivity.)
Non-linear
Example : Show that a system described by the following equation is linear: (Hint:
Test for superposition.)
dy
t 2 y(t) (2t 3)x(t)
dt
linear
29
Linear /non-linear Systems: Problems
yt
N 1
yt a0 x t a1 x t T a N 1 x t ( N 1)T ak x t kT
k 0
Linear?
3 - 31
Linear /non-linear Systems: Problems
• Integration
Indefinite integration is not unique g ' (t )dx g (t ) K
t0
Definite integration is unique t1
g ' (t )dt g (t0 ) g (t1 )
t
x(t) y(t)
• Integrator
t
dt yt x u du
t t
Homogeneity test a x u du a x u du
t t t
Additivity test x1 u x2 u du x1 u du x2 u du
t t0 t
x(t) t y(t)
dt yt x u du x u du x u du
t0
• Integrator observed for t t0
t0 Due to initial
x(t) t y(t)
dt C0 C0 x u du conditions
t0
17 January 2011 35
Classification: Causal/non-causal/anti-causal
• A system for which the output at any instant depends only on the past or/and present values
of the input( not on future samples) is called as causal system. Referred to as non-
anticipative, as the system output does not anticipate future values of the input
• E.g. y(n)= n*x(n) , y(n)=x(n) +x(n-1)
• All real-time physical systems are causal, because time only moves forward.
• Causality does not apply to systems processing recorded signals, e.g. taped sports games vs.
live broadcast.
• Fact:
– A causal system may be memory or memory-less system.
– Any memoryless system is causal.
– The composition of causal systems is causal
• A system for which the output at any instant depends also on future values (in addition to
possible dependence on past or current input values)of the input , is called as non-causal
(acausal) system. A non-causal system is also called a non-realizable system.
• E.g. y(n)=x(n2 ) , y(n)=x(-n) , y(n) = x(n/3), y(n)=x(n)+x(n+1)
17 January 2011 36
Classification: Causal/non-causal/anti-causal
• A system that depends solely on future input values is an anticausal system.
• Eg: y(n) = x(n+1), prediction of current value from only future values in the
corrupted CD.
• Fact: All anti-causal /non causal systems are memory systems but opposite is not
true.
• To check always take negative, 0, positive values and specially -1 < value < 1
• Observations: Negative index, index scaling, and power of index represent non-
causality.
17 January 2011 37
Classification: Stable/unstable
• The system is said to be stable if any bounded(amplitude)
input signal results in bounded output signal
– bounded signals u(n) , e-an where a>0 Stable system
y[n] = (x[n])2
Suppose x[n] is limited to the
range -10 < x[n] < 10?