apollo icon indicating copy to clipboard operation
apollo copied to clipboard

PIDBCController should multiply a factor on integral term?

Open lycismail opened this issue 3 years ago • 1 comments

File modules/controll/common/pid_BC_controller.cc line num 57

integral_ += kaw_ * aw_term + error * dt;

Here the aw_term will work after the system into the saturation state. Before that, this term will be equal to zero. So the integral_ will lose the feature of Ki parameter, the later part should be like "error * dt * ki_" here ?

lycismail avatar Feb 14 '22 07:02 lycismail

It seems you are right. ki is an integral coefficient

daohu527 avatar Feb 15 '22 00:02 daohu527

This issue is closed due to long time no reply.

chenxiaoying21 avatar Sep 22 '22 11:09 chenxiaoying21