Abstract
Vibration depreciates positioning accuracy and productivity of flexible manipulators and make their modeling and/or controlling a very demanding task. In this paper, an Adaptive Model Predictive Control (AMPC) algorithm is detailed to actively damp a nonlinear one-link flexible manipulator while tracking its rigid body position. The derived controller involves in-loop linearization of the plant, around the actual state and control signal, to adapt the required model over the prediction horizon. The robustness of the proposed control strategy is improved using Super-Twisting Integral Sliding Mode Control (STISMC). The proposed controller compensates for the assumed matched uncertainties and external disturbances affecting the nominal plant, so the robustness is guaranteed. The effectiveness of the active vibration control is appraised via numerical simulation carried out using Matlab/Simulink.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Flexible manipulators, providing high productivity and energy efficiency, are regularly advantaged than their rigid analogs. Allowing high speed maneuvering and low energy consumption, they are systematically introduced in innovative industrial applications [1]. However, either their modeling approaches or control strategies, that have been the subject of numerous research papers [2], are far from those used for traditional heavy and rigid structures [3].
A flexible manipulator position tracking must consider its elastic nature, so highly accurate and computational power effective dynamic models are compulsory while deriving a high-precision driving algorithm [4, 5]. The rigid body motion is well modeled using the energetic approaches such as the Lagrange formulation and the Newton–Euler formulation [1, 2, 6], but errors are induced when the potential energy, stored as a deflection at the robot's links, joints or drives, is neglected [3]. When considering their flexible nature, reliable flexible manipulators models result, very often, in continuous partial differential equations with infinite degrees of freedom, so they obligate very high memory usage and inconvenient computational effort. Hence, discretized models are more suitable and are far more employed. Reducing the system degrees of freedom to a finite number is usually achievable via Finite Element Method (FEM) or Assumed Mode Method (AMM) [4]. When the assumed modes method is used, the number of modes to be considered should be reduced to simplify the model simulation, yet the disregarding of higher modes should be wisely sustained to reach the targeted precision [7].
Many research papers have been focusing on flexible manipulator control, and numerous strategies have been used. Essentially, there are two main categories of control schemes when dealing with flexible manipulator active vibration control: feedforward and feedback control. The first idea focuses on the control input filtering/adaptation to anticipate the vibration while tracking the reference rigid body position. Examples of these techniques are the input shaping technique [8, 9] and the trajectory planning [10]. Relatively to this approach, one immediate drawback to mention is the lack of robustness. The feedback control strategies, on the other hand, depend on the system states/outputs to control the vibration in a closed loop framework. Some of these control strategies are based on the linear quadratic regulator [11], adaptive control [12], state decoupling and/or sliding-mode control [13, 14] and fuzzy logic control [15]. As the control signal is a closed loop state-based function, a state observer is very often necessary to this end, and many strategies have been used to dress this issue such as sliding mode observers/differentiators [16,17,18] and extended/unscented Kalman filtering [19, 20].
In this paper, a robust Adaptive Model-based Predictive Controller (AMPC) based on an auxiliary Super-Twisting Integral Sliding Mode Control (STISMC) is proposed. The main objective of the control strategy is to actively damp the flexible manipulator with a feasible control signal in the presence of bounded and matched uncertainties and/or external disturbance. The nominal plant model is derived in Sect. 2. It is a very accurate, yet a nonlinear one. The equations of motion are explicitly deduced using the Hamilton principle, and the elastic displacement is approximated using the assumed modes method. The modeling process allows for several modes of vibration contribution, yet we restrict the proposed model to the first and more significant first one. The underactuated system is formulated in the state space form to simplify the controller description. In the third section, the AMPC algorithm is briefly summarized. State variables required for the behavior prediction are supposed to be available through adequate sensors, so the observer formulation is beyond the scope of this paper. In Sect. 4, the proposed STISMC is introduced, the sliding surface is defined, and the control algorithm is summarized. In Sect. 5, the simulation results are illustrated to assess the controller performances. Different prediction horizons are examined to provide the best possible tuning, and several indicators are then evaluated to appraise the results. Concluding remarks are given in the last section.
2 The One-link flexible manipulator dynamic model
The dynamic model of the flexible one-link manipulator, used for simulation and control algorithm assessment, is detailed in this section. The manipulator, illustrated in Fig. 1, is assumed to be an Euler–Bernoulli clamped-free beam acting on the horizontal plane. The clamped end is rigidly attached to the shaft of an electric servomotor, and the dynamic is fully described by the angular position \(\theta (t)\), the elastic displacement \(w(x,t)\) and the transverse section rotation \(\psi (x,t)\).
According to the Euler–Bernoulli theory, the shear deformation of the beam is neglected [6], and:
Hamilton’s principle [6] is used to derive the system equations:
\(\mathrm{T}\) and \(\mathrm{P}\) are, respectively, the kinetic and potential energies of the system, while \(\mathrm{W}\) is the work done by external forces. The position \(\left({x}_{M},{y}_{M}\right)\) of a point at a distance \(r\) from the motor shaft, with coordinates \((x,y)\) before deformation, is described in the inertial system \(\left(X,Y\right)\) by (3).
Let \({\mathrm{I}}_{\mathrm{H}}\) be the motor and hub total inertia, the kinetic energy of the system is then [21]:
where \(\uprho ,\mathrm{ A}\) and \(\mathrm{I}\) are respectively the mass density of the beam, its cross-section area and its moment of inertia.
According to the Euler–Bernoulli assumption, and neglecting the gravity effect, the potential energy of the flexible manipulator is only due to its bending rigidity \(EI\). It is given by [6]:
If the mechanical torque applied by the servomotor is \(\tau \left(t\right)\), then the work done by external forces is:
The elastic displacement \(w(t)\) is approximated using the assumed modes method:
where \({q}_{i}\left(t\right)\) and \({\varphi }_{i}\left(r\right)\) are the \({i}^{th}\) modal coordinate and its respective mode of vibration. \(N\) is the number of assumed modes that we restrict in this study to the first dominant one.
The Hamilton’s principle results on the following equations:
And
Rearranging those equations, we obtain the following general form:
where \(M\left(q\right)\) and \(K\) are respectively the mass and the stiffness matrices. The vector \(h(q,\dot{q})\) regroups the nonlinear centrifugal and Coriolis terms, and \(u\left(t\right)={[\begin{array}{cc}\tau (t)& 0\end{array}]}^{T}\) is the vector of external forces. Explicit matrices formulations are given in the appendix.
To higher the accuracy of the model, the motor viscous friction coefficient \({\alpha }_{m}\) and the beam structural damping are considered via a modal damping matrix \({H}_{d}\) as [22]:
where \(\omega \) is the first assumed mode natural frequency, and \(\xi \) its respective modal damping coefficient. Coefficient \({ m}_{22}\) is the corresponding element of the mass matrix \(M(q)\).
Considering the damping matrix, the mathematical model of the system is then given by:
To accommodate the controller formulation, the system equations are formulated in the state space form with the state vector given by:
So, the model is finally given by:
With:
And:
3 The adaptive model predictive controller principle
For the MPC algorithm, several structures exist and have proven to be profitable for numerous applications [23]. Its main concept as well as detailed design has been subject of numerous textbooks and research papers, and the authors may suggest [24] for interested readers.
The MPC algorithm based on a linear nominal model is summarized in Fig. 2.
The control signal optimizer uses a nominal process model to predict the future system outputs over a prediction horizon of \({N}_{p}\) samples. Based on the references and actual outputs, projected desired trajectories are designed, at each time step, and compared to predicted outputs to calculate future errors. The control signal optimizer then adjusts the next \({N}_{c}\) samples of the control signal, so a cost function \(J\) formulated in terms of future predicted errors and control signal changes, is minimized. It is worth mentioning that when the process model and state/control signal constraints are linear, and \(J\) is quadratic, the control signal may be formulated offline in a state feedback framework. The algorithm is then referred to as linear time invariant MPC, and it results in a convex optimization problem where a global optimum for the process exists.
For a discrete, linear, time invariant system:
An augmented state vector is defined:
Then, Eqs. (17) and (18) are rearranged to obtain:
Matrices \({A}_{a}, {B}_{a}\) and \({C}_{a}\) define the augmented state model and are used to optimize the control signal. For the prediction of state and outputs over an optimization window of \({N}_{p}\) samples, let the future \({N}_{c}\) control samples trajectory be denoted as:
With the setpoint vector defined in Eq. (21), the cost function that is to be minimized is given by Eq. (22):
where \(Q\) and \(R\) are symmetric semidefinite weighting matrices.
The control signal that minimizes the cost function is calculated assuming that:
With:
And
Finally, at time sample \(k\), the feedback incremental control within the framework of predictive control is given by:
When dealing with a nonlinear model, the AMPC algorithm is a possible solution. The process model is linearized at each time step around the actual state and control signal. The problem is still a convex optimization one, except that the process model is time-variant, reason why it should be adapted iteratively.
4 Integral super twisting sliding mode control
The nominal plant has been used for the AMPC predictions in the earlier section, and an auxiliary integral sliding mode controller is proposed, in this section, to tackle uncertainties and external disturbance that may affect the flexible manipulator. The integral sliding mode control (ISMC) maintains the order of the compensated system’s dynamics and can be systematically combined to the AMPC algorithm. Nevertheless, conventional ISMC always causes inadmissible chattering over the control input, so a super twisting integral sliding mode controller is suggested in this study.
The nominal model for the one-link flexible manipulator is given by Eqs. (14), (15) and (16) derived in Sect. 2. Uncertainties on the system parameters and external disturbance are introduced in this section as follows:
where \({\dot{x}}_{nom}\) is the nominal part of the system used for the AMPC controller development. \(\Delta f\left(x\right)\) and \(\Delta g\left(x\right)\) are the lumped uncertainties of the system, and \(d\left(x,t\right)\) is a bounded external disturbance.
In this work, we assume that system uncertainties as well as external disturbance are satisfying the matching condition, so we may write:
We also assume that the upper bound of the equivalent disturbance \(\left({v}_{m}=\mathrm{sup}\left|v(t)\right|\right)\) is known.
The proposed control scheme aims to control the system using both the AMPC control \({u}_{nom}\), based on the nominal plant derived in the earlier section, while ensuring the robustness of the control law using the ISMC control \({u}_{ISM}\). The control signal is then given by:
The integral sliding surface is defined as [25]:
\(F\) is a design vector parameter such that \(Fg(x)\) is non singular.
Now, we have:
The auxiliary sliding mode should start from the very beginning without any reaching phase, and the conventional ISM control is derived based on the \(k\)-reachability condition given by \(s\dot{s}<k\left|s\right|\) [26].
Let the ISM control signal be:
Then, using the Lyapunov candidate function \(V=\frac{1}{2}{s}^{2}\), we have:
The use of the sign function \(\left(sign\left(s\right)\right)\) will cause the chattering to be dominant in the control input given by (32). To prevent this, we propose in this study the use of the supertwisting algorithm [27] to ensure the robustness of the control strategy, while eliminating the chattering. Hence,
And the modified control signal is finally given by:
5 Simulations results
The performance of the AMPC controller, regarding the tracking of the flexible manipulator rigid body position (\(\theta \left(t\right)\)) along with vibration (\(q\left(t\right)\)) minimizing, is first analyzed. The nominal model is used for the optimization of the control signal over the prediction horizon. Then, the effectiveness of the proposed ISMC to tackle the uncertainties affecting the system while maintaining the control signal free of chattering is assessed.
The explicit expression of different matrices used for the system modeling are given in the appendix, and Table 1 shows the beam and the DC motor parameters used for the numerical simulation.
The AMPC algorithm was implemented in Matlab environment, and the model simplifying as well as the Jacobians derivation was carried out using the Matlab Symbolic Math Toolbox. Small time steps for numerical integration have been required due to the nonlinearities of the nominal plant. The step time has been set to \(0.001\mathrm{ s}\).
The AMPC controller effectiveness is stated for different prediction horizons. The parameters for the controller tuning are set as reported in Table 2, and the setpoints are set to \({\theta }_{ref}=\pi /2 rad\) and \({q}_{ref}=0\).
In Figs. 3, 4 and 5, are illustrated the angular position, modal coordinate and control signal respectively, with predictions on the pair \(\theta \left(t\right)\) and \(q\left(t\right)\) over different prediction horizons.
Smaller prediction horizon results in an unsatisfactory rigid body response. The angular position response has an important overshoot, and a very large settling time. Thus, it is inferred that, although a larger prediction horizon leads to a larger calculation time, and may require sophisticated material resources, it produces much better output responses.
In Table 3, a summary of output performances is outlined. For the rigid body component \(\theta \left(t\right),\) the overshoot \(d\mathrm{\%}\) and the settling time for \(5\mathrm{\%}\) tolerance band are inspected, while the maximum absolute value and root mean squared error (cf. Equation (35) with \({T}_{s}\) the sampling time and \({N}_{S}\) the number of samples) are appraised for the modal coordinate \(q\left(t\right)\). The control signal incremental weighting matrix is a scalar set to 10.
According to the results in Table 3, the prediction horizon has a great impact on the rigid body position angular. A smaller prediction horizon (e.g. \({N}_{p}=100\)) leads to undesirable overshoot \(\left(23.97\mathrm{\%}\right)\) and very slow dynamic \(\left({tr}_{5\mathrm{\%}}\gg 10s\right)\). However, the maximum absolute value of the modal coordinate is clearly lowered \(\left(0.0086\right)\). The best performance agreement is met when \({N}_{p}=2000\) and \(Q=\left[\begin{array}{cc}10& 0\\ 0& 5000\end{array}\right]\).This configuration results in a rigid body dynamic with no overshoot, a settling time of \(2.2189s\), a maximum absolute value of the modal coordinate equal to \(0.0342\) and the best modal coordinate RMSE that is equal to \(0.0081\).
To assess the effectiveness of the super twisting ISMC, a sine wave disturbance has been added to the nominal control signal:
For the controller, parameters \(\alpha \) and \(\lambda \) has been set to \(5\) and \(2\) respectively. The vector parameter \(F\) has been set to \(\left[\begin{array}{cc}\begin{array}{cc}0& 0\end{array}& \begin{array}{cc}1& 1\end{array}\end{array}\right]\).
In Fig. 6, are illustrated the nominal torque \({u}_{nom}\left(t\right)\) and the disturbed one \({u}_{nom}\left(t\right)+v\left(t\right)\). The nominal torque is optimized via the AMPC controller for the best agreement of performance found earlier.
As illustrated in Fig. 7, the super twisting integral sliding mode control \({u}_{ISM}\left(t\right)\) is slightly the opposite of the bounded disturbance and is quasi chattering free. Thus, the effect of the equivalent disturbance on the system is tackled from the very beginning, and the robustness of the optimal control law is guaranteed. The perfect matching of nominal and disturbed angular position \(\theta \left(t\right)\) and modal coordinate \(q(t)\), illustrated in Figs. 8 and 9 respectively, demonstrates the effectiveness of the proposed control scheme.
6 Conclusions
Adaptive Model Predictive Control has been used to track the rigid body position of a one-link flexible manipulator regarding its residual vibration minimizing. The control scheme has been associated to a STISMC to guarantee its robustness in the presence of bounded system uncertainties and/or external disturbance.
The STISMC has demonstrated that the output of the system subject to a time variable disturbance is the same as the output of the nominal one. Furthermore, the control signal provided by the controller is chattering free, so it is practical for an experimental setup.
The control strategy offered the best performance tradeoff when the prediction horizon is of \(2000\) samples, and the weighting matrix \(Q\) is \(\left[\begin{array}{cc}10& 0\\ 0& 5000\end{array}\right]\). Simulation results showed that the rigid body dynamic is with no overshoot and that the settling time of \((2.2189s)\) is very satisfying. Also, the maximum absolute value of the modal coordinate has been lowered to \(0.0342\) and the modal coordinate RMSE to \(0.0081\).
The illustration of the control torque, required for the best performance agreement, made clear its possible implementation in an experimental context if compared to other control strategies commonly used for active vibration control.
References
Dwivedy SK, Eberhard P (2006) Dynamic analysis of flexible manipulators, a literature review. Mech Mach Theory 41(7):749–777
IFR Press Conference, 2020. 18 September Shanghai
Sayahkarajy M, Mohamed Z, Mohd Faudzi AA (2016) Review of modelling and control of flexible-link manipulators. Proc Inst Mech Eng Part I J Syst Control Eng 230:861–873
Arkouli Z, Aivaliotis P, Makris S (2021) Towards accurate robot modelling of flexible robotic manipulators. Procedia CIRP 97:497–501
Wang B, Lou J (2019) Coupling dynamic modelling and parameter identification of a flexible manipulator system with harmonic drive. Meas Control 52:122–130
Dym CL, Shames IH (2013) Solid Mechanics A Variational Approach. Springer, New York
Celentano L, Coppola A (2011) A computationally efficient method for modeling flexible robots based on the assumed modes method. Appl Math Comput 218(8):4483–4493
Mohamed Z, Tokhi MO (2004) Command shaping techniques for vibration control of a flexible robot manipulator. Mechatronics 14(1):69–90
Diaz IM, Pereira E, Feliu V, Cela JJL (2010) Concurrent design of multimode input shapers and link dynamics for flexible manipulators. IEEE-ASME Trans Mechatronics 15(4):646–651
Heidari HR, Korayem MH, Haghpanahi M (2013) Optimal trajectory planning for flexible link manipulators with large deflection using a new displacements approach. J Intell Rob Syst 72(3–4):287–300
Chan JK, Modi VJ (1990) Dynamics and control of an orbiting flexible mobile manipulator. Acta Astronaut 21(11–12):759–769
Liu Z, Liu J, He W (2016) Adaptive boundary control of a flexible manipulator with input saturation. Int J Control 89(6):1191–1202
Chang JL, Chen YP (1998) Force control of a single-link flexible arm using sliding-mode theory. J Vib Control 4(2):187–200
Bakhti, M., Idrissi, B.B., Active vibration reducing of a one-link manipulator using the state feedback decoupling and the first order sliding mode control, 5th Int. Conference on Integrated Modeling and Analysis in Applied Control and Automation, IMAACA 2011, pp. 156–164.
Subudhi B, Morris AS (2003) Fuzzy and neuro-fuzzy approaches to control a flexible single-link manipulator. Proc Inst Mech Eng Part I J Syst Control Eng. 217(I5):387–399
Ben Tarla L, Bakhti M, Bououlid Idrissi B (2020) Implementation of second order sliding mode disturbance observer for a one-link flexible manipulator using Dspace Ds1104. SN Applied Sciences 2(3):485
Tarla LB, Bakhti M, Idrissi BB (2018) Finite-time sliding mode observer for uncertain nonlinear flexible manipulators with unknown disturbance. Int Rev Mech Eng 12(11):869–875
Bakhti, M., Ben Tarla, L., Idrissi, B.B., Flexible manipulator state and input estimation using higher order sliding mode differentiator, 2017 14th International Multi-Conference on Systems, Signals and Devices, SSD 2017, 2017, 2017-January, pp. 302–307.
Bakhti M, Bououlid BI (2016) Highly nonlinear rigid flexible manipulator state estimation using the Extended and the Unscented Kalman filters. IREACO. https://doi.org/10.15866/ireaco.v9i3.9018
Tarla LB, Bakhti M, Idrissi BB (2016) Flexible manipulator state reconstruction using luenberger and first order sliding mode observers under parametric uncertainties. IREMOS 9(6):427–434
Gao Y, Wang FY, Zhao ZQ (2012) Flexible manipulators: Modeling, Analysis and Optimum Design. Academic Press, UK
Hassan M, Dubay R, Li C, Wang R (2007) Active vibration control of a flexible one-link manipulator using a multivariable predictive controller. Mechatronics 17(6):311–323
Khaled N (2018) Bibin Pattel. Butterworth-Heinemann, Practical Design and Application of Model Predictive Control
Wang L (2009) Model Predictive Control System Design and Implementation Using MATLAB. Springer, London
Pang HP, Tang G-Y., Global robust optimal sliding mode control for a class of uncertain linear systems. In : IEEE proceedings on control and decision; 2008. p. 3509–3512.
Shtessel Y, Edwards C, Fridman L, Levant A (2014) Sliding mode control and observation, New York, NY. Birkhauser, USA
Levant A (1998) Robust exact differentiation via sliding mode technique. Automatica 34(3):379–384
Funding
There was no funding.
Author information
Authors and Affiliations
Contributions
Mohammed Bakhti, Aycha Hannane and Badr Bououlid Idrissi.
Corresponding author
Ethics declarations
Conflict of interest
I declare that there is no conflict of interest in the publication of this article, and that there is no conflict of interest with any other author or institution for the publication of this article.
Ethical statements
I hereby declare that this manuscript is the result of my independent creation under the reviewers’ comments. Except for the quoted contents, this manuscript does not contain any research achievements that have been published or written by other individuals or groups. I am the only author of this manuscript. The legal responsibility of this statement shall be borne by me.
Data availability
Not applicable.
Code Availability
Not applicable.
Appendix: Numerical Values of Model Matrices Used for Simulation
Appendix: Numerical Values of Model Matrices Used for Simulation
The Mass Matrix:
The vector of nonlinear centrifugal and Coriolis terms:
The stiffness matrix
Rights and permissions
About this article
Cite this article
Bakhti, M., Hannane, A. & Bououlid Idrissi, B. Robustifying adaptive model predictive control for a one-link flexible manipulator using super-twisting integral sliding mode control. Int. J. Dynam. Control 10, 1934–1942 (2022). https://doi.org/10.1007/s40435-022-00933-5
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s40435-022-00933-5