Default Filter values

Moderators: TomKerekes, dynomotion

Post Reply
Moray
Posts: 296
Joined: Thu Apr 26, 2018 10:16 pm

Default Filter values

Post by Moray » Tue Dec 10, 2024 10:42 pm

I can't remember this ever being discussed, so in KMotion, why are the default IIR Filter 2 values set to seemingly random values, whereas as 0 and 1 are 1 and 0's?

And does it actually matter?
I did initially wonder if it was something I've inadvertently changed, but the values are identical across 3 different PCs, and multiple KMotion installs.
Filters.png

User avatar
TomKerekes
Posts: 2711
Joined: Mon Dec 04, 2017 1:49 am

Re: Default Filter values

Post by TomKerekes » Wed Dec 11, 2024 11:09 pm

Hi Moray,

You should always set the entire configuration anyways. But those coefficients are for a 2nd order Low Pass filter 100Hz Q=1.4 for smoothing of the output. The 3rd Filter is used as it will apply to the Feedforward also.

ServoFlowDiagram.png
Last edited by TomKerekes on Thu Dec 12, 2024 12:00 am, edited 1 time in total.
Reason: Include frequency of filter
Regards,

Tom Kerekes
Dynomotion, Inc.

Moray
Posts: 296
Joined: Thu Apr 26, 2018 10:16 pm

Re: Default Filter values

Post by Moray » Wed Dec 11, 2024 11:31 pm

Thanks Tom.

I was mostly wondering if there was a reason they were set to those values as default, as I've just been blindly copying and pasting, so now I know.

Post Reply