Open Access
Issue
Mechanics & Industry
Volume 26, 2025
Article Number 18
Number of page(s) 7
DOI https://doi.org/10.1051/meca/2025008
Published online 24 April 2025

© Wang and Chen, Published by EDP Sciences 2025

Licence Creative CommonsThis is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

1 Introduction

Under the influence of technological progress, robots have been more and more widely used in biological science [1], medical rehabilitation [2], industrial manufacturing [3], and other fields by virtue of their advantages of long working time, strong flexibility, and high efficiency [4]. An industrial manipulator is one of the most used robots in industrial scenes, which can replace humans to complete handling, assembly, welding, and other complex work [5]. The wide application of manipulators has promoted people's demand for more efficient and accurate manipulator movement trajectory control. More and more studies have been conducted on the optimization of manipulator control. Wang et al. [6] established a model based on the dynamic friction characteristics of the robot joint. Moreover, they optimized the square root cubature Kalman filter to estimate the external force of the robot manipulator, thereby improving the control accuracy of the model. Udomsap et al. [7] designed a 3-PRS parallel manipulator for platform stability. Through testing, it was found that the error between the input angle and the compensation angle was 0.4–3%, which was within the acceptable range. Hao et al. [8] designed a fully actuated air manipulator for industrial contact detection. It used a disturbance observer to estimate external disturbances and regarded them as feedforward compensations. The effectiveness of the proposed system in performing the task was verified. Yu et al. [9] designed a radial basis neural network algorithm based on acceleration feedback to control a 3-RRR parallel manipulator and demonstrated its stability through experiments. A 6R manipulator has the characteristics of a large control range and strong flexibility; therefore, it has extensive applications. As a higher degree of freedom of the manipulator will increase the complexity, the research on the control optimization algorithm of 6R manipulators has important application value in practice. Some current control methods for the motion trajectory of manipulators still have some deficiencies in terms of accuracy and efficiency, especially for multi-degree-of-freedom manipulators, and there is still the possibility of further optimization for their control. Therefore, in this paper, for 6R industrial manipulators, the parameter tuning method of the incremental proportional, integral, and differential (PID) algorithm was improved. Instead of using the traditional trial-and-error method, the intelligent optimization algorithm was introduced. An improved grey wolf optimization (IGWO) algorithm was developed, and the reliability of the proposed method was proved through simulation experiments. This paper provides a novel and reliable method for the movement trajectory control of industrial manipulators in practice and verifies the effectiveness of the intelligent optimization algorithm in parameter tuning. It also provides some theoretical support for the further optimization of the incremental PID algorithm.

2 The moving trajectory control method of industrial manipulators

2.1 Motor closed-loop control strategy

The drive component of the industrial manipulator is the motor. In order to meet the high precision movement requirements, each joint of the 6R manipulator uses a servo motor as the driver, and then the classical PID algorithm [10] is built into the control system to achieve closed-loop control and control the movement trajectory of each joint. The PID algorithm will feedback the output to the input. The deviation from the input is calculated, and the control quantity is obtained through the linear combination of each link and output to the target object, thus realizing the control of the manipulator. The structure of the PID algorithm is shown in Figure 1.

In Figure 1, r (t) is the input set value of the system, y (t) is the actual output value of the system, e(t) is the deviation between r (t) and y (t), e (t) = r (t) − y (t), and u (t) is the control quantity directly acting on the controlled object. Its control law can be written as: u(t)=Kp[e(t)+1TI0te(t)dt+TDde(t)dt],(1)

where Kp denotes the proportional coefficient, TI is the integral time constant, and TD is the differential time constant.

P, I, and D are the three correction links, as follows:

P: the proportional link used to reduce the system deviation;

I: the integral link used to reduce the system static difference;

D: the differential link used to advance correction of the system and speed up the system reaction speed [11].

In the computer system, digital PID is usually used, so it is necessary to discretize the above formula. It is assumed that the sampling period is T and the sampling sequence is k. Let t=kT(k=0,1,2,),(2)

it is substituted to obtain a discrete PID: u(kT)=Kp[e(kT)+1TIj=0ke(jT)+TDe(kT)e[(k1)T]T].(3)

Let e (kT) = ek. The above equation is simplified, then: uk=kpek+kij=0kej+kd(ekek1),(4)

where kp is the proportional link gain coefficient, ki is the integral link gain coefficient, and kd is the differential link gain coefficient.

In order to enable the servo motor to obtain better control effect, the incremental PID algorithm [12] is adopted. It does not need to accumulate deviation, and the output is only related to the first two samplings, so it can get better stability while reducing the calculation amount. At this moment, the increment of the output can be written as: Δuk=ukuk1,(5) uk1=kpek1+kij=0k1ej+kd(ek1ek2),(6) Δuk=kp(ekek1)+kiek+kd(ek2ek1+ek2),(7)

where ek is the current deviation, ek−1 is the previous deviation, and ek−2 is the deviation before the previous deviation.

thumbnail Fig. 1

The structure of the PID algorithm.

2.2 Parameter tuning based on the improved grey wolf optimization algorithm

The parameter setting of the incremental PID algorithm determines the control effect of the industrial manipulator motor. In practical application, the parameters are mostly determined by experience or by trial and error. In order to further optimize the control performance of the incremental PID algorithm, this paper introduces the grey wolf optimization (GWO) algorithm, improves it, and designs an IGWO algorithm to realize the parameter tuning of the incremental PID algorithm.

The GWO algorithm is an intelligent algorithm based on wolf hunting mode [13], which has good usability and feasibility [14] and has good performance in multi-objective solving [15] and parameter optimization [16]. The individuals in the wolf pack are divided into α, β, δ, and ω according to grades. α is the leader wolf, and ω is the lowest-ranking wolf. The wolf pack hunts according to the rank system, and its position update process is: X(t+1)=Xp(t)AL,(8) L=|CXp(t)X(t)|,(9)

where X (t + 1) denotes the position vector of the grey wolf in the t + 1-th iteration, Xp (t) is the prey position vector at the t-th iteration, L is the distance between the grey wolf and prey, C is the coefficient vector, C = 2r1, A is the coefficient vector, A = 2ar2 − a (a is the convergence factor), r1 and r2 are random numbers in [0,1].When surrounding the prey, the location of each individual relative to the prey can be written as: {Lα=|K1Xα(t)X(t)|Lβ=|K2Xβ(t)X(t)|Lδ=|K3Xδ(t)X(t)|,(10)

where K1, K2, and K3 are random disturbances. The updated location of each individual can be written as: {X1=XαA1LαX2=XβA2LβX3=XδA3Lδ,(11) X(t+1)=(X1+X2+X3)/3,(12)

where X1, X2 and X3 are the step length and direction of wolf ω moving towards each individual, and X (t + 1) is the final location of wolf ω.

According to the above equations, it can be found that GWO performance is closely related to convergence factor a. In the original GWO algorithm, a is linear, which is easy to fall into the local optimal. Based on the trigonometric function, this paper improves it to nonlinear: a=sin(πttmax+π2)+1.(13)

In addition, in the location update equation, variable proportional weights are added to achieve dynamic search of solutions. The proportional weights based on fitness values are: {Wα=FαFα+Fβ+FδWβ=FβFα+Fβ+FδWδ=FδFα+Fβ+Fδ,(14)

where Fα, Fβ, and Fδ are the fitness values of α, β, and δ. The proportional weights of α, β, and δ leading wolf ω are: {W1=|X1||X1|+|X2|+|X3|W2=|X2||X1|+|X2|+|X3|W3=|X3||X1|+|X2|+|X3|.(15)

Variable proportional weights are obtained based on the above equations: {ω1=W1Wαω2=W2Wβω3=W3Wδ.(16)

The improved location equation of wolf ω is: X(t+1)=(ω1X1+ω2X2+ω3X3)/3.(17)

3 Experiment and analysis

The simulation experiment was carried out in MATLAB environment. A model was established by referring to the parameters of the manipulator (Tab. 1).

The parameters of the incremental PID algorithm were tuned by the trial-and-error method, GWO algorithm, and IGWO algorithm, respectively. Introductions to these methods are shown below.

(1) Trial-and-error method

Through repeated experiments and adjustments, the satisfactory corresponding curve was obtained, thereby determining the final parameters.

(2) GWO

Kp, TI, and TD were optimized using the aforementioned GWO method.

(3) IGWO

Kp, TI, and TD were optimized using the aforementioned IGWO method.

The results obtained by different methods are presented in Tables 2, 3 and 4.

In order to compare the effect of different algorithms on the movement trajectory control of the 6R manipulator, two points were randomly located in a Cartesian coordinate system: the starting point (263.12, 115.36, 362.17) and the target point (465.81, 269,55, 952.67). The experiment was repeated ten times to compare the deviations under the control of different algorithms. The results are shown in Table 5.

The comparison between the PID and incremental PID algorithms under the trial-and-error method in Table 5 showed that the 6R manipulator had a large movement deviation under the control of the PID algorithm, which proved the superiority of the incremental algorithm. Then, the comparison of the three incremental algorithms showed that under the trial-and-error method, the triaxial average deviation was 0.3–0.6 mm; under the GWO parameter tuning, the triaxial average deviation was 0.2–0.5 mm; under the IGWO parameter tuning, the triaxial average deviation was within 0.2 mm. In comparison, the incremental PID algorithm whose parameters were tuned using the IGWO algorithm achieved the best results in the control of the moving trajectory of the 6R manipulator, which proved the reliability of the proposed method.

Then, the manipulator's moving time was compared (Tab. 6).

In the process of moving from the start point to the target point, the traditional PID algorithm required the longest moving time (2–3 s), the incremental PID algorithm under the trial-and-error method required 1.8 s-2 s, and the incremental PID algorithm whose parameters were tuned by the GWO algorithm required 1.5 s and 1.7 s. Finally, the incremental PID algorithm whose parameters were tuned by the IGWO algorithm required a moving time between 1.1 s and 1.3 s. According to the results in Tables 5 and 6, it can be found that the incremental PID algorithm based on IGWO parameter tuning not only had a good control accuracy, but also had a higher moving efficiency in the movement trajectory control of the 6R manipulator. It could better meet the application requirements of the 6R manipulator in actual industrial scenarios.

The angle tracking of the 6R manipulator was analyzed. The following two classic signals were used:

  • step signals with an amplitude of 1;

  • sinusoidal signals with an amplitude of 1 and a frequency of 1 Hz.

Since signals similar to white noise rarely occur in the actual operation process of the manipulator, a sinusoidal signal with a step amplitude of 2 and a frequency of 4 Hz was taken as interference. Taking joint 6 as an example, the IGWO algorithm was used for parameter tuning, and the control effect of the PID and incremental PID algorithms were compared. The step response is shown in Figure 2.

It can be found that under ordinary PID control, there was an overshoot and oscillation in the step response, and the time required to enter the steady state was about 6 s. Under incremental PID control, the step response had no fluctuation and became steady in about 2.5 s. These results showed that under incremental PID control, the control of the moving trajectory by the 6R manipulator had better stability and could effectively inhibit external interference.

The sinusoidal response is displayed in Figure 3. It can be found that both control algorithms had good tracking performance for forward signals without too much obvious vibration. The comparison of the PID and incremental PID algorithms showed that the incremental PID algorithm had better tracking performance and smaller errors for sinusoidal signals, which further proved the stable control performance of the incremental PID algorithm for 6R manipulators. Therefore, in the context of actual industrial machinery, using incremental PID to achieve the control of 6R manipulators can ensure that the manipulators have higher accuracy, efficiency, and stability during the working process, thereby enabling their application in a wider range of industrial scenarios and providing reliable support for actual production.

Based on the above results, it can be concluded that the incremental PID based on IGWO parameter tuning showed smaller motion deviation and shorter motion time in controlling the motion trajectory of the 6R manipulator, with good stability and strong anti-interference ability, offering more advantages compared to the traditional PID algorithm.

Table 1

The parameters of the 6R manipulator.

Table 2

The parameters of the incremental PID algorithm obtained by the trial-and-error method.

Table 3

The parameters of the incremental PID algorithm obtained by the GWO algorithm.

Table 4

The parameters of the incremental PID algorithm obtained by the IGWO algorithm.

Table 5

Comparison of deviations under the control of different algorithms (unit: mm).

Table 6

Comparison of the moving time under the control of different algorithms (unit: s).

thumbnail Fig. 2

Step response.

thumbnail Fig. 3

Sinusoidal response.

4 Conclusions

Based on the incremental PID algorithm, this paper studied the motion trajectory control of industrial manipulators and designed an IGWO algorithm to realize the parameter tuning of the incremental PID algorithm. From the results of simulation experiment, it can be found that the incremental PID algorithm based on IGWO parameter tuning had good performance in controlling the motion trajectory of the 6R manipulator. It exhibited high precision and efficiency and outperformed the traditional PID algorithm in step response and sinusoidal response. Therefore, it can be further promoted and applied in practical industrial robotic arms.

Funding

This research received no external funding.

Conflicts of interest

The authors have nothing to disclose.

Data availability statement

The datasets used and/or analyzed during the current study are available from the corresponding author on reasonable request.

Author contribution statement

Conceptualization, J.W. and F.C.; Methodology, J.W. and F.C.; Software, F.C.; Validation, J.W.; Formal Analysis, J.W.; Investigation, F.C.; Resources, F.C.; Data Curation, J.W.; Writing − Original Draft Preparation, J.W.; Writing − Review & Editing, F.C.; Visualization, J.W.; Supervision, J.W.; Project Administration, J.W.

References

  1. A. Roennau, J. Mangler, P. Keller, M.G. Besselmann, N. Huegel, R. Dillmann, Grasping and retrieving unknown hazardous objects with a mobile manipulator, Automatisierungstechnik 70, 838–849 (2022) [CrossRef] [Google Scholar]
  2. Y. Krasylenko, K. Rydlo, N. Atamas, Y. Sosnovsky, O. Horielov, I. Macecek, O. Samajova, M. Ovecka, T. Takac, J. Samaj, Druid Drone-A portable unmanned aerial vehicle with a multifunctional manipulator for forest canopy and mistletoe research and management, Methods Ecol. Evol. 14, 1416–1423 (2023) [CrossRef] [Google Scholar]
  3. J. Wu, X. Wei, Z. Li, H. Chen, R. Gao, P. Ning, Y. Li, Y. Cheng, Arresting the G2/M phase empowers synergy in magnetic nanomanipulator-based cancer mechanotherapy and chemotherapy, J. Control. Release 366, 535–547 (2024) [CrossRef] [Google Scholar]
  4. X. Liu, Y. Luo, Analytical design of optimal fractional order PID control for industrial robot based on digital twin, 2022 IEEE 2nd International Conference on Digital Twins and Parallel Intelligence (DTPI), 2022, pp. 1–6 [Google Scholar]
  5. D. He, F. Shi, S. Tan, Q. Deng, Research on inverse kinematics algorithm of 6-DOF industrial robot based on RBF-PID, J. Phys. Conf. Ser. 1624, 1–4 (2020) [Google Scholar]
  6. J. Wang, J. Chen, L. Zhang, F. Xu, L. Zhi, External force estimation for robot manipulator based on a LuGre-linear-hybrid friction model and an improved square root cubature Kalman filter, Ind. Robot 50, 11–25 (2023) [CrossRef] [Google Scholar]
  7. T. Udomsap, S. Chinchouryrang, S. Liampipat, T. Chanthasopeephan, Kinematics of platform stabilization using a 3-PRS parallel manipulator, Robomech J. 10, 1–11 (2023) [CrossRef] [Google Scholar]
  8. S. Hao, G. Song, J. Mao, Y. Gu, A. Song, A fully actuated aerial manipulator system for industrial contact inspection applications, Ind. Robot 50, 421–431 (2023) [CrossRef] [Google Scholar]
  9. L.H. Yu, Z.C. Qiu, X.M. Zhang, Radial basis function neural network vibration control of a flexible planar parallel manipulator based on acceleration feedback, J. Vib. Control 28, 351–363 (2022) [CrossRef] [MathSciNet] [Google Scholar]
  10. V. Tharanidharan, R. Sakthivel, Y. Ren, S.M. Anthoni, Robust finite-time PID control for discrete-time large-scale interconnected uncertain system with discrete-delay, Math. Comput. Simul. 192, 370–383 (2022) [CrossRef] [Google Scholar]
  11. A.N. Albab, E. Rahmawati, M. Yantidewi, I. Sucahyo, Dzulkiflih, R. Firmansyah, Control position of mobile robot based on odometry method and PID controller, J. Phys. Conf. Ser. 1491, 1–7 (2020) [Google Scholar]
  12. W.D. Xi, Design and driving technology of temperature control circuit based on semiconductor laser, Nonlinear Opt. Quantu. 52, 247–258 (2020) [Google Scholar]
  13. S. Chatterjee, V. Shaw, R. Das, Multi-stage intrusion detection system aided by grey wolf optimization algorithm, Cluster Comput. 27, 3819–3836 (2024) [CrossRef] [Google Scholar]
  14. R. Rajakumar, K. Sekaran, C.H. Hsu, S. Kadry, Accelerated grey wolf optimization for global optimization problems, Technol. Forecast. Soc. Change 169, 120824 (2021) [CrossRef] [Google Scholar]
  15. M. Premkumar, P. Jangir, B.S. Kumar, M.A. Alqudah, K.S. Nisar, Multi-objective grey wolf optimization algorithm for solving real-world BLDC motor design problem, Comput. Mater. Con. 70, 2435–2452 (2022) [Google Scholar]
  16. S.S. Kumar, A.R. Reddy, B.S. Krishna, J.N. Rao, A. Kiran, Privacy preserving with modified grey wolf optimization over big data using optimal K anonymization approach, J. Interconnect. Networks 22, 2141039:1–2141039:24 (2022) [Google Scholar]

Cite this article as: J. Wang, F. Chen, Research on the motion trajectory control of industrial manipulators by the incremental PID control optimization algorithm, Mechanics & Industry 26, 18 (2025) https://doi.org/10.1051/meca/2025008

All Tables

Table 1

The parameters of the 6R manipulator.

Table 2

The parameters of the incremental PID algorithm obtained by the trial-and-error method.

Table 3

The parameters of the incremental PID algorithm obtained by the GWO algorithm.

Table 4

The parameters of the incremental PID algorithm obtained by the IGWO algorithm.

Table 5

Comparison of deviations under the control of different algorithms (unit: mm).

Table 6

Comparison of the moving time under the control of different algorithms (unit: s).

All Figures

thumbnail Fig. 1

The structure of the PID algorithm.

In the text
thumbnail Fig. 2

Step response.

In the text
thumbnail Fig. 3

Sinusoidal response.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.