FORUM


PID Interface with Arduino

What Is PID?

From Wikipedia: "A PID controller calculates an 'error' value as the difference between a measured [Input] and a desired setpoint. The controller attempts to minimize the error by adjusting [an Output]."

So, you tell the PID what to measure (the "Input",) Where you want that measurement to be (the "Setpoint",) and the variable to adjust that can make that happen (the "Output".) The PID then adjusts the output trying to make the input equal the setpoint.

For reference, in a car, the Input, Setpoint, and Output would be the speed, desired speed, and gas pedal angle respectively.

Tuning Parameters

The black magic of PID comes in when we talk about HOW it adjusts the Output to drive the Input towards Setpoint. There are 3 Tuning Parameters (or "Tunings"): Kp, Ki & Kd. Adjusting these values will change the way the output is adjusted. Fast? Slow? God-awful? All of these can be achieved depending on the values of Kp, Ki, and Kd.

So what are the "right" tuning values to use? There isn't one right answer. The values that work for one application may not work for another, just as the driving style that works for a truck may not work for a race car. With each new application you will need to try Several Tuning values until you find a set that gives you what you want.


About the Author

Sudhakaran

 sudhakaran@iesolution.in

 November 26, 2017



Reply Message

Description
Profile Icon *
final year projects
final year projects for students
best inplant training in chennai
best ipt in chennai
inplant training in chennai for eee students
2017 final year project in chennai
ieee 2017 projects in chennai
ieee EEE projects in chennai
ieee ECE projects in chennai
ieee ECE
ieee E&I
ieee MECH
ieee BIO MEDICAL
Chennai
Tamilnadu
engineering project in chennai
MCA project in chennai
BE project in chennai
BTECH project in chennai
BE IEEE project
BTECH IEEE project
BE IEEE project in chennai
BTECH IEEE project in chennai
inplant training in chennai for eee students
inplant training in chennai for ece, eee mechanical, civil
free inplant training in chennai for engineering students
final year projects for ece
ieee projects 2017 for eee
final year projects
ieee projects
best project centres in chennai
final year projects for engineering
final year projects for eee
ieee projects 2017 for eee
best project centres in chennai
android ieee final year projects
ieee 2017 projects in chennai