You are on page 1of 8

19

EEE 303: Signals and Linear Systems


Convolve ( ) x t with ( ) h t as shown below where T = 3 sec.

( ) ( ) ( ) ( ) ( )
n
y t h t x t h t t nT o

=
= - = -

( ) ( ) ( )
n n
h t t nT h t nT o

= =
= - =

.
The resulting output is shown in Figure (b) above.

Periodic Convolution
If
1
( ) x t and
2
( ) x t are both periodic signals with common period
0
T , the convolution of
1
( ) x t and
2
( ) x t does
not converge. In this case we define periodic convolution of
1
( ) x t and
2
( ) x t as,

0
1 2 1 2
0
( ) ( ) ( ) ( ) ( )
T
y t x t x t x x t d X X X = =

.

Frequency Response Function of a Linear System
Let, ( )
j t
x t e
[
= . The convolution integral gives the output as,
( )
( ) ( )
j t
y t h e d
[ X
X X

.
Or, ( ) ( ) ( )
j t j j
y t e h e d H j e
[ [X [
X X [

= =

,
Where we define,
( )
( ) ( ) ( )
j j H j
H j h e d H j e
[X [
[ X X [

= =

.
The output ( ) y t is then expressed as,
( ( ))
( ) ( )
j t H j
y t H j e
[ [
[
.
= .
The output is a complex exponential of the same frequency as input multiplied by the complex constant
( ) H j[ . This ( ) H j[ is called the frequency response of the system.
Similar things will happen for sin t [ and cos t [ input. The functions , sin and cos
j t
e t t
[
[ [ are called Eigen
function, as we get the same function in the output as in the input.
20

Example
The impulse response of a system is given as,
/
1
( ) ( )
t RC
h t e u t
RC

= . Find the expression for the frequency


response. What will be the output of the system with, ( ) cos 2000 cos 20000 x t t t T T = ?
------------------------------------------------------------------------------------------------------------
/ ( 1/ )
0
1 1 1/
( ) ( ).
1/
RC j j RC
RC
H j e u e d e d
RC RC j RC
X [X [ X
[ X X X
[

= = =



Or,
)
1
tan ( )
2
2
1/
( )
1/
j RC
RC
H j e
RC
[
[
[

.
45 84.29
1 2
( ) 0.707 ; ( ) 0.995 .
j j
H j e H j e [ [

= =
$ $

Thus, ( ) 0.707cos(2000 45 ) 0.995cos(2000 84.29 ) y t t t T T =
$ $
. Ans
Block Diagram Representation
The impulse response and the differential equation descriptions represent only the input=output behavior of
a system. On the other hand block diagram representation describes a different set of internal computations
used to determine the system output.
A block diagram is an interconnection of elementary operations that act on the input signal. It is a more
detailed representation of the system as it describes how the systems internal computations are ordered.
Block diagram representations consist of an interconnection of three elementary operations on signals:
1. Scalar multiplication: ( ) ( ) y t cx t = ,
2. Addition: ( ) ( ) ( ) y t x t w t = , and
3. Integration: ( ) ( )
t
y t x d X X

.

An Nth order system is represented by the equation,
0 0
( ) ( )
k k N M
k k k k
k k
d y t d x t
a b
dt dt
= =
=

. In order to depict the
system in terms of integration operation, let us assume M N = , 1
N
a = and multiply both side of the above
equation by
N
D

. After rearrangement,
1 2 ( 1)
1 1 2 2 1 1 0 0
( ) ( ) ( ) ( ) ( ) ( )
N N
N N N N N
y t b x t D b x a y D b x a y D b x a y D b x a y


=

(1)

Using the above equation we can draw the simulation diagram as,








This form of realization is called canonical realization. Differentiators are not used to simulate a system, as a
differentiator enhances noise. On the other hand integrators smooth or suppress noise present in an input.

c x(t) y(t)
w(t)
y(t)
x(t)
t

x(t) y(t)
21

Equation (1) in the previous page can be written in another form for N = 2 as,
1 2 1 2
2 1 0 1 0
( ) ( ) ( ) ( ) ( ) ( ) y t b x t b D x t b D x t a D y t a D y t

=
(2)
Direct form-I and direct form-II implementation of the system is shown in figures (a) and (b) below.
Examples
Construct the block diagram representation of the system below.


Or,
2
1 1 1
( ) ( ) D D v t Di t
RC LC C

=

|
; here,
1 0 2 1 0
1 1 1
, ; 0, , 0 a a b b b
RC LC C
= = = = = .
The canonical block diagram representation of the system is shown below:


The system can be simulated using multiplier, summer and
integrator using OP-AMP.




State-variable Representation
The state-variable description of an LTI system consists of a series of coupled first-order differential
equations that describes how the state of the system evolves and an equation that relates the output of the
system to the current state variables and the input. These equations are written in matrix form. State-
variable analysis transforms an Nth order differential equation into N first-order differential equations of a
set of state variables.

The state of a system is defined as a minimal set of signals that represents the systems entire memory of
the past. Given only the value of the state at a point in time
0
t , and the input for the times
0
t t u we can
22

determine the output for all times (or,
0
t t u ). The state of
a system is not unique and there are many possible state-
variable descriptions corresponding to a system with a
given input-output characteristic.
Consider the electrical circuit shown in figure right. Derive
the state-variable description for this system if the input is
( ) x t and the output is the current through the resistor ( ) y t . Choose the state variables as the voltage across
each capacitor.

1 1
1
1 1
( ) ( ) ( )
1 1
, ( ) ( ) ( )
x t R y t q t
or y t q t x t
R R
=
=

This equation expresses the output as a function of the state variables and the input.
Let,
2
( ) i t be the current through
2
R . We get,
2 1 2
2 2
1 1
( ) ( ) ( ) i t q t q t
R R
= . Also,
2 2 2
( ) ( ) i t C q t = .
Thus,
2 1 2
2 2 2 2
1 1
( ) ( ) ( ) q t q t q t
C R C R
=
Again, current through
1
C is,
1 1 1 2 1 2
2 2
1 1
( ) ( ) ( ) ( ) ( ) ( ) ( ) i t C q t y t i t y t q t q t
R R
= = =
Thus,
1 2 1 2 1 1 2
1 1 2 1 2 1 1 1 1 1 2 1 2
1 2
1 1 1 2 1 2 1 1
1 1 1 1 1 1 1
( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( )
1 1 1 1
( ) ( ) ( )
q t y t i t y t q t q t q t x t q t q t
C C R C R C R C R C R C R
q t q t x t
C R C R C R C R
= = =

=


1 1
1 1
1 1 1 2 1 2
2
2 2 2 2 2
( ) q (t) 1
1 1 1
( )
1 1
( )
0 q (t)
q t
C R
C R C R C R
x t
q t
C R C R




=


| | | |

; State-equation


1
1
2
( ) 1
( ) ( )
0 ( )
1
1
q t
R y t x t
q t
R


=


| | |
; Output equation

Or,
q(t) = Aq(t) + Bx(t)
y(t) = Cq(t) + Dx(t)

, where the matrices A, B, C and D describe the internal structure of the system.
Here, A is called the system matrix, B is called the input matrix, C is called the output matrix and D is called
the transmission matrix.
Find the state-variable description of the circuit depicted in figure below.

(Ans)

23

In block diagram representation, the state variable corresponds to the outputs of the integrators. Consider
the following example:


The block diagram above indicates that,

For an Nth order system with m-input and p-output, the dimensions of A, B, C and D are as follows:
( ), ( ), ( ) and ( ) A N N B N m C p N D p m p v p v p v p v .
State-space representation of a differential equation
The general form of an Nth-order differential equation is,

Let us define N state variables
1 1
( ), ( ), , ( )
N
q t q t q t as,
1
2
1
( ) ( )
( ) ( )
( ) ( )
N
N
q t y t
q t y t
q t y t

=
=
=

Then,
1 2
2 3
1 1 2 1
( ) ( )
( ) ( )
( ) ( ) ( ) ( ) ( ) ( )
N
N N N N
q t q t
q t q t
q t y t a q t a q t a q t x t

=
=
= =



And,
1
( ) ( ) y t q t = .
In matrix form the above two equations can be expressed as,

24

Where,

Solution of state equations
Let us determine the solution of the state equation, ;
0
q(t) = Aq(t) +Bx(t) x(0) = x .
Rewriting the equation, = q(t) Aq(t) Bx(t)
Multiplying both sides by
t
e
A
we get, [ ] [ ]
t t t
d
e e e
dt

= =
A A A
q(t) Aq(t) q(t) Bx(t)
Integrating both sides between the limits 0 and t , we get

0 0
t t
t
e e d
X
X X

=

A A
q(t) Bx( )
Or,
0
0
t
t
e e d
X
X X

=

A A
q(t) q( ) Bx( ) or,
( )
0
0 0
t
t t t t
e e d e e t
X
X X

= = -

A A A A
q(t) q( ) Bx( ) q( ) Bx( )
If the initial state is known at
0
t t = , the above equation becomes,
0
0
( ) ( )
0
t
t t t
t
e t e d
X
X X

=

A A
q(t) q( ) Bx( ) .
The matrix function
t
e
A
is known as the state transition matrix of the system.
The output equation is given by,

0
( )
0
t
t t
t
e e d
X
X X

A A
y(t) C q( ) C Bx( ) Dx(t) .
The zero-state response of the system is(when 0 = q(0) ),

t t
e t e t = - = - -
A A
y(t) C B x( ) Dx(t) C B x( ) D(t) x(t)
Or, [ ]
t
e = - = -
A
y(t) C B D(t) x(t) h(t) x(t)
The matrix h(t) is known as impulse response matrix.
Evaluation of
t
e
A

Let, A be an ( ) N N v matrix and I be an ( ) N N v identity matrix. The Eigen values , 1, 2, ,
i
i N P = of A
are the roots of the Nth-order polynomial, det[ ] 0 P = A I .
Evaluation of the state transition matrix
t
e
A
is based on the Cayley-Hamilton theorem. This theorem states
that the matrix A satisfies its own characteristic equation, i.e.,
If,
1
1 1 0
( ) 0
N N
N
Q a a a P P P P

= =
Then,
1
1 1 0
( ) 0
N N
N
Q a a a

= = A A A A I
1
1 1 0
N N
N
a a a

= A A A I (1)
Now,
2 2
2! 2!
N N
t
t t
e t =
A
A A
I A
Applying equation (1) ,
t
e
A
may be expressed as,

2 1
0 1 2 1
t N
N
e F F F F

=
A
I A A A (2)
If all
i
P s are distinct we may write,
2 1
0 1 2 1
i
t N
i i N i
e
P
F F P F P F P

= from where we can found F s


as,


We can also calculate
t
e
A
using Laplace
transform.

25

Example
Find a state-space representation of the system as shown in figure below.

The system is of order 3. We assume three state variables
1 2 3
( ), ( ) and ( ) q t q t q t . From figure above we
obtain,
(Ans)
Example
Find a state-space representation of the circuit shown in figure below assuming that the outputs are the
currents flowing in
1 2
and R R .

We choose the state variables
1
( ) ( )
L
q t i t = and
2
( ) ( )
C
q t v t = . Let,
1 1
( ) ( ) x t v t = and
2 2
( ) ( ) x t v t = . Also,
1 1
( ) ( ) y t i t = and
2 2
( ) ( ) y t i t = .
Applying KVL to the two loops we get,


26

Rearranging and writing in matrix form we get,
(Ans)

Example: Find
t
e
A
for
0 1
6 5

=


|
A using Cayley-Hamilton theorem.
The characteristic polynomial of A is,
2
1
( ) 5 6 ( 2)( 3)
6 5
q
P
P P P P P P
P

= = = =

I A .
Thus the Eigen values of A are,
1
2 P = and
2
3 P = .
Hence we have,
0 1
0 1
1 0 1
6 5
t
e
F F
F F
F F F

= =


|
A
I A , where F s are obtained as,
2
0 1
3
0 1
2
3
t
t
e
e
F F
F F

=

`
=

)
solving we get,
2 3
0
3 2
t t
e e F

= and
2 3
1
t t
e e F

= .
(Ans)

You might also like