Stick–Slip Suppression in Drill String Systems Using a Novel Adaptive Sliding Mode Control Approach

: A novel control technique is presented in this paper, which is based on a first-order adaptive sliding mode that ensures convergence in a finite time without any prior information on the upper limits of the parametric uncertainties and/or external disturbances. Based on an exponent reaching law, this controller uses two dynamically adaptive control gains. Once the sliding mode is reached, the dynamic gains decrease in order to loosen the system’s constraints, which guarantees minimal control effort. The proof of convergence was demonstrated according to Lyapunov’s criterion. The proposed algorithm was applied to a drill string system to evaluate its performance because such systems present variable operating conditions caused by, for example, the type of rock. The effectiveness of the proposed controller was evaluated by conducting a comparative study that involved comparing it against a commonly used sliding mode controller, as well as other recent adaptive sliding mode control techniques. The different mathematical performance measures included energy consumption. The proposed algorithm had the best performance measures with the lowest energy consumption and it was able to significantly improve the functioning of the drill string system. The results indicated that the proposed controller had 20% less chattering than the classic SM controller. Finally, the proposed controller was the most robust to uncertainties in system parameters and external disturbances, thus demonstrating the auto-adjustable features of the controller.


Introduction
Sliding mode controllers (SMCs) are advanced control methods that are widely used in uncertain systems with external disturbances that satisfy a matching condition [1].As a variable structure control method, SMCs utilize a discontinuous control law that enables the closed-loop system to converge in a finite time.SMCs have gained significant attention from researchers because of their robustness to parameter variations and external perturbations [2,3], which makes them an attractive scheme for controlling different kinds of systems [4].It has been used in different research fields such as power electronics [5], power systems [6], electromechanical systems [3,7], biological economics [8], the space industry [9], robotics [10], and drilling systems [11,12].Despite the successful use of SMCs, it has some drawbacks [2].In fact, prior knowledge of the upper bounds of the uncertainties and external disturbances is necessary for designing a sliding mode (SM) controller.These upper bounds are poorly known; generally, their values are overestimated in order to compensate for their effects.However, overestimation of these bounds can lead to excessive gains.In contrast, frequent switching of the control gain can lead to the chattering phenomenon, especially for first-order SMCs because of the discontinuous switching law.This harmful phenomenon is undesirable because it causes energy losses and damage to the system's components, and reduces its lifetime.Various methods have been studied to address the issue of chattering.Several artificial intelligence-based techniques have been applied to the SM technique [13,14], such as fuzzy rule-based algorithms that result in smooth dynamics when the system is near the switching region.Other techniques include the use of high-order SM controllers to reduce chattering.The authors of [15] proposed a second-order SMC for the control of robot manipulators that showed good tracking performance with minimal chattering.However, prior awareness of the upper limits of the uncertainties was necessary for implementing the proposed controller and it also needed information about the successive derivatives of the sliding surface.In [16], the authors implemented a super-twisting algorithm for controlling a four-rotor helicopter.The studied control algorithm managed to reduce the chattering phenomenon taking into account modelling imprecisions and external factors.The authors in [17] combined the fractional-order nonsingular SMC, the super-twisting SMC, and a double-loop fuzzy neural network algorithm for controlling a micro-gyroscope with unknown uncertainties.The proposed controller had the advantage of the fractional order controller, which improved the flexibility of the control and the super-twisting algorithm, and, thus, effectively solved the chattering problem.In [18], the authors presented a sliding mode control (SMC) method that utilizes a double-hidden-layer recurrent neural network with fuzzy logic to regulate a single-phase active power filter.The proposed algorithm guaranteed the control of the active power filter with great precision.However, the definition of the fuzzy rules was very complex, and the controller's performance depended directly on the number of fuzzy rules implemented.An experimental investigation of a recurrent neural network fractional-order SMC applied on an active power filter was provided in [19].The experimental outcomes confirmed the efficiency of the proposed control algorithm regarding the robustness and compensation performance compared with the standard neural SMC.However, the main disadvantage of the proposed algorithm was that it required much more data than traditional machine learning algorithms.With the exception of the super-twisting algorithm, higher-order sliding mode (SM) algorithms are only suitable for systems with a relative degree above one.One way to effectively reduce chattering and eliminate the need for a priori knowledge of uncertainty bounds is by defining dynamic SM controller gains with respect to the sliding surface.
Different adaptive SMC schemes have been proposed in the literature.To address the issue of chattering, the authors in [20] developed an adaptive SMC strategy for controlling a micro-AUV in the presence of water currents and parametric uncertainties.In [21], the authors designed an embedded flight controller based on the adaptive SM technique.Both of these previous studies investigated similar algorithms for adaptive gains based on indexreaching laws.Depending on the sliding surface, the dynamic gain was defined either by a constant that set the minimal value of the gain or by an expression containing the sign function of the sliding variable multiplied by the rate of adaptation.Both control strategies demonstrated the ability to effectively track the desired velocity within an acceptable time frame.Nevertheless, the proposed controllers lacked experimental validation to confirm their efficacy.The authors of [22] proposed an adaptive form of the controller proposed in [18].The proposed adaptive sliding mode control demonstrated superior compensation performance and tracking accuracy when compared to the basic SMC.The authors introduced two first-order adaptive sliding mode controllers that employ constant reaching laws.The gain dynamics of the first controller included a low-pass filter to obtain the average of the sign function when the sliding region had been reached, and a constant reaching law to ensure convergence to the SM.If this filter is not properly adjusted, it may distort the signal, for example, through loss of information by attenuating magnitude.However, a phase shift is inevitable with a low-pass filter.To avoid the use of such a filter, the second control law is defined by a dynamic gain involving the sliding surface's absolute value.The authors of [23] used an adaptive gain similar to [1].However, the discontinuous control law included the sliding surface term without any functions, including the sign function.The authors of [24] proposed a second-order SM controller in which the gain gradually increased until the SM had been reached.However, the gain of the proposed algorithm never decreases, which can result in an overestimation of the gain and more chattering.The authors of [25] proposed a higher-order adaptive SM controller.This approach featured a unique dual-layer structure that relied on the application of equivalent injection principles and necessitated the existence of the first and second derivatives of the uncertainty.In [26], the authors investigated an adaptive SMC based on an exponentialreaching law.A simple adaptation scheme based on a single adaptive gain was used as an adaptive law for the controller gain.The controller showed great robustness to parameter uncertainties and external disturbances.Yet, a considerable amount of fluctuation remained at the bit velocity when applied with measurement noise.
It is important to note that inadequate estimation of either the uncertainties or the external disturbances results in more chattering and minimizes the robustness of the controller.For complex systems, such as drill strings, the uncertainties and external perturbations are significantly hard to predict since they are directly related to several factors such as the operating mode and condition.However, adapting the SM controller gains makes it possible to ensure a SM that is independent of these upper bounds.In this paper, a new adaptive SMC design is proposed to tackle the uncertainties and disturbances in a system that needs to be controlled, without prior knowledge.Various simulations were carried out to test its ability to reduce torsional vibrations while maintaining good tracking performance, and also to test its robustness regarding some parametric uncertainties.We also evaluated its performance under different operating conditions and external perturbations.The novel adaptation law proposed in this paper is distinguished by the utilization of two dynamically adapted gains that are inversely proportional to the sliding variables.The new adaptive scheme can make the system converge rapidly in a finite time and can reduce the chattering phenomenon in the traditional SMC.The proposed reaching law guarantees that the control constraints on the system will be minimal since both gains decrease once the SM has been reached.However, the proposed controller can be effectively implemented, ensuring good performance even in the presence of external perturbations and across diverse operating conditions.This paper makes the following contributions to the literature: 1. Design of a novel adaptive SMC with first-order dynamics, without requiring advance information of the uncertainties and external perturbations' upper bounds, thus significantly decreasing the chattering phenomenon while enhancing the controller component's lifespan; 2.
Application of the proposed controller to a drill string system under various operating regimes.

3.
Comparative study of the first-order SM adaptive and proposed controllers.It includes a data analysis and a discussion to evaluate the performance of the proposed controller in comparison to the ones presented in the literature.
The structure of this paper can be summarized as follows.Section 2 provides the design strategy of the proposed controller along with a demonstration of its finite-time convergence via Lyapunov's direct method.Section 3 describes the application of the proposed controller to a drill string system.In Section 4, the simulation results and an evaluation of the closed-loop system's performance are discussed.Finally, the conclusions are presented in Section 5.

Control Strategy
This section provides a detailed description of the design process for the proposed adaptive sliding mode controller.The goal of this paper was to design an adaptive SMC with an interesting exponent-based convergence law.The novel scheme ensures dynamically adaptive gains, resulting in fast and precise convergence.

Problem Statement
Let us suppose a nonlinear system that includes external disturbances, which can be presented as follows: where A and B are input matrices, C is defined to have y(t) ∈ ℜ. u(t) ∈ ℜ is the control input, x(t) ∈ ℜ (n) is the state vector, and d(t) presents the bounded external perturbations satisfying ||d(t)|| < L where L > 0 is the upper limit of the disturbance.Note that the system mentioned in Equation ( 1) has a relative degree that is equal to one.The main target of the controller is to force the output of the system y(t) to follow a desired value y d (t), which means that the error presenting the deviation from the desired trajectory can be written as follows: If e(t) reaches a small value (i.e., e→0), the controller's objective is achieved.The sliding surface term can be presented as follows: Substitution of Equations ( 1) and (2) into Equation (3) results in: As previously stated, let us suppose that the sliding variable s has a relative degree of 1 with respect to the control input.The expression for the first derivative of the sliding surface described in Equation (4) can be expressed as follows: It is assumed that the functions ψ(x(t)) and γ(x(t)), which belong to the set 'ℜ', are uncertain and can be expressed as follows: where the nominal known functions are ψ nom (x(t)) and Γ(x(t)) and ∆ψ(x(t)) and ∆Γ(x(t)) present the uncertainties terms.We also assume that ψ nom (x(t)) and Γ(x(t)) are limited in the following manner: where ψ M , Γ m and Γ M are the bounds of ψ(x(t)) and Γ(x(t)), respectively.These bounds are supposed to exist but are not known.According to [25], the sliding surfaces for a given system must be defined as the following set with ρ > 0 being the upper bound of s:

Design of the Proposed Controller
The control law must be chosen so that the sliding surface, s, approaches zero in finite time.The control input u is expressed as follows: The equivalent control u eq can be obtained by solving ṡ = 0, while u disc represents the controller's discontinuous component.The adaptive SMC proposed in this study can be expressed as follows: where The two equations defining the dynamic gains of the controller depend on the switching conditions given below: The positive constants b, δ, µ 1 , and µ 2 , and the small positive constants α << 1 and a << 1 are used in the following equations.At the initial time, t = 0, the value of k1 (0) should be greater than α to ensure that k1 (t) remains positive.
The dynamics of the gains ensure that the adaptive gains decrease once the SM has been reached.The control law described by the system of Equation ( 12) imposes few constraints on the controlled system.A general diagram of the proposed control law is shown in Figure 1.Remark 1.In the work of [26], the authors investigated an adaptive SMC based on an exponentialreaching law.A simple adaptation scheme based on a single adaptive gain was used as an adaptive law for the controller gain.The controller showed great robustness to parameter uncertainties and external disturbances.Yet, a considerable amount of fluctuation remained at the bit velocity when applied with measurement noise.The proposed control schedule in this paper includes a real-time update of both gains (k 1 , k 2 ) of u d isc.Therefore, it proposes an adaptive switching control based on the exponent reaching law.The adaptive update of the controller gains allows the controller to maintain good performance even when there are external disturbances or uncertainties in the system's parameters.This update also eliminates the need to reset the controller gains every time the operating conditions change.In this paper, the use of the absolute value of the sliding variable in the adaptive behavior, which was added to the classic scheme, improves the controller performance even for one operating condition without considering any perturbations/uncertainties.Compared to the work in [26], both adaptive gains in the convergence region increase quickly to a large value to counteract any disturbances.Then, the dynamic gains decrease until small values at the sliding region.Hence, it is possible to further reduce the problem related to the chattering phenomenon.

Proof of a General Convergence
This section employs Lyapunov's direct method to prove the convergence of the closed-loop system.Lemma 1.The proposed controller, given by Equation (11), and implemented on system (1) with dynamic gains defined by Equations ( 12) and ( 13), ensures that the gain k1 (t) is upper-bounded by a positive constant k1 , as demonstrated below.
Proof.If we take the first derivative of the sliding surface presented in Equation ( 5) and the controller described by Equations ( 11)-( 13), the candidate Lyapunov function is chosen to be [26]: The derivative along the trajectory of the function V(t) is given by the following: Substituting the expression of s, as defined in Equations ( 6) and ( 15), can be rewritten as follows: Equation ( 11) can now be substituted into Equation ( 16), yielding the following: Adding and substituting the term Γ m k1 (|s| 1/2 − a|s|) gives the following: After simplification, this gives the following: Let us define a positive constant β.In this case, we have the following: If the following two conditions are satisfied, then the derivative of the Lyapunov function V(t) is negative, as follows: The first assumption, a < 1/|s| 1/2 , is a direct consequence of the selected value for the constant a.As for the second inequality in Equation (24), two scenarios can be examined: Thus, the condition can be written as follows: where µ 1 and µ 2 are the main parameters of the proposed controller.Tuning them is carried out as follows: To ensure that k1 (t) stays positive, it is important to choose a small value for µ 1 , such that the initial value of the proposed gain at t = 0, k1 (0), is greater than α.A small value of µ 2 must be chosen, as this represents the value of the dynamic gain when the system stabilizes at the sliding region.The selection of the control parameters was done through a trial-and-error process to achieve a balance between the rate of convergence and the magnitude of chattering in the system.Moreover, a small value of b must be chosen to reduce the instant overshoot caused by the gain dynamics.

Drill String Application
A drill string system is composed of various components including a rotary table, drill pipes, drill collars, and a drill bit (see Figure 2).The rotary table generates the driving torque, which is then transmitted through the drill pipes to the drill bit for rock-cutting purposes [27].To understand the structure of a drill string system, it can be divided into three parts: the surface, middle, and bottom [12].The surface part includes the rotary table that is controlled by a regulator to maintain precise and robust drilling speed.The middle section contains the drill collars and drill pipes, which can span over several hundred meters to several kilometers.The bottom section consists of the drill bit that is tasked with overcoming the complicated and nonlinear bit-rock interaction, which can sometimes involve time delays.The rotary motion generated by the rotary table is transmitted to the drill bit through the drill string.In addition to transmitting the rotary motion, drill strings also provide the necessary weight on bit (WOB), which aids in the drilling process [28].The system's interaction with the borehole results in various unwanted oscillations, including the stickslip phenomenon, which is a severe form of torsional vibration that causes the drill string to stop rotating and then periodically rotate freely [29].The main cause of this particular vibration is the highly nonlinear torque applied on the bit.This nonuniform rotation can reduce the drilling efficiency or even damage the drill string components [27].Moreover, drill strings' parameters vary depending on the operating modes and conditions [30].For example, it is very challenging to know the correct stiffness and damping of the drill pipes.Moreover, the WOB varies, depending on the type of rock being cut.This always makes the drill string system susceptible to external perturbations [12].The objective of this study is to evaluate and confirm the effectiveness of the controller in eliminating the stick-slip occurrence, regardless of any external disturbances or uncertainties in the system's parameters.

Mathematical Model of the Drill String
There are various modeling techniques available to simulate the behavior of a drill string system numerically, such as those discussed in [31,32].For pure torsional studies in particular, lumped parameter modeling has been widely used in the literature to assess stick-slip behavior [33,34].In this study, a model with four degrees of freedom (4DOF) has been considered that includes the four subsystems described in Figure 2 [35].The model used in this study is based on three main assumptions: (i) Only torsional vibrations are taken into account, (ii) the drill string is assumed to be vertical, and (iii) all drill pipes have the same inertia.
The dynamics of the torsional vibrations are described by the following equation [35]: where J dt , J pi , J co , and J bi are the moments of inertia of the top drive, drill pipes, drill collars, and drill bit; φ dt , φ pi , φ co , and φ bi are the angular positions of the top drive, drill pipes, drill collars, and drill bit; k pi , k co , and k bi are the torsional stiffness of the drill pipes, drill collars, and drill bit; and c pi , c co , and c bi represent the torsional damping of the drill pipes, drill collars, and drill bits.We can now define a state vector x(t) as follows: Using Equation ( 27), the system can be written in the following form [34]: The system presented in Equation ( 28) can be expressed in state space form as follows [34]: Here, the matrices A, B, C, and D have dimensions of 7 × 7, 7 × 1, 1 × 7, and 7 × 1, respectively.The matrices can be expressed as follows: The torque on the bit must accurately reproduce the reaction of the borehole to the bit.The well-known models of Stribeck and Karnopp [36,37] are generally used for presenting bit-rock interactions.Both models have shown good results, but Karnopp's model has an advantage in reproducing friction at the bit level due to its continuity at zero velocity, unlike Stribeck's friction model.The Karnopp's friction model can be expressed as follows: The maximum friction torque is denoted as T a = µ a WOB R, and the sliding friction torque is represented by T 0 = µ 0 WOB R. The parameter ∆w is used as a threshold value between static and sliding friction, while ξ denotes the rate of decline in friction torque.
In the field, drill strings are generally driven by motors with a nominal velocity (vm) that can reach 1500 RPM.However, the maximal velocity of the drill bit (vb) is generally limited to 200 RPM; n = vb/vm = 0.13 << 1.We can conclude that the actuator's dynamics do not significantly interfere with the drill string's dynamics.In many systems, disturbances and uncertainness can significantly reduce the controller's performance.However, the SM technique has proven to be one of the most robust control techniques because it can estimate parameter variations and external disturbances that satisfy a matching condition (the disturbances are applied to the system through the same channels as the input signals, without affecting the order of the system).For the drill string system under study, the disturbances under investigation are those that act directly on the axial motion of the drill string (variation of the WOB) and directly affect the control input.It should be noted that in cases where disturbances cannot be calculated directly, they can be estimated based on the available measurements.However, a suitable control strategy needs to be developed either using these estimations or based on the measurements of the sensors to effectively counteract the perturbations.

Proof of Closed Loop Stability
The primary goal of the proposed control strategy is to regulate the bit velocity.To accomplish this, a sliding function is defined as per [37]: In the proposed control strategy, the desired drill string velocity is denoted by x d (t).As the system reaches the sliding region s = 0, it reaches the desired equilibrium point where the bit velocity approaches the desired velocity.The first-order derivative of the variable defined in the above equation can be given as follows: Replacing ẋ1 in the previous equation results in the following equation: In our case, Γ(x(t)) is a positive constant defined as follows: For this particular case, Γ(x(t)) is restricted to a single constant value, and the function ψ(x(t)) can be expressed as follows: The values of c dt , c pi , and k pi are uncertain and can be expressed as follows: It is also assumed that c dt , c pi , and k pi are bounded as follows: The parameters c dt M , c pi M , and k pi M represent the upper limits of c dt , c pi , and k pi , respectively.Although these upper limits exist, their values are unknown.As a result, we can derive the following inequality: Since Γ(x(t)) is a positive constant equal 1/J dt , Γ m can be replaced with 1/J dt and this could not affect the convergence proof.Substituting Equation (37) into Equation (19) gives the following: Adding and substituting the term 1/J dt k1 (|s| 1/2 − a|s|) gives the following: After simplification, this gives the following: Let us define a positive constant β; in this case: If we consider these two assumptions, then the time derivative of V(t), denoted as V(t), will be negative.
Therefore, following the same steps as the general convergence section, the closed-loop convergence can be proved.The equivalent control is defined as the solution of ṡ = 0, which can be expressed as follows: In Equation ( 30), the sliding surface depends on the velocities of both the drill bit and the rotary table following a desired reference velocity.Generally, the drill string can be driven with various reference velocities depending on the length and diameter of the drill string and the type of rock of the borehole.These velocities are chosen in order to have an adequate rate of penetration, providing fast drilling while maintaining the integrity of the drilling components.All variables existing in the control command are supposed to be bounded as follows: The desired velocity x d is bounded as well.This implies that both u eq and u disc are limited signals, which ensures that the control input u is a bounded signal with the following:

Validation and Results
To evaluate the effectiveness of the suggested control approach, simulations were carried out using a drill string system.The aim of the controller was to follow a desired reference velocity and to counteract external disturbances in various operational conditions and with varying parametric uncertainties.The proposed controller (Proposed) was compared with various other controllers, including classic first-order SMC (CSMC), modified first-order SMC (MSMC), and the well-known adaptive SMC (ASMC).The switching law of CSMC, as described in [34], is as follows: According to [21], the MSMC is described as an exponent reaching law as follows: The well-known adaptive controller proposed in [38] is described by the following switching law and gain dynamics: where the dynamics of the controller gain are as follows: where k 1 is large enough to counteract the external perturbations, k 2 and k 3 are positive constants, and u 11 > 0 and u 22 > 0 are very small.Table 1 gives the different parameter values for each controller with optimal adjustments.The values of the parameters were selected to achieve optimal performance while maintaining a balance between the overshoot and settling time of the controllers, based on a given reference velocity and WOB.

Performance Criteria
To assess the performance of the various controllers, several performance metrics were used.The first measure was the integral square error (ISE), which evaluates the energy associated with the error by integrating the square of the error over time, and it emphasizes large errors.The ISE can be expressed as follows: where: The integral absolute error (IAE) measures the integral of the absolute error over time and provides an idea of the cumulative errors.It is useful for evaluating the performance of a controller in terms of the overall deviation from the desired trajectory.The IAE can be defined as follows: In order to evaluate the steady-state error, the root mean square error (RMSE) was employed by calculating the square root of the average of squared errors over a specified time period, the RMSE provides an effective measure of the discrepancy between desired and actual values, taking into account the entire sample set.This metric assumes a Gaussian distribution of errors and is widely adopted as a reliable method for quantifying the accuracy of a system's response.
where n is the number of samples over time.The energy consumption of each controller can be quantified by the root mean square deviation (RMSD), which is defined as follows: where T is the torque input of the drive table.This criterion is very important since a controller with minimal energy consumption is greatly desired in order to save money in terms of energy, maintenance, etc. Overshoot (O%) and settling time (ST) criteria were also used to evaluate the controllers.These are calculated as follows: The variable "ST" signifies the time required to achieve and sustain stability within a defined range, typically set at 5% of the final value.This measure captures the duration it takes for the system's response to settle and remain within an acceptable margin of variation.

Simulation Results
Multiple experiments were performed using the MATLAB/Simulink platform, employing a sampling frequency of f s = 1 kHz.These tests aimed to evaluate the resilience of each controller when subjected to diverse operating conditions, including measurement noise and parametric uncertainties related to the stiffness and damping of the drill pipes, as well as the damping of the drive table.The selected parameters listed in Table 2 were extracted from an actual drill string system documented in [19].These parameters were chosen based on their relevance and applicability to the specific drill string system under investigation.In the remainder of the paper, the results of the various tests mentioned above will be presented alongside an analysis of the results obtained via the evaluation criteria already defined (Equations (50)-( 55)).

Robustness to Measurement Noise
The robustness of the measurement noise section was tested to approximate experimental tests as closely as possible.Various sources can be implemented to represent noise.They all share the ability to add random variation to the signal under study.In the simulation studies, random white noise was selected as the noise source.This type of noise has a stochastic nature and is characterized by having equal power across all frequencies, making it suitable for imitating measurement noise [26].By studying the behavior of controllers under such conditions, we can gain valuable insights into their robustness and adaptability.The system under control was subjected to a controlled level of white noise with a noise amplitude of 10 −4 dB.The bit velocities of the controllers were then analyzed, and the outcomes were recorded in Figure 3.As shown in Figure 4a,b, the proposed controller exhibited the least response to measurement noise.Quantitative measurements revealed that the proposed controller achieved an average chattering magnitude reduction of 20% compared to the CSMC, 14% compared to the MSMC, and 18% compared to the ASMC.These numbers highlight the substantial advantage of the proposed controller in mitigating chattering.
The proposed controller showed a remarkable reduction in chattering magnitude compared to the other controllers while consuming the least energy.This proves that the proposed controller was the least affected by measurement noise.In addition to its success in chattering reduction, the proposed adaptive methodology has also demonstrated superior performance in terms of energy consumption compared to a previously proposed adaptive sliding mode controller [26].Figure 5 shows the RMSD values of the proposed controller versus CSMS, MSMC, and ASMC controllers.The developed controller in [26] exhibited an RMSD value of 13,016, indicating a higher level of energy consumption.However, with the introduction of the new proposed controller, an improvement has been achieved, resulting in a smaller RMSD value of 13,012.The reduction signifies a noteworthy enhancement in energy efficiency.The reduction is due to the |s| b term in the proposed gain dynamics, which presents the key parameter that helped decrease the chattering effect.This improvement indicates that the proposed adaptive methodology optimizes the energy consumption of the system, resulting in reduced waste and increased overall energy efficiency.

Robustness to Parametric Uncertainties
In the literature, different stochastic and deterministic approaches have been applied to drill strings to investigate the problem of uncertainties.The research in [39,40] presented some examples of stochastic models.The authors in [41] proposed a stochastic model for the bit-rock interaction torque.This was achieved by introducing uncertain parameters into the dry friction model and subsequently conducting a Monte Carlo simulation.Adaptive techniques for the deterministic approach were also explored, such as the direct adaptive controller proposed in [42], which proved to be robust against changes in friction characteristics and induced noise.It is worth mentioning that the convergence of the controller can be affected by an inappropriate setup of the adaptive algorithms.In the subsequent simulations, parametric uncertainties were introduced for the drill pipes' stiffness and damping, as well as the drive table's damping.According to Equation (35), the equivalent control incorporating parametric uncertainties can be expressed as follows: To evaluate the performance of various controllers under diverse operating conditions, an investigation was conducted to analyze the influence of different parametric uncertainties on the system's performance.The purpose here is to gain insights into the controllers' effectiveness and assess their robustness in handling varying parametric uncertainties.These uncertainties are categorized into three conditions: condition 1, condition 2, and condition 3. Condition 1 refers to small parametric uncertainties, where the variations in the parameters are relatively minor.Condition 2 corresponds to medium parametric uncertainties, where the variations in the parameters are of moderate magnitude.Finally, condition 3 represents large parametric uncertainties, characterized by significant variations in the parameters.By examining the system's behavior under these distinct conditions, we aim to assess its robustness and performance across a range of parametric uncertainties, as shown in Table 3.To clearly demonstrate the responses of each controller to different variations, separate figures were used.Figure 6 depicts that the CSMC remained robust for small parametric uncertainties.However, when subjected to medium parametric uncertainties, the system exhibited convergence but with a significant static error of 4 rad/s from the desired reference velocity.In addition, the system lost its robustness and experienced the stick-slip phenomenon for large parametric uncertainties.In Condition 1, the controller was robust with a smaller overshoot value, and no parametric adjustment was required.However, for Conditions 2 and 3, the responses became mediocre and asymptotically stable, respectively.The controller's parameters need to be adjusted in these cases.
Figure 7 demonstrates that the system response diverges completely, independently from the magnitudes of the parametric uncertainties.Therefore, it can be concluded that the MSMC is not robust even to minimal parametric uncertainties.In order to ensure stability and acceptable performance in the presence of any parametric variation, parametric adjustment is necessary.For all cases of parametric uncertainty, the ASMC system's trajectory converged to the reference velocity (see Figure 8).It should be noted that the settling time of the system response increases considerably by nearly 20% for large parametric uncertainties.
Figure 9 shows that the proposed controller maintains its robustness regardless of variation in the parameters.This proves that the proposed controller does not need any parameter adjustments for any of the cases of parametric uncertainty, which demonstrates the fast adaptability of the gains.Figures 10-12 show that the proposed controller had the smallest integral square error whereas the MSMC had the greatest value, with a difference of 35%.This indicates that the proposed algorithm had the least amount of error energy, while the MSMC had the highest amount of errors.The proposed algorithm had a smaller IAE value than the MSMC controller by almost 20%, indicating a closer response to the reference velocity.The RMSD values were used to compare the energy consumption of the different controllers, both with and without added measurement noise.As can be seen, the maximum energy consumption was found for the ASMC, whereas the minimum was found for the proposed controller.This criterion is very important since it affects the lifetime of the component.The proposed controller had the smallest RMSE value, which proves that it had the least steady-state error.This shows the good precision of the regulator and results in good static performance, which is required for such an application.Table 4 presents a summary of the results comparing four controllers based on several performance metrics.The metrics considered are EC (energy consumption), RPU (robustness to parametric uncertainty), RMN (robustness to measurement noise), and P (static precision).These metrics provide insights into the controllers' energy efficiency, their ability to handle uncertainties in system parameters and measurement noise, and their resilience to variations in weight on bit and reference velocity.The table offers a comprehensive evaluation of the controllers, facilitating a thorough assessment of their performance in different operational aspects.The controller with the best performance for each category is indicated by the "High" or "Very High" rating, while the worst performance is indicated by the "Low" rating.Table 4 shows that the proposed controller performed better in terms of precision, convergence time, and overshoot compared with both classical and adaptive SMCs.Given its robustness to parametric uncertainty and measurement noise, the proposed controller guaranteed minimal chattering, resulting in a smooth input signal.It is worth mentioning that a previous article presented an adaptive controller that yielded favorable results [43].However, it is important to note that this controller did not undergo tests specifically examining its performance in the presence of measurement noise.

Conclusions
In summary, this paper presents a novel adaptive sliding mode control (SMC) approach aimed at suppressing stick-slip vibrations in drilling string systems.A new switching adaptive SM controller based on an exponent reaching law is introduced, which dynamically updates controller gains in real time.Through comprehensive simulations and analysis, the effectiveness of the proposed control strategy in improving drilling string performance while minimizing stick-slip phenomena is demonstrated.The proposed controller offers several advantages over traditional control methods, including robustness to measurement noise, resilience to parametric uncertainties, and convergence in finite time without requiring prior knowledge of uncertainties or disturbances.By adjusting the controller gains in real-time and using dynamic adjustments, the adaptive SMC approach achieves superior performance in suppressing stick-slip vibrations compared to conventional SMC techniques.Furthermore, to help other researchers effectively address the stick-slip phenomenon in drill string systems, the following engineering suggestions are recommended:

•
Select appropriate modeling approach: choose the most suitable modeling approach based on the specific requirements of the drilling operation.Torsional models are particularly effective for addressing stick-slip vibrations, while coupled models are better suited for mitigating bit bounce or whirling phenomena.

•
Consider certain assumptions for drill string modeling: this includes considering stiffness and damping factors and the relationship between weight on bit (WOB) and torque on bit to refine the modeling approach.

•
Account for nonlinear effects in torque on bit calculations: account for nonlinear effects by choosing adequate models such as the Karnopp friction model.Understanding and accounting for these nonlinearities are crucial for developing robust control strategies.

•
Prioritize the integration of adaptive robust control strategies into drill string systems: such control mechanisms can enhance system robustness and performance by dynamically adjusting to varying operating conditions and disturbances.

Figure 1 .
Figure 1.Overall architecture of the proposed control scheme.

Figure 2 .
Figure 2. Schematic for the main parts of a drill string.

Figure 3 .
Figure 3. Effects of measurement noise on drill string bit velocities.

Figure 4 .
Figure 4. Effects of measurement noise on input signals; (a) global scale; and (b) local scale.

Figure 6 .
Figure 6.System responses of the CSMC with parametric uncertainty.

Figure 7 .
Figure 7. System responses of the MSMC with parametric uncertainty.

Figure 8 .
Figure 8. System responses of the ASMC with parametric uncertainty.

Figure 9 .
Figure 9. System responses of the proposed controller with parametric uncertainty.

Figure 11 .
Figure 11.The ISE (integral square error) and IAE (integral absolute error) values for all controllers.

Figure 12 .
Figure 12.RMSD values with and without measurement noise for all controllers.

Table 1 .
Parameter adjustments for each controller.

Table 2 .
Numerical values for the simulation parameters.

Table 3 .
Conditions of parametric uncertainties.

Table 4 .
Comparative analysis of controllers based on performance metrics.