Comparison of a PID controller versus LQG controller for a ball balancing robot