Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

PID Settings for FPV Drones Explained

· 5 min read · Home Tech

In this article
  1. Proportional Gain Controls Immediate Response
  2. Integral Gain Maintains Steady Angles
  3. Derivative Gain Dampens the Motion
  4. Tuning for Different Frame Sizes
  5. Identifying and Fixing Oscillations
  6. Using Presets and Blackbox Logs

PID settings control how your drone maintains stability and responds to your stick inputs. These values tell the flight controller how to correct the aircraft when it drifts from the desired angle. You should follow the manufacturer guidance for your specific frame and motor combination.

Proportional Gain Controls Immediate Response

The Proportional gain handles the immediate reaction to an error in the drone's position. When you move the stick, the flight controller compares where the drone is to where you want it to be. The Proportional setting determines how hard the drone fights to get back to that target. If this setting is too low, the drone feels sluggish and drifts away from your intended line. It will feel like the aircraft is floating or sliding through the air without a firm grip.

When the Proportional gain is set too high, the drone over-corrects. This leads to fast, sharp oscillations. These shakes happen because the drone swings past the target angle, then swings back too hard in the opposite direction. This cycle repeats rapidly, creating a high-frequency vibration. You can identify this by looking at the flight footage or feeling the motors get hot. If you see these fast shakes, you should lower the Proportional value in small increments. Check your flight controller software for the specific slider range and adjust based on the manufacturer's suggested starting point.

Integral Gain Maintains Steady Angles

The Integral gain works over a longer period of time to lock the drone into a specific attitude. While the Proportional gain handles the quick snap, the Integral gain cleans up the remaining error. It ensures that the drone holds its angle even when external forces like wind or an off-center weight try to push it. Without enough Integral gain, the drone will not hold its angle during a flip or a roll and will slowly drift back toward a level position.

A common misconception is that the Integral gain is only for hovering. In reality, it is vital for any maneuver where you want the aircraft to stay at a precise angle. If the Integral gain is too high, the drone may develop a slow, rhythmic oscillation. This looks like a gentle waving motion rather than a sharp shake. This happens because the controller is too aggressive in correcting small errors over time. If the drone feels like it is hunting for the center or wobbling slowly, you should reduce this setting. Always test changes in a hover before attempting aggressive maneuvers.

Derivative Gain Dampens the Motion

The Derivative gain acts as a brake for the other two settings. Its job is to predict when the drone is about to reach the target angle and slow the movement down so it does not overshoot. It looks at the rate of change to smooth out the flight. High Derivative gain makes the drone feel locked in and crisp, stopping movements instantly when you center the sticks.

Too much Derivative gain can cause high-frequency noise. This often manifests as a very fast jitter that can be hard to see with the naked eye but is visible in a blackbox log. Because the Derivative term reacts to rapid changes, it can accidentally amplify electrical noise from the motors. This noise causes the motors to work harder and heat up quickly. If your motors are hot to the touch after a short flight, your Derivative gain might be too high. You should check the filter settings in your software first, as filtering often solves the noise that Derivative gain amplifies.

Tuning for Different Frame Sizes

The way you tune these settings changes based on the size and weight of your aircraft. Small drones with light frames and high-kv motors generally need different settings than large cinematic rigs. A small drone has less inertia, meaning it can change direction almost instantly. This usually allows for higher Proportional gains because the aircraft can handle the rapid corrections without becoming unstable.

Larger drones have more mass and more inertia. They take longer to start moving and longer to stop. If you apply the same high gains used on a small drone to a large one, the aircraft will likely oscillate violently. For larger builds, you typically need to lower the Proportional gain and increase the Integral gain to help the heavier frame maintain its attitude against the wind. The specific values depend on the weight of your battery and the size of your propellers. Refer to the manufacturer's manual for your flight controller to find the recommended base values for your frame class.

Identifying and Fixing Oscillations

Understanding the type of oscillation is the only way to fix a poorly tuned drone. High-frequency oscillations are fast and sharp, usually pointing to Proportional or Derivative gains being too high. Low-frequency oscillations are slower, looking like a pendulum, and usually point to an Integral gain that is too high or a center of gravity that is too far off.

To fix these issues, change only one setting at a time. If you change all three gains at once, you will not know which one solved the problem or which one made it worse. Start by increasing the Proportional gain until you see a tiny bit of oscillation, then back it off slightly. Once the drone feels responsive, adjust the Derivative gain to smooth out the stops. Finally, use the Integral gain to make sure the drone holds its angle during turns. If the drone still shakes, check for loose screws on the frame or a loose motor, as mechanical vibrations can trick the PID controller into reacting to noise that isn't actually a flight error.

Using Presets and Blackbox Logs

Many modern flight controllers come with presets designed for specific types of builds. These are a great starting point, but they are not a final solution. A preset assumes your drone is built exactly like the one used for the test. Since every build has slight differences in weight, prop pitch, and motor efficiency, you should always refine the settings.

For a precise tune, use the blackbox logging feature. This records exactly what the gyro sees and how the PID controller responds. By looking at the graphs, you can see if the drone is overshooting its target or if there is too much noise in the signal. This removes the guesswork from tuning. If you are not comfortable reading logs, you can rely on the feel of the sticks and the heat of the motors. Always land immediately if the motors feel hot, as this can lead to motor failure or burnt electronic speed controllers. Check the manufacturer's guidance on safe motor temperatures to know when to stop a test flight.