Quote:
Originally Posted by theNerd
I still don't understand to much about the details on how to find the derivative of the error (or the integral). I understand that the derivative of an equation is e.g.: instantaneous velocity, for instance F(x)' 4x^4 = 16x^3 (not pretending anything however I don't know the in depths of the derivatives all i know from second hand learning is the power rule). However my knowledge on integrals is null. How do you find the integral and derivative?
|
If you are using PID functions that came with the language you are using, you don't have to. It is done within the provided library function.
All you need supply are:
the setpoint (the target value),
the process variable (the measured - with a sensor - value of what you are trying to control),
the 3 "gains" P, I, D
and any other optional inputs to the function such as output range
See attached screenshot of LabVIEW's PID