Unformatted text preview:

ECE-320: Linear Control Systems Homework 6 Due: Tuesday October 13 at the beginning of class 1) For the following problem, assume we are using the following control system ()pGs()cGs+ - where the plant is given by 211()429(25)(25pGsss s js j==++ +− ++) For the following controllers, sketch the root locus with arrows showing the direction of travel as k increases. If there are any poles going to zeros at infinity, you need to compute the centroid of the asymptotes (cσ) and the angles of the asymptotes. You may (and should) check your answers with Matlab (use the rlocus command), but you need to do this by hand. a) ( proportional (P) controller) ( )cGs k= b) ()ckGss= (an integral (I) controller) c) (()cks zGss+=) (a proportional + integral (PI) controller) Write the centroid cσas a function of z. For what values of z will the two asymptotes be in the right half plane? (For plotting purposes, assume z is equal to 2.) d) (a proportional+derivative (PD) controller) ( ) ( )cGs ks z=+e) 1()(()cks z s zGss++=2) (a proportional+integral+derivative (PID) controller) Sketch this for the case where both zeros are real and then when both zeros are complex conjugates.f) (()()cks zGssp+=+) ( a lead controller, ) Write an expression for pz>cσas a function of the distance between the pole and the zero, lpz=−. What happens to the asymptotes as l gets larger? (For plotting purposes, assume p is 5 and z is 1.) 2) For the following problem, assume we are using the following control system ()pGs()cGs+ - where the plant is given by 1()3pGss=+ Want to determine if it is possible to meet the following constraints • 1secsT ≤• Steady state error for a unit step input < 0.1 with P, I, PD, and PID (real zeros and complex conjugate zeros) controllers. For each of these controllers, you need to • Sketch the root locus with arrows showing the direction of travel as increases. If there are any poles going to zeros at infinity, you need to compute the centroid of the asymptotes (kcσ) and the angles of the asymptotes. • State whether it is possible, based only on the closed loop pole locations, to meet the constraints. If it is necessary to put constraints on , , or to meet the constraints, you must specify them. (At this point you can only put conditions on k to meet the steady state error constraints.) kpz • Determine if it is possible for the output to oscillate (nonzero dω) You may (and should) check your answers with Matlab (use the rlocus command), but you need to do this by hand.3) A different approach to the root locus... Consider the following closed loop control system with a lead controller ( ), where k, p, and z are values to be determined. We would like the p> zdominant poles of the closed loop system to be at and the62j−± steady state error (for a unit step) to be less than or equal to 0.08. We will assume k, p, and z are positive values. a) Show that the closed loop poles are roots of the equation 510(1)(2)szksp s s⎛⎞⎛ ⎞++=⎜⎟⎜ ⎟+++⎝⎠⎝ ⎠ b) Since s is a complex variable, we can write the results for part (a) as a magnitude condition and a phase condition. Show that these conditions are given as magnitude condition: || 51|||1||2|szksps s+=+++ phase condition: ( ) 5 ( ) ( 1) ( 2) 180osz sp s s∠+ +∠−∠+ −∠+−∠+ =± c) Since we want the point to be on the root locus, show that when we evaluate the above expressions using we get the equations 62j−+6s=− 2+ j magnitude condition: 22(6)44.817(6)4pkz−+=−+ phase condition: 1122tan tan 131.666ozp−−⎛⎞⎛⎞−=⎜⎟⎜⎟−−⎝⎠⎝⎠ Note that once we choose p and z that meet the phase condition, we can always find a k to meet the magnitude condition. Hence the phase condition is the most difficult to meet. ()ks zsp++5(1)(2+ )ss++-d) Now use the "identity" () ()11 1121212tan tan tan1rrrrrr−− −⎛⎞−−=⎜⎟+⎝⎠ to show we can write the phase condition as 7.775 404.224zpz−=− Note that this identity does not take into account the two argument nature of the arctangent function. Hence the results can sometimes be off by 180 degrees. However, for most cases it is quite helpful. e) The numerator of the above function is zero when z = 5.144, and the denominator is zero when p = 4.224. Usually places where the numerator or denominator is zero indicate where there is some type of change. To answer the following questions, if may prove useful to put in a value of z and find the corresponding p value to determine what is wrong. Remember we want a lead controller and the dominant poles at 62j−± i) If z > 5.144 we will not get an acceptable lead controller. Why? ii) If 4.224 < z < 5.144 we will not get an acceptable controller. Why? iii) If z < 2, we will not get an acceptable lead compensator. Why? (Hint: Sketch a root locus plot) f) Show that the condition to meet the steady state error requirement can be written as 4.6kzp> g) We must determine k, p, and z to satisfy the requirements 2 4.224z<<7.775 404.224zpz−=− 22(6)44.817(6)4pkz−+=−+ 4.6kzp> Make a table showing your guess for z, the corresponding p and k, and then kz/p. If you think about your results this should not take very long. h) Determine the location of all of the closed loop poles and verify that the dominant poles are at (the Matlab command rlocus may help) 62j−±Preparation for Lab 6 4) In this problem we are going to be adding a PID controller to your closedloop_driver.m file. Once the PID controller is implemented, we can easily form any of the common controllers (P,I, PI, and PD) by settling coefficients to zero. You will be using this code and these designs in Lab 6, so come prepared! a) Get the state variable model files for one of your 1 degree of freedom systems. Since you will be implementing these controllers during lab 6, if you have any clue at all you and your lab partner will do different systems! You will need to have closedloop_driver.m load the correct state model into the system! b) Comment out all of the other controllers, and add the lines kp = 0.2; % just a dummy value ki = 0.02; % and even dummer value kd = 0.002; % way stupid value Gc = tf(kp,1) + tf(ki,[1 0]) + tf([kd 0],[1/50 1]); Note that we have modified the derivative controller so that it is in series with a one pole lowpass filter with pole at 50 (about 8 Hz). This will help smooth out the


View Full Document

Rose-Hulman ECE 320 - ECE 320 Homework 6

Documents in this Course
Load more
Download ECE 320 Homework 6
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view ECE 320 Homework 6 and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view ECE 320 Homework 6 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?