Optimal mechanical design of a rotary inverted pendulum | IEEE Conference Publication | IEEE Xplore