Mobile inverted pendulum (MIP)