1. Introduction
Recent years have witnessed ever-increasing applications of high-speed pick-and-place parallel robots such as Delta parallel robot in fields of electronics, food, pharmaceutical, packaging and other light industries [Reference Clavel1–Reference Liu, Cao, Qu and Cheng3]. For the parallel robots, it is difficult to design the control system with high control performance due to the presence of nonlinearity in the dynamic model, the high interaction and the kinematical constraints between the robot links [Reference Clavel1].
To enhance the trajectory tracking performance of a robot manipulator, some traditional control strategies have been employed such as the independent PID control on each axis, the PID control with an acceleration feedforward component, the PID control with gravity compensation and nonlinear PID-based control [Reference Su, Duan, Zheng, Zhang, Chen and Mi4, Reference Taghirad5]. Since these strategies never or partially use the dynamic model of the Delta parallel robot, dynamic interaction between robot links could not be considered. Hence, one cannot expect the high control performance when high speed and accuracy of a parallel robot are of concern.
Otherwise, the computed torque control (CTC) strategy has been proposed which employs all the dynamic model of the manipulator [Reference Asier, Marga, Itziar and Charles6]. However, the CTC strategy provides a good control performance only when the obtained model is accurate enough, and it does not consider model uncertainties and external disturbances that affect the control performances of the robot manipulator.
Robust control strategies such as H infinity control theory have been suggested to achieve the good control performances despite the presence of model uncertainties and external disturbances. But the controller design and implementation based on the approach is complex [Reference Kong, Zhao, Yang, Han and Han7, Reference Kong, Zhao, Yang, Han and Han8].
Therefore, some researchers have investigated the robust control techniques using PID controller with simple and easy-to-implement structure. These techniques mainly focus on how to tune the parameters of the PID controller so that the closed-loop system guarantees robustness and disturbance attenuation. In refs. [Reference Shang, Cong and Kong9–Reference Zhao, Wang and Mei12], the authors discussed the controller parameter tuning by using system identification method. In ref. [Reference Miguel and Jaime13], PID controller tuning for a planar parallel robot is stated as a nonlinear optimization problem which is solved by differential evolution (DE) algorithm. However, these techniques consider only one or two factors such as the stability and tracking performance to tune the controller parameters.
Recently, active researches on the fractional order PID control have been conducted. The fractional order PID controller provides the improvement of stability and performance of the system although model uncertainties and external disturbances appear. A typical method of the fractional order PID controller tuning is Monje’s method [Reference Monje, Chen, Xue, Vinagre and Feliu14, Reference Monje, Vinagre, Feliu and Chen15]. It has an advantage of tuning a controller so that the closed-loop system meets several conditions regarding robustness to plant uncertainties, load disturbances and high-frequency noise. In Monje’s method, tuning is reduced to a nonlinear optimization problem with nonlinear constraints. However, it is unlikely to obtain the accurate global minimum. Normally, the optimization problem was solved out by using the function FMINCON in MATLAB Optimization Toolbox, which employs the traditional gradient-based paradigm [Reference Angel and Viola2, Reference Monje, Chen, Xue, Vinagre and Feliu14, Reference Monje, Vinagre, Feliu and Chen15].
For a nonlinear optimization problem, however, the gradient-based approaches reveal the drawbacks of the premature convergence to local minimum, high sensitivity to selection of the initial condition and the failure of convergence when discontinuities exist. Therefore, the obtained solution may not be a global optimal solution. It implies that it is necessary to overcome these issues. This motivates the study of this paper.
To the best of the authors’ knowledge, the robust PID controller design approaches based on Monje’s method are mainly applied to process control [Reference Rubio, Ochoa, Balcazar and Pacheco16, Reference Viola and Angel17]. In this paper, to enhance the convergence in Monje’s method, we propose a method based on a hybrid algorithm of particle swarm optimization (PSO) and DE rather than FMINCON used in previous works. This PSO-DE hybrid optimization algorithm has advantage of global search capability which was shown in refs. [Reference Kong, Zhao, Yang, Han and Han7, Reference Kong, Zhao, Yang, Han and Han8].
The main contribution of this paper is to design a robust PID controller that meets some requirements such as robustness, high-frequency noise attenuation and disturbance rejection by using PSO-DE and to apply it to the trajectory tracking control of Delta parallel robot. In this paper, the design problem of the robust PID controller for the parallel robot has been investigated in the following stages:
-
The design specifications are set concretely.
-
The design problem is referred to an optimization problem with several constraints regarding design specifications using Monje’s method.
-
To obtain global solution, this optimization problem is solved using the PSO-DE.
-
For comparison, another PID controller is also tuned using the method in ref. [Reference Angel and Viola2].
Simulation and Experimental results show that the designed robust PID controller has a robust performance and active disturbance attenuation when it is applied to tracking control of the Delta parallel robot. The rest of this paper is organized as follows. Section 2 shows the structure, the kinematic and dynamic models of the developed Delta parallel robot. Section 3 presents the control structure of robust PID controller with CTC strategy, design specifications and PSO-DE-based tuning algorithm of the robust PID controller. Simulation and experimental results are discussed in Section 4. Finally, conclusions are given in Section 5.
2. Modeling of the Delta parallel robot
The Delta parallel robot is a 3-degree-of-freedom robot, which consists of a fixed platform, a mobile platform and three identical RUU (Revolution, Universal, Universal) legs between the fixed platform and the mobile one. The revolute joints are actuated by fixed rotational actuators. Since actuators are placed in the fixed platform, the Delta parallel robot can achieve high speed and acceleration [Reference Angel and Viola2, Reference Liu and Wu18].
Figure 1 shows prototype of the Delta parallel robot on which experiments were carried out. Figures 2 and 3 show physical parameters, a base coordinate system ( $O - xyz$ ) and chain coordinate systems ( ${O_i} -{x_i}{y_i}{z_i}, i = 1,2,3$ ) established in the Delta parallel robot. In addition, the physical parameters of the Delta parallel robot are listed in Table I.
As shown in Fig. 2, the robot has a base coordinate system $O - xyz$ located at the center of the fixed platform, in which z-axis is in the reverse direction of the gravity, x-axis is directed to the upper leg of the first kinematic chain and y-axis is chosen to be the right-handed coordinated system. Over each kinematic chain, a chain coordinate system ${O_i} -{x_i}{y_i}{z_i}, i = 1,2,3$ ) is located at distance $R$ from $O - xyz$ and rotated an angle ${\phi _i}(0^\circ, 120^\circ, 240^\circ )$ , respectively.
For simplicity, upper legs and lower legs of the three kinematic chains are translated to the origin of the base coordinate system by radius $r$ of the mobile platform, as shown in Fig. 3.
2.1. Kinematic model
In general, the kinematic model of the robot consists of the inverse kinematic model and the direct kinematic model. The kinematic model of delta robot has been widely researched [Reference Angel and Viola2, Reference Liu and Wu18–Reference Liu, Cao and Qu20].
Given the coordinates $P ={[{x_p},\,{y_p},\,{z_p}]^{\rm{T}}}$ of the mobile platform in the base Cartesian coordinate system, the inverse kinematic model computes actuated revolute joint angles $\theta ={[{\theta _1}, {\theta _2}, {\theta _3}]^{\rm{T}}}$ of upper legs. The inverse kinematic model can be summarized as follows [Reference Angel and Viola2]. Given the coordinates $P ={[{x_p},\,{y_p},\,{z_p}]^{\rm{T}}}$ of the mobile platform on the $O - xyz$ , its position in each chain coordinate system ${O_i} -{x_i}{y_i}{z_i}\,\,(i = 1,2,3)$ is converted using a rotation transformation matrix as follows:
Since the upper leg link $L_1$ can rotate only on the plane ${x_i}{O_i}{z_i}$ , the joint $J_i$ is located on the circular trajectory with the center at $A_i$ and a $L_1$ radius.
Moreover, the joint $J_i$ is also located on a spherical surface centered in $B_i$ with radius $L_2$ .
Then, $J_i$ is located on the intersection between (2) and (3) in the following plane
From (2) to (4), the position of joint $J_i$ in each chain coordinate system can be stated as
where
Considering [Reference Ayiz and Kucuk21, Reference Kucuk and Gungor22], we have the revolute joint angle of the upper leg as below:
In the Delta parallel robot, the direct kinematic model is the reverse process of the inverse kinematic model, which calculates the Cartesian position $P ={[{x_p},{y_p},{z_p}]^{\rm{T}}}$ of the mobile platform in the base coordinate system, given the revolute joint angles $\theta ={[{\theta _1},{\theta _2},{\theta _3}]^{\rm{T}}}$ of the upper legs.
The position of joint $J_i$ in each chain coordinate system is obtained as follows:
Then, the position of $J_i$ in base coordinate system is obtained using the matrix of revolution transformation as follows:
Moreover, the joint $J_i$ is also located on a spherical surface centered in $p$ with radius $L_2$ .
where ${\rho _i} = x_{{J_i}}^2 + y_{{J_i}}^2 + z_{{J_i}}^2,\;(i = 1,2,3).$
From last two equations of (10),
where
${K_1} = \dfrac{{{y_{{J_3}}}({z_{{J_2}}} -{z_{{J_1}}}) -{y_{{J_2}}}({z_{{J_3}}} -{z_{{J_1}}})}}{{({x_{{J_3}}} -{x_{{J_1}}}){y_{{J_2}}} - ({x_{{J_2}}} -{x_{{J_1}}}){y_{{J_3}}}}},\;{H_1} = \dfrac{1}{2} \cdot \dfrac{{{y_{{J_2}}}({\rho _3} -{\rho _1}) -{y_{{J_3}}}({\rho _2} -{\rho _1})}}{{({x_{{J_3}}} -{x_{{J_1}}}){y_{{J_2}}} - ({x_{{J_2}}} -{x_{{J_1}}}){y_{{J_3}}}}}$
${K_2} = \dfrac{{({x_{{J_2}}} -{x_{{J_1}}})({z_{{J_3}}} -{z_{{J_1}}}) - ({x_{{J_3}}} -{x_{{J_1}}})({z_{{J_2}}} -{z_{{J_1}}})}}{{({x_{{J_3}}} -{x_{{J_1}}}){y_{{J_2}}} - ({x_{{J_2}}} -{x_{{J_1}}}){y_{{J_3}}}}},\;{H_2} = \dfrac{1}{2} \cdot \dfrac{{({x_{{J_3}}} -{x_{{J_1}}})({\rho _2} -{\rho _1}) - ({x_{{J_2}}} -{x_{{J_1}}})({\rho _3} -{\rho _1})}}{{({x_{{J_3}}} -{x_{{J_1}}}){y_{{J_2}}} - ({x_{{J_2}}} -{x_{{J_1}}}){y_{{J_3}}}}}$
From first equation of (10) and (11),
Then, the position of $P$ is obtained as follows:
where
2.2. Dynamic model
The dynamic equation can be expressed as follows:
where $M(\theta )$ is the inertia matrix, $C(\theta,\dot \theta )$ is the Coriolis matrix, $N(\theta )$ is the gravity vector, and $\tau ={[{\tau _1},{\tau _2},{\tau _3}]^{\rm{T}}}$ is the torque vector applied at the upper leg joints.
The inertia matrix $M(\theta )$ in (14) is defined as
where $I_{bt}$ is the inertia matrix of the driving axis and is defined as follows:
And $J$ in (15) is Jacobian matrix defined as follows:
$X ={[x,\,y,\,z]^T} = f(\theta )$ : Position of the mobile platform center
The matrix $C(\theta,\dot \theta )$ in (14) is calculated as follows:
In addition, $N(\theta )$ in (14) is calculated as follows:
3. Robust PID control based on a PSO-DE hybrid optimization algorithm
3.1. Control structure for robust PID controller with CTC strategy
The CTC is a control strategy, which obtains a linearized and decoupled model of robot manipulator using a feedback linearization approach. Applying this strategy, the robot system can be controlled by the linear control techniques.
Consider the following linearization law:
where $u$ is an input of new system and $\hat M(\theta )$ , $\hat C(\theta,\;\dot \theta )$ , $\hat N(\theta )$ are estimations of $M(\theta )$ , $C(\theta,\;\dot \theta )$ , $N(\theta )$ , respectively.
Assuming that Eq. (18) is exact enough to describe a dynamic model of the robotic system
Then, we get the Eq. (19) from (14) and (18).
If the inertia matrix $M(\theta )$ is invertible, the dynamic model (14) is linearized and decoupled.
The obtained system is a linearized and decoupled system for joint variables $\theta (t)$ .
In practice, however, model uncertainties and external disturbances should not be ignored, which affect the control performances of robotic system. These influences and errors can be attenuated by the feedback control for linear system (20).
For the linearized system (20), the following PID control strategy is proposed:
where $e(t)=\theta _d(t)-\theta (t)$ is the joint error, $\dot{e}(t)$ is the joint velocity error, ${\ddot{\theta }}_d(t)$ is the desired joint acceleration, and $k_p$ , $k_i$ and $k_d$ are the controller parameters to be determined.
If we replace the ideal derivative controller in (21) with the real derivative controller, then the resulting PID controller can be expressed as follows:
where $K_p$ is the proportional coefficient, $T_i$ and $T_d$ are the integral and derivative time constants, respectively. In addition, an output first-order filter with the time constant $T_f$ makes the PID controller proper, and it filters the high-frequency noise. $T_f$ is determined as in ref. [Reference Fabrizio and Antonio23].
Figure 4 shows the control structure of the robust PID controller with CTC strategy for the Delta parallel robot. Most controllers for Delta parallel robot use joint sensors that allow us to easily measure joint angles. The trajectory is planned in Cartesian space, and the trajectory in joint space is obtained using inverse kinematic model. The controller uses the trajectory in joint space and measured joint position. Then, the position in Cartesian space is obtained using direct kinematic model.
In Fig 4, $\theta$ is measured joint position and $\theta _d$ is desired joint position. The error in joint position is reduced by individual PID controller with first-order filter. And the torque vector $\tau$ is calculated using (18). This calculation is performed in low-level controller equipped with ARM processor.
3.2. Design specifications for the robust PID controller
In this section, we discuss how to design the robust PID controller with CTC strategy to simultaneously meet several specifications regarding frequency domain.
Robustness to gain variations of the plant is one of the most common specifications that attribute performance of the robust PID controller [Reference Chen and Moore24]. The robustness forces the phase of the open-loop system to be flat at the gain crossover frequency $\omega _{cg}$ and to be almost constant within an interval around $\omega _{cg}$ . Then, the system will be more robust to the gain variations and the overshoot of the transient response is almost constant within the range of gain variations.
Therefore, the robust PID controller design can be referred to solve an optimization problem, which minimizes the following cost function as follows for each possible solution [Reference Monje, Chen, Xue, Vinagre and Feliu14].
where error $e_{FD}(\omega )$ is calculated in a predefined interval between $\omega _i$ and $\omega _f$ around $\omega _{cg}$ . $\varphi (\omega )$ is the phase of the open-loop system at frequency $\omega$ and $\varphi _m$ is the phase margin.
The advantage of this approach is that the frequency band [ $\omega _i$ , $\omega _f$ ] in which the closed-loop system is robust to the gain variations can be selected according to user requirements. More specifications can be included in the cost function (24) with the following constraints [Reference Monje, Chen, Xue, Vinagre and Feliu14, Reference Monje, Vinagre, Feliu and Chen15].
-
The gain crossover frequency $\omega _{cg}$ must be within frequency interval [ $\omega _{cgl}$ , $\omega _{cgh}$ ], and the phase margin must be at least $\varphi _m$ . Then, these constraints can be described as follows:
(25) \begin{equation}{\omega _{cgl}} \le{\omega _{cg}} \le{\omega _{cgh}}, \end{equation}(26) \begin{equation} \arg (C(j{\omega _{cg}})G(j{\omega _{cg}})) \ge - \pi +{\varphi _m}, \end{equation}where $C(j\omega _{cg})$ and $G(j\omega _{cg})$ are transfer functions of controller (22) and plant (20), respectively. -
To attenuate the high-frequency noise, the complementary sensitivity function needs to fulfill the following condition:
(27) \begin{equation}{\left |{T(j\omega ) = \frac{{C(j\omega )G(j\omega )}}{{1 + C(j\omega )G(j\omega )}}} \right |_{{\rm{dB}}}} \le{M_t}\,{\rm{dB,}}\,\;\forall \omega \ge{\omega _t}\,{\rm{rad/s, }}\,|T(j{\omega _t}){|_{{\rm{dB}}}} ={M_t}\,{\rm{dB}}, \end{equation}where $M_t$ means the desired noise attenuation for frequencies $\omega \geq \omega _t$ rad/s. -
To ensure a good output disturbance rejection, the sensitivity function $S(j\omega )$ is constrained by the following condition:
(28) \begin{equation}{\left |{S(j\omega ) = \frac{1}{{1 + C(j\omega )G(j\omega )}}} \right |_{{\rm{dB}}}} \le{M_s}\,{\rm{dB,}}\;\forall \omega \le{\omega _s}{\rm{rad/s, }}\,|S(j{\omega _s}){|_{{\rm{dB}}}} ={M_s}\,{\rm{dB}}, \end{equation}where $M_s$ is the desired value of the sensitivity function for frequencies $\omega \le \omega _s$ .
Therefore, the design problem of the robust PID controller can be referred to a nonlinear optimization problem with nonlinear constraints as follows:
In refs. [Reference Clavel1, Reference Monje, Vinagre, Feliu and Chen15], the FOPID controller design is referred to as the similar nonlinear optimization problem, and it was solved using the function FMINCON of MATLAB. For the optimization problem (29), however, it is hard to find the global optimal solution with traditional approximation optimization methods such as gradient method since the cost function and constraints are complex nonlinear function on the design parameters ( $K_p$ , $T_i$ , $T_d$ ).
Therefore, in the next section, the nonlinear optimization problem with nonlinear constraints is to be solved effectively by a PSO-DE hybrid optimization algorithm, which is one of the swarm intelligent optimization techniques [Reference Kong, Zhao, Yang, Han and Han7, Reference Kong, Zhao, Yang, Han and Han8].
3.3. PSO-DE-based tuning algorithm of the robust PID controller
The feature of the PSO algorithm is to achieve the optimal solution by sharing of information among particles in the swarm. It is assumed that the swarm consists of NP particles in $D$ -dimensional search space (i.e., solution space). Each particle is a $D$ -dimensional vector and its position represents a candidate solution in the solution space. Since it needs to identify three parameters in consideration of (29) in our case, the dimension of the particle is $D=3$ .
If $j$ is the current time step (generation), then the position of the i-th particle in the swarm can be represented as $\eta _j^i=(\eta _j^{i,1},\ \eta _j^{i,2},\ \ldots \, ,\eta _j^{i,D})$ , and it corresponds to
considering (22) and (24)-(29), where the subscript j is omitted for description brevity. The velocity of each particle is denoted by $V_j^i=(V_j^{i,1},\ V_j^{i,2},\ \ldots \, , V_j^{i,D})$ . The best current position (i.e., the best personal position of the particle) of the i-th particle is denoted by $P_j^i=(p_j^{i,1},\ p_j^{i,2},\ \ldots \, , p_j^{i,D})$ , and it is known as the cognitive experience. The best particle in the swarm (that is, in minimization problems, the particle with the smallest cost function value) is indicated by $P_j^{best}=(p_j^{best,1},\ p_j^{best,2},\ \ldots \, , p_j^{best,D})$ , and it is known as the social experience.
We discuss the PSO version proposed by Clerc and Kennedy [Reference Clerc and Kennedy25], which uses a new parameter $\chi$ , known as the constriction factor that improves the convergence. For each time step $j$ (generation), the velocities and the positions of each particle in the swarm are represented as follows:
for $i=1,\ 2,\ \ldots \,, NP$ , where $\chi$ is the above-mentioned constriction factor parameter, $c_1$ and $c_2$ are positive constants which are referred to as cognitive and social parameters, respectively, $r_1$ and $r_2$ denote random numbers that are uniformly distributed in [0, 1] and are randomly chosen in each generation. This scheme is typically utilized for the constant $\chi =0.72984$ and $c_1=c_2=2.05$ [Reference Clerc and Kennedy25, Reference Epitropakis, Plagianakos and Vrahatis26].
The DE algorithm is a population-based stochastic parallel direct search method, and it requires few control parameters. However, it has better convergence behavior than other well-known algorithms such as Evolution Algorithm [Reference Epitropakis, Plagianakos and Vrahatis26]. Like PSO, the population consists of $NP$ individuals that are the $D$ -dimensional vector and is initialized at random in the search space. The individuals are evolved over successive iterations (generations) to find the optimal solution of the cost function in the solution space. At each generation, the evolution of individuals is conducted through mutation, crossover and selection operations [Reference Swagatam and Ponnuthurai27].
Nowadays, numerous PSO-DE hybrid approaches have been developed to improve the accuracy of the optimal solution and the convergence behavior of PSO and DE algorithms. The evolutionary algorithms are known to be still efficient, but it requires a great computational cost due to a large number of function evaluations. The incorporation of DE algorithm in each generation of PSO algorithm may cause an increase of the function evaluations. So, we adopt a PSO-DE hybrid algorithm based on the evolution of cognitive and social experiences in order to suggest an approach of the parameter tuning of the robust PID controller, since it costs smaller amount of computation along with better convergence behavior than other hybrid versions [Reference Kong, Zhao, Yang, Han and Han7, Reference Kong, Zhao, Yang, Han and Han8].
In the tuning algorithm, we define a set of the best personal experience (i.e., the cognitive experiences) of each particle at the j-th time step (generation) as $S_j^p=(P_j^1,\ P_j^2,\ \ldots \, , P_j^{NP})$ . After each time step of PSO algorithm according to (30) and (31), DE procedure of one generation is applied to the elements $P_j^i,\ i=1,\ \ldots \,, NP$ , in the $S_j^p$ set (i.e., the cognitive experience of each particle is evolved). It implies that the best personal positions $P_j^i,\ i=1,\ \ldots \, , NP$ correspond to the individuals $x_j^i,\ i=1,\ \ldots \, , NP$ , of the DE algorithm. The DE mutation operation uses individuals from the $S_j^p$ set. In particular, three evolution steps of DE algorithm (mutation, crossover and selection) are applied only to the ‘promising’ cognitive experiences which have been changed (i.e., improved) during the previous PSO step. From the viewpoint of the computational cost, this turns out to be more effective than the procedure of evolving all particles in the swarm.
The algorithmic scheme of the proposed approach to tune the parameters of the robust PID controller for the Delta parallel robot is as follows:
1: Individuals in the swarm (i.e., the controller parameters $\eta _{j0}^i=[K_{p0}^i,\ T_{i0}^i,\ T_{d0}^i], i=1,\ \ldots \, , NP)$ are randomly initialized in the given range. The population size NP should be chosen in the range from 5 to 10 times $D$ . In order to improve the global convergence, it is set to $NP=50$ .
2: For each particle $\eta _{j0}^i=[K_{p0}^i,\ T_{i0}^i,\ T_{d0}^i] (i=1,\ \ldots \, , NP)$ , if it agrees with inequalities of the stability and constraints (25)-(28), initialize the particle again.
3: For each particle $\eta _{j0}^i=[K_{p0}^i,\ T_{i0}^i,\ T_{d0}^i] (i=1,\ \ldots \, , NP)$ , compute the cost function value $J(\eta _0^i)$ using (29) and let the best personal position $P_0^i$ be the value. Then, let the social experience $P_0^{best}$ be the minimum of $P_0^i,\;i = 1,\,2,\,\ldots \, , NP$ .
4:for each time step j do
5:for each particle i in the swarm do
6: Update the particle $\eta _j^i=[K_{pj}^i,\ T_{ij}^i,\ T_{dj}^i]$ (parameter vector of the controller) using (30) and (31). If the updated parameter vector $\eta _j^i$ disagrees with the inequalities constraints (25)-(28), then updating process should be repeated until it does.
7: Evaluate particle $\eta _j^i=[K_{pj}^i,\ T_{ij}^i,\ T_{dj}^i], i.e.$ , compute the cost function value for the current parameter vector $\eta _j^i=[K_{pj}^i,\ T_{ij}^i,\ T_{dj}^i]$ using (29).
8: If $J(\eta _j^i)\lt J(P_{j-1}^i)$ , then update the cognitive experience as $P_j^i=\eta _j^i$ , else $P_j^i=P_{j-1}^i$ (i.e., do not update value of the previous generation). Also, if $J(P_j^i)\lt J(P_{j-1}^{best})$ , then update the social experience as $P_j^{best}=P_j^i$ , else $P_j^{best}=P_{j-1}^{best}$ .
9: If $P_j^i$ has been changed then
10: /* Evolve $P_j^i$ utilizing one DE step in $S_j^p$ */
11: Mutate $P_j^i$ and generate the corresponding mutant vector $v_j^i$ through the mutation strategy.
12: Crossover the mutant vector $v_j^i$ and target vector $P_j^i$ , and generate the corresponding trial vector $u_j^i$ .
13: Evaluate the trial vector $u_j^i$ , that is, under the trial vector $u_j^i$ agrees with the inequalities constraints (25)-(28) (If it disagrees with the constraints, then mutation and crossover should be repeated until it does), compute the cost function value for $u_j^i$ using (29).
14: If $J(u_j^i)\lt J(P_j^i)$ , then update the best personal position $P_j^i$ . Also, if $\ J(P_j^i)\lt J(P_j^{best})$ , then update the best position $P_j^{best}$ .
15: end if
16: end for
17: end for
4. Experimental results and analysis
4.1. Robust PID controller design for the Delta parallel robot
Considering the specifications of the Delta parallel robot and results in refs. [Reference Monje, Chen, Xue, Vinagre and Feliu14, Reference Fabrizio and Antonio23], the design specifications in the frequency domain mentioned in the inequalities constraints (25)-(28) of the optimization problem (29) are listed in (a)-(e):
-
(a) Minimum phase margin $\varphi _m$ is equal to $45^{\circ }$ .
-
(b) Gain crossover frequency $\omega _{cg}$ must be in the interval $[\omega _{cgl},\ \omega _{cgh}]=[50\,{\rm rad/s},150\,{\rm rad/s}]$ .
-
(c) An interval ( $\omega _f-\omega _i$ ) where the phase is intended to be flat about the gain crossover frequency is equal to $0.25\,{\rm dec}$ .
-
(d) High-frequency noise attenuation: $\omega _t=350\,{\rm rad/s},\ M_t=-15\,{\rm dB}$ that is, $\forall \omega \geq \omega _t,\ |T(j\omega ) |_{\rm dB}\le -15\,{\rm dB}$ .
-
(e) Disturbance rejection: $\omega _s=10\,{\rm rad/s},\ M_s=-15\,{\rm dB}, {\rm that\,is}, \forall \omega \le \omega _s,\ |S(j\omega ) |_{\rm dB}\le -15\,{\rm dB}$ .
In order to find the parameters $(K_p,\ T_i,\ T_d,\ T_f)$ of the robust PID controller, this problem is converted into an optimization problem (29). And the controller is designed by the algorithm mentioned in the previous section. All the parameters used in our PSO-DE-based tuning algorithm are listed in Table II. PSO algorithm and DE algorithm also use the same parameters in Table II.
Figure 5 shows the convergence behaviors of the robust PID controller tuning algorithm for the Delta parallel robot based on the PSO-DE, DE and PSO. PSO-DE has better global search capability than PSO and DE.
After 50 generations, the parameters of the robust PID controller are obtained as follows:
The bode diagram of the open-loop system of designed controller is shown in Fig. 6. Two diagrams demonstrate that the designed controller meets the design specifications (a), (b) and (c).
The frequency responses of the complementary sensitivity $T(j\omega )$ and the sensitivity function $S(j\omega )$ of the designed closed-loop system are shown in Figs. 7 and 8, respectively. As shown in these figures, the complementary sensitivity function meets the design specification (d) and the sensitivity function meets the design specification (e).
Consequently, we can make sure that the robust PID controller designed by the proposed approach satisfies the above-mentioned design specifications in frequency domain.
4.2. Simulation results
In order to analyze the control performance of the designed robust PID controller in the time domain, a trajectory planning was implemented using the modified trapezoidal acceleration curve method, in which acceleration and jerk is small for pick-and-place task [Reference Afroun, Chettibi and Hanchi28, Reference Xiuqing and Lei29].
Table III shows the waypoints of the track for the control simulation of the Delta parallel robot. The desired trajectories on x, y, z axes and in joint space are shown in Figs. 9 and 10, respectively.
The desired trajectories on x, y, z axes are obtained from waypoints in Table III using modified trapezoidal acceleration curve method, and the trajectories in joint are obtained from trajectories on task space using inverse kinematic model.
The following waypoints are determined as considering pick-and-place tasks in workspace.
To analyze the performance of the robust PID controller designed in the previous section, the MATLAB/Simulink model is built using the physical parameters of the Delta parallel robot in Table I, the nonlinear dynamic model (14) and the control structure of Fig. 4.
Another robust PID controller with CTC [Reference Angel and Viola2] is implemented and used for comparative analysis. The design specifications of the closed-loop system are set as follows:
Then, the obtained parameters are
Figures 11 and 12 show that the tracking errors of the controllers in this paper and [Reference Angel and Viola2] and Table IV show the RMS of tracking errors. As shown in these figures and table, the controller in this paper has a smaller tracking error for the desired trajectory.
To analyze the robustness of controllers, real mass of delta robot is setup in Table V, which is different from Table I. Moreover, we assume that random noises of [-0.1 deg, 0.1 deg] arise in feedback loop and disturbances are present in the torque driving each upper leg in interval [4 s, 8 s].
Figures 13 and 14 show tracking errors of controllers in this paper and in ref. [Reference Angel and Viola2] for robustness analysis. Table VI shows RMS of tracking errors. As shown in these figures and table, the controller proposed in this paper has better robustness and good disturbance attenuation.
4.3. Experimental results
First, we built the Delta parallel robot to be controlled by the robust PID controller designed in Section 4.1. Then, the tracking performances for the desired trajectory in the Cartesian space and the joint space are shown in Figs. 15 and 16 when mass of load is 100 g. Figures 17 and 18 show tracking errors when mass of load is 300 g. Table VII shows RMS of tracking errors.
In conclusion, the robust PID controller designed in this paper tracks the desired trajectory with a small error, and a slight tracking error occurs when the desired value changes. At the same time, our experimental results show a slight increase of the tracking error than that of simulation results. It follows from the fact that the control performance is affected by nonlinearities as backlash of reduction gears, which is connected with the driving motors. If the load mass is less than 100g, the position tracking error is less than ±3.5 mm.
5. Conclusions
In this paper, we propose an approach to tune an optimal robust PID controller with CTC strategy for trajectory tracking of a Delta parallel robot by adopting a PSO-DE hybrid optimization algorithm. Considering the nonlinear dynamic model of the Delta parallel robot, the design problem of a robust PID controller with CTC strategy that guarantees robustness and disturbance attenuation has been formulated as a nonlinear optimization problem with nonlinear constraints. To obtain a more accurate global optimum of the nonlinear optimization problem, an algorithm based on a PSO-DE hybrid optimization algorithm has been newly proposed. Simulation and experimental results carried out on the Delta parallel robot show that the designed robust PID controller has robust performance and active disturbance attenuation despite the presence of model uncertainties and external disturbances.
The proposed method needs much calculations, but it is solved by hardware that has good computing power. FOPID has 5 parameters, so FOPID has better performances such as robustness than PID. In future works, the FOPID and ADRC (active disturbance rejection control) are proposed and applicated in other parallel robots.
Author contributions
Kong Yong-Su conceived and designed study. Ri Jin-Song and Pak Yong-Ju made the delta robot. Kong Yong-Su, Ri Jin-Song and Pak Yong-Ju designed and simulated control system. Ri Jin-Song and Pak Yong-Ju made experiments and verified effectiveness of new method approached in this paper. Kong Yong-Su and Pak Yong-Ju wrote the article.
Financial support
This research received no specific grant from any funding agency, commercial or not-for-profit sectors.
Conflicts of interest
The authors declare no conflicts of interest exist.
Ethical approval
Not applicable.