PIDCalculator Class
(Automation::PIDCalculator)This module is a PID (Proportional–Integral–Derivative) control value calculation engine, that can be used in other C++ modules to add PID regulator capability. More...
Header: | #include <PIDCalculator.h> |
Public Functions
T | CalculateControlValue(T setPoint, T currentState, bool isRadDegrees, double ts) |
double | GetIntD() const |
double | GetIntI() const |
double | GetIntP() const |
void | Reset() |
void | SetKD(double kD) |
void | SetKF(double kF) |
void | SetKI(double kI) |
void | SetKP(double kP) |
void | SetKR(double kR) |
void | SetMaxI(double maxI) |
void | SetMinI(double minI) |
void | SetSat(double sat) |
void | SetTDecay(double tDecay) |
Detailed Description
This module is a PID (Proportional–Integral–Derivative) control value calculation engine, that can be used in other C++ modules to add PID regulator capability.
See also PIDRegulator.
Member Function Documentation
T PIDCalculator::CalculateControlValue(T setPoint, T currentState, bool isRadDegrees, double ts)
double PIDCalculator::GetIntD() const
double PIDCalculator::GetIntI() const
double PIDCalculator::GetIntP() const
void PIDCalculator::Reset()
void PIDCalculator::SetKD(double kD)
void PIDCalculator::SetKF(double kF)
void PIDCalculator::SetKI(double kI)
void PIDCalculator::SetKP(double kP)
void PIDCalculator::SetKR(double kR)
void PIDCalculator::SetMaxI(double maxI)
void PIDCalculator::SetMinI(double minI)
void PIDCalculator::SetSat(double sat)
void PIDCalculator::SetTDecay(double tDecay)
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.