Swing-up and Control of Linear Triple Inverted Pendulum