Process Gain Is The “How Far” Variable
Graphical Modeling of Process Dynamics: Heat Exchanger Case Study controlguruStep 3 of our controller design and tuning recipe is to approximate the often complex behavior contained in our dynamic process test data with a simple first order plus dead time (FOPDT) dynamic model.
In this article we focus on process gain, Kp, and seek to understand what it is, how it is computed, and what it implies for controller design and tuning. Corresponding articles present details of the other two FOPDT model parameters: process time constant, Tp; and process dead time, Өp.
Heat Exchanger Step Test Data
We explore Kp by analyzing step test data from a heat exchanger. The heat exchanger is a realistic simulation where the measured process variable (PV) is the temperature of hot liquid exiting the exchanger. To regulate this PV, the controller output (CO) signal moves a valve to manipulate the flow rate of a cooling liquid into the exchanger.
The step test data below (click for large view) was generated by moving the process from one steady state to another. As shown, the CO was stepped from 39% up to 42%, causing the measured PV to decrease from 140 °C down to approximately 138.4 °C.
Computing Process Gain
Kp describes the direction PV moves and how far it travels in response to a change in CO. It is based on the difference in steady state values. The path or length of time the PV takes to get to its new steady state does not enter into the Kp calculation.
Thus, Kp is computed:
where ΔPV and ΔCO represent the total change from initial to final steady state.
▪ the process is properly instrumented as a CO to PV pair,
▪ major disturbances remained reasonably quiet during the test, and
▪ the process itself is self regulating. That is, it naturally seeks to run at a steady state if left uncontrolled and disturbances remain quiet. Most, but certainly not all, processes are self regulating. Certain configurations of something as simple as liquid level in a pumped tank can be non-self regulating.
Reading numbers off the above plot:
Using these ΔCO and ΔPV values in the Kp equation above, the process gain for the heat exchanger is computed:
Kp Impacts Control
Process gain, Kp, is the "how far" variable because it describes how far the PV will travel for a given change in CO. It is sometimes called the sensitivity of the process.
If a process has a large Kp, then a small change in the CO will cause the PV to move a large amount. If a process has a small Kp, the same CO change will move the PV a small amount.
As a thought experiment, let’s suppose a disturbance moves our measured PV away from set point (SP). If the process has a large Kp, then the PV is very sensitive to CO changes and the controller should make small CO moves to correct the error. Conversely, if the process has a small Kp, then the controller needs to make large CO actions to correct the same error.
This is the same as saying that a process with a large process gain, Kp, should have a controller with a small controller gain, Kc (and vice versa).
Looking ahead to the PI tuning correlations we will use in our case studies:
Where:
Kc = controller gain, a tuning parameter
Ti = reset time, a tuning parameter
Notice that in the Kc correlation, a large Kp in the denominator will yield a small Kc value (that is, Kc is inversely proportional to Kp). Thus, the tuning correlation tells us the same thing as our thought experiment above.
Sign of Kp Tells Direction
The sign of Kp tells us the direction the PV moves relative to the CO change. The negative value found above means that as the CO goes up, the PV goes down. We see this “up-down” relationship in the plot. For a process where a CO increase causes the PV to move up, the Kp would be positive and this would be an “up-up” process.
When implementing a controller, we need to know if our process is up-up or up-down. If we tell the controller the wrong relationship between CO actions and the direction of the PV responses, our mistake may prove costly. Rather than correcting for errors, the controller will quickly amplify them as it drives the CO signal, and thus the valve, pump or other final control element (FCE), to the maximum or minimum value.
Units of Kp
If we are computing Kp and want the results to be meaningful for control, then we must be analyzing wire out to wire in CO to PV data as used by the controller.
The heat exchanger data plot indicates that the data arriving on the PV wire into the controller has been scaled (or is being scaled in the controller) into units of temperature. And this means the the controller gain, Kc, needs to reflect the units of temperature as well.
This may be confusing, at least initially, since most commercial controllers do not require that units be entered. The good news is that, as long as our computations use the same "wire out to wire in" data as collected and displayed by our controller, the units will be consistent and we need not dwell on this issue.