I Introduction
Inverted pendulum is a pendulum which has its mass above its pivot point. This system is inherently not stable and must be actively balanced by moving the pivot point horizontally which serve as a feedback to the system or by oscillating the support rapidly up and down so that the oscillation is sufficiently strong enough to restore the pendulum from perturbation in a striking counter intuitive manner.[1]. Inverted pendulum is used as benchmark for testing control algorithms due to its high degree of instability and non-linearity. Real application of the system can be found in Missiles guidance, Rockets, heavy Crane lifting containers in shipyards, self balancing Robots and etc.