Skip to content

Please, correct error in anti-aliasing filter for gyro #10708

@and-sh

Description

@and-sh

Current Behavior

The 250 Hz pt1 filter used as anti-aliasing filter for gyro. It have attenuation about 1/5 at 1kHz, that is very insufficient.

Steps to Reproduce

model pt1 filter 250Hz, sampling rate 4kHz and measure attenuation at 1kHz.

Image

Expected behavior

attenuation, at fS/2 should more than the signal-to-noise ratio (SNR) of the sampling system.

https://ww1.microchip.com/downloads/aemDocuments/documents/MCU08/ApplicationNotes/ApplicationNotes/00699b.pdf
https://electronics.stackexchange.com/questions/274696/anti-aliasing-filter-design

For 16bit representation this is about 90dB.

Suggested solution(s)

Use much effective filters.

Additional context

All versions of Inav have this problem.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions