Docsity

Modelling in the Frequency Domain - 2, Exercises of Control Systems Analysis

Toggle sidebar
bg1
T W O
Modeling in the
Frequency Domain
SOLUTIONS TO CASE STUDIES CHALLENGES
Antenna Control: Transfer Functions
Finding each transfer function:
Pot: Vi(s)
θi(s) = 10
π ;
Pre-Amp: Vp(s)
Vi(s) = K;
Power Amp: Ea(s)
Vp(s) = 150
s+150
Motor: Jm = 0.05 + 5(50
250 )2
= 0.25
Dm =0.01 + 3(50
250 )2
= 0.13
Kt
Ra = 1
5
KtKb
Ra = 1
5
Therefore:
θm(s)
Ea(s) =
Kt
RaJm
s(s+ 1
Jm(Dm+KtKb
Ra))
= 0.8
s(s+1.32)
And:
θo(s)
Ea(s) = 1
5
θm(s)
Ea(s) = 0.16
s(s+1.32)
Transfer Function of a Nonlinear Electrical Network
Writing the differential equation, d(i0
+
δ
i)
d
t
+2(i0+
δ
i)2−5=v(t ) . Linearizing i2 about i0,
(i0+δi)2-i
0
2=2i⎮
i=i0
δi=2i
0δi.
.Thus, (i0+δi)2=i
0
2+2i
0δi.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23

Partial preview of the text

Download Modelling in the Frequency Domain - 2 and more Exercises Control Systems Analysis in PDF only on Docsity!

T W O

Modeling in the

Frequency Domain

SOLUTIONS TO CASE STUDIES CHALLENGES

Antenna Control: Transfer Functions Finding each transfer function:

Pot:

V (^) i (s) θi (s) =

10 π ; Pre-Amp:

V (^) p(s) V (^) i (s) = K; Power Amp:

Ea (s) V (^) p(s) =^

150 s+

Motor: Jm = 0.05 + 5 ( 25050 )

2 = 0.

D m =0.01 + 3 ( 25050 )

2 = 0. K (^) t Ra =

1 5 K (^) t K (^) b Ra =

1 5

Therefore:

θm(s) Ea (s) =

K (^) t Ra J (^) m s(s+ J^1 m(D (^) m+

K (^) t K (^) b Ra ))

= (^) s(s+1.32)0.

And:

θo(s) Ea (s) =

1 5

θm(s) Ea (s) =^

s(s+1.32)

Transfer Function of a Nonlinear Electrical Network

Writing the differential equation, d(i^0 +^ δi)

dt

+ 2(i 0 +δi) 2 − 5 = v(t). Linearizing i^2 about i 0 ,

(i 0 +δi)^2 - i 02 = 2i ⎮ i=i (^0)

δi = 2i 0 δ. (^) i.Thus, (i 0 +δi)^2 = i 02 + 2i 0 δi.

Solutions to Problems 13

Substituting into the differential equation yields, ddtδi + 2i 02 + 4i 0 δi - 5 = v(t). But, the resistor voltage equals the battery voltage at equilibrium when the supply voltage is zero since the voltage across the inductor is zero at dc. Hence, 2i 02 = 5, or i 0 = 1.58. Substituting into the linearized

differential equation, ddtδi + 6.32δi = v(t). Converting to a transfer function, δV(s)i(s) = (^) s+6.32^1. Using the linearized i about i 0 , and the fact that vr(t) is 5 volts at equilibrium, the linearized vr(t) is vr(t) = 2i^2 = 2(i 0 +δi) 2 = 2(i 02 +2i 0 δi) = 5+6.32δi. For excursions away from equilibrium, vr(t) - 5 = 6.32δi = δv (^) r(t).

Therefore, multiplying the transfer function by 6.32, yields, δVr

(s) V(s) =^

s+6.32 as the transfer function about v(t) = 0.

ANSWERS TO REVIEW QUESTIONS

1. Transfer function 2. Linear time-invariant 3. Laplace 4. G(s) = C(s)/R(s), where c(t) is the output and r(t) is the input. 5. Initial conditions are zero 6. Equations of motion 7. Free body diagram 8. There are direct analogies between the electrical variables and components and the mechanical variables and components. 9. Mechanical advantage for rotating systems 10. Armature inertia, armature damping, load inertia, load damping 11. Multiply the transfer function by the gear ratio relating armature position to load position. 12. (1) Recognize the nonlinear component, (2) Write the nonlinear differential equation, (3) Select the equilibrium solution, (4) Linearize the nonlinear differential equation, (5) Take the Laplace transform of the linearized differential equation, (6) Find the transfer function.

SOLUTIONS TO PROBLEMS

1. a. F ( s ) = e −^ st^ dt 0

∞ ∫ = −^

s

e − st 0

∞ = 1 s

b. F ( s ) = te −^ st^ dt 0

∞ ∫ =^

e − st s^2

(− st − 1) 0 ∞^ = −( st^ +^ 1) s^2 e st 0

∞

Solutions to Problems 15

Taking the inverse Laplace transform,

x(t) = − 18 65

cos(3t) − 1 65

sin(3t) − 3 10

e−4t^ + 15 26

e−2t

c. The Laplace transform of the differential equation is, assuming zero initial conditions, (s^2 +8s+25)x(s) = 10 s

. Solving for X(s)

X s =

s s 2 + 8 s + 25

and expanding by partial fractions,

X s =^251 s -^25

1 s + 4 + 4 9

s + 4 2 + 9 Taking the inverse Laplace transform,

x ( t ) = 2 5

− e −^4 t^^8 15

sin(3 t ) + 2 5

⎛ ⎝ cos(3 t )⎞⎠

4. a. Taking the Laplace transform with initial conditions, s^2 X(s)-2s+3+2sX(s)-4+2X(s) = (^) s (^2) +2^2 . Solving for X(s), X(s) = 2 s^

(^3) + s (^2) + 8 s + 6 ( s^2 + 4)( s^2 + 2 s + 2)

. Expanding by partial fractions

X(s) = − 1 5

s + 1 4

s 2 + 4

11(s + 1) − 3 1

(s + 1) 2 + 1 Therefore, x(t) = -0.2 cos2t - 0.1 sin2t +e-t^ (2.2 cost - 0.6 sint).

b. Taking the Laplace transform with initial conditions, s^2 X(s)-2s-1+2sX(s)-4+X(s) = (^) s+2^5 + s^12. Solving for X(s),

Therefore, x(t) = 5e-2t^ - e-t^ + 9te-t^ - 2 + t. c. Taking the Laplace transform with initial conditions, s^2 X(s)-s-2+4X(s) = (^) s^23. Solving for X(s),

16 Chapter 2: Modeling in the Frequency Domain

Therefore, x(t) =^98 cos2t + sin2t -^18 +^14 t^2. 5. Program: syms t f=5t^2cos(3t+45); pretty(f) F=laplace(f); F=simple(F); pretty(F) 'b' f=5texp(-2t)sin(4t+60); pretty(f) F=laplace(f); F=simple(F); pretty(F) Computer response: ans = a

2 5 t cos(3 t + 45) 3 2 s cos(45) - 27 s cos(45) - 9 s sin(45) + 27 sin(45) 10 ----------------------------------------------------- 2 3 (s + 9) ans = b

5 t exp(-2 t) sin(4 t + 60) sin(60) ((s + 2) sin(60) + 4 cos(60)) (s + 2) -5 ------------- + 10 ------------------------------------- 2 2 2 (s + 2) + 16 ((s + 2) + 16) 6. Program: syms s 'a' G=(s^2+3s+7)(s+2)/[(s+3)(s+4)(s^2+2s+100)]; pretty(G) g=ilaplace(G); pretty(g) 'b' G=(s^3+4s^2+6s+5)/[(s+8)(s^2+8s+3)(s^2+5*s+7)]; pretty(G) g=ilaplace(G); pretty(g) Computer response: ans = a 2

18 Chapter 2: Modeling in the Frequency Domain

Cross multiplying, (s^6 +7s^5 +3s^4 +2s^3 +s^2 +3)C(s) = (s^5 +2s^4 +4s^3 +s^2 +3)R(s). Taking the inverse Laplace transform assuming zero initial conditions, d^6 c dt^6

  • 7 d

(^5) c dt^5

  • 3 d^

(^4) c dt^4

  • 2 d

(^3) c dt^3

  • d

(^2) c dt^2

  • 3 c = d

(^5) r dt^5

  • 2 d^

(^4) r dt^4

  • 4 d

(^3) r dt^3

  • d

(^2) r dt^2

  • 3 r. 10. = s

(^4) + 2 s (^3) + 5 s (^2) + s + 1 s^5 + 3 s^4 + 2 s^3 + 4 s^2 + 5 s + 2

The transfer function is C ( s ). R ( s ) Cross multiplying, (s^5 +3s^4 +2s^3 +4s^2 +5s+2)C(s) = (s^4 +2s^3 +5s^2 +s+1)R(s). Taking the inverse Laplace transform assuming zero initial conditions, d^5 c dc^5

  • 3 d^

(^4) c dt^4

  • 2 d

(^3) c dt^3

  • 4 d

(^2) c dt^2

  • 5 dc dt

  • 2 c = d^

(^4) r dt^4

  • 2 d

(^3) r dt^3

  • 5 d

(^2) r dt^2

  • dr dt

  • r.

Substituting r(t) = t^3 , d

(^5) c dc^5

  • 3 d^

(^4) c dt^4

  • 2 d

(^3) c dt^3

  • 4 d

(^2) c dt^2

  • 5 dc dt

  • 2 c

= 18 δ (t) + (36 + 90 t + 9 t^2 + 3t^3 ) u( t ). 11. Taking the Laplace transform of the differential equation, s^2 X(s)-s+1+2sX(s)-2+3x(s)=R(s). Collecting terms, (s^2 +2s+3)X(s) = R(s)+s+1. Solving for X(s), X(s) = R ( s ) s^2 + 2 s + 3

  • s^ +^1 s^2 + 2 s + 3

.

The block diagram is then,

12. Program: 'Factored' Gzpk=zpk([-15 -26 -72],[0 -55 roots([1 5 30])' roots([1 27 52])'],5) 'Polynomial' Gp=tf(Gzpk) Computer response: ans = Factored Zero/pole/gain: 5 (s+15) (s+26) (s+72)


s (s+55) (s+24.91) (s+2.087) (s^2 + 5s + 30) ans =

Solutions to Problems 19

Polynomial Transfer function: 5 s^3 + 565 s^2 + 16710 s + 140400


s^6 + 87 s^5 + 1977 s^4 + 1.301e004 s^3 + 6.041e004 s^2 + 8.58e004 s 13. Program: 'Polynomial' Gtf=tf([1 25 20 15 42],[1 13 9 37 35 50]) 'Factored' Gzpk=zpk(Gtf) Computer response: ans = Polynomial Transfer function: s^4 + 25 s^3 + 20 s^2 + 15 s + 42


s^5 + 13 s^4 + 9 s^3 + 37 s^2 + 35 s + 50 ans = Factored Zero/pole/gain: (s+24.2) (s+1.35) (s^2 - 0.5462s + 1.286)


(s+12.5) (s^2 + 1.463s + 1.493) (s^2 - 0.964s + 2.679) 14. Program: numg=[-10 -60]; deng=[0 -40 -30 (roots([1 7 100]))' (roots([1 6 90]))']; [numg,deng]=zp2tf(numg',deng',1e4); Gtf=tf(numg,deng) G=zpk(Gtf) [r,p,k]=residue(numg,deng) Computer response: Transfer function: 10000 s^2 + 700000 s + 6e


s^7 + 83 s^6 + 2342 s^5 + 33070 s^4 + 3.735e005 s^3 + 2.106e006 s^

  • 1.08e007 s

Zero/pole/gain: 10000 (s+60) (s+10)


s (s+40) (s+30) (s^2 + 6s + 90) (s^2 + 7s + 100)

r =

-0.

2.0431 - 2.0385i 2.0431 + 2.0385i -2.3329 + 2.0690i -2.3329 - 2.0690i

p =

Solutions to Problems 21

s^7 + 115 s^6 + 4499 s^5 + 70700 s^4 + 553692 s^3 + 5.201e006 s^2 + 3.483e006 s

  • 2.75e

ans =

Ga factored

Zero/pole/gain: 45 (s+34.88) (s+26.83) (s+2.122) (s^2 + 1.17s + 0.5964)


(s+47) (s+39) (s+26.34) (s^2 + 0.6618s + 0.5695) (s^2 + 2s + 100)

ans =

(b)

ans =

Ga symbolic

3 2 (s + 14) (s + 49 s + 62 s + 53) 56 ---------------------------------------------------------- 2 2 3 2 (s + 88 s + 33) (s + 56 s + 77) (s + 81 s + 76 s + 65)

ans =

Ga polynimial

Transfer function:

56 s^4 + 3528 s^3 + 41888 s^2 + 51576 s + 41552

s^7 + 225 s^6 + 16778 s^5 + 427711 s^4 + 1.093e006 s^3 + 1.189e006 s^

  • 753676 s + 165165

ans =

Ga factored

Zero/pole/gain: 56 (s+47.72) (s+14) (s^2 + 1.276s + 1.111)


(s+87.62) (s+80.06) (s+54.59) (s+1.411) (s+0.3766) (s^2 + 0.9391s + 0.8119)

16. a. Writing the node equations, Vo^ −^ Vi s

  • Vo s

  • Vo = 0. Solve for Vo Vi

s + 2

.

b. Thevenizing,

22 Chapter 2: Modeling in the Frequency Domain

Using voltage division, Vo ( s )^ =^

Vi ( s ) 2

s 1 2

  • s + 1 s

. Thus, V Vo^ ( s ) i ( s )^

= (^2) s (^2) +^1 s + 2

17. a.

Writing mesh equations (s+1)I 1 (s) – I 2 (s) = Vi(s) -I 1 (s) + (s+2)I 2 (s) = 0 But, I 1 (s) = (s+2)I 2 (s). Substituting this in the first equation yields, (s+1)(s+2)I 2 (s) – I 2 (s) = Vi(s) or I 2 (s)/Vi(s) = 1/(s^2 + 3s + 1) But, VL(s) = sI 2 (s). Therefore, VL(s)/Vi(s) = s/(s^2 + 3s + 1).

b.

24 Chapter 2: Modeling in the Frequency Domain

I 2 ( s ) =

2 s + 1 Vi ( s ) − 1 0 2 s + 1 − 1 − 1 3 s

(^2) + s + 2 s Solving for I 2 (s)/Vi(s), I 2 ( s ) Vi ( s )

= s 6 s^3 + 5 s^2 + 4 s + 2

But Vo(s) = I 2 (s)3s. Therefore , G(s) = 3s^2 /(6s^3 + 5s^2 +4s + 2). b. Transforming the network yields,

Writing the loop equations,

( s + s s^2 + 1

) I 1 ( s ) − s s^2 + 1

I 2 ( s ) − sI 3 ( s ) = Vi ( s )

− s s^2 + 1

I 1 ( s ) + ( s s^2 + 1

s

) I 2 ( s ) − I 3 ( s ) = 0

− sI 1 ( s ) − I 2 ( s ) + (2 s + 1) I 3 ( s ) = 0 Solving for I 2 (s), I 2 ( s ) = s ( s

(^2) + 2 s + 2) s^4 + 2 s^3 + 3 s^2 + 3 s + 2

Vi ( s )

But, Vo(s) =

I 2 (s) s =^

( s^2 + 2 s + 2) s^4 + 2 s^3 + 3 s^2 + 3 s + 2

Vi ( s ). Therefore,

Vo ( s ) Vi ( s )

= s

(^2) + 2 s + 2 s^4 + 2 s^3 + 3 s^2 + 3 s + 2 19. a. Writing the nodal equations yields,

Solutions to Problems 25

VR ( s ) − Vi ( s ) 2 s

  • VR ( s ) 1

  • VR^ ( s )^ −^ VC^ ( s ) 3 s

3 s

VR ( s ) + 1 2

s + 1 3 s

⎠ VC^ ( s )^ =^0

Rewriting and simplifying,

6 s + 5 6 s

VR ( s ) − 1 3 s

VC ( s ) = 1 2 s

Vi ( s )

3 s

VR ( s ) +

3 s^2 + 2 6 s

⎠ VC^ ( s )^ =^0

Solving for VR(s) and VC(s) ,

VR ( s ) =

2 s

Vi ( s ) − 1 3 s 0 3 s

6 s 6 s + 5 6 s

3 s − 1 3 s

3 s^2 + 2 6 s

; VC ( s ) =

6 s + 5 6 s

2 s

Vi ( s )

− 1 3 s

6 s + 5 6 s

3 s − 1 3 s

3 s^2 + 2 6 s

Solving for Vo(s)/Vi(s)

Vo ( s ) Vi ( s )

= VR^ ( s )^ −^ VC^ ( s ) Vi ( s )

= 3 s

2 6 s^3 + 5 s^2 + 4 s + 2

b. Writing the nodal equations yields,

( V 1 ( s ) − Vi ( s )) s

  • ( s^

s

V 1 ( s ) + ( V 1 ( s ) − Vo ( s )) = 0

( Vo ( s ) − V 1 ( s )) + sVo ( s ) + ( Vo^ ( s )^ −^ Vi^ ( s )) s

Rewriting and simplifying,

( s + 2 s

    1. V 1 ( s ) − Vo ( s ) = 1 s

Vi ( s )

V 1 ( s ) + ( s + 1 s

    1. Vo ( s ) = 1 s

Vi ( s )

Solutions to Problems 27

%variable 's' and V. 'Mesh Equations' A2=[(2+2s) V - -(1+2s) 0 -(2+3s) -1 0 (3+3s+(5/s))] %Form Ak = A2. A=[(2+2s) -(1+2s) - -(1+2s) (7+5s) -(2+3s) -1 -(2+3s) (3+3s+(5/s))] %Form A. I2=det(A2)/det(A); %Use Cramer's Rule to solve for I2. G1=I2/V; %Form transfer function, G1(s) = I2(s)/V(s). G=4G1; %Form transfer function, G(s) = V4(s)/V(s). 'G(s) via Mesh Equations' %Display label. pretty(G) %Pretty print G(s)

'Nodal Equations' A2=[(6s^2+12s+5)/(6s^2+7s+2) V -1/(3s+2) s(V/5)] %Form Ak = A2. A=[(6s^2+12s+5)/(6s^2+7s+2) -1/(3s+2) -1/(3s+2) (1/20)(12s^2+23s+30)/(3s+2)] %Form A. I2=simple(det(A2))/simple(det(A)); %Use Cramer's Rule to solve for I2. G1=I2/V; %Form transfer function, G1(s) = I2(s)/V(s). 'G(s) via Nodal Equations' %Display label. pretty(G) %Pretty print G(s)

Computer response: ans =

Mesh Equations

A2 =

[ 2+2s, V, -1] [ -1-2s, 0, -2-3s] [ -1, 0, 3+3s+5/s]

A =

[ 2+2s, -1-2s, -1] [ -1-2s, 7+5s, -2-3s] [ -1, -2-3s, 3+3*s+5/s]

ans =

G(s) via Mesh Equations

2 3 15 s + 12 s + 5 + 6 s 4 -------------------------- 2 3 120 s + 78 s + 65 + 24 s

ans =

Nodal Equations

A2 =

[ (6s^2+12s+5)/(2+7s+6s^2), V] [ -1/(2+3s), 1/5s*V]

A =

28 Chapter 2: Modeling in the Frequency Domain

[ (6s^2+12s+5)/(2+7s+6s^2), -1/(2+3s)] [ -1/(2+3s), (3/5s^2+23/20s+3/2)/(2+3*s)] ans = G(s) via Nodal Equations 2 3 15 s + 12 s + 5 + 6 s 4 -------------------------- 3 2 24 s + 78 s + 120 s + 65 21. a.

Z 1 ( s ) = 5 x 10 5 + 10

6 s Z 2 ( s ) = 10 5 + 10

6 s Therefore,

  • Z Z^2 s 1 s^

= -^15 s + 10s + 2 b. Z 1 s 100000 1 1 ×10 −^6 s

= + = 100000 s^ +^10 s Z 2 s 100000 1 1 ×10 −^6 s + 1000001

= + = 100000 s^ +^20 s + 10 Therefore,

G s Z^2 Z 1

= − = s^ +^20 s s + 102

− 22. a. Z 1 s 200000 1 1 ×10 −^6 s

= +

Z 2 s 100000 1 1 ×10 −^6 s

= +

Therefore, G s Z^1 +Z^2 Z 1

= = (^32)

s +^203 s + 5

.

30 Chapter 2: Modeling in the Frequency Domain

2 x 1 ( s ) − 2 x 2 ( s ) = F ( s ) − 2 X 1 ( s ) + (5 s + 2) X 2 ( s ) − 5 sX 3 ( s ) = 0 − 5 sX 2 ( s ) + (10 s^2 + 7 s ) X 3 ( s ) = 0

Solving for X 2 (s),

X 2 (s) = ⎪ ⎪ ⎪

5s 2 +10 - -10 51 s+

⎪ ⎪ ⎪

⎪ ⎪ ⎪

5s 2 +10 F(s) -10 0

⎪ ⎪ ⎪ (^) = s(s 2 +50s+2)

10F(s)

Thus, X^2 ( s ) F ( s )

(10 s + 7) s (5 s + 1) 26. s 2 + 3 s + 2 X 1 s− s + 1 X 2 s = 0 − s + 1 X 1 s+ s 2 + 2 s + 1 X 2 s =F s

Solving for X 1 (s); X 1

0 −s + 1 F s^2 + 2 s + 1 s^2 + 3 s + 2 −s + 1 − s + 1 s^2 + 2 s + 1

= = F^ s s 3 + 4 s 2 + 4 s + 1

. Thus, X^1 F s

1 s 3 + 4 s 2 + 4 s + 1

=

27. Writing the equations of motion, ( s^2 + s + 1) X 1 ( s ) − sX 2 ( s ) = 0 − sX 1 ( s ) + ( s^2 + 2 s + 1) X 2 ( s ) − X 3 ( s ) = F ( s ) − X 2 ( s ) + ( s^2 + s + 1) X 3 ( s ) = 0 Solving for X 3 ( s ),

X 3 ( s ) =

( s^2 + s + 1) − s 0 − s ( s^2 + 2 s + 1) F ( s ) 0 − 1 0 ( s^2 + s + 1) − s 0 − s ( s^2 + 2 s + 1) − 1 0 − 1 ( s^2 + s + 1)

= F ( s ) s ( s^3 + 3 s^2 + 3 s + 3)

Solutions to Problems 31

From which, X^3 ( s ) F ( s )

s ( s^3 + 3 s^2 + 3 s + 3)

.

28. a. (s 2 + 2s + 1)X 1 (s) − 2sX 2 (s) − X 3 (s) = F(s) −2sX 1 (s) + (s 2 + 4s)X 2 (s) − sX 3 (s) = 0 − X 1 (s) − sX 2 (s) + (s + 1)X 3 (s) = 0 Solving for X 2 (s),

X 2 (s) =

(s 2 + 2s + 1) F(s) − 1 −2s 0 −s − 1 0 s + 1 ∆

−F(s)

−2s −s − 1 s + 1 ∆ or, X 2 (s) F(s)

= 2s^ +^3 s(s 3 + 6s 2 + 9s + 3) b. (4s 2 + s+ 4) X 1 (s) − (s+ 1) X 2 (s) − 3X 3 (s) = 0 −(s+ 1) X 1 (s) + (2s 2 + 5s+ 1) X 2 (s) − 4sX 3 (s) = F(s) −3X 1 (s) − 4sX 2 (s) + (4s+ 3) X 3 (s) = 0 Solving for X 3 (s),

X 3 (s) =

(4s 2 + s+ 4) −(s+ 1) 0 −(s+ 1) (2s 2 + 5s+ 1) F(s) − 3 −4s 0 ∆

− F(s)(4s^

(^2) + s+ 4) −(s+ 1) − 3 −4s ∆ or X 3 (s) F(s) =^

16s^3 + 4s 2 + 19s + 3 32s 5 + 48s 4 +114 s^3 + 18s 2 29. Writing the equations of motion, ( s^2 + 2 s + 2) X 1 ( s ) − X 2 ( s ) − sX 3 ( s ) = 0 − X 1 ( s ) + ( s^2 + s + 1) X 2 ( s ) − sX 3 ( s ) = F ( s ) − sX 1 ( s ) − sX 2 ( s ) + ( s^2 + 2 s + 1) = 0