Open access peer-reviewed chapter

MIMO PID Control Retuning Using the Closed-Loop Frequency Response

Written By

Anna Paula V. de A. Aguiar, George Acioli Júnior and Péricles R. Barros

Reviewed: 20 April 2022 Published: 28 May 2022

DOI: 10.5772/intechopen.105015

From the Edited Volume

PID Control for Linear and Nonlinear Industrial Processes

Edited by Mohammad Shamsuzzoha and G. Lloyds Raja

Chapter metrics overview

173 Chapter Downloads

View Full Metrics

Abstract

Proportional integral derivative (PID) controllers are the most used in practice for regulatory control. This is due to the good performance achieved by this controller for a variety of processes. However, about 60% have performance issue. This problem can be more evident in multivariable processes, due to the coupling between the loops. One way to improve performance is to retune the parameters. Thus, in this article, a PID control retune technique is presented. Frequency domain data are used to compute gain increments. Identification of the parametric model of the process is not necessary. The method can be applied to multivariable processes with time delay, integrative dynamics, and nonminimum phase zeros. Simulation results and the effectiveness of the method are discussed.

Keywords

  • PID controller
  • multivariable systems
  • frequency domain
  • retuning
  • process control

1. Introduction

The proportional integral derivative (PID) controllers are the most used in the industry [1]. Numerous tuning methods for PID parameters are found in the literature. Despite this, about 60% controllers do not reach the desired performance [2]. This occurs due to actuator wear, process changes, and mainly poorly due to tuned controllers.

Several methods of evaluation of control loops and controller tuning are found in the literature. Many of these controller evaluation and retuning methods are based on process models. In [3], process data are used to identify a model. Then, the PID controller is designed based on obtained model and desired performance is computed by output prediction. If the performance index is adequate, the PID controller is retuned using the model; otherwise, another process model must be identified.

However, identifying the model may not be an easy task. An alternative is to use data-based methods. In these methods, knowledge of the system parametric model is not necessary and time or frequency domain data are used.

In [2], a PID controller performance assessment and retuning method is proposed. The closed-loop step response data are used, and the controller is retuned so that it approximates a closed-loop reference model. The reference model is a second-order plus time delay transfer function. In [4], frequency domain constraints are inserted into the problem proposed in [2] to improve robustness and ensure stability.

Only frequency domain data are used in the method presented in [5] to retune the PID controller. In the last two, the reference model is a first order plus time delay transfer function, of which the time constant is defined according to the desired stability margins.

However, these methodologies are applied to single-input single-output (SISO) processes. On the other hand, the processes are increasingly complex due the demand for high-quality and energy-saving products is ever-increasing. Multivariable (MIMO) processes are common in the industry. PID control structures for MIMO processes are classified as decentralized control and centralized control. The decentralized control is a diagonal matrix, in which each nonzero element is a PID controller. The centralized control consists of a full matrix.

Ensuring a desired performance of the PID controller in MIMO processes is an even more difficult task, due to the coupling between the loops. The coupling represents the interactions between input and output variables. Thus, MIMO PID controller performance evaluation and retuning methods are necessary.

One way to use methods developed for SISO processes in MIMO processes is to apply them sequentially and iteratively. In [6], the method presented in [4] was used to evaluate and retune the decentralized PID controller. In [7], the PI controller retuning method presented in [5] has been extended to MIMO processes.

In this paper, the retuning method presented in [7] is reviewed and extended to PID controllers. The increments of the initial MIMO PID controllers gains are computed using only frequency domain data. The process parametric model is not required. The objective is to retune the controller so that the new closed loop is as close as possible to a given reference model. Simulation examples show that the method can be applied to multivariable process with time delay, integrative dynamics, and nonminimum phase zero.

The paper is organized as follows. In Section 2, the problem statement is presented. The frequency domain retuning method for MIMO process is proposed in Section 3. The simulation and experimental results are presented in sections 4. The conclusion is presented in Section 5.

Advertisement

2. Problem statement

Consider a multivariable process GsCn×n with n inputs and n outputs and a centralized or descentralized PI/PID controller CsCn×n, respectively, given by:

Cs=C11sC12sC1nsC21sC22sC2nsCn1sCn2sCnns,E1
Cs=C11s000C22s000Cnns,E2

where each non-null element is given by:

Cijs=Kpij+Kiijs+sKdij,E3

and Kpij, Kiij, and Kdij are the proportional, integrative, and derivative gains, respectively, and i,j=1,2,,n.

The closed loop is given by:

Ts=I+GsCs1GsCs,E4

where TsCn×n must be stable, IRn×n is an identity matrix. The sensitivity function is given by:

Ss=I+GsCs1.E5

Given a closed-loop reference model Trs and the initial closed-loop frequency response data Ti on a finite frequency set Ω=ω1ω2ωN, with ω1>0, the problem statement is: obtain a new PID controller so that the designed closed loop is close to the desired one, without the knowledge of the parametric model of the process.

Advertisement

3. Frequency domain retuning

Consider an initial closed-loop Tis=I+GsCis1GsCis with a MIMO PI/PID controller Eq. (1) and (2). The retuned controller C¯s is given by:

C¯s=Cs+CΔs,E6

where the CΔs parameters are again increments of the initial controller gain.

The goal of the retune is to compute the CΔs parameters, so that the new closed loop with the new controller C¯s is close to the desired one. To compute the CΔs parameters, first the frequency response CΔ is computed considering the iterations between the loops, as shown in lemma 1.1. The frequency response of the initial closed loop, the reference model, and the initial controller is the algorithm input data.

Lemma 1.1 Given a desired reference Trs and an initial Tis closed loop, the CΔ can be computed as:

CΔ=CTi1TrTiSr1,E7

where Srs=ITrs is the reference model sensitivity function.

Proof of Lemma 1.1: The proof is found in [7].

Once the CΔs frequency response is computed, the gain increments can be obtained. By definition each element of CΔCn×n is of the form:

CijΔs=KpijΔ+KiijΔs+KdijΔs.E8

From lemma 1.1 and matrix equality, the parameters KpijΔ, KiijΔ and KdijΔ of each element of CijΔs are computed as shown in lemma 1.2.

Lemma 1.2 Given the CijΔs frequency response, parameters KpijΔ, KiijΔ, and KdijΔ of the CΔ are computed by:

KpijΔ=ΦrijTΦrij1ΦrijTΩrijE9
KiijΔKdijΔ=ΦiijTΦiij1ΦiijTΩiij,E10

where

Φrij=111,E11
Ωrij=CijΔjω1CijΔjω2CijΔjωN,E12
Φiij=1/ω1ω11/ω2ω21/ωNωN,E13
Ωiij=CijΔjω1CijΔjω2CijΔjωN,E14

CijΔ is computed as shown in lemma 1.1, . and . are the real and imaginary parts, respectively, Ω=ω1ω2ωN is finite frequency set, and ω1>0.

Proof of Lemma 1.2: As CΔ is a complex matrix so each element is given by:

CijΔ=aij+jbij,E15

where aij=CijΔ and bij=CijΔ.

For each frequency point, we have:

CΔ=a11+jb11a12+jb12a1n+jb1na21+jb21a22+jb22a2n+jb2nan1+jbn1an2+jbn2ann+jbnn,E16
Kp+Ki+Kd=a11+jb11a12+jb12a1n+jb1na21+jb21a22+jb22a2n+jb2nan1+jbn1an2+jbn2ann+jbnn.E17

Thus, for each element:

KpijΔ+KiijΔ+KdijΔ=aij+jbij,E18
KpijΔ+KiijΔ+KdijΔ=CijΔ+jℑCijΔ,E19
KpijΔjKiijΔω+KdijΔ=CijΔ+jℑCijΔ.E20

Separating the real and imaginary terms of each element, we have:

KpijΔ=CijΔ,E21
KiijΔω+ωKdijΔ=CijΔ.E22

Considering a set with N points frequencies points:

111KpijΔ=CijΔjω1CijΔjω2CijΔjωN,E23
1/ω1ω11/ω2ω21/ωNωNKiijΔKdijΔ=CijΔjω1CijΔjω2CijΔjωN.E24

A particular case, presented in [7] is given by lemma 1.3, where a PI controller is considered:

CijΔs=KpijΔ+KiijΔs.E25

Lemma 1.3 Given the CijΔs frequency response, parameters KpijΔ and KiijΔ of the CΔ are computed by:

KpijΔ=ΦrijTΦrij1ΦrijTΩrijE26
KiijΔ=ΦiijTΦiij1ΦiijTΩiij,E27

where

Φrij=111,E28
Ωrij=CijΔjω1CijΔjω2CijΔjωN,E29
Φiij=1/ω11/ω21/ωN,E30
Ωiij=CijΔjω1CijΔjω2CijΔjωN,E31

CijΔ is given by Eq. (7), . and . are the real and imaginary parts, respectively, Ω=ω1ω2ωN is finite frequency set and ω1>0.

Proof of Lemma 1.3: The proof is similar to that of lemma 1.2 and can be found in [7].

Advertisement

4. Simulation results

In this section, the effectiveness of the proposed PID controller retune method through simulated examples. For this, the Wood-Berry, the integrating process of the distillation column and drum boiler are considered. The initial controller can be centralized or decentralized PI or PID type. The maximum singular value of the sensitivity function (Ss) is used to show the closed-loop robustness property. The maximum singular value must be less than 2 to guarantee greater stability margin and robustness [8].

4.1 Example 1

Consider the Wood-Berry binary distillation column [9] given by 2 × 2 matrix, of which each element is a first-order plus time delay transfer function:

Gex1s=12.8es16.7s+118.9e3s21s+16.6e7s10.9s+119.4e3s14.4s+1E32

and the decentralized PID controller:

Cex1s=0.34+0.0198s+0.167s000.140.0081s0.19s.E33

To obtain the closed loop as decoupled as possible, the reference model is given by the diagonal matrix given by:

Trex1s=15.9s+1e1s0015.8s+1e3s.E34

The retuned controller using the lemma 1.2 is given by:

C¯ex1s=0.172+0.0299s+0.204s0.06660.016s+0.046s0.009+0.0097s0.0548s0.05120.012s+0.106s.E35

Note in Figure 1 that the retuned closed loop is more robust than the initial one. This occurs because the peak of maximum singular value curve of the initial sensitivity function (Ss), Eq. (5), is above the peak of the curve corresponding to the reprojected.

Figure 1.

Maximum singular value of sensitivity function (Ss) - example 1.

In Figure 2, the step responses of the initial and retuned closed loop are shown. The retuned closed-loop response approaches the desired. In addition, coupling reduction is observed when the retuned controller is used. This occurs because the coupling is compensated by the off-diagonal elements of the controller matrix. Consequently, the variation of the control signal increased, as can be observed in Figure 3.

Figure 2.

Closed-loop step response - example 1.

Figure 3.

Control signal - example 1.

In this example, the decentralized PID controller was retuned so that the new closed-loop close to a diagonal reference model. As result of the proposed method, a centralized PID controller was obtained.

4.2 Example 2

Consider the integrating process of the distillation column process [10]:

Gex2s=3.04s278.28s30s+16s+10.052s319.47s30s+16s+1E36

and the decentralized PI controller:

Cex2s=16.181+202.265s0023.614+64.926s+2.147s.E37

The reference model is given by:

Trex2s=10.05s+10010.2s+1.E38

The initial controller is decentralized and has PI-type and PID-type elements. Thus, the lemma 1.2 was used to retune the PID and for the lemma 1.3 was used to the other elements. The integral gain obtained for elements C11, C12, and C22 was approximately zero. The retuned controller is given by:

C¯ex2s=5.731.251.65+0.0082s2.4+0.49s.E39

In Figure 4, the maximum singular value curve of the sensitivity function (Ss) is presented. Observe that the curve peak of the proposed loop is smaller when compared with the initial loop.

Figure 4.

Maximum singular value of sensitivity function (Ss) - example 2.

The closed-loop step response is show in Figure 5. The retuned loop outputs were close to the desired and slower than the initial loop. Consequently, the overshoot was reduced. Also, the control signal became smoother as shown in Figure 6.

Figure 5.

Closed-loop step response - example 2.

Figure 6.

Control signal - example 2.

4.3 Example 3

Consider the drum boiler integrating process [11]:

Gex3s=0.34938.19s+10.1587203.9s+10.0059s1401.2s1+21.15s0.01033sE40

and the decentralized PI controller:

Cex3s=2.5+0.05s001.25+0.025s.E41

Note the presence of a zero in the right-half plane (RHP) that affects output 2. A zero in the RHP must appear in the element of the reference model transfer matrix referring to output 2. The reference model is given by:

Trex3s=130s+100132s70s+1.E42

In this case, as the process is integrative, the retune was performed using lemma 1.3 so that the retuned controller was of the PI type:

C¯ex3s=1.89+0.0751s0.198+0.011s17.3+0.201s2.69+0.117s.E43

In Figure 7, the maximum singular value curve of the sensitivity function (Ss) is presented. Note that the retuned loop is significantly more robust than the initial.

Figure 7.

Maximum singular value of sensitivity function (Ss) - example 3.

The closed-loop step response is show in Figure 8. With the retuned controller, the interaction of input 1 with output 2 has been reduced. However, the variation of the control signal increased, as shown in Figure 9.

Figure 8.

Closed-loop step response - example 3.

Figure 9.

Control signal - example 3.

In this example, the centralized PI controller has been retuned from closed loop with a decentralized PI controller. It was possible to obtain a decoupled closed loop with a greater gain margin.

Advertisement

5. Conclusions

In this article, a PID controller retuning method for multivariable processes was presented. This method is an extension of the one presented in [7]. The controller is retuned so that the closed loop approximates the desired one. The method is based on closed-loop frequency domain data. Knowledge of the parametric model of the process is not necessary.

Controller gain increments are computed from the closed-loop reference model, the initial controller, and closed-loop frequency domain data. The initial controller can be centralized or decentralized, PI or PID type.

In the simulation examples, it can be seen that the retuned controller is centralized. In example 2, it is shown that the P/PD controller can be obtained from the initial PI/PID controller. In this case, the integral gain of some controllers was approximately zero. With the redesign, it was possible to reduce the coupling between the loops and improve the robustness properties of the closed loop.

As future work, there is the application of the method to unstable processes and a methodology to define the reference model.

Advertisement

Acknowledgments

This work is supported by CNPq (Conselho Nacional de Desenvolvimento Científico e Tecnológico) and COPELE (Coord. de Pós-graduação em Eng. Elétrica da UFCG).

References

  1. 1. Nisi K, Nagaraj B, Agalya A. Tuning of a PID controller using evolutionary multi objective optimization methodologies and application to the pulp and paper industry. International Journal of Machine Learning and Cybernetics. 2019;10:2015-2025
  2. 2. Gao X, Yang F, Shang C, Huang D. A novel data-driven method for simultaneous performance assessment and retuning of PID controllers. Industrial & Engineering Chemistry Research. 2017;56:2127-2139
  3. 3. Yu S, Li X. Proportional–integral–derivative controller performance assessment and retuning based on general process response data. ACS Omega. 2021;6:10207-10223
  4. 4. Moreira LJDS, Acioli Júnior G, Barros PR. IMC PI control loops frequency and time domains performance assessment and retuning. IFAC-PapersOnLine. 2018;51:148-153
  5. 5. Moreira LJDS, Acioli Júnior G, Barros PR. Closed-loop frequency data-driven PID retuning. In: Proceedings of the 2018 IEEE Conference on Control Technology and Applications (CCTA). Copenhagen, Denmark: IEEE; 2018. pp. 1352-1357
  6. 6. Moreira LJDS, Aguiar APVDA, Acioli Jãnior G, Barros PR. Time and frequency data-driven PID retuning applied in MIMO process. IFAC-PapersOnLine. 2021;54:469-474 16th IFAC Symposium on Advanced Control of Chemical Processes ADCHEM 2021
  7. 7. Aguiar APVDA, Acioli Júnior G, Barros PR, Perkusich A. A closed-loop frequency domain PI retuning technique for multivariable systems. IFAC-PapersOnLine. 2021;54:463-468 16th IFAC Symposium on Advanced Control of Chemical Processes ADCHEM. 2021
  8. 8. Åström KJ, Hägglund T, Astrom KJ. Advanced PID Control. Vol. 461. NC, United States of America: ISA-The Instrumentation, Systems, and Automation Society Research Triangle Park; 2006
  9. 9. Wood R, Berry M. Terminal composition control of a binary distillation column. Chemical Engineering Science. 1973;28:1707-1717
  10. 10. Hu W, Cai WJ, Xiao G. Decentralized control system design for MIMO processes with integrators/differentiators. Industrial & Engineering Chemistry Research. 2010;49:12521-12528
  11. 11. Balko P, Rosinová D. Robust decentralized control of nonlinear drum boiler. IFAC-PapersOnLine. 2015;48:432-437 8th IFAC Symposium on Robust Control Design ROCOND 2015

Written By

Anna Paula V. de A. Aguiar, George Acioli Júnior and Péricles R. Barros

Reviewed: 20 April 2022 Published: 28 May 2022