Abstract

In this article, a new nonlinear algorithm based on the sliding mode control is developed for the ball and plate control system to improve dynamic response and steady-state tracking accuracy of the control system. First, a new sliding mode reaching law is proposed, variable exponential power reaching law (VEPRL), which is expressed in two different forms including a nonlinear combination function term and a variable exponential power term, so that it can be adjusted adaptively according to the state of the system by the variable exponential power reaching term during the reaching process. The computation results show that it can not only effectively weaken the chattering phenomenon but also increase the rate of the system state reaching to the sliding mode surface. Moreover, it has the characteristic of global finite-time convergence. Besides, a complementary terminal sliding mode control (CTSMC) method is designed by combining the integral terminal sliding surface with the complementary sliding surface to improve the convergence rate. Based on the proposed VEPRL and CTSMC, a new sliding mode control method for the ball and plate system is presented. Finally, simulation results show the superiority and effectiveness of the proposed control method.

1. Introduction

Sliding mode control is essentially a nonlinear control method with control discontinuity. Due to its superior robustness, low model dependence, and flexible parameters, it has been widely used in many control fields [15]. However, in the actual engineering application process, the chattering problem may cause high-frequency oscillation of the system and cause instability. How to eliminate the chattering problem and improve the convergence rate is still a hot topic in the sliding mode control community. In this line, many research works have been carried out, such as boundary layer method [6], intelligent control method [710], high-order sliding mode control method [11], complementary sliding mode control method [12], repetitive learning control method [13], and reaching law method [14]. The approaching law method can improve the dynamic convergence quality of the approaching process of the system and effectively solve the chattering problem. Therefore, since Gao [15] proposed the exponential reaching law, power reaching law, and constant reaching law, many researchers have also carried out research to study the reaching law and have obtained many novel and improved reaching laws [1620]. In [16], Yu et al. proposed a fast power reaching law, which shortens the reaching time by linearly combining the exponential reaching law and the single power reaching law. In [17], a novel exponential reaching law including the exponential term function of the sliding mode variable is proposed. The exponential term can smoothly adapt to the change of the sliding mode variable and can effectively reduce the chattering phenomenon. By increasing the order of reaching law, in [18], Mei et al. proposed a double-power sliding mode reaching law, which was applied to the robot tracking problem. Although this idea can increase the reaching speed, it did not give a qualitative analysis of the reaching law. In the study of Zhang et al. [19], a multipower sliding mode reaching law was proposed on the basis of double-power sliding mode reaching law with qualitative analysis, which can improve the system dynamic response speed and effectively suppress the chattering phenomenon. In [20], a new discrete reaching law sliding mode control method was proposed for an uncertain discrete-time system, and the quasi-sliding-mode domain was improved by redefining the change rate as the second-order difference of system uncertainties and adopting the continuous-approximate function. Su et al. [21] proposed a complementary sliding mode control (CSMC), which effectively weakened the chattering phenomenon, reduced system tracking errors, and improved the robustness of the system. In [22], a control scheme combining the complementary sliding mode control and Elman neural network, and developed a control of the permanent magnet linear servo motor, has good dynamic response and steady-state control accuracy.

To address the approaching rate of the system tracking error and weaken the chattering problems, a new sliding mode control method is proposed for the ball and plate system in this paper. The main contributions of the paper are summarized as follows. (1) A new variable exponential power reaching law is proposed, which can adaptively adjust the exponential parameter at different stages of the control system response so that the approaching process of the system is accelerated. We prove that it can converge to the equilibrium point in a finite time. (2) Combined with the complementary terminal sliding mode control, a complementary terminal sliding mode control method is proposed, with which the controlled system can have a better dynamic response and control accuracy. (3) Based on the above two methods, we present a new controller for the ball and plate system, which shows good control performance.

2. Design of Variable Exponential Power Reaching Law

The variable exponential power reaching law is designed aswithwhere By analyzing the reaching law stated in equation (1), the reaching law with a variable exponential power term has a strong adaptive ability. is a nonlinear combination piecewise function. By designing appropriate parameters and according to the change of sliding mode variable s, equation (1) is equivalent to the following expression:

When , all terms play the role; thus, reaching law (1) has a higher reaching speed than the double-power reaching law. When , the reaching law becomes a kind of fast power reaching law to ensure that the system state reaches the sliding mode surface in finite time. When or , there is , chatter hardly occurs. Therefore, whether the system is far away from or near the sliding surface,the reaching law can not only reduce the chattering but also have a fast convergence and make the system state from any position to reach the sliding mode surface in finite time.

3. Characteristic Analysis

3.1. Convergence Time Analysis

The existence condition of sliding mode is the premise of the sliding mode control. The motion of the system must tend to switch at the surface s = 0, i.e., the existence and accessibility condition must be satisfied, [23].

Theorem 1. For the system described in equation (1), the accessibility condition is satisfied.

Proof:. A Lyapunov function is considered:Combining with (1), the time derivative of V is given bywhere and then , and the accessibility condition is satisfied. The system state s can reach the equilibrium point .

Theorem 2. For reaching law (1), the system states s and can converge to the equilibrium zero in a finite time, that is, after a finite time.

Proof:. Suppose the initial condition , and the converge process of the system is divided into two stages, namely:(1)The first stage: , in this case, and the reaching law can be expressed asBy integrating the two sides of equation (6), we haveTherefore, the time used for can be obtained as(2)The second stage: , in this case, , and the reaching law can be expressed asBy solving differential equation (10), the time used for can be obtained asIn summary, combining equations (8) and (11), the total time for the system to move from any initial state to the sliding surface is T, which can be calculated byWhen the initial state of the system is , the proof is the same as the above one; that is, the system can reach equilibrium state from any initial position in finite time. Furthermore, according to equation (1), when , it can be got that .

3.2. Analysis of Steady-State Error Bound

When there is an uncertain bounded disturbance in the system, the state variables of the system in equation (1) could converge to a neighborhood of the equilibrium point in a finite time; that is, the system has a ultimate convergence bound.

For this purpose, we consider the following uncertain nonlinear system:

Theorem 3. For system (13), assuming that the uncertain disturbance d is bounded, that is, , then the system can converge to a small set around zero in finite time, and there is a steady-state error bound .

Proof:. Set a Lyapunov function asThen, we haveWhen , we knowTherefore, in equation (16), when , the sliding mode reaching law in this paper can ensure that the state of the system is convergent in the stage of reaching motion.
When , it followsTherefore, when , then . According to reference [25], the system converges in finite time, and the region is a finite-time convergence region, i.e., there exists a steady-state error bound of .

3.3. Comparative Analysis of Convergence Performance

In this section, several reaching laws are employed for convergence analysis and compared with the proposed variable exponential power reaching law (VEPRL).

Consider the following system:where is the control input, is the disturbance, and is the traditional linear sliding surface.

In Figure 1, PRL is the power reaching law [15], ERL denotes the novel exponential reaching law [16], and DPRL indicates the double-power combination function reaching law [24].The parameters of VEPRL are set as ; the form of PRL is , and the parameters are given as the form of DPRL is , and the parameters are given as the form of ERL is , and the parameters are given as when system (18) has no disturbance, that is, , all the initial values are set as .

Due to the different structures of the reaching laws, to a certain extent, similar parameter settings show the convergence performance of sliding mode variable s. When it is far away from the sliding mode surface, the reaching law is a combination of two power reaching laws, which accelerates the approach speed. When nearing the sliding surface, the reaching law is composed of exponential reaching law and power reaching law to ensure that the reaching law can reach the sliding surface in a finite time. By the nonlinear combination piecewise function and the exponential power term to change adaptively at different stages, the reaching law can reach the sliding surface faster. The convergence performance verifies the effectiveness of reaching law (1). From Figure 1, it can be seen that the variable exponential power law has faster convergence characteristics and can reach the sliding surface faster. Similarly, without the interference, the convergence characteristics and performance of other reaching laws can also meet certain requirements.

4. A Simulation Example

4.1. Ball and Plate System Mathematical Model

The ball and plate system is a typical control object in control theory research which can test effectiveness of various control algorithms. The ball and plate system is a underactuated, strong coupling, and multivariable system, it extracts the ball position from camera or touch screen and then gives feedback to the controller, and the controller controls the rotation angle of the motor to adjust the tilt angle of the plate, thus realized trajectory tracking control. This paper takes the ball and plate system as the control object to verify the proposed sliding mode control method.

Assuming that all frictional forces are ignored, the ball is always in contact with the plate; the area and rotation angle of the plate are unlimited, and the ball does not slide on the plate; the plate is symmetrical about the support point in the X and Y axis directions, and the ball revolves around its balance axis.

From Figure 2, according to the Lagrange equation, the state space equation of the ball and plate system is shown in the following equation:where are the mass and radius of the ball, is the acceleration of gravity, are the moment of inertia of the ball and disc, are the torque of the disc in X and Y directions, are the inclination angles of the disc in X and Y directions, and are the coordinates of the ball in X and Y directions.

In this paper, according to the assumption, we will linearize the ball and plate system model (20). The tilt angles and of the disc are selected as the input values and of the ball and plate system. Take the position and speed of the ball in the X and Y axis directions as the state variables of the system, and let ; the state space expression of the ball and plate system is

In the modeling process, some friction factors and some uncertainties are ignored. The uncertainties and the disturbances are introduced into the subsystem. Then, the two linearized subsystems along the x-axis and y-axis are, respectively, expressed as follows:

The X-axis and Y-axis subsystems of the ball and plate system have the same mathematical model. Here, the controller is designed for the X-axis subsystem only. In the following, the proposed complementary nonsingular terminal sliding mode controller with a variable exponential power reaching law is used to realize the trajectory tracking experiment of the ball and plate system.

4.2. Complementary Terminal Sliding Mode Control Based on Variable Exponential Power Reaching Law

Compared with traditional sliding mode control, complementary sliding mode control can effectively reduce system tracking error and improve system tracking performance compared with traditional sliding mode control. However, compared with terminal sliding mode control, when the error is reduced, the convergence speed becomes slower. Therefore, combining complementary sliding mode control and terminal sliding mode control, a complementary terminal sliding mode control is proposed to improve the control performance of the system.

Define the tracking error of the system as , where is the predetermined tracking trajectory of the ball and is the actual trajectory of the ball.

The traditional linear sliding surface is , with , a positive constant. Combining the complementary ideas and the singular problems of traditional terminal sliding mode, this paper proposes a complementary terminal sliding mode controller (CTSMC). The CTSMC adopts the design method of the integral sliding surface and complementary sliding surface .

The integral sliding surface is defined aswhere c is a normal number, , , and both p and q are positive odd numbers.

The derivative of equation (24) along with equation (22) can be obtained aswhere and is the abbreviation of .

The complementary sliding surface is designed as

The sum of two sliding surfaces is defined as , and the following relation can be obtained:

According to the system state equation, the CTSMC control law is designed. is composed of equivalent control law and switching control law , which is expressed as

In order to reduce the chattering of the sign function, the tanh function is used instead of the sign function. Equation (30) is updated as follows:

According to the Lyapunov stability criterion, the Lyapunov function is selected as

Therefore, from the derivation of equation (32), substitute equation (31) into

In the formula, when when . Therefore, the system is stable in the sense of Lyapunov.

4.3. Simulation Results

The mass of the ball , the radius , the moment of inertia , and the acceleration of gravity , External interference . In order to ensure the fairness of comparisons in the simulation, some parameters adopt similar settings, . The control target of the simulation tracking trajectory is selected as a circular curve, and the expression of the curve is

According to equation (34), and have a second-order derivative. The initial position coordinates of the ball are (0.5, 0.5), the initial coordinates of the circular curve are (1, 0), and the simulation time is 2 s.

4.4. Experiment 1: Comparative Experiment of Reaching Law

Using the traditional linear sliding mode surface, the variable exponential power reaching law method proposed in this paper is compared with the double-power combination function approach law approach [24], the traditional power reaching law approach [15], and the new exponential reaching law approach [16]. According to the different reaching laws, the sliding mode controller of the x-axis subsystem of the ball and plate system is designed, and the comparative simulations are completed. The simulation results are shown in Figures 38.

Fast variable exponential power reaching law sliding mode controller (SMC + VEPRL):

Double-power combination function reaching law sliding mode controller (SMC + DPRL):

Traditional power reaching law sliding mode controller (SMC + PRL):

Novel exponential reaching law sliding mode controller (SMC + ERL):

In the reaching law comparison experiment, in the presence of interference, from the comparison of x-axis and y-axis tracking errors of the ball and plate system in Figures 3 and 4, the VEPRL method proposed in this paper has less error. The tracking error of the ERL method does not converge to zero, and the other methods have also good control performance. In Figures 5 and 6, the VEPRL method completes the trajectory tracking faster than the DPRL method at about 0.1 s, while the other methods complete the tracking experiment after 0.15 s. Therefore, the VEPRL method can complete the trajectory tracking faster under similar conditions. From Figures 7 and 8, the proposed reaching law can effectively weaken the chattering problem, while the SMC + ERL control law still has a relatively large chattering problem.

4.5. Experiment 2: Comparison Experiment of Sliding Mode Control Method

In this section, the reaching laws adopt the VEPRL method proposed in this paper. As shown in equation (1). Compare the complementary terminal sliding mode control method proposed in this paper with the traditional terminal sliding mode control (TSMC) method, complementary sliding mode control (CSMC) method, and traditional sliding mode control (SMC) method. According to the different sliding mode control methods, the sliding mode controller of the x-axis subsystem of the ball and plate system is designed, and the simulation comparison experiment is completed. The simulation results are shown in Figures 912.

Traditional terminal sliding mode controller (TSMC + VEPRL):

Complementary sliding mode control (CSMC + VEPRL):

The traditional sliding mode control (SMC + VEPRL) is shown in equation (35).

In the comparison with the sliding mode control method, from the x-axis and y-axis tracking error curves of the ball and plate system in Figures 9 and 10, the proposed CTSMC method has higher control accuracy and can maintain excellent control performance under different initial variables. When the error is large, the CSMC has a faster convergence speed, but when the error is small, the TSMC has a better convergence performance. Moreover, CTSMC + VEPRL control method has smoother steady-state error than other control methods. In Figures 11 and 12, the CTSMC has completed the desired trajectory tracking before 0.05 s, so that the CTSMC method has a faster system dynamic response performance. Therefore, the CTSMC + VEPRL control scheme proposed in this paper has better comprehensive control performance for tracking the circular curve in the ball and plate system control.

5. Conclusion

In this paper, a new variable exponential power reaching law and a complementary terminal sliding mode control method are proposed simultaneously. The characteristic analysis and theoretical proof of the reaching law are given. In the different approaching stages, the proposed reaching law has strong adaptive ability through combining a nonlinear combination function term and a variable power term. It can accelerate the approaching rate of system states far away from the sliding surface and effectively weaken the chattering phenomenon encountered in the sliding mode control. Combining the complementary idea, a complementary terminal sliding mode control is designed. It can make the system reach the equilibrium point with a faster convergence rate and has a better tracking performance. A new sliding mode control method is formed by combining the variable exponential power reaching law with the complementary terminal sliding mode control, which can enhance the dynamic response of the system. Moreover, the new sliding mode control scheme improves the tracking rate and control accuracy of the system. Simulation results verify the rationality and superiority of the proposed method. The proposed control method can be also applied to other nonlinear systems. Further works will focus on verifying the proposed sliding mode control scheme in practical applications.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

Acknowledgments

This work was supported in part by the National Natural Science Foundation of China under grant no. 51665025.