Keywords

1 Introduction

Nowadays in many industries the demands to the control system performance are rather strict. For example, the temperature of the superheated steam at thermal power units can change in a very narrow interval. The things mentioned mean that the performance of the control system should be high and it is still important to improve the performance. There are some features of control plants and processes that can influence the control system performance badly, and one of them is the time delay. It is typical for some processes, for example, for thermal processes at thermal power plants, heating systems, industrial thermal technologies, etc.

Generally, two ways can be used to improve the control system performance. First, one can use a more advanced control algorithm (for example, one can use PID instead of PI and so on), second, one can use a more complex control system structure, for example, a cascade system [1, 2]. The cascade systems are standard engineering solution in many cases nowadays, for example, at thermal power plants [3], but they have certain drawbacks in comparison with single-loop systems. Single-loop systems are easy to use and tune, there are a lot of tuning methods and auto-tuning algorithms [2, 4] that may be easily implemented by means of modern programmable controllers. That is why, from the one side, the abilities of the standard linear control algorithms are under-used, and from the other side, it is possible to improve the performance of the single-loop systems using auto-tuning algorithms [4] and predictive algorithms [1, 5]. This paper is going to consider a single-loop control system with a predictive PID-controller, auto-tuning module and a thermal process.

There are a lot of adaptation and auto-tuning methods [2, 4, 6, 7], all of them have their advantages and disadvantages. In order to get the process model and tune the control system the method may use the process transient response [2] or frequency response [2, 4] or more complicated things such as artificial neural networks [8]. In this paper a method described in [4] will be used, this method is called AT-1 and it has two important advantages, it allows to get coefficients of the considerably complex model (the second order with the time delay and the four coefficients may be determined independently) and it works faster than other methods because it performs only one iteration. This method was used earlier in some systems where the process model was used, for example, in a single-loop control system with a PID-algorithm, a thermal process and a Smith predictor [9].

Predictive control systems are widely described in the technical literature, for example, in [1, 5, 6]. There are a lot of articles considering using the predictive systems with the thermal processes [5, 7, 8, 10, 11], and all of them show that the predictive systems of various kinds are effective for thermal processes. But generally they use either rather complex algorithms, such as MPC [11] or neural networks [8]. Some articles consider standard linear control algorithms, such as [10, 12, 13], but they do not consider the systems with the PID control law with filters, although these systems are typical for industry [2, 4]. In this situation it seems logical to consider a control system with the predictive PID control law with a filter. Such systems with the second order filters were briefly considered in [14], but the PID law with the first order filter is even more widely used.

This article considers a single-loop control system with a PID control law with the first order filter. The system is equipped with an auto-tuning module using the fast auto-tuning algorithm AT-1 and works with a typical thermal process.

2 System Description and Problem Statement

As has already been mentioned, the paper considers a single-loop control system with a PID control law and an auto-tuning module. The PID is equipped with a first order filter. The prediction module is in the feedback. The structure of the system is given in Fig. 1.

Fig. 1.
figure 1

The structure of the control system.

The PID control law with the first order filter has the following transfer function:

$$W_{PID} \left( s \right) = K_{p} \cdot (1 + \frac{1}{{T_{i} s}} + \frac{{T_{d} s}}{{T_{f} s + 1}})$$
(1)

where: \(K_{p}\) – the gain of the PID control law, \(T_{i}\) – the integrating time constant, \(T_{d}\) – the derivative time constant, \(T_{f}\) – the filter time constant. Tuning methods for this control law are described in many books and papers, for example, in [2, 4, 15]. In this paper we will use the method based on the ideas shown in [4, 16], the method will be described below.

The process model has the second order transfer function with the time delay:

$$W_{mod} \left( s \right) = \frac{{K_{mod} \cdot e^{{ - \tau_{mod} s}} }}{{(T_{1mod} s + 1)(T_{2mod} s + 1)}}$$
(2)

where: \(K_{mod}\) – the gain of the process model; \(T_{1mod}\), \(T_{2mod}\) – the time constants of the process model; \(\tau_{mod}\) – the delay time of the process model.

The system shown in Fig. 1 operates as a common single-loop system with a PID control algorithm in the normal working mode. If it is necessary to retune the system one switches the switch shown in Fig. 1 from position 1 to position 2 and the auto-tuning module began to work. The general structure of the auto-tuning module is shown in Fig. 2.

Fig. 2.
figure 2

The structructure of the auto-tuning module.

The general working algorithm of the autotuning module is simple. The relay forms the rectangular impulse on the input of the process. The impulse response goes to the Calc1 module and the module calculates the coefficients of the process model with the transfer function (2). Then the coefficients are sent to the Calc2 module that calculates the PID-law parameters, the transfer function of the PID-law is (1). The PID parameters are calculated using indirect frequency optimality indicators. The calculation methods mentioned are described in detail in [4, 16].

The prediction module operates according to the linear prediction algorithm, described by the following formula [10, 12, 13, 16]:

$$y_{pred} \left( t \right) = y\left( t \right) + y^{\prime}(t) \cdot \tau_{pred}$$
(3)

where: \(y\left( t \right)\) – the process output signal (see Fig. 1), \(y^{\prime}\left( t \right)\) – the derivative of the process output signal, \(y_{pred} \left( t \right)\) – the output of the prediction module, \(\tau_{pred}\) – the prediction time. The linear prediction algorithm was chosen because it is simple, easy to implement by means of modern controller programming systems and generally provides good results.

There is an undetermined parameter \(\tau_{pred}\) in the linear prediction algorithm. In the papers, for example, [10, 12, 13] there are recommendations on how to choose this parameter. Although these recommendations are given for the P, PI and the so-called ideal PID-algorithm (or the PID-algorithm with the derivative term without the filter at all). This kind of PID-algorithm is not typical for the modern controllers, where the PID-algorithms with the first order filter or the second order filter are normally used. The PID-law with the prediction module and the second order filter is considered in [14], but it is impossible to say that the recommendations for this case will work properly for the PID-algorithm with the second order filter.

So, the problem statement can be represented as follows. One should consider the control system shown in Fig. 1 and described above and study how the prediction module influences the system transient process quality. If the influence is positive it is necessary to give recommendations (at least approximate) on how to choose the prediction time interval \(\tau_{pred}\). The process under consideration is a typical thermal process with the transfer function (2).

3 The Process Characteristics

The process under consideration has transfer function (2), this kind of transfer function is typical for non-integration thermal processes, for example, in the temperature control sections. Several processes with different time constants and delay times were considered during the preliminary calculations, Table 1 shows the parameters of some of them. The table shows the parameters of the process (line “Process”) and parameters of the model (line “Model”) obtained by the auto-tuning module using the method described in [2, 4].

Table 1. Control process parameters.

An example of the step response of process 1 and the model of the process are given in Fig. 3. As one can see from the figure the curves almost coincide with each other so the auto-tuning system works efficiently. The step responses of this type are rather wide-spread in thermal power engineering [3, 17].

Fig. 3.
figure 3

The step response of process 1.

4 PID Algorithm Tuning and Transient Processes

First let us consider an ordinary single-loop system with a PID control law with a first order filter, the transfer function (1) is given above. The calculation of the control law parameters are carried out by the auto-tuning module on the basis of the method based on [2] and described in [4, 18]. The method is based on the fact that the vector of the frequency response of the closed optimally tuned system is always in the more or less same position if the frequency is the resonance one (or close to it). So, one can give the magnitude and the phase of the vector and consider them as the indirect frequency optimality criteria, and the auto-tuning module calculates the PID-law coefficients that can provide the stated frequency response vector position on the resonance frequency. The parameters calculated are given in Table 2. The parameters provide a damping ratio value of 0.9.

Table 2. Control algorithm parameters.

The transient processes in the closed loop system with the PID control law are given in Fig. 4 and 5. Figure 4 shows the system response when the set point changes.

Figure 5 shows the system response to the step signal on the input of the control process.

From the given processes we can see that the system provides the above mentioned damping ratio.

Fig. 4.
figure 4

The transient process when the set point changes.

Fig. 5.
figure 5

The transient process when the step signal is on the input of the control process.

5 Control System with the Predicitive PID Algorithm

When one considers the control system with the PID control law with a prediction module one faces a very important question of how to choose the prediction time interval. The use of the prediction module helps to provide higher transient process quality but the improvement of the quality depends on the value of the time interval. It is logical to assume that the value of the time interval may depend on the process model. There are some recommendations in the literature, for example, [10, 12, 13, 19] that generally state that the prediction time interval \(\tau_{pred}\) should be where \(\tau_{pred} = 0.2\left( {T_{1mod} + T_{2mod} } \right)\). The problem is that this recommendation is for the systems with the predictive PID-law without the filter. As it has already been checked, the formula does not work for the PID control algorithm with the second order filter, the time interval obtained by means of this formula is too high and the control system becomes unstable [14]. That is why it is necessary to check the recommendations for the control system under consideration.

In order to estimate the transient process quality in the predictive system let us obtain the transient processes for various values of the prediction time interval. The transient processes are obtained for the case when the single step is on the input of the control process. The transient processes for the system with process 1 (see Table 1) are given in Fig. 6.

Fig. 6.
figure 6

The transient process when the step signal is on the input of the control process

As one can see from the processes given in Fig. 6 even a considerably small prediction time (such as 2 s) may provide quality improvement and the longer the prediction interval the better the transient process quality is. The problem observed is the same as the problem with the system with the PID with the second order filter: when the prediction time interval is too high, one can see high frequency oscillations in the transient process and with a higher prediction time interval the process may become unstable. Even if the process is stable high frequency oscillations are highly undesirable, because they influence the reliability of the equipment badly.

In order to explain the high frequency oscillations let us obtain the Nyquist curves for the open systems with and without the prediction. The curves are obtained for the system with process 1 and given in Fig. 7.

Fig. 7.
figure 7

Nyquist curves for the systems with and without prediction.

From Fig. 7 one can see that because of the introduction of the prediction module the Nyquist curve on low frequencies becomes farther from the point with coordinates \(\left( { - 1,j0} \right)\) and it becomes closer to the point on high frequencies.

If one calculates the prediction time interval according to the recommendations given in [10, 12, 13, 19], for example, for the system with process 1, one obtains the following:

$$\tau_{pred} = 0.2 \cdot \left( {T_{1\bmod } + T_{2\bmod } } \right) = 0.2 \cdot \left( {17.7 + 77.6} \right) = 19.06\;{\text{s}}$$

It is possible to see from Fig. 6 that the high frequency oscillations start to appear when \(\tau_{pred} = 8\;{\text{s}}\) and it means that the prediction time interval obtained (\(19.06 \;{\text{s}})\) is too high and the system is unstable if this value is used. For the system with process 1 \(\tau_{pred} = 6\;{\text{s}}\) is optimal. Let us compare the transient processes in the systems with and without the prediction. The processes are shown in Fig. 8. The quality indexes are shown in Table 3.

Fig. 8.
figure 8

Comparison of the transient processes in the systems with and without the predicition module.

Table 3. Transient process qualityi indexes

In Table 3 \(y_{din}\) is the dynamic deviation (the maximal deviation from the set point), \(t_{tran}\) is the duration of the transient process (in seconds) and \({\Psi }\) is the damping ratio. One can see that the use of the prediction module improves the quality considerably. Calculations for other processes gives the same results. Now it is necessary to formulate at least approximate recommendations on the calculation of the prediction time interval so that the auto-tuning module could calculate the prediction time as well.

Using the calculations obtained one can conclude that the optimal prediction time interval for the case under consideration is equal to the time delay (or a little bit lower to be on the safe side, but not higher). The preliminary formula may be as follows:

$$\tau_{pred} = 0.95 \cdot \tau_{mod}$$
(4)

This formula may be easily used in programming controllers using modern software, for example, CODESYS [20]. The authors plan to test the system described using real hardware and software in the future.

6 Conclusion

In this paper the authors considered the control system with the predictive PID control law with the first order filter and estimated its efficiency for the system for the thermal processes with time delay. The system described is effective and provides the considerable transient process quality improvement. The authors also formulated the recommendation on the calculation of the prediction time interval \(\tau_{pred}\) for this system, the formula obtained may be easily implemented using modern controller programming software. The advantage of the developed system is that it does not require to install any additional equipment, so the only work that has to be carried out is improving the controller program.