Homework 8, due Wednesday April 11.
Posted: Fri Mar 30, 2007 8:47 am
Warning. This page has some big images. If you print it without comparing it with the page on the computer, you may be missing some parts of the figures. Perhaps you will need to sketch the figures near the end.
- Consider the robot arm illustrated in the following figure (the same as we did in class).
- Using this program, verify the following "rules of thumb" for PID control using the definitions of ise time, peak time, overshoot, settling time and steady state error from the following figure. Be sure to submit your program and graphs to support your demonstration that the rules are correct.
- For proportional control, i.e., kp > 0, kd = 0 and kI=0, the solutions are oscillatory, and increasing kp increases the frequency of oscillation (which decreases the rise time and peak time) but decreases the mean steady state error. The settling time is infinite. Hint pick a starting value of kp=5.
- If derivative control is added to the proportional controller, i.e., kp > 0, kd > 0 and kI=0, then
- for small kd the solutions are decaying oscillations;
- increasing kd decreases the settling time;
- increasing kd sufficiently eliminates the oscillatory behavior completely, resulting in an solution which exponentially decays to the final, steady state value;
- increasing kp decreases the final steady state error;
- increasing kp decreases the rise time.
- Adding integral control (PID control)
- eliminates the steady state error, even for small values of kp,
- increasing kI generally increases the overshoot and settling time;
- increasing kp decreases rise time, but may increase overshoot;
- increasing kd increases damping and stability.
- Determine the region in the complex plane where the poles for a second order system should be located so that
- the maximum overshoot is less than 5%
- the 1% settling time is less than 4 seconds
- both of the above.
- At this point we have a good grip on second order systems. Unfortunately, the world isn't entirely composed of second order systems. In order to apply what we know to second order systems, it will be useful to determine the approximate effect of poles and zeros in addition to a complex conjugate pair for a second order system. Most, but not all of this problem will be done using matlab.
- Effect of additional poles far to the left. Consider
- Add a zero to G(s) far to the left. What is the effect on the step response?
- Add a zero to G(s) in the left half plane relatively close to the imaginary axis. What is the effect on the step response?
- Add a zero to G(s) in the right half plane relatively close to the imaginary axis. What is the effect on the step response?
- Add a pole to G(s) in the left half plane relatively close to the imaginary axis. What is the effect on the step response?
- Without computing or plotting anything, what will be the effect of adding a pole to G(s) near the imaginary axis near the imaginary axis in the right half plane?
- Add a zero to G(s) at s=-1 and a pole to G(s) at s=-0.95. What is the effect on the step response? What can you say in general about a pole and zero that are close together?
- Effect of additional poles far to the left. Consider
- Extra credit. Do the partial fraction expansion for the step response of the second order system, G(s) in the previous problem. Also do the partial fraction expansion for the second order system with an added zero (hint: put 1/r*(s+r) in the numerator). Based on these, prove your conclusions from the previous problem by considering the cases when r is positive and large, positive and small and negative and small.
- Match the plots of the location of the poles and zeros of a transfer function with the plots of the unit step response. In each case, justify your answer.