svn commit: r329882 - in head/sys: conf kern sys vm

Pieter de Goeje pieter at degoeje.nl
Fri Mar 2 14:14:14 UTC 2018


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


More information about the svn-src-head mailing list