Hi,

I'm curious, it looks like Kd is quite significant by default, I assume to limit the slew rate of the output.

Given that the error is an integer, and pidctrl_daemon() is called at irregular intervals, it seems to me that the derivative will be very noisy.

In my experience with PID controllers controlling physical processes, one would need some kind of filtering on the input to make Kd useful, otherwise it would just contribute more instability to the system. In practice even a simple exponential (single pole) filter can help a lot at the cost of increased response time.

Is this something that was considered?

- Pieter de Goeje
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to