Abstract

This paper aims to design an improved adaptive nonsingular fast terminal sliding mode controller for a fully actuated planar biped robot with five degrees of freedom in the single support (SSP) and double support (DSP) phases in the presence of external perturbation and uncertainties. A new sliding surface was proposed to avoid singularities and the chattering phenomenon. The proposed controller guarantees fast convergence of error signals in finite time. Unlike similar studies, the presented method considers a whole cycle of one step of walking, including SSP, double impact, and DSP phases. Also, the proposed approach does not require a predefined upper limit to estimate uncertainty using an adaptive law. Notably, dynamic walking was preferred over static walking to achieve more similarity to human walking. The designed trajectories were determined according to the position of the waist and swinging legs ankle, which could then be converted into the position of joints using inverse kinematics equations. The simulation results were used to approve the proposed controller's fast and robust tracking performance in the presence of external disturbances, mass, and inertia uncertainties without predefined knowledge of their upper bounds.

1. Introduction

Biped robot control has attracted considerable attention in the last two decades. Compared to mobile and manipulator robots, these robots are tough to control due to inherent instability and dependence on balance and motion control systems. Biped robots also have several advantages: easier negotiation on discrete surfaces, such as stairs, rough, and uneven surfaces, and stepping over obstacles. Biped robots are typically controlled by controllers with specific characteristics. However, uncertainty in robot types and external perturbations, such as sudden forces applied to the robot or overweight and carrying cargo, have degraded the performance of such control systems. Therefore, robust and adaptive controllers have been considered in this regard. In [1], the application of sliding mode control in motion control systems has been reviewed. This method has been investigated in continuous-time and discrete-time systems and high-order forms. A new second-order sliding mode control has been provided in [2], which employed a definite function instead of an upper bound for a constant uncertainty. Regarding this change, a closed-loop system was globally stable and had global finite-time stability. Simulation results for multiple numerical examples demonstrated a suitable performance for this method. The sliding mode controller was combined with the extended state observer (ESO) in [3] to control pneumatic artificial muscles in the presence of perturbation. The design of ESO has compensated for the effect of differences among the model and real system, system uncertainties of the model, and external perturbations. The Lyapunov theory guarantees the convergence of observer and closed-loop stability of the system. The simulation and practical implementation of this method on a muscle with two joints proved its effectiveness.

In [4], the second-order terminal sliding mode method has been introduced to control linear systems in the presence of uncertainty. The method confirmed more accurate tracking and fast convergence to the reference trajectory with no chattering in that study. Simulation of some numerical examples demonstrated accepted effectiveness. The terminal sliding mode controller was used to control a manipulator robot [5]. Unlike conventional methods, this innovative approach involved a finite-time convergence to zero for the tracking error, ruling out the need for an explicit use of system dynamical model. This method has proved effective by simulating a manipulator robot with two degrees of freedom.

In [6], the finite-time sliding mode controller has been used to track reference trajectories of a manipulator robot with two degrees of freedom. The simulation and practical implementation results have indicated its good performance in the presence of external perturbations with no need for additional compensation. A super twisting sliding mode controller was introduced in [7] as a finite-time system to track reference trajectories of a manipulator robot. This method does not need to explicitly use the robot’s complicated model or estimate uncertainties and unmodeled dynamics of the robot. The conventional super twisting method includes an unknown nonlinear function that should be classified into two definite and indefinite categories being hard to perform. The present paper has solved this problem by designing a proper adaptive law for the unknown function. Simulation on a manipulator robot with two joints easily approved the method’s efficacy: a second-order fast terminal sliding mode controller was proposed in [8] for a class of nonlinear systems in the presence of uncertainty. The proposed controller was designed using the Lyapunov theory and the linear matrix inequalities (LMI) in the present study. This designed controller does not depend on model order. It can be easily employed for systems with higher and more complicated orders. The simulation in Chua and Genesio chaotic systems showed this method's satisfactory performance.

The adaptive sliding mode control (ASMC) approach was reviewed in [9]. Various types of divergence, including uniformly ultimate boundedness, asymptotically, and finite-time, were provided to design ASMC. The characteristics of each have then been discussed. In [10, 11], a new ASMC was designed by introducing an integral/exponential adaptation law to reduce chattering and enhance the controller's performance. The sufficient and the required conditions for the proposed controller were also investigated. In [12], the ASMC approach was used to control the position and attitude of a quadrotor with six degrees of freedom. The closed-loop uniformly ultimately stability was also confirmed by the Lyapunov theory. Simulations demonstrated the suitable performance of this method in the presence of uncertainties and external perturbations.

In [13], a sliding mode controller was designed with one adaptive control law without requiring the upper bound of uncertainty and perturbation information. This method was simulated on an electropneumatic actuator. In [14], ASMC has been proposed for unknown nonlinear systems. This method needed no predetermined information about uncertainty bounds. The simulation on a manipulated robot with two degrees of freedom approved the performance. ASMC with no need for a priori bounded uncertainty was designed in [15], which was simulated on the general class of Euler-Lagrange systems.

A terminal sliding mode controller was designed to control a class of nonlinear systems in the presence of uncertainty and perturbation [16]. The perturbation was estimated via an adaptive sliding mode disturbance observer. The subject control law was continuous-time and nonsingular, and stability was provided in the finite-time form. Simulation results exhibited its better performance compared to the conventional sliding mode. In [17], a fast nonsingular terminal sliding mode control with an adaptive law was employed to estimate the boundaries of uncertainties. This method did not need a priori disturbance. Results of simulation on a flexible spacecraft represented proper efficacy compared to other related methods. A fast nonsingular terminal sliding mode control was proposed in [18] to track reference trajectories in mobile robots in the presence of external perturbations and uncertainties.

In [19], the ASMC method was used to control a manipulator robot in the high-order super twisting sliding mode. The results indicated fast adoption and finite-time convergence. The adaptive nonsingular fast terminal sliding mode control was designed in [20] to track reference trajectories for a manipulator robot in the presence of uncertainty and external perturbations. The suitable adaptation law designed for this method ensured a fast and finite-time convergence while avoiding singularity. This method needed no information about the upper limit of uncertainty and perturbation. These values were estimated via an adoption law using measured positions and velocities of the robot. In [21], the adaptive second-order fast nonsingular terminal sliding mode was introduced to control the manipulator robot in the presence of uncertainty and external perturbation. No data about the upper bound of uncertainty was needed. The uncertainty could be estimated online using an appropriate adoption law. An adaptive nonsingular fast terminal sliding mode control was proposed in [22] to track reference trajectories of an underactuated quadrotor. An adaptive integral sliding mode approach was used in [23] to control underactuated autonomous underwater vehicles in the presence of uncertainty. This method uses radial basis function (RBF) neural networks to estimate the upper limit for perturbation and uncertainty.

The researchers proposed an adaptive super twisting terminal mode controller [24] for a particular class of fourth-order systems, in which the upper bound of external perturbations can be obtained using a proper adoption law. This method's simulation and practical implementation on a cart-pol system demonstrated better performance than other available methods. An adaptive super twisting terminal mode controller was utilized in [25] to control a manipulator robot with two degrees of freedom. In [26], the ASMC method was used to control manipulator robots considering time delay. In this regard, the time delay was estimated, and uniformly ultimately bounded stability was guaranteed by fast-tracking but negligible chattering. This method's simulation and practical implementation represented better performance than the conventional ASMC method. In [27], ASMC was proposed to control unknown nonlinear systems in the presence of variable time delay at the input. The control efficacy of this method can be determined using LMI. In [28], a back-stepping integral sliding mode controller was suggested for quadrotor UAVs using iterative learning algorithms. Also, trajectory tracking was proposed for quadrotor UAVs considering the payload [29]. In [30], a robust mixed H2/H with a fuzzy approach was utilized for robot manipulators. Moreover, in [3133], an adaptive fast nonsingular terminal sliding mode control was used for autonomous underwater vehicles (AUVs) and unmanned underwater vehicles (UUVs).

There are many studies about biped robots concerning sliding mode control. In [34], the sliding mode approach was adopted to control a biped robot with five degrees of freedom in the presence of uncertainty in both SSP and DSP states. This controller was also designed in [35] for an underactuated biped robot with five degrees of freedom. In [36], a biped robot with five degrees of freedom was controlled only in the DSP state using the sliding mode control. A biped robot was also controlled in [37] using the sliding mode control. They managed to remove chattering by an innovative method. Simulation results showed robustness against both uncertainties and external perturbations. In [38], an adaptive super-twisting nonsingular terminal sliding mode approach is utilized to control the attitude and latitude of aircraft. However, note that the mentioned method dose does not produce chattering-free signals. An adaptive robust recursive SMC was presented in [39] for attitude control of a quadrotor. In their method, a two-layer sliding surface was introduced with an integral sliding surface and a fast terminal nonsingular one. The complexity and volume of calculation were costly, and the chattering phenomenon was not wholly removed.

The present paper has developed an adaptive nonsingular fast terminal sliding mode controller for a planar biped robot with five degrees of freedom. The main novelty of this paper is fast convergence without chattering for multi-dynamic systems, even switching dynamics. It was made by combining the nonsingular fast terminal sliding mode and a new higher-order sliding mode surface. Furthermore, in the proposed method, the discontinuous term (sign function) was placed in the time derivative of the control input. Thus, there was no discontinuous term in control input and no chattering in tracking error signal. Moreover, the proposed method did not consider the upper bound of uncertainties predetermined. The suggested adaptive control law estimated the unknown uncertainties without knowing the upper limit of uncertainties and external perturbation. Unlike similar studies, the proposed method considers a whole cycle of one step of walking, including SSP, double impact, and DSP phases, to make the obtained model approximate to actual human walking. It has been assumed that the proposed robot walks dynamically, and perturbation is applied to the trunk in the form of overloading. Given the essential instability in biped robots' dynamic walking and smooth movement, it is vital to produce chatter-free signals as fast as possible. Meanwhile, the robot should avoid the singularity problem. Unlike some references using the boundary cortex approaches to reduce or remove the chattering phenomenon at the cost of demeaning system robustness (reviewed in the introduction), in this study, the discontinuous part (sign function) is involved in the time derivative of the suggested control signal. Hence, the real control law after integral is continuous; therefore, the signals have no chattering without touching the tracking performance.

The designed reference trajectories were determined based on the dynamical stability of the robot based on the position of waist and ankle of the swinging leg at both SSP and DSP states. They were converted into the joints' position using inverse kinematics equations. The reference trajectories are designed as well in order to always keep zero moment point (ZMP) in a stable region. Thus, ZMP has always been placed in the support polygon of the robot with respect to dynamical stability confirmation. This designed controller has been able to track reference trajectories of robot joints at both SSP and DSP phase with a proper and fast convergence velocity, without chattering and in a robust manner, even while velocities are suddenly changed in transition from SSP to DSP dynamics. Based on the designed adoption law, the proposed method does not require knowing the upper limit of uncertainty as a predetermined value, which can be estimated online. Using a new sliding surface and developing a new control inputs definition, fast convergence in finite time with avoidance singularities and chattering behavior is guaranteed. The simulation results easily approved an appropriate performance for the proposed method in dynamic walking of robot in the presence of uncertainty and external perturbation. Despite its many advantages, the proposed method has a larger computational volume than a similar non-adaptive method. Nonetheless, this approach is less complicated than methods using different observers to estimate unknown terms (disturbance or uncertainty) with unknown upper bounds.

In this paper, Section 2 discusses the dynamics of a biped robot involving SSP, DSP, and double impact phases. Section 3 examines motion planning. Section 4 describes the design of an adaptive nonsingular fast terminal sliding mode controller in detail. The simulation results have been provided and analyzed in Section 5. Finally, Section 6 presents the conclusions.

2. Biped Robot Dynamics

The characteristics of human motion are mostly expressible in a five-link planar robot. The selected robot has minimum degrees of freedom and can excellently simulate humanized behaviors. The five-link robot contains one trunk with two legs, each leg containing thigh and shank. Assuming a low mass for the link of feet, the degree of freedom will not increase. The main task of feet is to apply torque at the ankles area, exert a force to detach the heel, and play a supportive role during the motion. The mass-free link for feet makes it possible to insert the torque applied to the ankle of the supporting leg into the dynamics. The force for detaching the leg from the ground at feet can also be modeled with the sudden force or forces constrained to tips. The intended five-link robot in this study contained two thighs and two shanks, and two mass-free links for feet. The robot comprised a joint at hips, two joints at knees, and two joints at ankles. Each joint has a torque actuator. All joints could only rotate on the lateral plane at the DSP state. The torque was only implemented in the front ankle, and the rear ankle could rotate freely. It was assumed that the torque between feet and the ground sufficed to prevent slippage during walking [4043]. Figure 1 illustrates the schematic representation of the robot.

To achieve kinematics, the biped robot was considered as open-loop chained links with the starting point from the supporting leg and ending at a free point, similar to a manipulator robot. In this regard, the kinematics and dynamics equations of the robot were simplified, and the computation time was reduced. The position and velocity of the swinging tip were obtained from the following equations considering Figure 1:where and stand for mass and length of the link , is the distance between center of mass of the link to the joint , is the inertia of the link around an axis passes through center of mass of the link perpendicular to the lateral plane, and is the angle of the link with the vertical axis. and also represent coordination of supporting leg tip and swinging leg tip , respectively. In the following, robot dynamics is obtained in SSP, DSP, double impact, and leg transpose matrix states.

2.1. Single Support Phase

The single support phase refers to the state where one leg is placed on the ground as support and another leg moves from back to the front, starting when the swinging tip leaves the ground, continuing until it reaches the ground. The point that the supporting leg contacts the ground is assumed a constant position. The robot dynamics is then calculated at the SSP state using the Lagrange method [42, 43]:where is the positive definite and symmetric matrix of inertia and is a matrix involving the terms of Coriolis and centrifugal forces of the robot. is a vector involving terms related to the gravity force felt by the robot, while , and are also vectors for position, velocity, acceleration, and torque of the robot, respectively.where , , and are defined as below and :

2.2. Double Support Phase

Both legs are placed on the ground in the double support phase state, and the trunk can move forward moderately. This state begins when the swinging leg touches the ground ending with the rear leg detaching from the ground. Since both legs are fixed on the ground in this state, some constraints were incorporated into the robot dynamics, known as Holonomic constraints [42, 43]:where is the distance between the tips of the robot. Then, in order to be applied in the dynamic derivation, they are differentiated twice concerning time; thuswhere is a Jacobian matrix.

Using the Lagrange equation and Lagrange coefficients, the robot dynamics in the DSP state would bewhere , and are like terms expressed previously and is a vector containing Lagrange coefficients. Next, was obtained from constraint conditions of the model. Considering the Jacobian not to be a square matrix, calculating the multipliers directly was impossible. In this regard, were multiplied by both sides of the DSP equation:

Herein, : thus, is invertible due to being a matrix and positive definite, as well as being of rank 5 surrounding the operating point. Now, can be calculated. is the pseudo-Jacobian matrix. In cases with unavailable invertible Jacobian matrices, it would help solve inverse kinematics. Finally, below are the DSP dynamic equations:

For more details, see [42, 43].

2.3. Impact Mapping

As soon as the robot leg contacts the ground, the impact occurs momentarily. Impacts make the velocity of robot joints change immediately. The impact can occur in different forms depending on the robot dynamics, materials employed for robot links, and roughness of the ground surface. Conventionally, the impact is assumed to occur between two rigid masses as a plastic impact within an insignificant time. The impact can occur at both single or double support phases. Single impact occurs when the supporting leg detaches from the ground just when the swinging leg reaches the ground. The supporting leg is still on the ground in the double impact when the swinging leg touches the ground. The present study has considered double impact cases. The impact can be assessed based on Newton’s impact theory and the survival principle of linear and angular momentum for impact and torque. Assuming that velocities of contact points are zero immediately after impact and these two points do not slip or move up, the impact map for the intended biped robot can be expressed aswhere and are velocity vectors before and after the contact time, respectively, and is the velocity of the swinging leg tip just before the contact time. As an assumption, the position vector does not change under the influence of impact.

2.4. Transformation Mapping

The motion starts from the double support phase, followed by the single support phase. When the swinging leg reaches the ground, the single support phase ends to map the impact, and the double support phase starts subsequently. Therefore, the robot has stepped down once. After the single support phase, the robot enters the double support phase. The cycle is repeated. Accordingly, the supporting leg at the previous phase switches to the swinging leg, and the swinging leg at the previous phase switches to the supporting leg in the new step. Robot dynamics equations are not changed in the new step, but a change can be observed in the role of joints and links. In this regard, a transformation is needed to express variables of the new step in terms of previous variables. The mapping would be thenwhere is a vector for initial variables of the new step, which is transformed to , the vector of robot variables at final moment in the previous step, just after impact mapping [42, 43].

3. Motion Planning

Designing the trajectory is a crucial step in developing biped robot motions. During the movement, the trunk has a balance, and the movement of the thigh ending directly and horizontally influences the maintaining of the dynamical balance of walking substantially. Several important issues related to trajectory design have been addressed in previous research. Most related studies focus on trajectory design within SSP, putting less emphasis on DSP. DSP motion has an essential role in fast motion and balance maintenance. Furthermore, motion plans should contain both SSP and DSP states: this smooth trajectory design eliminates impact-driven velocity changes. It also helps select trajectory design parameters to maintain stability [42, 43].

is the time for DSP and represents the time for movement in the SSP phase. The role of rotating and stance limbs is exchanged during walking. Regarding real human walking, the movement of the trunk remains directly upturned or swings directly around a specific point. It has been recommended to consider for both SSP and DSP states. Herein, the main task is to combine the motion of lower limbs. To satisfy the real walking equations, it is natural that initially the trajectory is designed for the rotating limb tip (foot), followed by designing a trajectory for the thigh. The final coordination of limbs has been exhibited in the form of vector relative to the absolute coordinate. The polynomial functions for the final point are expressed as follows:

Equations of these constraints have been obtained according to conditions of trajectory design. Four major values denote the motion of a biped robot: the step's length , the SSP time period , the maximum height of rising the leg , and its position , as well as the time needed to reach the maximum height . These values are designed based on motion demands, while other values are designed following the demand for repeatability and continuity. These constraints are as follows:(1)Geometrical constraints: the robot’s feet should initially leave the ground and ultimately contact the ground again .(2)The maximum height of rising the leg: feet must have a distance from the ground to avoid any impact during walking.(3)Motion repeatability: the initial state and velocities must be equal at the end of each step in DSP. Also, the initial and final steps should be equal for state repeatability. Therefore, robot feet touch the ground and remain fixed during DSP. The repeatability of velocity in the next cycle would be achievable when the initial velocity of feet remains zero in both vertical and horizontal directions.(4)Motion continuity: the final state of SSP and the initial state of DSP should be continuous. To foster the conditions for continuity, the velocity of the final point should reach zero immediately. However, the impact occurs when the robot’s feet touch the ground leading to a sudden change in the joint angular velocity. The lower velocity at the final point causes a lower impact. Assuming the velocity of the final point before the impact is equal to zero, a sudden jump in the angular velocity is omitted, leading to . These equations can be used in polynomials to solve unknown terms and conduct a repeatable motion with no effect from the impact.

The thigh movement has a considerable effect on the stability of the biped robot. The trajectory design for the thigh has been performed separately for SSP and DSP with coordination of and , respectively.

The next section presents the case in which there are some constraints imposed on the position of the thigh at the start of SSP () and DSP () and the time of motion in SSP (), and the height of the thigh (). Herein, the motion is stable during DSP in addition to continuity and repeatability. Constraining cases are as follows:(1)Vertical thigh movement: one characteristic of the movement in biped robots is the insubstantial vertical movement in the robot's center of mass which requires decreasing thigh vertical movement. and were considered to be constant during the motion in order to motion simplification .(2)Motion repeatability: it is maintained when the known triangle of the thigh and two ending limbs are the same at the start of SSP and end of DSP. Thus, the velocity of the thigh must be constant at both the beginning and end of each walking step. The following equations must then be observed:where is the velocity of the thigh at the beginning of each step.(3)Motion continuity: design of the thigh trajectory must be continuous along the motion trajectory. Horizontal velocity and position of thigh must be the same at the start of SSP and end of DSP.where is the velocity of the thigh at the end of each step.

The joint angle profile can be determined using the thigh and shank motion trajectory design and the biped robot kinematics model [42, 43].

That would be for SSP:and for DSP:

It should be noted that the joint angles are considered limited as , where numbers are based on radian.

4. Adaptive Nonsingular Fast Terminal Sliding Mode Controller Design

4.1. ANFTSM Design for SSP

The SSP dynamic equation for a biped robot can be written aswhere , , and . Nominal values are , , and , and perturbations of the system are represented by , , and . is also the torque vector for the external perturbation. Now, the system defined in (22) can be expressed aswhere the lumped disturbance; i.e., includes system perturbations and the external disturbance.

The present paper designed a robust controller to achieve fast convergence and precise tracking. Accordingly, system (27) has been considered by imposing the following conditions.

Assumption 1. The inertia matrix is bounded at all still in the presence of uncertainty.

Assumption 2. The upper bound for the lumped perturbation iswhere are positive unknown constants.
If is the intended vector of position, the tracking error and its derivatives are and , respectively; thus. Applying Assumptions 1 and 2 in (24) leads towhere are positive unknown constants. Herein, the robust controller of the system (23) was designed to investigate the reference trajectory tracking. Firstly, a nonlinear fast terminal sliding mode surface must be considered:Positive constants of are used while observing and . The derivative of (27) concerning time would beThe control law of joint torque consists of two terms: the equivalent control and auxiliary control.With and , (32) might lead to while deals with perturbations and system uncertainties. Both and designing are represented in the following:where and are small positive constant and positive definite matrix, respectively. represent the estimates of with the following adaptive laws:Herein, are positive constants.

Theorem 1. For the unknown nonlinear SSP dynamic (27), the sliding mode surface can be attained in finite time by tracking error dynamics, followed by asymptotic convergence to zero through a nonlinear fast terminal sliding mode (31), control laws (33) and (34), and the adaptive law (35).

Proof. Adaptation error can be defined as and according to the following Lyapunov function candidate:The time derivative of would beNow, (32) is substituted into (37) to obtainThis derivative can be revised through substitution of error dynamics (29) and adaptive control laws (33) and (34) into the above equation:Update of laws (35) leads toNow, (36) can be simplified asUsing (26) leads to the following inequality:As occurs only when is satisfied, using Barbalat’s Lemma, it is concluded for and only for . Thus, the Lyapunov stability theory guaranteed the asymptotic convergence of system states toward the sliding surface.
In Figure 2, the control diagram of the proposed method is shown.

Remark 1. In order to show that the proposed controller has provided finite time, Lyapunov candidate has been considered and by (42): If holds. Step 1: by using , we have such that , , which leads to , . Step 2: otherwise, there is such that at least one and , that leads to , , . Then, we can use Step 1 or Step 2; thus, at last in as finite time. If for at least one of , one has , , that is, . As for like to previous procedure it can obtain . Thus,where . Ultimately, there exists such that if , then , and if , then . Thus, finite time can be provided by the proposed controller.

4.2. ANFTSM Design for DSP

The DSP dynamic equation for biped robot can be written as

Considering the definition for ,

The above relation can be rewritten as

So that

Finally, (47) can be written aswhere

Therefore, can be obtained in DSP state:

We have and . Thus, it can be assumed thatwhere are positive unknown constants. The designs of and are then expressed as

have the estimates with respective adaptive laws as

Theorem 2. For an uncertain nonlinear DSP dynamic (45), the sliding mode surface can be attained in finite time by tracking error dynamics, followed by asymptotic convergence to zero through a nonlinear fast terminal sliding mode (31) as well as control and adaptive laws of (49) and (50), respectively. Proof of this theorem is the same as Theorem 1.

Remark 2. For real applications, the control performance has been limited significantly due to significant difficulties deduced from the control engineering point of view: (i) recognizing the system model and determining the upper bound for the dynamical system uncertainties, (ii) the presence of system uncertainties as well as external perturbations, and (iii) the feasibility of control inputs. The proposed control scheme has required no detailed information about system dynamics and predetermined upper bounds. Additionally, the ANFTSM control with good efficacy has ensured robustness against perturbations and uncertainties. More importantly, real adaptive algorithm implementations of Theorems 1 and 2 are required to access position and velocity states for feedback. In the robot manipulator, each joint has been then equipped with a motor, an encoder, and a tachometer to provide input torque, measure joint position, and measure joint velocity, respectively. Therefore, practical implementation can be feasibly performed via control inputs with no harmful oscillation, namely, chattering. Consequently, the proposed controller has been promisingly suitable, particularly in practical applications, as shown in the next section.

Remark 3. Increasing and increased the effect of tracking error while increasing and intensified the effect of the time derivative of tracking error in the sliding surface. Thus, it should be a tradeoff between the weights of the tracking error and its time derivative. Furthermore, in adaptation law, with increasing the speed of adaptation increases as well as the overshoot. Thus, it should be a tradeoff between a smooth and fast adaptation.

5. Simulation Results

This section presents the simulation results of ANFSM on the biped robot. The robot parameters are shown in Table 1.

The uncertainties in mass and inertia were considered 20% as . Also, the robot carried a cargo suddenly at so, for . For external disturbances, a sudden force as was considered for torso link at . Parameters of motion trajectory were as , and the robot's velocity was 1 m/s. The initial conditions have been considered as . Using inverse kinematic, the initial conditions of joints and angles have been calculated as and . The design parameters of the controller are shown in Table 2.

Figures 24 show the joint angles, tracking errors, and angular velocities. The angles could track their trajectories, and the tracking errors were tolerable with the existing uncertainties and external disturbances. Figure 5 displays the dynamic walking of the biped robot. The robot could walk at 1 m/s speed with guaranteed balance. Figure 6 shows the hip position in x and y directions. The hip moved very smoothly in the x-direction. The error of hip in y-direction was less than 1 cm. Figure 7 demonstrates the swinging leg position. The hip tracked its trajectories in x and y directions with negligible error. The sliding surfaces are shown in Figure 8. The surfaces were converged to zero fast enough. The joint torques are shown in Figure 9. All torques were within their allowable limits. Also, in Table 3, the integral square errors and torques are shown.

6. Conclusion

The present study has proposed an adaptive nonsingular fast terminal sliding mode control approach to control and maintain dynamic walking stability in a biped robot. The intended robot was a five-link planar robot to be examined under the uncertainty at both SSP and DSP states and external perturbations such as overloading and sudden impacts. The upper bound of uncertainty can be estimated online through designing an adoption law instead of using a predetermined value for this parameter. The proposed controller confirmed fast, robust, and stable tracking of the biped robot's dynamic movement on a smooth surface. Regarding three SSP, DSP, double impact states, and fast movement, robot behavior was closer to human behavior. The designed reference trajectories also confirmed the ZMP stability and maintained continuity. Simulation results proved the method's suitable performance in fast and robust tracking of reference trajectories of joints in the presence of uncertainty and external perturbation without predefined upper bounds.

In future research, three-dimensional movements and dynamic obstacle avoidance will be investigated. The time delays of control inputs will be added to the dynamic model, and the proposed method will be adapted against delays.

Data Availability

No data were used to support this study.

Conflicts of Interest

The authors declare that they have no conflicts of interest.