Throttle Based Dynamic Notch Setup

If you do not have ESC telemetry or an RPM sensor, and are not using an autopilot capable of using the in-flight FFT mode, then throttle-based (INS_HNTCH_MODE = 1 , or INS_HNTC2_MODE = 1) center frequency control is best.

In order to configure the throttle-based dynamic harmonic notch filter it is important to identify the motor noise at the hover throttle level. To do this we need to use the Raw IMU Logging for FFT Analysis to obtain logs for analysis.

Once this is done, the center frequency of the notch(s) can be set and other parameters configured:

Note

if the autopilot is capable of running the FFT (most F4 based autopilots are NOT), then by enabling the FFT_ENABLE and using the RC Auxiliary function “162” (Auto Throttle Notch Setup) during a sustained hover, the center frequency, INS_HNTCH_FREQ, INS_HNTCH_ENABLE, and INS_HNTCH_MODE will automatically be setup for the first notch, avoiding log analysis to determine center frequency as outline below:

Harmonic Notch Configuration for Throttle Based Mode

Check the performance of the filter(s) after setup by doing another post filter configuration test flight as discussed in the Measuring Vibration with IMU Batch Sampler or Raw IMU Logging for FFT Analysis page for this and analyze the logs.

Advanced Notch Frequency Scaling Adjustment in Throttle Based Mode

The harmonic notch is designed to match the motor noise frequency as it changes by interpreting the throttle value. The frequency is scaled up from the hover frequency and will never go below this frequency. However, in dynamic flight it is quite common to hit quite low motor frequencies during propwash. In order to address this it is possible to change the ref value in order to scale from a lower frequency.

  • First perform a long dynamic flight using your current settings and post-filter batch logging. Examine the FFT and look at how far the motor noise peak extends below the hover frequency. Use this frequency - min_freq - as the lower bound of your scaling. Then in order to calculate an updated value of the throttle reference use:

INS_HNTCH_REF and/or INS_HNTC2_REF = hover_thrust * SQUARE(min_freq / hover_freq)