Next Article in Journal
Overview of the Cerebellar Function in Anticipatory Postural Adjustments and of the Compensatory Mechanisms Developing in Neural Dysfunctions
Previous Article in Journal
A Multicriteria Motion Planning Approach for Combining Smoothness and Speed in Collaborative Assembly Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Proportional-Integral Sliding Mode Control with an Application in the Balance Control of a Two-Wheel Vehicle System

1
Aeronautical Systems Research Division, National Chung-Shan Institute of Science and Technology, Taichung 40722, Taiwan
2
Department of Aerospace Engineering, Tamkang University, New Taipei 25137, Taiwan
*
Author to whom correspondence should be addressed.
Submission received: 29 May 2020 / Revised: 21 July 2020 / Accepted: 22 July 2020 / Published: 24 July 2020

Abstract

:
A balance control method, the proportional-integral sliding mode control (PISMC), is proposed to control the tilt attitude of an experimental two-wheel vehicle system (TWVS). Based on our previous work of implementing a generalized PISMC to control a linearized dynamical system, this paper extends the algorithm to a wider range: First, the control design of a weighted-control system is proposed. Secondly, our algorithm was realized and verified in a TWVS using its original nonlinear model. Thirdly, a systematical way to tune parameters are presented. The robustness of the proposed algorithm is also discussed in this paper. The simulation results of this work validate that the PISMC has better robustness to counteract the external disturbances than the conventional sliding mode control (SMC) does. Additionally, the experimental results show that the PISMC is capable of autonomously balancing the TWVS more effectively than the conventional SMC. The successful implementation of our algorithm potentially extends the implementation of the PISMC to various nonlinear and emerging systems.

1. Introduction

This paper presents a controller called the proportional-integral sliding mode controller (PISMC). The sliding mode control (SMC) has been widely accepted as an efficient method for the tracking or balance control of an uncertain nonlinear system. The capability of achieving perfect performance in principle is also demonstrated in the presence of parameter uncertainties and bounded external input disturbances. The proposed PISMC combines the proportional sliding mode control (PSMC) and the integral sliding mode control (ISMC). There are two main contributions in this paper. First, the PISMC provides more parameters with which to tune the controller. As a consequence, it reduces adverse effects due to the external disturbances effectively. Second, this paper sets up an experiment as an example to demonstrate the tracking accuracy in a nonlinear system. This example also shows how this algorithm can be implemented to a physical system. Though the name PISMC may sound similar to some algorithms regarding the PID sliding surface, the definition of sliding surface and the mathematical expression of PISMC are different.
The main structure of SMC theory was brought out by Utkin, a former USSR scholar, in 1977 [1]. After the original theory, various applications and extensions of the theory were proposed and presented. Some of the examples are given and reviewed in the following. In 1994, Sira-Ramirez et al. [2] proposed a dynamic multivariable discontinuous feedback control strategy of the sliding mode type for the altitude stabilization of a nonlinear helicopter model in vertical flight. In 1996, Utkin and Jingxin [3] proposed a new sliding mode design concept named integral sliding mode control (ISMC). ISMC is different from the conventional sliding mode design approaches, and the only difference is the integral form of the error term in place of the original error term. In 2000, Baik et al. [4] designed an ISMC which has one separate boundary surface in order to decrease the chattering and improve the controllers’ responses. In 2003, Lin et. al [5] proposed a PID sliding surface, where the sliding mode motion occurs with global invariance. In the same year, Hess and Wells [6] employed the SMC for flight control design. In 2004, Rafimanzelat and Yazdanpanah [7] investigated the low chattering SMC for balance control design. In 2005, Niu and Ho et al. [8] applied the robust integral sliding mode control to uncertain stochastic systems. Besides that, Waslander et al. applied the design of ISMC to a multi-agent quadrotor test-bed. Moreover, Bouabdallah, et al. also applied the back-stepping and sliding-mode techniques to an indoor micro-quad-rotor. Koshkouei et al. [9] in 2005 proposed a dynamic SMC which increases accuracy under high-frequency switching of control. More studies regarding the applications of sliding mode technique and its extensions are discussed in [10,11,12,13]. In 2009, Soylu et al. [14] studied the control of an underwater remote vehicle-manipulator system using sliding-mode control and H control. This paper showed that the sliding-mode and H controller combined approach provides superior dynamic coupling reduction performance.
Speaking of PISMC, Nawawi, Sam, and Osman have devoted themselves to the investigation of PISMC [15,16,17,18] since 2002. In 2011, Lin et al. applied the PISMC to stabilize the attitude and position of a hovering unmanned helicopter [19]. Sam at al. applied the PISMC to a hydraulically-actuated active suspension system [17,18]; Nawawi, et al. focused on the control and manipulation of of robotic systems. [15,16]. In [20], robust integral sliding mode control (ISMC) was proposed for an underactuated rotary hook system in order to deal with parametric uncertainties presenting themselves in the system’s parameters. Pan et al. studied the modification of the integral sliding variable degrades, and suggested that the switching element is smoothed by using a low-pass filter [21]. More works related to sliding mode control can be found in [22,23]. In [22] a SMC was designed to control a washout filter with constant impedance and nonlinear constant power loads. In [23] a PDSMC was designed to collaborate with a sliding perturbation observer to control a robot manipulator.
One thing to note is the work, cited in [15], done by Nawai et al. in 2006. In this reference, Nawawi suggested PISMC for the two-wheel inverted pendulum mobile robot to avoid high chattering drawbacks. Even though [15] had a similar topic and methodology to this paper, the details were significantly different. In [15], a linear model was investigated; the proportional and integral sliding modes shared the same coefficient, and the integration applied to the derivative of the states. In this paper, nevertheless, there are three major differences. First, we do not restrict our system to a linear one. Actually, the examples in this paper were presented and controlled using the original nonlinear form. Second, we introduce two parameters, instead of one coefficient as in [15], in the investigation. This setting provides us more degrees of freedom to tune parameters and improve the system performance. Third, in the integral we include not only the derivative of the states, but also the states themselves through the error term. Consequently, the work described here and our contributions in the PISMC apparently differ from those made by other researchers.
More specifically, we cite the following list the differences from [15]:
  • Design of sliding surface for the controlled system: Our paper presents s = 2 e ˙ + ( λ + 2 α ) e + α 2 e d τ . In [15], the sliding surface was designed as s = k p e + k i e d τ .
  • The system of control in this paper is nonlinear, whereas the system in [15] was a linearized system.
  • Because the system to control in [15] was linear, their proposed controller was merely a function of the system, given by
    u = K x ( C B ) 1 C f ( C B ) 1 η 2 sgn ( s ) ,
    where f is the original form representing a nonlinear function describing the deviation from linearity in term of disturbances and un-modeled dynamics. Our controller, however, has two major differences from theirs: First, we do not employ the remainder of the nonlinearity terms directly. Instead, we employ the bound of the remainder nonlinearity terms. Secondly, the saturation function in our controller is more than a sgn ( s ) function; the selection of parameters is different.
  • The tuning procedures of parameters are discussed in this paper, but not in [15].
The work presented in this paper extends the work presented in [19] to a wider range. The following novelties or contributions are presented in this paper. First, differently from the commonly known ISMC, PISMC, and PID sliding surface, which usually each have the sliding surface of s = k p e + k I e d τ + k d e ˙ + k 1 e ( 0 ) + k 2 e ˙ ( 0 ) and five parameters or more to tune, our algorithm in [19] extends the sliding surface to the nth order derivative of the output error with only two parameters to tune. In [19], however, a system of unweighted control was considered. Based on the work in [19], this paper proposes the sufficient condition to design a control for a system of weighted control. Secondly, our algorithm was realized and verified in a two wheel vehicle system. In the literature, researchers either applied their work to nonlinear systems using numerically simulated results [21,24], or realized their algorithms in a linear system [20,22,23]. Although nonlinearities were considered in [22,23], they were treated as disturbances instead of dynamics themselves. This paper not only verifies our capability of controlling a nonlinear system by numerical simulations, but also realizes the algorithms in a TWVS using its original nonlinear model. Instead of treating the nonlinearities as disturbances like works in the literature, we dealt with the nonlinearity as the dynamics itself. The successful implementation of our algorithm in a practical nonlinear mechanical system indicates that it is possible to extend the application of the PISMC to a wide range of nonlinear systems, such as the control of microfluidics-based devices [25,26]. Thirdly, tuning of control parameters is always critical in designing a control. In our proposed algorithms, there are only four parameters to tune for all systems. From analysis and past experience, we roughly understand the effects of these parameters, though they were not rigorously proven. Systematic tuning procedures are also presented in this paper.
In detail, we first briefly review the SMC and PSMC and their drawbacks. The algorithms and control law by PISMC are then introduced. Before applying the PISMC control law to real cases, robustness, systematic tuning procedures, and performance are then discussed. Having shown the robustness and good performance of our algorithm, the control design for a weighted-control system is proposed. This paper then derives the dynamic model of an experimental TWVS with given parameters. The PISMC was designed based on the TWVS model, and all the input information was obtained from the real tests which were conducted by the TWVS. The corresponding control to stabilize the TWVS was derived based on the proposed PISMC algorithm, and tested in experiments. Discussion of experimental results and a conclusion are provided to demonstrate the validity of our proposed algorithm.

2. Control Algorithm

2.1. Conventional Sliding Mode Control

The theory of SMC has been extensively applied in linear and nonlinear systems, and different practical engineering control problems. Studies in the past few decades have demonstrated that the SMC methodology provides a systematic approach to solving control engineering problems. By introducing a sliding mode to the control of a system, one can achieve both stabilization and disturbance rejection.
The conventional PSMC is considered as a proportional type which forces system states to slide into the predetermined sliding surface, and to reach the origin of the phase plane eventually. When the state-trajectory is sliding on the sliding surface, the corresponding dynamic performance of the system is governed by the equations of the sliding surface. Therefore, the PSMC has a strong robustness against external uncertainties and disturbances.
There are two major requirements for the PSMC. The first one is to design a sliding surface. Then the states are enforced to slide into the sliding surface by the switching the control law. Secondly, each of the tracking points on the sliding surface must satisfy the sliding conditions. The switch of the control law is determined by the predefined switching conditions. With the help of the control switch, the trajectory can be guided into the region bounded by boundary layers. Governed by the sliding conditions, the trajectory gradually moves onto the sliding surface and steps forward to the target point.
Consider a desired signal x ˜ d ( t ) and the system output x ˜ ( t ) , where both of x ˜ d ( t ) and x ˜ ( t ) are in R . The objective of the PSMC is to make the system’s output approach the desired signal when t ; i.e.,
lim t x ˜ ( t ) x ˜ d ( t ) = 0 ,
Here, we define the tracking error as
e ( t ) = x ˜ ( t ) x ˜ d ( t ) ,
where e ( t ) R . Before the PSMC is applied, a sliding surface must be designed in advance. The goal of the PSMC is to guide the system trajectory toward the sliding surface, which naturally leads the trajectory to the target point in the end. Based on the magnitude of errors, we define a time-varying linear differential function in R n , s ( x ˜ , t ) , named the condition space [27], given by
s ( x ˜ , t ) = d d t + λ n 1 e ( t ) ,
where λ is a positive constant. The equation s ( x ˜ , t ) = 0 represents a sliding surface passing through the origin of the phase plane. According to the above equation, s = 0 is an ( n 1 ) th-order linear differential equation, and all the eigenvalues of the characteristic equation are located in the left complex plane. Once the sliding surfaces are determined, we may start to design the controller and define the sliding conditions as follows [27].
s s ˙ η | s | ,
where η > 0 , and s ˙ denotes the time derivative of s.

2.2. Proportional-Integral Sliding Mode Control

To improve the performance of a SMC, this paper adopts a PISMC as our algorithm. Consider a dynamic system described by an nth-order nonlinear differential equation
x ˜ ( n ) ( t ) = f x ˜ , x ˜ ˙ , , x ˜ ( n 1 ) , t + u ˜ ( t ) ,
where x ˜ R is the output of the dynamic system, f is the system function and must be at least once differentiable, u ˜ R is the system input, and t is time. We define the state vector, X ˜ = x ˜ , x ˜ ˙ , , x ˜ ( n 1 ) T , for future derivations.
Assumption 1.
Consider (6) and assume that there exists an uncertain parameter Δ f in the dynamic function f ( X ˜ , t ) , satisfying
f = f ^ + Δ f ,
where f ^ is the estimation and Δ f is the variation of function f. Assume
| Δ f | F ˜ ( X ˜ , t ) ,
given F ˜ the boundary of system uncertainty [27].
The goal of the PISMC proposed in this paper is to design a switching control law to let the output x ˜ ( t ) approach a given x ˜ d ( t ) , as shown in (2). To design the control system, the system states are assumed to be attainable via a state observer, which sometimes requires measurement of an output or output error, as defined in (3). The sliding surface of the PISMC consists of two sliding surfaces, s 1 and s 2 , the proportional sliding surface and the integral sliding surface, respectively. Here,
s 1 = d d t + λ n 1 e ( t ) ,
as defined in (4), and
s 2 = d d t + α n ξ e ,
where λ > 0 , α > 0 , ξ e ( t ) = 0 t e ( τ ) d τ . The operator ( d / d t + γ ) n is defined as
d d t + γ n = d n d t n + n 1 γ d n 1 d t n 1 + + n n 1 γ n 1 d d t + γ n ,
where γ R is a parameter to tune, and n m denotes the k-combinations of a set having n elements. Applying the operator to a function h ( t ) yields
d d t + γ n h = h ( n ) + n 1 γ h ( n 1 ) + + n n 1 γ n 1 h ˙ + γ n h ,
where the superscript with parentheses denotes the order of derivative, while the superscript without parentheses denotes the power of the parameter γ . In our case, γ = λ or γ = α . They are two complementary parameters, which provide the capability of tuning the gains of controller. We note that the expansion of (9) is different from the conventional PSMC or PID sliding surface, since λ and α are generally distinct. The PISMC is designed as [19]:
u ˜ = u ^ e q + v s w ,
where, by letting s = s 1 + s 2 ,
u ^ e q = f ^ w ^ ,
v s w = k sgn ( s ) ,
with
w ^ = x ˜ d ( n ) + m = 0 n 2 n 1 m e ( m + 1 ) λ n m 1 + m = 0 n 1 n 1 m e ( m + 1 ) α n m 1 + α m = 0 n 1 n 1 m e ( m ) α n m 1 ,
and
sgn ( s ) = 1 if s > 0 0 if s = 0 1 if s < 0 .
The controller design is summarized in Theorem 1.
Theorem 1.
[19] Consider the system of (6) which satisfies Assumption 1. Let the function u ˜ be specified in (12) with u ˜ e q being equivalent signal and v s w being switching control defined in (13) and (14), respectively. The gain k is designed to satisfy (5) with the definition of w ^ given in (15). If there is a k and an η > 0 such that
k = F ˜ ( X ˜ , t ) + η ,
then the tracking error as defined in (3) will tend to a neighborhood of zero within a finite time.
Proof. 
The proof is a brief version of [19] for further usage. Define the following Lyapunov function
V = 1 2 ( s 1 + s 2 ) 2 = 1 2 s 2 .
Choose an appropriate u ˜ to satisfy V ˙ ( s ) < 0 . Then,
V ˙ = s s ˙ = x ˜ ( n ) x ˜ d ( n ) + m = 0 n 2 n 1 m e ( m + 1 ) λ n m 1 + m = 0 n 1 n 1 m e ( m + 1 ) α n m 1 + α m = 0 n 1 n 1 m e ( m ) α n m 1 s = ( f ^ + w ^ + Δ f + u ˜ ) s = Δ f k sgn ( s ) s | Δ f | | s | k | s | ( k F ˜ ) | s | .
The sufficient condition of (18) to ensure the stability of system and to satisfy the sliding conditions as in (5) is given by
V ˙ 0 .
Let
( k F ˜ ) | s | = η | s | > 0 ,
provided η > 0 . We conclude
k = F ˜ ( X ˜ , t ) + η ,
as stated in (16). It is also conclusive from (18) that e ( t ) converges to the neighborhood around origin of the phase plane for any trajectory. □
In fact, in the control signal there is a the discontinuous contribution v s w , caused by the discontinuous switching function ( sgn ). This function results in an infinitely large switching frequency. However, this infinitely large switching frequency can not be realized in real physical system. Therefore, a switching component with extremely high-speed is applied. That way, the state trajectory would oscillate around the two sides of s = 0 which results in the chattering phenomenon.
In order to reduce the chattering problem, the concept of boundary layers for a sliding surface is employed, as depicted in Figure 1.
The definition of boundary layers is given by
B = X ˜ | s ( X ˜ , t ) = ± Φ , Φ > 0 .
The error phase-plane of boundary layers of a sliding surface, s, coincides with the boundary range of ε . Note that s = ± Φ is the boundary layer. Since the switch action can not be completed in a blink of time and the effect of delay exists, the state trajectory X ˜ would oscillate between the boundary layers. Figure 1 is the 2nd-order error phase plane, and it is the most common way to mitigate the oscillation by replacing the sliding surface with the boundary layers. v s w is the switching law of the controller, defined as follows
v s w = k sat s Φ .
Here sat ( s , Φ ) is the saturation function defined by
sat ( s , Φ ) = s Φ if | s | Φ sgn ( s ) if | s | > Φ .

2.3. Alternative from of the Controller

In this paper, we assume that all states are attainable via state observers, but do not touch the design of the observer. The original design of the controller u ˜ in (12) may require additional estimation of e ( n ) , which may need to employ new gain(s).
In order to avoid this drawback, an alternative design of u ˜ is proposed by reducing the order of e ( n ) . (3) leads to
e ( n ) = x ˜ ( n ) x d ( n ) = f ^ + Δ f + u ˜ x d ( n ) .
To have V ˙ < 0 , the control u ˜ was originally designed as
u ˜ = f ^ k sat ( s , Φ ) w ^ = f ^ k sat ( s , Φ ) ( x d ( n ) + w ^ + e ( n ) ) = f ^ k sat ( s , Φ ) + x d ( n ) w ^ f ^ Δ f u ˜ + x d ( n ) ,
where w ^ = x d ( n ) + w ^ + e ( n ) , and
w ^ = m = 0 n 2 n 1 m e ( m + 1 ) λ n m 1 + m = 0 n 2 n 1 m e ( m + 1 ) α n m 1 + α m = 0 n 1 n 1 m e ( m ) α n m 1 .
As a result, (22) can be rewritten as
2 u ˜ = 2 f ^ + 2 x d ( n ) w ^ Δ f k sat ( s , Φ ) ,
or,
u ˜ = f ^ + x d ( n ) 1 2 ( w ^ + Δ f + k sat ( s , Φ ) ) ,
To eliminate Δ f , we here re-design u ˜ as
u ˜ = f ^ + x d ( n ) 1 2 w ^ k sat ( s , Φ ) .
That is, replace the original w ^ by letting
w ^ = x d ( n ) + 1 2 w ^ .
We claim that this controller works, and this controller does not need to measure e ( n ) .
The proof is given as follows:
V ˙ = ( f ^ + Δ f + w ^ + u ˜ ) s = f ^ + Δ f x d ( n ) + w ^ + e ( n ) f ^ + x d ( n ) k sat ( s , Φ ) 1 2 w ^ s = Δ f + e ( n ) k sat ( s , Φ ) + 1 2 w ^ s = Δ f + f ^ + Δ f + u ˜ x d ( n ) k sat ( s , Φ ) + 1 2 w ^ s = 2 Δ f + f ^ f ^ + x d ( n ) k sat ( s , Φ ) 1 2 w ^ x d ( n ) k sat ( s , Φ ) + 1 2 w ^ s = 2 Δ f 2 k sat ( s , Φ ) s 2 η sat ( s , Φ ) s .

2.4. Robustness Discussion

Unlike the design concept of conventional SMC, the insensitivity is included in the dynamics model and also guaranteed in our algorithm. In the conventional SMC design, a precise dynamics model is employed and the perturbation is viewed as an extra input. An example is given in Equation (22) in [28]. The change rate of s is formulated by
s ˙ = σ + M Δ x + O ( Δ x ) 2 ,
and the robustness is discussed based on this formulation. In our approach, however, the perturbations are already included in the parameter k for v s w . Recall that k = F ˜ + η , where F ˜ is the bound of the model variation, satisfying f ˜ = f ^ + Δ f and
| Δ f | F ˜ .
Let X ˜ = X ˜ n + Δ X , where X ˜ n is the nominal states. Then,
f ˜ ( X ˜ ) = f ˜ ( X ˜ n + Δ X ) = f ˜ ( X ˜ n ) + f ˜ X ˜ X ˜ n + H . O . T = f ^ ( X ˜ ) + Δ f ,
where f ^ ( X ˜ ) = f ˜ ( X ˜ n ) and Δ f includes all the remainder terms. By properly investigating and choosing the bound of Δ f . The influence of perturbations is included and considered in the control. The advantage of our approach is that the robustness of the control is guaranteed with a proper choice of F ˜ , and we do not have to worry about specific perturbations. The drawback, of course, it that the control might be inefficient if F ˜ is defined too large for the purpose of robustness.

2.5. Parameter Tuning

In the proposed algorithm, there are four parameters to tune in total: λ and α to construct s-surface, η to construct v s w , and Φ to determine the saturation function. We have tried to analytically understand the effect of each parameter. However, this is too difficult due to the complexity of nonlinear systems and mathematics. Instead, approximated properties in a 2nd order system are analyzed, and numerical simulations are presented to demonstrate the potential effect of each parameter, so that readers will have some ideas on our tuning procedures. Notably, numerical examples are not solid proofs. An effect may vary in different cases.
The example from [19] is employed to study the effect of each parameter, and how to tune these parameters. The example, given as follows, was originally from [27] and employed to demonstrate the validity of the our proposed algorithm:
x ˜ ¨ + a ( t ) x ˜ ˙ 2 cos 3 x ˜ = u ˜ .
The function a ( t ) is unknown but varies within the range 1 a ( t ) 2 . Let
f ^ = 1.5 x ˜ ˙ 2 cos 3 x ˜ ,
The control input of SMC is
u ˜ = 1.5 x ˜ ˙ 2 cos 3 x ˜ + x ˜ ¨ d λ e ˙ ( 0.5 x ˜ ˙ 2 | cos 3 x ˜ | + η ) sat s Φ .
with s = e ˙ + λ e . The control input of PISMC is
u ˜ = 1.5 x ˜ ˙ 2 cos 3 x ˜ + x ˜ ¨ d α 2 e ( λ + 2 α ) e ˙ e ¨ ( 0.5 x ˜ ˙ 2 | cos 3 x ˜ | + η ) sat s Φ
with
s = s 1 + s 2 = d d t + λ e + d d t + α 2 ξ e = 2 e ˙ + ( λ + 2 α ) e + α 2 0 t e d τ .
Notably, we employed this example in our work in [19], and showed the validity of our work. In this paper, however, we employ this example to show the properties and influences of parameters. As a result, despite the dynamical equation and parameters of the equation being directly employed from [27], other settings are changed. For example, we used state errors and their derivatives, instead of the output rate in the reference. The parameters of the controller are different from those in the reference. The desired signal x ˜ d is set as unit step for investigating transient properties, which is different from the original x ˜ d = sin ( π t / 2 ) . Therefore, the comparison occurs between our PISMC and SMC to know the parameters better. It did not occur between our PISMC and the SMC of the reference.

2.5.1. Effect of Φ

Φ is the parameter to determine the switching method and reduce the chattering phenomenon, as shown in (21). However, the larger the value of Φ , the more sluggish the response. As Φ , sat( s , Φ ) = s / Φ . As Φ 0 , sat( s , Φ ) = sgn(s), which usually causes chattering phenomenon. Consider the case Φ , so that sat( s , Φ ) = s / Φ . Since s is finite in general, | s | / Φ < 1 . The smaller the | s | , the smaller the | s | 2 / Φ . The decreasing rate of the Lyapunov function is influenced by
V ˙ η s 2 Φ = η | s | 2 Φ
The original saturation function sat( s , Φ ) = sgn(s) brings V ˙ η | s | . The condition to have a more greatly decreasing rate of the Lyapunov function is given by
η | s | 2 Φ η | s |
or equivalently, | s | > Φ . Therefore, a large Φ is not helpful in speeding up the converge of the system. Figure 2 demonstrates the comparison. Φ = 100 in Figure 2a, whereas Φ = 0.1 in Figure 2b. Other parameters are set identical. It is obvious that the responses with smaller Φ are faster, regardless of the type of controls.

2.5.2. Effect of η

It can be expected that the larger the value of η , the more decreasing the rate of the Lyapunov function from V ˙ η | s | . Suppose | s | > Φ at beginning. The upper bound for V ˙ is given in (33). Since V = s 2 / 2 = | s | 2 / 2 , we conclude the upper bound of V satisfies
V ˙ = η | s | 2 Φ = 2 η Φ V
(35) implies that V converges exponentially with time constant τ η = Φ / 2 η .
Figure 3 demonstrates the comparison. η = 100 in Figure 3a, whereas η = 0.01 in Figure 3b. Other parameters are set identically. It is obvious that the responses with large η are faster, regardless of the type of controls.

2.5.3. Effect of λ

The role and influence of λ on a higher order system is unclear. However, we may approach this problem through a second order system like the example. When n = 2 , our algorithm suggests s = e ˙ + λ e and u ˜ = u ˜ R λ e ˙ under the SMC assumption, where u ˜ R contains the remainder terms of u ˜ . From the structure of u ˜ we conclude that the role of λ is roughly the gain of a conventional P-controller in a negative feedback. A proper choice of λ would stabilize the system. Too large a value of λ may destabilize the system, or have the system converged sluggishly.
On the other hand, the function of SMC is to force s = 0 first. Then, the property of s = 0 will force e = 0 when t approaches infinity. Since s = e ˙ + λ e , implying that e converges exponentially with time constant τ λ = 1 / λ , too small a value of λ will cause the system to converge sluggishly. From our experience, 1 λ 10 is a better choice.
Figure 4 demonstrates the comparison. λ = 100 in Figure 4a, λ = 1 in Figure 4b, and λ = 0.01 in Figure 4c. Other parameters are set identically. It is obvious that the responses with too large or too small λ are sluggish, if the SMC control is considered.

2.5.4. Effect of α

Similarly, the role and influence of α on a higher order system are unclear. However, we may approach this problem through a second order system. When n = 2 , our algorithm suggests s = 2 e ˙ + ( λ + 2 α ) e + α 2 e d τ . Defining z ˙ = e yields s = 2 z ¨ + ( λ + 2 α ) z ˙ + α 2 z . Moreover, e 0 when z 0 .
A similar statement can be made for α . The function of our algorithm is to force s = 0 first. The property of s = 0 will then force z = 0 when t approaches infinity. Since s = 2 z ¨ + ( λ + 2 α ) z ˙ + α 2 z , z converges exponentially if the discriminant is greater than zero, and converges oscillatorily if the discriminant is less than zero, where the discriminant is defined as
D = ( λ + 2 α ) 2 8 α 2
Defining α = ρ λ and ρ > 0 yields
D = λ 2 ( 1 + 2 ρ ) 2 8 ρ 2 = λ 2 ( 1 + 4 ρ 4 ρ 2 )
The condition for z to converge exponentially is 0 < ρ 1.2 . This approximation is not accurate enough because the actual behavior of z is also influenced by other parameters. We may conclude z converges oscillatorily if ρ 1 .
Given ρ 1 , the overshoot of z is influenced by damping ratio of the system. The damping ratio ζ can be approximated by
ζ = λ + 2 α 2 α = 1 + 2 ρ 2 ρ
when ρ = 1 , ζ = 2.213 . When ρ , ζ = 2 .
Since e = z ˙ , the oscillation of ζ does not directly equal the oscillation of e. Moreover, the nonlinearity of the system also makes the quantitative prediction inaccurate. However, the trend of the oscillation must be similar. The larger the value α is, the smaller the overshoot e has.
Figure 5 demonstrates the comparison. α = 10 in Figure 5a, α = 1 in Figure 5b, and α = 0.1 in Figure 5c. Other parameters are set identically. It is obvious that a very small ρ = α / λ causes no overshooting in the system. This is reasonable. When α = 0 , the algorithm degenerates to a conventional SMC. Although large ρ causes overshooting, the magnitude is small.
The time constant of convergence for an oscillatory z can be approximated by
τ α = 1 ( λ + 2 α ) / 2 = 2 λ ( 1 + 2 ρ )
when ρ 0 , τ α = 2 / λ . When ρ , τ α 0 .
Although large ρ suppresses overshooting and speeds up the convergence of outputs, α = ρ λ grows exponentially compared to the contribution to control signals. Hence, the trade-off of a fast response is a very large control. A very large control is usually energy consuming or impossible in implementation.

2.5.5. Tuning Procedures

From previous analysis and our experience, the tuning procedures applying our algorithm are concluded as follows:
  • Select Φ . 0.1 Φ 1 is suggested to speed up the convergence.
  • Select η . Large η is helpful to speed up the convergence. However, the value of η is proportional to u ˜ . Too large a value of η may cause too large a control signal.
  • Select λ . From our experience, 1 λ 10 is a better choice.
  • Select ρ and α = ρ λ . If an oscillatory response is allowed, ρ can be selected to be larger than 1. If not, a smaller ρ is suggested.
  • Estimate the transient properties:
    (a)
    The overshoot can be estimated from damping ratio ζ = ( 1 + 2 ρ ) / 2 ρ for ρ 1 .
    (b)
    Estimate the total time constant. Since the convergence procedure is s 0 and then e 0 , the total time constant of convergence, τ e can be approximated by τ e = τ η + τ α .
    (c)
    The settling time t s , according to control theory, approximated by t s = 4 τ e .
  • Build the nonlinear mathematical mode and run numerical simulations with initially selected parameters. Tune the parameters according to the transient performance and the effect of parameters.
  • Remember to keep α as small as possible, because a large α usually indicates a very large control input.

2.6. Effectiveness of the Algorithm

As aforementioned, there are only four parameters to tune in total for an arbitrarily high order system: λ and α to construct s-surface, η to construct v s w , and Φ to determine the saturation function. Usually, a higher order controller has more parameters to tune. Using only four parameters to control an arbitrarily high order system may sacrifice potential performance more parameters may bring, but it simplifies the tuning procedures.
On the other hand, the proposed algorithm has more degrees of freedom to adjust the system’s performance, compared to the conventional SMC algorithm. Although those characteristics may result in complexity in selecting parameters, with the aforementioned methods and analysis, one is able to tune parameters systematically and efficiently.
Another concern is the cost of the control. Better performance may result from greater effort, such as a larger control signal or greater energy consumption. From our experiences, though not rigorously proven, in some cases the proposed algorithm actually costs less than the conventional SMC, which only tunes λ to build the sliding surface and Φ to defined the boundary layer.
An example is presented in Figure 6. The example was simulated using the aforementioned nonlinear system. In order to evaluate the control laws, a cost function J is defined as follows:
J = 1 2 0 t u ˜ 2 d τ
Two control laws were employed to control the system: the SMC and our proposed PISMC. Parameters were tuned so that the two systems had similar settling times. A smaller overshoot occurred in the system using PISMC. Table 1 lists the parameters:
The simulations in Figure 6 show that the proposed algorithm costs less while keeping similar transient performance. Notably, under the designated parameters, chattering occurs once using the control from SMC. As a result, it can be concluded that our algorithm performs better than the conventional SMC in this specific case.

2.7. PISMC for a Weighted-Control System

Based on the work in [19], we extend our work to a nonlinear system of weighted control, which is usually described by the differential equations
x ˜ ( n ) = f x ˜ , x ˜ ˙ , , x ˜ ( n 1 ) , t + g ˜ x ˜ , x ˜ ˙ , , x ˜ ( n 1 ) , t u ˜ ( t ) ,
where u ˜ , x ˜ R are the input and output, respectively, and f , g ˜ : R n R are smooth functions. The gain g ˜ is unknown, yet assumed to be uniformly bounded.
Assumption 2.
Assume 0 < β min g ˜ ( X ˜ , t ) β max , where β min and β max are given constants, time-varying or state-dependent functions [27].
We assume that the control input may enter multiplicatively in the dynamics, and it is natural to choose our estimate g ^ of gain g ˜ as the geometric mean of the above bounds.
g ^ = β min β max .
Assumption 2 can then be written in the form of
β 1 g ^ g ˜ β ,
where
β = β max β min > 0 .
Since the PISMC is designed to be robust to the bounded multiplicative uncertainty, as in (43), we call β the gain margin of our design, by analogy to the terminology used in linear control. Let
G ^ = 1 β max β min .
The PISMC u ˜ is modified from the aforementioned u ˜ and it has the form:
u ˜ = G ^ u ^ e q + v s w ,
where the u ^ e q and v s w are defined in (13) and (14), respectively. We summarize the controller design in Theorem 2.
Theorem 2.
Consider the system (41), which satisfies Assumptions 1 and 2. Let the function u ˜ be specified in (46) with u ^ e q , v s w , and w ^ defined in (13), (14), and (15), respectively. Let the gain k be designed to satisfy (5). If there exits a k such that
k = ( β 1 ) f ^ + w ^ + β ( M + η ) ,
then the tracking error as defined in (3) will tend to the neighborhood of zero within a finite time.
Proof. 
To prove that PISMC u ˜ satisfies the sliding conditions, the following Lyapunov function is employed:
V = 1 2 s 2 .
If we choose u ˜ as in (46), then follow similar steps as those in (18):
V ˙ = s s ˙ = ( f ^ + Δ f + g ˜ u ˜ + w ^ ) s g ˜ G ^ k f ^ + w ^ 1 g ˜ G ^ F ˜ | s | .
Finally, let
k ( β 1 ) ( f ^ + w ^ ) + β ( F ˜ + η ) .
We obtain
g ˜ G ^ k f ^ + w ^ 1 g ˜ G ^ F ˜ 0 ,
and hence V ˙ < 0 . This ensures that any trajectory e ( t ) converges to the neighborhood around of origin in the phase plane. □

2.8. Comparison of Sliding Surfaces

The design of sliding surface is inherited from [19], whereas the design of control is extended to a weighted-control system. The design of sliding surface in our algorithm extends to the nth order system, and, thus, is considerably different from conventional SMC and PID sliding surface. Table 2 presents the differences.

3. Implementation in a Two-Wheel Vehicle System

This paper extends the design of PISMC controller to a weighted-control system from the work in [19]. Procedures for tuning parameters are also presented in the proceeding section. The third effort of this paper is to implement the proposed control algorithm in a nonlinear system, which is very rare in the literature. A TWVS was built for the implementation and verification of the algorithm. The novelty of this experiment is the employment of its original nonlinear dynamics, instead of commonly used linearized dynamics.

3.1. Model of Two-Wheel Vehicle System

The dynamic equations for the TWVS were derived for analysis and for the controller design. Figure 7 shows the free body diagram of the TWVS.
A simplified version of the TWVS is shown at the top of Figure 7a. The shaft of the two wheels goes through the center of mass (cm) of the cart, and a pendulum is installed in the cm of the cart through a hinge. A motor kit is installed on each wheel to drive the wheel. Assume that there is no slip occurred between the wheels and the ground, and no torque exists between the cart and the pendulum. Moreover, this example experiment only considers the longitudinal motion. Therefore, forces and torques in the lateral motion are assumed balanced and not considered.
In order not to distract readers from the main stream of this paper, the detailed derivation of equations of motion is provided in the Appendix A. Notation is defined either in Figure 7 or in the Appendix A. The dynamics of the TWVS are represented as follows:
m l g sin θ = ( m l 2 + J p ) θ ¨ m l cos θ x ¨ ,
M + m + 2 M w + 2 J w R 2 x ¨ m l cos θ θ ¨ = 2 u ˜ R m l sin θ θ ˙ 2 .
Define M total = M + m + 2 M w + 2 J w / R 2 and J s = J p + m l 2 . The equations of motion of the TWVS can be written as
A x ¨ θ ¨ = B ,
where
A = M total m l cos θ m l cos θ J s B = 2 u ˜ R m l sin θ θ ˙ 2 m l g sin θ
or equivalently,
x ¨ θ ¨ = A 1 B = 1 Δ J s m l sin θ θ ˙ 2 + 2 J s R u ˜ + 1 2 m 2 g l 2 sin ( 2 θ ) 1 2 m 2 l 2 sin ( 2 θ ) θ ˙ 2 + 2 m l cos θ R u ˜ + M total g l sin θ ,
where Δ = det ( A ) = M total J s m 2 l 2 cos 2 θ .

3.2. Parameter Set-Up of PISMC System

In this section, a numerical simulation and an experiment of PISMC applying to a TWVS are presented. The dynamics of TWVS are defined in (52), and in the simulation, the parameters were selected as m = 1.076 kg, M = 1.012 kg, M w = 0.064 kg, R = 0.85 m, l = 0.18 m, J p = 0.00221925 N-m, and J w = 0.00132 N-m. Let 5.5 = β min g ˜ ( X ˜ , t ) β max = 11 . We have G ^ = 0.1286 and β = 2 . Set λ = 10 , α = 1 , η = 5 , and Φ = 1 . The PISMC u ˜ can be computed from (46).

3.3. Numerical Simulations

3.3.1. Architecture of the Simulation and Experiment

Figure 8 shows the architecture of the simulation and the actual hardware implementation of the PISMC. The measured output signal was compared with the reference signal and the calculations were performed to produce the switching signal and the equivalent signal. The overall control signal (switching signal + equivalent signal) was sent to the motor driving board to control the real system. In the experiment, the motor driving board contained two PIC18F258 microcontrollers. One microcontroller computed the control signal based on the PISMC algorithm, whereas the other handled the readings of sensors. The computational capability of a PIC18F258 microcontroller is actually powerful enough to implement the proposed algorithm. However, due to the inherit complexity and difficulty in the TWVS, the preliminary goal was to achieve the autonomous balance by a simplified structure. Therefore, the experiment focused on the tilt angle control only, described by the equation of θ ¨ in (52). A simple flow chart is shown in Figure 9.

3.3.2. Balance Control Simulation Results

Simulation results are presented in Figure 10, Figure 11 and Figure 12. For the first simulation, Figure 10 shows the system responses of the TWVS balancing with no external disturbances and the initial condition is ( x ˜ d ( 0 ) , x ˜ ˙ d ( 0 ) ) = ( 1 , 0 ) . We note that the settling time to reach x ˜ d and the error of the PISMC are smaller and converge quicker than that of the conventional SMC. It is evident that the PISMC presented in this paper is effective for the TWVS to reach the desired attitudes around the equilibrium point in short a period. The stability and accuracy are both maintained in the balance simulation.
For the second simulation, Figure 12 shows the system responses of the TWVS with external disturbances. To examine the disturbance rejection property afforded by the proposed control, we consider to simulate the system with initial condition of ( x ˜ d ( 0 ) , x ˜ ˙ d ( 0 ) ) = ( 0.5 , 0 ) , and the system external disturbance is sin ( 2 π t ) . Figure 11 shows that x ˜ d settles down to the steady state and the amplitude of the errors are smaller. The results also verify that the PISMC is capable of tracking the desired states and the errors converge steadily to the neighborhood of zero.
The performance of the system with the proposed PISMC is better than the use of the SMC controller such that no overshoot, shorter rise time, and shorter settling time were obtained from the proposed controller. The variations of the control efforts are shown in Figure 10 which indicates that the SMC signal is smaller in magnitude and the system settles down in 1.2 s. Several quantitative performance indicators of the attitude tracking qualities for SMC and PISMC controllers are summarized in Table 3. Variations of the sliding signal for SMC and PISMC are illustrated in Figure 10. It shows that magnitudes of the variations are smaller in PISMC. Variations of the sliding surface during the control are illustrated in Figure 10 as well. One notes that the sliding function is s ( t ) 0 when the error signal is not zero. This means that the sliding mode is in the reaching surface up to about 0.92 s, and then arrives the sliding surface. When it reaches to the sliding surface, theoretically it is expected the sliding function to be zero (i.e., s ( t ) = 0 ). In practical applications, there are always some small deviations and fluctuations at the output measured variable because of uncertainties and disturbances. Here, the average value of the sliding function is zero s ( t ) = 0 . As shown in Figure 10, Figure 11 and Figure 12, we note that these remarkable results are obtained without involving too much control effort.

4. Experiments and Discussion

4.1. The TWVS Platform

In this study, an experimental TWVS was developed as the experimental platform for gathering data to simulate and verify the proposed controller design. A picture of the TWVS is shown in Figure 13. The TWVS was equipped with a microchip (PIC 18F258)-based onboard computer module which was responsible for the data processing and the autonomous control. The main onboard electronic sensor was the self-developed IMU which consisted of the gyroscope and the accelerometer circuit. They were used to collect data from system identification and to output commands for automatic balance. The main control system was composed of the Borland C++ Builder.

4.2. Attitude Sensors

In general, the orientation of the inertial measurement unit (IMU) is derived from the inertial sensors, i.e., accelerometer and gyroscope sensors. All these sensors provide analog signals, so an analog-to-digital converter (ADC) is required to acquire the data. Therefore, the PIC18F258 made by Microchip Technology, with 8-channel 10-bit ADC, was used. In order to increase the computational efficiency and to perform the data fusion algorithm, microchips (PIC 18F258) served as the processing units of the low-cost IMU, and they communicated with each other through the built-in RS232 bus. The configuration of this self-developed IMU is depicted in Figure 14. This self-developed, low-cost IMU was used to offer attitudes and angular rates for the onboard computer module. The outputs of IMU were Euler angles, angular rates, and accelerations. Although the IMU performs well in normal conditions, its outputs always suffer from unpredictable errors such as moving due to the motor vibrations. The chassis on the TWVS induced vibrations and affected the onboard hardware to some extent. Without proper installation, the IMU probably gives inapplicable outputs. Therefore, vibration isolation or reduction became an important issue for our IMU on a moving platform. Some vibration reduction materials were tested and finally a kind of sound deadening sheet for cars was chosen. The IMU was surrounded by several layers of the sound deadening sheet and then cased into a box.

4.3. Balance Control Experiment Results

For the first experiment with no external disturbances, Figure 15 shows the TWVS tracking responses using the proposed PISMC and the conventional SMC. In experimental results, the original tilt angle was approximately ± 2 degrees, and the tilt rate was approximately ± 25 degrees/s. Comparing the top left plot (PISMC) to the top right plot (SMC), one notes that the tilt angle result of the proposed PISMC controller had no overshoot, shorter rise time, and shorter settling time than that of the conventional SMC controller. Importantly, the experimental result shows that the PISMC held balance well for the developed TWVS. The results of the second TWVS experiment with external disturbances are shown in Figure 16, which shows that the output of tilt angle by the PISMC can be tracked well to follow the desired angle. The robustness of the TWVS with the PISMC is better than that of the conventional SMC. It also demonstrates that the PISMC can give reasonable angle output of the tilt motion in experiments. Comparing the PISMC results with the SMC results, the PISMC has smaller oscillation, smaller overshoot, shorter rise time, and shorter settling time than the conventional SMC. The results of the TWVS experiments validate the balance control capability of the PISMC.

5. Conclusions

This paper presents a generalized proportional-integral sliding mode control (PISMC) method and the design of the associated controls. Our previous work generalized the PISMC to an nth order, unweighted-control system with only two parameters to tune. This paper extends the work to an nth order, weighted-control system. The bounds of dynamic variation, usually including state perturbations and disturbances, were employed to design the associated controller. The advantage of this approach is to avoid measuring the uncertainties. A systematic procedure to tune parameters was analyzed and proposed. Numerical simulations of a nonlinear system are presented to demonstrate the validity of the procedure. Robustness of the proposed algorithm is discussed, and the performance is shown to be better than a conventional SMC under certain parameters through the comparison of costs. These examples also demonstrate that the presence of one more parameter from the integral part brings one more degree of freedom with which to tune the system. In addition, the design of a balance control system for a TWVS is presented to validate the algorithm. The simulation results show that the PISMC autonomously balances the TWVS effectively in both disturbed and undisturbed circumstances, validating the robustness of the algorithm. The performance of the PISMC is also better than that of the conventional SMC. The balance control experiments of the developed TWVS yielded encouraging results that validate the feasibility and the effectiveness of the proposed PISMC controller. The successful implementation of the proposed PISMC using the original nonlinear dynamics potentially extends the applications of the PISMC to various nonlinear and emerging systems.

Author Contributions

Formal analysis, C.-H.L.; Investigation, C.-H.L.; Resources, F.-Y.H.; Supervision, F.-Y.H.; Validation, C.-H.L.; Writing—original draft, C.-H.L.; Writing—review & editing, F.-Y.H. All authors have read and agreed to the published version of the manuscript.

Funding

Taiwan Ministry of Technology and Science with grant number NSC 97-2221-E-006-235-MY3; NCSIST with grant number MOST 106-2623-E-032-001-D; National Space Organization with grant number NSPO-S-109133.

Acknowledgments

The authors would like to dedicate this paper to the late Fei-Bin Hsiao for his precious comments on this work.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A. Derivation of Dynamic Model

First, consider the dynamics of the left wheel. All notations denoted by subscripts of L and R are associated with the the left and right wheels, respectively. Let A L be the contact point with the ground; H L be the friction; N L be the normal force by the ground; F x L and F y L be the forces exerted by the cart; M L be the mass of the wheel; W L = M L g be the weight; T L be the controlling torque provided by the motor; and R be the radius of the two wheels.
The dynamic equations of the wheels in the cart-body-fixed frame are shown as follows
θ ¨ L J L = T L + H L R x ¨ L M L = F x L + H L 0 = F y L + N L M L g ,
where J L is the moment of inertia of the wheel and θ L is the rolling angle of the wheel. A similar process can be applied to the right wheel and yields
θ ¨ R J R = T R + H R R x ¨ R M R = F x R + H R 0 = F y R + N R M R g .
The assumption of no slipping leads to x ¨ L = R θ ¨ L and x ¨ L = R θ ¨ R . Assume the two wheels are identical. Then M L = M R = M w , J L = J R = J w , x ¨ L = x ¨ R = x ¨ , θ L = θ R = θ w T L = T R = u ˜ . Notably, θ w is defined positive to have the TWVS move toward + i
The dynamics of the cart is given as follows:
F x L + F x R F p = M x ¨ F y L F y R N p = M g ,
where M is the mass of the cart. Since longitudinal forces are assumed to be exerted passing through the cm and lateral forces are balanced, there is no equation for torques. This also implies that the cart-body-fixed frame does not rotate and it is, hence, coincident with the inertial frame.
The equations of the pendulum’s translation are derived with respect to the cm of the pendulum, whereas the equation of the rotation is derived with respect to the lower tip of the pendulum for convenience, where the pendulum is linked to the cart. Therefore, the equations of motion are obtained by [29]
F = m a G ,
M = r G × m a G + J p θ ¨ k ,
where m is the mass of the pendulum; J p is the moment of inertia about the pendulum cm. Moreover, r G is the position vector pointing from the tip to the pendulum cm, and a G is the acceleration of the pendulum cm. The two terms can be found by
r G = l ( cos θ i + sin θ j )
a G = a c + θ ¨ k × r G + θ ˙ k × ( θ ˙ k × r G ) ,
where l is the half length of the pendulum and a c = x ¨ i is the acceleration of the cart. Expanding (A4) through (A6) yields (49) and
F p = m l sin θ θ ˙ 2 + m x ¨ m l cos θ θ ¨
N p m g = m l cos θ θ ˙ 2 m l sin θ θ ¨ .
Substituting (A1), (A2), and (A8) into (A3) yields
H L 2 M w x ¨ + H R m l sin θ θ ˙ 2 + m x ¨ m l cos θ θ ¨ = M x ¨
Moreover, H L = u ˜ / R J w x ¨ / R 2 and H R = u ˜ / R J w x ¨ / R 2 . Consequently, (A10) can be re-written as (50), given as
M + m + 2 M w + 2 J w R 2 x ¨ m l cos θ θ ¨ = 2 u ˜ R m l sin θ θ ˙ 2 .

References

  1. Utkin, V.I. Variable structure with sliding mode: A survey. IEEE Trans. Autom. Control. 1977, 22, 212–222. [Google Scholar] [CrossRef]
  2. Sira-Ramirez, H.; Zribi, M.; Ahmad, S. Dynamical sliding mode control approach for vertical flight regulation in helicopters. IEE Proc. Control Theory Appl. 1994, 194, 19–24. [Google Scholar] [CrossRef]
  3. Utkin, V.I.; Jingxin, S. Integral sliding mode in systems operating under uncertainty conditions. In Proceedings of the 35th Conference on Decision and Control, Kobe, Japan, 13 December 1996; pp. 4591–4596. [Google Scholar]
  4. Baik, I.C.; Kim, K.H.; Youn, M.J. Robust nonlinear speed control of PM synchronous motor using boundary layer integral sliding mode control technique. IEEE Trans. Control Syst. Technol. 2000, 8, 47–54. [Google Scholar] [CrossRef]
  5. Lin, C.J.; Chen, C.K.; Li, K.S. Extended sliding-mode control for the tracking problem of a rotational inverted pendulum. J. Chin. Soc. Mech. Eng. 2003, 24, 277–282. [Google Scholar]
  6. Hess, R.A.; Wells, S.R. Sliding mode control applied to reconfigurable flight control design. J. Guid. Control Dyn. 2003, 26, 452–462. [Google Scholar] [CrossRef]
  7. Rafimanzelat, M.R.; Yazdanpanah, M.J. A novel low chattering sliding mode controller. In Proceedings of the 5th Asian Control Conference, Melbourne, Victoria, Australia, 20–23 July 2004; Volume 3, pp. 1958–1963. [Google Scholar]
  8. Niu, Y.; Ho, D.W.C.; Lam, J. Robust integral sliding mode control for uncertain stochastic systems. Automatica 2005, 41, 873–880. [Google Scholar] [CrossRef]
  9. Koshkouei, A.J.; Burnham, K.J.; Zinober, A.S.I. Dynamic sliding mode control design. IEE Proc. Control Theory Appl. 2005, 152, 392–396. [Google Scholar] [CrossRef] [Green Version]
  10. Bouabdallah, S.; Siegwart, R. Backstepping and sliding mode techniques applied to an indoor micro quad-rotor. In Proceedings of the IEEE International Conference on Robotics and Automation, Barcelona, Spain, 18–22 April 2005; pp. 2259–2264. [Google Scholar]
  11. Chen, C.A.; Chiang, H.K.; Lin, B.R. The novel adaptive sliding mode position control synchronous reluctance motor drive. J. Chin. Soc. Mech. Eng. 2008, 29, 241–247. [Google Scholar]
  12. Park, S.; Tan, C.W.; Kim, H.; Hong, S.K. Oscillation control algorithms for resonant sensors with applications to vibratory gyroscopes. Sensors 2009, 9, 5952–5967. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  13. Waslander, S.L.; Hoffmann, G.M.; Jang, J.S.; Tomlin, C.J. Multi-agent quad-rotor test-bed control design: Integral sliding mode vs. reinforcement learning. In Proceedings of the IEEE/RSJ International Conference on Intelligent Robots and Systems, Edmonton, AB, Canada, 2–6 August 2005; pp. 468–473. [Google Scholar]
  14. Soylu, S.; Buckham, B.; Podhorodeski, R. MIMO sliding-mode and H controller design for dynamic coupling reduction in underwater-manipulator systems. Trans. Can. Soc. Mech. Eng. 2009, 33, 731–744. [Google Scholar] [CrossRef]
  15. Nawawi, S.; Ahmad, M.; Osman, J.; Husain, A.; Abdollah, M. Controller Design for Two-wheels Inverted Pendulum Mobile Robot Using PISMC. In Proceedings of the 4th Student Conference on Research and Development, Shah Alam, Malaysia, 27–28 June 2006; pp. 194–199. [Google Scholar]
  16. Nawawi, S.; Osman, J.; Ahmad, M. A PI Sliding Mode Tracking Controller with Application to a 3-DOF Direct drive Robot Manipulator. In Proceedings of the TENCON 2004—2004 IEEE Region 10 Conference, Chiang Mai, Thailand, 21–24 November 2004; Volume 4, pp. 455–458. [Google Scholar]
  17. Sam, M.; Osman, J.; Ghani, R. Proportional integral sliding mode control of a quarter car active suspension. In Proceedings of the TENCON 2002—2002 IEEE Region 10 Conference, Beijing, China, 28–31 October 2002; Volume 3, pp. 1630–1633. [Google Scholar]
  18. Sam, Y.; Suaib, N.; Osman, J. Hydraulically Actuated Active Suspension System with PISMC. WSEAS Trans. Syst. Control 2008, 3, 859–868. [Google Scholar]
  19. Lin, C.H.; Jan, S.S.; Hsiao, F.B. Autonomous hovering of an experimental unmanned helicopter system with proportional-integral sliding mode control. ASCE J. Aerosp. Eng. 2011, 243, 338–348. [Google Scholar] [CrossRef]
  20. Tho, H.D.; Tasaki, R.; Kaneshige, A.; Miyoshi, T.; Terashima, K. Robust Sliding Mode Control with Integral Sliding surface of an underactuated rotary hook system. In Proceedings of the 2017 IEEE International Conference on Advanced Intelligent Mechatronics (AIM), Munich, Germany, 3–7 July 2017; pp. 998–1003. [Google Scholar]
  21. Pan, Y.; Yang, C.; Pan, L.; Yu, H. Integral Sliding Mode Control: Performance, Modification, and Improvement. IEEE Trans. Ind. Inform. 2018, 14, 3087–3096. [Google Scholar] [CrossRef]
  22. Abbasi, S.; Kallu, K.; Lee, M. Efficient Control of a Non-Linear System Using a Modified Sliding Mode Control. Appl. Sci. 2019, 9, 1284. [Google Scholar] [CrossRef] [Green Version]
  23. Monsalve-Rueda, M.; Candelo-Becerra, J.; Hoyos, F. Dynamic Behavior of a Sliding-Mode Control Based on a Washout Filter with Constant Impedance and Nonlinear Constant Power Loads. Appl. Sci. 2019, 9, 4548. [Google Scholar] [CrossRef] [Green Version]
  24. Zheng, X.; Jian, X.; Du, W.; Cheng, H. Nonlinear Integral Sliding Mode Control for a Second Order Nonlinear System. J. Control Sci. Eng. 2015, 2015, 218198 . [Google Scholar] [CrossRef]
  25. Cairone, F.; Gagliano, S.; Bucolo, M. Experimental study on the slug flow in a serpentine microchannel. Exp. Therm. Fluid Sci. 2016, 76, 34–44. [Google Scholar] [CrossRef]
  26. Schembri, F.; Sapuppo, F.; Bucolo, M. Experimental classification of nonlinear dynamics in microfluidic bubbles’ flow. Nonlinear Dyn. 2012, 67, 2807–2819. [Google Scholar] [CrossRef]
  27. Slotine, J.J.E.; Li, W. Applied Nonlinear Control; Prentice-Hall: Englewood Cliffs, NJ, USA, 1991. [Google Scholar]
  28. Vaidyanathan, S.; Lien, C.H.E. Applications of Sliding Mode Control in Science and Engineering; Springer: New York, NY, USA, 2017. [Google Scholar]
  29. Hibbeler, R.C. Engineering Mechanics: Dynamics, 14th ed.; Pearson: New York, NY, USA, 2016. [Google Scholar]
Figure 1. The definition of boundary layer for a sliding surface [19].
Figure 1. The definition of boundary layer for a sliding surface [19].
Applsci 10 05087 g001
Figure 2. Comparison of parameter effectiveness. (a) Φ = 100 ; (b) Φ = 0.1 .
Figure 2. Comparison of parameter effectiveness. (a) Φ = 100 ; (b) Φ = 0.1 .
Applsci 10 05087 g002
Figure 3. Comparison of parameter effectiveness. (a) η = 100 ; (b) η = 0.01 .
Figure 3. Comparison of parameter effectiveness. (a) η = 100 ; (b) η = 0.01 .
Applsci 10 05087 g003
Figure 4. Comparison of parameter effectiveness. (a) λ = 100 ; (b) λ = 1 ; (c) λ = 0.01 .
Figure 4. Comparison of parameter effectiveness. (a) λ = 100 ; (b) λ = 1 ; (c) λ = 0.01 .
Applsci 10 05087 g004
Figure 5. Comparison of parameter effectiveness. (a) α = 10 ; (b) α = 1 ; (c) α = 0.1 .
Figure 5. Comparison of parameter effectiveness. (a) α = 10 ; (b) α = 1 ; (c) α = 0.1 .
Applsci 10 05087 g005
Figure 6. Comparison of parameter effectiveness. (a) Outputs x ˜ ; (b) control input u ˜ ; (c) cost of controls J.
Figure 6. Comparison of parameter effectiveness. (a) Outputs x ˜ ; (b) control input u ˜ ; (c) cost of controls J.
Applsci 10 05087 g006
Figure 7. (a) Free body diagram of the cart and the pendulum; (b) free body diagram of the wheels
Figure 7. (a) Free body diagram of the cart and the pendulum; (b) free body diagram of the wheels
Applsci 10 05087 g007
Figure 8. A block diagram of the overall system.
Figure 8. A block diagram of the overall system.
Applsci 10 05087 g008
Figure 9. The experiment focused on the tilt angle control ( x ˜ = θ ) only, due to the inherit complexity and difficulty in the two-wheel vehicle system (TWVS).
Figure 9. The experiment focused on the tilt angle control ( x ˜ = θ ) only, due to the inherit complexity and difficulty in the two-wheel vehicle system (TWVS).
Applsci 10 05087 g009
Figure 10. Balance response to PISMC without disturbances: (top) angular response; (middle) response of angular rate; (bottom) applied control signals.
Figure 10. Balance response to PISMC without disturbances: (top) angular response; (middle) response of angular rate; (bottom) applied control signals.
Applsci 10 05087 g010
Figure 11. Switching and sliding signal for PISMC without disturbances: (top) history of sliding surface values; (bottom) history of saturation conditions.
Figure 11. Switching and sliding signal for PISMC without disturbances: (top) history of sliding surface values; (bottom) history of saturation conditions.
Applsci 10 05087 g011
Figure 12. Balance response to PISMC with disturbances of sin ( 2 π t ) : (top) angular response; (middle) response of angular rate; (bottom) applied control signals.
Figure 12. Balance response to PISMC with disturbances of sin ( 2 π t ) : (top) angular response; (middle) response of angular rate; (bottom) applied control signals.
Applsci 10 05087 g012
Figure 13. Onboard computer module of the two-wheel vehicle system.
Figure 13. Onboard computer module of the two-wheel vehicle system.
Applsci 10 05087 g013
Figure 14. Attitude sensors: (left) accelerometer; (right) gyroscope.
Figure 14. Attitude sensors: (left) accelerometer; (right) gyroscope.
Applsci 10 05087 g014
Figure 15. Experimental results of TWVS without disturbances: (left) SMC is implemented; (right) PISMC is implemented.
Figure 15. Experimental results of TWVS without disturbances: (left) SMC is implemented; (right) PISMC is implemented.
Applsci 10 05087 g015
Figure 16. Experimental results of TWVS with disturbances: (left) SMC is implemented; (right) PISMC is implemented.
Figure 16. Experimental results of TWVS with disturbances: (left) SMC is implemented; (right) PISMC is implemented.
Applsci 10 05087 g016
Table 1. Parameters used for comparison of cost functions.
Table 1. Parameters used for comparison of cost functions.
Algorithm λ α η Φ
SMC30280.1
PISMC140.0010.1
Table 2. Conceptual comparison between different control laws.
Table 2. Conceptual comparison between different control laws.
AlgorithmProposed PISMCSMCPID Sliding Surface
Sliding Surface s = d d t + λ n 1 e + d d t + α n e d τ s = k d e ˙ + k p e s = k d e ˙ + k p e + k i e d τ
When n = 2 s = 2 e ˙ + ( λ + 2 α ) e + α 2 e d τ s = k d e ˙ + k p e s = k d e ˙ + k p e + k i e d τ
RobustnessThrough k Through insensitivityThrough insensitivity
Parameters tuningSystematicallyEasierComplex
PerformanceBetterFairN/A
Table 3. Time domain specifications.
Table 3. Time domain specifications.
Controller TypeRise TimeSettling TimeOvershoot Time
SMC1.2 s1.3 s0 s
PISMC0.87 s0.97 s0 s

Share and Cite

MDPI and ACS Style

Lin, C.-H.; Hsiao, F.-Y. Proportional-Integral Sliding Mode Control with an Application in the Balance Control of a Two-Wheel Vehicle System. Appl. Sci. 2020, 10, 5087. https://0-doi-org.brum.beds.ac.uk/10.3390/app10155087

AMA Style

Lin C-H, Hsiao F-Y. Proportional-Integral Sliding Mode Control with an Application in the Balance Control of a Two-Wheel Vehicle System. Applied Sciences. 2020; 10(15):5087. https://0-doi-org.brum.beds.ac.uk/10.3390/app10155087

Chicago/Turabian Style

Lin, Chien-Hong, and Fu-Yuen Hsiao. 2020. "Proportional-Integral Sliding Mode Control with an Application in the Balance Control of a Two-Wheel Vehicle System" Applied Sciences 10, no. 15: 5087. https://0-doi-org.brum.beds.ac.uk/10.3390/app10155087

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop