Skip to content

Sample rate questions #5

@ssfrr

Description

@ssfrr

I have a few questions related to sample rates:

  1. Are there guidelines for choosing the anti-aliasing filter cutoffs, or more information about the filters? Typically I'd want to get rid of frequencies higher than half the sample rate (Nyquist) but without knowing how steep the filter is it's hard to know what the relation between the sample rate and the anti-aliasing filter should be. I'm assuming these filters are analog prior to the sensor's internal ADC, right?
  2. The LSM9DS0 is weird in that the accelerometer and gyro units don't sample simultaneously. In your code you're not doing anything fancy to manage the different sample rates or synchronize with the fusion update rate, so from a signal processing standpoint it's equivalent to doing no interpolation (i.e. the signals look like stair-steps). I guess this basically ends up being an additional noise source which the fusion should filter out, but I was wondering if there would be any benefit to interpolating the sensor data readings, basically resampling so that the different signal are synchronized.

If you have any insight based on your experience or from the literature it would be super helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions