Abstract: This article presents an optimal design of a two-degree-of-freedom (2-DoF) controller that will lead to zero asymptotic steady-state tracking error. The reference inputs are chosen from the set of steps, ramps, and other persistent signals used currently. The main idea is to transform the tracking 2-DoF problem into an equivalent state-space feedback-control synthesis one. Where, an internal model of the reference input is introduced. Then, through the linear quadratic regulator (LQR) technique, the desired performance objectives are addressed by minimizing a quadratic cost function. Finally, the computed state-feedback optimal gains are linked to the polynomials used within the 2-DoF formalism. The fundamental aspect of the design is that it only utilizes the measurable information of the plant provided by its inputs and outputs and takes advantage of efficient state-space numerical algorithms. The proposed method is applied to a coupled-tank system, the results achieved confirm the effectiveness of the approach.
Keywords: Tracking problem, reference following, two-degree-of-freedom controller, 2 DoF, LQR, coupled-tank system.
Articles
Optimal tracking in two-degree-of-freedom control systems: Coupled tank system
Received: 07 June 2022
Accepted: 26 January 2023
Published: 31 August 2023
Two fundamental problems arise in the design of control systems. Reference tracking and disturbance attenuation. It is widely known that both problems are produced by the corresponding closed-loop transfer functions (sensitivity and complementary sensitivity) (Safonov et al., 1981). While disturbance attenuation is exclusively a feedback problem, the tracking problem, which is associated with an open-loop property, can be solved by using a suitable precompensator. Therefore, the tracking problem is conveniently managed within the two-degree-of-freedom (2-DoF) control configuration. In a classical feedback control scheme, the control signal is obtained through the difference between the reference and the current output. Since there is only one input to the controller, this classical control structure is also called a one-degree-of-freedom (1-DoF) controller. Although 1-DoF controllers have many nice structural properties (Davison, 1976), a compromise must be reached to solve simultaneously the tracking and disturbance attenuation problems. On the other hand, a controller has 2-DoF, when the reference signal and the plant output can be processed independently to obtain the control signal. The advantages of using a 2-DoF control system are well known: the closed-loop properties can be configured independently of the reference tracking transfer function (Grimble, 1994). This possibility results from the separation between the response to the reference signal and the feedback transfer function.
Among the first contributions of the 2-DoF theory, it is worth mentioning (Horowitz, 1963; Vidyasagar, 1985). Since then, it can be found many published research results on the design of 2-DoF controllers. Hoyle et al. (1991) and Limebeer et al. (1993) developed a 2-DoF extension of the loop-shaping design method created by McFarlane and Glover (1992) to enhance the model-matching properties of the closed-loop. Shaked and De Souza (1995) worked in a game theory strategy to solve the tracking problem of a known in advance (non-causal) or measured online (causal) reference signal. Prempain and Bergeon (1998) utilized Youla parametrization and defined a design method consisting in two steps. In the first step of the procedure, a model-matching approach is used to set the desired nominal tracking objectives, while a μ-synthesis technique is implemented to achieve the robust performance objectives in the second step. Kim and Tsao (2002) address the tracking of near-periodic-time-varying signals to propose a unified method to design simultaneously previewed feedforward, feedback, and repetitive control. Liu et al. (2007) developed a 2-DoF control scheme for decoupling multiple-input-multiple-output processes in the presence of time delays. Hanif (2013) consider an active damping technique by introducing a 2-DoF PID control structure in grid connected photovoltaic systems. Mateo and Sugimoto (2015) formulated a method to tune a prefilter and the feedforward controller of the 2-DoF configuration. Vargas et al. (2016) present a practical design of longitudinal stability and control augmentation system (SCAS) using a 2-DoF control scheme. Zhang and Xia (2017) used a 2-DoF control approach for non-minimum phase systems with time delay. Ahmad (2018) achieves precise reference tracking performance from a piezoelectric positioning stage proposing a 2-DoF robust digital controller. Zaky et al. (2018) present a 2-DoF and variable structure control schemes for induction motor drives. Teppa-Garrán and Vásquez (2020) utilize a feedforward anticipation control of a desired reference signal whose temporal derivatives are known to conduct the control of a rotary flexible joint. Finally, Vavilala and Thirumavalavan (2021) consider the tuning of the 2-DoF FOIMC based on the Smith predictor.
The problem of optimization of the 2-DoF structure has not received wide attention. Nevertheless, some interesting works can be mentioned. The initial contributions of Limebeer et al. (1993) and Grimble (1994), where the problem is formulated into a general framework. The approach of Hoover et al. (2004) which propose a simple single-input-single-output 2-DoF pole-placement design method that provides -optimal tracking of a given reference signal and Vilanova (2008), where the problem of optimal design of the reference controller have been addressed by the optimization of a linear quadratic Gaussian type cost function. Always within the framework of 2-DoF formulation, some applications using advanced optimization algorithms have been treated, but in the context of PID controller synthesis (Kim, 2002; 2004; Sigiura, 1996; Zhan et al., 2002).
This paper deals with the problem of optimal design of a 2-DoF controller that will lead to zero asymptotic steady-state tracking error. The reference inputs can include steps, ramps, and other persistent signals used currently. The main idea is to translate the tracking 2-DoF problem into a state-space- feedback control synthesis one (Garcia, Tarbouriech & Turner, 2011). Where, an internal model of the reference input is introduced (Francis & Wonham, 1976). Then, through the LQR method the desired performance objectives are addressed by minimizing a quadratic cost function (Anderson & Moore, 2007; Lewis & Syrmos, 1995). Finally, the state-feedback optimal gains are linked to the polynomials used within the 2-DoF formalism. A fundamental aspect of the method is that it only utilizes the measurable information of the plant provided by its inputs and outputs.
The article is organized as follows. Section 2 considers the problem formulation. Section 3 provides the main result of the work, where it is stablished a connection between the 2-DoF system and the state-feedback control synthesis problem. Finally, Section 4 shows the effectiveness of the method by considering its application to a coupled-tank system.
Notation: Capital bold typeface letters denote matrices and small bold typeface letters denote vectors. , is the set of real numbers and .
Consider a plant described by
where is the plant output and the plant input. and are polynomials and is equal to the time differential operator or the Laplace complex variable . Polynomials and are defined by
with and for all and . The order of the system is defined as the degree of . We also suppose that the system is controllable. In this case, polynomials and , must be coprime (Antsaklis & Michel, 2006).
A general 2-DoF controller (Landeau & Gianluca, 2006) can be described by
where is the input reference and the polynomials and are written as
the controller can be thought as a combination of a feedback having the transfer function and a feedforward with transfer function .
A block diagram of the control system is shown in Fig. 1 and an implementation of the controller that highlights the polynomials in (4) is included in Fig. 2.


The general problem under study can be formulated as follows:
Problem 1: Given the plant (1), find polynomials and in (3) to compute the control input so that the controlled output tracks asymptotically a predefined reference input in the 2-DoF control system of Fig. 2.
In the next section, the preceding tracking problem will be solved within a state-space formulation using an optimal LQR approach.
In this section, we consider the problem of designing a 2-DoF controller that provides asymptotic tracking of a predefined reference input with zero steady-state error. The reference inputs include steps, ramps and other persistent signals currently used. The main idea is to translate the tracking 2-DoF problem into a state-space- feedback control synthesis one.
Using the input - output information of the plant, it is defined the state vector
Associated with system (1), we define the following state-space system model:
the partitioned matrices and are defined as
see the appendix for an example of the connection between Equations (1) and (5). The only condition on is . From a practical point of view, some care must be taken to obtain proper and then realizable compensators. One condition which ensures that proper compensator will be obtained is which corresponds to the minimal order observer in the case of a single output system (Antsaklis & Michel, 2006).
For this work, it is important to assure the controllability of the equivalent state-space model.
Theorem 1: If System (1) is controllable, then System (5) is controllable, if and only if all the roots of polynomial in (2) are different of zero.
Proof: A step-by-step procedure shows that the transfer function of System (5) gives If System (1) is controllable, polynomials and are coprime. Then, if all the roots of are different of zero, it follows that and are coprime implying the controllability of System (5) and completing the proof.
A fundamental result of the control theory is that zero-state tracking errors are achieved by considering in the control policy a suitable model of the dynamic structure of the reference signal (Francis & Wonham, 1976). Let the tracking error be equal to
taking the derivative of (6) and using the output equation of the state-space Model (5) yields
now, taking the derivative of the state Equation (5) gives
Equations (7) and (8) can be combined as
where the augmented state vector is and the input is taken as which results in the following matrices and
to have a LQR formulation of the tracking problem, the following quadratic cost is considered
where is a positive semi-definite matrix which has an impact on the closed-loop transient response and parameter can be used to tune the amplitude of the control signal. It is well known (Anderson & Moore, 2007; Lewis & Syrmos, 1995) that the state feedback control
minimizes (10) and stabilizes System (9) with the vector equal to
here is the symmetric positive definite solution of the continuous algebraic Riccati equation given by
since, it can be easily verified that the System (9) with matrices and from (5) is controllable. We can find constant and vector gain in (11) (here vector has been partitioned according to the dimensions of the components of vector ) such that the system (9) is stable, and the quadratic cost (10) is minimized. After performing time-integration in (11), the control signal in (5) yields
next, Equation (14) is developed to find the relation between the gains and with the polynomials and in (3). Using the state-vector from (5) gives
the vector gain is partitioned as
taking the Laplace transform of the above equation yields the 2-DoF controller defined in (3), where the polynomials and can be identified as
these results are summarized in the following theorem.
Theorem 2: Given the Plant (1), the control signal in (3) for the 2-DoF control system of Fig. 2 can be computed through the polynomials (15) to provide asymptotic tracking for any step reference input and minimization of the quadratic cost (10).
It is easy to show that for a ramp reference input the augmented state vector in (9) takes the form
and the control signal is . Resulting the matrices and
after taking the integration two times in the control signal yields
the gain vector is partitioned as to obtain
after applying the Laplace transform to the above equation, the polynomials and of the 2-DoF structure of Fig. 2 are identified as
the internal model principle is easily extended to other reference inputs by following the same general procedure outlined for the step and ramp inputs.
In this section, the proposed method is applied to a coupled-tank system.
The coupled tank system is given in Fig. 3. The setup experiment also includes a 1.3 MHz Intel Pentium 4 computer and interface to LabVIEW via the data acquisition card of national instrument DAQ-USB-6008. It consists of 8 inputs and 2 analog outputs and 12 digital input/output ports. The sampling period was set to a value of 50 ms. The apparatus is used in the control laboratory at the Simón Bolívar University in Venezuela. It comprises a single pump with two tanks. Each tank is instrumented with a pressure sensor to measure the water level. The pump drives the water from the bottom basin up to the top of the system. Depending on how the outflow valves are configured, the water then flows to the top tank, bottom tank, or both. One configuration is shown in Fig. 4, where the output of the pump is connected to the first tank. The nonlinear state space model (Apkarian, 2013; Grygiel, 2016) is given in (18), here the state vector is equal to the tank’s levels, the control signal corresponds to the input voltage applied to the pump and the output is selected as the second tank level.


With , and denote the cross-sectional area of the tanks 1 and 2, respectively. give the cross-sectional areas of the corresponding orifices, is the gravitational constant on Earth and is the pump flow constant. The nonlinear model is linearizing in the operating point resulting in the equations
the description and numerical values of the physical parameters for the tank system are given in Table 1.

By employing the numerical values from Table 1. It is possible to perform the following calculations
replacing the previous values in (19) gives the linear model differential equation of the coupled tank system as
Defining the state vector as in (5), the coupled tank system model (20) takes the form
here, we have and it is fixed For a step reference input, the augmented Model (9) has matrices
using and in the quadratic cost (10) produces the gain in (14) as
Remark 1: Gain has been computed using instruction of MATLAB.
From vector , it is possible to recovery the polynomials and for the 2-DoF control structure. This appears in Fig. 5 for the coupled tank system.

Figure 6 exhibits the tracking ability of the 2-DoF control system structure. Three step changes are considered, and the controller always reacts satisfactorily. Figure 7 shows the pump voltage control signal, which values are always within the voltage technological limits.


The disturbance attenuation of the design is now studied through the following experiment. The system starts in the standard configuration of Fig. 2, but at switches to that of Fig. 8, where the pump output feeds both Tank 1 and Tank 2. At it returns to the initial interconnection of Fig. 2. This experiment allows to model a trapezoidal perturbation that operates in the interval , causing a decrease in the inlet flow to Tank 1 and the appearance of a direct flow in Tank 2.

Figure 9 allows appreciating the adequate disturbance rejection achieved with the design method. At the instants of time, where the trapezoidal disturbance starts and ends, the 2-DoF controller reacts by returning the controlled output to the reference level. Figure 10 allows watching the control signal evolving within the limits of the tank pump.


For a ramp reference input, the augmented Model (9) has matrices
using and in the quadratic cost (10) produces the gain in (16) as
the polynomials and are identified as
The reference input applied to the coupled tank system is shown in Fig. 11, here a combination of ramps with different slopes and step changes are considering. The comparison between the reference input and the controlled output is displayed in Fig. 12, while the evolution of the control signal is found in Fig. 13.



In this work, it has been proposed a method to design an optimal 2-DoF control system that provides zero asymptotic steady-state tracking error to a predefined reference input. The reference inputs include steps, ramps, and other persistent signals used currently. The plant is described by an input-output model and then it is translated into an equivalent state-space model which state vector depends exclusively on the measurable information of the original system. It is established that the controllability of the state space model implies the controllability of the original system. This allows using the efficient machinery of state-feedback-controller-synthesis and then, connect the results of the state-space synthesis with the polynomials of the 2-DoF controller. The internal model principle is employed to augment the equivalent state-space model depending on the reference input considered.
It is developed as an example to show the connection between Equations (1) and (5). Let be a system described by Equation (1) as
choosing . The state vector in (5) is given by
therefore
taking the derivative of the above equations yields
which can be written in compact form as
where it is simple to identify the matrices and of Equation (5).
The authors are grateful for the support provided by the Research Program of the Metropolitan University in Caracas, Venezuela through project number PG-A-14-21-22.
* Corresponding author. E-mail address:pteppa@unimet.edu.ve (P. Teppa-Garran).













