Professional Documents
Culture Documents
Differential equations
z--~ +y = 0
dy
z--~- + y = 0
and
dy
z--~- + y = k x
d2y dy
m--~-T + c - ~ +ky=O
and
Appendix A: Differential equations 161
dEy dy
m - - ~ + C--d--/-+ k y = F
dy
dt
then we can solve such equations by integrating both sides of the
equation with respect to x:
j-dy d t : ~j(t) dt
Idt-I 0d'
Consider the response of a first-order system to a step input, e.g. the
response of a thermometer when inserted suddenly into a hot liquid. This
sudden change is an example of a step input. In Chapter 2 the
differential equation for such a change was determined as:
RC-~tt + T = TL
1 dT= ~ C d t
TL - T
TL - T = C e -t/~ = B e -t/~
with B being a constant and z = RC. z is termed the time constant and
can be considered to be the time that makes the exponential term e-~. If
we consider the thermometer to have been inserted into the hot liquid at
162 Control Systems
T = ( T o - TL) e -t/~ + TL
The exponential term will die away as t increases and so gives the
transient part of the response. TL is the steady-state value that will be
attained eventually.
R c d--~ + T = TL
RC~t +T=0
1T dT=-R---~Cdt
-ln T =-(1/RC)t + A
- T = e a e -U~ = B e -U~
Appendix A: Differential equations 163
T = -B e -u*
O+C=T~.
Thus the particular solution is T = TL. Hence the full solution is the sum
of the complementary solution and the particular integral and so:
T = - B e-t/* + TL
ff we consider the thermometer to have been inserted into the hot liquid
at time t = 0 and to have been indicating the temperature To at that time,
then, since e ~ = 1, we have B = TL- T. Hence, as before, the equation
can be written as:
T = ( T o - TL ) e -t/~ +TL
R c d-~ + T = at + TL
R C - ~ tt + T = 0
T = -B e -t/*
For the particular integral we try a solution of the form T = D + Et. Since
dT/dt = E, substituting in the non-homogeneous differential equation
gives:
R C E + D + E t = a T + To
Equating all the coefficients of the t terms gives E - a and equating all
the non-t terms gives R C E + D = To and so D = To - R C a . Thus the
particular integral is:
T - To - R C a + at
T = - B e -v~ + T o - za + at
T = za e -w + To - za + at
m---~T + c d~ + ky = F
m---~T + ky = O
~_ C
1 dEy 2(@ F
092 dt 2 + -~-n -d-/ +Y =
1 d2y 2 ( d y
co--~n-dt
- T + -~'n "-~" +Y = 0
We can try a solution of the form y = A e". This, when substituted, gives:
Appendix A: Differential equations 165
1 S2 +
2( +1 0
co~ -~-;s =
S 2 + 2cone'S + (.02 = 0
- 2 c o . ( + ~/4co2( 2 - 4co 2
S=
When we have:
S = -?~'con+ jcon / 1 - ~2
If we let:
co = con~/l _~'2
we can write:
s = --(o9. + jco
Thus:
y = A e (-(~ + B e -((~176
y = ( A t + B ) e -~
and hence:
y = A e s~t + B e s2t
The above analysis has given the complementary functions for the
second-order differential equation. For the particular integral, in this
case where we have a step input of size F, we can try the particular
integral x = A. Substituting this in the differential equation gives A = F/k
and thus the particular integral is y = F/k. Thus the solutions to the
differential equation are:
y = (A t + B) e -~ + F/k
In all cases, as t tends to infinite then y tends to the value F/k. Thus the
steady-state value is F/k.