## Services on Demand

## Journal

## Article

## Indicators

- Cited by SciELO
- Access statistics

## Related links

- Cited by Google
- Similars in SciELO
- Similars in Google

## Share

## Brazilian Journal of Chemical Engineering

##
*Print version* ISSN 0104-6632

### Braz. J. Chem. Eng. vol.29 no.3 São Paulo July/Sept. 2012

#### http://dx.doi.org/10.1590/S0104-66322012000300011

**PROCESS SYSTEMS ENGINEERING**

**Relationship of lambda and overshoot of step response for a direct synthesis PI controller**

**L. W. Tan ^{II}; R. K. Raja Ahmad^{II}; M. N. Ibrahim^{II}; F. S. Taip^{I, *}**

^{I}Department of Process and Food Engineering, Department of Electrical and Electronic Engineering, sFaculty of Engineering, Phone: + 603-89466357, Fax: + 603-89464440, Universiti Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia. E-mail: saleena@eng.upm.edu.my

^{II}Department of Process and Food Engineering, Department of Electrical and Electronic Engineering, sFaculty of Engineering, Phone: + 603-89466357, Fax: + 603-89464440, Universiti Putra Malaysia, 43400 UPM Serdang, Selangor, Malaysia

**ABSTRACT**

The direct synthesis (DS) tuning method is a model-based method for a feedback controller. The main principle of this method is to obtain the controller settings based on a predetermined desired closed loop response. The main advantage is that there is only one parameter to be adjusted, which is lambda (λ), the speed of the desired closed loop response. There are several guidelines available for selecting λ in order to ensure that the closed loop step response matches the desired response. In this paper, a guideline that relates λ and overshoot is proposed and it worked well over a wide range of R varying from 0.05 to 2. For a fair comparison of DS-tuned controllers with different λ guidelines, both performance and robustness for a unit step change in the set point are considered. It was found that the DS-tuned controller with this proposed guideline performed better and the gain margin (GM) and phase margin (PM) lie between 2≤GM≤5 and 30º≤PM≤75º, respectively. Besides, its overshoot changed less with a ±25% process model mismatch, except for τ mismatch.

**Keywords:** Direct synthesis; Lambda; Overshoot; PI controller.

**INTRODUCTION**

PI and PID controllers were introduced by Ziegler and Nichols in 1942. Both controllers have been the heart of control engineering practice for seven decades. In industrial processes such as chemical processes, food processes, manufacturing processes and so on, more than 95% of the control tools are PI and PID controls (Åström and Hägglund, 1995; Dufour, 2006; Shamsuzzoha and Skogestad, 2010). They are adequate to be used in blending (Chua *et a*l., 2009), spray drying (Tan *et a*l., 2009), pH control (Valarmathi *et al*., 2009), biochemical (Rodrigues and Maciel Filho, 1997) and other manufacturing processes.

However, 90% of PID controllers do not use derivative action because it is not simple and is time-consuming to optimize three controller settings (Majhi, 2005; Skogestad, 2003). Tuning is the engineering adjustment of the controller settings to achieve satisfactory control. Most of the tuning methods were proposed for first order plus time delay (FOPTD) systems, as they represented the behavior of a wide range of process (Madhuranthakam *et a*l., 2008). The tuning methods include closed-loop methods and model-based control methods. Closed loop methods do not require a process model and usually perform in a closed loop system (Abdul Majid *et a*l., 2009). Model-based control methods are based on the process model with the performance criteria established before the control system is installed (Haley and Mulvaney, 1995).

In some processes, it is desirable to have high overshoot and return rapidly to the steady state. However, high overshoot is a problem in several processes. For example, overshoot is not allowed in plastic glove manufacturing to prevent plastic film wrinkle (Basilio and Matos, 2002). Several tuning methods focused on controller parameter adjustment in order to reduce the excessive overshoot to a given overshoot of a closed loop system. The Chien-Hrones-Reswick (CHR) method (Åström and Hägglund, 1995) was designed to reduce the overshoot to zero and 20% overshoot. Basilio and Matos (2002) proposed a tuning rule for a systematic adjustment of controller gain to produce a closed loop response without overshoot. Skogestad (2003) suggested a direct synthesis (DS) method with λ equal to a time delay in order to produce a response with 5% overshoot (Martin *et a*l., 1976). Abbas (1997) developed controller tuning relations relating the overshoot and model parameters by modifying the direct synthesis tuning method. In his work, a first-order Padé approximation for the time delay term was considered.

The DS method is one of the tuning methods for a feedback controller. The main principle of this method is to obtain the controller settings based on a predetermined closed loop response. The performance requirements of the output response can to be incorporated directly through specification of the closed loop response. The main advantage of the DS method over other tuning methods is due to the fact that only one parameter, lambda (λ), needs to be adjusted (Coughanowr and LeBlanc, 2009; Foley *et a*l., 2005). The output response tuned by the DS method may be overdamped or underdamped, depending on the choice of λ. There are several guidelines available for selecting λ in order to ensure that the closed loop step response matches the desired response. Tan *et al*. (2006) mentioned that λ equal to 0.25 of the time delay had a better performance but was less robust. Smith and Corropio (2006) reported that λ should be set to 2/3 of the time delay approximately to minimize the integral absolute of error (IAE) of PI controller response. As mentioned, λ equal to the time delay gives a response with 5% overshoot (Martin *et a*l., 1976; Smith and Corropio, 2006). However, there is no λ guideline that lets users select the amount of overshoot to be produced in a step response.

In this work, a DS guideline that relates λ and overshoot (OS) and the ratio of time delay to time constant (R) is developed for a PI controller. The proposed guideline is more useful because it can produce the specified overshoot as selected by the user. The plant process with a first order process plus time delay (FOPTD) model is considered. For a fair comparison of DS-tuned controllers with the proposed λ guideline and other existing λ guidelines, both performance and robustness for a unit step change in the set point are considered.

**PROPOSED WORK**

**Direct Synthesis Tuning Method**

For the feedback controller shown in Figure 1, the closed loop transfer function can be expressed by Equation (1). is the closed loop transfer function, G_{c} is the transfer function of the controller and G_{p} represents the process transfer function.

A practical design equation can be obtained by replacing the unknown actual process, G_{p,} by the model and is replaced by the desired closed loop transfer function, The controller performance strongly depends on the specification of the desired closed loop transfer function. Ideally, a perfect control is achieved if the desired closed loop transfer equals to 1, but this ideal situation cannot be achieved by feedback control. The desired closed loop transfer function for FOPTD is shown as Equation (2).

Then the controller strategy is of the form:

If the Taylor series expansion is applied, a PI control with the settings shown in Equation (5) is derived.

Equation (5) shows that only the controller gain, K_{c}, depends on λ, the speed of the closed loop response. It is important to develop a λ guideline based on the process parameters that optimizes the closed loop response. Thus, an expression was developed for λ as a function of both the ratio of time delay to time constant, R, and overshoot, OS.

**Simulations and Formula Formation**

Simulations were carried out using SIMULINK in MATLAB software to find the relationship between lambda, λ, and overshoot of the step response, OS. Two process gains (K_{p}=1 and K_{p}=2), two time delays (θ=1 and θ=2) and twenty one values of the ratio of time delay to time constant (R=0.05 to 2) were explored. Each R had four groups of data, which were K_{p}=1, θ=1; K_{p}=2, θ=1; K_{p}=1, θ=2; and K_{p}=2, θ=2, and were run at five λ values of 0.2θ, 0.4θ, 0.6θ, 0.8θ and θ. Hence, in total, 420 runs were obtained. After the data were collected, a general correlation of OS and λ in terms of process parameters was obtained by using the Curve Fitting Toolbox in MATLAB software.

**Simulation Studies and Analysis**

In order to demonstrate the performance and robustness of the proposed λ guideline and existed λ guidelines such as 0.5τ (general, rule of thumb), 0.25θ (Tan *et a*l., 2006), 2/3θ (Smith and Corropio, 2006) and θ (Skogestad, 2003), three FOPTD processes with different R values mentioned by Madhuranthakam *et al*. (2008) were involved. The effects of the uncertainty in the model were evaluated by applying a ±25% change from the nominal values. The performance was compared in terms of the overshoot, rise time, settling time and integral of error measures (IAE and ISE). Gain margin (GM) and phase margin (PM) are two well-known measures for maintaining the robustness of a control system. The ranges of GM and PM in a well tuned controller ranged from 2≤GM≤5 and 30º≤PM≤75º, respectively (Åström and Hägglund, 1995).

**Model Uncertainties**

The effects of model uncertainties were analyzed by applying a ±25% change in K_{p}, τ and θ.

**RESULTS AND DISCUSSION**

**Correlation of Lambda (λ) and Overshoot (OS) with Process Parameters**

From the simulations, it was found that the closed loop response gave similar OS values for the same λ, although the process gain or time constant was varied. Besides, λ is related to the ratio of time delay to time constant, R, and time delay, θ, but has no clear relation with process gain, K_{p}. As λ decreased, the PI controller had larger controller gain, K_{c}, and integral gain, K_{I}. Therefore, this resulted in a more oscillatory response (large overshoot), as expected. Data from the simulations were used to obtain a general correlation of λ and OS with the process parameters by using Curve Fitting Toolbox in MATLAB software.As mentioned, λ is related to R and θ and an exponential relationship between OS and ë / Rè was obtained Figure 2 shows a graph of OS versus λ / Rθ for R=1 and Equation (6) shows the exponential relationship between OS and λ/Rθ.

Table 1 provides the values of the parameters a, b and c according to the goodness of fit curve. The coefficient of determination (R^{2}) is a measure of the degree of fit. The sum of square error (SSE), adjusted R^{2}, and the square root of mean square error (RMSE) can be used to compare the goodness of fit of the curve. Table 1 shows that all curves obtained had a high R^{2} and a small RMSE. In order to define λ, rearranging Equation (6) gives Equation (7) (limited to 0.05 ≤ R ≤2).

Table 2 shows the parameters a, b and c grouped according to R. There were two formulas derived for the parameters a and c for 0.05≤R≤1 and 1≤R≤2. Parameter b was 0.18, the value obtained from the average after accumulation of numerous data. The accuracy of the proposed λ guideline (Equation (7)) was tested. It was found that overshoot can be specified from 3% to 10% instead of 1% and 2%. The main reason is that it is difficult to obtain the simulated overshoot if the overshoot is too small. If the use of this equation is limited to 4%≤OS≤10%, then the percentage error in the specified value of OS is less than ±10%.

**Simulation Results and Analysis**

The proposed λ formula with the chosen specification of 5% OS was compared with other conventional λ formulas such as 0.5τ, θ, 2/3θ and 0.25θ using a PI controller. The aim of the simulation studies was to test whether the proposed λ guideline could reduce the excessive overshoot to 5% with satisfactory performance and robustness.

**Case Study 1**

A FOPTD process with R of 0.2 was considered as shown in Equation (8). The PI controller parameters and the performance characteristics are given in Table 3.

Figure 3 shows the closed loop responses for the G_{P1} process using different λ. λ is an user-specified parameter that corresponds to the speed of the closed loop response. As expected, larger λ exhibited a more robust and stable response. The response obtained using a DS-tuned controller with λ=0.5τ (largest λ value), which is plotted in Figure 3 is critically damped with no overshoot because the damping ratio, ζ is equal to 1. ζ is an important parameter to determine the nature of the response. However, its response is too slow and 13 minutes is required for it to first reach the set point because the rise time increases with increasing ζ (Coughanowr and LeBlanc, 2009). Due to slow response, the largest IAE and ISE values were produced and resulted in the worst performance. Table 4 clearly shows that its gain margin (GM) and phase margin (PM) values are over the specification; therefore, it was proven not to be a well tuned controller.

In contrast, decreasing λ tends to give a large K_{c} and speeds up the response until it becomes oscillatory. Table 3 shows that the DS-tuned controller with λ =0.25θ (the smallest λ value) implies ζ=0.35 and the fastest response (the lowest rise time). However, this PI controller was tuned by minimization of ISE and resulted in an oscillatory closed loop response (the highest overshoot). Furthermore, it is the worst tuning method because the GM value was less than the specified value, in spite of the PM value of 44.16°. Therefore, this controller is unable to withstand greater change in the system.

Smith and Corropio (2006) mentioned that λ=2/3θ approximately minimizes the IAE value. It is clearly shown in Table 3 that the DS-tuned controller with λ=2/3θ resulted in minimization of IAE. The DS-tuned controllers with the proposed λ and λ=θ were capable of producing the response with the specified overshoot. Martin *et al*. (1976) recommended λ=θ in order to produce a response having 5% OS; however, 4.1% OS was produced in this case study. In order to make a fair comparison between the proposed λ guideline and λ=θ, the specified overshoot for the proposed λ guideline is 5% overshoot. Analyzing Table 3, the performance of the proposed λ guideline was seen to be very similar to λ=θ, but it resulted in 4.7% OS, which was closer to the specified overshoot. In order to maximize performance as well as ensure robustness, the closed loop response of the proposed λ guideline with a PM of 60.89° and GM of 3.09 guarantees both performance and robustness.

**Case Study 2**

The following FOPTD transfer function shown in Equation (9) was considered when to the ratio of time delay to time constant, R, equals to 1. Table 5 shows the numerical values of the PI controller parameters and performance characteristics, whereas the robustness properties are listed in Table 6. The closed loop responses for the G_{P2} process using different λ are illustrated in Figure 4.

As R increased to unity, a sluggish response was obtained using λ=θ and the proposed λ guideline (largest λ value). They gave the lowest overshoot and the longest rise time of about 36.6-37.7 minutes to achieve the set point. From Table 5, it can clearly be seen that the proposed λ and λ=θ could achieve 5.4% and 5.8% OS respectively. This indicates that the proposed λ guideline has the capability to reduce the excessive overshoot to 5% overshoot compared with λ=θ. Overall, the performance of the proposed λ guideline is superior to that of λ=θ. In terms of gain margin (GM), both settings provided robust design with a GM of about 2.96 and 3.14, which is suggested by Skogestad (2006).

In case study 1, a critical damped response was obtained using a DS-tuned controller with λ=0.5τ. However, in Figure 4, the DS with a λ=0.5τ setting gave an underdamped response with ζ of about 0.49. Analyzing the PM and GM values in Table 6, the values of the robustness measures were similar to those of case study 1, except for the DS-tuned controller with λ=0.5τ, because it has no relationship with R. If the minimum ISE is the priority of the user, λ=0.25θ is a wise choice. However, its minimization may result in an unsatisfactory response and oscillation over a long time period. As summarized in Table 5, the weakness of this guideline was the long settling time, 30% more than that of other λ guidelines because the ISE criterion weights all errors equally, independently of time (Krohling and Rey, 2001). Due to its oscillation before reaching the steady state, the highest IAE value resulted. Furthermore, it is the worst tuning method and unable to withstand greater changes in the system due to the GM is less than 2. From Table 5, λ=2/3θ would be the most suitable λ guideline to optimize the minimization of IAE.

**Case Study 3**

Equation (10) is the FOPTD transfer function model to be considered. The ratio of time delay to time constant, R is equal to 2. Table 7 shows the numerical values of the PI controller parameters.

Figure 5 illustrates the closed loop responses for the G_{P3} process using different λ formulas and their performance characteristics are presented in Table 7.

As the R value is increased to 2, the dynamic behavior becomes slower and takes a longer time to reach the set point and settle. All DS-tuned controllers could provide constant values for the overshoot, IAE and ISE in these three case studies except the DS-tuned controller with λ=0.5τ. The guideline with λ=θ showed a sluggish response with the lowest overshoot, as expected. Thus, a longer rise time was taken to reach the set point and the settling time was significantly reduced (Table 7). Figure 5 shows that the response of a DS-tuned controller with λ=0.5τ became underdamped and its damping ratio, ζ, was reduced to 0.35 for as R =2. λ =0.25θ and λ =0.5τ had the same smallest λ value. Therefore, their oscillatory responses gave the highest overshoot (29.5%) and took the longest time to settle (about 93 minutes), although they are fast to reach the set point. Table 7 clearly shows that the proposed λ guideline and λ=θ could achieve 4.0% overshoot and 3.8% overshoot, respectively. Besides, other performance criteria such as rise time, settling time, IAE and ISE were also seen to be very similar to λ=θ.

The robustness measures of the DS with the proposed λ guideline setting are compared with four other λ guidelines in Table 8. Similar to the performance characteristics, all controllers could provide identical GM and PM values, excluding the controller with λ=0.5τ. The results show that the DS-tuned controllers with λ=0.5τ and λ =0.25θ are the worst controllers because they are not robust (GM<2 and PM<45°) and their performances are also not satisfactory. These controllers cannot withstand greater changes in the system. Other controllers are considered to be well tuned controllers because their GM and PM values fall in the suggested range.

**Model Uncertainties**

Model uncertainty is important because errors in the model parameters lead to poorer control performance and potentially instability in the response. In this case study, ±25% uncertainty in each nominal model parameter of the G_{P2} process was calculated.

Figures 6, 7 and 8 illustrate the closed loop responses for the G_{P2} process after mismatch in K_{p}, τ and θ, respectively. When -25% K_{p} and θ uncertainties were considered, all responses became slower and less oscillatory compared to when there is no mismatch in K_{p} and θ, respectively, which are plotted in Figures 6 and 8. Among these five λ guidelines, the proposed λ guideline and λ=θ exhibited critically damping and the nominal overshoot was reduced from 5.4%-5.8% overshoot to zero. In contrast, the nominal overshoots for the other three guidelines were largely reduced to about 11%-35% overshoot. With +25% changes in K_{p} and θ, a stability problem arises and the response of the system becomes oscillatory as expected (Saravanakumar and Wahidabanu, 2009; Tan *et a*l., 2009). In this case, the overshoot was increased to about 14%-20%. By comparison, the proposed λ guideline and λ=θ only increased to about 10-11% overshoot. When ±25% uncertainty in τ is considered (Figure 7), the closed loop responses of the DS tuned by λ=0.5τ, λ =2/3θ and λ =0.25θ were similar to the nominal response. In term of overshoot, the overshoot with ±25% τ was similar to the nominal overshoot. However, the overshoot for the proposed λ guideline and λ=θ settings was reduced to zero at -25% τ mismatch and increased to 10% overshoot at +25% τ mismatch.

The process model mismatch simulations showed that the DS tuned controllers with the proposed λ guideline and λ=θ gave better, oscillation-free responses. Besides, their overshoots were not too different from the nominal overshoot.

**CONCLUSIONS**

The direct synthesis method is a model-based tuning method for a feedback controller. An expression that relates lambda (λ) to overshoot of the process response (OS), and the ratio of time delay to time constant (R) was developed. The λ guideline is suggested to reduce excessive overshoot to 4%≤OS≤10%. The proposed guideline worked well over a wide range of R varying from 0.05 to 2, as proven in the case studies. Besides, the overshoot changed less with ±25% process model mismatch except for τ mismatch.

**ACKNOWLEDGEMENTS**

The authors gratefully acknowledge the Department of Process and Food Engineering, Faculty of Engineering, Universiti Putra Malaysia (UPM) and the Ministry of Higher Education for financial support under FRGS grant 5523719.

**NOMENCLATURE**

**REFERENCES**

Abbas, A., A new set of controller tuning relations. ISA Transaction,. 3, 183-187 (1997). [ Links ]

Abdul Majid, M., Janin, Z. and Mohd Nasib Taib, A. A. I., Temperature control tuning for overdamped process response. Paper presented at the 5th International Colloquium on Signal Processing and Its Application (CSPA) (2009). [ Links ]

Åström, K. J. and Hägglund, T., PID controllers: Theory, design and tuning (2 Ed.). Research Triangle Park, NC: Instrument Society of America (1995). [ Links ]

Basilio, J. C. and Matos, S. R., Design of PI and PID controllers with transient performance specification. IEEE Transactions on Education, 45, No. 4, 364-370 (2002). [ Links ]

Chua, B. L., Taip, F. S., Aziz, N. A. and Choong, T. S. Y., Design of PI controller with input constraint: Application on blending process. Journal of Food Process Engineering, 33, 284-297 (2009). [ Links ]

Coughanowr, D. R. and LeBlanc, S. E., Process System Analysis and Control (3rd Ed.), Singapore, McGraw-Hill (2009). [ Links ]

Dufour, P., Control Engineering in Drying Technology: Review and Trends. Drying Technology, 24, No. 7, 889-904 (2006). [ Links ]

Foley, M. W., Ramharck, N. R. and Copeland, B. R., Comparison of PI controller tuning methods. Industrial and Engineering Chemistry Research, 44, 6741-6750 (2005). [ Links ]

Krohling, R. A. and Rey, J. P., Design of optimal disturbance rejection PID controllers using genetic algorithms. IEEE Transactions on Evolutionary Computation, 5, (1), 78-82 (2001). [ Links ]

Haley, T. A. and Mulvaney, S. J., Advanced Process Control Techniques for the Food Industry. Trends in Food Science and Technology, 6, 103-110 (1995). [ Links ]

Madhuranthakam, C. R., Elkamel, A. and Budman, H., Optimal tuning of PID controllers for FOPTD and SOPTD with lead processes. Chemical Engineering and Processing, 47, 251-264 (2008). [ Links ]

Majhi, S., On-line PI control of stable processes. Journal of Process Control, 15, 859-868 (2005). [ Links ]

Martin, J. J., Corripio, A. B. and Smith, C. L., How to select control modes and tuning parameters from simple process models. ISA Transactions, 15, (4), 314-319 (1976). [ Links ]

Rodrigues, J. A. D. and Maciel Filho, R., Analysis of the predictive DMC controller performance applied to a feed-batch bioreactor. Braz. J. Chem. Eng.,14, (4), 353-358 (1997). [ Links ]

Saravanakumar, G. and Wahidabanu, R. S. D., Control of integrating process with dead time using auto-tuning approach. Braz. J. Chem. Eng., 26, (1), 89-98 (2009). [ Links ]

Shamsuzzoha, M. and Skogestad, S., The setpoint overshoot method: A simple and fast closed-loop approach for PID tuning. Journal of Process Control, 20, 1220-1234 (2010). [ Links ]

Skogestad, S., Simple analytic rules for model reduction and PID controller tuning. Journal of Process Control, 13, 291-309 (2003). [ Links ]

Skogestad, S., Tuning for smooth PID control with acceptable disturbance rejection. Industrial Engineering Chemistry Research, 45, 7817-7822 (2006). [ Links ]

Smith, C. A. and Corropio, A. B., Principle and Practice of Automatic Control (3rd Ed.). New York, John Wiley (2006). [ Links ]

Tan, L. W., Taip, F. S. and Abdul Aziz, N., Simulation and control of spray drying using nozzle atomizer spray dryer. International Journal of Engineering and Technology, 9, (10), 12-17 (2009). [ Links ]

Tan, W., Liu, J., Chen, T. and Marquez, H. J., Comparison of some well-known in PID tuning formulas. Computer and Chemical Engineering, 30,1416-1423 (2006). [ Links ]

Valarmathi, K., Devaraj, D. and Radhakrishnan, T. K., Intelligent techniques for system identification and controller tuning in pH process. Braz. J. Chem. Eng., 26, (1), 99-111 (2009). [ Links ]

Submitted: September 7, 2011

Revised: November 25, 2011

Accepted: December 26, 2011

* To whom correspondence should be addressed