You are currently viewing a new version of our website. To view the old version click .
Engineering Proceedings
  • Proceeding Paper
  • Open Access

27 May 2025

Tuning and Performance Analysis of Second-Order Linear Active Disturbance Rejection Controller for Trajectory Tracking and Balancing the Rotary Inverted Pendulum †

and
Department of Instrumentation and Control Engineering, National Institute of Technology, Tiruchirappalli 620015, India
*
Author to whom correspondence should be addressed.
Presented at the 4th International Conference on Future Technologies in Manufacturing, Automation, Design and Energy 2024 (ICOFT 2024), Karaikal, India, 12–13 November 2024.
This article belongs to the Proceedings The 4th International Conference on Future Technologies in Manufacturing, Automation, Design, and Energy 2024 (ICOFT 2024)

Abstract

Second-order Linear Active Disturbance Rejection Controller (SLADRC) is a powerful control technique. Ongoing research is focused on simplifying tuning procedures, extending applicability to handle more complex systems, and ensuring efficient real-time implementation. In this proposed work, four different tuning approaches, using the Atomic Orbital Search (AOS) optimization algorithm concerning the number of tuning parameters, are presented. The performance of each tuning method for stabilizing the rotary inverted pendulum in the upright position and tracking trajectory is analyzed and validated through simulation and experimentation. The results indicate that the reduced number of SLADRC controller parameters tuned using AOS optimization provides superior performance compared to the controller with more tuning parameters for the nonlinear rotary inverted pendulum. From the analysis method, II tuning, b 0 ,     ω c ,     a n d   k provide the optimum results of settling time ( T s ), 1.5 s, and maximum angle deviation of θ 3.8 ° ,   α ( 3 ° ) .

1. Introduction

The rotary inverted pendulum (RIP) is a key challenge in control theory and robotics, often used as a model for real-world applications like space booster attitude control, automatic landing of aerial vehicles, aircraft stabilization, humanoid robots, and crane systems. It is inherently nonlinear and underactuated, and its open-loop unstable dynamics make control difficult. Various control methods, such as 2DOF PID [1], FOPID [1,2], SMC [3], LQR [4], and feedback linearization, have been explored in the literature, all of which demand precise system knowledge and tuning for optimal performance. This study focuses on Active Disturbance Rejection Control (ADRC) [5,6,7,8], a modern, model-free controller known for its fast disturbance rejection. Many real-world systems exhibit nonlinear behavior that can complicate the design and performance of ADRC. Effective methods to handle nonlinearities within the ADRC framework are still being researched. Linear ADRC (LADRC) [9], introduced by Gao, simplifies tuning and is widely applicable. First-order LADRC uses a second-order Extended State Observer (ESO) but faces challenges with complex systems, while second-order LADRC (SLADRC) incorporates a third-order ESO and a PD controller, which are better suited for managing system nonlinearities. SLADRC tuning typically employs bandwidth parameterization. Increasing the order of LADRC complicates the selection of controller dynamics and provides similar performance as lower-order LADRC.
This research investigates SLADRC parameter selection for balancing and trajectory tracking of RIP using various tuning approximations and methods followed in the literature. In general, system performance varies based on the number of tuning parameters involved. The Atomic Orbital Search (AOS) [10] algorithm is applied efficiently to determine the optimal tuning parameters [11] for each approximation.
This paper is structured as follows: Section 1 provides an introduction, Section 2 describes the problem, Section 3 explains the AOS algorithm, Section 4 presents simulation and experimental results, and the conclusion is given in the final section.

2. Problem Description

Design of distinct SLADRC controllers for stabilizing the pendulum angle ( α = 0 ° ) at the equilibrium point and trajectory tracking of the motor angle ( θ r ) using DC servo motor with input voltage (V) of the range ±5 V. For tuning the controller parameters, the AOS technique is utilized with the linear model of the RIP. The overall schematic is shown in Figure 1.
Figure 1. Schematic of proposed tuning for the RIP.

2.1. Mathematical Modeling of the RIP

The Linearized dynamic equations of motion of RIP [12] are,
m p L r 2 + J r θ ¨ 1 2 m p L p L r α ¨ = τ B r θ ˙
1 2 m p L p L r θ ˙ + J p + 1 4 m p L p 2 α ¨ 1 2 m p L p g α = B p α ˙
The parameter values of RIP in Equations (1) and (2). The obtained state space equation of the model of the system is
θ ˙ t α ˙ t θ ¨ t α ¨ t = 0 0 0 0 0 0 80.3 122 1 0 45.8 44.1 0 1 0.93 1.4 θ t α t θ ˙ t α ˙ t + 0 0 83.4 80.3 v t   θ t α t = 1 0 0 0 0 1 0 0 θ t α t θ ˙ t α ˙ t
The transfer function for change in motor angle ( θ s ) and change in pendulum angle ( α s ), with respect to change in motor voltage ( V s ) obtained from Equation (3), is given below:
G p θ s θ s V s = 83.4 s 2 + 42.08 s 3727 s 4 + 47.2 s 3 98.89 s 2 2046 s
G p α s α s V s = 80.3 s 2 0.2 s + 3.039 e 13 s 4 + 47.2 s 3 98.89 s 2 2046 s

2.2. SLADRC Preliminaries

Figure 2 illustrates the generalized SLADRC structure, which consists of two parts: an ESO and a feedback controller.
Figure 2. SLADRC structures.
The ESO estimates both the states ( z 1 ^ , z 2 ^ ) and the total disturbance ( z 3 ^ ) at the same time. The feedback controller that cancels the total disturbance and achieves the desired performance.
The control law of SLADRC is defined as
u t = k p r t z ^ 1 t k d z ^ 2 t z ^ 3 t b 0
where k p and k d are the controller gains, r ( t ) is the reference signal, z 1 t a n d   z 2 ( t ) are the states of the system, z ^ 1 t ,   z ^ 2 t , and z ^ 3 t are the estimates of z 1 t ,   z 2 t , and f t .
The second-order ESO structure obtained from the literature is
z ^ 1 ˙ t z ^ 2 ˙ t z ^ 3 ˙ t = 0 1 0 0 0 1 0 0 0 z ^ 1 t z ^ 2 t z ^ 3 t + 0 b 0 0 u t + l 1 l 2 l 3 y t z 1 ^ t
According to the bandwidth parameterization technique, the observer and controller poles are located at s + ω o 3 and s + ω c 2 , respectively, where ω o is the observer bandwidth and ω c is the controller bandwidth. Now there are only three tuning parameters ( b 0 , ω o ,   a n d   ω c ) . The ω o depends on the ω c (i.e., ω o > ω c ) .
l 1   l 2   l 3 = 3 ω o   3 ω o 2   ω o 3 ; k d   k p = 3 ω c   ω c 2 ;   ω 0 = k   ω c
where k is the multiplication factor. Transfer function form of the equations is obtained by substituting the controller and observer gains and the Laplace transform of Equation (7) in Equation (6). This gives the 2-DOF SLADRC structure, in terms of feedforward transfer function H ( s ) and feedback transfer function G C ( s ) , as
H s = ω c 2 s + k ω c 3 b 0 s s 2 + 3 k ω c + 2 ω c s + 3 k 2 ω c 2 + 6 k ω c 2 + ω c 2
G C s = k ω c 3 s 2 k 2 + 6 k + 3 + s 2 k 2 ω c + 3 k ω c + k 2 ω c 2 b 0 s s 2 + 3 k ω c + 2 ω c s + 3 k 2 ω c 2 + 6 k ω c 2 + ω c 2
Equations (9) and (10) show the compact 2 DOF structure of SLADRC with limited parameters. In the literature, various versions of approximating the tuning parameters for reducing the complexity in the design of SLADRC are discussed. From this, four major methods of approximating the parameters are taken for analyzing the performance of the RIP, as shown in Table 1.
Table 1. Classification of tuning methods.

3. Atomic Orbital Search Optimization

The Atomic Orbital Search (AOS) algorithm is a recent and successful metaheuristic optimization technique that effectively explores the search space to find global or near-optimal solutions for complex problems. In atomic orbitals, electrons organize themselves to achieve minimal atomic energy. Similarly, the AOS optimization algorithm structures its population in search space to minimize the objective function. Known for its fast and adaptable performance, AOS can handle a wide range of systems, including linear, nonlinear, constrained, and multimodal problems. AOS provides a flexible and efficient method for selecting control parameters for different applications.
The initial population of electrons ( X i k ) represents the various tuning parameters utilized by different methods. The objective function of the algorithm is to obtain the lowest energy levels from the large set of energy values ( E i k ) derived from the population. Based on the values of Binding State ( B S k ) and Binding Energy ( B E k ), the position of the electron is updated to the next imaginary layer at each iteration. The new position update equation is given as
X i + 1 k = X i k + α i β i L E k γ i B S k ,       i = 1 ,   2 , , p k = 1 ,   2 , , n
where α i , β i , and γ i are uniform random values ranging between 0 and 1. L E k is the lowest energy value at each iteration. The AOS framework for implementation is shown in Figure 3.
Figure 3. AOS framework.
In this research work, AOS is used to optimize the parameters of a SLADRC controller to control the position of underactuated rotary inverted pendulum, where it simulates the behavior of electrons to find the optimal values of the controller parameters that minimize a cost function. The cost function is formulated by minimizing the deviation between the desired and actual values of settling time and peak overshoot to ensure the desired transient performance and robustness. The six key controller parameters θ ( b 0 , ω o ,   a n d   ω c ) for the motor angle and α ( b 0 , ω o ,   a n d   ω c ) for the pendulum angle are chosen as AOS parameters and their corresponding search boundaries are provided in Table 2.
Table 2. RIP system and controller parameter values.
The objective function is designed by summing the ITSE minimization terms for both the motor angle and the pendulum angle, ensuring an improved transient response with a faster settling time, minimal overshoot, and a balanced control effort, as given below.
O b j e c t i v e   F u n c t i o n ,   f m i n = m i n i m i s e 0 t s i m t e θ t 2 d t + 0 t s i m t e α t 2 d t
where e θ t is the motor angle deviation, e α ( t ) is the pendulum angle deviation, and t s i m represents the simulation time.
Remark 1:
The stability of the closed-loop system is analyzed using the Nyquist stability criterion for the linearized RIP model, as presented in Equations (4) and (5). The designed controllers are represented as  G c θ  and  G C α . The closed-loop characteristic equation of the RIP system is expressed as  1 + G p θ G c θ + G p α G C α . The corresponding loop transfer function is given as  G p θ G c θ + G p α G C α .Figure 4 validates the stability and robustness of each system for the controllers designed based on different approximation methods.
Figure 4. Nyquist plots of plant transfer function with controllers (a) G p θ s and (b) G p α s .

4. Results and Discussion

To determine the optimal tuning parameters for each method, the AOS optimization technique was applied using a linearized model of the pendulum with initial state values ([θ, α, θ ˙ , α ˙ ] = [1⁰, 0.1⁰, 0, 0]) to improve model accuracy. The optimal parameters, along with their angle variations, fitness values, and computation time, are shown in Table 3. Table 4 provides a simulation and experimental comparison of each tuning method. As shown in Figure 5a, all methods achieve good stability and performance in tracking and disturbance rejection. However, Method I exhibits significant oscillation in simulation due to poor tuning and boundary region selection. Figure 4a,b shows the Nyquist plots of the loop transfer functions with different controllers. In Method II, the k value ranges between 8 and 12; beyond this, the observer bandwidth increases, leading to instability. In Methods III and IV, k is fixed, allowing flexibility in tuning b 0 and ω c (in terms of k p and k d for Method IV) to achieve optimal performance.
Table 3. SLADRC optimized parameter values for different tuning methods.
Table 4. Simulation and Experimental comparison of various tuning methods in SLADRC.
Figure 5. (a) Set point tracking of motor angular position and pendulum angle in simulation, (b) regulatory response of motor and pendulum angle in simulation.
To assess disturbance rejection, a disturbance of 1⁰ is added at 3–3.5 s for the motor angle (θ) and 0.1⁰ at 5–5.2 s for the pendulum angle (α), as shown in Figure 5b. In the experiments, robustness is tested by adding a 10 g tip mass from 5 to 10 s, as shown in Figure 6b. Figure 6a,b demonstrates the servo and regulatory results for RIP, showing that Methods II, III, and IV have better performance with smaller oscillations in tracking. Method I shows large oscillations in the servo response and becomes unstable under parameter uncertainty, as shown in Figure 6b. This study confirms that increasing the number of tuning parameters complicates design and hinders optimal performance, while better results are achieved with fewer tuning parameters, as confirmed by the ITSE values in Table 4. The k value must be optimal. Methods II and III demonstrate strong disturbance rejection, with Method III showing the least angle deviation and optimal results, as shown in Table 3 and Table 4.
Figure 6. (a) Set point tracking of motor angular position and pendulum angle in real time; (b) regulatory response of motor and pendulum angle in real time.

5. Conclusions

The performance and robustness of four different tuning techniques of SLADRC are discussed for the unstable RIP. From the results, it is clear that increasing the controller parameter reduces the performance and robustness due to the inability to select optimum values. Increasing the multiplication factor ‘k’ value larger than 10 increases phase lag in the loop and reduces robustness of the system. The choice of k value as 10 provides better estimation of parameters and time domain performance for most of the LTI systems and it violates complex nonlinear systems. From the overall analysis, it is clear that the fixing controller, observer bandwidth, and k (Method II and III) provide better performance and robustness for the RIP and other complex systems.

Author Contributions

Conceptualization, methodology, validation, experimentation, investigation, and writing—J.G. Supervision, review, editing, visualization, and project administration—E.D. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Data Availability Statement

Data will be available upon request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Adharsh Lal, M.; Kunjumuhammed, A.; Tomy, J.; Urmila, G.; Sivadas, M.; Mohan, A. Stabilization of Rotary Inverted Pendulum using PID Controller. In Proceedings of the 2021 8th International Conference on Smart Computing and Communications: Artificial Intelligence, AI Driven Applications for a Smart World, ICSCC 2021, Kochi, India, 1–3 July 2021; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2021; pp. 376–380. [Google Scholar]
  2. Dwivedi, P.; Pandey, S.; Junghare, A.S. Robust and novel two degree of freedom fractional controller based on two-loop topology for inverted pendulum. ISA Trans. 2018, 75, 189–206. [Google Scholar] [CrossRef] [PubMed]
  3. Nagarajan, A.; Victoire, A.A. Optimization Reinforced PID-Sliding Mode Controller for Rotary Inverted Pendulum. IEEE Access 2023, 11, 24420–24430. [Google Scholar] [CrossRef]
  4. Fatihu Hamza, M.; Jen Yap, H.; Ahmed Choudhury, I. Cuckoo search algorithm based design of interval Type-2 Fuzzy PID Controller for Furuta pendulum system. Eng. Appl. Artif. Intell. 2017, 62, 134–151. [Google Scholar] [CrossRef]
  5. Pan, J.; Qi, S.; Wang, Y. Flatness based active disturbance rejection control for cart inverted pendulum and experimental study. In Proceedings of the American Control Conference, Chicago, IL, USA, 1–3 July 2015; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2015; pp. 4868–4873. [Google Scholar]
  6. Ramírez-Neria, M.; Sira-Ramírez, H.; Garrido-Moctezuma, R.; Luviano-Juarez, A. On the linear active disturbance rejection control of the Furuta pendulum. In Proceedings of the American Control Conference, Portland, OR, USA, 4–6 June 2014; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2014; pp. 317–322. [Google Scholar]
  7. Liu, B.; Hong, J.; Wang, L. Linear inverted pendulum control based on improved ADRC. In Systems Science and Control Engineering; Taylor and Francis Ltd.: Abingdon, UK, 2019; Volume 7, pp. 1–12. [Google Scholar]
  8. Chen, Q.; Zhuang, J.; Liu, B.; Yang, P. Inverted Pendulum Balance Control Based on Improved Active Disturbance Rejection Control. In Proceedings of the 2022 Chinese Automation Congress, CAC 2022, Xiamen, China, 25–27 November 2022; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2022; pp. 1526–1531. [Google Scholar]
  9. Herbst, G. A simulative study on active disturbance rejection control (ADRC) as a control tool for practitioners. Electronics 2013, 2, 246–279. [Google Scholar] [CrossRef]
  10. Azizi, M. Atomic orbital search: A novel metaheuristic algorithm. Appl. Math. Model. 2021, 93, 657–683. [Google Scholar] [CrossRef]
  11. Kumar, R.; Bothara, Y.; Ezhilarasi, D.; Mohanavelu, K. Atomic Orbital Search Optimization Based Fractional Order PID Controller for 4 DoF Lower Limb Exoskeleton. In Proceedings of the 2023 International Conference on Power, Instrumentation, Control and Computing, PICC 2023, Thrissur, India, 19–21 April 2023; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2023. [Google Scholar]
  12. Quanser, Rotary Inverted Pendulum Manual. Available online: https://www.made-for-science.com/de/quanser/?df=made-for-science-quanser-rotary-double-inverted-pendulum-coursewarestud-matlab.pdf (accessed on 1 September 2024).
  13. Hao, Z.; Yang, Y.; Gong, Y.; Hao, Z.; Zhang, C.; Song, H.; Zhang, J. Linear/Nonlinear Active Disturbance Rejection Switching Control for Permanent Magnet Synchronous Motors. IEEE Trans. Power Electron. 2021, 36, 9334–9347. [Google Scholar] [CrossRef]
  14. Dai, X.; Zhao, C.; Xu, R. Nonlinear Active Disturbance Rejection Control for Vehicle Active Suspension System. In Proceedings of the 2023 3rd International Conference on Electronic Information Engineering and Computer Science, EIECS 2023, Changchun, China, 22–24 September 2023; Institute of Electrical and Electronics Engineers Inc.: Piscataway, NJ, USA, 2023; pp. 633–637. [Google Scholar]
  15. Wang, Y.; Tan, W.; Cui, W.; Han, W.; Guo, Q. Linear active disturbance rejection control for oscillatory systems with large time-delays. J. Franklin Inst. 2021, 358, 6240–6260. [Google Scholar] [CrossRef]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.