Tải bản đầy đủ (.pdf) (10 trang)

Digital Signal Processing P2

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (75.96 KB, 10 trang )

2
Ordinary Linear Differential
and Difference Equations
B.P. Lathi
California State University, Sacramento
2.1 Differential Equations
Classical Solution

MethodofConvolution
2.2 Difference Equations
Initial Conditions and Iterative Solution

Classical Solution

MethodofConvolution
References
2.1 Differential Equations
A functioncontainingvariables and their derivatives is called a differential expression, and an equation
involving differential expressionsis called a differential equation. A differential equation is an ordinary
differential equation if it contains only one independent variable; it is a partial differential equation
if it contains more than one independent variable. We shall deal here only with ordinary differential
equations.
In the mathematical texts, the independent variable is generally x, which can be anything such
as time, distance, velocity, pressure, and so on. In most of the applications in control systems, the
independent variable is time. For this reason we shall use here independent variable t for time,
although it can stand for any other variable as well.
The following equation

d
2
y


dt
2

4
+ 3
dy
dt
+ 5y
2
(t) = sin t
is an ordinary differential equation of second order because the highest derivative is of the second
order. An nth-order differential equation is linear if it is of the form
a
n
(t)
d
n
y
dt
n
+ a
n−1
(t)
d
n−1
y
dt
n−1
+···+a
1

(t)
dy
dt
+ a
0
(t)y(t) = r(t)
(2.1)
where the coefficients a
i
(t) are not functions of y(t). If these coefficients (a
i
) are constants, the
equation is linear with constant coefficients. Many engineering (as well as nonengineering) systems
can be modeled by these equations. Systems modeled by these equations are known as linear time-
invariant (LTI) systems. In this chapter we shall deal exclusively with linear differential equations
with constant coefficients. Certain other forms of differential equations are dealt with elsewhere in
this volume.
c

1999 by CRC Press LLC
Role of Auxiliary Conditions in Solution of Differential Equations
We now show that a differential equation does not, in general, have a unique solution unless
some additional constraints (or conditions) on the solution are known. This fact should not come
as a surprise. A function y(t) has a unique derivative dy/dt, but for a given derivative dy/dt
there are infinite possible functions y(t). Ifwearegivendy/dt, it is impossible to determine y(t)
uniquely unless an additional piece of information about y(t) is given. For example, the solution of
a differential equation
dy
dt
= 2

(2.2)
obtained by integrating both sides of the equation is
y(t) = 2t + c
(2.3)
for any value of c. Equation 2.2 specifies a function whose slope is 2 for all t. Any straight line with
a slope of 2 satisfies this equation. Clearly the solution is not unique, but if we place an additional
constraint on the solution y(t), then we specify a unique solution.
For example, suppose we require that y(0) = 5; then out of all the possible solutions available,
only one function has a slope of 2 and an intercept with the vertical axis at 5. By setting t = 0 in
Equation 2.3 and substituting y(0) = 5 in the same equation, we obtain y(0) = 5 = c and
y(t) = 2t + 5
which is the unique solution satisfying both Equation 2.2 and the constraint y(0) = 5.
In conclusion, differentiation is an irreversible operation during which certain information is lost.
To reverse this operation, one piece of information about y(t)must be provided to restore the original
y(t). Using asimilarargument, wecanshowthat, given d
2
y/dt
2
, wecan determine y(t)uniquelyonly
if two additional pieces of information (constraints) about y(t) are given. In general, to determine
y(t) uniquely from its nth derivative, we need n additional pieces of information (constraints) about
y(t). These constraints are also called auxiliary conditions. When these conditions are given at t = 0,
they are called initial conditions.
We discuss here two systematic procedures for solving linear differential equations of the form
in Eq. 2.1. The first method is the classical method, which is relatively simple, but restricted to a
certain class of inputs. The second method (the convolution method) is general and is applicable
to all types of inputs. A third method (Laplace transform) is discussed elsewhere in this volume.
Both the methods discussed here are classified as time-domain methods because with these methods
we are able to solve the above equation directly, using t as the independent variable. The method
of Laplace transform (also known as the frequency-domain method), on the other hand, requires

transformation of variable t into a frequency variable s.
In engineering applications, the form of linear differential equation that occurs most commonly
is given by
d
n
y
dt
n
+ a
n−1
d
n−1
y
dt
n−1
+···+a
1
dy
dt
+ a
0
y(t)
= b
m
d
m
f
dt
m
+ b

m−1
d
m−1
f
dt
m−1
+···+b
1
df
dt
+ b
0
f(t)
(2.4a)
where all the coefficients a
i
and b
i
are constants. Using operational notation D to represent d/dt,
this equation can be expressed as
(D
n
+ a
n−1
D
n−1
+···+a
1
D + a
0

)y(t)
= (b
m
D
m
+ b
m−1
D
m−1
+···+b
1
D + b
0
)f (t)
(2.4b)
c

1999 by CRC Press LLC
or
Q(D)y(t) = P(D)f(t)
(2.4c)
where the polynomials Q(D) and P(D),respectively,are
Q(D) = D
n
+ a
n−1
D
n−1
+···+a
1

D + a
0
P(D) = b
m
D
m
+ b
m−1
D
m−1
+···+b
1
D + b
0
Observe that this equation is of the form of Eq. 2.1,wherer(t)is in the form of a linear combination
of f(t)and its derivatives. In this equation, y(t) represents an output variable, and f(t)represents
an input variable of an LTI system. Theoretically, the powers m and n in the above equations can
take on any value. Practical noise considerations, however, require [1] m ≤ n.
2.1.1 Classical Solution
When f(t) ≡ 0,Eq.2.4a is known as the homogeneous (or complementary) equation. We shall first
solve the homogeneous equation. Let the solution of the homogeneous equation be y
c
(t), that is,
Q(D)y
c
(t) = 0
or
(D
n
+ a

n−1
D
n−1
+···+a
1
D + a
0
)y
c
(t) = 0
We first show that if y
p
(t) is the solution of Eq. 2.4a, then y
c
(t) + y
p
(t) is also its solution. This
follows from the fact that
Q(D)y
c
(t) = 0
If y
p
(t) is the solution of Eq. 2.4a, then
Q(D)y
p
(t) = P(D)f(t)
Addition of these two equations yields
Q(D)


y
c
(t) + y
p
(t)

= P(D)f(t)
Thus, y
c
(t) + y
p
(t) satisfies Eq. 2.4a and therefore is the general solution of Eq. 2.4a. We call y
c
(t)
the complementary solution and y
p
(t) the particular solution. In system analysis parlance, these
components are called the natural response and the forced response, respectively.
Complementary Solution (The Natural Response)
The complementary solution y
c
(t) is the solution of
Q(D)y
c
(t) = 0
(2.5a)
or

D
n

+ a
n−1
D
n−1
+···+a
1
D + a
0

y
c
(t) = 0
(2.5b)
A solution to this equation can be found in a systematic and formal way. However, we will take a
short cut by using heuristic reasoning. Equation 2.5ab shows that a linear combination of y
c
(t) and
c

1999 by CRC Press LLC
its n successive derivatives is zero, not at some values of t, but for all t. This is possible if and only if
y
c
(t) and all its n successive derivatives are of the same form. Otherwise their sum can never add to
zero for all values of t. We know that only an exponential function e
λt
has this property. So let us
assume that
y
c

(t) = ce
λt
is a solution to Eq. 2.5ab. Now
Dy
c
(t) =
dy
c
dt
= cλe
λt
D
2
y
c
(t) =
d
2
y
c
dt
2
= cλ
2
e
λt
······ ··· ······
D
n
y

c
(t) =
d
n
y
c
dt
n
= cλ
n
e
λt
Substituting these results in Eq. 2.5ab, we obtain
c

λ
n
+ a
n−1
λ
n−1
+···+a
1
λ + a
0

e
λt
= 0
For a nontrivial solution of this equation,

λ
n
+ a
n−1
λ
n−1
+···+a
1
λ + a
0
= 0
(2.6a)
This result means that ce
λt
is indeed a solution of Eq. 2.5a provided that λ satisfies Eq. 2.6aa. Note
that the polynomial in Eq. 2.6aa is identical to the polynomial Q(D) in Eq. 2.5ab, with λ replacing
D. Therefore, Eq. 2.6aa can be expressed as
Q(λ) = 0
(2.6b)
When Q(λ) is expressed in factorized form, Eq. 2.6ab can be represented as
Q(λ) = (λ − λ
1
)(λ − λ
2
) ···(λ − λ
n
) = 0
(2.6c)
Clearly λ has n solutions: λ
1

, λ
2
, ..., λ
n
. Consequently, Eq. 2.5a has n possible solutions: c
1
e
λ
1
t
,
c
2
e
λ
2
t
, ..., c
n
e
λ
n
t
, with c
1
, c
2
, ..., c
n
as arbitrary constants. We can readily show that a general

solution is given by the sum of these n solutions,
1
so that
y
c
(t) = c
1
e
λ
1
t
+ c
2
e
λ
2
t
+···+c
n
e
λ
n
t
(2.7)
1
To prove this fact, assume that y
1
(t), y
2
(t), ..., y

n
(t) are all solutions of Eq. 2.5a. Then
Q(D)y
1
(t) = 0
Q(D)y
2
(t) = 0
······ ··· ······
Q(D)y
n
(t) = 0
Multiplying these equations by c
1
,c
2
,...,c
n
, respectively, and adding them together yields
Q(D)

c
1
y
1
(t) + c
2
y
2
(t) +···+c

n
y
n
(t)

= 0
This result shows that c
1
y
1
(t) + c
2
y
2
(t) +···+c
n
y
n
(t) is also a solution of the homogeneous Eq. 2.5a.
c

1999 by CRC Press LLC
where c
1
, c
2
, ..., c
n
are arbitrary constants determined by n constraints (the auxiliary conditions)
on the solution.

The polynomial Q(λ) is known as the characteristic polynomial. The equation
Q(λ) = 0
(2.8)
is called the characteristic or auxiliary equation. From Eq. 2.6ac, it is clear that λ
1
, λ
2
, ..., λ
n
are the
roots of the characteristic equation; consequently, they are called the characteristic roots. The terms
characteristic values, eigenvalues, and natural frequencies are also used for characteristic roots.
2
The
exponentials e
λ
i
t
(i = 1, 2,...,n)in the complementary solution are the characteristic modes (also
known as modes or natural modes). There is a characteristic mode for each characteristic root, and
the complementary solution is a linear combination of the characteristic modes.
Repeated Roots
The solution of Eq. 2.5a asgiveninEq.2.7 assumes that the n characteristic roots λ
1
, λ
2
, ...
, λ
n
are distinct. If there are repeated roots (same root occurring more than once), the form of the

solution is modified slightly. By direct substitution we can show that the solution of the equation
(D − λ)
2
y
c
(t) = 0
is given by
y
c
(t) = (c
1
+ c
2
t)e
λt
In this case the root λ repeats twice. Observe that the characteristic modes in this case are e
λt
and
te
λt
. Continuing this pattern, we can show that for the differential equation
(D − λ)
r
y
c
(t) = 0
(2.9)
the characteristic modes are e
λt
, te

λt
, t
2
e
λt
, ..., t
r−1
e
λt
, and the solution is
y
c
(t) =

c
1
+ c
2
t +···+c
r
t
r−1

e
λt
(2.10)
Consequently, for a characteristic polynomial
Q(λ) = (λ − λ
1
)

r
(λ − λ
r+1
) ···(λ − λ
n
)
the characteristic modes are e
λ
1
t
, te
λ
1
t
, ..., t
r−1
e
λt
, e
λ
r+1
t
, ..., e
λ
n
t
. and the complementary
solution is
y
c

(t) = (c
1
+ c
2
t +···+c
r
t
r−1
)e
λ
1
t
+ c
r+1
e
λ
r+1
t
+···+c
n
e
λ
n
t
Particular Solution (The Forced Response): Method of Undetermined Coefficients
The particular solution y
p
(t) is the solution of
Q(D)y
p

(t) = P(D)f(t)
(2.11)
It is a relatively simple task to determine y
p
(t) when the input f(t)is such that it yields only a finite
number of independent derivatives. Inputs having the form e
ζt
or t
r
fall into this category. For
example, e
ζt
has only one independent derivative; the repeated differentiation of e
ζt
yields the same
form, that is, e
ζt
. Similarly, the repeated differentiation of t
r
yields only r independent derivatives.
2
The term eigenvalue is German for characteristic value.
c

1999 by CRC Press LLC

Tài liệu bạn tìm kiếm đã sẵn sàng tải về

Tải bản đầy đủ ngay
×