Switching surface design via linear matrix inequality and Ackermann’s formula for a linearized inverted pendulum system