MMA Digital Filtering - Calculus Cheats

Поділитися
Вставка
  • Опубліковано 26 жов 2024

КОМЕНТАРІ • 6

  • @ferencszabo3504
    @ferencszabo3504 4 роки тому

    Maybe some fuzzy logic would work as a filter too? Arduino can handle it

  • @farmerwoody123
    @farmerwoody123 4 роки тому +2

    Have you considered a Savitsky-Golay filter?

    • @FarmerBrianTee
      @FarmerBrianTee  4 роки тому

      I will have to look it up! No i have not. But always always open to new ideas

    • @farmerwoody123
      @farmerwoody123 4 роки тому

      @@FarmerBrianTee I have used it successfully for filtering noise on angle sensors used in safety applications. There are also different coefficients you can use to provide filtered derivatives that can be useful in some situations.

    • @farmerwoody123
      @farmerwoody123 4 роки тому +1

      Something else I encountered in that application which may also be relevant was that you need to think in "delta cycles" not "delta T". I had a program running on a safety PLC that had a cycle time of around 70ms, which was performing some control with PID. We made a software update to an unrelated function in the PLC program, and the cycle time increased to 75ms. This completely ruined the PID tuning, because the processor only sees the values on a per cycle basis, not on a real time base. I don't know what the Arduino cycle time with the Agopen code is but people running it on different platforms like the ESP might need different tuning values.

    • @ferencszabo3504
      @ferencszabo3504 4 роки тому

      @@farmerwoody123 sampling on Esp32 seems to have different latencies,, so they are not for RT applications. stm32 is a nice and cheap number cruncher tough. But you meant to use esp as a DSP on digital signals right?