None Notebook

This notebook contains material from CBE30338; content is available on Github.

< 4.2 PID Control with Setpoint Weighting | Contents | Tag Index | 4.4 PID Control with Anti-Reset-Windup >

Open in Colab

Download

4.3 PID Control with Bumpless Transfer

4.3.1 Switching from Manual to Automatic Control

The following cells simulate a common situation where a system is manually controlled to a desired steady state, then a controller turned on to maintain that state without further operator intervention. Examples include a pilot switching to autopilot of an aircraft at cruising altititude, or a car driver turning on cruise-control once at a desired highway driving speed.

For this simulation we use PID control with setpoint weighting.

The desired setpoint is 50°C which is acheived with a power setting of approximately 50%. We'll start out at the power setting for a period of 400 seconds, then turn on the controller.

4.3.2 Bumpless Transfer

The previous simulation would be a genuine problem for most process operators. You have a controller that can do the job but there is no acceptable way to turn it on. Can you imagine if this happen each time a pilot turned on an autopilot, or a driver turn on cruise control?

What we need is a property called bumpless transfer. Bumpless transfer is a control feature that minimizes any disturbances encountered on the transition from manual to automatic operation.

There are actually three elements bumpless transfer.

  1. Get the controller output to track the manipulated variable.
  2. Setpoint tracks the process variable during manual control.
  3. Start at or near a steady state.

4.3.2.1 Tracking the Manipulated Variable

As we've seen in previous simulations, the output of the controller might not match the actual value applied to the process. In the simulations this was due to controller output exceeding the physical limits of the manipulated variable. In the case of bumpless transfer, the cause is due to the manual adjustment of the manipulated variable.

To address this issue, we add a new input to the controller called tracking. The controller will then attempt to maintain the output value of the manipulated variable equal to the tracking input. This will turn out to provide a number of useful properties.

The implementation code also changes. In effect, the controller is always on, even if the input to process is under manual control. In manual mode, the controller is monitoring and tracking the manipulated variable, and always ready to take over when switched to automatic control.

4.3.2.2 Setpoint Tracking

A second component of bumpless transfer is to have the setpoint track the process variable. This is generally what we do in automotive cruise control when we push the set button.

4.3.2.3 Steady State

The final condition to assure bumpless transfer is to at or very near to a steady state. To demonsrate, we will repeat the last simulation, except execute the manual to auto transition at $t$ = 600 seconds.

< 4.2 PID Control with Setpoint Weighting | Contents | Tag Index | 4.4 PID Control with Anti-Reset-Windup >

Open in Colab

Download