Self-Tuning Control of Manipulator Positioning Based on Fuzzy PID and PSO Algorithm

Ying Liu, Du Jiang, Juntong Yun, Ying Sun, Cuiqiao Li, Guozhang Jiang, Jianyi Kong, Bo Tao, Zifan FangFrontiers in Bioengineering and Biotechnology 2022 · DOI

Abstract

With the manipulator performs fixed-point tasks, it becomes adversely affected by external disturbances, parameter variations, and random noise. Therefore, it is essential to improve the robust and accuracy of the controller. In this article, a self-tuning particle swarm optimization (PSO) fuzzy PID positioning controller is designed based on fuzzy PID control. The quantization and scaling factors in the fuzzy PID algorithm are optimized by PSO in order to achieve high robustness and high accuracy of the manipulator. First of all, a mathematical model of the manipulator is developed, and the manipulator positioning controller is designed. A PD control strategy with compensation for gravity is used for the positioning control system. Then, the PID controller parameters dynamically are minute-tuned by the fuzzy controller 1. Through a closed-loop control loop to adjust the magnitude of the quantization factors-proportionality factors online. Correction values are outputted by the modified fuzzy controller 2. A quantization factor-proportion factor online self-tuning strategy is achieved to find the optimal parameters for the controller. Finally, the control performance of the improved controller is verified by the simulation environment. The results show that the transient response speed, tracking accuracy, and follower characteristics of the system are significantly improved.

Introduction

Robotic manipulators are fundamental components in modern industrial and medical applications, ranging from high-speed assembly lines to precision surgery. However, these systems are frequently subjected to "real-world" challenges, including external disturbances, internal friction, and sensor noise. These factors complicate the task of reaching precise coordinates quickly and maintaining stability.

While the Proportional-Integral-Derivative (PID) controller remains the industry standard due to its simplicity, it often struggles with the highly non-linear dynamics inherent in multi-jointed robotic arms. Fuzzy PID controllers offer an improvement by employing human-like logic to adjust parameters dynamically. Yet, these systems introduce their own complexity: they rely on quantization and scaling factors that are typically tuned manually. Suboptimal tuning of these "meta-parameters" can lead to sluggish response times or oscillatory behavior.

Methodology

To address these limitations, this research proposes a multi-layered control architecture for a 4-Degree-of-Freedom (4-DOF) manipulator.

Mathematical Modeling and Baseline Control

The study begins with the development of a rigorous dynamic model of the 4-DOF arm, accounting for inertia, centripetal forces, and gravity. A gravity-compensated PD control strategy serves as the baseline, handling the primary task of counteracting the manipulator's weight.

Schematic representation of the 4-DOF manipulator showing joint ranges and workspace.

Dual Fuzzy Control and PSO Optimization

The core of the innovation lies in the hybrid control loop:

  1. Controller 1: Dynamically tunes the standard PID gains ($K_p, K_i, K_d$) based on real-time error.
  2. Controller 2 (Modified Fuzzy Controller): Focuses on adjusting the quantization and scaling factors.
  3. PSO Optimization: Particle Swarm Optimization (PSO), an algorithm inspired by the collective behavior of bird flocks, is utilized to search for optimal scaling factors online. The optimization uses the Integral of Time-weighted Absolute Error (ITAE) as a fitness function, rewarding the system for rapid target acquisition and minimal long-term oscillation.

Results and Discussion

The proposed Self-Tuning PSO-Fuzzy PID controller was evaluated against a conventional Fuzzy PID controller within a MATLAB/Simulink environment, using physical parameters from a specific industrial assembly manipulator.

Performance Gains

The hybrid approach yielded significant improvements across all key metrics:

  • Response Speed: The average effective positioning time was reduced from 2.8 seconds to 1.8 seconds, a 35% improvement.
  • Precision: Positioning error was reduced from $7.6 \times 10^{-3}$ rad to $2.8 \times 10^{-5}$ rad, representing a hundredfold increase in accuracy.
  • Robustness: The system demonstrated superior "follower characteristics," tracking desired paths with minimal lag and overshoot even under simulated noise conditions.

Key Insights

The success of this method stems from "tuning the tuner." By allowing PSO to manage the mapping of real-world errors into fuzzy sets ($K_e, K_{ec}, K_u$), the controller becomes truly adaptive. Furthermore, the approach resulted in smoother control torque curves, which in practical applications would reduce mechanical wear and extend the lifespan of robotic motors.

Conclusion and Future Work

This study demonstrates that combining Fuzzy PID control with PSO-driven self-tuning significantly enhances the performance of robotic manipulators. While the current results are based on rigorous simulations, they provide a strong foundation for future hardware implementation. The researchers plan to apply this logic to an actual industrial manipulator to verify that the computational demands of online PSO do not impede real-time performance.

Summary updated

Abstract

With the manipulator performs fixed-point tasks, it becomes adversely affected by external disturbances, parameter variations, and random noise. Therefore, it is essential to improve the robust and accuracy of the controller. In this article, a self-tuning particle swarm optimization (PSO) fuzzy PID positioning controller is designed based on fuzzy PID control. The quantization and scaling factors in the fuzzy PID algorithm are optimized by PSO in order to achieve high robustness and high accuracy of the manipulator. First of all, a mathematical model of the manipulator is developed, and the manipulator positioning controller is designed. A PD control strategy with compensation for gravity is used for the positioning control system. Then, the PID controller parameters dynamically are minute-tuned by the fuzzy controller 1. Through a closed-loop control loop to adjust the magnitude of the quantization factors-proportionality factors online. Correction values are outputted by the modified fuzzy controller 2. A quantization factor-proportion factor online self-tuning strategy is achieved to find the optimal parameters for the controller. Finally, the control performance of the improved controller is verified by the simulation environment. The results show that the transient response speed, tracking accuracy, and follower characteristics of the system are significantly improved.
BibTeX
@inproceedings{liu2022self,
  author = {Ying Liu and Du Jiang and Juntong Yun and Ying Sun and Cuiqiao Li and Guozhang Jiang and Jianyi Kong and Bo Tao and Zifan Fang},
  title = {{Self-Tuning Control of Manipulator Positioning Based on Fuzzy PID and PSO Algorithm}},
  booktitle = {Frontiers in Bioengineering and Biotechnology},
  year = {2022},
  doi = {10.3389/fbioe.2021.817723},
}
Figure