Lecture 06 Lti Differential and Difference Systems
Lecture 06 Lti Differential and Difference Systems
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).
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)
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:
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:
( )= ( )+ ( )
Step 1: for particular solution assume output is the same input signal form ( )=
1000 + 300 =0
1000 ( + 0.3) = 0
= −0.3
( )= .
( )= ( )+ .
( )= − 2.941 , ℎ
initial condition is nonzero, then strictly speaking, the system is nonlinear. In practice, we
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)
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.
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
1 1
ℎ( ) = ( ) = − + ( )
2 2
= ( + ) ( ) + − + ( )
= ( ) = ( + ) ( )+ − + ( )=( + ) ( )
Because − + ( )=0
[ − ] = [ − ]
= [ ]+ [ − 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
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
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,
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:
Example 8:
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
6
01/03/1439
7
01/03/1439
1
01/03/1439