1. Introduction
Recently, hydropower represents an indispensable role in the power industry due to the stability, reliability and economy efficiency, compared with the developing intermittent renewable energy like solar and wind, as well as the traditional high emission coal-fired thermal power [
1,
2,
3]. In this regard, the hydraulic turbine governing system (HTGS), as the key structure of any hydropower plant, is finely studied and designed to guarantee the operation’s safety and proper response [
4]. However, the essences of HTGS are nonlinear characteristic, time-variant and a non-minimum phase system, which require efforts on precise and effective studies on practical control strategy design [
5,
6,
7]. To overcome the obstacles in nonlinear plant controlling, considerable interests and research in the applications of HTGS regulating technique have been raised in the past several decades, such as fractional-PID control [
8], fuzzy control [
9], predictive control [
10], adaptive control [
11] and synergetic control [
6,
12]. However, in real time practices, there still exist problems with the specified hydraulic transients and operating conditions. In addition, the proposed control theories significantly change the structure of current HTGS which lacks applicable consideration.
Accurate modeling of HTGS matters, involving hydraulic, mechanical and electrical factors, because a precise and suitable numerical representation of the control object can better define the reliability in designing HTGS regulating techniques [
4,
13,
14]. In the modeling conduit system, non-elastic [
15] and elastic [
13,
16,
17] models are proposed to describe the relationship between water head and flow according to conduit length. By installing a surge tank, the conduit is separated into two short parts and thus reduces the water hammer effect in the penstock [
18]. Francis turbine, as one widely utilized turbine in the applications, and its proper modeling methods are a consistent topic. When considering light vibration around the operating point, Taylor series approximation equations using partial derivatives of torque and flow with respect to water head, wicket gate position, and turbine speed, are adopted [
14,
19]. Moreover, to ensure the regulating capability in governor design considering certain fluctuations, the partial derivatives are replaced by transfer coefficients which are varying by the states [
20,
21].
Though a variety of detailed mathematical models are proposed, there still exist typical discrepancies between actual plant and model due to an approximation of dynamics and variation of parameters when designing the governor [
22]. In addition, existing system uncertainties and undetected noises make a difference to numerical simulations and real-time applications [
23,
24]. To solve these issues, the robustness of the governor has triggered intensive interest recently. Sliding mode control methodology is powerful for driving and constraining state variables to stay in the neighborhood of the designated sliding manifold, and it is successfully applied to industry and other applications such as an observer and controller combined SMC method in a solar photovoltaic-wind hybrid system [
25], adaptive sub-optimal second-order SMC in micro-grids [
26], global fast terminal SMC applied to water vehicles [
27] and model-free based SMC to aircraft models [
28]. By carefully choosing the manifold and switch function, it is capable of forcing control objects to certain states with insensitivity to model errors and rejection of disturbances. Recently, studies on SMC applied to HTGS have been carried out from every aspect: linearization based normal SMC [
29], fraction-order model-based fast terminal SMC [
30] and fuzzy SMC [
31]. However, the studies on the performance of SMC control law facing highly coupled state variables of a nonlinear HTGS are not satisfied, as well as operating under certain fluctuations around operating points.
In this paper, a detailed nonlinear Francis turbine using six transfer coefficients is modeled to express strong coupling features of HTGS with complex conduit system. The input/output feedback linearization method is presented to construct a direct relationship between the control signal and objective state. Based on that and adopting a nonlinear servomechanism, a novel SMC method utilizing proportional-integral-derivative sliding manifold is designed by the Lyapunov method. Such method is applied to nonlinear HTGS and it shows smooth and light responses from the aspects of key state variables when facing certain fluctuations in speed and load. By adopting exponential reaching law, the system converges to a designated manifold promptly. In addition, the chattering phenomenon is eliminated by introducing a boundary layer. The anti-regulation feature of HTGS is that actual speed moves opposite to desired speed at the beginning of regulating and it causes a latency phenomenon in speed tracking. In dealing with that, a necessary integral of the sliding parameter is introduced to the manifold and thus reduces the delay in transients. Three daily met operating scenarios are simulated compared with the PSO-PID method, and the results imply that the proposed SMC method has superior trajectory tracking ability and smooth responses. Finally, the strong robustness against system uncertainties is tested.
The rest of this paper is organized as follows:
Section 2 introduces the modeling process of a detailed nonlinear HTGS. In
Section 3, the system is decoupled by the linearization method; the novel SMC governor design is discussed in detail and stability is proved; the PSO-PID method design as the comparison is briefly introduced. The comparative experiments and the results are discussed in
Section 4. The conclusions are summarized in
Section 5.
3. Governor Design
The proportional-integral-derivative control law is applied in HTGS universally. A PID governor drives turbine speed to track the desired rated speed by accepting the derivation of two variables, and then outputting control signals to the servomotor, which acts on the wicket gate. In this way, the PID governor is typically a single-input and single-output control system. For practical engineering applications, it is applicable to follow the same input/output design of PID control law without significantly changing the structure of governor. However, some studies apply a set of SMC governor outputs on each equation of HTGS model, which are more like an observer and not suitable for the current applications. Moreover, linearization and reaching law based SMC shows superior ability facing both fluctuations in speed and load. At the meantime, the system state variables responses are light and smooth and quickly converge to the desired point.
In this section, a sliding mode control law based on input/output feedback linearization is designed with several variables as input for computing to comply with the above criterion.
3.1. Input/Output Feedback Linearization on HTGS
In the mathematical model (
21), governor output
u is connected with turbine speed
indirectly, which leads to difficulty in designing control law. Therefore, in order to obtain the direct connection between two variables, we differentiate
as below via I/O feedback linearization method [
33]:
and it is simplified as
In Equation (
22), function
A,
B,
M and
D are defined as:
Consequently, the consists of four terms: A, M, and D. A implies that turbine speed is influenced by other state variables, in other way, variables are coupled to others. In addition, M reflects that the load combining with its derivative also influences turbine speed. D indicates that related system uncertainties combining with their derivatives affect the intrinsically. In this way, the control term designed in the next subsection aims to get equivalent AM and D to keep at a rated speed. Thus, the direct relationship between turbine speed and governor signal u is established. In addition, an SMC control law acted on is easy to design next.
3.2. SMC Control Law Design
Because of the nonlinear natures of HTGS, there are tremendous obstacles in controlling the turbine to the desired state. The anti-regulation feature mentioned above causes a significant latency in speed tracking. To reduce such delay, a necessary integral of sliding parameter is introduced to the manifold and thus a PID sliding manifold is selected. To fasten the sliding variable
s approaching manifold when
s is much larger, which is useful when facing large fluctuation, exponential reaching law is adopted [
34]. Thus, the SMC governor is qualified in overcoming the complexity of the nonlinear model.
In order to drive
to track the desired trajectory, set the speed error as
, and then, to reduce the error when facing strong coupling features of state variables, the PID sliding manifold is selected as:
where parameters
and
must satisfy Hurwitz condition and
. Next, differentiate
s and it follows:
Substituting Equation (
22) in the above equation, it is given that
Set control signal as:
where
v is the auxiliary controller. Then, based on exponential reaching law, by adding the exponential term
,
is given below:
It denotes that, when designing an auxiliary controller,
D is not taken into consideration because it is the uncertainties of the system, which cannot be detected but will be eliminated by tuning the gain of boundary layer
discussed below. Thus,
v follows
is a positive constant and satisfies
, in which
is the upper boundary of system uncertainties
D.
In the following section, the stability analysis is given.
3.3. Stability Analysis
Consider the nonlinear model of HTGS with complex conduit system and system uncertainties, as shown in Equation (
21). The proposed SMC control law, if the control signal complies with Equation (
25), guarantees the stability of the mentioned system and drives speed error
to converge to zero asymptotically. The proof is given below.
Proof. Select the Lyapunov function as:
whose derivative is
Combining Equation (
25) and Equation (
26),
Thus,
According to Equation (
27),
because, as mentioned above, the gain
is set larger than the upper boundary of
D. In this way, the attractiveness of PID sliding manifold is guaranteed.
Thus, according to Lyapunov stability theorem, the system is asymptotically stable, and the speed error will converge to zero within a finite time, which implies that the SMC governor is capable of driving the system to any point or orbit. ☐
3.4. Chattering Phenomenon Elimination
One marked imperfection of SMC control law is that, when a state variable reaches sliding manifold, it moves around a manifold frequently rather than sliding along with it. The reason is that SMC control law adopts a discontinuous sign function, which makes the sliding parameter become equipped with inertia even when it is located right on the manifold [
22].
In order to restrain the chattering phenomenon, the saturated function
within the boundary is introduced instead of a sign function in Equation (
26), and
is defined as
in which
is the thickness of the boundary layer. When
s is located outside the boundary layer, the switch control using sign function is adopted and, when
s is inside the boundary layer, a smooth control is adopted rather than switching vigorously. Therefore, the chattering phenomenon is eliminated markedly.
Thus, a novel SMC governed HTGS system is presented and shown in
Figure 2.
3.5. PSO-PID Governor Design as Comparison
Currently, traditional PID control law is widely applied in HTGS because of its reliability. Its equation follows:
In addition, for better performance of the controller, three important parameters,
,
and
, require a suitable method to tune with according to various operating conditions. The particle swarm optimization (PSO) algorithm, one of many evolution algorithms aiming at searching for a suitable solution from populational sets [
35], and its variants are populated in PID parameters tuning for HTGS. Based on former studies [
36,
37], a modified weight-varying PSO algorithm is adopted as:
where weight
is varying by iterations,
, in which
and
N are current iteration and total iteration times, respectively;
and
are initial maximum and minimum weights.
However, due to the complexity of nonlinear servomotor and coupled variables hydraulic turbine, it shows tremendous difficulties in optimizing parameters. Particularly, the optimizing process easily returns complex numbers, which is meaningless in practice. Thus, during optimizing, it introduces an elimination mechanism, which means, once the optimization process using certain PID parameters returns a set of complex results, these three parameters will be discarded to guarantee the process to continue.
In addition, a reliable criterion in the HTGS parameter tuning field, the minimization of the integral of time-weighted absolute error (ITAE) [
38], is adopted as the fitness function of selected PSO optimizing process and its expression is:
where
T is simulation time.
The optimization process starts at initializing the swarm in which each particle includes , and as its position. Then, evaluate the particles’ fitness by the above ITAE criterion. According to the fitness results, update individual performance and select the global swarm best performance. The next step is to modify the particles’ velocities and update particles’ positions until the iteration ends. The final best position is the optimization result of PSO-PID control parameters. PSO with the ITAE criterion is also used to help select the parameters of the PID sliding manifold by replacing position , and with , , .
The effectiveness of the proposed SMC method compared to PSO-PID control will be validated and the SMC control parameters calculating standards is given in the next section.
4. Results and Discussion
In this section, the validity and effectiveness analysis of SMC governor designed in
Section 3 operating on the nonlinear HTGS model (
21) will be discussed for three scenarios: target turbine speed stabilization is simulated to validate the smooth and light responses facing changes in speed; periodic turbine speed trajectory tracking is conducted to validate that the latency is fully reduced by an integral term in the sliding manifold; and load disturbance response testing is conducted to testify the efficiency of SMC in power output control, as well as strong robustness simulation against system uncertainties. The aforementioned PID controller based on the PSO algorithm with the elimination mechanism and ITAE criterion, which is discussed above, is adopted as a comparison to illustrate the strength of the SMC controller. While the parameters of proposed SMC method consist of three parts: the gain
of boundary layer, coefficients
k of reaching law term and selection of sliding manifold parameters
,
,
.
is set larger than the upper boundary of
D as mentioned to suppress the system disturbances. In addition, in order to accelerate converging time facing large fluctuations such as periodic speed tracking and large load shedding, the
k is given larger. While the selection of sliding manifold is to guarantee the speed error
e converge to zero, and PSO also helps to select the combination of three parameters. All the simulations are started at rated working condition, which indicates that the initial relative derivation values of
q,
,
,
,
h and
are zero. To be noticed, when
is set as zero which means the setting relative derivation value of wicket gate has the opposite range of proposed servomechanism, thus the computed control signal
u needs to multiply by an adjusting coefficient
. All the simulations are conducted utilizing a Runge–Kutta method with a variable time step under the MATLAB/Simulink environment. The system parameters are listed in
Appendix A.
4.1. Target Turbine Speed Stabilization
By optimizing the parameters of SMC control law, the hydraulic turbine system can be stabilized at a target turbine speed. At first, the HTGS operates at rated work condition for two seconds. Then, considering a
decrease in rated speed, both PSO-PID governor and SMC governor are utilized to solve the case. The PSO tuned gains of the PID governor are set as:
,
and
, while the parameters of SMC governor are set as:
,
,
,
,
and
. Finally, the comparison results of waveforms about key state variables,
,
,
and
h are shown in
Figure 3; the PSO-PID and SMC governed systems’ ternary phase diagrams of
-
-
h are shown in
Figure 4; a space phase diagram about sliding parameters
e,
and
, and its projection, a plain space phase diagram with setting sliding manifold, are shown in
Figure 5 and
Figure 6, respectively.
From
Figure 3, with SMC acted,
stabilizes at target turbine speed promptly without overshoot and vibration around the target speed compared with a PSO-PID governor. In addition, according to responses of all state variables, another significant advantage is the smoothness when states approach the equilibrium point, which is good for equipment maintenance due to less impact. From
Figure 4, the
,
and
h under SMC tend to be stable more straightforward and less dispersed than the PSO-PID governor, which indicates that SMC is capable of keeping the system steady promptly. From
Figure 5 and
Figure 6, sliding parameters converge to setting manifold and stay stable in finite time.
4.2. Periodic Turbine Speed Trajectory Tracking
An extreme speed disturbance, cosine wave with
amplitude of rated speed, is chosen as a test for tacking and latency suppressing ability of designed SMC controller. PSO-PID governor gains are tuned as:
,
,
while SMC governor parameters are set as:
,
,
,
,
,
. The comparison waveforms of
,
,
and
h are shown in
Figure 7; ternary phase diagrams of
-
-
h are shown in
Figure 8; a space phase diagram of sliding parameters and a plain space phase diagram with setting sliding manifold are shown in
Figure 9 and
Figure 10.
From
Figure 7, it shows an extraordinary periodic orbit tracking ability for SMC control law with each state controlled in periodic and vibration suppressed. However, under PSO-PID, the responses of state variables show significant vibration, especially water pressure in the wicket gate
h, which makes a difference to operation safety. The diffused swirling trajectory governed by PSO-PID in
Figure 8 also implies that the system is beyond control. However, governed by SMC, the clear occurrence of a limit cycle indicates that
,
and
h are in regular periodic motion. In
Figure 9 and
Figure 10, sliding parameters are revolving around the body-centered, which is zero steady error point.
4.3. Load Disturbance Response Testing
In practice, load disturbance is a frequently met operation requiring high-level flexibility and robust regulation capability to maintain grid stability [
6,
39]. Considering
load shedding as the case, PSO-PID governor gains are tuned as:
,
,
while SMC governor parameters are given as:
,
,
,
,
,
. The comparison waveforms of
,
,
and
h are listed in
Figure 11; ternary phase diagrams of
-
-
h are shown in
Figure 12; a space phase diagram of sliding parameters and its projection are presented in
Figure 13 and
Figure 14.
From the state variables responses in
Figure 11 and ternary phase diagram in
Figure 12, the SMC has the capability to cope with load disturbance with less overshoot and vibration compared to PID. In addition, it drives states to a steady constant point more directly rather than swirling around the steady point. According to sliding parameters’ trajectory, the system finally converges to setting manifold within a finite time and remains stable. In addition, the gains of PSO-PID controller are too big to achieve in real-time application.
4.4. Robustness Simulation against System Uncertainties
The above simulations are discussed under the situation when system uncertainties are not considered. However, the practical applications demonstrate that a variety of uncertainties, including measurement uncertainties, system intrinsic and external disturbances, exert considerable influences on hydraulic units’ operation. In addition, many studies are working on modeling and reducing these undesired and undetected uncertainties [
23,
24]. In this way, the robustness testing against disturbances is critical to any governor design. In this section, sine and cosine waves are chosen to model the disturbances in the conduit system, as well as random noises being adopted to model the noises in servomechanism and turbine speed. The uncertainty terms are defined as follows:
where
r is random noise in finite range
.
It uses the same experimental conditions under a cosine wave speed disturbance with
amplitude of rated speed, and simulation results are represented in
Figure 15.
Compared to PSO-PID control law, the SMC governor forces to target orbit without fluctuation undergoing system uncertainties and random noises, which indicates the strong robustness of SMC governor when facing undetected disturbances acted on HTGS. It shows that, by tuning the amplitude of switch function, the uncertainties are fully suppressed.