AutoBalance - PID Controller

Try a Google search for: balancing robot PID tuning