Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
5 years, 10 months ago.
PID - LPC1768
Hi everyone,
From the PID.h file from Aaron Berk, I could not understand the mathematical statement below;
controllerOutput_ = scaledBias + Kc_ * (error + (tauR_ * accError_) - (tauD_ * dMeas));
Why we subtract the last term? Do not we need to sum all terms(P+I+D)?
Regards.