Many configurator software such as Raceflight, Betaflight, KISS and others allow users to set up PID Flight Controller to improve flight performance. In this post we will explain what PID is, how it affects the stability of your Quadcopter or Drone, and an easy way to adjust the PID on your quadcopter. After reading this PID guide, I also recommend continuing to try and read the deeper PID adjustment guide. because in this article we explain it in a more practical way.
PID is a function in the flight controller that can be set via the configurator. the principle of reading data from sensors, and telling the motor how fast they need to spin. Another word is how stability can be achieved on a quadcopter. PID is proportional-integral-derivative. The PID controller is a loop control system that tries to get accurate results close to the desired results by adjusting the input. The error is given feedback / response, and the same process is repeated
3 ALGORITHM IN PID CONTROLLER, IE P, I, AND D.
P depends on the current error, I is the accumulation of previous errors, whereas D is the prediction of future errors based on the current level of change. To master any control over a Quadcopter: First we need to measure the angular level of the quadcopter (how fast the quadcopter rotates in each axis) Knowing what desired angle level we want from squared, we can estimate the error We can then apply the 3 control algorithms for errors, to get the next output for the motor which aims to correct the error. That is just an “academic description” of how the PID controller works. In practice, each of the three parameters gives several different effects on flight characteristics and stability.
This parameter is a number that we can play. They are basically just coefficients of the 3 algorithms above. The coefficient changes the effect of each algorithm on output. Here we will see the effects of these parameters on quadcopter.
Is the most basic value in PID settings, because Quadcopter or Multirotor can fly and stabilize only with P gain without the other two parameters (I and D). This coefficient determines the strength in the correction. The higher the coefficient, the more sensitive and strong the quadcopter reacts to changes in each angle. If it’s too low, the quadcopter will look slower and softer, it’s difficult to stay stable. One negative impact is that the P gain is too high is too much correction and there is oscillation in the Quadcopter.
This coefficient affects the exact position of an angle. Higher profits are especially useful in windy environments. If it’s too low the Quadcopter or Multirotor will drift away with the wind. However, when I get too high, the quadcopter starts to feel stiff and doesn’t respond to the RC properly. This is the same as the slower reaction and the effect of decreasing P gain. In more extreme cases if the excess I, the quadcopter will oscillate at a lower frequency.
D gain works as a dampener and reduces over-correcting and overshoots caused by P on Flight Controller. It makes your quad fly smoother and has the potential to minimize the oscillations that have occurred before too. But excessive D values can cause oscillations in quadcopter because the noise in the system will be greater. In an effort to make your quadcopter fly smoother, Brushless Motor will spin faster or slower at very fast speeds so that Brushless Motor cannot last, and eventually cause the motor to overheat or sometimes burn, then give D value to just around 20 ( at BetaFlight) don’t give too large a value.