Betaflight Filter Tuning: Gyro and D-Term Filter Settings for Clean Flight — 2026 Guide

Filters are the least glamorous part of Betaflight tuning. PID values get all the attention — but filters determine whether your PIDs can do their job without cooking your motors. A quad with bad PID values flies poorly. A quad with bad filter settings catches fire. I’ve burned out motors on the bench because I set the gyro lowpass too high and the D-term filter too loose — the motors screamed at 700Hz fighting noise they couldn’t overcome.

Step-by-Step: Betaflight Filter Configuration

1. Understand the Filter Pipeline

Betaflight processes gyro data through this chain before it reaches the PID controller:

Gyro Raw → Gyro Lowpass 1 → Gyro Lowpass 2 → Dynamic Notch → PID Controller
                                                                       ↓
Motor Output ← D-Term Lowpass 1 ← D-Term Lowpass 2 ← D-Term (from PID)

Each filter removes a specific frequency range of noise. Too much filtering adds delay and makes the quad feel sluggish. Too little filtering passes noise through to the motors, causing heat, oscillation, and reduced flight time.

2. RPM Filtering — Enable It First

RPM filtering is the single biggest noise reduction you can apply. It tracks motor RPM via bidirectional DShot and notches out frequencies at exact motor harmonics.

Configuration tab:
- Bidirectional DShot: ON (requires BLHeli_32 or BLHeli_S with JESC/JazzMaverick firmware)

Filters tab:
- Gyro RPM Filter: ON
- Number of harmonic notches per motor: 2 (covers 1st and 2nd harmonic)
- Min frequency: 100 Hz
- D-Term RPM Filter: ON (same harmonic count as gyro)

What RPM filtering does: A motor spinning at 30,000 RPM vibrates at 500Hz (1st harmonic) and 1,000Hz (2nd harmonic). Without RPM filtering, you need a broad dynamic notch to catch these — but that notch also attenuates valid gyro data near those frequencies, reducing PID response. RPM notches are razor-thin and track the frequency in real-time as RPM changes.

If you haven’t set this up yet, our Betaflight RPM filter setup guide walks through the complete process.

3. Gyro Lowpass Filters

With RPM filtering handling motor harmonics, you can open up the gyro filters significantly. This reduces delay and sharpens stick response.

Starting values (4.3/4.4 firmware):

Gyro Lowpass 1:
- Dynamic: ON
- Type: PT1 (smoother rolloff) or BIQUAD (steeper rolloff, more delay)
- Cutoff: 250 Hz (start point, lower if motors run hot)
- Min cutoff: 200 Hz
- Max cutoff: 500 Hz

Gyro Lowpass 2:
- Dynamic: ON
- Type: PT1
- Cutoff: 500 Hz
- Min cutoff: 300 Hz
- Max cutoff: 700 Hz

How to tune these: Fly for 60 seconds of mixed freestyle. Land and touch each motor. If they’re warm (not hot — you should be able to hold your finger on the bell indefinitely), your filter setup is good. If one or more motors are hot, lower the Gyro Lowpass 1 cutoff by 25Hz and re-test.

What happens if too high: Motors come down hot or scorching. You’re passing high-frequency noise through to the PID controller, which commands rapid motor speed changes to correct for noise it can’t actually fix — this is wasted energy converted to heat.

What happens if too low: The quad feels “rubbery” or disconnected. Control delay increases because valid flight dynamics data gets filtered out along with the noise.

4. D-Term Lowpass Filters

D-Term amplifies noise. Gyro noise that’s barely visible in P and I terms gets multiplied by the derivative calculation and becomes a major noise source on the D-term output. D-Term filters clean this up.

Starting values:

D-Term Lowpass 1:
- Dynamic: ON
- Type: PT1
- Cutoff: 150 Hz (lower than gyro — D-term amplifies noise)
- Min cutoff: 90 Hz
- Max cutoff: 250 Hz

D-Term Lowpass 2:
- Dynamic: ON
- Type: PT1
- Cutoff: 200 Hz
- Min cutoff: 130 Hz
- Max cutoff: 350 Hz

Tuning D-Term filters: Watch the motors tab in Betaflight Configurator with the quad armed (props off). If individual motor traces are noisy/jumpy at idle, your D-term cutoff is too high. Lower by 25Hz and re-check. The traces should be relatively smooth at idle — minor ripple is normal.

5. Dynamic Notch Filter

With RPM filtering enabled, the dynamic notch becomes a safety net rather than the primary noise filter. Configure it as backup:

Dynamic Notch:
- Dynamic Notch Filter: ON
- Dynamic Notch Width: MEDIUM (or LOW if RPM filtering is very clean)
- Dynamic Notch Q: 200 (higher Q = narrower notch, less collateral attenuation)
- Dynamic Notch Min Hz: 90
- Dynamic Notch Max Hz: 500
- Dynamic Notch Count: 1 (one notch with RPM filtering, 2-3 without)

Verification: After tuning, open the Sensors tab in Betaflight Configurator and view the gyro spectrogram while the quad idles on the bench (props on, secured). You should see clean peaks at motor RPM frequencies that are well-attenuated by the RPM notches. The noise floor between peaks should be smooth — random spikes indicate a mechanical issue (bent motor bell, chipped prop, loose screw).

Filter Parameter Quick Reference

Setting 5″ Freestyle 3″ Cinewhoop 7″ Long-Range Tiny Whoop
Gyro LPF1 Cutoff 250 Hz 200 Hz 220 Hz 300 Hz
Gyro LPF2 Cutoff 500 Hz 400 Hz 450 Hz 500 Hz
D-Term LPF1 Cutoff 150 Hz 120 Hz 140 Hz 180 Hz
D-Term LPF2 Cutoff 200 Hz 180 Hz 190 Hz 250 Hz
RPM Filter Harmonics 2 2 2 1
Dynamic Notch Count 1 1 1 2

Common Mistakes & How to Avoid Them

Mistake 1: Disabling Filters to “Unlock Performance”

What people do: Watch a YouTube video claiming that turning off filters makes the quad “more locked in.” They disable gyro LPF2 and D-term filtering entirely.
Consequence: The motors become the filter — they absorb high-frequency noise as heat. Flight time drops 30% because the ESCs are burning energy fighting noise. Within 2-3 packs, the motor windings discolor and the magnets begin to demagnetize.
Fix: Filters exist because physics demands them. You can reduce filter aggressiveness as your build quality improves (balanced props, soft-mounted FC, RPM filtering), but you can’t eliminate filtering entirely. The goal is minimum filtering for acceptable motor temperature, not zero filtering.

Mistake 2: Using BIQUAD on All Filters

What people do: Set every filter to BIQUAD because “it filters better.”
Consequence: BIQUAD introduces more phase delay than PT1. Stacking three BIQUAD filters creates cumulative delay that makes the quad feel like it’s flying through molasses. Pro racers notice; freestyle pilots feel it but can’t articulate it.
Fix: Use PT1 for most filters. Reserve BIQUAD for specific problems: if a narrow noise band persists after PT1 filtering, a single BIQUAD at the right frequency can notch it out with less collateral damage than widening your PT1 filters.

Mistake 3: Copying Someone Else’s Filter Settings

What people do: Copy filter values from a pro pilot’s CLI dump without understanding what they do.
Consequence: Filters are build-specific. A clean 5-inch build with new motors and balanced props can run lighter filters than a beat-up quad with chipped props and a bent motor bell. The pro’s settings that work for their perfectly maintained fleet will cook your motors in one pack.
Fix: Start conservative (lower cutoffs), fly, check motor temp, and gradually raise cutoffs until motors are warm but not hot. This is a 3-pack tuning session — not a copy-paste job.

Mistake 4: Not Checking Motor Temperature After Changes

What people do: Change filter settings, fly a pack, and land. If the quad felt good, they call it done without touching the motors.
Consequence: A quad can fly perfectly while silently cooking motors. By the time you notice the flight time dropping or hear the bearings grinding, the magnets are already degraded past recovery.
Fix: After every filter change, land immediately after a 60-second flight and touch all four motor bells. If you can’t hold your finger on the bell for 5 seconds, the motor is over 60°C — lower your filter cutoffs.

⚠️ Regulatory Notice: The flight configuration and performance tuning advice in this article should be followed in accordance with the latest 2026 drone regulations in your country or region. Always verify local laws regarding flight altitude, no-fly zones, remote ID requirements, and registration before flying. Regulations vary significantly between the FAA (US), EASA (EU), CAA (UK), CAAC (China), and other authorities.

RPM filtering is the prerequisite for the filter settings in this guide — our Betaflight RPM filter setup guide covers the full BLHeli and Betaflight configuration. Once your filters are dialed, return to our Betaflight PID tuning masterclass to refine the PID controller. For diagnosing problems that survive filter tuning, our blackbox log analysis guide shows how to read gyro spectrograms and identify mechanical noise sources.

YouTube Resource

Chris Rosser’s filter tuning methodology explains the math behind each filter stage with practical examples:

uavmodel Product Recommendation

The SpeedyBee F405 V4 Stack (available at uavmodel.com) features an ICM-42688-P gyro with a 32kHz sampling rate and onboard flash for blackbox logging — the combination of clean gyro data and logging capability makes filter tuning faster and more precise.

Leave a Comment

Scroll to Top