Abstract
This paper presents a simple novel intelligent control scheme. The devised control scheme is a Takagi Sugeno Kang (TSK)- based type-2 neural fuzzy system (NFS) with a self-tuning mechanism optimized via a conjugate gradient (CG) method. Defuzzification phase of the NFS comprises T-norms rather than the conventional product–sum combination. The proposed control scheme is incorporated with a two-link flexible manipulator (TLFM), which belongs to the class of multi-body discrete/distributed, nonlinear, infinite-dimensional and highly coupled systems. The finite-dimensional model is acquired by using an assumed mode method (AMM). The truncated model has uncertainties, which makes it a difficult control problem. The control objective is to accomplish angular maneuvering of the TLFM links while regulating their intrinsic fluctuations. For an extensive analysis, the proposed control scheme is compared with a TSK model-based type-1 NFS and an adaptive proportional integral derivative (APID) control scheme. The simulation results demonstrate that the proposed control scheme exhibits better position tracking and vibration regulation capabilities compared to the other intelligent control schemes.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
Conventional manipulators are manufactured to have maximum stiffness for the purpose of diminishing the effects of vibrations. This leads to a bulky and heavy design with intensive energy requirements and significant speed limitations. Unfortunately, vibrations in the rigid manipulators still cannot be avoided during fast movements. This results in an imprecision of the end-effector position [1]. Flexible manipulators are preferred because of theirs lightweight and insignificant energy requirements. The main problem is to control the flexible manipulator in the presence of an uncertain fluctuation.
In the literature, there are various control schemes incorporated with flexible manipulators. Mahamood and Pedro [2] have used a PID control scheme on the TLFM based on an assumed mode method (AMM) model. Performance of the controller is evaluated on the basis of tracking and vibration suppression capabilities. PID control scheme is incapable of making adjustments to the changes in the process parameters. Ahmad [3] has designed a control scheme that is a combination of linear quadratic regulator (LQR) and PID. The scheme is used efficiently in reducing the vibrations of the flexible manipulator. Miyasato [4] has developed an adaptive \(H_{\infty }\)- based control scheme for a flexible arm. The controller is robust to model uncertainties and is insensitive to parameter variations.
The development of an accurate mathematical model is a cumbersome task, particularly considering the uncertainties associated with the flexible manipulators. This encourages the use of self-tuning adaptive control strategies as well as fuzzy logic control and neural networks. Fuzzy logic controller (FLC), when applied to a nonlinear control system, gives a robust performance. This is because the FLC does not require an explicit mathematical model of the system, but is designed based on human expertise and knowledge, so it directly handles uncertainty in the system [5,6,7]. Li et al. [8] have designed an adaptive fuzzy system for the control of a single-link flexible manipulator. The designed controller is based on the Takagi Sugeno modeling and the linear matrix inequality analysis. The backstepping technique is used for tuning of the parameters. Tinkir et al. [9] have used a neuro-fuzzy control scheme for a single-link flexible manipulator. Pedro and Tshabalala [10] have developed a more complex hybrid strategy using model predictive, neural network and PID control. AMM is used for the modeling of the TLFM. PID is used for the vibration control, while model predictive-based neural network is used for the position control of the manipulator. Different payloads are considered for assessing the robustness of the control scheme, and the results have revealed the effectiveness of the proposed control scheme. Subudhi and Morris [11] have developed a neuro-fuzzy control based on the radial basis functions. AMM is used for the dynamic modeling of the TLFM. The performance of the proposed control scheme is compared with a PD adaptive control and a fuzzy control scheme.
Type-1 FLC has been used extensively in several engineering fields [12,13,14]. However, it performs poorly when it encounters a higher degree of uncertainty [15]. This led researchers to use the type-2 FLC, which is presented by Zadeh [16], to better deal with uncertainties. In the literature, the supremacy of a type-2 NFS is affirmed compared to a type-1 fuzzy system, in terms of dealing better with the uncertainties [17,18,19,20]. Type-2 NFS has higher fuzzy set dimensions; hence, it provides more degrees of freedom for the direct processing of uncertain information [21]. Önen et al. [22] have designed a neuro-fuzzy controller based on a type-2 fuzzy control system. Lagrange and AMM are used for the design of the flexible manipulator. Tracking and vibration control of the flexible manipulator is carried out efficiently. Juang and Tsao [23] have used a self-tuning fuzzy neural network system with Gaussian membership functions having fixed standard deviations and uncertain means for system identification purposes. The proposed controller has shown the capability of learning structures and parameters at the same time. Abyayev and Kaynak [24] have proposed a fuzzy neural structure based on the type-2 TSK system. The scheme proposed by the authors has the ability to adjust the ratio of upper and lower membership bounds. Juang et al. [25] have shown two types of NFS type-2 fuzzy sets: one with uncertain means but fixed standard deviations, and the other with fixed means but uncertain standard deviations. Lin et al. [26] algorithm has reduced the computation complexity of adjusting the upper-to-lower bound ratio. Gaussian membership functions are used in the antecedent part with uncertain means and fixed standard deviations, while TSK is used in the consequent part. The results are also compared with other type-1 and type-2 neural fuzzy systems. The control scheme has shown better performance with lesser rules, compared to the other schemes.
In addition to the above-mentioned uses of the type-2 NFS, the researchers have used it in many other engineering fields as well [27,28,29,30,31]. The steepest descent (SD) method is used in most of the aforementioned type-2 NFS for tuning of the parameters. It uses partial derivatives to determine the new update values of the NFS parameters. Learning speed of the SD method is slow, especially when the search space is complex, and it is widely known to have a poor convergence rate. The performance of the method depends on the appropriate selection of the parameters, such as learning rate and initial weights. Even a slight deviation in these values can deteriorate the algorithm’s performance [32,33,34]. So the motivation of this research is to look for an alternative parameter tuning method for optimizing parameters of the type-2 NFS. The conjugate gradient (CG) method used in this study has never been used before in the type-2 NFS. It adjusts the initial search direction; consequently, achieving a faster and more stable response. Compared to the SD method, the method used in this study has a global convergence property, proof of which is also given in this paper. Furthermore, the type-2 NFS in this study has T-norms in the defuzzification phase rather than the commonly used product–sum combination, so to speed up the convergence.
The paper is organized in five sections. Section 2 illustrates the modeling of a TLFM. Proposed control scheme is explained in Sect. 3. The simulation results are presented and discussed in Sect. 4. Section 5 gives the conclusion of the paper.
2 TLFM
A planar flexible manipulator model by De Luca and Siciliano [35] is shown in Fig. 1.
The following coordinate frames have been utilized: \(\left\{ {{{\hat{X}}}_{0}},{{{\hat{Y}}}_{0}} \right\} \) is the inertial coordinate frame, \(\left\{ {{X}_{i}},{{Y}_{i}} \right\} \) is the ith link rigid body moving coordinate frame, and \(\left\{ {{{\hat{X}}}_{i}},{{{\hat{Y}}}_{i}} \right\} \) is the ith link flexible body moving coordinate frame. Rigid motion is defined by joint angles \({{\theta }_{i}}\) , ith link flexible transversal deflection is defined by \({{y}_{i}}\left( {{\chi }_{i}} \right) \) at a spatial point \(\chi _i \; (0\le {{\chi }_{i}}\le {{l}_{i}})\), and \({{l}_{i}}\) is the ith link length. The links are serially cascaded and actuated by the joints with individual motors. The following assumptions have been made for dynamic modeling of the flexible manipulator [36]. Each link movement is assumed in the horizontal plane only. Consequently, the effects of cross-shear and rotary inertia are insignificant. Link deflections are assumed to be small. Rotor’s kinetic energy is assumed to be because of its rotation only. The backlash in motor and friction effects are ignored. Continuous cross-sectional area and uniform material of links are assumed, i.e., constant Young’s modulus and mass density. Euler–Bernoulli beam theory is used to model link with uniform density \({{\rho }_{i}}\), flexural rigidity \({{\left( \mathrm{EI} \right) }_{i}}\) and link deflection \({{y}_{i}}({{\chi }_{i}},t)\) as follows [37].
Without discretization of the flexible manipulator, the Lagrangian function has an unlimited-dimensional model with limited use for simulation and control purposes. AMM [38, 39] is used for the finite-dimensional solution of (1), which represents the link deflections \( {{y}_{i}}\in R^g \) (2) as a truncated finite modal series comprising spatial mode shape functions (3) and time-varying modal displacements (4).
where the solution of (2) is,
and,
where \( {C}_{1,ij} \), \( {C}_{2,ij} \), \( {C}_{3,ij} \) and \( {C}_{4,ij} \) are unknown coefficients, which are to be determined by the boundary conditions, and
where \( {w}_{ij} \) is the ith link jth natural angular frequency of the eigenvalue problem. Applying the boundary conditions, given in [35, 40], gives the homogeneous solution (6).
where \(F\left( {{\beta }_{ij}} \right) \) is defined as,
where \({{J}_{Li}}\) and \({{M}_{Li}}\) are the moment of inertia and mass, respectively, at the end of the ith link and are defined in [35].
The Euler–Lagrange equation gives s generalized coordinate \({{q}_{i}}\) solutions,
where \( s = g + \sum \limits _i {{d_i}} \), g represents the number of links and \( d_i \) represents the modes considered for each link. L is the Lagrangian, and \({{f}_{i}}\) is the force performing work on \({{q}_{i}}\). From the Euler–Lagrange equation (8), TLFM closed form of equations can be written in the form as (9). Complete modeling and detailed equations of motion of the TLFM can be found in [35, 36].
where \(B \in {R^{s \times s}}\) is the inertia positive definite matrix, \(h\in {R^s}\) is the vector of centrifugal and Coriolis forces, \(K\in {R^{s \times s}}\) is the stiffness matrix, \(u \in {R^{g}}\) is the input vector and Q is the input weighting matrix defined as \({\left[ {{I_{g \times g}}\; {0_{g \times \left( {s - g} \right) }}} \right] }\).
3 Control Scheme
This section introduces the proposed adaptive neural fuzzy control (ANFC) scheme. The objective of the scheme is to control the angular positions of the TLFM links while regulating their intrinsic fluctuations. The multi-input single-output (MISO) structure of an ANFC system is shown in Fig. 2.
The structure comprises many layers. Layer 1 is the input layer, where values are in the crisp form. Layer 2 is the membership function layer, where the fuzzification process converts crisp values into fuzzy values. For fuzzification, fuzzy sets can be triangular, trapezoidal, sigmoidal, sinc and many other functions. Mitaim and Kosko [41] have used different membership functions and have achieved fast function approximations with the sinc membership function. The sinc membership function is defined as
where \( i=1,\ldots ,r \), \( j=1,\ldots ,n \), r denotes the number of rules, n denotes the number of inputs, \(x_j \in R^n\) is the input vector, \(\nu _{ij} \in R^{r \times n}\) is the mean vector and \(\varsigma _{ij} \in R^{r \times n}\) is the variance vector of the membership function. Fuzzy type-2 membership functions are considered with uncertain means and fixed variances. The antecedent part’s upper and lower membership functions are represented as:
The fuzzy set covers the input–output region, and the correspondent consequent part defines the mathematical functions of that region. The ith rule of NFS is defined as [42,43,44]:
Layer 3 determines the firing strength of antecedent part’s rules. The outputs of the layer 2 are multiplied in this layer, so to represent the firing strength; hence, upper (\( \bar{\mu _i} \in R^r \)) and lower firing strengths (\( \underline{\mu _i} \in R^r \)) are determined in this layer.
T-norm and T-conorm combination introduced by Weber [45] is used rather than the widely used product–sum combination. T-norm is simple product, while T-conorm is . Using suitable T-norms enhances the performance of NFS [46].
where \( \bar{p_i} \in R^r \) and \( \underline{p_i} \in R^r \) are normalized degree of fulfillment. Layer 4 has consequent parameters, i.e., \(c_i \in R^r\) defined in (14), whereas \(b_{i0}\) to \(b_{in}\) are the variables. Layer 5 calculates an output by using the centroid defuzzification method.
where \(\omega \) is the scalar variable that determines the proportion of upper and lower output, \(\underline{u}=\sum \nolimits _i\underline{p_i}c_i\) and \(\bar{u}=\sum \nolimits _i\bar{p_i} c_i\).
3.1 Self-Tuning Algorithm
The parameters in the antecedent and consequent layers are needed to be optimized. The cost function, namely mean squared error (MSE), (18) is used to optimize these parameters.
where u and \(u_a\) in (18) are the actual and desired output, respectively. The objective of the algorithm is to minimize the cost function by optimizing the parameters. The CG method is used for tuning of the parameters, which requires the gradient of the required parameters to be evaluated. The backpropagation method is used to find out the gradient vectors of the required parameters. The gradient vectors are the derivatives of MSE with respect to the required updated parameters. A general form of the gradient of MSE with respect to the antecedent membership function mean is defined by the chain rule as:
A general form of the gradient of MSE with respect to the antecedent membership function variance is
Gradient of MSE with respect to the consequent parameters is
Gradient of MSE with respect to \(\omega \) is
where \(\frac{\partial E}{\partial u} = e\), \(\frac{\partial u}{\partial c_i} = \frac{\mu _i}{T\{\mu _i\}} \), \(\frac{\partial u}{\partial \mu _i} = \frac{c_i - \left( 1- \prod \limits _{i = 1}^r \frac{\mu _i}{\mu _i} \right) u}{T_i\{\mu _i\}} \), \(\frac{\partial c_i}{\partial b_{i0}} = 1\), \(\frac{\partial u}{\partial \omega }=(\bar{u}-\underline{u}) \), \(\frac{\partial c_i}{\partial b_{ij}} = x_j\), and specific upper and lower membership functions mean and variance are defined as:
Dong, Liu, Xu and Yang CG algorithm, which is named as DHS [47], is the upgraded version of Hestenes–Stiefel (HS) [48] algorithm. This CG algorithm has the form,
where \(\xi _{ij}\) is any required parameter that is needed to be updated and \( \alpha \) is the learning rate. The search direction for the algorithm is
whereas
\(\mathrm{condition} \, 1 = \left| \psi (\kappa )^{T}\lambda (\kappa -1) \right| \left\| {{\varphi }(\kappa -1)} \right\| \ge \tau \left\| {\psi (\kappa )} \right\| \),
\(\mathrm{condition} \, 2 = \left| \psi (\kappa )^{T}\lambda (\kappa -1) \right| \left\| {{\varphi }(\kappa -1)} \right\| < \tau \left\| {\psi (\kappa )} \right\| \), and
where \(\psi (\kappa )=\frac{\partial E}{\partial \xi _{ij}(\kappa )}\) is the gradient vector, \(\lambda (\kappa -1)=(\psi (\kappa )-\psi (\kappa -1))\) and \(\iota \) and \( \tau \) are the constants.
3.1.1 Algorithm of the Proposed Control Scheme
As mentioned earlier, the main objective of the control scheme is to control the angular positions of the TLFM links and to regulate the deflections associated with them. The control scheme achieves this by generating the desired control action with its self-tuning algorithm. The control scheme and the TLFM are connected in a closed loop system. Direct control model is used, so the control law is based on producing the control output (17) and sending it directly to the TLFM (9). The operating procedure of the closed loop system is mentioned below.
Step 1 In the forward pass of the ANFC, all the parameters are initially defined arbitrarily and the output (17) of the ANFC is calculated.
Step 2 The error between the desired and actual output of the TLFM is measured, which is then propagated back to the earlier layers of the ANFC.
Step 3 Based on the error, the suitable control action is generated by optimizing the parameters in the antecedent and consequent layers. The update equations for each parameter (19)–(35) minimizes the cost function (18).
Step 4 The algorithm updates the search direction by calculating \( \varphi (\kappa ) \) (37) and \(\beta (\kappa ) \) (38) so that \( \left\| {{\psi (\kappa )}} \right\| \le \bar{\varepsilon } \), where \( \bar{\varepsilon } \in \left( {0,1} \right) \).
Step 5 The control scheme proceeds to the next iteration, and the process repeats from step 2 until the solution converges.
3.1.2 Assumptions
This section presents the general assumptions that are often considered for the CG method convergence analysis [49]. The set \(\varDelta = \left\{ {\left. {z \in {R^n}} \right| E(z) \le E({z_0})} \right\} \) is bounded, where \( z_0 \) is a given point. In some region \( \varDelta _o \) of \( \varDelta \), E function is continuously differentiable, and its gradient \( \psi \) is Lipschitz continuous. Moreover, a constant \( \bar{s}>0 \) exists, so that
3.1.3 Sufficient Descent Condition
Theorem 1
Consider the CG method (36) and (37) with the parameter \( \beta _{k} \) defined by (38). Then,
The algorithm should satisfy the necessary descent condition, which is \( \varphi (\kappa )^T{\psi (\kappa )} \le - \bar{c} {\left\| {{\psi (\kappa )}} \right\| ^2} \), where \( \bar{c}>0 \) [50, 51]. This theorem shows that the proposed algorithm satisfies this condition.
Proof
For all \( \kappa > 1 \), the following two cases are considered from (37),
Case (i):
If \( \frac{\psi (\kappa )^{T}\lambda (\kappa -1)}{\varphi (\kappa -1)^{T}\lambda (\kappa -1)} \le {\iota \frac{{\psi (\kappa )^T{\varphi (\kappa -1)}}}{{{{\left\| {{\psi (\kappa )}} \right\| }^2}}}{{\left( {\frac{{\psi (\kappa )^T{\lambda (\kappa -1)}}}{{\varphi (\kappa -1)^T{\lambda (\kappa -1)}}}} \right) }^2}} \), then \(\beta (\kappa )=0\) (38), and therefore, \( \varphi (\kappa )^T{\psi (\kappa )}=- {\left\| {{\psi (\kappa )}} \right\| ^2} \).
Case (ii):
If \( \frac{\psi (\kappa )^{T}\lambda (\kappa -1)}{\varphi (\kappa -1)^{T}\lambda (\kappa -1)} > {\iota \frac{{\psi (\kappa )^T{\varphi (\kappa -1)}}}{{{{\left\| {{\psi (\kappa )}} \right\| }^2}}}{{\left( {\frac{{\psi (\kappa )^T{\lambda (\kappa -1)}}}{{\varphi (\kappa -1)^T{\lambda (\kappa -1)}}}} \right) }^2}} \), then using this condition, multiplying (37) by \( \psi (\kappa )^T \) and using (38) gives
The inequality is used with and \( \hbar = \sqrt{\iota }\frac{{\left( {\psi (\kappa )^T{\varphi (\kappa -1)}} \right) }}{{\left\| {{\psi (\kappa )}} \right\| }}\left( {\frac{{\psi (\kappa )^T{\lambda (\kappa -1)}}}{{\varphi (\kappa -1)^T{\lambda (\kappa -1)}}}} \right) \), where \( \iota >\dfrac{1}{4} \). This completes the proof. \(\square \)
3.1.4 Global Convergence
In this section, the Zoutendijk condition [52], which is often used to prove the global convergence [53,54,55], is used to prove the global convergence of the proposed scheme.
Theorem 2
Let \( {\xi (\kappa )} \) and \( {\varphi (\kappa )} \) are generated by algorithm 3.1.1. If \( \left\| {{\psi (\kappa )}} \right\| \ge \varepsilon \), where \( \varepsilon > 0 \) is a constant, then there exists a constant \( \bar{o}>0 \) such that
Proof
From (37), the following two cases are considered to prove the theorem.
Case (i):
If \( \left| {\psi (\kappa )^T{\lambda (\kappa -1)}} \right| \left\| {{\varphi (\kappa -1)}} \right\| \ge \tau \left\| {{\psi (\kappa )}} \right\| \), then \( \left\| {{\varphi _{\kappa }}} \right\| = \left\| {{\psi _{\kappa }}} \right\| \) holds.
Case (ii):
If \(| {\psi (\kappa )^T{\lambda (\kappa -1)}}|\Vert {{\varphi (\kappa -1)}}\Vert < \tau \Vert {{\psi (\kappa )}}\Vert \), then using this condition, \( \beta (\kappa )\) (38) and the Cauchy–Schwarz inequality gives
Letting \( \bar{o}=2 + \iota \), the proof is completed. \(\square \)
Theorem 3
Let \( \{ \xi (\kappa )\} \) be generated by algorithm 3.1.1. Then, \( \psi (\kappa )=0 \) for some \( \kappa \) or
This theorem shows the convergence result of the proposed method.
Proof
The Zoutendijk condition defined by (50) is used to prove the theorem.
Suppose if (49) does not hold, then there exists a constant \( \varepsilon > 0\), so that
Using the inequalities from (40), (44) and (50) gives (52),
where \( \bar{h}= \left( {1 - \frac{1}{{4 \iota }}} \right) \). Taken into account the assumptions in Sect. 3.1.2, (52) states that \(\mathop {\lim }\limits _{\kappa \rightarrow \infty } \left\| {{\psi (\kappa )}} \right\| = 0\), which contradicts (51), and therefore proves the theorem. \(\square \)
4 Simulation Results
The block diagram of a TLFM incorporated with the ANFC scheme is shown in Fig. 3. The ANFC scheme has two inputs (error and derivative of error) and one output (u). Actuators are situated at the base of both links. The goal of both actuators is to perform the desired angular maneuvering of the flexible links. The intelligent scheme is not dependent on concise system modeling. It has a self-tuning mechanism, which performs suitable control actions based on the error between the desired and actual output. In this research, two AMM modes are considered for each TLFM link. Therefore, coordinates are \(q={{\left( {{\theta }_{1}}\ {{\theta }_{2}}\ {{\delta }_{11}}\ {{\delta }_{12}}\ {{\delta }_{21}}\ {{\delta }_{22}} \right) }^{\mathrm{T}}}\); these are link joint angle positions (1st and 2nd link, respectively) and modal displacements (1st link 1st mode, 1st link 2nd mode, 2nd link 1st mode and 2nd link 2nd mode, respectively). TLFM system parameters are given in [35]. For the TLFM with normal payload (\(m_p=0.1\) kg), the roots of frequency equation (7) are \(\beta _{11}=1.16\), \(\beta _{12}=2.24\), \(\beta _{21}=2.47\) and \(\beta _{22}=6.687\). Orthonormalization is performed by choosing values of \({{C}_{1,ij}}\) and \({{C}_{2,ij}}\) that normalizes the mode shape functions, so that \( \int \limits _{0}^{{{l}_{i}}}{\phi _{ij}^{2}\left( {{\chi }_{i}} \right) }d{{\chi }_{i}}={{m}_{i}}\), where \( {{m}_{i}} \) is the ith link mass. The mode shapes (3) evaluated for the TLFM with normal payload are \(\phi _{11}=0.143\), \(\phi _{11}^{'}=0.507\), \(\phi _{12}=0.092\), \(\phi _{12}^{'}=-0.233\), \(\phi _{21}=0.137\), \(\phi _{21}^{'}=0.410\), \(\phi _{22}=-0.007\) and \(\phi _{22}^{'}=-1.135\).
The performance of the proposed ANFC scheme (referred to as modified TSK type-2 ANFC scheme (MTSK 2) from hereafter) is compared with adaptive proportional integral derivative (APID) control scheme [56] and TSK type-1 ANFC scheme [46] (referred to as TSK 1 from hereafter). This comparison will provide a good analysis of strengths and weaknesses of the proposed scheme and other intelligent control schemes. MTSK 2 parameter \(\tau \) is defined to be \(10^{6}\).
The desired trajectory of 30 sec is described mathematically by (53). Simulations are carried out for the following two cases: In the first case, the two links are desired to follow opposite angular positions of equal magnitude, while in the second case, desired angular positions for the two links are identical. This can be achieved for the case 1 trajectory by assigning \(D=30\) for the 1st link and \(D=-30\) for the 2nd link; while for the case 2 trajectory by assigning \(D=30\) for the 1st and the 2nd link simultaneously.
Figures 4 and 5 show the results of TLFM with control schemes for case 1 and case 2, respectively. For the reader’s convenience, in the following results \((\circ )_{\mathrm{APID}-1}\), \((\circ )_{\mathrm{TSK1}-1}\) and \((\circ )_{\mathrm{MTSK2}-1}\) are the plots for 1st link of TLFM with APID, TSK 1 and MTSK 2 control schemes, respectively. Furthermore, \((\circ )_{\mathrm{APID}-2}\), \((\circ )_{\mathrm{TSK1}-2}\) and \((\circ )_{\mathrm{MTSK2}-2}\) are the plots for 2nd link of TLFM with APID, TSK 1 and MTSK 2 control schemes, respectively. Figure 4a, b shows the position in degrees of 1st and 2nd link of TLFM for case 1. ANFC schemes have faster convergence compared to APID control scheme. APID control scheme is struggling to maintain the desired position, while TSK 1 and MTSK 2 control schemes have settled quickly and more efficiently. MTSK 2 has shown better transient and steady-state response than all other control schemes. Figure 4c, d shows the deflections in both links of TLFM for case 1, as expressed by (2). Despite the abrupt changes in the desired trajectory and the fast convergence of the MTSK 2, the deflections are observed to be well managed by the proposed scheme.
Figure 5a, b shows the positions in degrees of 1st and 2nd link of the TLFM for case 2. In this case, the desired trajectory is the same for both links. ANFC schemes have faster convergence compared to APID control scheme. Furthermore, Fig. 5c, d shows the deflections in both links of TLFM for case 2. Again, MTSK 2 has better convergence than all other control schemes. Angular positions of links are quickly reaching theirs targets and deflections are quite well managed by MTSK 2.
In order to observe the robustness of the proposed control scheme with a comparative view, the same simulation tests should be carried out in the presence of uncertainty. For this purpose, TLFM payloads are varied, but the control schemes parameters are unchanged. Ideally, since the control schemes are adaptive, they should perform better, even after the change in the TLFM parameters. In order to achieve this goal, TLFM with no payload (\(m_p=0\) kg) and double payload (\(m_p=0.2\) kg) is considered. Changing payload affects the mode frequencies (7) of the structure, so derivations and calculations are carried out again to find out the new values of the TLFM system. The roots for the TLFM with no payload are: \(\beta _{11}=1.206\), \(\beta _{12}=2.325\), \(\beta _{21}=3.6\) and \(\beta _{22}=6.72\). With these values, the mode shapes are: \(\phi _{11}=0.143\), \(\phi _{11}^{'}=0.501\), \(\phi _{12}=0.089\), \(\phi _{12}^{'}=-0.267\), \(\phi _{21}=0.136\), \(\phi _{21}^{'}=0.402\), \(\phi _{22}=-0.039\) and \(\phi _{22}^{'}=-1.441\). Likewise, for the TLFM with double payload, the roots of frequency equation of TLFM are: \(\beta _{11}=1.123\), \(\beta _{12}=2.183\), \(\beta _{21}=2.142\) and \(\beta _{22}=6.68\). Other parameters for the TLFM are: \(\phi _{11}=0.144\), \(\phi _{11}^{'}=0.512\), \(\phi _{12}=0.093\), \(\phi _{12}^{'}=-0.220\), \(\phi _{21}=0.137\), \(\phi _{21}^{'}=0.410\), \(\phi _{22}=-0.004\) and \(\phi _{22}^{'}=-1.103\).
Figure 6a, b shows the positions in degrees of 1st and 2nd link of the TLFM for case 1, whereas Fig. 6c, d shows the deflections in both links of the TLFM for case 1. MTSK 2 has faster angular position tracking for both links. 2nd link deflections of MTSK 2 are slightly higher than others, but the magnitude of deflections is quite low. Figure 7a, b shows the positions in degrees of 1st and 2nd links of the TLFM for case 2, whereas Fig. 7c, d shows the link deflections of 1st and 2nd links of the TLFM for case 2. Again, position tracking of the MTSK 2 is superior than others.
Figure 8a, b shows the positions of 1st and 2nd links of the TLFM for case 1, whereas Fig. 9a, b shows the positions of 1st and 2nd links of the TLFM for case 2. For both cases, MTSK 2 has better convergence than all other control schemes. Angular positions of links are quickly reached, and the deflections for both cases are well managed by both links of the TLFM, as shown in Figs. 8c, d, 9c, d.
For a more extensive and detailed analysis, IAE performance index [57] is used to analyze the performances of all the control schemes. Figure 10 shows the IAE performance indices for case 1 profile trajectories. For any payload conditions, the MTSK 2 has better performance compared to all other control schemes. Compared to an APID control scheme, the TSK 1 scheme has on average \(50 \%\) and \(70 \%\) better performance for 1st and 2nd link, respectively, whereas MTSK 2 scheme has on average \(80 \%\) better performance for both links. Figure 11 shows the IAE performance indices for case 2 profile trajectories. Again, the MTSK 2 scheme is better than APID and TSK 1 control schemes. Compared to an APID control scheme, the TSK 1 scheme has on average \(50 \%\) better performance for both links, respectively, whereas MTSK 2 scheme has on average \(80 \%\) better performance for both links. The results show that the MTSK 2 scheme is more consistent with its performance. Overall, all these results show that the MTSK 2 control scheme is the ideal choice for the angular positional tracking of both TLFM links while keeping the fluctuations of links in control also.
5 Conclusion
In this paper, a type-2 TSK ANFC scheme, designated as MTSK 2, has been proposed. The scheme is using a DHS-based CG algorithm instead of the traditional SD algorithm for optimizing the control parameters; moreover, it is using T-norms rather than conventional product–sum combination at the NFS defuzzification phase. The proposed control scheme is integrated with a TLFM, so to control the flexible links and to regulate the vibrations associated with them. Position control of the flexible mechanical system is a complex control problem since it is a nonlinear coupled system with infinite dimensions. The dynamics of the system is defined by a hybrid coordinate system comprising ordinary, partial and integral differential equations. AMM converts the infinite-dimensional model to finite-dimensional model, but the truncated model of the system has arbitrary dimensions and uncertainties. The proposed control scheme has a self-tuning mechanism that has handled the problem efficiently and delivered an exceptional performance. The control scheme has effectively tracked the position and regulated the vibrations of the flexible nonlinear system. For further extensive robustness analysis, varying payloads of the TLFM are considered. APID control and type-1 TSK ANFC schemes are also incorporated with the TLFM, so as to provide a comparison with the proposed control scheme. The results demonstrate that the MTSK 2 scheme has achieved better performance than the TSK 1 and APID control schemes in terms of regulation and tracking. MTSK 2 has a better convergence rate and is robust in all cases. As a result of this study, it has been affirmed that DHS CG-based type-2 TSK ANFC scheme is more efficient than other intelligent control schemes for position control of highly nonlinear flexible systems, which require simultaneous suppression of vibrations.
References
Dwivedy, S.K.; Eberhard, P.: Dynamic analysis of flexible manipulators, a literature review. Mech. Mach. Theory 41(7), 749–777 (2006)
Mahamood, R.M.; Pedro, J.O.: Hybrid pd/pid controller design for two-link flexible manipulators. In: Control Conference (ASCC), 2011 8th Asian, pp. 1358–1363. IEEE (2011)
Ahmad, M.A.: Vibration and input tracking control of flexible manipulator using lqr with non-collocated pid controller. In: Computer Modeling and Simulation, 2008. EMS’08. Second UKSIM European Symposium on, pp. 40–45. IEEE (2008)
Miyasato, Y.: Finite dimensional adaptive \(h\infty \) control for flexible arms preceded by input nonlinearites. In: Intelligent Control (ISIC), 2010 IEEE International Symposium on, pp. 2296–2301. IEEE (2010)
Ross, T.J.: Fuzzy Logic with Engineering Applications. Wiley, London (2005)
Hagan, M.T.; Demuth, H.B.; Beale, M.H.; De Jesús, O.: Neural Network Design, 2nd edn. Martin Hagan (2014). ISBN 9780971732117. https://books.google.com.tr/books?id=4EW9oQEACAAJ
Passino, K.M.; Yurkovich, S.; Reinfrank, M.: Fuzzy control, vol. 20. Citeseer (1998)
Li, Y.; Tong, S.; Li, T.: Adaptive fuzzy output feedback control for a single-link flexible robot manipulator driven dc motor via backstepping. Nonlinear Anal. Real World Appl. 14(1), 483–494 (2013)
Tinkir, M.; Önen, Ü.; Kalyoncu, M.: Modelling of neurofuzzy control of a flexible link. P. I. Mech. Eng. I J Sys. 224(5), 529–543 (2010)
Pedro, J.O.; Tshabalala, T.: Hybrid nnmpc/pid control of a two-link flexible manipulator with actuator dynamics. In: Control Conference (ASCC), 2015 10th Asian, pp. 1–6. IEEE (2015)
Subudhi, B.; Morris, A.S.: Soft computing methods applied to the control of a flexible robot manipulator. Appl. Soft Comput. 9(1), 149–158 (2009)
Yahyaei, M.; Jam, J.; Hosnavi, R.: Controlling the navigation of automatic guided vehicle (agv) using integrated fuzzy logic controller with programmable logic controller (iflplc)–stage 1. Int. J. Adv. Manuf. Technol. 47(5–8), 795–807 (2010)
Su, K.H.; Huang, S.J.; Yang, C.Y.: Development of robotic grasping gripper based on smart fuzzy controller. Int. J. Fuzzy Syst. 17(4), 595–608 (2015)
Nguyen, V.; Morris, A.S.: Genetic algorithm tuned fuzzy logic controller for a robot arm with two-link flexibility and two-joint elasticity. J. Intell. Robot. 49(1), 3–18 (2007)
Castillo, O.; Amador-Angulo, L.; Castro, J.R.; Garcia-Valdez, M.: A comparative study of type-1 fuzzy logic systems, interval type-2 fuzzy logic systems and generalized type-2 fuzzy logic systems in control problems. Inf. Sci. 354, 257–274 (2016)
Zadeh, L.A.: The concept of a linguistic variable and its application to approximate reasoning–i. Inf. Sci. 8(3), 199–249 (1975)
Khanesar, M.A.; Kayacan, E.; Teshnehlab, M.; Kaynak, O.: Analysis of the noise reduction property of type-2 fuzzy logic systems using a novel type-2 membership function. IEEE Trans. Syst. Man Cybern. B Cybern. 41(5), 1395–1406 (2011)
Hidalgo, D.; Melin, P.; Castillo, O.: An optimization method for designing type-2 fuzzy inference systems based on the footprint of uncertainty using genetic algorithms. Expert Syst. Appl. 39(4), 4590–4598 (2012)
Tung, S.W.; Quek, C.; Guan, C.: An evolving type-2 neural fuzzy inference system. In: Pacific Rim International Conference on Artificial Intelligence, pp. 535–546. Springer (2010)
Juang, C.F.; Tsao, Y.W.: A type-2 self-organizing neural fuzzy system and its fpga implementation. IEEE Trans. Syst. Man Cybern. B Cybern. 38(6), 1537–1548 (2008)
Tai, K.; El-Sayed, A.R.; Biglarbegian, M.; Gonzalez, C.; Castillo, O.; Mahmud, S.: Review of recent type-2 fuzzy controller applications. Algorithms 9(2), 39 (2016)
Önen, Ü.; Kalyoncu, M.; Tinkir, M.; Botsali, F.M.: Application of adaptive neural network based interval type-2 fuzzy logic control on a nonlinear system. In: Computer Research and Development (ICCRD), 2011 3rd International Conference on, vol. 4, pp. 104–108. IEEE (2011)
Juang, C.F.; Tsao, Y.W.: A self-evolving interval type-2 fuzzy neural network with online structure and parameter learning. IEEE T. Fuzzy Syst. 16(6), 1411–1424 (2008)
Abiyev, R.H.; Kaynak, O.: Type 2 fuzzy neural structure for identification and control of time-varying plants. IEEE Trans. Ind. Electron. 57(12), 4147–4159 (2010)
Juang, C.F.; Huang, R.B.; Lin, Y.Y.: A recurrent self-evolving interval type-2 fuzzy neural network for dynamic system processing. IEEE T. Fuzzy Syst. 17(5), 1092–1105 (2009)
Lin, Y.Y.; Liao, S.H.; Chang, J.Y.; Lin, C.T.: Simplified interval type-2 fuzzy neural networks. IEEE Trans. Neural Netw. Learning Syst. 25(5), 959–969 (2014)
Farid, U.; Khan, B.; Ullah, Z.; Ali, S.; Mehmood, C.; Farid, S.; Sajjad, R.; Sami, I.; Shah, A.: Control and identification of dynamic plants using adaptive neuro-fuzzy type-2 strategy. In: 2017 International Conference on Energy Conservation and Efficiency (ICECE), pp. 68–73. IEEE (2017)
Kumbasar, T.; Hagras, H.: A gradient descent based online tuning mechanism for pi type single input interval type-2 fuzzy logic controllers. In: 2015 IEEE International Conference on Fuzzy Systems (FUZZ-IEEE), pp. 1–6. IEEE (2015)
Zhao, T.; Li, P.; Cao, J.: Self-organising interval type-2 fuzzy neural network with asymmetric membership functions and its application. Soft Comput. 23(16), 7215–7228 (2019)
Le, T.L.; Lin, C.M.; Huynh, T.T.: Self-evolving type-2 fuzzy brain emotional learning control design for chaotic systems using pso. Appl. Soft Comput. 73, 418–433 (2018)
Gao, J.; Yuan, R.; Yi, J.; Ying, H.; Li, C.: A novel approach to generating an interval type-2 fuzzy neural network based on a well-behaving type-1 fuzzy tsk system. In: 2016 IEEE International Conference on Systems, Man, and Cybernetics (SMC), pp. 003305–003311. IEEE (2016)
Snyman, J.A.: Practical Mathematical Optimization: An Introduction to Basic Optimization Theory and Classical and New Gradient-Based Algorithms. Applied Optimization. Springer, Berlin (2005)
Sotiropoulos, D.; Kostopoulos, A.; Grapsa, T.: A spectral version of perry’s conjugate gradient method for neural network training. In: Proceedings of 4th GRACM Congress on Computational Mechanics, vol. 1, pp. 291–298. Citeseer (2002)
Beyhan, S.; Alci, M.: Extended fuzzy function model with stable learning methods for online system identification. INT. J. Adapt. Control 25(2), 168–182 (2011)
De Luca, A.; Siciliano, B.: Closed-form dynamic model of planar multilink lightweight robots. IEEE Trans. Syst. Man Cybern. 21(4), 826–839 (1991)
Subudhi, B.; Morris, A.S.: Dynamic modelling, simulation and control of a manipulator with flexible links and joints. Robot. Auton. Syst. 41(4), 257–270 (2002)
Meirovitch, L.: Elements of Vibration Analysis. McGraw-Hill, New York (1975)
Theodore, R.J.; Ghosal, A.: Comparison of the assumed modes and finite element models for flexible multilink manipulators. Int. J. Robot. Res. 14(2), 91–111 (1995)
Khairudin, M.; Mohamed, Z.; Husain, A.; Mamat, R.: Dynamic characterisation of a two-link flexible manipulator: theory and experiments. Adv. Robot. Res. 1(1), 61–79 (2014)
Fraser, A.R.; Daniel, R.W.: Perturbation Techniques for Flexible Manipulators, vol. 138. Springer, Berlin (2012)
Mitaim, S.; Kosko, B.: What is the best shape for a fuzzy set in function approximation? In: Fuzzy Systems, 1996., Proceedings of the Fifth IEEE International Conference on, vol. 2, pp. 1237–1243. IEEE (1996)
Takagi, T.; Sugeno, M.: Fuzzy identification of systems and its applications to modeling and control. In: Readings in Fuzzy Sets for Intelligent Systems, pp. 387–403. Elsevier (1993)
Sugeno, M.; Yasukawa, T.: A fuzzy-logic-based approach to qualitative modeling. IEEE Trans. Fuzzy Syst. 1, 7 (1993)
Takagi, T.; Sugeno, M.: Fuzzy identification of systems and its applications to modeling and control. IEEE Trans. Syst. Man Cybern. 1, 116–132 (1985)
Weber, S.: A general concept of fuzzy connectives, negations and implications based on t-norms and t-conorms. Fuzzy Sets Syst. 11(1–3), 115–134 (1983)
Khan, L.; Khan, M.U.; Qamar, S.: Comparative analysis of suspension systems using adaptive fuzzy control. In: 2012 4th International Conference on Intelligent and Advanced Systems (ICIAS2012), vol. 1, pp. 22–27 (2012). https://doi.org/10.1109/ICIAS.2012.6306152
Dong, X.L.; Liu, H.; Xu, Y.L.; Yang, X.M.: Some nonlinear conjugate gradient methods with sufficient descent condition and global convergence. Optim. Lett. 9(7), 1421–1432 (2015)
Hestenes, M.R.; Stiefel, E.: Methods of Conjugate Gradients for Solving Linear Systems, vol. 49. NBS, Washington, DC (1952)
Dai, Y.H.; Yuan, Y.: A nonlinear conjugate gradient method with a strong global convergence property. SIAM J. Optim. 10, 177–182 (1999)
Wolfe, P.: Convergence conditions for ascent methods. SIAM Rev. 11(2), 226–235 (1969)
Dong, X.; Liu, H.; He, Y.: A self-adjusting conjugate gradient method with sufficient descent condition and conjugacy condition. J. Optim. Theory Appl. 165(1), 225–241 (2015)
Zoutendijk, G.: Nonlinear programming, computational methods. In: Integer and nonlinear programming, pp. 37–86 (1970)
Hager, W.W.; Zhang, H.: A new conjugate gradient method with guaranteed descent and an efficient line search. SIAM J. Optim. 16, 170–192 (2005)
Yuan, G.: Modified nonlinear conjugate gradient methods with sufficient descent property for large-scale optimization problems. Optim. Lett. 3, 11–21 (2009)
Dai, Zf; Tian, B.S.: Global convergence of some modified prp nonlinear conjugate gradient methods. Optim. Lett. 5(4), 615–630 (2011)
Khan, L.; Qamar, S.; Khan, U.: Adaptive pid control scheme for full car suspension control. J. Chin. Inst. Eng. 39, 169–185 (2016)
Dorf, R.C.; Bishop, R.H.: Modern Control Systems, 12th edn. Prentice Hall, Pearson (2010)
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Khan, M.U., Kara, T. Adaptive Control of a Two-Link Flexible Manipulator Using a Type-2 Neural Fuzzy System. Arab J Sci Eng 45, 1949–1960 (2020). https://doi.org/10.1007/s13369-020-04341-9
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s13369-020-04341-9