8 Pages

hw6sln

Course: HW 599, Fall 2009
School: Kentucky
Rating:
 
 
 
 
 

Word Count: 1035

Document Preview

Monday, Due February 11 EE/MFS 599 HW#6 In our controls system lab, we have a DC Servo motor called the Motomatic. We would like to design a controller for this DC servo using the following block diagram: I= F C onstant + a Ra + I a L a V out + d V m K = b b dt + Vg 1/Na + V ax m vin V a J T , m m F out Vi m n - - We can operate the Motomatic in either velocity mode or position mode. If we operate...

Register Now

Unformatted Document Excerpt

Coursehero >> Kentucky >> Kentucky >> HW 599

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Monday, Due February 11 EE/MFS 599 HW#6 In our controls system lab, we have a DC Servo motor called the Motomatic. We would like to design a controller for this DC servo using the following block diagram: I= F C onstant + a Ra + I a L a V out + d V m K = b b dt + Vg 1/Na + V ax m vin V a J T , m m F out Vi m n - - We can operate the Motomatic in either velocity mode or position mode. If we operate in velocity mode, the Motomatic is approximately a first order system. The open-loop unit step response of the Motomatic in velocity mode is given below Unit Step Response for Motomatic 14 12 10 Vg (Volts) 8 6 4 2 0 0 0.2 0.4 0.6 0.8 1 1.2 time (sec) 1.4 1.6 1.8 2 1.a) Find the transfer function, G(s), then find the value of Kp, Kv, and ess due to a step and ess due to a ramp Ans: From the step response, G(s) = K/(Ts+1) where K = 13 and T = 1.2 seconds. Thus, G(s) = 13/(1.2s+1). Kp = 13/1.2 = 10.833 and Kv = 0. Therefore, ess due to a step = 1/(1+Kp) = 0.0845 and ess due to a ramp is infinite. b) Design a PI compensator, GPI(s) to meet the following specs: 1) ts < 0.4 seconds 2) Mp < 5% 3) ess due to a step = 0 Ans: We need a PI compensator to meet the 3rd criterion (i.e., we need a Type 1 system). The first specification means that the dominant poles have to be to the left of the line = -0.4/4 = -10. The second means that the damping ratio should be less than 0.707 (which produces 4.32% overshoot according to Mohannad). Lets pick s1=-11+j11. Gpi = Kp + Ki/s = K(s+z)/s where K=Kp and z= Ki/Kp. To design the PI, we lump the 1/s term in with G(s) and solve K(s1+z) = -1/[G(s1)/s1] = 0.8462 +j21.4923. Thus, K = 21.49/11 = 1.9538 and z = 0.8462/K +11 = 11.4331. So Kp = K = 1.954 and Ki = z*Kp = 22.339 c) Ans: Simulate your closed-loop design on Matlab EE/MFS 599: Closed-Loop PI Compensated Step response for Motomatic 1.4 1.2 1 0.8 y(t) 0.6 0.4 0.2 0 0 0.1 0.2 0.3 0.4 0.5 0.6 time (sec) 0.7 0.8 0.9 1 The overshoot is much greater than expected (19% versus 4.32%) and the settling time is actually less than expected (0.31 seconds vers 4/11 = 0.364 seconds). d) If your step response does not meet all the specifications, comment on why Ans: Again, the presence of the zero at -11.431 causes extra overshoot to occur just as in HW#5 2. a) Design a PID compensator to meet the following specs: 1) ts < 0.2 seconds 2) Mp < 5% 3) ess due to a ramp = 1/50 Ans: The specification we address first in the PID design is the steady-state error spec (number 3). Recall, Gpid = Kp + Ki/s + Kds. Our desired Kv = 50 = Ki*13/1.2 . Thus, the necessary Ki = 50*1.2.13 = 4.6154. Next, we can address the transient specifications. The first specification means that the dominant poles have to be to the left of the line = -0.2/4 = -20. The second means that the damping ratio should be less than 0.707 (which produces 4.32% overshoot according to Mohannad). Lets pick s1=-21+j21. Thus, Gpid(s1) = Kp + Ki/s1 +Kds1 = -1/G(s1). When we lump the Ki/s1 term on the right hand side we have Kp+Kds1 = -Ki/s1 -1/G(s1) = 1.9714 - 1.8286. Equating real and imaginary parts we find that Kd = -1.8286/21 = -0.0871 and Kp = 1.9714 Kd(-21) = 0.1429. Thus, the entire PID compensator is given by: Gpid(s) = Kp + Ki/s +Kds = 0.1429 + 4.6154/s + -0.0871s b) Simulate your design on Matlab Ans: EE/MFS 599: Closed-Loop Compensated PID Step response for Motomatic 5 0 -5 y(t) -10 -15 -20 0 0.1 0.2 0.3 0.4 0.5 0.6 time (sec) 0.7 0.8 0.9 1 EE/MFS 599: Closed-Loop PID Compensated Ramp response for Motomatic 1 0.8 0.6 0.4 y(t) 0.2 0 -0.2 -0.4 0 0.1 0.2 0.3 0.4 0.5 0.6 time (sec) 0.7 0.8 0.9 1 c) If your step response does not meet all the specifications, comment on why Ans: While the closed loop poles are definitely at -21+j21, the PID has added two zeroes to the system. If we take the roots of Kds2+Kps+Ki for our values we find that we have added a zero at 8.1468 and one at -6.5062. The zero in the RHP at 8.1468 is causing the initial instability that we see. There is significant undershoot and the overshoot is about 400%. The settling time is very close to 0.2 seconds as expected. In terms of the ramp response, the steady-state error is about 0.017 which is very close to our theoretical value of 1/50 = 0.02 The Bode Plot for the Motomatic in Position mode is given on the next page. number is q=1 because the slope at low frequencies is -20 dB/decade. Finally, at frequencies below the breakpoints, G(s) = K/s. If we pick =1, then the magnitude is about 33 dB or 44.67. Thus K/(1.0) = 44.67 or K = 44.67. Thus, in position mode, our transfer function for the Motomatic is G(s) = 44.67/[s(s/5+1) (s/1100+1)]. Kp is infinite and Kv = 44.67. Thus, ess for a step is zero and ess for a ramp is 1/44.67 = 0.0224 e) Use the 2nd Ziegler-Nichols method described in class to tune a PID controller for this system (i.e., find the gain K0 that makes the closed-loop system marginally stable then record this gain and the period of oscillation) Ans: For a K0 =1 we obtain the following closed-loop unity-feedback response: d) Find the new transfer function, G(s), then find the value of Kp, Kv, and ess due to a step and ess due to a ramp Ans: G(s) = K/[sq(s/1+1) (s/2+1)]. From the intersection of the asymptotes, we see that 1=5 and 2=1100. We also see that the type 1.6 1.4 1.2 1 0.8 0.6 0.4 ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

Kentucky - EEMFS - 599
Due Wednesday, February 20EE/MFS599D(s) = 1/s TsHW#8W(s) + + Gc (z)G zoh(s)10 s+6Y(s)1. a)Ts = 10 msec Re-write the problem so it is completely in the s-domainSolution: Gzoh = 1/[(Ts/2)s+1] = 1/[0.005s+1]b)Make the disturbance
Kentucky - HW - 599
Due Wednesday, February 20EE/MFS599D(s) = 1/s TsHW#8W(s) + + Gc (z)G zoh(s)10 s+6Y(s)1. a)Ts = 10 msec Re-write the problem so it is completely in the s-domainSolution: Gzoh = 1/[(Ts/2)s+1] = 1/[0.005s+1]b)Make the disturbance
Kentucky - EEMFS - 599
Due Wednesday, January 30 You may use Matlab/simulink wherever applicable 1. a)EE/MFS 599HW #3Plot the step responses of the following first order systems with a transmission zeroes. Can you see the effect of the zero? How about on part ii)? i)
Kentucky - HW - 599
Due Wednesday, January 30 You may use Matlab/simulink wherever applicable 1. a)EE/MFS 599HW #3Plot the step responses of the following first order systems with a transmission zeroes. Can you see the effect of the zero? How about on part ii)? i)
Kentucky - EEMFS - 599
Due Wednesday, February 13EEMFS 599HW #161. Given the following digital control system for a servo with open-loop transfer function G(s) = 10/(s(s+8):T W(s) + G c (z) G zoh(z)s10 s(s + 8)Y(s)a) b)Find an S-domain model for the open-lo
Kentucky - HW - 599
Due Wednesday, February 13EEMFS 599HW #161. Given the following digital control system for a servo with open-loop transfer function G(s) = 10/(s(s+8):T W(s) + G c (z) G zoh(z)s10 s(s + 8)Y(s)a) b)Find an S-domain model for the open-lo
Kentucky - EE - 571
EE571 - Solution to HW#18w + K (s+2)(s+3)(s+5) y1. a) System:s3Char. Equation: 1+GH = 0 = s +10s +31s+(30+K). Our Routh Array looks like:3 21 101031-1( 30 + K ) 1031 30 + K 0s s s2 1 030 + KThus, to be stable the Routh Array canno
Kentucky - EE - 571
EE571 Solution to HW#25 1. a) Realize the following compensators using op-amps, 1 F capacitors, and resistors: i)SF : G 1 W (s) 1 14 -1/s 1 5 Y (s)Gc (s) = 5(s+6)/(s+20) =5[1 +-14/(s+20)](note: all capacitors are 1 F )25 1M O mC p-A p kt. 1/5
Kentucky - EE - 19
EE571 - Solution to HW#19 1. a) Use all 10 rules to plot the root locus of GH=K/(s (s+3)(s+8) 10 rules:1. Starts @ open loop poles @ K=0 which are s=0,0,-3,-8 2. Ends @ open loop zeroes @ K= which are s=, 3. # of branches = n which is 4 4. R.L. is sy
Kentucky - EE - 571
EE571 - Solution to HW#19 1. a) Use all 10 rules to plot the root locus of GH=K/(s (s+3)(s+8) 10 rules:1. Starts @ open loop poles @ K=0 which are s=0,0,-3,-8 2. Ends @ open loop zeroes @ K= which are s=, 3. # of branches = n which is 4 4. R.L. is sy
Kentucky - EE - 571
EE571 Objective: - To obtain a model for the Motomatic using frequency response methods Pre-Lab: (Counts as HW#27 - Due Monday, December 10)Experiment #6 (Counts as HW#27+28)For the remaining two experiments, we will operate the motomatic in velo
Kentucky - EE - 571
Solution to HW#22 1.a) Design a PD (ultimate lead compensator) to meet the transient specs given in problem 2 on HW21.Sol'n: Desired dominant poles are at s=-4+j4 and s=-4-j4. The angle of deficiency is still the same as it was for the lead design:
Kentucky - EE - 571
Objective:EE571 Experiment #4 (Counts as HW#16 and 17) 1. To design a Full-order Observer for the Motomatic 2. To design an Improved Observer for the MotomaticPre-Lab: (Counts as HW#16 - Due Monday, November 3) We are indeed fortunate to have a t
Kentucky - EE - 571
Objective:EE571 Experiment #5 (Counts as HW#23+24) 1. To design classical, root-locus based compensators for the Motomatic 2. To implement these designs and measure performance specsPre-Lab: (Counts as HW#23 - Due Wednesday, Nov. 19 Recall from L
Kentucky - EE - 571
EE571 - HW#20 1. a)i)Sketch the root locus for the following open-loop pole-zero configurations for GH(s):j ii) jj iii)-4-4-4b)Use the property of symmetry (if applicable) to help you sketch the root locus for the following open-loo
Kentucky - EE - 571
Prelab is due Monday, Sept. 29EE571Experiment #2 (Counts as HW#9 and 10)Objective: The objective of lab 2 is to: 1) complete our measurements of the MOTOMATIC internal parameters; 2) To obtain a state vaiable model of the MOTOMATIC. Prelab (Cou
Kentucky - EE - 571
EE5712 ohm iL1 iL2 2 ohm + -Solution to HW#121/2 H1/4 Hw(t)1a)Let the state variables be iL1 and iL2. Therefore, vL1 / L1 2( vL1) 2( iL1 iL2 + 0.5w) 2 2 1 &amp; x= = 4( vL2) = 4( iL1 iL2 + 0.5w) = 4 4 x + 2 w vL2 / L2 Ne
Kentucky - EE - 571
EE571 Solution to HW#1 1. a) Find the state variable model of the form&amp; x = Ax + Bw, x( 0+ ) for the following electrical network:1 ohm+iL1 0 u(- t)+ w ( t) u( t)Amp sVc -1 /3 F2 o hm s 1 /2 H(Hint: Let x = v C ) iL (make sure
Kentucky - EE - 571
EE571 Solution to Prelab 1 1a) To find tp, we need to take dy/dt and set equal to zero:dy = n e - n t (cos d t + dt ( n -1 - 2sin d t) - e -w n t (- d sin d t +- d )sin d t = ( n - d1 - 2cos d t) = 0)cos d t + ( d1 - 2)cos d t
Kentucky - EE - 571
EE571 1a) The solution is x(t) = eA(t- t 0 )Solution to HW#7x( t 0 ) +et0tA(t- )Bw( )d . To evaluate eAt, first lets find the eigenvalues of A:s + 4 2 4 2 A= sI A = = s2 + 8s + 12 = ( s + 2)( s + 6) = 0 s1 = 2 and s2 = 6 2 4 2 s
Kentucky - EE - 571
Due Wednesday, October 8EE571HW#121. a) b) Uncontrollable systems often arise when we have a great deal of symmetry in our system. Uncontrollable systems can also occur if we have have two energy storage elements which can be combined into one
Kentucky - EE - 571
Due Wednesday, September 24 1.EE571HW#8Since it is football season, you have decided to invest in a satellite dish. Rather than pay for a DSS system, you decide to build your own and borrow signals from a variety of satellites. Thus, you must d
Kentucky - EE - 571
Last HW! 0. 1. a)EE571HW#31Sign-up and perform lab 6 it is due on Wednesday, as well. From the Bode Plot below, find G(s), the open-loop transfer function (assume H(s)=1)Bode Plot for HW#31 40200 Gain dB -20-40 -1 1010010 Frequen
Kentucky - EE - 571
Note: All HW's and Solutions are on the web at http:/www.engr.uky.edu/csl/ee571 Due Wednesday, September 3rd EE571 Our HW Theme is: The State Variable Model and You 1. a) HW#1&amp; Find the state variable model of the form x = Ax + Bw, x ( 0 ) for the
Kentucky - EE - 571
Due Wednesday, December 11EE571Solution to HW#311. a)From the Bode Plot below, find G(s), the open-loop transfer function (assume H(s)=1)0 dB/dec 40Bode Plot for HW#3020-20 dB/dec0 Gain dB -20 -40 dB/dec-40 -1 1010010 Freque
Kentucky - FCS - 3129
FCS3-129Getting ReadyPARENT EXPRESSA Guide for You and Your BabyDear Parent-to-Be:It may be any day now! Now that your baby is nearly due, you probably are getting impatient. Sometimes it seems like the baby will never arrive. But he or she w
Kentucky - ID - 131
ID-131Basics for Heating and Cooling Greenhouses for Tobacco Transplant ProductionGeorge Duncan, Extension Specialist, Agricultural Engineering; Bob Anderson, Extension Horticulturist; and Bob Pearce, Extension Tobacco SpecialistIntroductionThi
Kentucky - STA - 291
STA 291 Lecture 23 Chapter 11 Hypothesis Testing 11.1 Concepts of Hypothesis Testing 11.2 Testing the Population Mean When the Population Standard Deviation Is KnownSTA 291 - Lecture 231 Bonus Homework, due in the lab April 16-18: Essay &quot;Ho
Kentucky - STA - 291
STA 291 Lecture 6 2 Graphical and Tabular Descriptive Techniques 4 Numerical Descriptive Techniques 4.1 Measures of Central Location 4.2 Measures of VariabilitySTA 291 - Lecture 6 1Bonus homework Super Tuesday coming up. McCain vs. Romney;
Georgia Tech - CS - 7470
Design for WearabilityFrancine Gemperle, Chris Kasabach, John Stivoric, Malcolm Bauer, Richard Martin Institute for Complex Engineered Systems Carnegie Mellon University Pittsburgh, PA 15213 USA {gemperle, stivoric}@cmu.edu http:/www.ices.cmu.edu/de
Georgia Tech - CS - 8113
Facial Animation-Why is hard?standards are high left-right symmetry not acceptable people are attuned to expressions squishy stuff is essential jaw is only jointApplicationsanimated features teleconferencing high level of compressionanalysis ani