We’re a group of students, who are learning new ways of programming in robotC and we would like to know what does “P” “I” “D” stand for? And what is it used for?
looking forward to hear from anyone, thanks for advance
P = proportional
I = integral
D = derivative
The idea is that the control looks at how far off something is from the target value (proportional) and applies corrective terms based on if it is most recently approaching the value (derivative) and how long the error has persisted (integral).
It’s used to get a system toward some desired value quickly while trying to avoid significant overshoot. Think of cruise control being set and being below the set speed. The further below your set speed, the more the car should accelerate (proportional). But if the car continues to slow down (like when going up hill), that clearly wasn’t enough so accelerate more (derivative). And if it’s taking a while to get to the desired speed, that clearly wasn’t enough so accelerate more (integral). These also apply in the opposite directions.
@robotguy go ahead and do your rant. I know it’s coming.
Pelvic inflammatory disease
@Uxarna https://vexforum.com/index.php/attachment/59e1993a1d9e5_introduction_to_pid_controllers_ed2(1).pdf
That is literally the first thing that appears when you search up PID
-something really basic that might help you with PID
sometimes the definitions of the P, I, and D might not be fully consistent since you can “error out” different things with PID (like two encoders)
-generally you also don’t need the full PID, you can do only P and I or D and it can work