8. solution of linear differential equations example 8.1 f(t) : input u(t) : response s 3 h(s)e st...

5
8. Solution of Linear Differential Equations Example 8.1 dt df f 3 u 20 dt du 14 dt u d 4 dt u d 2 2 3 3 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e s t +se st (s 3 +4s 2 +14s+20)H(s)=3 +s 20 s 14 s 4 s 3 s ) s ( H 2 3 Mathematical models of a 1-DOF system become ordinary linear differential equations. In this section, the solution of these differential equations will be given. Let’s consider Example 8.1 for this lesson. In the differential equation given below, f(t) is the input, u(t) is the response. Let’s find the transfer function at first. 8.1 Transfer function In order to find the transfer function, if the input is f(t)=e st , it is assumed that the response is u(t)=H(s)e st . Substituting the formulas (assumpitons) into the differential equations, the following equation is written. (Continued Example 8.1) Dividing the equation by e st and rearranging the equation Then, the transfer function is found as

Upload: justina-osborne

Post on 17-Dec-2015

219 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st

8. Solution of Linear Differential Equations

Example 8.1

dt

dff3u20

dt

du14

dt

ud4

dt

ud2

2

3

3

f(t) : Input

u(t) : Response

s3H(s)est+4s2H(s)est+14sH(s)est+20H(s)est=3est+sest

(s3+4s2+14s+20)H(s)=3+s

20s14s4s

3s)s(H 23

Mathematical models of a 1-DOF system become ordinary linear differential equations. In this section, the solution of these differential equations will be given. Let’s consider Example 8.1 for this lesson.

In the differential equation given below, f(t) is the input, u(t) is the response. Let’s find the transfer function at first.

8.1 Transfer function

In order to find the transfer function, if the input is f(t)=est, it is assumed that the response is u(t)=H(s)est. Substituting the formulas (assumpitons) into the differential equations, the following equation is written.

(Continued Example 8.1)

Dividing the equation by est and rearranging the equation

Then, the transfer function is found as

Page 2: 8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st

When the denominator of the transfer function equals to zero, the eigenvalues are found. The eigenvalues can be calculated with the command “roots” in MATLAB. The eigenvalues for Example 8.1 can be found with these commands.

a=[1,4,14,20];roots(a)

The eigenvalues are found as -1±3i, -2

8.2. Exponential/Harmonic Input

If the input has the form of Ae-σtcos(ωt-φ), the input is called as Exponential/Harmonic.

)6.1t7.2cos(e8.1)t(f t2.0

We will find the response u(t) as the following. f(t) can be written as

)6.1t7.2(it2.0 ee8.1Re)t(f t)i7.22.0(i6.1 ee8.1 stCeRe

Consider Example 8.1. If the input is in the form of

Re implies that it is the real part. C and s equal to C=-1.8e-1.6i and s=-0.2+7i.

(Continued Example 8.1)

Page 3: 8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st

If the input were est, the response would be H(s)est. However, multiplying the input by C, then, the response is multiplied by C. If the input is taken the parenthesis of Re, then the response would be in the parenthesis of Re

)6.1t7.2(it2.0 He)s(He8.1Re

)6.1t7.2cos(e)s(H8.1)t(u Ht2.0

t)i7.22.0(ii6.1 ee)s(He8.1Re H Re ste)s(HC)t(u

For the value of s=-0.2+7i, is the amplitude of the transfer function, while is the phase angle of the transfer function. The solution is completed by taking the real parts of the response.

For the value of s=-0.2+7i, The amplitude and the phase angle can be found by MATLAB program as follows.

s=-0.2+2.7i;hs=(s+3)/(s^3+4*s^2+14*s+20);abs(hs), angle(hs)

The amplitude and phase angle are calculated as 0.2437 and -1.2882, respectively. Thus, the response is found as

)2882.16.1t7.2cos(e2437.0x8.1)t(u t2.0

)89.2t7.2cos(e44.0)t(u t2.0

Page 4: 8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st

It is noted that the form of the response is the same as the form of the input. The frequency of the response is same as the excitation frequency.

For the response, the amplitude of the response is the product of the amplitudes of the input and the transfer function for the value of s=-0.2+7i. For the response, the phase angle of the response is found by summing the phase angles of the input and the transfer function. In general, It is noted that its amplitude and phase angle of a response will change if the inputs are exponential/harmonic or pure harmonic input.

)6.1t7.2cos(e8.1)t(f t2.0

Resonance :

If the value of s determined from the input equals to one of the eigenvalues, the denominator of the transfer function equals to zero. Then, the amplitude of the response will equal to infinity.

A resonance condition occurs if the inputs are as the following

f(t)= ae-tcos(3t-b) or f(t)=ae-2t

where a and b are the constants or any number.

)89.2t7.2cos(e44.0 t2.0 )2882.16.1t7.2cos(e2437.0x8.1)t(u t2.0

Page 5: 8. Solution of Linear Differential Equations Example 8.1 f(t) : Input u(t) : Response s 3 H(s)e st +4s 2 H(s)e st +14sH(s)e st +20H(s)e st =3e st +se st

Re

Summary of Course 8.a

Example 8.1

dt

dff3u20

dt

du14

dt

ud4

dt

ud2

2

3

3

f(t) : Inputu(t) : Response

Transfer Function.: If f(t)=est , so u(t)= H(s)est

s3H(s)est+4s2H(s)est+14sH(s)est+20H(s)est=3est+sest

(s3+4s2+14s+20)H(s)=3+s

20s14s4s

3s)s(H 23

Exponential / Harmonic Input:

)6.1t7.2cos(e8.1)t(f t2.0 ?)t(u

)6.1t7.2(it2.0 ee8.1Re)t(f t)i7.22.0(i6.1 ee8.1 stCeRei6.1e8.1C i7.22.0s

t)i7.22.0(ii6.1 ee)s(He8.1Re H )6.1t7.2(it2.0 He)s(He8.1Re

)6.1t7.2cos(e)s(H8.1)t(u Ht2.0

ste)s(HC)t(u

s=-0.2+2.7i;hs=(s+3)/(s^3+4*s^2+14*s+20);abs(hs), angle(hs)

)2882.16.1t7.2cos(e2437.0x8.1)t(u t2.0

)89.2t7.2cos(e44.0)t(u t2.0 RESONANCE

a=[1,4,14,20];roots(a)

Eigenvalues: -1±3i, -2