Open access peer-reviewed chapter

Data-Based Tuning of PID Controllers: A Combined Model- Reference and VRFT Method

Written By

Jyh-Cheng Jeng

Submitted: 16 May 2017 Reviewed: 22 February 2018 Published: 12 September 2018

DOI: 10.5772/intechopen.75835

From the Edited Volume

PID Control for Industrial Processes

Edited by Mohammad Shamsuzzoha

Chapter metrics overview

1,251 Chapter Downloads

View Full Metrics

Abstract

This chapter presents a novel data-based proportional-integral-derivative (PID) controller tuning method that can be applied to stable, integrating, and unstable plants. The tuning method is developed under the virtual reference feedback tuning (VRFT) design framework, where the reference model of VRFT is coordinately optimized with the controller on the basis of the model-reference (MR) criterion to ensure the validity of the VRFT approach. In the proposed MR-VRFT method, a set of closed-loop plant data are directly exploited without resorting to a process model. Because of its closed-loop tuning capability, the MR-VRFT method can be applied online to improve (retune) existing underperforming controllers. Moreover, the tuning method includes a robustness specification based on the maximum sensitivity that enables the designer to explicitly address the trade-off between performance and robustness. Simulation studies, including the application to an unstable biochemical reactor, are presented to demonstrate the effectiveness of MR-VRFT method.

Keywords

  • PID controller
  • process control
  • data-driven control
  • model-reference control
  • virtual reference feedback tuning
  • integrating process
  • unstable process

1. Introduction

Proportional-integral-derivative (PID) controllers have been the most widely used process control technique for many decades in the chemical process industry. Although a PID controller has only three adjustable parameters, the optimization of these parameters in the absence of a systematic procedure is not a trivial task. It has been reported that numerous controllers are poorly tuned in practice [1]. A typical category of methods for tuning PID controllers is based on the model-based design approach. With the availability of plant models, both analytic and empirical rules can be applied for PID design; see Ref. [2] for an extensive collection of methods. With the development of engineering technologies, industrial plants are becoming more and more complex, and therefore, modeling and identifying industrial plants are more challenging and demand considerable engineering effort. Furthermore, the performance of model-based controllers is highly dependent on the model accuracy. The model-based methods can give satisfactory PID design when the controlled plant dynamics are reasonably described by the low-order models, but the effectiveness of these methods degrades for complex and/or higher-order process dynamics owing to the inevitable modeling error.

An attractive approach to relieving the efforts of identifying a complicated process and mitigating the drawback of a plant-model mismatch is to design controllers directly from plant input–output data without the intermediate step of model identification. In the past two decades, a number of data-based control design methods have been developed; see Ref. [3] for a brief survey of the existing data-based control methods. Virtual reference feedback tuning (VRFT) [4, 5] is a one-shot discrete-time controller tuning method that only needs a set of plant input–output data to compute the controller parameters. Under the VRFT framework, the controller tuning problem is transformed into a controller parameter identification problem through introducing the virtual reference signal with a predefined reference model. The controller parameters are then obtained by solving an optimization problem formulated to minimize the VRFT criterion, that is, the deviation between the virtual controller output and actual plant input. The closed-loop behavior with the controller designed by VRFT is determined by the reference model. It is critical but not an easy step to properly determine a reference model because the plant model is unknown. However, VRFT is basically studied as an identification problem, and how to determine the optimal reference model is not addressed in traditional VRFT methods. Recently, VRFT has been extended to the design of continuous-time PID controllers [610] and, to determine the reference model appropriately, the parameter in the reference model was optimized by evaluating the VRFT criterion. In fact, the original objective of VRFT is to search the optimal controller parameters which minimize a model-reference (MR) criterion. The VRFT criterion shares with the MR criterion the same minimizer only when the adopted controller structure allows a perfect model matching [5]. However, the PID controller may not belong to the ideal controller set that allows a perfect model matching. The reference model determined by minimizing the VRFT criterion does not guarantee an effective model-reference control and therefore the performance of the designed PID controller becomes unpredictable.

To solve this problem, a novel model-reference VRFT (MR-VRFT) method is presented in this chapter. The PID controller is designed with VRFT based on an optimal reference model determined by minimizing the MR criterion, and consequently, the design objective of model-reference control can be effectively achieved. The MR-VRFT method can be applied to stable, integrating, and unstable plants by choosing appropriate reference model structures. The proposed design method includes robustness consideration that allows the designer to deal with the trade-off between control performance and system robustness by specifying a desired robustness level in terms of the maximum sensitivity.

The rest of this chapter is organized as follows. Section 2 presents the PID controller design based on VRFT approach. Section 3 presents the specification of the reference model and proposed MR-VRFT method. Section 4 summarizes the controller tuning procedures. Section 5 presents several simulation examples showing the effectiveness of the proposed method. Finally, concluding remarks are presented in Section 6.

Advertisement

2. PID controller design based on VRFT approach

Consider the feedback control system shown in Figure 1, which consists of a plant G(s) and a PID controller C(s) given by

C s = K C 1 + 1 τ I s + τ D s E1

where K C , τ I , and τ D denote the proportional gain, the integral time, and the derivative time of the controller, respectively. Assume that the plant G(s) is unknown and only a set of input–output data, u(t) and y(t), collected during an experiment on the plant is available for tuning the PID controller. The target of control design in the proposed method is assigned via a reference model, M(s), that describes the desired closed-loop transfer function of the system shown in Figure 1. The control objective is the minimization of the following model-reference (MR) criterion:

J MR K C τ I τ D = G s C s 1 + G s C s M s W s 2 2 E2

where W(s) is a user-specified weighting function.

Figure 1.

Feedback control system.

Because G(s) is unknown, the minimization of JMR cannot be performed. The traditional approach is to identify a model of G(s) using a set of input–output data of the plant and then minimize JMR by replacing G(s) with its model. However, this renders modeling difficult and introduces inevitable modeling error. The VRFT approach [5] avoids the procedure of model identification by creating a virtual reference signal r ˜ t from the measured output y(t):

R ˜ s = M s 1 Y s E3

where R ˜ s and Y(s) is the Laplace transform of r ˜ t and y(t), respectively. Such a reference signal is called “virtual” because it was not used to generate y(t). As Y(s) is considered to be the desired output of the closed-loop system when the reference signal is specified by R ˜ s , the corresponding controller’s output can be calculated by

U ˜ s = C s R ˜ s Y s = K C 1 + 1 τ I s + τ D s M s 1 1 Y s E4

When the plant is fed by the measured input signal u(t), it generates y(t) as the output. Therefore, a controller that shapes the closed-loop transfer function to the reference model is one that generates u(t) or its Laplace transform U(s) when the error signal is given by R ˜ s Y s , as depicted in Figure 2. The model-reference control design is then transformed into the problem of searching for a controller to minimize the difference between U(s) and U ˜ s given in Eq. (4).

Figure 2.

Schematic diagram of VRFT.

Substituting s =  into Eq. (4) yields

U ˜ = Ω Ω Ω p E5

where

Ω = M 1 1 Y E6
p = K C K C τ I K C τ D T E7

Minimizing the difference between U(s) and U ˜ s can be formulated in the frequency domain to minimize the difference between U() and U ˜ in a frequency range [0, ωmax]. Choosing ωi, i = 1 , 2 , , n , such that 0 < ω 1 < ω 2 < < ω n = ω max . The PID parameters are obtained by solving

min p J VRFT p = φ Ψ p 2 2 E8

where

φ = U j ω 1 U j ω 2 U j ω n T Ψ = ψ 1 ψ 2 ψ n T ψ i = Ω j ω i Ω j ω i j ω i Ω j ω i j ω i T E9

The frequency responses of U(i) and Y(i) at selected frequency points ωi (i = 1, 2,…, n) can be evaluated by performing discrete Fourier transform for plant input and output measurements, which can be efficiently calculated using the fast Fourier transform (FFT) algorithm. The sampling rate to collect plant data must be large enough so that significant plant information is not lost. The frequency ωmax denotes the upper bound of the frequency range for the minimization problem, and it is closely related to the controller design. Because the controller usually operates under the critical frequency, ωmax can be specified as the critical frequency, ωc, at which the phase angle of GC() equals π . Based on the reference model M(s), the critical frequency can be calculated according to the following equation:

M 1 M ω = ω c = π E10

After algebraic calculations, Eq. (8) is recast as

min p J VRFT p = φ ˜ Ψ ˜ p 2 2 E11

with

φ ˜ = Re φ Im φ ; Ψ ˜ = Re Ψ Im Ψ E12

where Re(A) and Im(A) denote the real matrix (or vector), and the elements are the real and imaginary parts of a complex matrix (or vector) A, respectively. Eq. (11) can be solved by the least-squares method as

p = Ψ ˜ T Ψ ˜ 1 Ψ ˜ T φ ˜ E13

which is used to obtain the parameters of the PID controller according to Eq. (7).

Advertisement

3. Specification of the reference model and MR-VRFT method

The reference model must be specified prior to calculation of the PID parameters using Eq. (13). The specification of the reference model is crucial to the performance of the resulting closed-loop system. Basically, the condition M 0 = 1 should be satisfied to achieve an offset-free tracking. In addition, other conditions should be imposed on the reference model when the controlled plant is integrating or unstable. Here, the reference models for stable, integrating, and unstable plants are presented.

For stable plants, the reference model can be specified as

M s = 1 λs + 1 e θs E14

For integrating plants, the following asymptotic tracking constraint must be satisfied to enable the step-load disturbances to be counteracted to eliminate the offset.

lim s 0 d ds 1 M s = 0 E15

In this case, the reference model for integrating plants is chosen as

M s = 2 λ + θ s + 1 λs + 1 2 e θs E16

For unstable plants, 1 M s should have zeros at unstable poles of the plant to guarantee the internal stability of the closed-loop system [11]. When the plant has an unstable pole up, the following condition should be satisfied:

1 M s s = up = 0 E17

Therefore, the reference model for unstable plants can be chosen as

M s = αs + 1 λs + 1 2 e θs E18

where α must be determined so that Eq. (17) is satisfied. In the reference models, θ is related to the apparent time delay of the plant, and λ is an adjustable parameter to manage the trade-off between control performance and system robustness.

The peak value of the sensitivity function (maximum sensitivity), MS, defined in the following, has been widely used as a measure of system robustness.

M S = max ω 1 1 + G C E19

As the maximum sensitivity decreases, the closed-loop system becomes more robust. The use of the maximum sensitivity as a robustness measure is advantageous because lower bounds for the gain and phase margins can be assured [1]. Because the plant is not known, MS can be evaluated on the basis of the reference model as follows:

M S = max ω 1 M E20

Therefore, the parameter λ can be selected to match a designer-specified robustness level in terms of the maximum sensitivity. For a given value of the reference model parameter ρ, where ρ = θ for stable and integrating plants and ρ = θ α for unstable plants, the following correlated robust design criterion provides the required value of λ to achieve a specified value of MS.

λ = 0.7289 M S + 1.555 M S 1.006 θ , 1.2 M S 2.0 ; for stable plants E21
λ = 0.4105 M S + 2.044 M S 1.012 θ , 1.2 M S 2.0 ; for integrating plants E22
λ = b 1 M S + b 0 M S + a θ , 1.5 M S 3.0 ; for unstable plants E23

where

b 1 = 0.1395 α θ 0.7266 0.18 b 0 = 0.6371 α θ 0.4992 + 0.0521 a = 0.178 α θ 0.7623 0.6712 E24

Eq. (24) is valid for 1 α / θ 10 . With the robust design criterion, the value of λ can be determined conveniently.

When a desired value of MS is specified, the optimal solution given in Eq. (13) is a function of the reference model parameter ρ, that is, p = p ρ . As pointed out before, it is unreasonable to determine the reference model without information on the controlled plant. To determine the reference model appropriately, we propose for the first time that the reference model parameter ρ is optimized by minimizing the model-reference criterion given in Eq. (2). Namely, the proposed method seeks an appropriate reference model, which is most achievable for the controlled plant under the desired robustness level, to design the PID controller in the framework of VRFT.

Given a value of the reference model parameter ρ, the corresponding PID controller parameter p ρ can be calculated and a PID controller C s p ρ is the result. The virtual reference signal R ˜ ρ s that has to be applied in a closed loop employing the PID controller C s p ρ to obtain u(t) and y(t) (the available data for controller design) as the closed-loop response can be calculated by

R ˜ ρ s = C s p ρ 1 U s + Y s E25

Therefore, the closed-loop transfer function resulting from C s p ρ can be expressed by

T ρ s = G s C s p ρ 1 + G s C s p ρ = Y s R ˜ ρ s E26

and its frequency response can be obtained as follows:

T ρ = Y R ˜ ρ = Y C p ρ 1 U + Y E27

A model-reference criterion based on the framework of VRFT for PID controller design is then defined by

J MR VRFT ρ = i = 1 n T ρ j ω i M ( j ω i ρ ) W j ω i 2 E28

where the weighting function can be simply chosen as W j ω i = 1 / j ω i . The optimal reference model parameter, ρ , is determined by solving the following minimization problem:

ρ = arg min ρ J MR VRFT ρ E29

and its corresponding solution p ρ is the optimal PID controller parameter proposed by the MR-VRFT method.

Advertisement

4. Controller tuning procedure

The MR-VRFT method directly utilizes closed-loop plant data for controller tuning without requiring a priori knowledge of the plant and the existing (possibly roughly tuned) controller. For stable plants, open-loop data can also be used for controller tuning. Suppose that the existing control system has been brought to a steady state and a closed-loop test is applied. We recommend using a set-point step test because it is the simplest and most commonly used test in process control applications. The plant input u(t) and output y(t) are collected during the set-point change until a new steady state is reached. It is noted that u(t) and y(t) represent deviation variables and are defined on the basis of the original steady state.

In sum, the proposed MR-VRFT method for tuning PID controllers can be implemented as follows:

Step 1. Collect the plant data, u(t) and y(t), from a plant test and calculate their frequency responses, U(i) and Y(i). To calculate Y(i), the output y(t) is decomposed into y t = Δ y t + y s , where Δ y t and ys represent the transient part and the final steady-state value of y(t), respectively. The Fourier transforms of y(t) at discrete frequencies ωi are then obtained by

Y j ω i = Δ Y j ω i + y s j ω i E30

where Δ Y j ω i can be calculated by applying the FFT to Δ y t . Similar procedures apply to the calculation of U(i) from u(t).

Step 2. Set the prescribed searching range of ρ and the desired level of system robustness in terms of MS. The recommended values for MS are typically within the range 1.2 < M S < 2.0 [12]. However, specifying a higher value of MS is required for particular unstable plants (e.g., those that involve a large time delay).

Step 3. Solve the minimization problem given in Eq. (29) by iteration. For each chosen ρ, perform the following steps.

  1. Calculate the corresponding λ using the robust design criterion and specify the reference model M(s).

  2. Obtain the critical frequency ωc using Eq. (10) and set ωmax = ωc.

  3. Calculate p using Eq. (13).

  4. Calculate the frequency response T ρ j ω i using Eq. (27) and evaluate the criterion JMR-VRFT given in Eq. (28).

Repeat (1) to (4) for other values of ρ in the searching range until the minimal JMR-VRFT is identified.

Step 4. Obtain the PID controller parameters from p corresponding to the optimal value of ρ, i.e., p ρ .

Advertisement

5. Illustrative examples

Simulation examples are presented to demonstrate the effectiveness of the MR-VRFT method for PID controller tuning. In each example, the closed-loop plant data, u(t) and y(t), were generated by introducing a step change in the set point of an initial (existing) closed-loop system (Figure 1). To implement the proposed method, a priori knowledge of the existing controller settings is not required. Therefore, the effectiveness of the MR-VRFT method, proposed as a closed-loop tuning method, is not affected by the existing controller parameters used for generating the closed-loop data, as confirmed by the following example.

In all simulations, the PID controller was implemented as follows to avoid the derivative kick:

U s = K C 1 + 1 τ I s E s τ D s γτ D s + 1 Y s E31

The derivative filter parameter γ was set to 0.1. Two metrics were used to evaluate the controller performance. The integrated absolute error (IAE) is defined as

IAE = 0 r t y t dt E32

To evaluate the required control effort, the total variation (TV) of the manipulated input u was calculated:

TV = i = 1 u i u i 1 E33

TV is an effective measure of the “smoothness” of a signal and should be as small as possible [13].

5.1. Example 1: stable plant

Consider a fifth-order plant given by the following transfer function:

G s = 1 2 s + 1 3 s + 1 2 e 6 s E34

To illustrate that the effectiveness of the MR-VRFT method is unaffected by the plant data used for controller design, three sets of plant data, that is, one set of open-loop step response data and two sets of closed-loop data generated by initially poorly tuned PID controllers, collected with a sampling interval of 0.1, were separately used to implement the MR-VRFT method. As illustrated in Figure 3, the first set of closed-loop data (initial tuning 1: K C = 0.4 , τ I = 10 , and τ D = 1 ) exhibited a sluggish set-point step response whereas the second set of closed-loop data (initial tuning 2: K C = 0.4 , τ I = 4 , and τ D = 0.5 ) exhibited an oscillatory response. Using the reference model given in Eq. (14) with the desired level of robustness set as MS = 1.58, the resulting three PID controllers are summarized in Table 1, where the controller parameters obtained by the MR-VRFT are almost indistinguishable in spite of different plant data used for controller design. Furthermore, the resulting closed-loop system has MS = 1.59, which is close to the design value. Figure 4 shows the closed-loop responses for the initial and retuned (MR-VRFT) controllers for a unit step set-point change at t = 0 and a unit step load disturbance at t = 150. Control performance can be improved significantly using the MR-VRFT method, regardless of the initial controller parameters used for collecting the closed-loop data.

Figure 3.

Three sets of plant data used for controller design in Example 1.

Data set θ* λ K C τ I τ D MS
Open-loop data 8.91 6.26 0.508 7.71 2.58 1.59
Closed-loop data (initial tuning 1) 8.91 6.26 0.508 7.71 2.57 1.59
Closed-loop data (initial tuning 2) 8.94 6.28 0.505 7.69 2.51 1.59

Table 1.

Results of controller design using three different sets of plant data for Example 1.

Figure 4.

Closed-loop responses for Example 1.

We compared the proposed PID design method with the model-based design method of Skogestad internal model control (SIMC) [13]. In the SIMC method, the plant in Eq. (34) was approximated as a second-order plus time delay (SOPTD) model:

G m s = 1 3 s + 1 2 s + 1 e 9 s E35

The controller parameters were obtained as K C = 0.278 , τ I = 5 , and τ D = 1.2 . The resulting closed-loop system also has MS = 1.59, which facilitated a comparison of controller performance for controllers with the same level of robustness. The closed-loop response for the PID controller tuned by SIMC method is also shown in Figure 4. The values of IAE and TV for the controllers are presented in Table 2. Figure 4 shows that the proposed PID controller provides faster set-point response and disturbance attenuation than the SIMC PID controller, demonstrating the superior performance of MR-VRFT method.

Tuning method K C τ I τ D Set point Disturbance
IAE TV IAE TV
Ex. 1 MR-VRFT 0.508 7.71 2.58 15.9 1.16 15.2 1.00
SIMC [13] 0.278 5 1.2 19.9 1.12 19.4 1.09
Ex. 2 MR-VRFT 0.209 17.4 2.29 13.0 0.487 8.43 0.156
SIMC [13] 0.177 25.5 1.41 14.0 0.416 14.4 0.157
Ex. 3 MR-VRFT 3.98 9.79 1.86 7.69 15.6 2.52 3.03
Lee et al. [14] (first-order model) 3.26 10.6 1.63 8.84 12.5 3.31 2.96
Lee et al. [14] (second-order model) 3.99 11.4 1.89 8.0 15.8 2.86 3.05
Ex. 4 MR-VRFT −0.935 3.84 0.422 0.729 0.954 0.719 0.191
Ref. [15] −0.952 5.62 0.530 0.790 1.36 1.03 0.224

Table 2.

PID controller settings and performance indices for the examples.

5.2. Example 2: integrating plant

Consider the following integrating plant:

G s = 1 s s + 1 4 e 0.5 s E36

To implement the MR-VRFT method, an initial control system with a roughly tuned PID controller ( K C = 0.3 , τ I = 10 , and τ D = 1 ) was considered for generating closed-loop data, with a sampling interval of 0.05.

Using the reference model given in Eq. (16) with the design target MS = 1.62, we determined the optimal θ value to be θ = 2.98 ( λ = 6.75 ). The corresponding PID controller parameters are K C = 0.209 , τ I = 17.4 , and τ D = 2.29 , and the resulting closed-loop system has an MS value nearly identical to the design target. Figure 5 shows the closed-loop responses for the initial and retuned (MR-VRFT) controllers for a unit step set-point change at t = 0 and a step-load disturbance of magnitude 0.1 at t = 120. The response for the initial controller is rather oscillatory. In fact, the initial closed-loop system has an MS value of 3.92, indicating poor robustness. Control performance can be considerably improved after the retuning using the MR-VRFT method.

Figure 5.

Closed-loop responses for Example 2.

The proposed PID controller was compared with the SIMC PID controller which was tuned using the following model:

G m s = 1 s 1.5 s + 1 e 3 s E37

The SIMC controller parameters were obtained as K C = 0.177 , τ I = 25.5 , and τ D = 1.41 . The resulting closed-loop system also has MS = 1.62. The closed-loop response for the PID controller tuned by SIMC method is also shown in Figure 5. The values of IAE and TV for the controllers are presented in Table 2. Clearly, the proposed MR-VRFT method provides favorable control performance, especially for disturbance rejection, compared with the model-based method of SIMC.

In practice, plant data are inevitably corrupted by measurement noise. Figure 6 shows closed-loop plant data that were corrupted by Gaussian white noise with a variance of 0.005; the data were used to tune the controller by the MR-VRFT method. The optimal θ value was determined to be θ = 2.99 ( λ = 6.77 ), and the resulting controller parameters were K C = 0.211 , τ I = 18.2 , and τ D = 2.21 . By comparing the controller parameters obtained under noise conditions with those obtained under noise-free conditions, no dramatic change is observed, which verifies the applicability of the MR-VRFT method under realistic conditions. Moreover, simulation results show that fast sampling of plant data could reduce the sensitivity of the MR-VRFT method to the effect of measurement noise.

Figure 6.

Noisy closed-loop data used for controller design in Example 2.

5.3. Example 3: unstable plant

Consider the following third-order delayed unstable plant studied in Lee et al. [14]:

G s = 1 5 s 1 2 s + 1 0.5 s + 1 e 0.5 s E38

An initial closed-loop system with a roughly tuned PID controller ( K C = 2 , τ I = 20 , and τ D = 1 ) was assumed to generate plant data for controller design. The sampling interval was chosen as 0.1. We applied the MR-VRFT method to design the PID controller using the reference model given in Eq. (18), with an assigned MS value of 2.25. The optimal reference model parameter was determined to be ρ = θ α = 1.389 8.033 with λ = 2.09 . The corresponding PID controller parameters are K C = 3.98 , τ I = 9.79 , and τ D = 1.86 , and the resulting closed-loop system has MS = 2.20, which is close to the design target. To show the advantage of the MR-VRFT method over the previous VRFT method, the reference model parameter was also determined by minimizing the following VRFT criterion for comparison:

ρ = arg min ρ J VRFT ρ = φ ˜ Ψ ˜ p ρ 2 2 E39

The result was obtained as ρ = θ α = 1.481 9.645 with λ = 2.41 . The corresponding PID controller parameters are K C = 3.49 , τ I = 11.7 , and τ D = 1.77 , and the resulting closed-loop system has MS = 2.07, which deviates from the design target. When a closed-loop system has an MS value closer to the design target, the closed-loop system matches the reference model better. By comparing the MS value of the closed-loop systems resulting from the MR-VRFT and VRFT methods, it clearly indicates that the MR-VRFT method achieves a more effective model-reference control design than the VRFT method does. Figure 7 shows closed-loop responses for the initial and MR-VRFT controllers for a unit step set-point change at t = 0 and a unit step load disturbance at t = 50. The control performance evidently improves considerably after the retuning using the MR-VRFT method.

Figure 7.

Closed-loop responses for Example 3.

The proposed PID controller was compared with two PID controllers tuned by the model-based method of Lee et al. [14] on the basis of the following first-order and second-order models, respectively:

G m 1 s = 1 5.766 s 1 e 3.282 s G m 2 s = 1 5 s 1 2.07 s + 1 e 0.939 s E40

Both models provide accurate approximations; however, the second-order model is more accurate. The control systems using the model-based controllers were tuned to have the same robustness level of MS = 2.2. The PID settings are shown in Table 2 and the resulting closed-loop responses are shown in Figure 7. The values of IAE and TV for all of the controllers are presented in Table 2. As evident from the results in Table 2 and Figure 7, the proposed MR-VRFT method performs better than the model-based design method with respect to both set-point tracking and disturbance rejection. In addition, the model-based controller based on the second-order model provides better performance than that based on the first-order model, which indicates that the model-based design method requires an accurate process model to obtain improved PID settings. Because the availability of accurate process models cannot be guaranteed, the proposed data-based method provides an obvious advantage in controller design.

5.4. Example 4: application of a biochemical reactor

The biochemical reactor plays a major role in most of the biotechnological and chemical industries. The MR-VRFT method was applied to the nonlinear biochemical reactor studied by Vivek and Chidambaram [15]. The bioreactor modeling equations are as follows.

Biomass balance : d x 1 dt = μ D x 1 Substrate balance : d x 2 dt = D x 2 f x 2 μ x 1 Y Specific growth rate : μ = μ max x 2 k m + x 2 + k 1 x 2 2 E41

where x1 is the biomass concentration, x2 is the substrate concentration, x2f is the substrate feed concentration, and D is the dilution rate. The yield Y is assumed to be a constant. The model parameters used for the simulation were

μ max = 0.53 h 1 ; k m = 0.12 g / L ; k 1 = 0.4545 L / g ; Y = 0.4 ; x 2 f = 4.0 g / L E42

The nonlinear process has three steady-state operating points for a dilution rate of 0.3 h−1. An unstable operating region with a steady-state value of (x1s, x2s) = (0.9951, 1.5122) is considered. The dilution rate is the manipulated variable used to control the biomass concentration at the unstable steady state. A time delay of 1 h is assumed in the measurement of x1.

Vivek and Chidambaram [15] calculated the PID parameters (see Table 2) on the basis of the following identified unstable first-order plus time delay model:

G m s = 5.5903 5.6125 s 1 e 1.0152 s E43

An initial closed-loop system with the PID controller proposed by Vivek and Chidambaram [15] was considered to generate the plant data required to tune the controller. The MR-VRFT method was applied to retune the PID controller by introducing a step change of 10% in the set point of x1. To simulate realistic conditions, Gaussian white noise, with a standard deviation of 0.005, was added to the measurements as the measurement noise. The noisy closed-loop data collected with a sampling interval of 0.01 h are shown in Figure 8. Using the reference model given in Eq. (18) with the design target MS = 2.6, the optimal reference model parameter was determined to be ρ = θ α = 1.084 3.736 with λ = 0.966 , and the corresponding PID controller parameters are shown in Table 2.

Figure 8.

Noisy closed-loop data used for controller design in Example 4.

The proposed controller was compared with the initial model-based controller by simulating the nonlinear model equations of the bioreactor. Figure 9 shows the closed-loop responses to a step change of 20% in the set point at t = 0, followed by a step disturbance of 4 g/L in the substrate feed concentration x2f at t = 20 h. The corresponding values of IAE and TV, as presented in Table 2, clearly indicate that the retuned control system using the MR-VRFT method outperforms the initial control system. The proposed controller shows a rapid attenuation of the disturbance. The overshoot in the set-point response for the proposed controller is moderately large, but the response is less oscillatory with a shorter settling time compared to that of Vivek and Chidambaram [15] (i.e., the initial controller). It is noted that the excessive overshoot can be reduced by applying the set-point weighting to the proportional mode of a PID controller.

Figure 9.

Closed-loop responses for Example 4.

Figure 10 shows the closed-loop responses of the controllers when a 30% increase in the process parameters km and k1 has occurred. The response for the controller of Vivek and Chidambaram [15] became highly oscillatory compared with that of the proposed controller, indicating the superior robust performance of the proposed controllers. This example demonstrates that the MR-VRFT method is promising for industrial applications.

Figure 10.

Closed-loop responses under variations in the process parameters for Example 4.

Advertisement

6. Conclusions

In this chapter, a novel and systematic data-based PID design method based on combined model-reference and virtual reference feedback tuning is presented. With the optimized reference model using the model-reference criterion, the optimal PID controller can be efficiently designed in the framework of VRFT. By choosing an appropriate structure of the reference model, the proposed MR-VRFT method applies to a wide variety of process dynamics and deals with stable, integrating, and unstable processes using the same unified procedure. Simulation studies show that PID controllers designed by the MR-VRFT method fulfill the user-defined robustness specification, indicating that an effective model-reference control design is achieved, and they also exhibit favorable control performance when compared to the model-based PID controllers. Therefore, the MR-VRFT method is a promising PID controller design method for industrial application, and it can be used to improve the performance of existing underperforming PID controllers through the retuning of the controller parameters using routine operating data.

Advertisement

Acknowledgments

The author thanks the Ministry of Science and Technology of Taiwan for supporting this research under the grant of MOST 105-2221-E-027-128.

References

  1. 1. Åström KJ, Hägglund T. Advanced PID Control. Research Triangle Park: ISA; 2005
  2. 2. O’Dwyer A. Handbook of PI and PID Controller Tuning Rules. London: Imperial College Press; 2006
  3. 3. Hou ZS, Wang Z. From model-based control to data-driven control: Survey, classification and perspective. Information Sciences. 2013;235:3-35
  4. 4. Guardabassi GO, Savaresi SM. Virtual reference direct design method: An off-line approach to data-based control system design. IEEE Transactions on Automatic Control. 2000;45:954-959
  5. 5. Campi MC, Lecchini A, Savaresi SM. Virtual reference feedback tuning: A direct approach for the design of feedback controllers. Automatica. 2002;38:1337-1346
  6. 6. Yang X, Xu B, Chiu MS. PID controller design directly from plant data. Industrial & Engineering Chemistry Research. 2011;50:1352-1359
  7. 7. Jeng JC, Liao SJ. A simultaneous tuning method for cascade control systems based on direct use of plant data. Industrial & Engineering Chemistry Research. 2013;52:16820-16831
  8. 8. Jeng JC, Tseng WL, Chiu MS. A one-step tuning method for PID controllers with robustness specification using plant step-response data. Chemical Engineering Research and Design. 2014;92:545-558
  9. 9. Jeng JC, Fu EP. Closed-loop tuning of set-point-weighted proportional-integral-derivative controllers for stable, integrating, and unstable processes: A unified data-based method. Industrial & Engineering Chemistry Research. 2015;54:1041-1058
  10. 10. Jeng JC, Ge GP. Disturbance-rejection-based tuning of proportional-integral-derivative controllers by exploiting closed-loop plant data. ISA Transactions. 2016;62:312-324
  11. 11. Nasution AA, Jeng JC, Huang HP. Optimal H2 IMC-PID controller with set-point weighting for time-delayed unstable processes. Industrial & Engineering Chemistry Research. 2011;50:4567-4578
  12. 12. Åström KJ, Panagopoulos H, Hägglund T. Design of PI controllers based on non-convex optimization. Automatica. 1998;34:585-601
  13. 13. Skogestad S. Simple analytic rules for model reduction and PID controller tuning. Journal of Process Control. 2003;13:291-309
  14. 14. Lee Y, Lee J, Park S. PID controller tuning for integrating and unstable processes with time delay. Chemical Engineering Science. 2000;55:3481-3493
  15. 15. Vivek S, Chidambara M. An improved relay auto tuning of PID controllers for unstable FOPTD systems. Computers and Chemical Engineering. 2005;29:2060-2068

Written By

Jyh-Cheng Jeng

Submitted: 16 May 2017 Reviewed: 22 February 2018 Published: 12 September 2018