Description
-
Objective
The main goal of this assignment is to design and implement controller for inverted pendulum system using state feedback controller and dominant pole method.
-
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
-
-
Using the linearized model introduced in previous lab, and coe cients in the lab manual, nd matrices A; B; C; D of state space representation of the system, and de ne them in matlab.
-
-
-
Using matlab nd the transfer function of the system.
-
-
-
Using system’s transfer function and the command pzmap, nd the place of poles of the system. Is the system stable?
-
-
-
Using eig(A) compare the place of eigen values of matrix A with poles of the system.
-
-
-
Check, whether or not your system is controllable.
-
1
-
Describe whether or not we should check observability conditions.
-
Choose your design parameters (maximum overshoot and settling time), determine the place of two dominant poles of your desired system using following set of equations.
P |
D1 |
;D23:9 |
n |
! |
n |
p |
||||||||||
= :! |
1 2 |
|||||||||||||||
ts = |
||||||||||||||||
:!n |
||||||||||||||||
= |
s |
|||||||||||||||
2 + ln(pMp)2 |
||||||||||||||||
ln(M )2 |
||||||||||||||||
8. |
Using the place of dominant poles, determine the place of non-dominant poles of your desired |
|||||||||||||||
system.(choose non-dominant poles 5 to 15 times further than dominant poles from the |
||||||||||||||||
origin.) |
||||||||||||||||
9. |
Using the command place, nd state feedback gains. |
|||||||||||||||
10. |
Using calculated gains, implement a state feedback controller in the Simulink for the physical |
|||||||||||||||
system which uses cart’s position, cart’s velocity, angel of pendulum, and angular velocity. |
||||||||||||||||
(Hint: You should use low pass lter after derivative blocks). |
||||||||||||||||
11. |
Using the switch block in Simulink, design a mechanism to disconnect the controller when |
|||||||||||||||
the angle exceeds 10 . |
||||||||||||||||
12. |
Is your system able to stabilize pendulum around zero degree? If not, change your design |
|||||||||||||||
parameters and iterate over the steps until you achieve a proper controller. |
||||||||||||||||
13. |
You can ne tune your controller(manually), if you don’t change a gain by more than 5% of |
|||||||||||||||
its initial value. |
||||||||||||||||
14. |
Include all of the gains and parameters of your nal controller. Using the scope, show the |
|||||||||||||||
performance of your controller. (and all four states) |
||||||||||||||||
15. |
Changing each of the 4 di erent gains individually, describe intuitively the e ect of each of |
|||||||||||||||
these gains on the performance of your controller. |
2