Aimed at the deficiency of existing PID controller for quad rotor UAV, a single neuron with gravity compensation is presented. After using feed forward control to compensate gravity, position loop adopts ensure accuracy, while attitude increase adaptive ability. Then, by Matlab/simulink simulation software, UAV carried out, and result shows, compared traditional double closed controller, algori...