Setpoint: Input: Output: (Process variable) (Period at which the input is compared to the setpoint and output is adjusted.) Scan time Heat sensor(Process variable) SNAP PAC Learning Center Heating element(Controlled variable) The SNAP PAC Learning Centerprovides a combined heater and temperature sensor. Heater output(Controlled variable) Thermostat’s temperature sensor (Process variable) Printout 11:20 11:22 11:24 11:26 11:28 11:30 11:32 Step change in output Process variable at steady state Loop deadtime Process responsetime Process variable reaches steady state within the time span of thegraph Graph has easily read unitsin seconds Metric unit ruler Outputbefore: Output after High value inthe process variable’s units,e.g., temperature Low value inthe process variable’s units,e.g., temperature Measure Distanceon paper 63.2% Point on graph where 63.2% of change in y intersects with the plot of the process variable Use this measurement Lengthon paper Distance: Scan time Time Length on paper 11:20 11:22 11:24 11:26 11:28 11:30 11:32 Sample time unitsare shown here. Yours will differ. Open Loop Gain (OLG)from change in Y value: OLG = Find conversion factor: = Calculate Loop Time Constant (LTC) from change in x: LTC = Output change Inverse of OLG becomes the P-tuning pararameter: 1 P-tuning parameter = Calculate Integral fromLoop Time Constant: I-tuning parameter 60 = Calculate Derivative from Integral: D-tuning parameter 4 = 4 =

PID

This online tuner calculates P, I, and D values to tune your real-world control loop and suggests a scan rate, based on data you supply. It’s an easy way to get very close to functional tuning for your real-world process PID. Note that the tuner is optimized for Opto 22’s Velocity Type C and similar algorithms. For more information on PID loops, see the Tuning a PID Control Loop Technical Note.

A PID control loop is (typically) a mathematical calculation that measures a process input, compares it to a desired setpoint, and applies an output designed to match the setpoint as closely as possible.

The output is derived from three values: proportional, integral, and derivative. This calculation is repeated at a set time interval called a scan time, usually in seconds.

You can use a common PID algorithm for nearly any process by selecting numerical values that determine the behavior of proportional, integral, and deriviative calculations.

Then you'll need to tune each PID control loop to determine the values for proportional, integral, and derivative that will achieve the ideal performance for your individual process.