Thread: PID Loops
View Single Post
  #7   Spotlight this post!  
Unread 13-03-2011, 14:03
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,101
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: PID Loops

Quote:
Originally Posted by theNerd View Post
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


Attached Thumbnails
Click image for larger version

Name:	LabVIEW PID (help).png
Views:	55
Size:	18.3 KB
ID:	10401  

Last edited by Ether : 13-03-2011 at 14:06.