Description
-
Objective
The main goal of this assignment is to design and implement P ,P I,P D, and P ID controllers for cart’s position system.
-
Your responsibility
Your responsibility is to answer all questions which have been asked throughout this assignment and submit all your answers in addition to Matlab codes and Simulink results.
-
Questions
-
-
Derive the closed loop transfer function of a proportional position controller for the cart system(analytically).Identify and !n from the closed loop transfer function and compute them for Kp = [5; 10; 20; 50](Since you have derived a similar result in assignment 2, part 9 you can just plug in new coe cients)[10 marks]
-
-
-
Implement (experimentally) a proportional position controller in your Simulink model and plot the step response for Kp = [5; 10; 20; 50]. Explain as Kp increases, how do the rise time, overshoot, steady state error and damping change?[15 marks]
-
-
-
Tuning value of Kp, nd an appropriate gain for proportional controller, i.e. change the value of Kp to get a step response with relatively low rise time while over shoot is relatively small.
-
1
Give the value of Kp and plot the step response. Report corresponding values for the rise time, maximum overshoot, settling time and steady state error from experimental results. [15 marks]
-
Compare the experimental step response with theoretical step response. Explain some of the reasons for the di erence between the two step responses. [10 marks]
-
Estimate the frequency response of the closed loop system (position control) using ! = [1; 2; 5; 10; 20; 50]rads for Kp = 10 and Kp = 50 and plot the Bode diagram. [15 marks]
-
Plot both the Bode diagram you found in previous lab experimentally for the open-loop system(position as the output) and Bode diagram in question 5, on one gure. Explain the e ect of a proportional feedback controller on frequency response. [5 marks]
-
Add a di erentiating block and design a PD controller in the form of
CP D(s) = Kp + Kd:s
-
-
Using a xed Kp (Kp you found in question 3), increase the value of Kd gradually and explain the e ect of adding a di erentiating operator on step response of the system. Report the best Kd and plot step response of the system with P D controller along with best P controller(Question 3) on one gure. [10 marks]
-
-
-
Try to tune Kd and Kp, simultaneously. Report best combination of Kd and Kp you have found and plot the step response of the new P D controller. [10 marks]
-
-
Remove the di erentiating block and replace it with an integrator to design a PI controller of the form
CP I (s) = Kp + Ksi
-
-
Using a xed Kp (Kp you found in question 3), increase the value of Ki gradually and explain the e ect of adding an integrator operator on step response of the system. Report the best Ki and plot step response of the system with P I controller along with best P controller(Question 3) on one gure. [10 marks]
-
-
-
Try to tune Ki and Kp, simultaneously. Report best combination of Ki and Kp you have found and plot the step response of the new P I controller. [10 marks]
-
-
Now add a di erentiating block, to design a PID controller of the form
CP ID(s) = Kp + Ksi + Kd:s
2
-
Using values of Kd and Kp (in question 7), increase the value of Ki gradually and explain the e ect of adding an integrator operator on step response of the system. Report the best Ki and plot step response of P ID controller along with the best P D controller(Question 7) on one gure. [10 marks]
-
Using values of Ki and Kp (in question 8), increase the value of Kd gradually and explain the e ect of adding a di erentiating operator on step response of the system. Report the best Kd and plot step response of P ID controller along with the best P I controller(Question 8) on one gure. [10 marks]
-
Try to tune all the three parameters Kp; Ki; Kd simultaneously to nd a suitable step response.(report the parameters and plot the step response) [20 marks]
-
By keeping two of the parameters xed and increasing the third one, complete following chart. Write the e ect of each of these controller gains on di erent parameters of the step response.[15 marks]
Table 1: PID controller
Gain Rise Time Overshoot Settling time Steady state error
Kp
Kd
Ki
3