Project

Process Control Loop Commissioning and Tuning Project

Automation project for commissioning and tuning a process control loop with step-test data, FOPDT identification, PI tuning, actuator checks, manual-to-auto transfer, validation evidence, and handover criteria.

This project produces a commissioning and tuning package for a process control loop. The objective is not simply to find PID gains that make a trend look smooth. The objective is to prove that the measurement, actuator, controller action, tuning, limits, alarms, and handover evidence are good enough for operation.

The example uses a jacketed mixing tank temperature loop. The same workflow applies to many flow, pressure, level, temperature, speed, and composition loops when the process can be step-tested safely.

Project Objective

Commission a temperature control loop after transmitter recalibration and steam-valve actuator replacement.

The project deliverable is a short engineering package containing:

  • loop boundary and control objective;
  • pre-commissioning checks;
  • open-loop step-test data;
  • first-order plus dead-time model;
  • PI tuning calculation;
  • controller action and limit configuration;
  • manual-to-auto transfer check;
  • closed-loop acceptance test;
  • fault and handover evidence.

System Boundary

The loop is:

  • controlled variable: tank outlet temperature, T in deg C;
  • setpoint during production: 70\ ^\circ\text{C};
  • manipulated variable: steam control-valve command, u in percent open;
  • final element: fail-closed steam valve with position feedback;
  • sensor: calibrated RTD transmitter;
  • controller: digital PI controller in the plant control system;
  • sampling period: 1\ \text{s} trend logging, controller scan 0.5\ \text{s};
  • normal actuator range: 15 percent to 85 percent open;
  • high-temperature operating limit: 85\ ^\circ\text{C}.

The engineering review excludes the design of the tank, jacket, and steam supply. It focuses on whether this loop can be placed in automatic control with defensible evidence.

Acceptance Criteria

Use these commissioning criteria:

RequirementAcceptance value
steady-state error after settling\le 0.5\ ^\circ\text{C}
overshoot after a 5\ ^\circ\text{C} setpoint increase\le 3\ ^\circ\text{C}
settling time to \pm 0.5\ ^\circ\text{C}\le 15\ \text{min}
manual-to-auto output bump\le 5\% valve command
normal valve command during test15 percent to 85 percent
high-temperature trip proofverified before auto operation

These are project values, not universal tuning rules. A reactor, sterilizer, furnace, compressor, or safety-critical loop may require much stricter limits and formal management of change.

Pre-Commissioning Checks

Before tuning, verify the loop can be tested safely:

  1. The temperature transmitter range, units, damping, and calibration record match the control-system configuration.
  2. The valve moves in the correct direction and position feedback agrees with command.
  3. Manual valve commands do not exceed process, utility, pressure, or temperature limits.
  4. High-temperature interlocks, alarms, and operator response paths are tested.
  5. Trend logging includes setpoint, process variable, controller output, valve position, mode, alarms, and timestamps.
  6. The operator has an abort action for excessive temperature, oscillation, steam pressure loss, or abnormal valve behavior.

Skipping these checks is a common commissioning failure. Tuning a loop with reversed action, wrong scaling, a stuck valve, or untested protection can turn a minor loop problem into a plant event.

Step 1: Run an Open-Loop Step Test

Place the controller in manual at stable operation. Hold the valve at 40 percent open until the outlet temperature is near steady state:

T_0=62.0\ ^\circ\text{C}

At t=0, step the valve command from 40 percent to 50 percent:

\Delta u=50-40=10\%

Representative trend data are:

Time after stepValve commandOutlet temperature
0\ \text{s}50 percent62.0\ ^\circ\text{C}
80\ \text{s}50 percent62.1\ ^\circ\text{C}
230\ \text{s}50 percent63.0\ ^\circ\text{C}
480\ \text{s}50 percent64.5\ ^\circ\text{C}
760\ \text{s}50 percent65.4\ ^\circ\text{C}
1200\ \text{s}50 percent66.0\ ^\circ\text{C}

The final temperature change is:

\Delta T=66.0-62.0=4.0\ ^\circ\text{C}

Process gain from valve command to temperature is:

\displaystyle K=\frac{\Delta T}{\Delta u}=\frac{4.0}{10}=0.40\ ^\circ\text{C}/\%

Engineering Comment

The sign is positive: opening the steam valve increases temperature. With the controller error defined as:

e=T_{SP}-T

a positive controller gain should increase valve command when temperature is below setpoint. This controller-action check is more important than the exact tuning formula.

Step 2: Identify a FOPDT Model

Use a first-order plus dead-time model:

\displaystyle G(s)=\frac{K e^{-\theta s}}{\tau s+1}

where:

The first visible response occurs at about:

\theta=80\ \text{s}

For a first-order response, the time constant is the time from the effective response start to 63.2 percent of the final change.

The 63.2 percent temperature level is:

T_{63.2}=T_0+0.632\Delta T
T_{63.2}=62.0+0.632(4.0)=64.53\ ^\circ\text{C}

The trend reaches approximately this value at:

t_{63.2}\approx480\ \text{s}

Therefore:

\tau=t_{63.2}-\theta=480-80=400\ \text{s}

The commissioning model is:

\displaystyle G(s)=\frac{0.40e^{-80s}}{400s+1}

Engineering Comment

This model is a commissioning approximation. It is useful because it captures gain, lag, and dead time from measured data. It does not prove that the process is linear across all loads, valve positions, steam pressures, or product viscosities.

Step 3: Calculate Initial PI Tuning

Use an internal-model-control style PI starting point for a stable FOPDT process:

\displaystyle K_c=\frac{\tau}{K(\lambda+\theta)}
\displaystyle T_i=\tau+\frac{\theta}{2}

where:

  • K_c is controller gain in percent valve command per deg C error;
  • T_i is integral time;
  • \lambda is the desired closed-loop response time.

Choose a conservative closed-loop time:

\lambda=\max(\tau,3\theta)=\max(400,240)=400\ \text{s}

Controller gain:

\displaystyle K_c=\frac{400}{0.40(400+80)}
\displaystyle K_c=\frac{400}{192}=2.08\ \%/^\circ\text{C}

Integral time:

\displaystyle T_i=400+\frac{80}{2}=440\ \text{s}

Configure the PI controller as:

\displaystyle u(t)=u_{bias}+K_c\left(e(t)+\frac{1}{T_i}\int e(t)\,dt\right)

with:

e(t)=T_{SP}-T(t)

Initial values:

ParameterValue
controller actiondirect on error, opens valve when T<T_{SP}
proportional gainK_c=2.08\ \%/^\circ\text{C}
integral timeT_i=440\ \text{s}
derivative timeT_d=0
output limits10 percent to 90 percent
normal operating alarmbelow 15 percent or above 85 percent
anti-winduptracking or back-calculation enabled

Engineering Comment

The calculated tuning is a starting point. It is deliberately conservative because the loop has significant dead time. Aggressive tuning may reduce nominal settling time but can amplify valve wear, steam-pressure disturbances, sensor noise, and interactions with upstream utility controls.

Step 4: Check Actuator Headroom

For a 5\ ^\circ\text{C} setpoint increase, the approximate steady-state valve change is:

\displaystyle \Delta u_{ss}=\frac{\Delta T}{K}=\frac{5}{0.40}=12.5\%

If the loop is operating near 45 percent valve command, the expected new steady command is:

u_{new}=45+12.5=57.5\%

This is within the normal 15 percent to 85 percent range.

Engineering Comment

Controller tuning cannot fix a loop with no actuator authority. If the valve were already at 82 percent open, a 5\ ^\circ\text{C} setpoint increase would likely saturate the valve. In that case the engineering action would be utility capacity, valve sizing, operating limit, or production-rate review, not simply more integral gain.

Step 5: Validate Manual-to-Auto Transfer

Before automatic operation, align the controller output with the manual valve command. Suppose the process is stable at:

u_{manual}=45.0\%

The controller bias and current error predict:

u_{auto}=47.3\%

The transfer bump is:

\Delta u_{bump}=47.3-45.0=2.3\%

Acceptance limit:

|\Delta u_{bump}|\le5\%

Because:

2.3<5

the transfer is acceptable.

Engineering Comment

Manual-to-auto transfer is a commissioning test, not a cosmetic detail. A large output bump can move a valve, upset a process, trip an alarm, or invalidate the step-test assumptions immediately after the operator places the loop in automatic.

Step 6: Run the Closed-Loop Acceptance Test

After enabling the PI controller, perform a controlled setpoint step from 65 deg C to 70 deg C. The observed test record is:

MetricObserved valueAcceptance
peak temperature71.2\ ^\circ\text{C}\le73.0\ ^\circ\text{C}
overshoot1.2\ ^\circ\text{C}\le3.0\ ^\circ\text{C}
settling time to \pm0.5\ ^\circ\text{C}13\ \text{min}\le15\ \text{min}
final average temperature70.2\ ^\circ\text{C}70.0\pm0.5\ ^\circ\text{C}
maximum valve command71 percentwithin 15 percent to 85 percent
oscillation after settlingnone sustainednone sustained

Steady-state error:

e_{ss}=70.0-70.2=-0.2\ ^\circ\text{C}

Magnitude:

|e_{ss}|=0.2\ ^\circ\text{C}<0.5\ ^\circ\text{C}

The loop passes the stated acceptance criteria.

Engineering Comment

This result is acceptable because the trend meets requirements and the actuator remains within a healthy range. It is not a universal guarantee. The loop should still be reviewed under different production rates, steam pressure conditions, product properties, and disturbance cases if those conditions are part of normal operation.

Failure Modes to Review

Record at least these commissioning failure modes:

Failure modeLikely causeConsequenceRequired evidence
reversed controller actionwrong sign convention or valve actionrapid movement away from setpointbump test and direction record
wrong sensor scalingtransmitter range or units mismatchfalse process variable and wrong tuningcalibration and configuration check
excessive dead timeslow measurement, transport delay, filtering, or sample delayoscillation risk and poor disturbance rejectionstep-test trend and latency review
valve stictionactuator friction or positioner issuelimit cycle or sluggish responsevalve travel and position feedback trend
integral windupsaturation without anti-windupovershoot after constraint clearsoutput-limit and anti-windup test
untested interlockprotection assumed but not verifiedunsafe operation during abnormal conditionproof-test record

Commissioning Deliverable

The final package should include:

  1. loop tag, equipment boundary, control objective, and operating mode;
  2. instrument calibration records and control-system scaling screenshots or configuration exports;
  3. valve stroke test and direction check;
  4. alarm and interlock proof-test evidence;
  5. open-loop step-test trend with selected operating point;
  6. FOPDT model calculation with units;
  7. selected PI tuning and rationale for conservatism;
  8. output limits, anti-windup settings, and manual-to-auto transfer result;
  9. closed-loop acceptance trend and pass/fail table;
  10. known limitations and conditions requiring retuning;
  11. handover sign-off by operations, controls, process, and maintenance owners.

Retuning Triggers

Retune or revalidate the loop when:

  • the valve, positioner, transmitter, controller scan, filtering, or actuator supply changes;
  • production rate, fluid properties, heat-transfer surface condition, or steam pressure changes enough to alter gain or time constant;
  • operators report cycling, sluggish response, frequent manual operation, or repeated alarms;
  • trends show saturation, deadband, noisy measurement, or drift;
  • the loop becomes part of a new safety, quality, energy, or throughput constraint.

The project is complete only when tuning, validation, and operating evidence agree. A loop that works once during a quiet test but lacks direction checks, protection proof, trend evidence, or handover criteria is not commissioned. It is merely adjusted.

REF

See also