CHAPTER 1 1.1-1. (a) Show that the transfer function of two systems in parallel, as shown in Fig. P1.1-l(a), is equal to the sum of the transfer functions. (b) Show that the transfer function of two systems in series (cascade), as shown in Fig. Pl.1-l(b), is equal to the product of the transfer functions. G1(s) + E(s) C(s) + G2(s) (a) E(s) G1(s) M(s) G2(s) C(s) (b) Fig. P1.1-1 Solution: (a) C( s) ! (b) 1.1-2. C (s) E (s ) C ( s) ! = = G1 (s )E (s ) + G2 (s )E (s ) = [G1 (s ) + G2 (s )]E (s ) = G2 (s )M ( s ) C (s ) E (s) G1 (s ) + G2 (s ) = = G1 (s )G2 (s ) G1 (s )G2 (s ) By writing algebraic equations and eliminating variables, calculate the transfer function for the system of: (a) Figure P1.1-2(a). (b) Figure P1.1-2(b). (c) Figure P1.1-2(c). ( ) R(s) R(s) E(s) + M(s) Gc(s) C(s) Gp(s) - H(s) (a) G2(s) R(s) E(s) + + + G1(s) M(s) C(s) G3(s) - H(s) (b) R(s) E(s) + M(s) G1(s) C(s) G2(s) - H2(s) + + H1(s) (c) Fig. P1.1-2 Solution: (a) C (s) = G p ( s )M (s ) = Gc (s )G p (s )E (s ) = Gc (s )G p (s )[R (s ) ! H (s )C (s )] [1 + Gc (s )G p (s )H (s )]C (s ) = Gc (s )G p (s )R (s ) ! C ( s) R ( s) (b) = 3 = Gc ( s)G p ( s) 1 + Gc ( s) Gp ( s) H( s) ( s) M (s ) = G3 ( s)[G1 (s ) E (s ) + G2 ( s) R( s)] G3 ( s)G1 (s )[R (s ) ! H (s )C (s )] + G2 (s )G3 (s )R (s ) [1 + G1 ( s)G3 (s )H (s )]C (s ) = [G1 (s ) + G2 (s )]G3 (s )R (s ) ! (c) C ( s) R( s) = [G1 ( s) + G2 ( s)]G3 ( s) 1 + G1 ( s)G3 ( s) H ( s) C( s) = G2 (s )M (s ) and M ( s) = C ( s) R( s) = G1 (s)G2 (s )E (s ) = G1 (s )G2 (s )[R (s )! H 2 (s )M (s )! H1 (s )C (s C (s ) G2 (s ) ! GG H # $1 + 1 2 2 G2 & ! = " + G1G2 H1 % C (s ) ' = G1G2 R (s ) G1 ( s)G2 ( s) 1 + G1 ( s) H 2 ( s) + G1( s)G2 ( s) H1( s) )] 1.1-3. Use Mason’s gain formula of Appendix II to verify the results of Problem 1.1-2 for the system of: (a) Figure P1.1-2(a). (b) Figure P1.1-2(b). (c) Figure P1.1-2(c). Solution: (a) (c) 1.1-4. C ( s) R( s) C (s) R( s ) = = Gc ( s )G p ( s) (b) 1 + Gc ( s) G p ( s) H( s) C ( s) R (s ) = G1 ( s)G3 (s ) + G2 (s )G3(s ) 1 + G1 (s )G3 (s )H (s ) G1 (s )G2 (s ) 1 + G1 (s )H 2 (s ) + G1 (s )G2 (s )H 1 (s ) A feedback control system is illustrated in Fig. P1.1-4. The plant transfer function is given by G p (s) = 5 0 .2 s + 1 Compensator R(s) E(s) + Gc(s) Plant M(s) Gp(s) C(s) - Sensor H(s) Fig. P1.1-4 (a) Write the differential equation of the plant. This equation relates () and ( ). (b) Modify the equation of part (a) to yield the system differential equation; this equation relates () c t and ( ) . The compensator and sensor transfer functions are given by c (s) = () 10 , H s = 1 (c) Derive the system transfer function from the results of part (b). (d) It is shown in Problem 1.1-2(a) that the closed-loop transfer function of the system of Fig. P1.1-4 is given by C ( s) R (s) Gc ( s) G p (s) = 1+ Gc (s)G P (s) H (s) Use this relationship to verify the results of part (c). (e) Recall that the transfer-function pole term ( ) yields a time constant real. Find the time constants for both the open-loop and closed-loop systems. Solution: (a) G p (s) = C (s) M (s ) = 5 0.2s + 1 = 25 s +5 ! (s + 5)C (s) = 25M (s) , where a is ! dc(t ) + dt 5c(t ) = 25m(t ) (b) (c) 5C(s) + 255C(s) = 250R( s ) ! (d) C (s) R( s ) C ( s) R( s) = 250 s + 255 25 s+5 25 1 + (10) (1) s+5 (10) = (e) open-loop: ! = closed-loop: 1.1-5. ! = 250 s + 255 0.2s = 1 255 = 0.00392 s Repeat Problem 1.1-4 with the transfer functions Gc ( s) = 2 , G p (s) = 3s + 8 s 2 + 2s + 2 , H ( s) = 1 For part (e), recall that the transfer-function underdamped pole term constant, . Solution: (a) G(s) ! ( s2 = + C ( s) M (s) 3s + 8 = s 2 + 2s + 2 2 s + 2) C ( s) = (3s + 8) M ( s) !!(t ) + 2c!(t ) + 2 c(t ) = c (b) m(t ) = 2e(t ) = ! (t ) + 8m(t ) 3m 2[r (t ) ! c(t )] (c) (s2 + 8s + 18)C(s) = (6s + 16)R(s) ! (d) C (s ) R( s ) C ( s) R( s ) = 6s + 16 s 2 + (2) = 1 + (2) 8s + 18 3s + 8 s 2 s 2 2s + 2 3s + 8 + + 2s + 2 = (1) 6s + 16 s 2 + 8s + 18 ( 2 ) 2 +b ] yields a time (e) open-loop: s2 + 2s + 2 ! " s #t 1 closed-loop: s2 cos( t + + 8s + 18 ! 2 1.1-6. = "1 ± " #4 t j $1 ); % = 1 1 = 1s s = "4 ± j 2 cos( 2t + $2 ); % = 1 4 = 0.25s Repeat Problem 1.1-4 with the transfer functions Gc ( s) = 2 , G p (s) = 5 s 2 + 2s + 2 , H ( s) = 3s + 1 Solution: (a) G (s ) C ( s) = M (s) = 5 s 2 ! 2s + 2 + (b) E (s ) = (c) (s 2 32s + 12)C (s) = 10R(s) ! (d) + C ( s) R(s) C ( s) R(s ) = s + 32s + 12 (2) = 1 + (2) 1.4-1. = 2s + 2)C (s ) = 5M (s) 10 2 5 s 2 + 1 31.62 2s + 2 5 s 2 + 2s + 2 = (3s + 1) 10 s 2 + 32s + 12 , from Problem 1.1-5(e) closed-loop: poles 1 + R (s ) ! (3s + 1)C (s ) (e) open-loop: !" (s 2 = = !16 ± 244 = !31.62, ! 0.38 0.0316s; " 2 = 1 0.38 = 2.63s The satellite of Section 1.4 is connected in the closed-loop control system shown in Fig. P1.4-1. The torque is directly proportional to the error signal. w(t) Thrusters Thrusters (a) Ampli �ers and thrusters ®c(s) E(s) + - T(s) 1 Torque 2 Js K Error Satellite ®(s) Sensor H(s) = 1 (b) Fig. P1.4-1 (a) Derive the transfer function c ( ) , where ! (t) s = "1 $ ' is the commanded attitude %&#( s )() L angle. (b) The state equations for the satellite are derived in Section 1.4. Modify these equations to model the closed-loop system of Fig. P1.4-1. Solution: (a) !( s) 1 = Js " $ # " 1+ 1 2 (t ) Js K Js = ! c ( s) (b) K = % ' (( s) = & 2 !( s) T ( s) 2 = = K Js 2 K = J Js 2 [ !c ( s) " !( s)] K J = s 2 + K J 2 1 = = ( c ( s) 0; (1 ! 5): x2 !! "(t ) K E( s) 2 K Js 2 J #( t ) = K = J ! " = e(t ) [!c (t ) ! x1 (t )] !1 x K = J ["c (t ) $ " (t )] " $ $ # y(t ) 1.4-2. (t ) % " '=$ x!2 (t ) ' & $# 1 = " 1 %$ ' 0 '& $ % " '+$ x2 (t ) ' $ # & # 0 K J x1 (t ) 0 K J % '" c (t ) '& [1 0]x (t ) (a) In the system of Problem 1.4-1, J = 0.4 and K = 14.4, in appropriate units. The attitude of the satellite is initially at 0°. At t = 0, the attitude is commanded to 20°; that is, a 20° step is applied at t = 0. Find the response !(t). (b) Repeat part (a), with the initial conditions !(0) = 10° and . Note that we have ( ) = 30° / s assumed that the units of time for the system is seconds. (c) Verify the solution in part (b) by first checking the initial conditions and then substituting the solution into the system differential equation. Solution: (a) From Problem 1.4-1, c 2 # + = 20 s 36 20s 2 = " #( s) 20 + s s 2 + s s( s 2 + 36 2 + $ #(t ) + c ! (0) 36)"( s ) # s$(0) # $ 2 + 36 s 20 = s s (c) !(0) = s ! 720 = 720 2 + 36 s 2 s 2 + 36 s 2 + 0, 20[1 ! cos 6t ], 30 + s 2 + 36 30 + 2 !b = + 36 10s + s c 36 10 s ! 20 " 10 = 10° From (b), + ; as + b 36" ( s ) = 20s ! 20 = 2 s + (t ) 10s " c ( s) + 20 = + bs = 36 + 36) (b) From (a), 2 2 36) 720 + as 2 !20s + (s) 720 = s(s 36 = + 36 30 + s 2 + 36 36 a t 20 = " % 0 1.4-3. The input to the satellite system of Fig. P1.4-1 is a step function c result, the satellite angle () (t) = () 5u t in degrees. As a varies sinusoidally at a frequency of 10 cycles per minute. Find the amplifier gain K and the moment of inertia J for the system, assuming that the units of time in the system differential equation are seconds. Solution: From Problem 1.4-1, s ! "( s) = 5 10 cy min # + s s K J 2 +a a = (s 2 2 5 a + 2 )s , a 2 K J = 2 1min = 5 5s # s 1.4-4. 2 " 60 s 1 = K J, 6 ! 1 " rad & '6( s cy s $ 2! % ! a = K and J cannot be determined without additional data. The satellite control system of Fig. P1.4-1 is not usable, since the response to any excitation includes an undamped sinusoid. The usual compensation for this system involves measuring the angular velocity . The feedback signal is then a linear sum of the position signal and () the velocity signal () dt () dt . This system is depicted in Fig. P1.4-4, and is said to have rate feedback. Satellite R(s) + T E ® 1 K s Js - ® 1 Kv + + Fig. P1.4-4 (a) Derive the transfer function c ( s) for this system. (b) The state equations for the satellite are derived in Section 1.4. Modify these equations to model the closed-loop system of Fig. P1.4-4. (c) The state equations in part (b) can be expressed as ( ) = Ax (t) + B! (t) c The system characteristic equation is !A Show that = 0 in part (b) is equal to the transfer function denominator in part (a). !A Solution: 1 ! (s) ! (a) 2 = Js K T ( s) 2 = Ts 2 [! c ( s) " [" c ( s) # ( K v s + 1)"( s)] K c (b) 1 (t ) 2 ( s) = (t ) = Js 2 + !! "(t ) v 1 = J # % %$ (c) 1.5-1. K J KK s ! (t ); x2 (t ) = ! (s) " ! (s)] Kv! = + K x (t ) 1 ! #(t ) J " KKv S + s = K = = 2 + KK v J s+ K J ! (t ) [" c (t ) $ J K v x2 (t ) $ x1 (t )] & # ( x(t ) + % (' %$ KKv J = s 2 + & ( )c ( t ) (' 0 K J KK v J s+ K J The antenna positioning system described in Section 1.5 is shown in Fig. P1.5–1. In this problem we consider the yaw angle control system, where is the yaw angle. Suppose that the gain of () the power amplifier is 10 V/V, and that the gear ratio and the angle sensor (the shaft encoder and the data hold) are such that o where the units of o (t) are volts and of (t) = () () 0.04 ! t are degrees. Let motor; the transfer function of the motor pedestal is given as ( ) = 20 E ( s) s (s + 6) () be the input voltage to the Side view of pedestal Difference ampli �er vi Gears Motor voltage vi - vo Voltage proportional to desired angle h(t) Antenna Power ampli �er Error Motor e(t) vo Voltage proportional to angle Shaft encoder Data hold Binary code Motor shaft w(t) Top view of pedestal (a) Input gain ®1(s) Power ampli �er Vi (s) + Motor/antenna ®(s) E(s) K - Sensor Vo(s) (b) Fig. P1.5-1 (a) With the system open loop [ o the motor ! "# () = 1 s&$ % (t) is always zero], a unit step function of voltage is applied to . Consider only the steady-state response. Find the output angle degrees, and the angular velocity of the antenna pedestal, () () in , in both degrees per second and rpm. (b) The system block diagram is given in Fig. P1.5-1(b), with the angle signals shown in degrees and the voltages in volts. Add the required gains and the transfer functions to this block diagram. (c) Make the changes necessary in the gains in part (b) such that the units of are radians. () (d) A step input of i (t) = 10° is applied at the system input at . Find the response (e) The response in part (d) reaches steady state in approximately how many seconds? Solution: (a) 2 ( s + 6) = 3.33 s 2 k + s + 59 s+6 () . ! 20 $ #s + 6& " %s ss ss (t ) (t ) '20 = = (s + 6) 0 $ 5' &% 3.33t # 9 )( = '5 = 2 s =0 9 in degrees 3.33 deg/ s = " 60s 1 min 1rcv " 360° 5 = 9 rpm (b) Ki ∫i(s) Gi Vi(s) 0.04 + E(s) 10 ∫(s) 20 s (s + - 6) deg H VO(s) 0.04 ! (c) 1 degree = rad 180 ∫i(s) Vi(s) 0.04 + E(s) 10 20 s (s + - VO(s) 180 0.04 ∫i(s) Vi(s) + 0.04 10 r r r E(s) (d) (0.04)(10) !( s) !i ( s) "( s) = s (s + = 1 + (0.04)(10) 8 ( s + 2)( s + 4) (e) ! # t " $ 1 = "1 2, !2t "1 = s 2 + 6s + 8 s ( s + 6) 10 = 10 s + 8 = 20 # " !(t ) = 10 ! 20# 36 5r 20 s ( s + 6) 0.5, s + s !4t 10e "2 , t $ = !20 + 1 2 10 + s + 4 0 4 = 0.25, % tss & 4(0.5) = ∫(s) 9 - VO(s) 180 6) 2s 6) ∫(s) rad 1.5-2. The state-variable model of a servomotor is given in Section 1.5. Expand these state equations to model the antenna pointing system of Problem 1.5-1(b). Solution: From Eqn. (1-15) JRa T = ! BRa + KT K b $ s# s + &% JRa " 1 2 = "; x 2 ! " = = s( s + 6) , ' KT JRa = 20; BRa + KT K b JRa = 6 !1 x "(t ) = !6 x2 (t ) + 20e(t ) (t ) = !! 2 (t ) + 20(10[0.04" i (t ) ! 0.04"(t )]) 2 (t ) + 8" i (t ) ! 8 x1 (t ) i 1.5-3. 20 (a) Find the transfer function (t ) ( ) / ! ( s) for the antenna pointing system of Problem 1.5-1(b). i This transfer function yields the angle in degrees. () (b) Modify the transfer function in part (a) such that use of the modified transfer function yields in radians. () (c) Verify the results of part (b) using the block diagram of Problem 1.5-1(b). Solution: (a) From Problem 1.5-1(d), i (b) 1 deg = i (c) i (s ) ( s) = ( ! 180 ) s 2 + s 2 + 6s + 8 rad 8 = (s) 8 = # 6s + 8 K iG1G2 1 + G1G2 H 2 $ 45 $ 180 = 2 s + 6s + 8 " (9 % " 1% $# 25 '& (10) $# s( s + 6) '& = ( ( 9) " 36 % 1 + (10) $ ' s( s + 6) # 5( & = 2 ( 45 s 2 + 6s + 8 1.5-4. Shown in Fig. P1.5-4 is the block diagram of one joint of a robot arm. This system is described in Section 1.5. The input is the controlling signal, is the servomotor input voltage, () is the motor shaft angle, and the output () s m a () s a ( s) is the angle of the arm. The inductance of the armature of the servomotor has been neglected such that the servomotor transfer function is second order. The servomotor transfer function includes the inertia of both the gears and the robot arm. Derive the transfer functions and a ( s) / M ( s ) Power ampli�er a (s ) / E a Servomotor Ea M K Gears ®m 200 0.5 s + 1 (s). 1 1 100 s ®a Fig. P1.5-4 Solution: a 1 ( s) = 100 a ( s) M (s) 1.5-5. 1 ! m (s ) 100s ! ( s) ! m 2K = s(0.5s + 1) ; 2 = s(0.5s " a (s) E a (s) = E + 1) a ( s) = 2K s(0.5s + 1) M ( s) 2 s(0.5s + 1) Consider the robot arm depicted in Fig. P1.5-4. (a) Suppose that the units of are volts, that the units of both a (t) m (t) and a (t) are degrees, and that the units of time are seconds. If the servomotor is rated at 24 V [the voltage a (t) should be less than or equal to 24 V], find the rated rpm of the motor (the motor rpm, in steady state, with 24 V applied). (b) Find the maximum rate of movement of the robot arm, in degrees per seco nd, with a step voltage of volts applied. a (t) (c) Assume that a = (t) () 24u t is a step function of 24 V. Give the time required for the arm to be moving at 99 percent of the maximum rate of movement found in part (b). (d) Suppose that the input is constrained by system hardware to be less than or equal to 10 V () in magnitude. What value would you choose for the gain K. Why? Solution: (a) a ( s) = ! 2 0.5s + 1 48 s+ ass " 2 24 s ! (t ) "# a (t ) = 48° s # 48 = = s(0.5s + 2) 48 ! 48$ !2t , 60s 1min # 1rev 360° = = t 96 s( s + % 0 8 rpm 2) = k1 s + k2 s+ 2 mss (t ) = 100 "! a (t ) = (b) From (a), a (t ) = 48° (c) From (a), a (t ) "2 t 1 = (d) 1.6-1. a (t ) s 48(1 " # "2t ), = 0.01 # 2t1 800rpm = = 4.60 # t1 t $ 0 2.30s = 24V , rated voltage A thermal test chamber is illustrated in Fig. P1.6-1(a). This chamber, which is a large room, is used to test large devices under various thermal stresses. The chamber is heated with steam, which is controlled by an electrically activated valve. The temperature of the chamber is measured by a sensor based on a thermistor, which is a semiconductor resistor whose resistance varies with temperature. Opening the door into the chamber affects the chamber temperature and thus must be considered as a disturbance. A simplified model of the test chamber is shown in Fig. P1.6-1(b), with the units of time in minutes. The control input is the voltage , which controls the valve in the steam line, as () shown. For the disturbance With the door closed, () () = , a unit step function is used to model the opening of the door. 0. To sensor circuits RT Door Valve Thermistor Steam line Voltage e(t) Thermal chamber (a) Chamber Disturbance 2.5 0.5 d(t) s+ Voltage 2 s + 0.5 e(t) + c(t) Sensor Voltage 5 Temperature, C 0.04 (b) Fig. P1.6-1 (a) Find the time constant of the chamber. (b) With the controlling voltage () chamber temperature = () 5u t and the chamber door closed, find and plot the . In addition, give the steady-state temperature. () (c) A tacit assumption in part (a) is an initial chamber temperature of zero degrees Celsius. Repeat part (b), assuming that the initial chamber temperature is . ( ) = 25°C (d) Two minutes after the application of the voltage in part (c), the door is opened, and it remains open. Add the effects of this disturbance to the plot of part (c). (e) The door in part (d) remains open for 12 min. and is then closed. Add the effects of this disturbance to the plot of part (d). Solution: (a) (b) G( s ) C ( s) = = " c(t ) 2 s + K = 0.5 2 s = css (t ) = " 0.5 + !s + 5 s = = 1 20 s 20(1 ! #!0.5t ), K ! + 1! s + t $ ; "! = 2 min 20 ! s + 0.5 0 20°C C(t) 20 0 (c) 0 C (s) E ( s) 8 = t, min 2 s + 0.5 sC(s) ! c(0) + 0.5C (s ) = 2E (s ) from(b) + !# # "## $ c(0) " s + 0.5 #0.5t ,t $ c(t ) = 20(1 # $ 0 C(t) 25 20 0 20 0 8 t, (d) Disturbance response: Cd ( s ) = !2.5 s + 0.5 1 ! s = !5 s + 5 s + 0.5 min 0.5t # ) + 25e 0.5t # "c d ! (t ) ( 5 1! # ! = ) u(t 0.5(t ! 2) ! 2), since door opened at ! t0 = 2. from (c) and (d), ( 0.5t " ) ( u( t ) " 5 1" ! 0.5( t " 2) " ) u( t " 2) C(t) (e) 20 10 0 (e) (12) = 20 + 5e c 0 6 ! 4 ! 5 + 5e 5 ! " 8 12 t, min 15 From (c), with c(0) = 15 ( c1 (t ) = $ c(t ) 1.6-2. 20 1 ! " 0.5t ! ) + 15" 0.5t ! = 20 ! 5e 0.5t ! " 20 ! 5% !0.5( !12) # u(t ! 12), t & 12 ' ( t = The thermal chamber transfer function ( ) E (s) = 2 (s + 0.5) of Problem 1.6-1 is based on the units of time being minutes. (a) Modify this transfer function to yield the chamber temperature (b) Verify the result in part (a) by solving for () () based on seconds. with the door closed and the input () = () 5u t volts, (i) using the chamber transfer function found in part (a), and (ii) using the transfer function of Fig. P1.6-1. Show that (i) and (ii) yield the same temperature at min. Solution: (a) ! C (s ) E (s) 4 K = #s + 1 = 4 " 2s + 1 120s + 1 (b) (i) From Problem 1.1-4(b), c(t ) "c (1) (ii) C (s ) " c(t ) c (1) = = = ( 20 1 ! # = 0.5 ! + 0.00833 " ( 5 s ) 20 1 ! # !0.00833t , t ( 20 1 ! " 0.00833(60) ! s + 0.00833 ( ) = = $ 20 s + t 20 ! s + 0.00833 0 ( 20 1 ! " ) 20 1 ! " !0.5 , ) 0.0333 s = 0.0333 = 0.5 ! ) t # 0