This assignment extends the model developed for HW0x04 to derive the controller gain values for the ball-plate system. There were four new sections added:
Note the significantly lower timescale of the response from the calculated k values (~0.6s to steady state) when compared to the response from the given k values (~15s to steady state)- this is much more ideal for the platform because the ball will be balanced in about 3 "tilts" rather than almost 20 "tilts." This will reduce the load on the motors when balancing the ball, and will allow the system to respond dynamically to various new stimuli, like a hand moving the ball after balancing, or the platform getting hit, causing the ball to move. Additionally, the maximum angle of tilt for the calcualted k values (~11 degrees), while greater than the maximum angle of tilt for the given k values by about 3 times, is still reasonably small such that the linear state space model remains accurate. Additionally, the angular velocity of the platform, while much greater for the calculated k values, is still low enough (in magnitude) at maxima and minima that the platform should be able to handle these speeds.
For more information on the implementation of this process as well as the simulink model and foundational Matlab code used in this assignment, please visit this link: https://bitbucket.org/npatel68/me405_labs/src/master/hw5/