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
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"