By taking the roll attitude of unmanned aerial vehicles as the control object,and the error and error rate of change as inputs,this paper realizes the online automatic tuning of PID parameters by fuzzy inference,and completes the design,modeling and simulation of fuzzy PID controller in MATLAB/Simulink environment.The simulation results show that the parameter self-tuning fuzzy PID composite control system integrates the simplicity of PID control with the robustness of fuzzy control,improves the dynamic and static performance of the system,and has better control effects than traditional PID controllers.