An RPM filter is a bank of dynamic notch filters in a drone flight controller that uses real-time motor speed data to remove motor-generated vibration from the gyro signal. In flight control for Drones, RPM filtering lets the PID controller see the true motion of the aircraft instead of noise, which allows cleaner, more responsive tuning with less filter delay.
The technique is most closely associated with Betaflight and related firmware for FPV multirotors, where it is also called RPM filtering. It depends on bidirectional DShot or a similar telemetry path that reports each motor speed back to the flight controller many times per second.
How an RPM filter removes motor noise
Every spinning motor and propeller produces vibration at its rotation frequency and at whole-number multiples of it, called harmonics. A motor turning at 24,000 revolutions per minute rotates 400 times per second, so it produces a fundamental component at 400 Hz, a second harmonic near 800 Hz and further peaks above. The gyro senses this vibration together with real aircraft rotation.
The RPM filter places a narrow notch filter on each harmonic of each motor. With bidirectional DShot, every ESC reports the electrical rotation period of its motor; the firmware converts it to mechanical speed using the motor pole count and moves the notch center frequencies in step with the motors. The notches therefore follow the noise exactly as throttle changes.
Because each notch is narrow and precisely placed, it removes the noise while leaving most of the useful signal band untouched. This is the key advantage over broad low-pass filtering, which suppresses noise by attenuating everything above a cutoff and adds phase delay that slows the control loop.
The table below shows how motor speed maps to the frequencies the filter must track.
| Motor speed | Fundamental frequency | Second harmonic | Third harmonic |
|---|---|---|---|
| 6,000 rpm | 100 Hz | 200 Hz | 300 Hz |
| 18,000 rpm | 300 Hz | 600 Hz | 900 Hz |
| 30,000 rpm | 500 Hz | 1,000 Hz | 1,500 Hz |
| 42,000 rpm | 700 Hz | 1,400 Hz | 2,100 Hz |
Key RPM filter settings
RPM filter behavior is set by a small number of parameters. Defaults are a sound starting point for most 5-inch builds, and changes should be guided by Blackbox logging rather than guesswork.
| Parameter | Typical value | Effect |
|---|---|---|
| Harmonics count | 1 to 3 | How many multiples of each motor frequency are notched |
| Notch Q factor | About 500 in Betaflight units | Notch width: higher Q means a narrower notch |
| Minimum frequency | About 100 Hz | Lowest frequency a notch may track at low throttle |
| Fade range | About 50 Hz | Gradual weakening of notches near the minimum frequency |
| Motor pole count | Usually 14 on common FPV motors | Converts electrical speed to mechanical speed |
| PID loop frequency | Often 4 or 8 kHz | Sets the update rate and the usable filter band |
A wrong motor pole count is the most damaging setting error, because every notch then sits at the wrong frequency. Reducing the harmonics count to one or two is common on clean, well-balanced builds whose higher harmonics are already weak, which saves processor time and a small amount of delay.
RPM filtering compared with other gyro filters
An RPM filter is one layer in the broader practice of gyro filtering. It works best together with a light low-pass filter and, optionally, a dynamic notch filter that searches the spectrum for remaining peaks such as frame resonance.
| Filter type | How it finds noise | Delay cost | Best target |
|---|---|---|---|
| RPM filter | Motor speed telemetry | Low | Motor and propeller harmonics |
| Dynamic notch filter | Spectral analysis of gyro data | Low to moderate | Frame resonance and leftover peaks |
| Static notch filter | Fixed, manually set frequency | Low | One known constant resonance |
| Low-pass filter | Fixed or throttle-based cutoff | Moderate to high | Broadband high-frequency noise |
The practical consequence is that a build with working RPM filtering can raise low-pass cutoffs or reduce filter stages. Less total delay lets the pilot use higher D gains and better damp propwash oscillation, the wobble that appears when the drone descends through its own disturbed air.
Requirements and setup
RPM filtering needs ESC firmware that supports bidirectional DShot, such as BLHeli_32, Bluejay or AM32 on supported hardware. Older BLHeli_S ESCs required replacement firmware to provide this telemetry.
- Flash ESC firmware that supports bidirectional DShot and select a DShot protocol in the flight controller.
- Enable bidirectional DShot and set the correct motor pole count in the configurator.
- Confirm that RPM telemetry appears for every motor and that the error rate stays near zero.
- Fly a test pack with Blackbox logging enabled and review the gyro noise spectrum.
- Adjust low-pass filtering and PID gains only after the logs show the motor peaks removed.
Many firmware versions disable the RPM filter automatically when telemetry is missing or invalid, so a silent setup error can leave the aircraft with weaker filtering than expected.
Common problems with RPM filtering
RPM filtering is robust once configured, but several faults recur. The following table links typical symptoms to their usual cause and fix.
| Symptom | Likely cause | Fix |
|---|---|---|
| Hot motors after a short flight | Filter disabled while filtering was reduced | Verify telemetry and restore filters |
| High telemetry error rate | Incompatible ESC firmware or noisy signal | Update ESC firmware, check wiring |
| Remaining peaks in logs | Frame resonance, not motor noise | Enable a dynamic notch or stiffen the frame |
| Jitter at very low throttle | Notch too close to the control band | Raise the minimum frequency |
The most important warning is that an RPM filter does not fix mechanical problems. Bent propellers, damaged motor bearings and loose arms create noise that changes from flight to flight, and these faults should be repaired before any filter tuning.
Stripped to the essentials
A drone’s motion sensor feels two things at once: the real movement of the drone and the buzz of the spinning motors. If the flight computer reacts to the buzz, the drone shakes and the motors heat up.
An RPM filter works like noise-canceling headphones tuned to each motor. The motors report how fast they spin, so the filter knows the exact pitch of the buzz and removes only that pitch. The flight computer then hears the real movement clearly and quickly, and the drone flies smoother.
Where it is applied
A freestyle FPV pilot flies a 5-inch quadcopter on 6S batteries and notices propwash wobble during dives and warm motors after each pack. The ESCs already run firmware that supports bidirectional DShot, but the feature was never enabled in the flight controller.
The pilot enables bidirectional DShot, sets the motor pole count to 14 and keeps three harmonics. A Blackbox log of the next flight shows the strong motor peaks between roughly 300 and 1,200 Hz nearly gone from the gyro trace.
With the cleaner signal, the pilot raises the gyro low-pass cutoff and increases D gain slightly. The result is cooler motors and noticeably less propwash in dives, and the aircraft feels more connected to the sticks.