Measurable Disturbances Compensation: Analysis and Tuning of Feedforward Techniques for Dead-time Processes

In this paper, measurable disturbance compensation techniques are analyzed, focusing the problem on the input-output and disturbance-output time delays. The feedforward compensation method is evaluated for the common structures that appear between the disturbance and process dynamics. Due to the presence of time delays, the study includes causality and instability phenomena that can arise when a classical approach for disturbance compensation is used. Different feedforward configurations are analyzed for two feedback control techniques, PID (Proportional-Integral-Derivative) and MPC (Model Predictive Control) that are widely used for industrial process-control applications. The specific tuning methodology for the analyzed process structure is used to obtain improved disturbance rejection performance regarding classical approaches. The evaluation of the introduced disturbance rejection schemes is performed through simulation, considering process constraints in order to highlight the advantages and drawbacks in common scenarios. The performance of the analyzed structure is expressed with different indexes that allow us direct comparisons. The obtained results show that the proper design and tuning of the feedforward action helps to significantly improve the overall control performance in process control tasks.


Introduction
The vast majority of industrial processes require a tailored control architecture to fulfill the system requirements.In such a scheme, the control system should keep the controlled variable as close as possible to its desired value acting against external phenomena (disturbances) that affect process variables.Therefore, disturbances should be considered in the control problem design [1].Due to their origin, disturbances can be classified as measurable and unmeasurable.The measurable disturbances are an important issue that must be considered in control schemes, especially for process control [2].A typical industrial process is formed by several subsystems that interact with each other and influence the control loops.Moreover, there are many systems, especially bioprocesses, where the control system has to compensate for the external disturbances [3,4].In industrial processes, the basic control structure consists of a feedback controller, since it is capable of providing reference tracking, while reducing the influence of plant-model mismatch and compensating for process disturbances [1,5].It is usual that the control system only focuses on one of the listed problems, providing weak performance for the other issues [6].The feedback controller can be implemented using numerous techniques and approaches; however, to improve the rejection of measurable disturbances, a feedforward scheme is usually introduced.
Feedforward from measurable disturbances was first used for drum-level control of tanks connected in series in 1925 [7].Many of the other early applications were related to distillation columns' control [8,9].Nowadays, feedforward control is widely used as a complement to feedback to improve measurable disturbance compensation.In fact, this mechanism is implemented in most distributed control systems [1].
The ideal feedforward controller is computed as the quotient between the disturbance and the plant dynamics.However, this compensation is seldom realizable, e.g., a dead time may not be inverted.This drawback moved some authors to develop more sophisticated tuning rules during the past few decades.In [8], an open-loop design procedure for lead-lag feedforward filters was proposed.First, the static gain of the filter is obtained from pure static models.After that, the time constants are computed to reduce the integral error of the open-loop response without taking into account the effect of the feedback controller.Similar open-loop design strategies were also proposed by [7,10].
Successive works dealt with the drawback of not taking into account the feedback controller at the design stage.In [11], an additional feedforward control signal is also added to the feedback control error for decoupling purposes.In contrast, a least-squares procedure was introduced in [12] to obtain the parameters of the feedforward controller that minimize the norm of the disturbance residual output for a given feedback controller.Recently, robust feedforward control was also introduced.The interested reader is referred to [13,14] and [15,16] for the standard and internal model control approach, respectively, and to [17] for a quantitative feedback theory approach.
The so far commented design strategies rely on an optimization procedure to obtain the feedforward controller parameters.Nevertheless, as occurs with PID (Proportional-Integral-Derivative) control, most industrial controllers are implemented within a fixed structure [1], thus leading to a need for analytical tuning rules to deal with typically low-order processes.Portable simple tuning rules for lead-lag feedforward filters were introduced in [2,6,18] assuming that the plant dynamics are modeled with first-order plus dead time systems and considering step-like disturbances.
In industrial practice, PID controllers are widely used.This is due to their efficacy, relatively low complexity and numerous tuning methods [1].In such a scheme, the feedback control loop is extended with classical feedforward to provide an anticipated action to provide the measurable disturbance compensation.This classical scheme can provide significant improvements in the overall control performance.However, this is possible only in very limited situations, since the feedforward compensator must result in an implementable structure.When a feedforward compensator results in a non-realizable structure, a special tuning procedure is required to take full advantage of this technique.This is especially visible in processes that are characterized by input-output and disturbance-output time delays.As previously mentioned, the feedforward tuning methodology attracts the attention of many researches, since important advantages can be obtained when the proper set up of feedforward action is used.In this work, the tuning guidelines provided in [14,18,19] are used, since they introduce a methodology that significantly improves the feedforward control performance.
On the other hand, the MPC (Model Predictive Control) approach is frequently used in process control, since it provides a unified solution for feedback and feedforward control, where most of the problems discussed above are solved intrinsically thanks to the form of the control approach.Moreover, the MPC techniques can consider many process constraints in an intrinsic way, since the control signal is computed through an optimization procedure.All of these features and possibilities to deal with multivariable systems makes MPC a powerful tool in industrial applications.From the disturbance compensation point of view, the most important advantages of MPC controllers are related to the incorporation of future disturbance information [20,21].The MPC feedback and feedforward co-design procedure results in a tradeoff, where the controller tuning procedure is carried out taking into account the most important aspects.There exist several MPC formulations that can be used for disturbance compensation analysis providing the specific methodology in accordance with the analyzed features [17,22,23].In [3,22,24], it was shown that the optimal MPC controller setup for disturbance attenuation results in high bandwidths in the feedback loop, and it is necessary to compensate this issue.Considering the aforementioned feature of the MPC feedforward compensator, in this work, we use the modified GPC (Generalized Predictive Control) scheme and tuning provided in [3].Such a configuration provides a two-degree-of-freedom control scheme within the Filtered Smith Predictor (FSP)-based GPC [25], that improves the robustness capabilities of the resulting controller.
Taking into account the importance of the disturbance compensation problem and previous aspects, in this work, we focus on the processes, the dynamics of which involves the time delays.The analyzed configurations are focused on control problems related to process input-output and disturbance-output time delays.It is well known that time delays are a natural part of numerous processes.From the classical feedforward approach point of view, the presence of time delays may lead to a sluggish response, non-implementable structures and even result in unstable control.The typical solution for such systems is able to compensate the disturbance in an ineffective way (usually, only the invertible part is implemented).Despite this, the feedforward control schemes for dead time processes have not attracted much attention [26].For this reason, in this work, the feedforward control problem for those processes is analyzed, and as a result, the control problem is reduced to a few configurations that can arise for such systems.Once the possible configurations are isolated, the feedforward compensators are evaluated for control schemes where PID and MPC approaches are used as feedback controllers.To this end, improved tuning methods are used for each approach.Several simulations are provided to highlight the main features, and a comparison using some performance indexes is performed [27].
The paper is organized as follows.The feedforward control problem is presented in Section 2, where a traditional feedback plus feedforward control loop and implicit disturbance compensation mechanisms of GPC are shown.Section 3 is devoted to explain the tuning rules for each approach considering different process configurations.Simulation examples to illustrate the responses of PID plus feedforward and the implicit GPC compensator are shown in Section 4. Additionally, several control performance indexes are computed for different process configurations and compared in this section.Finally, the paper ends with some conclusions on the analyzed structures [23].

Problem Statement
As mentioned previously, the feedforward compensation technique is not a new approach and is widely used in industrial applications (the feedforward completion technique is summarized in Appendix A).In this work, the the analysis of process disturbance is focused on the systems where the involved dynamics contains time delays, which make the classical feedforward approach less effective.For this reason, the two process transfer functions are modeled as first-order systems with time delay (see Appendix A for more details), i.e., There are, of course, processes that are not well described by these simple transfer functions; but, for process control applications, this structure is mostly good enough, and it has become the standard model in process control applications.
From the feedforward control structure point of view, the previous assumption leads to three cases that can be formed considering the difference between input-output and disturbance-output time delays ρ = L u − L v : ρ < 0, ρ = 0, ρ > 0, These cases determine the basic configurations of the feedforward compensator that should be considered in the design method.For the first two cases, ρ < 0 and ρ = 0, feedforward compensators are implementable.The last case, ρ > 0, represents the situation where the classical feedforward compensator is not realizable.Therefore, detailed analysis of the aforementioned configurations is presented, considering feedback controllers.First, the feedforward plus PID feedback controller is analyzed, highlighting the most important features.Next, the GPC approach is deeply analyzed and contrasted with classical compensators.

Feedback Plus Feedforward Controllers
First, low-order feedback and feedforward controllers are used.We consider that the feedback controller is a PI or PID controller, such that: where K is the proportional gain, T i is the integral time and T d is the derivative time (T d = 0 in the case of a PI controller).Note that this is a basic structure used for analysis and design.In the real implementation, features like filters, anti-windup and limitations must be added.Moreover, we also assume that the feedforward compensator is a lead-lag filter with a dead time (note that more complex structures are seldom used [28]), such that: being K f f the static gain, −1/B f f the zero, −1/T f f the pole and L f f the dead time.Note that perfect disturbance compensation is achieved for However, since a negative dead time may appear, further analysis is required.Hereafter, it is assumed that the feedback controller Equation ( 2) is designed to fulfill some closed-loop specifications, being the feedforward controller Equation (3) the sole tunable component for the measurable disturbance compensation problem.

Extended GPC with Implicit Feedforward Compensator
In this section, the extended GPC with the implicit feedforward compensator is shown, since this approach is used for the analyzed processes with time delays.The classic GPC with the feedforward compensator is summarized in Appendix B. The analysis provided below is a straightforward continuation of this from Appendix B.
Notice that matrix H depends on the relative difference between the input-output time delay and disturbance-output time delay, ρ d = d − d v .This leads to three different structures for matrix H based on the sign of ρ d : where h i are the coefficients of the H matrix obtained from the delay free disturbance response shifted in accordance to ρ d .The previous prediction equation can be expressed as: G p , H p and S are matrices of polynomials that are used to calculate the contribution to future process outputs of the past and present values of the process output, disturbance and control signal values (see [29] for more details).Then, Equation (4) becomes: where u p = ∆u(t − 1), v p = ∆v(t) and y p = y(t) for simplicity.Hence, the solution of the GPC controller is obtained minimizing J with respect to u, which leads to: where Finally, according to the receding horizon strategy, only the first value of u is computed, ∆u(t).Hence, if k is the first row of matrix K −1 , ∆u(t) is given by: which is the well-known unconstrained control law for the GPC algorithm, including future knowledge of references and measurable disturbances.Remember that when constraints are taken into account, there is no explicit solution, and an optimization problem must be solved using a quadratic cost function with linear inequality and equality constraints [29].
The resulting unconstrained control law described by Equation ( 7) can be used to analyze the GPC algorithm from a block diagram point of view.Notice that the different terms in Equation ( 7) can be expressed as a set of different polynomials in the operator z that multiply the signals w(t), y(t), ∆u and ∆v(t), respectively.Thus, Equation ( 7) can be expressed as: with: Moreover, α p and α f are, respectively, polynomials, including the coefficients of the past (−kG H p ) and future (−kG H) values of the disturbance, which are calculated in different ways depending on the relation between the process input-output dead time, d, and the disturbance-output dead time, d v .As a consequence, the α p, f polynomials have the following forms: In the previous equations, na, nb and nd are the degrees of the polynomials A, B and D in Equation (A3), respectively.Notice that α p and α f polynomials can be grouped into α = α p + α f , considering past and future values of the measurable disturbance.Thus, considering the previous polynomial representation, the GPC control law can be interpreted by the block diagram scheme presented in Figure 1.Then, from this figure, it can be observed that the resulting scheme has a typical feedback plus feedforward control, as shown in Figure A1.Hence, this interpretation allows one to clearly observe the internal feedforward structure of the GPC control algorithm and how the disturbance effect is managed in a similar way as a classical feedforward compensator.Furthermore, unlike a classical feedforward compensator, the prediction capabilities of the internal feedforward action can be also noticed through the use of future disturbance estimations, v, by means of the polynomial α f .

) (t y
Generalized Predictive Control (GPC) resulting scheme for feedback and feedforward controllers.

Advanced PID Plus Feedforward Tuning Rules
In this section, simple tuning rules for lead-lag feedforward compensators that interact with PI or PID feedback controllers are described.For this purpose, a two-step design methodology is followed.First, the disturbance compensation speed is accelerated using the pole of the filter.Then, the gain of the feedforward compensator is adapted to reduce the interaction with the PI or PID controller.

Open-Loop Design
Let us consider that the dead time of the feedforward filter is set to obtain the fastest as possible disturbance compensation, i.e., L f f = max(−ρ, 0), (9) and that the zero of the feedforward compensator is used to cancel the pole of P u (s), i.e., Then, the open-loop disturbance compensation is analyzed to tune the pole of the feedforward controller.As an initial assumption, let us consider that the feedforward static gain is defined as K f f = K v /K u and that the feedback controller is disconnected.Within this scenario, the open-loop transfer function for the disturbance compensation is given by: To clarify the effect of the pole of the compensator, some simulations are performed.Figure 2 shows the time-domain response of Equation ( 11) against a step change in v for different values of It can be seen that for smaller values of T f f that a faster disturbance compensation is obtained.However, if this parameter is chosen arbitrarily small, large overshoot error may appear in the final response [2,18].Based on the time-domain response of Equation ( 11) against steps, analytical tuning rules are derived to design the pole of the compensator to meet one of the following requirements [2,18]: the removal of the overshoot; the minimization of the integral absolute error; and the minimization of the integral squared error.These rules were considered in the development of a more general tuning rule [18]: being α > (ρ + L f f )/T v a free design parameter that determines the speed of the compensation.Furthermore, three proposals are given to choose this parameter as follows (see [18] for the derivation of the rules): Note that in case that perfect compensation is realizable, i.e., L u ≤ L v , the pole of C f f (s) is the same as the pole of P v (s), since ρ + L f f = 0.In what follows, the assumption that the feedforward gain is designed as the inverted quotient (K f f = K v /K u ) is relaxed to improve the final disturbance compensation response.

Closed-Loop Adaption
After accelerating the disturbance compensation by adjusting the feedforward compensator pole, a modification of the feedforward static gain is proposed to improve the interaction between both controllers (feedback and feedforward).Note that, since both controllers try to attenuate the disturbance, usually larger overshoots than in the open-loop compensation may appear in the final response.To overcome this drawback, the static gain of the feedforward controller is reduced to take the control signal to the correct stationary level [2]: being IE an estimation of the integral error given by: Finally, by introducing the proposed values for L f f , B f f and T f f into Equation ( 14), it is obtained that: The interested reader is referred to [2] for a completely detailed analysis.

Tuning Guideline
The steps to tune the feedforward compensator are summarized next: 1. Obtain the first-order plus dead-time transfer functions of the process P u (s) and P v (s) (see Equation ( 1)) following any of the well-known identifications, e.g., [1,30].Note that previous references also provide simplification rules for higher order dynamics.2. Tune the PI or PID feedback controller Equation (2) at will to fulfill the given closed-loop specifications.3. Set ρ = L u − L v , and design α > (ρ + L f f )/T v accordingly: 5. If the control signal peak is not acceptable, increase T f f as needed.6. End of design.

Extended Design for GPC Implicit Feedforward Compensator
From Section 2.2, it was concluded that the GPC allows one to include implicit feedforward action in the predictive control law, but the disturbance effect cannot be perfectly canceled.The reason for this result can be understood analyzing the internal structure of the GPC and considering the influence of the λ parameter.The problem is that for values of λ > 0, the internal feedforward action will never behave as a classical feedforward compensator, that is dividing the disturbance dynamics by the process one.This behavior can be only obtained with λ = 0, as pointed out in [3].This assertion can be corroborated by analyzing the GPC control law described by Equation (6).Consider that the system is in steady state and that the reference is set to zero (w(j) = 0, for j = t + d + 1, . . ., t + d + N, y p = y(t) = 0 and u p = ∆u(t − 1) = 0).Thus, Equation (6) becomes: From this equation, it is possible to observe that the only way to obtain a typical feedforward compensator structure is by setting λ = 0, and thus, Q λ = 0.When this setting is used, it results: where now the typical feedforward structure can be observed dividing the disturbance dynamics, H and H p for future and past disturbance values, respectively, by the process dynamics, G, with the reverse sign.
Notice also that, when future disturbance values are not available, only the second term in Equation ( 18) is considered, and in this case, the GPC feedforward action is identical to that of a classical feedforward compensator, since only the actual value of the measurable disturbance is being considered, v p = ∆v(t).
Thus, the proposed GPC with λ = 0, which is focused on improving the disturbance rejection responses, is combined with a typical two-degree-of-freedom scheme, where a reference filter is included to achieve the desired set point tracking performance (and in some sense, to limit the control effort).Furthermore, the proposed control algorithm is implemented within the FSP-GPC framework to improve the robustness capabilities of the control system.These two ideas are briefly described in the following sections.

Reference Filter
The design of the reference filter has been performed in a classical way, that is by inverting the closed-loop dynamics of the feedback control loop and adding the desired dynamics for the set point tracking response.The closed-loop system dynamics can be obtained in the following way: where . Thus, the reference filter, F(z), can be designed in the following way: where n ≥ degree(num cl (z)) − degree(den cl (z)), a f is a filter tuning parameter and f f 0 is a coefficient to obtain a filter unitary gain [3,31].

FSP-GPC Approach
The FSP-GPC framework is a well-known control scheme, which helps to improve the GPC capabilities to deal with dead time processes and to face process uncertainties [25].This scheme is a linear dead time compensator equivalent to the FSP, where the primary controller is tuned using an optimization procedure.This control scheme includes a new degree of freedom, the robustness filter, F r (z), which must be properly tuned for robustness purposes [25].In the unconstrained case, the following two-step procedure can be used for tuning the controller, based on the ideas of dead time compensation control [25]: • Compute the horizons and weighting factors in order to obtain the desired set point tracking performance for the nominal plant, such as described in the previous sections.• Estimate the uncertainties of the plant, and tune the filter F r (z) in order to obtain robust stability and the highest bandwidth for the disturbance rejection performance.
To understand the effect of F r (z) on the closed-loop system, let us consider the relationship between the disturbance and the output: and the following robustness condition: where δP(z) is the multiplicative modeling error, P n (z) is the nominal model without delay and C f sp (z) is the equivalent primary controller of the FSP-GPC [25].
From these equations, it is clear that if F r (z) is a low pass filter, the robustness can be improved.The condition for the steady-state step disturbance rejection of the system is that the same factor has a zero at z = 1 (notice that for the nominal case and with λ = 0, the measurable disturbances are completely removed by the implicit feedforward compensator of the GPC).This implies the following conditions: Therefore, as shown in previous conditions, the disturbance rejection properties of the closed-loop system only depend on F r (z) and d.Further information regarding the robustness filter can be found in [25].

Results and Discussion
This section presents the simulation results of the analyzed feedforward strategies for both approaches that consider PID and GPC algorithms.Firstly, the process configuration with the realizable feedforward compensator is introduced.This example is used to show the classical approach and to highlight the limitations of the GPC implicit feedforward action based on the classic scheme.Secondly, the non-realizable feedforward compensator is studied to analyze the advantages and drawbacks for the feedforward compensator design in PID and GPC approaches.Additionally, a third example is considered to test the studied techniques against process constraints.In this case, the process is set to result in a non-realizable compensator, and the control system is limited by the control signal saturation.Finally, several control system performance indexes are computed to show the individual properties of each configuration.
In all of the presented simulations, the PID and GPC controllers keep the same parameters, and only those released to the disturbance compensation are modified to obtain the desired performance.As previously mentioned, the analyzed process is represented by the first-order systems (see Equation ( 27)), which are used to setup the feedback controller.Consider that the PID feedback controller is designed according to the SIMCtuning rule [30], such that K = 0.5 and T i = 1.Moreover, the GPC controller with implicit feedforward action was implemented with the following parameters: prediction and control horizons were set to N = 15, N u = 5 and δ = 1, respectively.The reference filter value has been set to zero, since it has no influence over the analyzed implicit disturbance compensation mechanism.The GPC control scheme has been implemented with a sampling time T s = 0.1 seconds to obtain the discrete time polynomials A(z −1 ), B(z −1 ) and D(z −1 ) from the transfer functions P u (s) and P v (s).
To determine the control performance for each analyzed configuration, the following indexes have been considered: where I AE represents the Integrated Absolute Error between reference and controlled variable, the I AC refers to the Integrated Absolute Control signal and CSE stands for the Control System Effort (computed as the normalized value of the discrete/discretized controls' signal increments ∆u(t)).
For the first example, the process transfer functions have been set up as follows: In such a case, the resulting dead time difference ρ < 0, and as a consequence, a classical feedforward compensator is realizable by dividing P u (s) and P v (s) with the reverse sign [2].Moreover, the GPC simulations for this example have been performed using two different values for λ, λ = 10 and λ = 0, respectively.The obtained results are shown in Figure 3, where it can be observed that when a classical feedforward compensator is used (PID + CFF), a perfect cancellation is obtained.The situation changes for the next analyzed configuration, the GPC with implicit feedforward and control weighing factor λ = 10 (GPC + IFF(λ)).For this case, the implicit feedforward GPC controller starts to react in advance with respect to the classical feedforward controller thanks to the prediction capabilities of the GPC algorithm.However, the most important issue is that the GPC algorithm is not able to eliminate the disturbance effect.This result shows that the prediction capabilities of the GPC algorithm are not effective, and the GPC parameters must be properly tuned to reach a perfect disturbance effect cancellation (as was shown in Section 2.2).Furthermore, this study allows one to observe the influence of the λ design parameter in the disturbance rejection responses.However, this problem can be overcome by applying the previously introduced extended design for GPCs' feedforward action and setting λ = 0.It can be observed that GPC + IFF (λ = 0) obtains perfect compensation, since the unweighted control signal is used.Based on this feature, significant improvements can be obtained also for non-realizable configurations, which are analyzed below.
The performance for the analyzed process configurations are summarized in Table 1.In accordance with the previously described results, the PID + CFF and GPC + IFF (λ = 0) obtain perfect compensation (I AE = 0).In the GPC case, more control effort is required to achieve disturbance attenuation (I AC values).However, the PID + CFF scheme produces more aggressive changes in the control signal (CSE = 0.12).To prove the effectiveness of the proposed design strategies, let us consider that the process is given by the transfer functions: such that ρ = 0.5.Thus, the ideal feedforward compensator cannot be formed due to a non-realizable delay inversion.Hereafter, PID plus feedforward and GPC with implicit feedforward controllers are designed according to the previously defined tuning rules.First, following the tuning guideline of Section 3.1.3,PID plus feedforward controllers are explored, and the following lead-lag feedforward filters are obtained: In the GPC approach, the implicit feedforward compensator has been implemented following the scheme shown in Section 3.2.Furthermore, β = 0.65 for the robustness filter F r (z) was selected for all configurations.Additionally, two simulations have been performed to analyze the GPC compensator.
The first one includes only past measured disturbances in control signal computations, and the second one considers additionally the future disturbance value in the prediction mechanism.Figure 4 shows the control results for PID with invertible part (PID + CFF), aggressive tuning (PID + R1FF), moderate tuning (PID + R2FF) and conservative tuning (PID + R3FF).Moreover, two GPC configurations, GPC + IFF (λ = 10) and including future disturbance information, GPC + IFF(λ = 0) + F, are shown.In such an example, all of the analyzed configurations are tested against a step change in v of a magnitude of two at t = 1.Notice that for this example, the control system set point was set to one in t = 0.1.It can bee seen that all provided configurations reach the reference, and the desired performance can be obtained by proper tuning of the feedback controller.
For this case, the resulting dynamics have a non-causal form, which means that future information is required in the resulting feedforward compensator structure.In the classic feedforward design (PID + CFF), only the causal part is implemented, and the non-causal part is omitted.This leads to obtaining a poor disturbance rejection response, as shown in Figure 4.The same problem appears for the GPC with implicit disturbance compensator and without future information GPC + IFF (λ = 10), where the disturbance model is included within the predictive control structure, but only the past disturbance measures are used.In this case, the disturbance effect compensates much faster than in PID + CFF.This improvement is obtained at the expense of the aggressive change in the control signal (bottom plot in Figure 4).This issue can be partially overcome using different tuning rules for the PID + feedforward scheme that improves the classical approach in compensation performance and simultaneously preserves the control resources.This behavior can be observed for the (PID + R1FF), (PID + R2FF), (PID + R2FF)configurations, where the compromise between compensation performance and control effort can be achieved.This property can be very useful in industrial practice where aggressive changes in control signal should be avoided.Nevertheless, none of the previous cases completely eliminate the effect of the measurable disturbance, since the future information is not considered for the non-causal part.Complete disturbance compensation can be obtained when the future information is considered in the GPC + IFF (λ = 0) + F control scheme.It becomes possible to remove the influence of the disturbance thanks to the predictive capabilities of the control algorithm, as observed in Figure 4.However, in contrast to the previous configurations, future disturbance information is required, not always being available.In this configuration, the control signal is less aggressive, but also, the velocity of the disturbance response can be managed by means of the robust filter design, F r (z), and the β tuning parameter [3,25].
The corresponding performance indexes are summarized in Table 2. Notice that for this particular example, the indexes were computed between t = 9 and t = 20; this is due to the different transient response of feedback controllers originated from the setpoint change.It can be observed that GPC + IFF (λ = 0) + F obtains I AE = 0, providing perfect disturbance attenuation.Moreover, the I AC index shows that the required control effort can be adjusted in PID + FF schemes.From the CSE values, it can be observed that GPC-based compensators require more aggressive changes in the control signal, but also provide better disturbance attenuation.Furthermore, a last simulation is performed to demonstrate that the proposed tuning rules are also valid under the presence of input saturation.The tested configurations are the same as in the previous example and are evaluated against periodic squared disturbance.In the PID approaches, the process constraints are considered outside the controller structure; in the GPC-based schemes, the control signal limitations are taken into account using a constraint handling mechanism.The only difference is that now the robust filter is included in the control scheme, where β = 0.8 has been selected.Figure 5 shows the simulation results for several consecutive steps in v assuming that u(t) ∈ [−0.5, 0.5].
In the first part of the simulation, the squared disturbance with an amplitude of 0.5 is considered, and the disturbance effect is the same as in the previous example, since the required change in the control signal is possible.During this example, the GPC + IFF (λ = 10) configuration obtains the worst compensation performance.This is mainly due to the effect of control signal weighting factor λ.This configuration has been selected consciously to show that a badly-tuned implicit GPC compensator could produce weak disturbance compensation.In the second part of the simulation, the amplitude of the disturbance signal is increased to one at the time instant t = 60.Now, the control signals exceed the saturation limits, and differences are observed among the selected feedforward control configurations.The PID plus feedforward configurations keep all of the properties from the previous example and are able to reduce the disturbance effect taking into account the control effort.This can be observed in (PID + R1FF), (PID + R2FF) and (PID + R3FF), where the first one is more aggressive, and the last one requires a lower control effort.Notice how the GPC + IFF (λ = 0) + F manages much better the process input constraints, reducing the disturbance effect and only having steady-state error when the system is saturated (in nonlinear mode).The reason is because the feedforward compensator is implicit in the GPC algorithm, and thus, the combined control signal from the feedback plus feedforward actions is considered in the optimization problem.Additionally, it can be observed that this configuration starts to compensate even before the disturbance effect appears on the process output.Due to this feature, significant improvements are obtained, and the controlled variable stays closer to the control system reference.Table 3 summarizes the obtained values for all analyzed approaches.Analyzing the I AE index, it can be observed that all new tuning rules (PID + R1FF, PID + R2FF, PID + R2FF) improve in performance the classical feedforward compensator that is formed only by the part of the dynamics that can be inverted.However, the GPC + IFF (λ = 0) + F configuration achieves the smallest I AE value, improving the best PID + FF configuration at about 20%.On the other hand, the GPC + IFF (λ = 10) scheme obtains a worse performance due to the tuning issues previously mentioned.With the I AC, it can observed that almost all structures need similar control effort; this is mainly due to process constraints, since all tested configurations saturate the system.Only the GPC + IFF (λ = 0) + F produces less variation in the control signal, reducing the average value around 7%.This is because of the future disturbance information that is considered in the prediction mechanism.Furthermore, due to the used FSP-GPC approach, the required control effort is also affected by the robustness filter setup, since there is an error between the nominal model and the process output due to saturation limits.The situation changes when the CSE index is evaluated, since it takes into account the control effort in terms of changes in control signal increments.For this particular measure, a higher value represents that the feedforward controller produced a control signal with more aggressive changes.According to this index, both GPC-based approaches are more aggressive in comparison to the PID + FF configurations.Particularly, the CSE index for the PID + R3FF scheme is about 40% lower when compared to the GPC + IFF(λ = 0) + F configuration.This outcome clearly indicates that the PID + R3FF compensator is more adequate for processes where abrupt changes in the control signal should be avoided.However, this measure is relative, and the overall balance of the benefits and drawbacks for each approach should be always considered for each particular process.

Conclusions
In this paper, we summarized some design rules for PID plus feedforward and GPC plus feedforward controllers to improve disturbance rejection capabilities when the ideal feedforward compensator cannot be formed due to a non-realizable delay inversion.In the first part, the classical compensator design is analyzed, pointing out the drawbacks that can appear in both control approaches.Next, a brief summary of the advanced tuning method is provided.
To highlight the possible advantages for those schemes, several simulations have been performed considering different feedforward configurations.Through those examples, it was shown that significant improvements can be obtained in control performance depending on the selected approach.For instance, the PID plus feedforward approach with advanced tuning allows one to establish a tradeoff between control effort and control performance compared to the classical design.On the other hand, the GPC approach with extended implicit feedforward design obtains the best performance in disturbance compensation.However, this is achieved at the expense of a more aggressive control signal.Additionally, the GPC scheme can incorporate future disturbance information that allows one to completely attenuate the disturbance effect on the controlled variable.
Taking into account the obtained results, it is difficult to indicate the optimal configuration or tuning rule, since this highly depends on the individual process properties and control system goals.However, the results provided in this work should facilitate the selection of the appropriate configuration.and disturbance estimation, N and future control action, N u , respectively [29].Then, the following equation is obtained: where g 0 . . .g N−1 are the step response coefficients of the system, H is a matrix, including the coefficients of the system step response to the disturbance, and f 1 . . .f N the free response values of the system.In some cases, when disturbances are related to the process load, future values are known.In other cases, they can be predicted using trends or other means.If this is the case, the term corresponding to future deterministic disturbance can be computed.If the future load disturbances are supposed to be constant and equal to the last measured value (i.e., v(t + j) = v(t)), then ∆v(t + j) = 0, and the second term of this equation vanishes.

Figure 2 .
Figure 2. Time-domain response of the open-loop disturbance compensation for a step change in v at t = 1 and the following process: P u (s) = 1 1+s e −s , P v (s) = 0.5 1+0.8s e −0.5s .

4 .
Tune the lead-lag feedforward controller Equation (3) using the proposed rules:

Figure 3 .
Figure 3.Comparison of compensation performance for the PID (Proportional -Integral -Derivative) and GPC (Generalized Predictive Control) approaches for realizable feedforward dynamics.

Figure 4 .
Figure 4. Comparison of compensation performance for PID (Proportional -Integral -Derivative) and GPC (Generalized Predictive Control) approaches for non-realizable feedforward dynamics.

Figure 5 .
Figure 5.Control results for non-realizable feedforward compensator with constraints on the control signal.

Table 1 .
Performance indexes for different configurations of PID (Proportional -Integral -Derivative) and GPC (Generalized Predictive Control) feedforward control schemes.I AE, Integrated Absolute Error; I AC, Integrated Absolute Control; CSE, Control System Effort.

Table 2 .
Performance indexes for different configurations of PID and GPC feedforward control schemes.

Table 3 .
Performance indexes for different configurations of PID and GPC feedforward control schemes.