Abstract

Nonlinear systems are modeled as piecewise linear systems at multiple operating points, where the operating points are modeled as switches between constituent linearized systems. In this paper, adaptive piecewise linear switch controller is proposed for improving the response time and tracking performance of the hydraulic actuator control system, which is essentially piecewise linear. The controller composed of PID and Model Reference Adaptive Control (MRAC) adaptively chooses the proportion of these two components and makes the designed system have faster response time at the transient phase and better tracking performance, simultaneously. Then, their stability and tracking performance are analyzed and evaluated by the hydraulic actuator control system, the hydraulic actuator is controlled by the electrohydraulic system, and its model is built, which has piecewise linear characteristic. Then the controller results are compared between PID and MRAC and the switch controller designed in this paper is applied to the hydraulic actuator; it is obvious that adaptive switch controller has better effects both on response time and on tracking performance.

1. Introduction

Fast response time and tracking performance are the two primary conditions in oil and gas production control system. Improving the efficiency of hydraulic actuator system is the most important part during the oil and gas production. As the control type of production, electrohydraulic system has been studied and many achievements have been investigated by researchers [13].

As Figure 1 shows, multiphase flow and hydrate in the pipeline distributed unevenly during the oil and gas production, which produces different resistance characteristics and makes the hydraulic actuator exhibit nonlinear behaviors in the opening/closing process.

In order to deal with the control problem of this kind of nonlinear system, many techniques have been used. For example, in [4], the authors study fuzzy control of nonlinear systems with unmodeled dynamics and input saturation using small-gain approach. And adaptive control for stochastic switched nonlinear triangular system is investigated in [5], different from the approaches investigated in [4, 5]. The approach is to linearize the system by using standard linear estimation techniques at some operating points [6, 7], within a neighborhood which can accurately describe the nonlinear system behavior, and a wealth of linearization-based design techniques can be applied to achieve the control objective [7]. So the nonlinear system consists of a set of linear time-invariant subsystems [8, 9].

In practical systems, the piecewise linear system is an efficient method to approximate nonlinear system. For example, the control for the linear parameter-varying systems with piecewise constant parameters, the signal transmission system, and the fluid power electrohydraulic actuator system have been extensively investigated; see examples including [1013].

Some efforts have been done toward developing control strategies for such systems [1424]. There are mainly two control strategies: PID control and Model Reference Adaptive Control (MRAC).

Some researches have been studied for the piecewise linear system by using PID control strategy [1416]. A new algorithm of PID controller online tuning has been presented in [14], which uses a model of the controlled process in the shape of piecewise linear that is linearized continuously and resulting in linearized model. Dolezel et al. proposed algorithm for PID controller tuning using pole assignment technique and piecewise linear network [15]; the tuning technique generally provides stable control response, and its quality of performance depends on accuracy of the used piecewise linear neural model of the system and on the polynomial. PID controller has been spread widely in various applications till these days due to its simple structure, and different control objectives can be got by adjusting PID parameters, which has been described in [16]; the PID controller has been used very effectively for vibration reduction of piecewise linear system.

Different from PID controller, adaptive control strategy can guarantee the stability and tracking properties by designing proper adaptive laws. Many researches about adaptive control for piecewise linear system have been studied in recent years [1721]. Linear time-invariant (LTI) is chosen as the reference model in adaptive control [17], which is conventional in adaptive control [20, 21, 25]. Sang and Tao put forward the adaptive state tracking control in [7] achieving closed-loop stability and small tracking error.

From these studies, PID controller has obvious advantages at the transient phase and is widely used; it has simple structure and we can tune the parameters to obtain the control objective by different algorithms [26, 27]. However, when used alone, it can give poor performance when the PID loop gains must be reduced so that the control system does not overshoot, oscillate, or hunt about the control set-point value. They also have difficulties in the presence of nonlinearity. Adaptive control is more complex; however, it has better tracking performance when we identify the plant’s model. Comparison of robustness between adaptive control and PID control has been researched by Shibata and Mitsukawa in [28].

It is worth mentioning that fast response time and tracking performance are the two primary requirements in electrohydraulic actuator control problem, especially for the subsea electrohydraulic actuator control systems; the control of such systems may become difficult and complicated due to two facts:

The nonlinear electrohydraulic system exhibits piecewise linear characteristics. And the piecewise linear system consists of a set of linear subsystems; “switching points” exist between different linear subsystems.

For the electrohydraulic piecewise linear system, it is needed to design a control strategy to reduce vibration and get less response time at the transient phase and get better tracking performance in steady-state.

Motivated by the above discussion, in this paper, we aim to combine the PID method and MRAC technique together and establish a unified framework to get fast transient tracking at the transient phase and better tracking performance for the piecewise linear control system. It should be noted that the piecewise linear system, which consists of a set of linear subsystems, and piecewise adaptive switch controller which consists of PID and Model Reference Adaptive Control (MRAC) are developed to control the system. First, piecewise linear reference model is given; PID controller and MRAC controller are designed for every linear subsystem; both PID controller and model reference adaptive laws are established based on the state tracking error. Then, the switch controller is designed for the piecewise linear system. Second, by constructing Lyapunov function, a sufficient condition is presented to ensure the asymptotic stability of the state tracking control. Finally, the switch controller is applied to the electrohydraulic actuator system.

The main contributions of this paper can be highlighted as follows: (i) adaptive switch controller is established for the piecewise linear system that tackles the tracking time at the transient phase and gets better tracking performance in steady-state; (ii) the estimated state function is designed at the PID control stage, and the “switch point” is determined based on the norm of the error between the estimated state and the piecewise linear plant state; (iii) four possible cases with different mode switches are studied for evaluating the tracking performance; (iv) the model of the electrohydraulic actuator system is built and the switch controller is used for the system.

The rest of this paper is organized as follows. Section 2 briefly introduces the problem under consideration. In Section 3, adaptive switch controller integrated with PID and MRAC adaptively chooses the proportion of these two components based on the norm of the error between the estimated state and the piecewise linear plant state; estimated state function is designed at the PID control stage; then the stability properties of the adaptive designs are studied. Model of hydraulic actuator is studied in Section 4 and PID, MRAC, and switch have been used for this piecewise model to prove the switch controller’s advantages. At last, concluding remarks are in Section 5.

2. Problem Statement

In this paper, we consider the piecewise linear system described by the following state-space equation:where is the state vector, is the scalar input, denotes a partition of the state space into a number of closed (possibly unbounded) polyhedral subspaces, is the index set of subspaces such that with , and for all . and are supposed to be unknown.

The problem is to find a controller to ensure that the state variables of the plant track asymptotically the reference states, say .

Here, we assume that the piecewise linear reference model is given bywhere , , are stable and is a bounded reference input signal, when is active, as indicated by .

Remark 1. The control systems with such piecewise components have become an important area of research. As discussed in Section 1, many results have been investigated. For the nonlinear hydraulic actuator [29, 30] in subsea oil and gas production, fast response time and better tracking performance are pursued.

In this paper, the control objective is to develop a switch controller such that the closed-loop system is stable and asymptotically tracks , which has faster response time at the transient phase and better tracking performance.

3. Adaptive Switch Controller Design

In this section, a switch controller is proposed for the piecewise linear system (1) to achieve closed-loop stability and state tracking. The controller consists of PID and MRAC control stage.

To simplify our discussion, we make the following assumptions about the piecewise linear system.

Assumption 2. In this note, assume that all the plant’s state variables can be observed.

Assumption 3. For every linear subsystem, assume that the PID and MRAC controller will switch at the switching point, and the switching point is decided by the norm of the error between the state output and the state estimated during PID control stage, which will be studied in the following.

The bounded is generated by the time-invariant parameter set . For the stability of piecewise linear system (2), exponential stability of the homogeneous system is necessary and sufficient for stability of system (2) [7, 31, 32].

As studied in [7], let , where stands for all possible integers, and let , be symmetric, positive definite satisfying

And the following lemma ensures exponential stability of homogeneous system and thus the stability of (2), which has been proofed by Sang and Tao in [7].

Lemma 4. The system is exponentially stable with decay rate if satisfieswhere and such that , with , , , and , where and denote the minimum and maximum eigenvalues of a matrix.

3.1. Adaptive Controller Structure

In this section, state feedback adaptive controller is proposed for the piecewise linear system (1) to make its closed-loop system stable and state tracking. And the following controller is applied:where is the gain scalar and is the gain matrix.

As shown in Figure 2 the th region of the system adaptive control input iswith (1) and (6), and we get the closed-loop systemwhere the nominal parameters , exist, such that

The state tracking error is

In view of (7)–(9), we havewhere and .

3.2. Adaptive Laws

For updating the parameters , , we need to develop adaptive laws based on , with the knowledge of lower and upper bounds of the parameters in , ; the parameter projection adaptive lawswhere and are the known bound regions of and and , , , and satisfywith , being symmetric positive definite matrix.

Remark 5. The parameter projection adaptive laws for piecewise linear state tracking case in [7] are based on the knowledge of known sign ; in this paper, the parameter projection laws need not have the knowledge of sign .

Remark 6. Without the knowledge of , it is difficult to get the parameters and ; however, as and are defined matrices, in this paper, and are defined matrices.

3.3. PID Controller Design

PID controller has been widely researched; its basic structure is shown in Figure 3. For system (1), the control objective is to make system (1) asymptotic tracking with less time.

Continuous-time PID controller itself is defined by several different algorithms. The common version of its algorithm definedwithwhich is the state tracking error, where , , and . The control objective is to guarantee that the plant state tracks the reference trajectory ; that is, .

The control variable consists of three parts: proportional one, integral one, and derivative one. is the proportional gain, is the integral time, and is the derivative time for the th linear subsystem, which can be tuned to achieve the asymptotic tracking of by and takes less time.

3.4. Switch Controller Design

In this section, a new controller structure is proposed for the piecewise linear system (1) to achieve the asymptotic tracking of by with less time.

Notes. , , , and are all updated based on the projection laws (11); the differences are that and are updated at the PID control stage and and are updated at the MRAC control stage.

We design the switching controller consisting of 2 parts: PID and MRAC, as shown in Figure 4. At the first stage, PID controller is used to guarantee the error convergence to a certain extent. At the same time, adaptive laws and (11) are updated by the error between the state output and the reference, with the plant controlled by the PID; we have the equationwhere is the estimated states.

In the first stage, PID control laws are used to guarantee boundedness of asymptotic tracking, and MRAC laws are used to achieve asymptotic tracking of by , with the assumption that exist; we set the switching “condition”

Remark 7. As described in Figure 4, is the estimated states to evaluate the MRAC controller during PID control stage. Under the condition , and are updated by the error controlled by PID controller. When and make the estimated state get the condition (16), MRAC controller is used to control the plant because it has better tracking performance and smaller error.
With (15), there are two conditions during the process of getting ; the first is and the other is . If , from the equationwe can getUnder the system with , however, cannot be got only by solving (17), as the inverse matrix of does not exist in many systems, and (15) can be writtenThen we use the following equation to describe the vector of output discrepanciesHence, the loss function can be written aswhere denotes the squared error or loss of on and denotes collective loss of a function on the training set .
We can seek the optimal by taking the derivatives of the loss with respect to the parameters which satisfies the following equation:With the inverse of existing, we can getThen, we can get that in Figure 4 isFor the piecewise linear system (1), which consists of regions linear subsystems, a new adaptive switch controller structure is proposed to achieve closed-loop stability (signal boundedness) and state tracking.

Remark 8. At the PID control stage, the estimated state is got by the controller , and the controller switches at the condition .

Remark 9. This novel developed control strategy combines the advantages of the PID controller and MRAC controller, the two major approaches for piecewise linear system, and leads to a flexible controller, allowing us to exploit, maximally, the benefits of two control algorithms. The MRAC technique is designed based on the model; however, as the plant model is not known and the MRAC controller cannot get good tracking performance at this stage, PID controller is used to guarantee the closed-loop system’s tracking response time and stability at this stage. The proposed controller is composed of two components; one component is the PID controller, which has faster tracking response time at the transient phase, and the other is the MRAC, which has better tracking performance when the plant’s model is identified by the adaptive laws. In other words, we will design a switch controller, which is integrated with PID and MRAC controller, adaptively chooses the proportion of these two components, and makes the designed system have faster tracking response time and better tracking performance, simultaneously. Therefore, we need to design the integrated controller and develop a state feedback control law so that the closed-loop system is stable and asymptotically tracks , where is the reference model.

3.5. Stability and Tracking Properties

For system (1), every linear subsystem has two phases as shown in Figure 4, PID control stage and MRAC control stage. The parameters of PID controllers are designed by Ziegler-Nichols Method, which can guarantee the stability of the system. So we mainly study the stability and tracking properties controlled by MRAC controller.

Let denote the time instants at which (1) switches mode. With the definitions of , , , , , in Lemma 4, we have the following stability and tracking properties.

Theorem 10. Consider the system consisting of the piecewise linear system (1), the adaptive switch controller (6), and adaptive laws (11). Ifthe transient tracking error performance is given bywhere and .

Proof. For the PID controller, it has been much used in the control loops of industrial process. Parameters , , and can be tuned to make the system stable and take less time for asymptotic tracks .
For the MRAC controller, due to the fact that , it follows from Lemma 4 that ensures the stability of (2). For analyzing the stability and tracking properties about closed-loop system consisting of piecewise linear system (1), there, build the piecewise Lyapunov functionwhere , are symmetric positive definite matrices.
The derivative of by applying the properties of matrix eigenvalues, along (8)–(12), isWith (11) and (12), we can get thathere, without loss of generality, we consider the case for . With (12), the parameter projection adaptive laws, with the parameter estimates , , are bounded; thus there exists a , defined assuch thatAs described in Lemma 4, , where denote the maximum eigenvalues of a matrix. That is, for , decays faster than exponential stability at the rate and is nonincreasing otherwise.
When a mode switch occurs at , we haveRemark  11. The inequality provides at , which has been studied by Sang and Tao in [7].
Then, the switching condition ensures thatthus .
For evaluating the tracking performance, there are four possible cases depending on the integration interval .
(i) . There is no mode switch over [], since is nonincreasing; we have(ii) , . There is one and only one switch over . We have(iii) , , . is less than or equal to , which means that there are at most mode switches.(iv) , , . There are at most mode switchesDefine . Concluding from (i) to (iv), the tracking error is given byProof is completed.

4. Application to Hydraulic Actuator Control System

Simulations are performed to demonstrate the system stability and tracking performance with proposed adaptive control schemes applied to the piecewise linear system model of the longitudinal dynamics of the hydraulic control valves [29, 30].

To demonstrate the above technique, the hydraulic actuator control system is used.

4.1. System Description

In this work, we consider the electrohydraulic actuator system studied in [29, 30], which consists of surface hydraulic supply unit and subsea parts: servo valve, hydraulic actuator, and control unit. In the subsea oil/gas production system, the multiphase flow and hydrate distribution can be detected by using the detector.

As shown in Figure 5, the plant input is the control voltage based on the reference input, the actuator displacement, and the fluid distribution in the pipe line.

The efficiency of production system is determined by hydraulic actuator’s response time, which possesses piecewise linear characteristics in opening/closing process. The structure diagram of the actuator is shown in Figure 6.

The equations of actuator system are given as follows.

With the different flow in the pipe line, piecewise linear resistance characteristics exist during the hydraulic actuator in opening/closing process.where the variable description is shown in Table 1.

Figure 5 shows the electrohydraulic actuator control system, which consists of power unit (Tank 1, Tank 2), electrohydraulic proportional control valve, hydraulic actuator, and the control unit. As shown in (41) and (42), changes with in practical operation, which is piecewise linear. Let ; for the piecewise linear model, the system can be further expressed by the following integer program:where , , and the piecewise linear functionwhere and are the fluid element distribution in the pipeline, which is determined by the detector shown in Figure 6; in this paper, is the region of ; is the region of . For the servo valve, there exist and (where represents the function of electrohydraulic proportional control valve and is the input pressure of the electrohydraulic proportional control valve). Then the system can be written

For simplicity of presentation, we choose , , with the elements being the state variables to control the piston displacement, with (44) and (45) state equation of hydraulic actuator with parameters in Table 2.

4.2. Switch Controller Synthesis

For the electrohydraulic actuator control system, we first construct the reference model.where , are the reference trajectory of and . is the bounded continuous reference input signal, while the initial conditions are set to . With assumption 1 fulfilled, let

There are two stages for every region of the nonlinear system; the first one is PID controller which plays a role in the process of track to ; the second is the MRAC controller used.

At the PID control stage, we havewhere . And the PID controller parameters , , and are determined based on Ziegler-Nichols’ methods in practice operation. In this example, we control the plant by PI controller with the following parameters:

For the model reference adaptive laws, the parameters

is the switch point from PID controller to MRAC controller.

Notes. Figures 79 show the two plant states’ tracking performance. Figures 7(a), 8(a), and 9(a) show track to . Figures 7(b), 8(b), and 9(b) show track to .

Notes. Figures 1113 show the plant states tracking performance at the transient phase. Figures 11(a), 12(a), and 13(a) show track to . Figures 11(b), 12(b), and 13(b) show track to .

Case 1. Simulations are performed for the reference input signal ; we can get the state tracking performance by only using MRAC controller in Figure 7, PID controller in Figure 8, and switch controller in Figure 9. Both the switch controller and MRAC controller can get stabile, but the MRAC controller needs longer time to make state track ; PID controller needs less time for to track , but cannot be equal to in Figure 8, which is dangerous in practical operation because the actuator displacement cannot be controlled exactly. With comparison of the state tracking errors by using switch controller, MRAC, and PID in Figure 10, there is large deviation at the beginning of tracking stage if we use MRAC; especially, error will increase and will be larger by using MRAC controller when the plant’s input changes.
The mean square errors contrasts are shown in Tables 3 and 4. There, we set the sample time as 0.01 s in simulation; Table 3 shows the mean square errors of Figures 79, and is the mean square error of to track , is the mean square error of to track . From Table 3, we can get that the switch controller has better performance than PID controller and MRAC controller. Table 4 shows the system performance at transient phase controlled by PID, MRAC, and the switch controller. With Table 4, PID technique has smaller mean square errors than MRAC and switch techniques at the transient phase; at the same time, switch controller has smaller mean square errors when the input changes at  s.

Case 2. Simulations are performed for the reference input signal . From Figures 14 and 15, we can get that needs less time to track . For the piecewise linear model, it takes about 1 second for to track and about 1.25 seconds for to track by using MRAC controller and more than that by using the switch controller, which takes about 0.5 seconds for to track and about 0.6 seconds for to track . We can get that the switch controller has better performance for the piecewise linear system than using MRAC controller. And the mean square errors are smaller, controlled by switch controller, shown in Table 5.

5. Conclusion

In this paper, the adaptive switch controller consisting of PID and MRAC controllers for piecewise linear systems is studied. The controller adaptively chooses the proportion of these two components and makes the designed system have faster response time and better tracking performance, simultaneously. The integrated controller and a state feedback control law have been designed so that the closed-loop system is stable and asymptotically tracks . Hydraulic actuator model was built and its piecewise linear characteristics were used to demonstrate the asymptotic tracking of by piston displacement. Unlike conventional MRAC and PID controllers, the adaptive switch controller combines advantages of PID and MRAC; it makes the piecewise linear control have faster tracking response time and better performance, especially in oil production; it needs less time to control the actuator displacement and has less hydraulic shock.

Conflicts of Interest

The authors declare that they have no conflicts of interest.