Computers, Materials & Continua DOI:10.32604/cmc.2022.020954 | |
Article |
Position Control of Flexible Joint Carts Using Adaptive Generalized Dynamics Inversion
1Department of Electrical and Computer Engineering (ECE), King Abdulaziz University, Jeddah, 21589, Saudi Arabia
2Center of Excellence in Intelligent Engineering Systems (CEIES), King Abdulaziz University, Jeddah, 21589, Saudi Arabia
3Next Generation Wireless Research Group, University of Southampton, UK
*Corresponding Author: Ibrahim M. Mehedi. Email: imehedi@kau.edu.sa
Received: 16 June 2021; Accepted: 17 July 2021
Abstract: This paper presents the design and implementation of Adaptive Generalized Dynamic Inversion (AGDI) to track the position of a Linear Flexible Joint Cart (LFJC) system along with vibration suppression of the flexible joint. The proposed AGDI control law will be comprised of two control elements. The baseline (continuous) control law is based on principle of conventional GDI approach and is established by prescribing the constraint dynamics of controlled state variables that reflect the control objectives. The control law is realized by inverting the prescribed dynamics using dynamically scaled Moore-Penrose generalized inversion. To boost the robust attributes against system nonlinearities, parametric uncertainties and external perturbations, a discontinuous control law will be augmented which is based on the concept of sliding mode principle. In discontinuous control law, the sliding mode gain is made adaptive in order to achieve improved tracking performance and chattering reduction. The closed-loop stability of resultant control law is established by introducing a positive define Lyapunov candidate function such that semi-global asymptotic attitude tracking of LFJC system is guaranteed. Rigorous computer simulations followed by experimental investigation will be performed on Quanser's LFJC system to authenticate the feasibility of proposed control approach for its application to real world problems.
Keywords: Adaptive control; generalized dynamic inversion; moore-penrose generalized inverse; sliding mode control; lyapunov stability; semi-global asymptotic stability
This paper presents a controller design for position tracking of a classroom equipment for mass-damper-spring quadratic systems called Linear Flexible Joint Cart (LFJC) system supplied by [1]. Due to some non-parametric uncertainties, the controller must be designed with adaptive mechanism. Adaptive controller designs remain an active field of research as systems nowadays were designed to be more complex. Parameter estimation techniques are the fundamental of adaptive control system and the way the estimated parameter is used determines their classification. Adaptive control system can be classified either as direct method when the estimated parameters are used directly in the controller, or indirect method when they were used only to calculate required controller parameters or hybrid method which is a mix between the first two.
One of the most popular adaptive controllers is the Model Reference Adaptive Controller (MRAC) which belongs to the direct adaptive control method. MRAC has a structure where an additional control loop called adaptation loop is added to the normal feedback structure to adapt to changes in the system dynamic as well as to compensate disturbances. Since its first implementation in 1958, MRAC has evolved and some of recent works on the controller can be found in [2–4].
One type of adaptive controller under the family of indirect method is Model identification Adaptive Control (MIAC). The working principle of MIAC is to optimize the performance of a controller by identifying the system while it is running. This is very much similar to the concept of Self-tuning Regulators (STR) [5], in fact, the term MIAC was proposed to solve the interpretation issue of STR with another controller having similar concept called Self-optimizing Adaptive Control (SOAC) [6]. An example of MIAC implementation on Unmanned Aerial Vehicle (UAV) is discussed in [7].
The two controllers discussed earlier used single model as reference, there exist a type of adaptive controller that uses large number of models as references called Multi-model Adaptive Control (MMAC). Not all reference models will be used all the time though. At an instance, only one model that is closest to the plant is chosen. Recent examples of MMAC implementation include a Dynamic Positioning System for Quadrotor Helicopters and Simulator for Solid Oxide Fuel Cell Gas Turbine Power Plants [8,9]. There are also some proposals for a two-layer switching strategy in MMAC [10] and artificial intelligent (AI) based switching techniques such as fuzzy logic [11] and neural networks [12].
The usage of AI based technique in adaptive control is tempting as it generally provides a model free universal approximation. They were typically used together with classical controller to enhance their robustness, adaptivity to changes, and improve non-linear model approximation. Some examples are the adaptive fuzzy PID [13], adaptive fuzzy sliding mode [14], and neural adaptive PID [15].
There is still an exhaustive list of types of adaptive controller yet to discussed in this paper like gain scheduling, iterative learning control, adaptive pole placement, and extremum-seeking controllers. A brief review on the state-of-the art adaptive control systems can be found in [16–18].
In this paper, an inversion based AGDI control approach is applied for linear position control of LFJC system. A Moore-Penrose Generalized Inverse was used to parameterize the solution as the inversion could results in infinite number of solutions as given in [19–21]. An additional term based on Sliding Mode Controller (SMC) is included in the proposed controller as implemented in [19]. In all these references, a constant sliding mode gain is used in the additional term for its application to rotary servo cart and inverted pendulum systems. However, in this article, the authors have extended the previous work by implementing the adaptive sliding mode gain in the discontinuous control which adapts itself with respect to the changing environment for chattering reduction and to achieve improved tracking performance. The article has presented very first time the application of AGDI control on Quanser's LFJC system and the performance has been verified through both numerical simulations and experimental investigations. In Section 4, in-depth stability analysis of the controller has been presented to guarantee semi global asymptotic tracking performance. Results from computer simulations and practical experiments will be discussed in detail in Section 5. Finally, the paper is concluded in Section 6.
2 Mathematical Model of Linear Flexible Joint Cart System
An LFJC system as shown in Fig. 1 is a system of two carts sliding on a track with one of the carts is driven by a DC motor. It can be modelled as a two mass-spring system as illustrated in the schematic diagram in Fig. 2 where
The differential equations of the system are given as:
and
where
The servo motor parameters in [3] are as defined in [1]. We can re-write (1) and (2) in the state-space form as in the following:
and
where
while the state variables and control variable are as follows:
and
To track the linear position of LFJC system, a controller is designed to have two loops as shown in Fig. 3. In the outer loop, we employed an AGDI control law to provide position signal commands while the inner loop will use the signals to generate the required voltage to move the linear cart to its desired position.
By formulating constant time ordinary differential constraints, we begin our controller design:
where,
To obtain the desired control action
From the system's dynamic model in (6) and (7) and the constraint equations developed in (13) and (14), we can realize (15) by writing:
Now, we can obviously solve
However, there can exists infinite number of solutions for
where
Note that, the same control law is applied in both controller loops.
In order to make the controller more robust, a technique similar to SMC is employed to augment the controller. For that, a set of sliding surface vector function for both outer and inner controller loop is defined as in the following:
Therefore, the derivative of the vector functions are as follows:
Note that subscripts i and o is used to represent the inner and outer loop part of the controller respectively. By setting the derivatives of the sliding functions as in (21) and (22) to 0, the constraint dynamic equations in (13) and (14) can now realize its asymptotic stability. This leads to the following definition:
Finally, based on the sliding vector functions in (19) and (20) and considering the expression in (17), our switching control law was derived based on the rate achieving law, yielding the following:
where
3.3 Adaptive Controller Design
The designed controller were made adaptive by introducing an update mechanism for the gains in (24) and (25) which equations given as follows:
where
with
To guarantee stability of the controller, the error vectors
Substitute
where
for all
Next, we intend to prove that the sliding mode dynamics
Let the positive definite Lyapunov energy function is defined as:
By substituting the (32) and (33) into the derivatives of Lyapunov function in (36) yields the following:
According to the Lyapunov's direct method, asymptotic stability stability of S can be guaranteed when
The sliding mode dynamics in (30) and (31) can be converged as the error vector e converge which as a result implying the condition in (35). Therefore:
It can be observed that from (41) that it is not possible to obtain SMC gains which guarantees asymptotic stability. However, with suitable selection of the gains, we can let the controller to achieve a semi global practical stability. Let us assess the outer loop controller case according to the following theorem:
Theorem 1: for every real number
Proof: Define
It follows that
Then
Theorem 2: Consider the closed-loop dynamical system of the LFJC given by (6) and (7). If the controlled voltage
Proof: To prove Theorem 1, the matrix bound
To evaluate the performance of the designed controller, we perform numerical simulations with step and sine wave input. The same scenario is then repeated in the practical experiment on a real system. Two other controllers namely the GDI and Linear Quadratic Regulator (LQR) were also developed and tested in both simulations and experiments to provide comparison to the designed controller.
The LFJC system is simulated based on the dynamic model given in (6–9) with the parameter's value given in [1]. First, the system model is tested with
Then, sine-wave is used with the same frequency and amplitude as in the previous simulation and the results is as shown in Fig. 5. Here, the superiority of the proposed controller over GDI and LQR are obvious. The proposed controller's adaptivity is also evident especially for joint cart position as shown in Fig. 5b where a little oscillation was only observed in the first 1.5 s it before smoothly follows the set-point. The superiority of AGDI over the other two controllers are further proven by comparing their Integral Time Absolute Error (ITAE) as shown in Tabs. 1 and 2.
The input voltage generated in response to the set-point is shown in Fig. 6. Despite a little spike recorded in response to the square-wave set-point when the cart started to change its position, the voltage input was well within the allowable limits.
The same scenario as in the simulation is tested on a real equipment where the experimental set-up is as shown in Fig. 7. The set-up consists of a Linear Flexible Joint Cart system as described in Section 2, an amplifier to provide sufficient power to the motor and sensors, and DAQ board for transmitting control signals from Matlab interface to the system and receiving measured data from the encoders.
The experimental results for the proposed controller are shown in Fig. 8 for square-wave reference input and in Fig. 9 for sine-wave reference input. It can be observed from the results that the performance of all controllers was not as good as in the simulation especially with sine-wave reference input. The proposed controller, however, performs the best compared to the other two with LQR at the other end. This fact is backed by the ITAE measurement as shown in Tabs. 3 and 4.
Figs. 8c and 9c show the input voltage generated in response to the input reference during the experiment. For square-wave set-point, it is similar to the one in simulation where voltage spike followed by a little oscillation is recorded when the cart starts to move except that this time the voltage spike produced by LQR was too high that it could harm the system. On the other hand, the input voltage oscillates almost all the time in order for the cart to move continuously to track the sine-wave input reference.
A two-loops adaptive controller based on GDI has been successfully implemented in tracking the linear position of LFJC system. The proposed AGDI control law contains two control elements. Laws of Control established using a baseline (continuous) control law designed to reflect control objectives. The baseline law derives from the conventional GDI approach and is based on the rules for GDI. By applying Moore-Penrose generalized inversion to the prescribed dynamics, the control law is established. The introduction of adaptation modulation gain has made the controller able to adapt to changes in the system. The superiority of the proposed controller over GDI and LQR was proven by the simulation and practical experimental results. However, there are still room for improvements especially in minimizing the oscillation produced by the input voltage due to the continuous movement of the cart.
Acknowledgement: This research work was funded by Institutional Fund Project under Grant No. (IFPHI-106-135-2020). Therefore, authors gratefully acknowledge technical and financial support from the Ministry of Education and King Abdulaziz University, DSR, Jeddah, Saudi Arabia.
Funding Statement: This research work was funded by Institutional Fund Projects under Grant No. (IFPHI-106-135-2020).
Conflicts of Interest: The authors declare that they have no conflicts of interest to report regarding the present study.
1. Quanser. IP02 User Manual, Quanser Inc., 2009.
2. E. H. Skorina, M. Luo, W. Tao, F. Chen, J. Fu et al., “Adapting to flexibility: Model reference adaptive control of soft bending actuators,” IEEE Robotics and Automation Letters, vol. 2, no. 2, pp. 964–970, 2017.
3. E. Arabi, B. C. Gruenwald, T. Yucelen and N. T. Nguyen, “A set-theoretic model reference adaptive control architecture for disturbance rejection and uncertainty suppression with strict performance guarantees,” International Journal of Control, vol. 91, no. 5, pp. 1195–1208, 2018.
4. Y. Mfoumboulou and R. Tzoneva, “Development of a model reference digital adaptive control algorithm for a linearized model of a nonlinear process,” International Journal of Applied Engineering Research, vol. 13, no. 23, pp. 16662–16675, 2018.
5. K. J. A°stro¨m and B. Wittenmark, “On self tuning regulators,” Automatica, vol. 9, no. 2, pp. 185–199, 1973.
6. R. Isermann, “Techniques in dynamics systems parameteradaptive control,” Control and Dynamic Systems V26: Advances in Theory and Applications, vol. 26, pp. 119, 2012.
7. Z. O¨reg, H. S. Shin and A. Tsourdos, “Model identification adaptive control-implementation case studies for a high manoeuvrability aircraft,” in 27th Mediterranean Conf. on Control and Automation (MEDAkko, Israel, pp. 559–564, 2019.
8. Z. S. Mahmoud and S. M. Raafat, “Robust multiple model adaptive control for dynamic positioning of quadrotor helicopter system,” Engineering and Technology Journal, vol. 36, no. 12 Part (A) (Engineering), pp. 1249–1259, 2018.
9. A. Tsai, P. Pezzini, D. Tucker and B. M. Kenneth, “Multiple-model adaptive control of a hybrid solid oxide fuel cell gas turbine power plant simulator,” J. Electrochem. En. Conv. Stor, vol. 16, no. 3, pp. 031003, 2019.
10. J. Xie, D. Yang and J. Zhao, “Multiple model adaptive control for switched linear systems: A two-layer switching strategy,” International Journal of Robust and Nonlinear Control, vol. 28, no. 6, pp. 2276–2297, 2018.
11. B. Kharabian, H. Bolandi, S. M. Smailzadeh and S. K. Mousavi Mashhadi, “Fuzzy switching for multiple model adaptive control in manipulator robot,” Journal of Automation Mobile Robotics and Intelligent Systems, vol. 11, no. 1, pp. 53–56, 2017.
12. J. Li, W. Zhang and Q. Zhu, “Weighted multiple-model neural network adaptive control for robotic manipulators with jumping parameters,” Complexity, vol. 2020, pp. 1–12, Article ID 3172431, 2020.
13. M. H. Shah, M. F. Rahmat, K. Danapalasingam and N. Wahab, “PLC based adaptive fuzzy PID speed control of dc belt conveyor system,” International Journal on Smart Sensing & Intelligent Systems, vol. 6, no. 3, pp. 1133–1152, 2013.
14. T. Yoshimura, “Design of an adaptive fuzzy sliding mode control for uncertain discrete-time nonlinear systems based on noisy measurements,” International Journal of Systems Science, vol. 47, no. 3, pp. 617–630, 2016.
15. H. R. Nohooji, “Constrained neural adaptive PID control for robot manipulators,” Journal of the Franklin Institute, vol. 357, no. 7, pp. 3907–3923, 2020.
16. S. G. Anavatti, F. Santoso and M. A. Garratt, “Progress in adaptive control systems: Past, present and future,” in 2015 Int. Conf. on Advanced Mechatronics, Intelligent Manufacture and Industrial Automation, IEEE, Surabaya, Indonesia, pp. 1–8, 2016.
17. G. Ahmed, S. Islam, I. Ali, I. A. Hayder, A. Ibrahim et al., “Adaptive power control aware depth routing in underwater sensor networks,” Computers, Materials & Continua, vol. 69, no. 1, pp. 1301–1322, 2021.
18. X. He, H. Jiang, Y. Song and M. Owais, “Power control and routing selection for throughput maximization in energy harvesting cognitive radio networks,” Computers, Materials & Continua, vol. 63, no. 3, pp. 1273–1296, 2020.
19. I. M. Mehedi, U. Ansari and U. M. Al-Saggaf, “Three degree of freedom rotary double inverted pendulum stabilization by using robust generalized dynamic inversion control: Design and experiments,” Journal of Vibration and Control, vol. 26, no. 23–24, pp. 2174–2184, 2020.
20. A. Ben-Israel and T. N. Greville, Generalized Inverses: Theory and Applications, vol. 15. SpringerScience & Business Media, Springer-Verlag New York, Inc. 2003.
21. I. M. Mehedi, “Full state-feedback solution for a flywheel based satellite energy and attitude control scheme,” Journal of Vibroengineering, vol. 19, no. 5, pp. 3522–3532, 2017.
This work is licensed under a Creative Commons Attribution 4.0 International License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. |