Open access peer-reviewed chapter

Improving Disturbance-Rejection by Using Disturbance Estimator

Written By

Damir Vrančić and Mikuláš Huba

Submitted: 27 July 2020 Reviewed: 22 December 2020 Published: 05 February 2021

DOI: 10.5772/intechopen.95615

Chapter metrics overview

589 Chapter Downloads

View Full Metrics

Abstract

The main tasks of control in various industries are either tracking the setpoint changes or rejecting the process disturbances. While both aim at maintaining the process output at the desired setpoint, the controller parameters optimised for setpoint tracking are generally not suitable for optimal disturbance rejection. The overall control performance can be improved to some extent by using simpler 2-DOF PID controllers. Such a controller structure allows the disturbance rejection to be optimised, while it also improves the setpoint tracking performance with additional controller parameters (usually through the setpoint weighting factors). Since such 2-DOF structures are usually relatively simple, the optimization of tracking performance is usually limited to the reduction of process overshoots instead of achieving an optimal (fast) tracking response. In this chapter, an alternative approach is presented in which the parameters of the PID controller are optimised for reference tracking, while the performance of the disturbance rejection is substantially increased by introducing a simple disturbance estimator approach. The mentioned estimator requires adding two simple blocks to the PID controller. The blocks are the second-order transfer functions whose parameters, including the PID controller parameters, can be calculated analytically from the process characteristic areas (also called process moments). The advantage of such an approach is that the mentioned areas can be analytically calculated directly from the process transfer function (of any order with time delay) or from the time response of the process when the steady state of the process is changed. Both of the above calculations are absolutely equivalent. Moreover, the output noise of the controller is under control as it is considered in the design of the controller and compensator. The closed loop results on several process models show that the proposed method with disturbance estimator has excellent tracking and disturbance rejection performance. The proposed controller structure and tuning method also compare favourably with some existing methods based on non-parametric description of the process.

Keywords

  • tuning method
  • disturbance rejection
  • disturbance estimator
  • multi-objective design

1. Introduction

The control of industrial processes requires efficient control loops. A majority of the control loops in various industries are implemented by the Proportional-Integrative-Derivative (PID) control algorithms. For efficient control, the PID controllers require proper tuning of the PID controller parameters. The parameters can be calculated to optimise various performance criteria such as integral of error (IE), integral of absolute error (IAE), integral of squared error (ISE) and similar [1, 2, 3, 4]. However, the most important decision that should be made in advance is the choice of the main purpose of the closed-loop system. Namely, the user should choose between the optimal closed-loop responses to reference changes (so-called tracking responses) or the optimal response to process disturbances. While there are many industrial processes that require optimal reference tracking responses, such as robot manipulation, welding, and batch processes, the majority of industrial processes require optimal disturbance rejection.

The history of tuning rules is long, originating in the 1940s with the famous Ziegler-Nichols tuning rules. In the following decades, many other tuning rules have been developed [1, 2, 4, 5, 6, 7, 8, 9, 10]. The rules can be generally categorised according to the required data of the process. The process can be described either in parametric form, e.g., as a process model (transfer function), or in nonparametric form, e.g., as a process time-response.

A relatively new tuning method that optimises either closed-loop tracking or disturbance rejection is the Magnitude-Optimum-Multiple-Integration (MOMI) method [7, 9, 11, 12]. The MOMI method is based on the Magnitude Optimum method, which aims to optimise the frequency response of the closed loop to achieve fast and stable closed loop time response [10, 13, 14, 15]. An interesting feature of the MOMI method is that it works either on the process given by its transfer function (of arbitrary order with time delay) or directly on the time response of the process during the steady state change. It is worth noting that both the parametric and non-parametric process data give exactly the same PID tuning results.

Many tuning methods for PID controllers provide different sets of controller parameters for tracking and disturbance rejection response. Similarly, the MOMI method primarily optimises the tracking response, while its modification, the Disturbance-Rejection-Magnitude-Optimum (DRMO) method, aims at optimising the disturbance rejection response. The latter significantly improves the disturbance rejection response, while the tracking response slows down due to the implemented reference-weighting gain or reference signal filter [9, 16, 17].

The main approach presented in this chapter is the alternative approach. First, the parameters of the PID controller are optimised for tracking performance. Then, a simple disturbance estimator is introduced to significantly increase the disturbance rejection performance [18, 19]. The advantages of the above approach are twofold. First, the disturbance rejection performance can significantly outperform that obtained by the DRMO method. Second, the parameters of the disturbance estimator can also be obtained directly from the non-parametric process data in the time domain. Therefore, the proposed approach can still be applied to the process data which is either in parametric or non-parametric form.

However, in practice, the process output noise is always present. If the controller or estimator gains are too high, the process input signals may be too noisy for practical applications. Therefore, noise attenuation should already be taken into account when calculating the controller and estimator parameters. This chapter shows how to achieve the best trade-off between performance and noise attenuation.

Advertisement

2. Process and controller description

The classic 1-degree-of-freedom (1-DOF) control loop configuration of the process and the controller is shown in Figure 1, where the signals r, e, u, d and y represent the reference, the control error, the controller output, the process input disturbance, and the process output, respectively.

Figure 1.

The 1-DOF PID controller and the process in the closed-loop configuration.

A process model (1) can be described by the following process transfer function:

GPs=KPR1+b1s+b2s2++bmsm1+a1s+a2s2++ansnesTdelE1

where a1 to an are the denominator coefficients, b1 to bm are the numerator coefficients, KPR is the process gain, and Tdel is the process time delay. Note that n > m represents a strictly proper process transfer function and that the process is stable.

The PID controller is described by the following expression:

GCs=KI+KPs+KDs2s1+sTFE2

where KI is the integrating gain, KP is the proportional gain, and KD is the derivative gain. Note that all three controller terms are filtered by the first-order filter with time constant TF.

The closed-loop transfer function GCL between the reference (r) and the process output (y) is as follows:

GCL=GCGP1+GCGPE3

Since the structure of a 1-DOF PID controller does not provide optimal tracking and disturbance rejection at the same time, the 2-degrees-of-freedom (2-DOF) controller can be used instead [1, 2, 4, 8, 16, 20], where GCR and GCY denote the controller transfer function from the reference and the process output, respectively:

u=GCRsrGCYsy
GCR=KI+bKPs+cKDs2s1+sTF
GCY=KI+KPs+KDs2s1+sTF,E4

as shown in Figure 2, where parameters b and c are reference-weighting parameters for the proportional and derivative terms, respectively.

Figure 2.

The 2-DOF PID controller and process in the closed-loop configuration.

Advertisement

3. MOMI and DRMO tuning methods

The MOMI and DRMO methods, as mentioned earlier, are based on the Magnitude Optimum (MO) method, which goes back to Whitley in 1946 [10]. The MO method shapes the closed-loop amplitude frequency response equal to one in a wide frequency range [6, 7, 10, 12, 13, 14, 21]. Such a closed-loop frequency response is usually “mirrored” into a fast and stable closed-loop time response.

The calculation of controller parameters has been simplified when using the MO method by determining the process characteristic areas or moments, which can be measured directly from the time responses during the change of the process steady-state [12, 15, 21, 22]. The mentioned areas or moments (A1 to Ak) can also be calculated from the process model:

A0=KPR
A1=KPRa1b1+Tdel
A2=KPRb2a2b1Tdel+Tdel22!+A1a1
Ak=KPR1k+1akbk+i=1k1k+iTdelibkii!+i=1k11k+i1AiakiE5

The controller parameters, for a given filter time constant TF, are then calculated as follows:

KIKPKD=A1A00A3A2A1A5A4A310.500,E6

where the modified areas A0* to A5* are:

A0=A0
A1=A1+A0TF
A2=A2+A1TF+A0TF2
E7

The reference-weighting factors are b = c = 1. Note that the areas (moments) in expression (6) apply areas of the process including the controller filter GF with time constant TF(4):

GF=11+sTFE8

by using expression (7) [9]. The aforementioned modification of the method, referred to as the MOMI method, allowed the controller parameters to be computed directly from the process time response [12, 21] or from the process transfer function.

Since the MOMI method aims at optimising the tracking performance, the disturbance rejection performance may be degraded for some types of processes.

To improve the disturbance-rejection performance, the optimisation criteria of the MOMI method were modified accordingly. The new method, referred to as the DRMO (Disturbance-Rejection-Magnitude-Optimum) method, achieved significantly improved disturbance rejection performance [9, 16, 17].

Similar to the MOMI method, the controller parameters in the DRMO method are also based on characteristic areas or moments. Therefore, the controller parameters can be calculated either from the process time-response or from the process transfer function.

The PID controller parameters are calculated according to the following expressions when using the DRMO method [9, 16, 17]:

KP=ββ2αγα
KI=1+KPA022KDA02+A1E9

where

α=A13+A02A32A0A1A2
β=A1A2A0A3+2KDA0A12A02A2
γ=KD3A04+3KD2A02A1+KD2A0A2+A12+A3E10

and the derivative gain KD is calculated directly from expression (6). The reference-weighting factors are b = c = 0.

The DRMO tuning method significantly improved the disturbance rejection performance, especially for the lower-order processes. However, the reference tracking becomes slower due to the reference-weighting factors b = c = 0 in the 2-DOF control structure (4). The problem can be circumvented by including a simple disturbance estimator in the control scheme. Such a solution is denoted as DE-MOMI method.

Advertisement

4. DE-MOMI tuning method

In order to improve the disturbance rejection response, while retaining the tracking response obtained by the MOMI method, a disturbance estimator has been added to the PID controller GC(s) (2), as depicted in Figure 3.

Figure 3.

The PID controller with disturbance estimator.

The disturbance estimator consists of the process model GM, the inverse process model GMI and the filter GFD. In hypothetical case, when the process model is ideal representation of the bi-proper process without time-delay, and the filter GFD = 1:

GM=GP,GMI=GM1,GFD=1,E11

the estimated disturbance df equals to the actual disturbance d:

df=d.E12

In this case the ideal disturbance compensation is achieved. However, in practice, model mismatch may occur (due to changing process characteristics in time or working point, lower-order process model or the process non-linearity), and the inverse of the process usually cannot be obtained, since majority of the actual processes are either strictly proper or they have time delays. Therefore, another strategy is required.

For practical applications, the solution has to be as simple as possible. In this manner we decided to use the following process model, the inverse process model and the disturbance estimator filter:

GM=KPRMesTdelm1+a1ms+a2ms2
GMI=1+a1ms+a2ms2KPRM
GFD=KFD1+sTFD3E13

where KPRM and Tdelm are the process model gain and time delay and a1m and a2m are the process model dynamic parameters. Parameters KFD and TFD are the disturbance filter gain and time constant, respectively.

The remaining question is how to obtain the process model if the actual process is of the higher order or if the actual process is not known (e.g. the areas (moments) were calculated directly from the process time-response)? Fortunately, the process model can be calculated directly from the obtained areas (5), as derived in [23]:

Tdelm36A12A0Tdelm2+A12A02A2A0Tdelm+2A1A2A02A3A0A13A03=0
KPRM=A0
a1m=A1A0Tdelm
a2m=A2A0+a1mA1A0+Tdelm22E14

The process model delay Tdelm is calculated from the third-order equation in (14). The solution is the smallest real positive result [23].

Now, all the model parameters are known and the disturbance filter GFD parameters should be derived. Before continuing the derivation we should be aware of the fact that GMI(s) is not proper, so it cannot be realised in practice without the accompanied filter GFD(s). Multiplication of both is strictly proper, so the entire block can be easily implemented inside the controller.

Derivation of disturbance filter parameters depends mainly on desired disturbance rejection performance. It is natural that the disturbance signal reconstruction (df) is faster if the filter time constant TFD is smaller. In hypothetical case, if GM = GP, the reconstructed disturbance signal df becomes:

df=KFDesTdelm1+sTFD3dE15

With sufficiently small time constant (TFD → 0), where the disturbance filter gain KFD = 1, and there is no process time delay, dfd. In this case the reconstructed disturbance signal df perfectly compensates the disturbance d. On the other hand, smaller disturbance filter time constant significantly increases the process output noise present in the measurements and forwards it to the controller output. Therefore, the TFD should be selected according to the tolerated noise gain of the disturbance estimator, as will be discussed in detail in the next sub-chapter.

One remaining parameter of the disturbance filter GFD(13) is the gain KFD. One would, naturally, expect that the most optimal value should be KFD = 1, since only in this case, after some time, df becomes the same to d(15). Therefore, the process input disturbance d is eliminated by the reconstructed disturbance df. However, as will be shown below, the optimal disturbance response is obtained with lower values of the gain KFD. Namely, due to the disturbance compensator, the external process input signal d generates the delayed reconstructed disturbance signal df (15). Combined together, the actual process input u, due to disturbance d, is d-df. The step-like signal d, therefore, generates pulse-like actual process input disturbance signal d-df. Since the PID controller is present in the loop, and it contains the integrating term, the process output (y) deviation in one direction (e.g. above the reference) should be compensated by the process output deviation in the opposite direction (e.g. below the reference). Namely, when using KFD = 1, the integral of the control error must be:

t=0etdt=0.E16

It means that, by applying KFD = 1, the additional process undershoot, after the initial process overshoot due to the disturbance d, is inevitable.

Figure 4 shows an example on delayed second-order process, when applying the step-wise external process input disturbance signal d, and when using KFD = 1 (upper figure) and KFD = 0.44 (lower figure). The process output undershoot in the upper figure is clearly seen. By appropriately reducing the filter gain to KFD = 0.44, the disturbance rejection response is improved (lower figure).

Figure 4.

The closed-loop signals when applying step-wise external process input disturbance signal with disturbance filter gains KFD = 1 (upper figure) and KFD = 0.44 (lower figure).

The remaining question is how to find the most appropriate filter gain KFD. Certainly, the KFD should be chosen so as that the disturbance rejection is optimised. Here we can use the same optimisation criteria as in the DRMO tuning method. Therefore, the transfer function GCLD(s) between the external disturbance (d) and the process output (y):

GCLDs=YsDs=GM1GFDesTdelm1+GMGPE17

should be optimised according to the modified MO criterion [9, 16]. Note that expression (17) holds when the process and the model transfer functions are equivalent. Since the disturbance filter time constant is defined, and all of the controller and the model parameters are calculated, the only optimisation parameter is the gain KFD. By using similar derivation as in [9, 16], the optimal filter gain KFD is calculated as:

KFD=b0+b024a0c02a0E18

where

a0=d0+2f0KIP+KIP2TF23TFD2
b0=2d04f0KIP+KIP22TF2+12TFD2+6TFDTdelm+Tdelm2
c0=d0+2f0KIP+KIP2TF2
KIP=KIKPRM
KPP=KPKPRM
KDP=KDKPRM
d0=1+KPP2
f0=a1m+KDP+TF+TdelmE19

For the given controller filter (TF) and the disturbance filter (TFD) time constants (note that the calculation of both time constants, according to the desired level of noise, will be derived in the next sub-chapter), the calculation of remaining controller, model and disturbance filter parameters proceeds as given in Figure 5.

Figure 5.

Calculation of the controller, model and filter parameters.

Illustrative example 1

To illustrate the proposed design of DE-MOMI method, according to control structure in Figure 5, let us calculate the controller, model and disturbance filter parameters for the following processes:

GP1=e0.5s1+s2
GP2=e0.2s1+s3E20

The a-priori chosen filter time constants were:

TF=TFD=0.1E21

The characteristic areas, calculated from (5) and (7), are given in Table 1.

A0A1A2A3A4A5
Areas GP112.504.135.777.429.07
Areas GP1 with controller filter12.604.396.218.049.87
Areas GP213.206.6211.2617.1224.21
Areas GP2 with controller filter13.306.9511.9618.3226.04

Table 1.

The calculated areas for the processes (20) without and with the controller filter.

Next, the PID controller parameters are calculated from (6) and from (9), since we are going to compare the proposed DE-MOMI method with MOMI and DRMO methods. The calculated controller parameters are given in Table 2.

Controller parametersKPKIKD
MOMI controller for GP11.810.890.93
DRMO controller for GP12.251.490.93
MOMI controller for GP21.610.641.08
DRMO controller for GP21.930.981.08

Table 2.

The calculated controller parameters for the processes (20) for MOMI (6) and DRMO (9) method, taking into account the chosen controller filter TF = 0.1.

The process models GM and inverse process models GMI are then calculated from (14), where GMI is the inverse of GM without time-delay:

GM1=e0.5s1+2s+s2
GMI1=1+2s+s2
GM2=e0.616s1+2.58s+1.84s2E22
GMI2=1+2.58s+1.84s2

Finally, the disturbance filter gain KFD, when taking into account the chosen TFD = 0.1, is then calculated from (18):

KFD1=0.57
KFD2=0.59E23

Therefore, the complete inverse of the models with accompanying disturbance filters (see Figure 3) are the following:

GMI1GFD1=0.571+2s+s21+0.1s3
GMI2GFD2=0.591+2.58s+1.84s21+0.1s3E24

The closed-loop responses, obtained with the calculated controller, model and filter parameters, for the MOMI, DRMO and the proposed DE-MOMI method, are given in Figures 6 and 7. At t = 0 s, the reference value (r) was changed from 0 to 1 and at half of experiment time the process input disturbance (d) was changed from 0 to 1. It is obvious that the disturbance rejection performance of the DE-MOMI method is the best. Note that when applying the DE-MOMI method, due to the difference between the actual process and the process model in the second example (GP2), the process input signal, during the reference change, is not smooth. This is expected, since the inverse process model with filter is amplifying the difference between the actual process and the process model. In this case, the response can be made smoother by increasing the disturbance filter time constant (TFD). Note that a possible limitation of the control signal can also help to smooth out the oscillations after the reference step [24].

Figure 6.

The closed-loop responses on the process GP1, when using the MOMI, DRMO and DE-MOMI method.

Figure 7.

The closed-loop responses on the process GP2, when using the MOMI, DRMO and DE-MOMI method.

The disturbance rejection performance of the DE-MOMI method can be increased by decreasing the disturbance filter time constant TFD. However, as already mentioned above, the process input signal can become oscillatory when the actual process and the process model differ. In this case, too small TFD can even render the closed-loop system unstable. Besides that, the process noise (signal n in Figure 3) is also amplified via block GMIGFD, so small TFD can cause excessive noise of signal dF. The selection of TFD is, therefore, important in practical realisation of the DE-MOMI method.

Calculating the controller and DE parameters is a relatively simple process. However, to simplify it even further, all Matlab/Octave scripts are available on the OctaveOnline Bucket website [25]. The layout of the website is shown in Figure 8. To calculate the controller and DE parameters, the user must 1) change the process and filter parameters, 2) press the “Save” button, and 3) press the “Run” button. The script will be executed and on the right side of the web screen all calculated parameters will be displayed. Note that users can change the content of the script only temporarily.

Figure 8.

The website layout for the calculation of the controller and the DE parameters.

Advertisement

5. Noise attenuation of DE-MOMI method

As already mentioned in the previous sub-chapter, the output noise of disturbance estimator (dF) depends on the selection of disturbance filter TFD. However, according to Figure 3, some noise is also present at the output of the PID controller block (signal uC). In this sub-chapter we will give some guidelines regarding the noise attenuation in practical realisation of DE-MOMI controller.

In practice, it is important to keep the controller output noise within some limits. Namely, if the controller’s and the estimator’s filter time constants are too low, the DE-MOMI controller output noise can be so high that the controller would be useless in practice.

The controller noise is mainly caused by the process output noise n (see Figure 3). The noise power at the controller output (u) depends on the power of measurement noise n and the frequency properties of noise, PID controller and disturbance estimator. The relation between the filters (TF and TFD) time constants and the controller output noise is rather complex, but can be calculated according to Parseval’s theorem if the measurement noise frequency characteristics are known. However, this relation is higher-order and non-linear. Therefore, the search for adequate filter time constants TF and TFD would require optimisation procedure, which would significantly complicate the otherwise simple method.

In practice, on the other side, it is enough to keep the noise sufficiently low at some sufficiently high frequency. The definition of “high frequency” is arguable. In discrete-realisation of the controller, the sampling frequency is

fS=1TSE25

where TS is the controller’s sampling time. The highest signal, which may be sent to discrete function is, due to Shannon’s theorem, fS/2. Therefore, any frequency close to fS/2 can be considered as high frequency. In this research we have arbitrarily decided that the “high frequency” fHF is the quarter of controller’s sampling frequency fS:

fHF=0.25fS
ωHF=2πfHF=0.5πTSE26

As already mentioned above, the source of controller noise is the process output noise n (Figure 3). In DE-MOMI controller, the overall high-frequency control noise consists of the PID controller (uPIDn) and the disturbance estimator (uDEn) high-frequency noise:

uPIDnωHF=KPIDnnωHF
uDEnωHF=KDEnnωHF,E27

where KPIDn and KDEn are the high-frequency gains (around frequency ωHF) of the PID controller and the disturbance estimator, respectively.

In practical applications of the DE-MOMI method, the noise specifications (limitations) should be given in as simple form as possible for the user (operator). We decided that the actual parameters, given by the user should be the high-frequency gains of the controller (KPIDn) and the disturbance estimator (KDEn). Therefore, in practice, by selecting the mentioned two gains, the user would limit the amount of controller noise at high frequencies.

The actual gain of the PID controller around the chosen high frequency ωHF can be calculated from the controller transfer function (2):

KPIDn=KIKDωHF22+KP2ωHF2ωHF1+TF2ωHF2E28

The controller filter time constant can then be calculated as:

TF=ωHF4KD2+ωHF2KP22KIKDKPIDn2+KI2ωHF2KPIDnE29

Since the PID controller parameters depend on the filter time constant TF, the TF should be calculated by an iterative procedure given in Figure 9.

Figure 9.

Calculation of the filter and controller parameters according to the desired controller high-frequency gain KPIDn.

The calculation of the disturbance filter high-frequency gain KDEn is similar as for the PID controller:

KDEn=KFD21+ωHF2a1m22a2m+ωHF4a2m2KPRM21+ωHF2TFD23E30

In a similar manner, the disturbance filter time constant can be derived as:

TFD=1ωHFKFD21+ωHF2a1m22a2m+ωHF4a2m2KPRM2KDEn231E31

Since the calculated filter gain KFD depends on the filter time constant TFD (see expression (18)), the calculation of expression (31) is iterative as well, as given in Figure 10.

Figure 10.

Calculation of the disturbance filter parameters according to the desired disturbance filter high-frequency gain KDEn.

Illustrative example 2

Let us illustrate the calculation procedure for the following processes:

GP3=e0.2s1+0.2s1+s
GP4=es1+s4E32

Note that other process models were chosen as in the previous case (20) in order to test different types of processes. The chosen high-frequency gains of the PID controller and the disturbance filter are KPIDn = 4 and KDEn = 4, respectively. The chosen closed-loop sampling time was TS = 0.01 s. Therefore, the chosen high-frequency is:

ωHF=0.5πTS=157.1s1E33

The initially chosen filter time constants were (the values are not critical):

TF=TFD=0.1sE34

The characteristic areas are calculated from (5). For the given high-frequency gain KPIDn = 4, the filter and controller parameters are calculated according to procedure given in Figure 9. The calculated filter time constants (after 2 iterations) were

TF3=0.119s
TF4=0.192sE35

Note that indexes 3 and 4 in above filter time constants stand for the processes GP3 and GP4, respectively.

The areas are given in Table 3 and the controller parameters are given in Table 4.

A0A1A2A3A4A5
Areas GP311.401.501.521.531.53
Areas GP3 with controller filter11.521.681.721.731.73
Areas GP415.0014.5032.1760.71102.8
Areas GP4 with controller filter15.1915.5035.1467.45115.8

Table 3.

The calculated areas for the processes (32) without and with the controller filter.

Controller parametersKPKIKD
MOMI controller for GP32.351.880.48
DRMO controller for GP32.913.830.48
MOMI controller for GP40.840.260.77
DRMO controller for GP40.940.320.77

Table 4.

The calculated controller parameters for the processes (20) for MOMI (6) and DRMO (9) method, taking into account the calculated controller filters.

The process models GM and inversed process models GMI are then calculated from (14):

GM3=e0.2s1+1.2s+0.2s2
GMI3=1+1.2s+0.2s2
GM4=e1.94s1+3.06s+2.69s2
GMI4=1+3.06s+2.69s2E36

According to the chosen high-frequency gain KDEn = 4, the TFD and KFD were calculated according to the procedure given in Figure 10 (2 iterations were sufficient):

TFD3=0.06
TFD4=0.116
KFD3=0.69
KFD4=0.36E37

Therefore, the complete inverse of the models with accompanying disturbance filters (see Figure 3) are the following:

GMI3GFD3=0.691+1.2s+0.2s21+0.06s3
GMI4GFD4=0.361+3.06s+2.69s21+0.116s3E38

The closed-loop responses for the MOMI, DRMO and the proposed DE-MOMI method, are given in Figures 11 and 12. Again, the disturbance rejection performance of the DE-MOMI method is the best (note that the unity-step process input disturbance signal was applied at the half of experiment time). The level of controller output (u) noise is close to the expected one taken into account that both, the PID controller (uC) and the disturbance estimator output (dF) noise should be 4-times higher than the measurement noise at high frequencies.

Figure 11.

The closed-loop responses on the process GP3, when using the MOMI, DRMO and DE-MOMI method.

Figure 12.

The closed-loop responses on the process GP4, when using the MOMI, DRMO and DE-MOMI method.

The disturbance rejection performance of the DE-MOMI method can be additionally improved by increasing the high-frequency gain KDEn. However, increased gain is associated with higher controller output noise and decreased closed-loop stability if the actual process and the process model differ.

The computation of the controller and the DE parameters can be performed similarly as before on another OctaveOnline Bucket website [26]. The calculation of the parameters can be performed similarly as shown in Figure 8, with the difference that the name of the script is now Octave_Calc_GC_GF_Noise.m. To calculate the controller and DE parameters, the user must 1) change the process and noise gain parameters, 2) press the “Save” button, and then 3) press the “Run” button. The script will run and the right side of the web screen will display all the calculated parameters. Note that users can only temporarily change the contents of the script.

Advertisement

6. Comparison to some other methods

In this sub-chapter the proposed method will be compared to some other tuning methods based on non-parametric description of the process. Besides the already introduced MOMI and DRMO methods, the DE-MOMI method will be compared to Åström and Hägglund’s tuning method [1] (denoted as “AH”) and to ADRC method [27].

The AH method [1] is based on the calculation of the maximum sensitivity index MS, which is the inverse of the smallest open-loop Nyquist curve distance to the critical point (−1,0i). The method was developed for values MS = 1.4 and MS = 2. In this comparison we will use MS = 2, since it gives better disturbance-rejection performance. However, even though the process transfer function does not need to be derived, the method requires the identification of the process steady-state gain and the inflexion point along with maximum slope of the process output signal during the step-change of the process input signal. Note that those parameters usually require manual measurements and cannot be easily performed by using automatic calculation. The AH method is using the PID controller structure with adjustable reference-weighting factor b, and by fixing factor c = 0 (Figure 2).

The ADRC method [27, 28, 29, 30, 31] is based on a simple controller with three gains associated with extended state-observer (ESO), as shown in Figure 13.

Figure 13.

The ADRC control structure with the controller gains (up) and the extended state observer (down).

The method does not require the process transfer function. However, few user-defined parameters, like the observer speed, the desired settling time and the main controller gain KC, should be defined by the user before calculating the rest of ADRC parameters. As shown in Figure 13, the ADRC method is using control structure which consists of an extended state observer (ESO) with three gains (β1, β2 and β3) and three controller gains (KC, KP and KD) [27].

Since ADRC method depends on three user-defined parameters, which, in great extent, determine the closed-loop performance, we were limited to the set of processes tested in [27]. Someone would argue that, by limiting our choice to the mentioned processes, we are favouring the ADRC method. However, it should be noted that in [27], the ADRC method was tested on 8 different processes, so the choice of processes was actually not significantly limited. In this regard, the following two processes have been selected:

GP5=11+s1+0.2s1+0.04s1+0.008s
GP6=e5s1+s3E39

The PID controller parameters for the MOMI, DRMO, DE-MOMI and AH methods are given in Tables 5 and 6. The ADRC controller parameters are given in Table 7. The chosen high frequency gains for the PID controller and disturbance estimator are KPIDn = KDEn = 20 for GP5 and KPIDn = KDEn = 4 for GP6. The higher gains were chosen for GP5, since the closed-loop tracking and control performance was substantially improved when using higher gains. Increasing the gains for GP6 above 4 did not significantly improve the performance.

ProcessTuning methodKPKIKDTFbc
GP5MOMI6.455.351.1080.05511
DRMO9.6923.711.1080.05500
DE-MOMI6.455.351.1080.05511
AH21.3553.052.220.0550.240
GP6MOMI0.530.1260.660.16511
DRMO0.570.1400.660.16500
DE-MOMI0.530.1260.660.16511
AH0.520.1360.520.1650.360

Table 5.

The calculated controller parameters for the processes (39) for MOMI, DRMO, DE-MOMI and AH method.

ProcessKPRMa1ma2mTdelmTFDKFD
GP511.2050.2050.0430.0180.909
GP612.581.845.420.0770.159

Table 6.

The calculated disturbance estimator’s parameters for the processes (39) for DE-MOMI method.

ProcessKCKPKDβ1β2β3
GP51/510020120480019200
GP61/30.160.84.87.6830.72

Table 7.

The calculated ADRC controller parameters for the processes (39).

The sampling time for GP5 is chosen as TS = 0.001 s and for GP6 as TS = 0.01 s.

The closed-loop process responses are given in Figures 14 and 15. In both experiments the unity-step process input disturbance signal was applied at the half of experiment time.

Figure 14.

The closed-loop responses on the process GP5, when using the MOMI, DRMO and DE-MOMI method.

Figure 15.

The closed-loop responses on the process GP6, when using the MOMI, DRMO and DE-MOMI method.

It can be seen that the proposed DE-MOMI method, when compared to some other methods, gives quite good responses. The AH method for process GP5 gives somehow oscillatory response. For the same process, the ADRC method gives slightly oscillatory response during the reference change (see the process input signal). While DE_MOMI and MOMI methods clearly give the best tracking responses on process GP6, all of the methods have similar disturbance-rejection performance. Only slightly oscillatory response can be observed for ADRC method.

For more objective comparison between the methods, the integral of absolute error (IAE) measure is used. The IAE value has been measured on tracking response (unity step-change of the reference r) and on disturbance rejection response (unity step-change of the process input disturbance d). The results are given in Table 8. It can be seen that the best values (marked with greyed colour) were obtained with DE-MOMI method.

ProcessexperimentDE-MOMIMOMIDRMOAHADRC
GP5tracking0.2160.2170.5260.3360.256
DR0.0170.1860.0550.0200.019
GP6tracking8.668.6612.3411.0612.32
DR7.808.428.798.898.83

Table 8.

The calculated IAE values for tracking and disturbance rejection (DR) responses for the processes (39).

The DE-MOMI method, therefore, compares favourably with few other methods, based on the non-parametric description of the process.

The process closed-loop responses for all the process models tested in this chapter (GP1 to GP6) revealed that the proposed method can significantly improve the disturbance-rejection performance of the lower-order processes with smaller delays, while the improvement of the higher-order processes and/or processes with higher delays is not so significant. Therefore, the application of the method for lower-order processes with smaller delays might be beneficial in practice.

Advertisement

7. Conclusions

In the chapter, it was shown that the disturbance rejection performance of the PID controller can be improved by adding a simple disturbance estimator (DE). The disturbance estimator consists of the process model and the inverse process model with DE filter. The advantage of the proposed approach is that the DE parameters can also be obtained directly from the nonparametric process data (time response of the process) without prior process identification. The same is true for the PID controller parameters, which are obtained using the MOMI tuning method. Of course, all PID and DE parameters can also be calculated from the process transfer function if it is known.

The proposed solution, called DE-MOMI method, has been tested on several different process models. It was shown that the control performance of the DE-MOMI method was significantly improved compared to similar MOMI and DRMO methods, especially for lower order processes with smaller time delays. In contrast, the improvements were noticeable but not as significant for higher order processes or processes with larger time delays. The additional advantage of the proposed method was that the tracking performance remained similar to that of the MOMI method.

The controller noise was controlled by the high frequency noise factors KPIDn and KDEn. The advantage of using these factors is that they can be easily understood and defined by the user.

The DE-MOMI method was also compared with some other non-parametric disturbance-rejection methods including the ADRC method. The results showed that the DE-MOMI method has either comparable or better control and tracking performance than the other tested methods. Nevertheless, it should be mentioned that the ADRC method uses a somewhat simpler control structure.

Future research activities could therefore focus on combining the advantages of the DE-MOMI and ADRC methods.

Advertisement

Acknowledgments

The authors gratefully acknowledge the contribution of the Ministry of Higher Education, Science and Technology of the Republic of Slovenia, Grant No. P2-0001 as well as the support by the grants APVV SK-IL-RD-18-0008 Platoon Modelling and Control for mixed autonomous and conventional vehicles: a laboratory experimental analysis and VEGA 1/0745/19 Control and modelling of mechatronic systems in emobility.

References

  1. 1. Åström, K.J. and Hägglund, T. (1995). PID controllers: Theory, Design, and Tuning, 2nd Edition. Instrument Society of America
  2. 2. Åström, K.J., Panagopoulos, H. and Hägglund, T. (1998). Design of PI Controllers based on Non-Convex Optimization. Automatica, 34 (5), pp. 585–601
  3. 3. Garcia, C. E. and Morari, M. (1982). Internal model control. A unifying review and some new results. Ind. Eng. Chem. Process Des. Dev. Vol. 21, pp. 308–323
  4. 4. O’Dwyer A. (2009). Handbook of PI and PID controller tuning rules; 3rd Edition. Imperial College Press
  5. 5. Freire H., Moura Oliveira P., Solteiro E. P. and Bessa M., (2014), Many-Objective PSO PID Controller Tuning, Controlo 2014, Porto, Portugal pp. 183-192
  6. 6. Gorez, R. (1997). A survey of PID auto-tuning methods. Journal A. Vol. 38, No. 1, pp. 3–10
  7. 7. Kessler, C. (1955). Über die Vorausberechnung optimal abgestimmter Regelkreise Teil III. Die optimale Einstellung des Reglers nach dem Betragsoptimum. Regelungstechnik, Jahrg. 3, pp. 40–49
  8. 8. Taguchi, H. and Araki, M. (2000). Two-degree-of-freedom PID controllers – their functions and optimal tuning. Proceedings of the IFAC Workshop on Digital Control (PID’00), Terrassa, 2000. pp. 95–100
  9. 9. Vrančić, D. (2011) Magnitude optimum techniques for PID controllers. In: PANDA, Rames C. (editor). Introduction to PID controllers: theory, tuning and application to frontiers areas. Rijeka: InTech, cop., pp. 75–102
  10. 10. Whiteley, A. L. (1946). Theory of servo systems, with particular reference to stabilization. The Journal of IEE, Part II, 93(34), pp. 353–372
  11. 11. Vrančić D., Strmčnik S., and Hanus R. (2000). Magnitude optimum tuning using non-parametric data in the frequency domain. PID'00 : preprints : IFAC workshop on digital control: past, present and future of PID control, Terrassa, Spain, April 5-7, 2000, pp. 438–443
  12. 12. Vrančić, D., Strmčnik, S. and Juričić, Đ. (2001). A magnitude optimum multiple integration method for filtered PID controller. Automatica. Vol. 37, pp. 1473–1479
  13. 13. Ba Hli, F. (1954). A General Method for Time Domain Network Synthesis. IRE Transactions – Circuit Theory, 1 (3), pp. 21–28
  14. 14. Hanus, R. (1975). Determination of controllers parameters in the frequency domain. Journal A, XVI (3)
  15. 15. Strejc, V. (1960). Auswertung der dynamischen Eigenschaften von Regelstrecken bei gemessenen Ein- und Ausgangssignalen allgemeiner Art. Z. Messen, Steuern, Regeln, 3(1), pp. 7–1
  16. 16. Vrančić D. Strmčnik S., Kocijan J. and Moura Oliveira P. B. de. (2010). Improving disturbance rejection of PID controllers by means of the magnitude optimum method. ISA transactions, ISSN 0019–0578, vol. 49, no. 1, pp. 47–56
  17. 17. Vrančić D., Kocijan J. and Strmčnik S. (2004). Simplified disturbance rejection tuning method for PID controllers. ASCC The 5th Asian Control Conference, July 20–23, Melbourne, Australia. Conference proceedings
  18. 18. Vrančić D., Oliveira P.M., Cvejn J. (2017) The Model-Based Disturbance Rejection with MOMI Tuning Method for PID Controllers. In: Garrido P., Soares F., Moreira A. (eds) CONTROLO 2016. Lecture Notes in Electrical Engineering, Vol 402. Springer, Cham. https://doi.org/10.1007/978-3-319-43671-5_8
  19. 19. Vrančić D., Moura Oliveira P. and Huba M. (2018) “Optimizing Disturbance Rejection by Using Model-Based Compensator with User-Defined High-Frequency Gains,” 13th APCA International Conference on Automatic Control and Soft Computing (CONTROLO), Ponta Delgada, 2018, pp. 330–335, doi: 10.1109/CONTROLO.2018.8514546
  20. 20. Moura Oliveira P., Vrančić D. and Freire H., (2014), Dual Mode Feedforward-Feedback Control System, Controlo 2014, Porto, Portugal pp. 241-5
  21. 21. Preuss, H. P. (1991). Model-free PID-controller design by means of the method of gain optimum (in German). Automatisierungstechnik, Vol. 39, pp. 15–22
  22. 22. Rake, H. (1987). Identification: Transient- and frequency-response methods. In M. G. Singh (Ed.), Systems & control encyclopedia; Theory, technology, applications. Oxford: Pergamon Press
  23. 23. Vrečko D., Vrančić D., Juričić Đ. and Strmčnik S. (2001). A new modified Smith predictor: the concept, design and tuning. ISA transactions, ISSN 0019–0578, vol. 40, pp. 111–121
  24. 24. Huba, M. (2006). Constrained pole assignment control. Current Trends in Nonlinear Systems and Control, L. Menini, L. Zaccarian, Ch. T. Abdallah, Edts., Boston: Birkhäuser, pp. 163–183
  25. 25. Vrančić, D. (2020). Matlab/Octave function Octave_Calc_GC_GF.m for the calculation of controller and GE parameters based on a given filter time constants. Web page: https://octave-online.net/bucket∼6UiDmdsr6yhSJs2MenYULF
  26. 26. Vrančić, D. (2020). Matlab/Octave function Octave_Calc_GC_GF_Noise.m for the calculation of controller and GE parameters based on a given noise gains. Web page: https://octave-online.net/bucket∼Hofor19mDWWkAzZrhgeG7q
  27. 27. Chen X., Li D., Gao Z. and Wang C. (2011). Tuning Method for Second-order Active Disturbance Rejection Control. Proceedings of the 30th Chinese Control Conference, July 22–24, 2011, Yantai, China, Conference proceedings
  28. 28. Gao Z., Huang Y., and Han J. (2001). An Alternative Paradigm For Control System Design. Proceedings of the 40th IEEE Conference on Decision and Control, Orlando, USA, December 4-7, 2001, Vol. 5, doi: 10.1109/CDC.2001.980926, pp. 4578–4585
  29. 29. Han J. (2009). From PID to Active Disturbance Rejection Control. IEEE transactions on industrial electronics, ISSN 0278–0046, vol. 56, no. 3, pp. 900–906
  30. 30. Huba, M., Moura Oliveira P., Vrančić D., and Bistak P. (2019). ADRC as an exercise for modeling and control design in the state-space. 6th International Conference on Control, Decision and Information Technologies, CoDIt 2019, Paris, France April 23–26, 2019, pp. 464–469. doi: 10.1109/CoDIT.2019.8820543
  31. 31. Wang W. (2012). The New Design Strategy on PID Controllers. In: VAGIA, M. (editor). PID Controller Design Approaches, ISBN 978–953–51-6186-8, pp. 229–252

Written By

Damir Vrančić and Mikuláš Huba

Submitted: 27 July 2020 Reviewed: 22 December 2020 Published: 05 February 2021