Optimization Design of Quadcopter Position Control Algorithm Based on Tilt Compensation
In order to reduce the difficulty of debugging PID parameters by using the camera to realize racing flight and hovering of quadcopter and further improve the accuracy of hovering,a method of quickly implementing camera tilt compensation using MATLAB curve fitting function is proposed.Using STM32F103C8T6 microcontroller as the processing core and OV7725 camera to collect image data,the effectiveness of the method was verified by actual tests on a quadrotor platform with hovering without inclination compensation as a comparison.The experimental results show that the use of the method can better do tilt compensation for the camera to meet the requirements of quadrotor precision hovering,improve the stability and reliability of the system,and has an important reference value for quadrotor control algorithms and applications.