Editor's Choice


Loop Signatures 4: Process dynamics – deadtime and simple lags

November 2020 Editor's Choice

In the previous article dealing with process dynamics, process gain was discussed. Two further important dynamic factors occurring in the majority of process responses are deadtime, and the first order lag.

Deadtime

Deadtime in a process is defined as the amount of time after a change is made in the input to the process before there is any change in the process output measurement. Deadtime in processes are typically the result of transportation delay. Figure 1 depicts a mass feeder conveyor, where the belt is moving at a given rate. The process deadtime is the time taken from when the material leaves the hopper until it reaches the measurement transmitter. Processes with long deadtimes compared to the process time lags, require relatively fast integral times and very small proportional gains in the controllers.

Figure 1.

Figure 2.

Figure 3.

Deadtime is the ‘enemy’ of feedback control, as it results in phase lag, and hence possible instability in a loop that is tuned too fast. To counter deadtime, one has to insert less gain in the controller. This means deadtime dominant loops have to be tuned more slowly. This is a reason why the D (derivative) parameter should never be used in the control of such processes.

In fast processes, like flow and low-capacity or hydraulic pressure loops, the controller scan rate adds deadtime to the process. Therefore controllers with slow scan rates, when used on fast processes, can make these types of processes act as deadtime dominant loops, resulting in the need to detune the controller.

There is a common misconception that deadtime dominant processes cannot be controlled with PID controllers. This is completely incorrect. A PID controller on such a process can be tuned so that the process can fully respond to a step change in setpoint within approximately two deadtimes. However, in reality, if the deadtime is long, this is slow.

In real life situations, the majority of controllers are there to deal with load changes as opposed to setpoint changes, and the problem that often occurs in deadtime dominant processes is that load changes occur too frequently and too fast for the controller to be able to catch these changes. In such situations it may be necessary to re-examine the control strategy and to try and find alternatives.

First order lags

A first order lag is illustrated in Figure 2. It is an exponential response to a step change on the process input. The lag is measured by its ‘time constant’. A pure lag reaches 63,2% of its total change in one time constant. The time constant value is not affected by the size of the step.

Lags in a response are a function of the resistance and capacitance of the process. In this example, the resistance is the orifice in the valve restricting the gas flow, and the capacitance is the volume of pipe the gas must fill to increase the pressure.

On fast processes like flow, the process dynamics are largely determined by the valve dynamics. Most pneumatically operated valves respond to step changes exponentially, as opposed to electric motor driven valves which respond in a ramp fashion.

The first order lag response is very common, and the vast majority of processes found in industrial control generally incorporate at least one such lag. The first order lag is also commonly used to provide a ‘filter’ or ‘damping’ function in control loops. Most process transmitters and controllers offer a filter feature to allow one to reduce or suppress noise that has entered the process variable measurement. It should be noted that when a filter function is employed in the transmitter or controller, to ‘smooth’ the recorded process variable measurement signal, the controller does not act on the true response of the process, as the filter adds lag time to the PV signal. Much will be said about the potential disadvantages and dangers of using filters in a later article in this series.

The relationship between time constant and deadtime

The relationship between time constant and deadtime is very important. Generally processes with deadtimes smaller than the time constant of the dominant lag are easier to control. A process with a deadtime smaller than one tenth of the dominant lag may be classed as a ‘pure lag only’ process, which is a deadtime-free process.

Without any deadtime, a pure lag process cannot become unstable as the phase angle can never reach -180°. This means it can be can be tuned as fast as one wishes. Typically pure lag processes are encountered in real life on certain self-regulating temperature processes where one lag is significantly larger than any other.

Processes with a deadtime longer than the time constant of the dominant lag are said to be ‘deadtime dominant’, and are considered more difficult to control. This is due to the fact that one must ‘detune’ deadtime dominant processes for reasons of stability as discussed above.

It is of significant interest to note that after five years of intensive empirical research in the 1930s, Ziegler and Nicholls only managed to come up with fairly ‘rough’ tuning methods for simple self-regulating processes with process gain, deadtime, and lag, and where the lag was larger than the deadtime. Even today, many of the published tuning methods, self-tuning controllers, and commercial tuning packages on the market can only deal with similar simple dynamics.

On integrating processes like level controls, the lags are usually insignificant and play little role in the dynamics of the process. However, on certain types of integrating processes, particularly like large-capacity pressure control systems, and in certain types of integrating temperature processes like end-point control (also commonly referred to as batch temperature processes), a large lag is present which has a significant effect on the dynamics. Figure 3 illustrates such a process. Instead of the integrating process going straight into a ramp when the balance is disturbed, as in a level loop, it slowly curves up into the ramp as seen in the diagram. This is due to the lag.

A noteworthy point is that this is one of the only two cases of process dynamics where one should use the D term in the controller. In this particular case, the D can make a really significant improvement to the control response, typically increasing the speed of response by as much as a factor of four. The value of D is set equal to the time constant of the lag, and this effectively cancels the lag, particularly if the controller is using a series algorithm. (See article on controller algorithms later in the series.)

As mentioned in the previous article in this series, there are many other types of more complicated dynamic responses that are commonly found in industrial processes. These include multiple lags, higher order lags, and positive and negative leads which all play a significant part in the control of such processes. These dynamic factors are beyond the scope of these articles. However it is essential that people who are serious about optimisation study techniques in dealing with the control of processes with such difficult dynamics. (Our Part 2 course on practical control deals extensively with this subject.)

Michael Brown


Michael Brown.

Michael Brown is a specialist in control loop optimisation with many years of experience in process control instrumentation. His main activities are consulting, and teaching practical control loop analysis and optimisation. He gives training courses which can be held in clients’ plants, where students can have the added benefit of practising on live loops. His work takes him to plants all over South Africa and also to other countries.


Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Loop Signatures 1: Introduction to the Loop Problem Signatures series
May 2020, Michael Brown Control Engineering , Editor's Choice
Over the years I have had many requests to write a book giving more detailed explanations of some of the problems I have encountered in my work on practical loop optimisation. I am by nature and inclination ...

Read more...
Advanced new Festo valve portfolio gains immense popularity in industrial automation
November 2020, Festo South Africa , Editor's Choice
Kershia Beharie talks to SA Instrumentation and Control about choosing the right valves for machine applications from the popular Festo range.

Read more...
Michael Brown now offering control courses to individuals
November 2020, Michael Brown Control Engineering , News
Michael Brown is now offering training courses to individuals via online Zoom sessions. The first session of the Part 1 practical control course – Troubleshooting and Loop Tuning – will commence on Monday 1 February 2021.

Read more...
Case History 174: The importance of setting up your controller properly
October 2020, Michael Brown Control Engineering , Editor's Choice
It always amazes me that so few people really understand the workings of their feedback controllers. I have met only a few who really understand the practicalities of control blocks.

Read more...
Loop Signatures 3: Process Dynamics – process gain
September 2020, Leaderware , Editor's Choice
If one wishes to control a process, then it is important to have a reasonable understanding of the process itself and certainly one should also be aware of the external influences that can act on it.

Read more...
Loop signatures: Case History 173
August 2020, Michael Brown Control Engineering , Editor's Choice
More control problems in a copper extraction plant.

Read more...
Virtual commissioning evolves into a model-driven digital twin
August 2020 , Editor's Choice
The primary goal of the commissioning process, whether physical or virtual, is to bring a completely integrated, assembled, and validated mechanical, electrical, and controls software production system into operation.

Read more...
Loop Signatures 2: The two classes of processes.
July 2020, Michael Brown Control Engineering , Editor's Choice
This article will discuss the two classes of processes called self-regulating and integrating (or ramping) processes. This subject is absolutely vital to regulatory control, but strangely is seldom taught ...

Read more...
From the editor's desk: The virtual business assistant
May 2020, Technews Publishing (SA Instrumentation & Control) , Editor's Choice
Have you ever wished someone would automate the daily grind of routine tasks and set you free to focus on the more engaging aspects of your job?

Read more...
From the editor's desk: The virtual business assistant
June 2020, Technews Publishing (SA Instrumentation & Control) , Editor's Choice
Enter robotic process automation (RPA), a disruptive workplace technology that uses software “robots” to mimic many of the repetitive interactions human beings have with their computers. It performs such ...

Read more...