Unit Iv: Continuous and Discrete Time Systems
Unit Iv: Continuous and Discrete Time Systems
The ratio of Laplace transform of output to Laplace transform of input assuming all initial
conditions to be zero.
The transfer function of a system is the Laplace transform of its impulse response under
assumption of zero initial conditions.
Replacing ‘s’ variable with linear operation D= d/dt in transfer function of a system, the
differential equation of the system can be obtained.
The transfer function of a system does not depend on the inputs to the system.
The system poles and zeros can be determined from its transfer function.
Stability can be found from characteristic equation.
Transfer function cannot be defined for non-linear systems. It can be defined for
linear systems only.
Example : Find the impulse response of the following second order system:
d 2 y (t ) dy (t )
2
4 3 y (t ) (t ) .
dt dt
Solution
The characteristic equation is
s2 4s 3 s 3 s 1 0
y (t ) Ae 3t Be t u(t ) .
3 Ae 3t Be t u(t ) ( A B ) (t )
y (t )
dt
and the second derivative is
y 2 (t )
2
9 Ae 3t Be t u(t ) 3 A B (t ) ( A B ) (1) (t )
dt
Putting these back into Eq. (2.1.6) gives
But this is redundant, because our choice of the homogeneous equation insured it.
So we can conclude
h ( t ) e t e 3 t u ( t ) .
1
2
What would be the response for the input x (t ) u (t ) ?
t
y (t ) h(t ) * u(t ) h( ) d
0
1 t
e e 3t d 1 e t (1 e 3t ) u(t )
1
t
0 2 2
e et u t .
1 3t
2
This problem was not so difficult because the characteristic equation separated into two simple
real roots. In general, it will be much easier to use Laplace transforms.
Example : What is the frequency response of a discrete LTI system? Derive the frequency
response of a system whose impulse response is given by h(n) = a” u(n —1) for (a) <1.
Ans. The frequency response of a linear time invariant discrete time system can be obtained by
applying a spectrum of the input sinusoids to the system. The frequency response gives the gain
and phase response of the system to the input sinusoids at all frequencies. Let us consider, the
inpulse response of an LTI discrete time system is h(n) and the input x(n) to the system is complex
exponential e1u. The output of the system y(n) can be
Given
Example : Determine the pole-zero plot for the system described by difference equation
From the following figure, we can observe the following 1.ROC of the system function include unit
circle. 2. ROC of the system function cannot have any poles.
Example : Consider the causal second-order system described by
and with initial conditions Suppose that this system is subjected to the
Solution :
2.5
1.5
0.5
0
=t0 =t
We can approximate this input as a series of rectangular pulses having the same area under the curve as
shown in Figure 2.
2.5
1.5
0.5
0
1 3 5 7 9 11
0
13 15 17 19 21 23 25 27 29 31 33 N=t
35
These graphs are given in terms of the variable , the variable t is reserved for the time of observation of
the output signal. The interval from = t0 to = t is divided into subintervals of width each centered
about an value of n = t0 + n*.
f(t, n) is the output at time t due to a rectangular pulse of unit amplitude and width that
occurred at time = n .
The output of the system at time t due to the nth pulse of the approximate input is then the value of the
input at time n ,which is x(n), times f(t, n). Using superposition the total output from the system at time
t is then approximated by the sum:
N
y t x n * f t , n
n 0
1
t
f t , n
y t x * d
lim 0
t 0
The term in the brackets becomes the output at time, t, of the system to (t-), a Dirac Delta function or
impulse that occurred at time . It is usually denoted as h(t, ), or since our system is time invariant
simply h(t-). This function, h(t), is called the Unit Impulse Response of the system (which happens to
be the Inverse Fourier Transform of the Transfer Function, H(j) ). The output then is given by:
t
y t x * ht d
t 0
or, where it is up to you to determine the limits on the integral from the nature of the two functions:
yt x * ht d
Properties of Convolution
Commutative Law
xt yt yt xt
Proof:
xt yt x * yt d
Distributive Law
xt yt zt xt yt xt zt
Associative Law
xt yt zt xt yt zt
1.5
0.5
0
-2 -1 0 1 2 3 4
Time
h(-)
1.5
0.5
0
-2 -1 0 1 2 3 4
Time
1.5
0.5
0
-2 -1 0 1 2 3 4
Time
1.5
x()
1
h(t-)
0.5
0
-2 -1 0 1 2 3 4
t-1 t
Case 2 moves the front edge of h(t-) into x() so the output is the shaded area t
1.5
x()
1
h(t-)
0.5
0
-2 -1 0 1 2 3 4
t-1 t
1.5
x()
1
h(t-)
0.5
0
-2 -1 0 1 2 3 4
t-1 t
1.5
x()
1
h(t-)
0.5
0
-2 -1 0 1 2 3 4
t-1 t
For all of the last Case t > 3 and there is no overlap so the output is 0
Case 5: t > 3
1.5
x()
1
h(t-)
0.5
0
-2 -1 0 1 2 3 4
t-1 t
So now we can plot the output, y t xt ht x * ht d and we are done.
y(t)
1.5
0.5
0
-2 -1 0 1 2 3 4
Time
1.5
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
Time
3.5
2.5
1.5
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
Time
h(-)
3.5
2.5
1.5
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
Time
Now slide it back to start at a value of t -1 and plot the signal on the same chart
Case 1: t < 1
h(t-) 2
x()
1
0
-4 -3 -2 -1 0 1 2 3 4 5
t-1 t
3.5
2.5
2
h(t-)
1.5
x()
1
0.5
0
-4 -3 -2 -1 t 0 1 2 3 4 5
t-3
The shaded area is the integral of the product of the two functions. And:
t
t
2
y t t *1d t *
1 1
t 2 t for 0 < t < 1
1 2 1 2 2
Case 3 is set up by sliding t to just past t = 1. Now the complete signal lies within the memory of the
system.
3.5
h(t-) 2.5
1.5
1
x()
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
t-3 t
The fourth Case occurs when the back edge of h(t-) crosses = -1. This is when t = 2.
3.5
2.5
2
h(t-)
1.5
x() 1
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
t-3 t
1
1
2
Now y t t * 1d t *
1
t 2 t 4 for 2 > t > 4
t 3 2 t 3 2
Case 5: t > 4
3.5
2.5
2
h(t-)
1.5
x()
1
0.5
0
-4 -3 -2 -1 0 1 2 3 4 5
t-1 t
Now we can plot y(t). Note that it is a continuous function. This is the normal case (the exception is
when there are Impulse Functions in either the signal or h(t) ). Use this fact to check your work by
comparing the values at the boundary conditions between cases.
y(t)
4.5 Case 4
3.5
2.5 Case 2
2
Case 3 Case 5
1.5
Case 1
1
0.5
0
-2 -1 0 1 2 3 4 5
Time
Find the Impulse Response of the circuit using the Transfer Function:
1 1
jC
H j RC Since it is a simple AC voltage divider
1 1
R j
jC RC
From Example 1 of the section on Fourier Transforms the inverse transform of this Transfer
function is:
t
1 RC
ht * U t which looks like:
RC
h(t)=[1/RC]*exp(-t/RC)*U(t)
1.5
1.3
1.1
1/RC
0.9
0.7
0.5
0.3
0.1
-0.1
-1 0 1 2 3 4 5
-0.3
t=1/RC
-0.5
0
-2 0 2 4
-1
Time
Case 1: t < 0
x()
2
1
h(t-)
0
-4 -3 -2 -1 0 1 2 3 4 5
t
x()
2
1
h(t-)
0
-4 -3 -2 -1 0 1 2 3 4 5
t
t
t
vout t
2
* RC RC * RC
RC 0
t
t
RC
t
RCt
t
vout t 2 * RC
2 *
RC
1 2 * 1
RC
for 0 < t < 1
0
x()
2
1
h(t-)
0
-4 -3 -2 -1 0 1 2 3 4 5
t
1
t
vout t
2
* RC
RC *
RC
RC 0
1
t
RC
t
RC
1
vout t 2 * RC
2 * RC
1
0
Moreover, we can now plot the output:
The Output
2
y(t)
1
0 t
-1 0 1 2 3 4 5
Ans.
The main tools of analysis of single input and single output (SISO) systems are transfer function and
frequency response methods where the systems must be linear time invariant. These tools cannot be applied
for time varying and non-linear systems. In conventional control theory the main theme is to formulate the
transfer function putting all initial conditions to zero. The state variable analysis takes care of initial
conditions automatically and it is also possible to analyze time varying or time-invariant, linear or non-
linear, single or multiple input-output systems. The main target of this chapter is to introduce state variable
analysis for continuous systems.
State: The state of a dynamic system is the smallest set of variables and the knowledge of these
variables at t = t0 together with inputs for t ≥ t0 completely determines the behaviour of the system at
t ≥ t0. A compact and concise representation of the past history of the system can be termed as the
state of the system.
State Variables: The smallest set of variables that determine the state of the system are known as
state variables.
The knowledge of capacitor voltage at t = 0 i.e., the initial voltage of the capacitor is a history
dependent term and it forms a state variable. Similarly, initial current in an inductor is treated as state
variable.
State Vector: The ‘n’ state variables that completely describe the behaviour of a given system are
said to be ‘n’ components of a vector.
State Space: The n dimensional space whose co-ordinate axes consist of the x1 axis, x2 axis,….,xn
axis are known as a state space.
Advantages
It is possible to analyze time-varying or time-invariant, linear or non-linear, single or multiple input-
output systems.
It is possible to confirm the state of the system parameters also and not merely input-output relations.
It is possible to optimize the systems and useful for optimal design.
It is possible to include initial conditions.
Disadvantages
Complex techniques
Many computations are required.
STATE MODEL
Figure shows an nth order system having multiple input multiple output.
For time invariant system, the functional equations can be written in the form as below:
EC T43-SIGNALS AND SYSTEMS ECE
where A, B, C and D are constant matrices.
From the state model equations, we can derive the transfer function of the system. From definition of
transfer function, we can write
Formula
Solution:
Solution :
First, we compute the eigenvalues of the A matrix by solving det(λI – A) = 0 to obtain λ1 = –1, λ2 =
–2 Thus, the system is BIBO stable since the poles of the transfer function are negative, being equal
to the eigenvalues.
State variable methods for continuous time systems have already been introduced. In this chapter we
are interested to discuss the following:
i. to represent a given z–transfer function by state variable equation and output equation of
the form
ii. to get a relation between state equations, output equation and transfer function and
iii. finally the solution of state equation.
With the help of state equations we can calculate the next value of state variable from the given value
of state variables and inputs.
Therefore
Solution :