0% found this document useful (0 votes)
89 views24 pages

Lecture 06 Lti Differential and Difference Systems

1) Differential and difference linear time-invariant (LTI) systems constitute an important class of systems used in engineering applications like circuit analysis and filter design. 2) The response of a differential LTI system described by a differential equation can be found by solving the differential equation, and consists of the sum of the homogeneous response and particular response. 3) The impulse response of a differential LTI system can be obtained by first calculating the system's step response, then taking the derivative of the step response.

Uploaded by

rama
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)
89 views24 pages

Lecture 06 Lti Differential and Difference Systems

1) Differential and difference linear time-invariant (LTI) systems constitute an important class of systems used in engineering applications like circuit analysis and filter design. 2) The response of a differential LTI system described by a differential equation can be found by solving the differential equation, and consists of the sum of the homogeneous response and particular response. 3) The impulse response of a differential LTI system can be obtained by first calculating the system's step response, then taking the derivative of the step response.

Uploaded by

rama
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/ 24

Signals and Systems Lecture: 6

Differential and Difference LTI systems


Differential and difference linear time-invariant (LTI) systems constitute an extremely
important class of systems in engineering. They are used in circuit analysis, filter design,
controller design, process modeling, and in many other applications. We will review the
classical solution approach for such systems. Fig. 1 shows that differential systems form a
subset of the set of continuous-time LTI systems. A consequence of this set diagram is that any
differential system has an impulse response. The same is true for difference systems. We will
show techniques to compute their impulse response.

1. Response of Causal LTI systems described by differential equations


Differential systems form the class of systems for which the input and output signals are
related implicitly through a linear, constant coefficient ordinary differential equation.
Example 1: Consider a first-order differential equation relating the input ( ) to the output ( ):

1000 + 300 ( ) = ( ) (1)

This equation could represent the evolution of the velocity ( ) in m/s of a car of mass m =
1000 kg, subjected to an aerodynamic drag force proportional to its speed ( ), where
= 300 and in which ( ) is the tractive force in newton’s applied on the car (Fig. 2).
/

According to Newton’s law, the sum of forces accelerates the car so that we can write =

− ( ) + ( ) , where the derivative of the velocity is the car’s acceleration. Rearranging this
equation, we obtain (1).

Dr. Ayman Elshenawy Elsefy Page | 1


Signals and Systems Lecture: 6

Given the input signal ( ), that is, the tractive force, we would normally have to solve the
differential equation to obtain the output signal (the response) of the system, that is, the speed
of the car.

In general an Nth-order linear constant coefficient differential equation has the form:

( ) ( )
= (2)

This can be expanded to:


( ) ( ) ( ) ( )
+ ⋯+ + ( ) = + ⋯+ + ( ) (3)

The constant coefficients and are assumed to be real, and some of them may be equal
to zero, although it is assumed that without loss of generality. The order of the differential
equation is defined as the order of the highest derivative of the output present in the equation.
To find a solution to a differential equation of this form, we need more information than the
equation provides. We need N initial conditions (or auxiliary conditions) on the output variable
( ) and its derivatives to be able to calculate a solution.

The complete solution ( ) (General Solution) to the differential equation (2) is given by
the sum of two components:

 The Homogeneous solution ( ) or Natural response or Zero-state response of (a


solution with the input signal set to zero and usually)
 The particular solution ( ) or Forced response (an output signal that satisfies the
differential equation and usually has the same form as the input signal), also called
the forced response of the system.
General Solution ( ) = ( ) Homogenous Solution + ( ) Particular Solution

Dr. Ayman Elshenawy Elsefy Page | 2


Signals and Systems Lecture: 6

Example 2: Consider the LTI system described by the causal linear constant coefficient
differential Equation.

1000 + 300 ( ) = ( )

Calculate the output (car velocity) of this system, if the input tractive force signal ( ) =
5000 ( ) . This input signal could correspond to the driver stepping on the gas pedal
from a standstill and then rapidly easing the throttle. As stated above, the solution is composed
of a homogeneous response and a particular solution of the system:
( )= ( )+ ( )

( ) == ( ) ==> 1000 + 300 ( ) = 0

( ) == ( ) ==> 1000 + 300 ( ) = ( )

Step 1: for particular solution assume output is the same input signal form ( )=

−2000 + 300 = 5000 then = −2.941 ==> ( ) = −2.941

Step 2: the homogenous solution ( ) assume ( )= in exponential form


Then

1000 + 300 =0
1000 ( + 0.3) = 0
= −0.3
( )= .

( )= ( )+ .
( )= − 2.941 , ℎ

How to choose the value of A?


Now, because we have not yet specified an initial condition on ( ), this response is not
completely determined, as the value of A is still unknown. Strictly speaking, for causal LTI
systems defined by linear constant-coefficient differential equations, the initial conditions must
( ) ( ) ( )
be (0 ) = = =⋯= , what is called initial rest. That is, if at least one

initial condition is nonzero, then strictly speaking, the system is nonlinear. In practice, we

Dr. Ayman Elshenawy Elsefy Page | 3


Signals and Systems Lecture: 6

often encounter nonzero initial conditions and still refer to the system as being linear. In, initial
rest implies that (0) = 0, so that
( )= .
− 2.941
(0) = − 2.941 = 0 → = 2.941
Thus if > 0 the car velocity is given by
( ) = 2.941( .
− ) , >0

If t < 0 The condition of initial rest and the causality of the system imply that ( )=
0 since ( ) = 0 , < 0 . Therefore, we can write the speed of the car as follows:
( ) = 2.941( . ) ( )

This speed signal is plotted in Fig. 3, and we can see that the car is moving forward, as
expected.

The above remark on initial rest is true in general for causal LTI systems, as we now show.
A linear system is causal if its output depends only on past and present values of ( ), but for a
linear system = , the output to the zero input is zero, . Since we assumed that and that
y(t) only depends on past or current values of the input. The condition of initial rest means that
the output of the causal system is zero until the time when the input becomes nonzero.
2. An Impulse response of a differential LTI system
The general from of causal LTI system of order N:

( ) ( )
= (4)

The impulse response of such a system can be calculated as the following:

Dr. Ayman Elshenawy Elsefy Page | 4


Signals and Systems Lecture: 6

We have seen that the impulse response of an LTI system is the derivative of its step
()
response S(t), that is h(t) = . Thus, we can obtain the impulse response of an LTI

differential system by first calculating its step response and then differentiating it. This method
is useful when the right-hand side of the differential equation does not have derivatives of the
input signal.

Example 3: Calculate the impulse response for the following system


( ) ( )
+ 3 + 2 ( ) = ( )

Let ( ) = ( ) unit step input, then the characteristic polynomial of the system is
( ) = + 3 + 2 = ( + 1)( + 2) , ( ) ℎ = −1 = −2
Then the homogenous solution is ( )= +
( ) ( )
Assume ( ) = 1 and ( )= then substitute + 3 +2 ( )=1


Then [ ] + 3 [ ] + 2[ ] = 1  Then 2 = 1 and = and ( )=

By adding the ( ) and ( ), we obtain the overall step response for t > 0:

1
( )= ( )= ( )+ ( )= + +
2

And by finding the initial conditions for ( ), ( ) at t=0

At = 0 → (0) = 0 → + + =0
( )
At = 0 → = 0 → −2 − =0

By solving the above two equations we find that: = = −1 Then

( )= − + ( ) , By differentiating the two sides, using chain rule then

1 1
ℎ( ) = ( ) = − + ( )
2 2

= ( + ) ( ) + − + ( )

= ( ) = ( + ) ( )+ − + ( )=( + ) ( )

Dr. Ayman Elshenawy Elsefy Page | 5


Signals and Systems Lecture: 6

Because − + ( )=0

3. Causal LTI systems described by difference equations


In a causal LTI difference system, the discrete-time input and output signals are related
implicitly through a linear constant-coefficient difference equation. In general, an -order
linear constant coefficient difference equation has the form:

[ − ] = [ − ]

This can be expanded to


[ − ]+. . + [ − 2] + [ − 1] + [ ]

= [ ]+ [ − 1] + ⋯ + [ − ]

The constant coefficients a and b are assumed to be real, and although some of them may be
equal to zero, it is assumed that without loss of generality. The order of the difference equation
is defined as the longest time delay of the output present in the equation. To find a solution to
the difference equation, we need more information than what the equation provides. We need
N initial conditions (or auxiliary conditions) on the output variable (its N past values) to be
able to compute a specific solution.
a. Finding the response of the Causal LTI systems using general solution method

Dr. Ayman Elshenawy Elsefy Page | 6


Signals and Systems Lecture: 6

Example 4: using the general solution find y[n] that achieves the following difference
equation using the general solution method

5 8
[ ] = − (−0.5) + (−0.8)
3 3

Dr. Ayman Elshenawy Elsefy Page | 7


Signals and Systems Lecture: 6

b. Finding the response of the Causal LTI systems using Recursive solution method

Suppose that the system is initially at rest and that [ ] has nonzero values starting at n = 0.
Then, the condition of initial rest means that y[–1] = y[–2] = . . . = y[–N] = 0, and one can start
computing y[n] recursively.
Example 5: using the recursive solution find y[n] that achieves the following difference
equation.

Note that because this system is LTI, it is completely determined by its impulse response.
Thus, the response to the unit impulse that we obtain here numerically by recursion is actually
the impulse response of the system. For a simpler first-order system, it is often easy to find the
“general term” describing the impulse response ℎ[ ] for any time step . For example, you can
check that the causal LTI system described by the difference equation,

Dr. Ayman Elshenawy Elsefy Page | 8


Signals and Systems Lecture: 6

4. Characteristic Polynomial and stability for LTI Differential system


The BIBO stability of differential and difference systems can be determined by analyzing their
characteristic polynomials.

 A causal LTI differential system is BIBO stable if and only if the real part of all of the
zeros of its characteristic polynomial is negative (we say that they lie in the left half of
the complex plane).

Example 7:

Dr. Ayman Elshenawy Elsefy Page | 9


Signals and Systems Lecture: 6

Example 8:

Dr. Ayman Elshenawy Elsefy Page | 10


Signals and Systems Lecture: 6

Dr. Ayman Elshenawy Elsefy Page | 11


01/03/1439

Block Diagram Representation.


 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. 1

1
01/03/1439

2
01/03/1439

S1 followed by S2 S2 followed by S1

3
01/03/1439

S1 followed by S2 S2 followed by S1

S1 followed by S2 S2 followed by S1

4
01/03/1439

S1 followed by S2 S2 followed by S1

5
01/03/1439

Second Order Difference Equation.

6
01/03/1439

7
01/03/1439

Find Impulse Response:

Find Impulse Response:

1
01/03/1439

Find Impulse Response:

You might also like