0% found this document useful (0 votes)
17 views67 pages

Chapter 2

Uploaded by

Abadisa Legese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views67 pages

Chapter 2

Uploaded by

Abadisa Legese
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 67

CHAPTER 2

Time Domain Representation


of Linear Time Invariant (LTI).

Department of Electrical and Computer Engineering

By: Abdisa L

1
November, 2024
2.0 Time Domain Representation of
Linear Time Invariant (LTI)
System.
2.1 Introduction.
2.2 LTI System Properties.
2.3 Convolution Sum.
2.4 Convolution Integral.
2.5 Interconnection of LTI System.
2.6 LTI System Properties and Impulse Response.
2.7 The Step Response.
2.8 Solving Differential & Difference Equation.
2.9 Characteristic of System Natural & Force
Response.
2.10 State Variable Representation of LTI System. 2
2.1 Introduction.
Learning Outcome:
Examine several methods for describing the relationship between the
input and the output signals of LTI system.
(1) Impulse Response.
(2) Linear Constant-Coefficient Differential.
(3) Block Diagram.
(4) State Variable Description.

3
2.2 LTI System Properties.
 If we know the response of the LTI system to some inputs, we
actually know the response to many input.
(1) Commutative Property.

yt   xt * ht   ht * xt 

4
Cont’d…
(2) Distributive Property.

yt   xt * h1 t   h2 t 


yt   xt * h1 t   xt * h2 t 

5
Cont’d…
(3) Associative Property.

yt   xt * h1 t * h2 t 


yt   xt * h1 t * h2 t 

6
2.3 Convolution Sum.
 x[n] is a signal as a weighted sum of basis function; time-shift
version of the unit impulse signal. x[k] represents a specific value
of the signal x[n] at time k.

xn   xk  n  k 
k  

 The output of the LTI system y[n] is given by a weighted sum of


time-shifted impulse response. h[n] is the impulse response of LTI
system H. 
yn   xk hn  k 
k  

 The convolution of two discrete-time signals y[n ] and h[n] is


denoted as 
xn* hn   xk hn  k 
k   7
Cont’d…

Figure 2.1: Graphical example illustrating the representation of a signal x[n] as


a weighted sum of time-shifted impulses. 8
Cont’d…

yn  xn* hn   xk hn  k 
k  

Steps for Convolution Computation.


Step 1: Plot x and h versus k since the convolution sum is on k.

Step 2: Flip h[k] around the vertical axis to obtain h [- k].

Step 3: Shift h [-k] by n to obtain h [n- k].

Step 4: Multiply to obtain x[k] h[n- k].


 xk hn  k 
Step 5: Sum on k to compute m

Step 6: Index n and repeat Step 3-6.


9
Example 2.1: Convolution Sum.
For the figure below, compute the convolution, y[n].

Figure 2.2a: Illustration of the convolution sum. (a) LTI system with impulse
response h[n] and input x[n], producing y[n] and yet to be determined.

10
Solution:

 .
Figure 2.2b: The decomposition of the input x[n] into a weighted sum of time-
shifted impulses results in an output y[n] given by a weighted sum of time-
11
shifted impulse responses.
Example 2.2: Convolution.
The LTI h[n] having an impulse response of
 2, n  0
 3, n  1  1, n  1
 
xn    hn    2, n  0
  2, n  2 0, Otherwise
0, Otherwise and the input 
Solution:

Details: Explained in class.


. 12
Example 2.3: Convolution.
The LTI h[n] having an impulse response of
n
3 xn   un  un  6
hn     un
4
and the input

Find the convolution of, y[n]=x[n]*h[n].


Solution:

. 13
In Class Exercise.

xn   un  un  6

14
2.3.1 Convolution Sum Evaluation
Procedure.
 An alternative approach to evaluating the convolution sum.
 Recall, the Convolution Sum is expressed as;

yn   xk hn  k 
k  
define an intermediate signal as;
wn k   xk hn  k 
so,

yn   w k  n
k  
 Time shift n determines the time at which we evaluated the output
of the system.
 The above formula is the simplified version of Convolution Sum,
where we need to determine one signal wn[k] each time. 15
Example 2.4: Convolution Sum Evaluating by using an
Intermediate Signal. n
3
Consider a system with impulse response hn    un
4
Use the equation below to determine the output of the system at times
n=-5, n =5, and n =10 when the input is x[n]=u[n].
Solution:
In Figure 2.3 below x[k] is superimposed on the reflected and time-
shifted impulse response h[n-k].
 3  n  k
 ,k  n
hn  k    4 
 0 , otherwise

For n=-5, we have w-5[k]=0. This result in y[-5]=0.


For n=5, we have  3 
5 k
 ,0  k  5
w5 k    4 
 , otherwise
 0
The result is in Figure 2.3(c).
16
Cont’d…
k
5 5 4
3  
y5      3 
 4  k 0
6
4
5 1  
3  3   3.288
 
 4  1  4 
 
3
For n=10, we have
 3 10  k
 ,0  k  10
w10 k    4 
 0 , otherwise

The result is in Figure 2.3(d).


k
10 10 4
3  
y10      3 
 4  k 0
11
4
10 1   
3  3
   3.831
 4  1  4 
 
3

Note: for n<0, wk[n]=0, because no overlap occur.


17
Cont’d…

Figure 2.3: (a) The input signal x[k] above the reflected and time-shifted
impulse response h[n – k], depicted as a function of k.
(b) The product signal w5[k] used to evaluate y [–5].
(c) The product signal w5[k] used to evaluate y[5]. (d) The product signal
w10[k] used to evaluate y[10]. 18
2.4 Convolution Integral.
 Derivation of Convolution
Integral.

(a) The operator H denotes the


system in which the x(t) is
applied.

(b) Use the linearity property.

(c) Define impulse response as


unit impulse input.

19
Cont’d…
 The time invariance implies that a time-shifted impulse input
result in a time shift impulse response output as in Figure 2.4
below. 
y t    x ht   d


xt * ht    x ht   d .


where h t   H  t 

Figure 2.4: (a) Impulse response of an LTI system H. (b) The output of an LTI
system to a time-shifted and amplitude-scaled impulse is a time-shifted and
amplitude-scaled impulse response.
20
Cont’d…
To compute the superposition integral

yn  xn* hn   x ht   


Step for Convolution Integral Computation.


Step 1: Plot x and h versus  since the convolution sum is on .

Step 2: Flip h( around the vertical axis to obtain h(-.

Step 3: Shift h() by n to obtain h(t-).

Step 4: Multiply to obtain x() h(t-).


Step 5: Integrate on  to compute  x ht   




Step 6: Increase  and repeat Step 3-6.


21
Example 2.5: Convolution Integral.
Given a RC circuit below (RC=1s). Use convolution to determine the
voltage across the capacitor y(t). Input voltage x(t)=u(t)-u(t-2).

Solution: a
y(t)=x(t)*h(t)
- capacitor start charging
at t=0 and discharging t
at t=2.
b

22
Cont’d…

23
Cont’d…

24
.
2.5 Interconnection of LTI System.
 The objective of this section is to develop the relationship
between the impulse response of an interconnection of LTI
systems and impulse response of the constituent systems.
2.5.1 Parallel Connection of LTI System.
2.5.2 Cascade Connection of LTI System.

25
2.5.1 Parallel Connection of LTI
Systems.
 Two LTI systems with impulse response h1(t) and h2(t)
connected in parallel, as in Figure 2.5 below.

Figure 2.5: Interconnection of two LTI systems.


(a) Parallel connection of two systems. (b) Equivalent system.
 Derivation;

y t   y1 t   y2 t 
 xt * h1 t   xt * h2 t 
26
Cont’d…  
y t    x h t   d   x h t   d
1 2
 

y t    x h t     h t   
1 2


  x ht   


 xt * ht 
 Where h(t) = h1(t)+h2(t).
 The impulse response of the overall system represented by the
two LTI systems connected in parallel is the sum of their
individual impulse response.
 Distributive property of convolution (CT and DT),

xt * h1 t   xt * h2 t   xt * h1 t   h2 t 

xt * h1 t   xt * h2 t   xt * h1 t   h2 t 


27
2.5.2 Cascade Connection of
Systems.
 The impulse response an equivalent system representing two LTI
systems connected in cascade is the convolution of their
individual impulse responses.

Figure 2.6: Interconnection of two LTI systems. (a) Cascade connection of two
systems. (b) Equivalent system. (c) Equivalent system: Interchange system order.

28
Cont’d…

 Derivation;

29
Cont’d…

30
Cont’d…

31
Cont’d…
Continuous Time
 Associative properties
xt * h1 t * h2  xt * h1 t * h2 t 

 Commutative properties. It is often used to simplify the


evaluation or interpretation of the convolution integral.
h1 t * h2 t   h2 t * h1 t 
Discrete Time
 Associative properties
xt * h1t * h2  xt * h1t * h2 t 

 Commutative properties.
h1 t * h2 t   h2 t * h1 t 
32
Example 2.6: Equivalent System to Four
Interconnected System.
The interconnected of four LTI system is shown in figure below.
Given the impulse response of the system,
h1[n]=u[n]
h2[n]=u[n+2]- u[n]
h3[n]=[n-2] and h4[n]=anu[n]
h1[n]=u[n]
Find the impulse response of the overall system.
Solution:
h[n]=(h1[n]+h2[n])*h3[n]-h4 [n],
Substitute the specific form of h1[n] and h2[n] to obtain.
h12[n]=u[n]+u[n+2]-u[n]
=u[n+2]
33
Cont’d…
Convolving h12[n] with h3[n].
h123 [n]= u[n]+u[n+2]*[n]
= u[n]
Finally, we sum h123[n] and -h4[n] to obtain the overall impulse
response:
h[n]= {1-an}u[n].

Figure 2.7 : Interconnection of systems.


. 34
2.6 Relations between LTI System
Properties and Impulse Response.
 The impulse response characterized the input output behavior of an
LTI system. Below are the properties of the system that relates to
the impulse response.
2.6.1 Memoryless LTI Systems.
2.6.2 Causal LTI Systems.
2.6.3 Stable LTI Systems.
2.6.2 Invertible LTI Systems.

35
2.6.1 Memoryless LTI Systems.
 The output of a memoryless system depends only on the
present input.

Continuous Time;

Discrete Time;

36
2.6.2 Causal LTI Systems.
 The output of a causal system depends only on the past input.

Continuous Time;

Discrete Time;

37
2.6.3 Stable LTI Systems.
 Bounded Input Bounded Output (BIBO) stable system.

 Discrete Time: absolute summability of the impulse


response.

 Continuous Time;

38
2.6.4 Invertible System and
Deconvolution.
 Deconvolution is the process of recovering x(t) from h(t)*x(t).

 An exact inverse system may be difficult to find or implement.


Determination of an approximate solution is often sufficient.

Figure 2.8: Cascade of LTI system with impulse response h(t) and inverse system
with impulse response h-1(t).
39
2.7 Step Response.
 Step response is defined as output due to a unit step input signal.
n
sn   hk 
k  
 Step response s[t] of the discrete time is the running sum of the
impulse response.
t
st    h d


 Step response s(t) of the continuous time system is the running


integral of the impulse response.
 Step response can be inverted to express in term of impulse
response.
hn  sn  sn  1

ht   s t 
d
dt 40
Example 2.7: RC Circuit of Step Response.
The impulse response of the RC circuit is,
t
1  RC
ht   e u t 
RC
Find the step response of the circuit.
Solution:
The step represented a switch that turns on a constant voltage source
at time t=0. We expect the capacitor voltage to increase toward the
value of the source in an exponential manner.

t 

st    u  d
1 RC
e

RC

41
Cont’d…
We simplify the integral to get

 0, t  0

s t    1
t 

 e RC u  d ,
 RC
 

 0, t  0
 

1  e RC , t  0

Figure 2.9: RC circuit step response for RC = 1 s.

.
42
2.8 Solving Differential and
Difference Equation.
 The output of Differential and Difference Equation can be
described as the sum of two components;
(1) Homogeneous Solution y(h).
(2) Particular Solution y(p).
 The complete solution is y = y(h) + y(p)
**Note: ( ) and [ ] are omit when referring to continuous and discrete time.

43
2.8.1 Homogeneous Solution.
 Homogeneous form of difference and differential equation is
obtained by setting all the terms involving the input to zero.
Continuous-time System
 Solution of homogeneous equation
N
d k (h)
 ak k y t   0
k 0 dt
N
y h 
t    ci e r t
i Equation (1)
i 1

 Where the r1 are the N roots of the system’s characteristic equation


N

 k 0
a r
k 0
k

 Substitution of equation (1) into the homogeneous equation results


44
in y(h)(t) is a solution for any set of constant ci
Cont’d…
Discrete-time System
Solution of homogeneous equation
N
d k (h)
 ak k y n  k   0
k 0 dt
N
y h 
n   ci ri n Equation (2)
i 1

Where the r1 are the N roots of the system’s characteristic equation


N

 k 0
a r
k 0
N k

Substitution of equation (2) into the homogeneous equation results in


y(h)[t] is a solution for any set of constant ci. Note the CT and DT
characteristic equations are different. 45
2.9 Characteristic of System
Natural and Force Response.
 The output of a system described by a differential or difference
equation is the sum of two components;
(1) Natural Response y(n): the one associated with the initial
condition.
(2) Forced Response y(f): the one associated with only input
signal.
 The complete output is y = y(n)+y(f)

46
2.9.1 Natural Response.
 The natural response is the system output for zero input by which
the system dissipates any unstored energy or memory of the past
represented by non-zero initial condition.
 The system output is obtained from the homogeneous solution.

47
Example 2.8: Natural Response.
The system is describe by the differential equation, yt   RC d yt   xt 
dt

Find the natural response of the system, given y(0)=2V, r=1W, and
C=1F.
Solution:
The homogeneous equation is
y h 
t   c1e t
V
y n  0   2
y n  0   c1e ( 0 )  2
c1  2

The natural response is


y n  t   2etVolts for t 0
. 48
2.9.2 Force Response.
 The force response is the system output due to the input signal
assuming zero initial conditions.
 Zero initial condition indicates that the system is “at rest”, there is
no stored energy or memory in the system.
 The force response describes the system behavior that is “forced”
by the input when the system is at rest.

49
Example 2.9: Forced Response.
The system is describe by the first order recursive system,
yn  yn  1  xn
1
4
Find the force response of the system if the input x[n]=(1/2)nu[n].
Solution:
The difference between the previous example is the initial condition.
Recall the complete solution is of the form
n n
1 1
yn  2   c1   , n  0
2 4

To obtain c1, we translate the at-rest condition y[-1]=0 to time n=0 by


noting that
y0  x0  y 1
1
4
y[0]=1+(1/4)x0, now we know y[0]=1 and use to solve for c1.
1=2(1/2) 0 + c1(1/4)0 ; c1= -1
The force response is, n n
1 1
. y n  2     , n  0
(f)
50
2 4
Example 2.10: Complete Response.

. 51
2.10 State Variable Description of
LTI System.
 The state-variable description for a LTI system consists of a series
of coupled first-order differential or difference equations that
describe how the state of the system evolves and an equation
that relates the output of the system to the current state variables
and input. 􀂄
 The state of a system may be defined as a minimal set of signals
that represent the system’s entire memory of past.
 The state-variable description is the only analytic system
representation capable of specifying the internal structure of the
system. 􀂄
 Thus state-variable description is used in any problem in which the
internal system structure needs to be considered.
52
Cont’d…
Block Diagram Representation.
 Block diagram is an interconnection of elementary operations that
act on the input signal.
 A more detailed representation of the system than the impulse
response or differential (difference) equation description since it
describes how the system’s internal computations or operations are
ordered.
 Block diagram representations consists of an interconnection of
three elementary operations on signals;
(1) Scalar Multiplication.
(2) Addition.
(3) Integration for continuous-time LTI system.

53
Cont’d…
Block Diagram Representation.

Figure 2.10: Symbols for elementary operations in block diagram descriptions of


systems. (a) Scalar multiplication. (b) Addition. (c) Integration for continuous-
time systems and time shifting for discrete-time systems.

54
Cont’d…
Discrete-Time System: Second Order Difference Equation.

Figure 2.11: Block Diagram Representation of Discrete Time LTI system


55
Described by second order Differential Equation.
Cont’d…
Discrete-Time System: Second Order Difference Equation.

Figure 2.12: Direct form II representation of an LTI system described by a 56


second-order difference equation.
Cont’d…
Continuous-Time System.

57
2.10.1 State Variable Description.
State Variable Representation: General Procedure.
 Define the system equation.
 Identity the system inputs, outputs and states.
 Rewrite the new system equation in standard state variable vector-
matrix notation. 􀂄

xt   Ax t   Bu t 
y t   Cxt   Du t 
A = system matrix,
B = input matrix,
C = output matrix
D = direct feed through matrix.
58
Cont’d…
 The next value of the state is obtained from the current state and
the input via the two equations.
q1[n+1]=-a1q1[n]-a2q2 [n]+x[n]
 The system output is expressed as,
y[n]=x[n]-a1q1[n]-a2q2[n]

Figure 2.13: Direct form II representation of a second-order discrete-time LTI system


depicting state variables q1[n] and q2[n]. 59
Cont’d…

q1 n  1   a1q1 n  a2 q2 n  xn


q2 n  1  q1 n

yn  xn  a1q1 n  a2 q2 nyn  b1q1 n  b2 q1 n


yn  (b1  a1 )q1 n  (b1  a1 )q2 n  xn

60
Cont’d…
 In matrix form,

 q1 n  1   a1  a2   q1 n 1
q n  2   1       xn,
 2   0  q2 n 0

 q1 n
yn  b1  a1 b2  a2    1xn.
q2 n

 q n  1 
qn   1 
 2
q n  2 
qn  1  Aq n  Bxn
yn  Cqn  Dxn
 a1  a2  1 
A  , b   , c  b1  a1 b2  a2 , D  1
 1 0  0 
61
Example 2.11: State Variable Description of a Second
Order System.
Find the state variable description corresponding to the system in figure
below, by choosing the state variables to be the outputs of the unit
delay.
Solution:
q1[n+1]= aq1[n] + 1x [n]
q2[n+1]= gq1[n] + bq2 [n] + 2x [n]
The output is given by
y[n]= h1q1[n] + h2q2 [n]
The equation can be expressed in state variable forms,
 q n
qn   1 
q2 n
a 0   
A  , b   1,
. g b   2  62
c  1  2 , and D  0
Example 2.12: State Variable Description of an
Electrical Circuit.
Given an electrical circuit in Figure below. Derive the state-variable
description of this system if the input is x(t) and the output is the
current y(t) through the resistor.

Solution:

63
Cont’d…
KVL

The state variable

.
64
Example 2.13: State Variable Description from Block
Diagram.
Determine the state variable description of the block diagram below.
Solution:

65
.
2.10.2 Transformation of the State.
 There is no unique state-variable description for a system with a
given input-output characteristics. 􀂄
 Different state-variable descriptions may be obtained by
transforming the state variables.

66
Example 2.14: Transforming the State.
A discrete variable description A’, b’, c’ and D’ corresponding to the
new states
q’1[n]=-1/2q1[n]+1/2q2[n], q’2[n]=1/2q1 [n]+1/2q2[n].
Solution:

.
67

You might also like