Interval Type-2 Fuzzy PD Tracking Control of Flexible-Joint Robots ()

Majid Moradi Zirkohi^{}, Samsam Izadpanah^{}

Department of Electrical Engineering, Behbahan Khatam Alanbia University of Technology, Behbahan, Iran.

**DOI: **10.4236/jsea.2017.1011048
PDF
HTML XML
805
Downloads
1,695
Views
Citations

Department of Electrical Engineering, Behbahan Khatam Alanbia University of Technology, Behbahan, Iran.

This paper develops a novel interval type-2 fuzzy Proportional-Derivative (PD) control scheme for electrically driven flexible-joint robots using the direct method of Lyapunov. The controller has a simple design in a decentralized structure. Compared to the previous controllers reported for the flexible-joint robots which use two control loops, it has a simpler structure using only one control loop. It guarantees stability and provides a good tracking performance. The controller considers the whole robotic system including the manipulator and motors by applying the voltage control strategy. Stability analysis is presented and the effectiveness of the proposed control approach is demonstrated by simulations using a three link flexible-joint robot driven by permanent magnet DC motors. Simulation results show that the interval type-2 fuzzy PD controller can handle external disturbance better than the type-1 fuzzy PD controller. In addition, it spends less control effort than the type-1 in order to deal with disturbance.

Keywords

Type-2 Fuzzy Control, Flexible-Joint Robots, Voltage Control Strategy, Uncertainty Estimation

Share and Cite:

Zirkohi, M. and Izadpanah, S. (2017) Interval Type-2 Fuzzy PD Tracking Control of Flexible-Joint Robots. *Journal of Software Engineering and Applications*, **10**, 854-872. doi: 10.4236/jsea.2017.1011048.

1. Introduction

Fuzzy control as a model-free approach is simply designed to control complicated systems. In recent years, there has been an increasing attention to type 2 fuzzy logic system (FLS) in order to overcome the uncertainties. Type-1 FLS has difficulties in modeling and minimizing the effect of uncertainties [1] - [6] . This is because type-1 fuzzy set is certain in the sense that the membership grade for a particular input is a crisp value [7] . Type-2 fuzzy sets are characterized by membership functions (MF) that are themselves fuzzy [1] - [6] . The type-2 FLS (T2FLS) can be used when circumstances are too uncertain to determine exact membership grades such as when training data is corrupted by noise. The most frequently used T2FLS is interval T2FLS (IT2FLS) for their reduced computational cost [4] . Though the T1FLS is the most widely used application of fuzzy set theory, the T2FLS have been used in a few control applications such as nonlinear control and mobile robot navigation [1] , decision making [6] , sliding mode control design [2] and chaotic control [8] . The direct and indirect adaptive interval type-2 fuzzy control has been proposed for nonlinear systems [5] [7] . However, an analytical proof should be given to guarantee stability and provide a desired performance.

Control of a flexible-joint robot as a complex system can highlight the capabilities of the T2FLS. In order to improve industrial productivity, it is required to reduce the weight of the arms and/or to increase their speed of operation. However, as a bad effect, the flexibility in joints and links may occur. On the other hand, compared to the conventional heavy and bulky robots, flexible manipulators have the potential advantage of lower cost, larger work volume, higher operational speed, greater payload-to-manipulator-weight ratio, smaller actuators, lower energy consumption, better maneuverability and better transportability due to reduced inertia [9] [10] . As a result, several applications such as space manipulators [10] [11] necessitate using flexible joint robots.

The most important reason of joint flexibility is the essential use of power transmission systems which show the flexibility [12] . The control schemes proposed for the rigid manipulators are limited in their applicability to real robots [13] . Compared with rigid robots, number of degrees of freedom in the flexible-joint robots becomes twice as number of control actions while the matching property between nonlinearities and inputs is lost [10] [12] . As a result, to improve the performance and avoid unwanted oscillations for practical applications, joint flexibility must be taken into account in both modeling and control [10] . During the past two decades, trajectory tracking control study of robotic manipulators with joint flexibilities has attracted considerable attention including singular perturbation theory [14] , feedback linearization [15] , adaptive control [16] , sliding mode control [17] , fuzzy control [18] and neural control [19] . The principal limitation existing in the aforementioned control schemes is that these schemes assume that torques can be directly applied to the robot links. In the other words, the control is designed at dynamic level with torque as input namely, torque control strategy while the actuator dynamics is excluded. However, the actuator dynamics represents an important component of complete electromechanical systems, especially in the case of high-velocity movement and highly varying loads [20] [21] . Furthermore, the additional sensing requirements, actuator saturation, and long processing time should be considered to implement the torque control strategy [12] [22] . As an example of torque control strategy [23] , one can consider the complexity of the robust control of flexible-join robots. In some papers such as [20] the actuator dynamics is considered. However, the control problem may become more complicated due to considering the actuator dynamics.

To solve these problems, voltage control strategy has been devoted to the electrically driven robot manipulators [24] . In this strategy, the electric motors of the robot are controlled while the robot manipulator behaves as a load on the motors. Thus, a nominal model of the motor is required to design the controller with an advantage that the used model is simpler than the robot model. Recently, robust control [22] and nonlinear adaptive control [12] of flexible-joint robots have been developed using the voltage control strategy.

A model of robot may face uncertainties such as unmodelled dynamics, parametric uncertainty and external disturbances. In [25] , the set-point regulation control design for an electrically driven flexible-joint robot with model uncertainty was proposed. In [16] , an adaptive controller was developed to solve the tracking problem for electrically driven flexible-joint robot with time-varying uncertainty.

The contribution of this paper is to present an interval type-2 fuzzy PD (IT2PD) control approach for electrically driven flexible-joint robots. The proposed voltage control law has a simpler structure in the form of decentralized control yet more efficient than the torque control that is multivariable coupled control. As a result, the proposed control approach is free of many effects caused by manipulator dynamics. This is an important advantage of the proposed control approach over the torque based control approaches. Compared to the previous controllers reported in the literature for the flexible-joint robots which use two control loops, it has a simpler structure using only one control loop. This is the main novelty of this paper. Stability analysis is presented and the effectiveness of the proposed control approach is demonstrated by simulations.

The rest of the paper is organized as follows: Section 2 presents modeling of the flexible-joint robots. Section 3 introduces Interval type-2 fuzzy logic. Section 4 develops the proposed method. Section 5 presents the simulation results and finally, Section 6 concludes the paper.

2. Electrically Driven Flexible-Joint Robot Dynamics

In a simpliﬁed model of the ﬂexible-joint robot [23] , the manipulator links are assumed rigid and motors are elastically coupled to the links. The motor torqueses are assumed as inputs of the robotic system. In this paper, the simpliﬁed model is applied for an electrically driven robot with some modiﬁcations to obtain them motor voltages as the inputs. Consider an electrical robot with revolute joints driven by the geared permanent magnet dc motors. If the joint ﬂexibility is modeled by a linear torsional spring, the dynamic equation of motion can be expressed as [12] [22]

$D\left(\theta \right)\stackrel{\xa8}{\theta}+C\left(\theta ,\theta \right)\stackrel{\dot{}}{\theta}+g\left(\theta \right)=K\left(r{\theta}_{m}-\theta \right)$ (1)

$J{\stackrel{\xa8}{\theta}}_{m}+B{\stackrel{\dot{}}{\theta}}_{m}+rK\left(r{\theta}_{m}-\theta \right)=\tau $ (2)

where $\theta \in {R}^{n}$ is a vector of joint angles, ${\theta}_{m}\in {R}^{n}$ is a vector of rotor angles. Thus, this system possesses 2n coordinates as $\left[\theta \text{\hspace{0.17em}}\text{\hspace{0.17em}}{\theta}_{m}\right]$ . The matrix $D\left(\theta \right)$ is a $n\times n$ matrix of manipulator inertia, $C\left(\theta ,\theta \right)\stackrel{\dot{}}{\theta}\in {R}^{n}$ is the vector of centrifugal and Coriolis forces, $g\left(\theta \right)\in {R}^{n}$ is a vector of gravitational forces and $\tau \in {R}^{n}$ is a torque vector of motors. The diagonal matrices $J,B$ and $r$ represent coefficients of the motor inertia, motor damping and reduction gear, respectively. The diagonal matrix $K$ represents the lumped ﬂexibility provided by the joint and reduction gear. To simplify the model, both the joint stiffness and gear coefficients are assumed constant. The vector of gravitational forces $g\left(\theta \right)$ is assumed function of only the joint positions as used in the simplified model [24] . Note that the vector and matrix are represented in bold form for clarity.

System (1)-(2) is highly nonlinear, extensively computational, heavily coupled and multi-input/multi-output system with the 2n coordinates. Complexity of the model has been a serious challenge in robot modeling and control in literature. It is expected to face a higher complexity if the proposed model includes the actuator dynamics. In order to obtain the motor voltages as inputs, consider electrical equation of the geared permanent magnet dc motors in the matrix form

$u=R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{K}_{b}{\stackrel{\dot{}}{\theta}}_{m}$ (3)

where $u\in {R}^{n}$ is a vector of motor voltages, ${I}_{a}\in {R}^{n}$ is a vector of motor currents and ${\stackrel{\dot{}}{\theta}}_{m}$ is a vector of rotor velocities. The diagonal matrices $R,L$ and ${K}_{b}$ represent the coefficients of armature resistance, armature inductance and back-emf constant, respectively. The motor torques $\tau $ as input for dynamic Equation (2) is produced by the motor currents as

${K}_{m}{I}_{a}=\tau $ (4)

where ${K}_{m}$ is a diagonal matrix of the torque constants. Equations (1)-(4) form the robotic system such that the voltage vector $u$ is the input vector and the joint angle vector $\theta $ is the output vector.

The dynamics of the electrical robot (1)-(4) in the state space is formed as

$\stackrel{\dot{}}{x}=f\left(x\right)+bu$ (5)

where

$f\left(x\right)=\left[\begin{array}{c}{x}_{2}\\ {D}^{-1}\left({x}_{1}\right)\left(-g\left({x}_{1}\right)-K{x}_{1}-C\left({x}_{1},{x}_{2}\right){x}_{2}+Kr{x}_{3}\right)\\ {x}_{4}\\ {J}^{-1}\left(rK{x}_{1}-{r}^{2}K{x}_{3}-B{x}_{4}+{K}_{m}{x}_{5}\right)\\ -{L}^{-1}\left({K}_{b}{x}_{4}+R{x}_{5}\right)\end{array}\right]$ , $b=\left[\begin{array}{c}0\\ 0\\ 0\\ 0\\ {L}^{-1}\end{array}\right]$ , $x=\left[\begin{array}{c}\theta \\ \stackrel{\dot{}}{\theta}\\ {\theta}_{m}\\ {\stackrel{\dot{}}{\theta}}_{m}\\ {I}_{a}\end{array}\right]$

3. Interval Type-2 Fuzzy Logic System

A fuzzy logic system that uses at least one type-2 fuzzy set is called a type-2 fuzzy logic system. It is very useful in circumstances where determination of an exact membership grade for a fuzzy set is difficult [4] . As illustrated in Figure 1, a type-2 fuzzy membership function (MF) can be obtained by starting with a type-1 MF and blurring it. The extra mathematical dimension provided by the blurred area, referred to as the footprint of uncertainty (FOU), and represents the uncertainties in the shape and position of the type-1 fuzzy set. The FOU is bounded by upper and lower MF, and points within the “blurred area” have membership grades given by type-1 MF. The most frequently used type-2 fuzzy sets are interval fuzzy sets where each point in the FOU has unity secondary membership grade [3] .

An interval type-2 fuzzy set $\text{A \u02dc}$ in X is defined as [4] :

$\text{A \u02dc}={\displaystyle \underset{x\in \text{X}}{\int}\left[{\displaystyle \underset{u\in {J}_{x}}{\int}\frac{1}{u}}\right]/x},\text{\hspace{0.17em}}{J}_{x}\subseteq \left[0,1\right]$ (6)

where x is the primary variable with domain X; u is the secondary variable, which has domain ${J}_{x}$ ; ${J}_{x}$ is called the primary membership of x. Uncertainty about $\text{A \u02dc}$ is conveyed by the union of all of the primary memberships called the footprint of uncertainty (FOU) of $\text{A \u02dc}$ ; i.e.

$\text{FOU}\left(\text{A \u02dc}\right)={J}_{x},\text{\hspace{0.17em}}x\in \text{X}$ (7)

The structure of a typical type-2 fuzzy logic system is shown in Figure 2 It is similar to its type-1 counterpart, the major difference being that at least one of the fuzzy sets is type-2 and a type-reducer is needed to convert the type-2 fuzzy output sets into type-1 sets so that they can be processed by the defuzziﬁer to give a crisp output. General type-2 FLSs are computationally intensive because type-reduction is very intensive [4] . Therefore, we will use in this work the interval type-2 fuzzy logic systems for their simplicity and efficiency.

In the following subsections the operations in an interval singleton type-2 FLS are described in details.

Figure 1. Type-2 fuzzy logic membership function.

Figure 2. Scheme of a type-2 fuzzy logic system.

3.1. Fuzzification

In practice the computations in an IT2FLS can be consisting of $M$ rules assuming the following form:

${R}^{i}:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}{\text{X \u02dc}}_{1}^{i}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}\cdots \text{\hspace{0.17em}}{x}_{p}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}{\text{X \u02dc}}_{p}^{i},\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}{\text{Y}}^{i},\text{\hspace{0.17em}}i=1,2,\cdots ,M$ (8)

where $\text{x}=\left({x}_{1},\cdots ,{x}_{p}\right)$ is the input vector, $y$ are linguistic variables, ${\text{X \u02dc}}_{j}^{i}\left(j=1,2,\cdots ,p\right)$ is an interval type-2 fuzzy set and ${\text{Y}}^{i}=\left[{y}_{l}^{i},{y}_{r}^{i}\right]$ , which can be understood as the simplest Takagi-Sugeno-Kang (TSK) model. The fuzzifier maps a crisp point $\text{x}=\left({x}_{1},\cdots ,{x}_{p}\right)$ into a type-2 fuzzy set $\text{A \u02dc}$ [26] .

3.2. Inference

The inference engine matches the fuzzy singletons with the fuzzy rules in the rule base. To compute unions and intersections of type-2 sets, compositions of type-2 relations are needed [9] . The first step in the extended sup-star operation

is to obtain the firing set ${\prod}_{j=1}^{p}{\mu}_{{\text{X \u02dc}}_{j}^{i}}}={\text{F}}^{i}\left(\text{x}\right)$ by performing the input and ante-

cedent operations. As only interval type-2 sets are used and the meet operation is implemented by the product t-norm, the firing set is the following type-1 interval set [26] :

${\text{F}}^{i}\left(\text{x}\right)=\left[{\underset{\_}{f}}^{i}\left(\text{x}\right),{\stackrel{\xaf}{f}}^{i}\left(\text{x}\right)\right]=\left[{\underset{\_}{f}}^{i},{\stackrel{\xaf}{f}}^{i}\right]$ (9)

where ${\underset{\_}{f}}^{i}\left(\text{x}\right)={\underset{\_}{\mu}}_{{\text{X \u02dc}}_{1}^{i}}\left({x}_{1}\right)\times \cdots \times {\underset{\_}{\mu}}_{{\text{X \u02dc}}_{p}^{i}}\left({x}_{p}\right)$ and ${\stackrel{\xaf}{f}}^{i}\left(\text{x}\right)={\stackrel{\xaf}{\mu}}_{{\text{X \u02dc}}_{1}^{i}}\left({x}_{1}\right)\times \cdots \times {\stackrel{\xaf}{\mu}}_{{\text{X \u02dc}}_{p}^{i}}\left({x}_{p}\right)$ the terms ${\underset{\_}{\mu}}_{{\text{X \u02dc}}_{j}^{i}}$ and ${\stackrel{\xaf}{\mu}}_{{\text{X \u02dc}}_{j}^{i}}$ are the lower and upper membership grades of ${\mu}_{{\text{X \u02dc}}_{j}^{i}}$ , respectively.

3.3. Type-Reduction

The type-2 fuzzy inference engine produces an aggregated output type-2 fuzzy set. The type reduction block operates on this set to generate a centroid type-1 fuzzy set known as the “type-reduced set” of the aggregate type-2 fuzzy set. Several type-reduction methods have been suggested in the literature, such as the center-of-sums, the height, the modiﬁed height and the center-of-sets, for example [4] [5] [26] . In this article, we consider the center-of-sets type reduction technique due to its computational efficiency. That may be expressed as [3]

${\text{Y}}_{cos}\left(\text{x}\right)=\left[{y}_{l},{y}_{r}\right]={\displaystyle \underset{\begin{array}{l}{f}^{i}\in {\text{F}}^{i}\left(\text{x}\right)\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}{y}^{i}\in {\text{Y}}^{i}\end{array}}{\cup}\frac{{{\displaystyle \sum}}_{i=1}^{N}\text{\hspace{0.05em}}{f}^{i}{y}^{i}}{{{\displaystyle \sum}}_{i=1}^{M}\text{\hspace{0.05em}}{f}^{i}}}$ (10)

where ${\text{Y}}_{cos}$ is the interval set determined by two end points ${y}_{l}$ and ${y}_{r}$ , and ﬁring strengths ${f}^{i}=\left[{\underset{\_}{f}}^{i},{\stackrel{\xaf}{f}}^{i}\right]\in {\text{F}}^{i}\left(\text{x}\right)$ . ${y}_{l}$ and ${y}_{r}$ can be expressed as [27] :

${y}_{l}=\frac{{\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{f}}^{i}{y}_{l}^{i}}+{\displaystyle {\sum}_{i=L+1}^{N}{\underset{\_}{f}}^{i}{y}_{l}^{i}}}{{\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{f}}^{i}}+{\displaystyle {\sum}_{i=L+1}^{N}{\underset{\_}{f}}^{i}}}$ (11)

${y}_{r}=\frac{{\displaystyle {\sum}_{i=1}^{R}{\underset{\_}{f}}^{i}{y}_{r}^{i}}+{\displaystyle {\sum}_{i=R+1}^{N}{\stackrel{\xaf}{f}}^{i}{y}_{r}^{i}}}{{\displaystyle {\sum}_{i=1}^{R}{\underset{\_}{f}}^{i}}+{\displaystyle {\sum}_{r=R+1}^{N}{\stackrel{\xaf}{f}}^{i}}}$ (12)

Two end points ${y}_{l}$ and ${y}_{r}$ can be computed efﬁciently using the Karnik-Mendel (KM) algorithms [28] . For example The EKM algorithm for computing ${y}_{r}$ is given as:

1) Sort ${\underset{\_}{x}}_{i}=\left(i=1,\cdots ,N\right)$ in increasing order

2) Initialize ${f}^{i}$ by setting ${f}^{i}=\frac{{\underset{\_}{f}}^{i}+{\stackrel{\xaf}{f}}^{i}}{2}\left(i=1,2,\cdots ,N\right)$ and then compute $y=\frac{{{\displaystyle \sum}}_{i=1}^{N}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\underset{\_}{x}}_{i}{f}^{i}}{{{\displaystyle \sum}}_{i=1}^{N}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{f}^{i}}$

3) Find switch point k ( $1\le k\le N-1$ ) such that ${\underset{\_}{x}}_{k}\le y\le {\stackrel{\xaf}{x}}_{k}+1$

4) Set ${f}^{i}={\stackrel{\xaf}{f}}^{i}\left(i\le k\right)$ and ${f}^{i}={\underset{\_}{f}}^{i}\left(i>k\right)$ then compute ${y}^{\prime}=\frac{{{\displaystyle \sum}}_{i=1}^{N}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\underset{\_}{x}}_{i}{f}^{i}}{{{\displaystyle \sum}}_{i=1}^{N}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{f}^{i}}$

5) Check if ${y}^{\prime}=y$ . If yes, stop, set ${y}_{l}=y$ , and call k, L. If no go to step 6

6) set $y={y}^{\prime}$ and go to step 3

3.4. Defuzzification

Since the type-reduced set is an interval type-1 set, the defuzzified output is [27] :

$y\left(\text{x}\right)=0.5\left({y}_{l}+{y}_{r}\right)$ (13)

4. Proposed Control Law

To control such a complicated system a novel simple controller is proposed using voltage control strategy. Electrical equation of a permanent magnet dc motor is written as

$u=R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}+\phi $ (14)

where $R$ , $L$ and ${k}_{b}$ denote the armature resistance, inductance, and back emf constant, respectively. $u$ is the motor voltage, ${I}_{a}$ motor current, and ${\theta}_{m}$ the rotor position. $\phi $ represents the external disturbance.

The motor angle ${\theta}_{m}$ as an output can be controlled via the voltage $u$ as an input. It is very interesting to note that (7) is a single-input/single-output (SISO) system while the robot manipulator is a multivariable multi-input system. The motor current ${I}_{a}$ contains effects of coupling between the motor and the manipulator.

From (2), we have

$\text{r}{\theta}_{m}={\text{K}}^{-1}\left({\tau}_{l}\right)+\theta $ (15)

In addition, Equation (3) can be rewritten as

${\tau}_{l}={\text{r}}^{-1}\left(\tau +{\phi}_{1}\right)$ (16)

where ${\phi}_{1}$ include unmodeled dynamics. Substituting (16) into (15) and using (5) yields

$\text{r}{\theta}_{m}={\text{K}}^{-1}\left({\text{r}}^{-1}\left({\text{K}}_{m}{I}_{a}+{\phi}_{1}\right)\right)+\theta $ (17)

Taking the time derivative of the above equation yields

${\stackrel{\dot{}}{\theta}}_{m}={\text{K}}^{-1}{\text{r}}^{-2}{\text{K}}_{m}{\stackrel{\dot{}}{I}}_{a}+{\text{r}}^{-1}\stackrel{\dot{}}{\theta}+{\text{K}}^{-1}{\text{r}}^{-2}{\stackrel{\dot{}}{\phi}}_{1}$ (18)

Substituting (18) into (14) gives

$u={L}_{m}{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\text{r}}^{-1}\stackrel{\dot{}}{\theta}+{\phi}_{2}$ (19)

where ${L}_{m}=L+{k}_{b}{\text{K}}^{-1}{\text{r}}^{-2}{\text{K}}_{m}$ and ${\phi}_{2}={k}_{b}{\text{K}}^{-1}{\text{r}}^{-2}{\stackrel{\dot{}}{\phi}}_{1}+R{I}_{a}+\phi $

The current of the motor can be directly controlled using a PI controller as follows:

${I}_{a}={k}_{p}e+{k}_{i}{\displaystyle \int e\text{d}t}$ (20)

where ${k}_{d}$ and ${k}_{i}$ are positive constant gains. $e$ is tracking error expressed by $e={\theta}_{d}-\theta $ . In the meantime, $\theta $ is the actual joint angle and ${\theta}_{d}$ is the desired joint.

Substituting (20) into (19) yields

$u={L}_{m}\left({k}_{p}\stackrel{\dot{}}{e}+{k}_{i}e\right)+{k}_{b}{\text{r}}^{-1}\left(\stackrel{\dot{}}{\theta}\right)+{\phi}_{2}$ (21)

Using (21) a control law is proposed as

$u={L}_{m}\left({k}_{p}\stackrel{\dot{}}{e}+{k}_{i}e\right)+{k}_{b}{\text{r}}^{-1}\left({\stackrel{\dot{}}{\theta}}_{d}+\beta \left({\theta}_{d}-\theta \right)\right)+{\stackrel{^}{\phi}}_{2}$ (22)

where $\beta $ is a positive constant and ${\stackrel{^}{\phi}}_{2}$ is the estimation of ${\phi}_{2}$ . After some manipulation, one can obtain

$u={k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}+\left({{k}^{\prime}}_{p}\right)e+\left({{k}^{\prime}}_{d}\right)\stackrel{\dot{}}{e}+{\stackrel{^}{\phi}}_{2}$ (23)

where ${{k}^{\prime}}_{p}={L}_{m}{k}_{i}+{k}_{b}{r}^{-1}\beta $ and ${{k}^{\prime}}_{d}={L}_{m}{k}_{p}$ .

Equation (23) includes three terms. The first term is ${k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}$ and the second term can be considered as a PD controller. The third term is the estimation of uncertainty. As a result, we can conclude from (23) that a flexible joint robot can be controlled directly using a simple PD controller plus uncertainty estimation with an extra term expressed by ${k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}$ . It should be stated that the IT2FLC can be used instead of the PD control plus uncertainty estimation. This is why the IT2FLC can handle the uncertainty. Compared to the previous controllers reported for the flexible-joint robots which use two control loops, it has a simpler structure and more efficiency using only one control loop.

Suppose that $y$ is the output of an IT2PD in the normalized form with the inputs of ${x}_{1}$ and ${x}_{2}$ . If three fuzzy sets are given to each fuzzy input, the whole control space will be covered by nine fuzzy rules. The linguistic fuzzy rules are proposed as

${R}^{i}:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}{\text{X \u02dc}}_{1}^{i}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}{\text{X \u02dc}}_{2}^{i}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}{y}^{i}={a}_{i1}{x}_{1}+{a}_{i2}{x}_{2}+{a}_{i0},\text{\hspace{0.17em}}\text{\hspace{0.17em}}i=1,2,\cdots ,9$ (24)

where ${R}^{i}$ denotes the ith fuzzy rule for $i=1,\cdots ,9$ . In the ith rule, ${\text{X \u02dc}}_{1}^{i}$ and ${\text{X \u02dc}}_{2}^{i}$ are type-2 fuzzy membership functions belonging to the fuzzy variables ${x}_{1}$ and ${x}_{2}$ , respectively. ${a}_{i1}$ , ${a}_{i2}$ and ${a}_{i0}$ are the gain in consequent part and ${y}^{i}$ is the crisp output. The proposed interval type-2 fuzzy controller is for the case when antecedents are interval type-2 fuzzy sets (A2) and consequents are crisp numbers (C0). Three Gaussian membership functions with uncertain mean, ${\mu}_{{\text{X \u02dc}}_{1}^{i}}\left({x}_{1}\right)$ , named as Positive (P), Zero (Z), and Negative (N) are defined for input ${x}_{1}$ in the operating range of manipulator as shown in Figure 3. Three Gaussian membership functions with uncertain mean, ${\mu}_{{\text{X \u02dc}}_{2}^{i}}\left({x}_{2}\right)$ , named as P, Z, and N in the same shape as Figure 3, are used for input ${x}_{2}$ . As shown in Figure 3 all universes of discourses are normalized and arranged in [-1 1] with scaling factors external to the FLC used to give appropriate values to the variables. The role of input scaling factors becomes more important for using the Gaussian MFs for inputs. The input scaling factors are employed to take the input into the operating range covered by MFs otherwise the controller will not respond to the input. Input variables and output variable have scaling factors ${\text{k}}_{{p}_{1}}$ , ${\text{k}}_{{d}_{1}}$ and ${\text{k}}_{{\text{o}}_{\text{1}}}$ for joint 1, ${\text{k}}_{{p}_{2}}$ , ${\text{k}}_{{d}_{2}}$ and ${\text{k}}_{{\text{o}}_{2}}$ for joint 2, ${\text{k}}_{{p}_{3}}$ , ${\text{k}}_{{d}_{3}}$ and ${\text{k}}_{{\text{o}}_{3}}$ for joint 3,respetively. The IT2PD controllers should be designed in such a way that the stability of control system is guaranteed.

5. Stability Analysis of the Control System

In other words, ${y}_{l}$ in (11) can be rewritten as

${y}_{l}={\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{q}}_{l}^{i}\left({a}_{i1}{x}_{1}+{a}_{i2}{x}_{2}+{a}_{i0}\right)}+{\displaystyle {\sum}_{i=L+1}^{M}{\underset{\_}{q}}_{l}^{i}\left({a}_{i1}{x}_{1}+{a}_{i2}{x}_{2}+{a}_{i0}\right)}$ (25)

where ${\stackrel{\xaf}{q}}_{l}^{i}={\stackrel{\xaf}{f}}^{i}/{D}_{l}$ and ${\underset{\_}{q}}_{l}^{i}={\underset{\_}{f}}^{i}/{D}_{l}$ . In the meantime, we have ${D}_{l}={\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{f}}^{i}}+{\displaystyle {\sum}_{i=L+1}^{M}{\underset{\_}{f}}^{i}}$ .

In the similar manner, ${y}_{r}$ in (12) can be rewritten as

${y}_{r}={\displaystyle {\sum}_{i=1}^{R}{\underset{\_}{q}}_{r}^{i}\left({a}_{i1}{x}_{1}+{a}_{i2}{x}_{2}+{a}_{i0}\right)}+{\displaystyle {\sum}_{i=R+1}^{M}{\stackrel{\xaf}{q}}_{r}^{i}\left({a}_{i1}{x}_{1}+{a}_{i2}{x}_{2}+{a}_{i0}\right)}$ (26)

where ${\stackrel{\xaf}{q}}_{r}^{i}={\stackrel{\xaf}{f}}^{i}/{D}_{r}$ and ${\underset{\_}{q}}_{r}^{i}={\underset{\_}{f}}^{i}/{D}_{r}$ . In the meantime, we have ${D}_{r}={\displaystyle {\sum}_{i=1}^{R}{\underset{\_}{f}}^{i}}+{\displaystyle {\sum}_{i=R+1}^{M}{\stackrel{\xaf}{f}}^{i}}$ .

From (13) after some manipulation, one can obtain

$y\left(\text{x}\right)={\text{C}}_{1}\left(\text{x}\right){x}_{1}+{\text{C}}_{2}\left(\text{x}\right){x}_{2}+{\text{C}}_{0}\left(\text{x}\right)$ (27)

where

${\text{C}}_{1}\left(\text{x}\right)=0.5\left({\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i1}}+{\displaystyle {\sum}_{i=L+1}^{M}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i1}}{\displaystyle {\sum}_{i=1}^{R}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i1}}+{\displaystyle {\sum}_{i=R+1}^{M}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i1}}\right)$ (28)

${\text{C}}_{2}\left(\text{x}\right)=0.5\left({\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i2}}+{\displaystyle {\sum}_{i=L+1}^{M}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i2}}+{\displaystyle {\sum}_{i=1}^{R}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i2}}+{\displaystyle {\sum}_{i=R+1}^{M}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i2}}\right)$ (29)

${\text{C}}_{0}\left(\text{x}\right)=0.5\left({\displaystyle {\sum}_{i=1}^{L}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i0}}+{\displaystyle {\sum}_{i=L+1}^{M}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i0}}+{\displaystyle {\sum}_{i=1}^{R}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i0}}+{\displaystyle {\sum}_{i=R+1}^{M}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i0}}\right)$ (30)

Figure 3. Membership function of the input e.

The obtained analytical structure of the fuzzy controller improves our study to develop the analysis and design. Using the scaling factors the input vector is formed as

$\text{x}={\left[{\text{k}}_{{p}_{i}}{z}_{1}\text{\hspace{0.17em}}{\text{k}}_{{d}_{i}}{z}_{2}\right]}^{\text{T}}$ (31)

where for the ith joint ${z}_{1}$ and ${z}_{2}$ are defined as

$\text{x}={\left[{\text{k}}_{{p}_{i}}{z}_{1}\text{\hspace{0.17em}}{\text{k}}_{{d}_{i}}{z}_{2}\right]}^{\text{T}}$ (31)

${z}_{1}={\theta}_{di}-{\theta}_{i}$ (32)

${z}_{2}={\stackrel{\dot{}}{\theta}}_{di}-{\stackrel{\dot{}}{\theta}}_{i}$ (33)

where ${\theta}_{di}$ and ${\theta}_{i}$ are the desired and actual joint position, respectively. From (32) and (33) we have ${\stackrel{\dot{}}{z}}_{1}={z}_{2}$ .

Using ${x}_{1}={\text{k}}_{{p}_{i}}{\text{z}}_{1}$ and ${x}_{2}={\text{k}}_{{d}_{i}}{\text{z}}_{2}$ , one can obtain

${\stackrel{\dot{}}{x}}_{1}=\alpha {x}_{2}$ (34)

where $\alpha ={\text{k}}_{{p}_{i}}/{\text{k}}_{{d}_{i}}>0$ .

Fuzzy controller by the use of scaling factors is formed as

$\text{u}\left(\text{x}\right)={\text{k}}_{{0}_{i}}\left({\text{C}}_{1}\left(\text{x}\right){x}_{1}+{\text{C}}_{2}\left(\text{x}\right){x}_{2}+{\text{C}}_{0}\left(\text{x}\right)\right)+{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}$ (35)

This general structure shows a nonlinear variable gain controller that finds many applications in control. The nonlinear gain ${\text{C}}_{\text{i}}\left(\text{x}\right)$ covers the nonlinearity of controller by parameters in hand. The control purposes are simply described by linguistic rules in fuzzy controller transformed to a nonlinear function as stated by (35).

Substituting (35) into (3) forms the closed loop system as follows

$\left({\text{C}}_{1}\left(\text{x}\right){x}_{1}+{\text{C}}_{2}\left(\text{x}\right){x}_{2}+{\text{C}}_{0}\left(\text{x}\right)\right){\text{k}}_{{0}_{i}}+{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}=R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}$ (36)

Assume that the motor voltage $u$ expressed by (3) is limited such that

$\left|R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right|\le {u}_{\mathrm{max}}$ (37)

where ${u}_{\mathrm{max}}>0$ is a maximum permitted voltage for the motor. This assumption is a technical regard to protect motor against over voltages. The complexity of design and analysis has been changed to simplicity for using the model of motor in place of model of manipulator. Here, we should know only the upper limits for the motor voltages as inputs of robotic system. Because electrical motors drive the electrical manipulator, the motor voltages are the system inputs. The desired trajectory should be planned with regarding the maximum permitted voltages for motors somehow each motor is so strong such that can track the desired trajectory under the permitted voltage. Moreover, the desired trajectory should be smooth such that its derivatives up to the required order are available and limited. To find a control law for the convergence of error, a positive definite function is proposed as

$\text{V}={\displaystyle {\int}_{0}^{{x}_{1}}{\text{C}}_{2}\left(\text{x}\right){x}_{1}\text{d}{x}_{1}}$ (38)

where $\text{V}$ is a positive definite function of ${x}_{1}$ if ${\text{C}}_{2}\left(\text{x}\right)$ is positive. To satisfy $0\le {\text{C}}_{2}\left(\text{x}\right)$ it is sufficient that $0\le {a}_{i2}$ .

Proof: Assume that $0<{\text{C}}_{2}<{\text{C}}_{2}\left(\text{x}\right)$ where ${\text{C}}_{2}$ is a positive constant. Thus,

${\text{C}}_{2}{\displaystyle {\int}_{0}^{{x}_{1}}{x}_{1}\text{d}{x}_{1}}<{\displaystyle {\int}_{0}^{{x}_{1}}{\text{C}}_{2}\left(\text{x}\right){x}_{1}\text{d}{x}_{1}}$ (39)

we have ${\int}_{0}^{{x}_{1}}{\text{C}}_{2}{x}_{1}\text{d}{x}_{1}}=0.5{\text{C}}_{2}{x}_{1}^{2$ . Hence, $0.5{\text{C}}_{2}{x}_{1}^{2}<{\displaystyle {\int}_{0}^{{x}_{1}}{\text{C}}_{2}\left(\text{x}\right){x}_{1}\text{d}{x}_{1}}$ . Thus (39) implies that $\text{V}>0$ for ${x}_{1}\ne 0$ . Since ${\int}_{0}^{0}{\text{C}}_{2}\left(\text{x}\right){x}_{1}\text{d}{x}_{1}}=0$ and ${\text{C}}_{2}\left(\text{x}\right){x}_{1}$ is limited,

$\text{V}=0$ if ${x}_{1}=0$ . Thus, $\text{V}$ is a positive definite function of ${x}_{1}$ .

The time derivative of $\text{V}$ is calculated as

$\text{V \u02d9}={\text{C}}_{2}\left(\text{x}\right){x}_{1}{\stackrel{\dot{}}{x}}_{1}=\alpha {\text{C}}_{2}\left(\text{x}\right){x}_{1}{x}_{2}$ (40)

From (36) we can write

${\text{C}}_{2}\left(\text{x}\right){x}_{2}=-{\text{C}}_{1}\left(\text{x}\right){x}_{1}-{\text{C}}_{0}\left(\text{x}\right)+\left(R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right)/{\text{k}}_{{0}_{i}}-{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}/{\text{k}}_{{0}_{i}}$ (41)

Substituting (41) into (40) yields

$\text{V \u02d9}=-\alpha {\text{C}}_{1}\left(\text{x}\right){x}_{1}^{2}-\alpha {\text{C}}_{0}\left(\text{x}\right){x}_{1}+\alpha {x}_{1}\left(R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right)/{\text{k}}_{{0}_{i}}-\alpha {x}_{1}{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}/{\text{k}}_{{0}_{i}}$ (42)

Since $-\alpha {\text{C}}_{1}\left(\text{x}\right){x}_{1}^{2}\le 0$ for $0\le {\text{C}}_{1}\left(\text{x}\right)$ , to satisfy $\text{V \u02d9}\le 0$ for stability, it is required that

${x}_{1}\left(R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right)-{x}_{1}{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}\le {\text{k}}_{{0}_{i}}{\text{C}}_{0}\left(\text{x}\right){x}_{1}$ (43)

Using the Cauchy-Schwartz inequality, one can obtain

$\begin{array}{l}{x}_{1}\left(R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right)-{x}_{1}{k}_{b}{r}^{-1}{\stackrel{\dot{}}{\theta}}_{d}\\ \le \left|{x}_{1}\right|\left|R{I}_{a}+L{\stackrel{\dot{}}{I}}_{a}+{k}_{b}{\stackrel{\dot{}}{\theta}}_{m}\right|+{k}_{b}{r}^{-1}\left|{x}_{1}\right|\left|{\stackrel{\dot{}}{\theta}}_{d}\right|\le \left|{x}_{1}\right|{u}_{\mathrm{max}}\end{array}$ (44)

Suppose that $\left|{\stackrel{\dot{}}{\theta}}_{d}\right|\le \gamma $ where $\gamma $ is a positive constant. To satisfy (44), it is sufficient that

$\left|{x}_{1}\right|\left({u}_{\mathrm{max}}+{k}_{b}{r}^{-1}\gamma \right)\le {\text{k}}_{{0}_{i}}{\text{C}}_{0}\left(\text{x}\right){x}_{1}$ (45)

Since ${\text{k}}_{0}>0$ , to guarantee stability $0<{x}_{1}{\text{C}}_{0}\left(\text{x}\right)$ . This means that ${\text{C}}_{0}\left(\text{x}\right)$ must be designed with the same sign as ${x}_{1}$ . This condition is simply satisfied if ${a}_{i0}$ is selected with the same sign as ${x}_{1}$ .

From (45) and ${x}_{1}{\text{C}}_{0}\left(\text{x}\right)>0$ , we obtain

$\left({u}_{\mathrm{max}}+{k}_{b}{r}^{-1}\gamma \right)/\left|{\text{C}}_{0}\left(\text{x}\right)\right|\le {\text{k}}_{{0}_{i}}$ (46)

From (30), one can obtain

${\text{c}}_{0,\mathrm{min}}\le {\text{C}}_{0}\left(\text{x}\right)\le {\text{c}}_{0,\mathrm{max}}$ (47)

where ${\text{c}}_{0,\mathrm{min}}$ and ${\text{c}}_{0,\mathrm{max}}$ are to constant. To select a constant value, we should select a value for ${\text{k}}_{0}$ that satisfies (46) in all cases. The maximum permitted value for ${\text{k}}_{0}$ is then selected as

$\left({u}_{\mathrm{max}}+{k}_{b}{r}^{-1}\gamma \right)/{\text{c}}_{0,\mathrm{max}}={\text{k}}_{{0}_{i}}$ (48)

Therefore, stability is guaranteed under assumptions ${\text{C}}_{1}\left(\text{x}\right)>0$ , ${\text{C}}_{2}\left(\text{x}\right)>0$ , ${x}_{1}{\text{C}}_{0}\left(\text{x}\right)>0$ and $\left({u}_{\mathrm{max}}+{k}_{b}{r}^{-1}\gamma \right)/{\text{c}}_{0,\mathrm{max}}={\text{k}}_{{0}_{i}}$ .

In the

Fuzzy rules in the 9 subsections for $i=1,\cdots ,9$ are designed where the following cases occur:

Case 1 Assume that ${x}_{1}{x}_{2}<0$ resulting in asymptotic stability by $\text{V \u02d9}<0$ in (40). Thus, a small control effort is given to $u$ .

Case 2 Assume that ${x}_{1}=0$ or ${x}_{2}=0$ resulting in Lyapunov stability by $\text{V \u02d9}=0$ in (40). Thus, a medium control effort is given to $u$ .

Case 3 Assume that ${x}_{1}$ and ${x}_{2}$ both are positive or negative resulting in instability by $\text{V \u02d9}>0$ in (40). Thus, a very high effort is given to $u$ .

The fuzzy rules for the first and second controllers are then given as:

$\text{Rule}\text{\hspace{0.17em}}1:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=1$

$\text{Rule}\text{\hspace{0.17em}}2:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=0.75$

$\text{Rule}\text{\hspace{0.17em}}3:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=0.25$

$\text{Rule}\text{\hspace{0.17em}}4:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=0.5$

$\text{Rule}\text{\hspace{0.17em}}5:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=150{x}_{1}+10{x}_{2}$

$\text{Rule}\text{\hspace{0.17em}}6:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=-0.5$

$\text{Rule}\text{\hspace{0.17em}}7:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{P}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=-0.25$

$\text{Rule}\text{\hspace{0.17em}}8:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{Z}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=-0.75$

$\text{Rule}\text{\hspace{0.17em}}9:\text{if}\text{\hspace{0.17em}}{x}_{1}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}{x}_{2}\text{\hspace{0.17em}}\text{is}\text{\hspace{0.17em}}\text{N}\text{\hspace{0.17em}}\text{then}\text{\hspace{0.17em}}y=-1$

Therefore, using the above analysis the ${x}_{1},{x}_{2}$ are bounded. Then one can imply the boundedness of $u$ because of boundedness ${x}_{1}$ and ${x}_{2}$ .

Proof: From (28), ${\text{C}}_{1}\left(\text{x}\right)$ , ${\text{C}}_{2}\left(\text{x}\right)$ and $\left|{\text{C}}_{0}\left(\text{x}\right)\right|$ are bounded as

$\left|{\text{C}}_{1}\left(\text{x}\right)\right|\le 0.5{\alpha}_{1}$ (49)

$\left|{\text{C}}_{2}\left(\text{x}\right)\right|\le 0.5{\alpha}_{2}$ (50)

$\left|{\text{C}}_{0}\left(\text{x}\right)\right|\le 0.5{\alpha}_{0}$ (51)

where

$\left|{{\displaystyle \sum}}_{i=1}^{L}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i1}+{{\displaystyle \sum}}_{i=L+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i1}+{{\displaystyle \sum}}_{i=1}^{R}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i1}+{{\displaystyle \sum}}_{i=R+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i1}\right|\le {\alpha}_{1}$ (52)

$\left|{{\displaystyle \sum}}_{i=1}^{L}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i2}+{{\displaystyle \sum}}_{i=L+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i2}+{{\displaystyle \sum}}_{i=1}^{R}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i2}+{{\displaystyle \sum}}_{i=R+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i2}\right|\le {\alpha}_{2}$ (53)

$\left|{{\displaystyle \sum}}_{i=1}^{L}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i0}+{{\displaystyle \sum}}_{i=L+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{l}^{i}{a}_{i0}+{{\displaystyle \sum}}_{i=1}^{R}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i0}+{{\displaystyle \sum}}_{i=R+1}^{M}\text{\hspace{0.05em}}\text{\hspace{0.05em}}{\stackrel{\xaf}{q}}_{r}^{i}{a}_{i0}\right|\le {\alpha}_{0}$ (54)

where ${\alpha}_{1}$ , ${\alpha}_{2}$ and ${\alpha}_{0}$ are constant.

Considering (9) we have

${\underset{\_}{f}}^{i}\left(x\right)\le 1$ (55)

${\stackrel{\xaf}{f}}^{i}\left(x\right)\le 1$ (56)

Thus, one can imply that ${\stackrel{\xaf}{q}}_{l}^{i}$ , ${\underset{\_}{q}}_{l}^{i}$ and ${\stackrel{\xaf}{q}}_{r}^{i}$ , ${\underset{\_}{q}}_{r}^{i}$ are bounded. The coefficient ${a}_{i1}$ is a constant parameter. As a result, the inequality (52) is verified.

Similarly, the inequality (53) and (54) are proven. Therefore, $u$ is bounded using (35) as

$\left|u\right|\le {\text{k}}_{{0}_{i}}\left({\alpha}_{1}\left|{x}_{1}\right|+{\alpha}_{2}\left|{x}_{2}\right|+{\alpha}_{0}\right)+{k}_{b}{r}^{-1}\gamma $ (57)

According to the proof given by [22] , since the input $u$ is bounded variable ${I}_{a}$ is bounded.

Since the desired joint angle ${\theta}_{d}$ and its time derivative ${\stackrel{\dot{}}{\theta}}_{d}$ are bounded. The bound variables ${x}_{1}$ and ${x}_{2}$ imply that $\theta ={\theta}_{d}-{x}_{1}$ and $\stackrel{\dot{}}{\theta}={\stackrel{\dot{}}{\theta}}_{d}-{x}_{2}$ are bounded.

Since ${I}_{a}$ is bounded, (4) implies that $\tau $ is bounded. From (2) we have

$J{\stackrel{\xa8}{\theta}}_{m}+B{\stackrel{\dot{}}{\theta}}_{m}+{r}^{2}K{\theta}_{m}=\tau +rK\theta $ (58)

System (58) is a second order linear system with positive gains $B,{r}^{2}K$ , and a limited input $\tau +rK\theta $ .This system is stable based on the Routh-Hurwitz criterion and implies that ${\theta}_{m}$ , ${\stackrel{\dot{}}{\theta}}_{m}$ and ${\stackrel{\xa8}{\theta}}_{m}$ are bounded.

Since all states associated with each joint i.e. $\theta $ , $\stackrel{\dot{}}{\theta}$ , ${\theta}_{m}$ , ${\stackrel{\dot{}}{\theta}}_{m}$ , and ${I}_{a}$ are bounded, vectors $\theta $ , $\stackrel{\dot{}}{\theta}$ , ${\theta}_{m}$ , ${\stackrel{\dot{}}{\theta}}_{m}$ and ${I}_{a}$ are bounded. As a conclusion, based on the stability analysis, all required signals are bounded.

6. Simulation

The proposed type-2 PD fuzzy controller is simulated using an electrical ﬂexible-joint articulated robot manipulator. The articulated manipulator is a serial link manipulator with three revolute joints as shown in Figure 4. The Denavit Hartenberg parameters of the articulated robot are given in Table 1, where the parameters ${\theta}_{i},{d}_{i},{a}_{i}$ and ${\alpha}_{i}$ are called the joint angle, link offset, link length and link twist, respectively. The dynamic parameters of manipulator are given in Table 2, where for the ith link, ${m}_{i}$ is the mass, ${r}_{ci}={\left[{x}_{ci}\text{\hspace{0.17em}}{y}_{ci}\text{\hspace{0.17em}}{z}_{ci}\right]}^{\text{T}}$ is the center of mass of the ith frame and ${I}_{i}$ is the inertia tensor in the center of mass frame with the details as

Figure 4. Symbolic representation of the articulated robot.

${I}_{i}=\left[\begin{array}{ccc}{I}_{xxi}& {I}_{xyi}& {I}_{xzi}\\ {I}_{yxi}& {I}_{yyi}& {I}_{yzi}\\ {I}_{zxi}& {I}_{zyi}& {I}_{zzi}\end{array}\right]$ (59)

The parameters of motors are given in Table 2. The desired joint trajectories are smooth as given by ${\theta}_{d}=1-\mathrm{cos}\left(\text{0}.05\text{\pi}t\right)$ . The maximum voltage of each motor is set to ${u}_{\mathrm{max}}=50\text{\hspace{0.17em}}\text{V}$ . To consider the parametric uncertainties, ${\stackrel{^}{k}}_{b}$ and $\stackrel{^}{r}$ are assumed to be 80% of their real values. Moreover, ${k}_{{p}_{1}}$ , ${k}_{{d}_{1}}$ and ${k}_{{o}_{1}}$ are set to.01,200 and 30, ${k}_{{p}_{2}}$ , ${k}_{{d}_{2}}$ and ${k}_{{o}_{2}}$ are set to 0.09, 400 and 200, ${k}_{{p}_{3}}$ , ${k}_{{d}_{3}}$ and ${k}_{{o}_{3}}$ are set to 0.07, 200 and 100, respectively.

Simulation 1: In This simulation, the proposed IT2PD controller is simulated. The performance of control system is shown in Figure 5 while the joint tracking error is reduced well. The external disturbance is zero by given $\phi =0$ in system (14). The control system overcomes disturbances very well. The control efforts are shown in Figure 6. The motor voltages behave well under the maximum permitted value of 50 V as shown in Figure 6. In other words, both two ﬁgures indicate the fact that the tracking performance can be guaranteed. The simulation results confirm the effectiveness of the proposed method.

Table 1. The Denavit-Hartenberg parameters.

Table 2. Motor parameters

Figure 5. Performance of the interval type-2 fuzzy PD controller.

Simulation 2: in this case a comparison between type-1 PD (T1PD) controller and T2PD controller is presented. In order to consider the robustness evaluation of the controllers, external disturbances are added to the robot system. The disturbance is inserted to the input of each motor as a periodic pulse function with a period of 2 S, amplitude $\mp 4$ V, time delay of 0.7 S, and pulse width 30% of period. This form of disturbance is an example of any form that can be applied but it includes jumps to cover the complex cases. To better assess the performance of both types of controllers in the face of external disturbance and unmodeled dynamics, the integral of squared errors (ISE) and the integral of absolute control input (ISU) are considered as a criterion

$\text{ISE}={\displaystyle {\int}_{0}^{10}\left({e}_{1}^{2}+{e}_{2}^{2}+{e}_{3}^{2}\right)\text{d}t}$ (60)

$\text{ISU}={\displaystyle {\int}_{0}^{10}\left(\left|{u}_{1}\right|+\left|{u}_{2}\right|+\left|{u}_{3}\right|\right)\text{d}t}$ (61)

where ${e}_{1},{e}_{2}$ and ${e}_{3}$ are the tracking error of first, second and third link, respectively. In the meantime, ${u}_{1},{u}_{2}$ and ${u}_{3}$ are the voltage of first, second and third motor, respectively.

The responses of control system using T1PD controller and IT2PD controller in the presence of disturbance are shown in Figure 7 and Figure 8, respectively. The tracking performance is shown in Figure 9 and it shows that the tracking error of T1PD controller is larger than the IT2PD controller. The ISU criterion for both controllers is shown in Figure 10, as well. From above simulation results, we obviously see that the T2PD controller can handle external disturbance very well. From Figure 9, the tracking performance of the IT2PD controller is much better than the tracking performance of the T1PD controller and in order to deal with external disturbance, as shown in Figure 10 the T1PD controller must spend more control effort. As a result, the simulation results confirm that IT2PD can outperform T1PD in controlling the flexible joint robot.

Figure 6. Control effort of the interval type-2 fuzzy PD controller.

Figure 7. The response of control system using T1PD controller in the presence of noise.

Figure 8. The response of control system using IT2PD controller in the presence of noise.

Figure 9. The tracking performance (ISE) of T1PD controller and T2PD controlle.

Figure 10. The ISU criterion for both controllers.

7. Conclusion

A novel interval type-2 fuzzy PD control was developed for tracking control of a flexible-joint robot using the voltage control strategy. The proposed method is free from manipulator dynamics and very simple in the form of a decentralized control. In addition, there are no restrictions on the joint stiffness gains. The stability analysis has veriﬁed the control method and the simulation results have confirmed its effectiveness. Compared to the previous controllers reported for the flexible-joint robots which use two control loops, it has a simpler structure using only one control loop. A comparison between interval type-2 fuzzy PD and type-1 fuzzy PD controller has been done and simulation results confirmed that type-2 fuzzy PD controller can handle external disturbance better than the type-1 fuzzy PD controller. In addition, it spends less control effort than the type-1 in order to deal with disturbance. Note that in the present paper a novel control approach has been proposed whereas in [29] type-2 fuzzy system has been directly used as a controller and Particle Swarm Optimization (PSO) used to optimize the control structure.

Acknowledgements

The authors gratefully appreciate the support of the Behbahan Khatam Alanbia University of Technology.

Conflicts of Interest

The authors declare no conflicts of interest.

[1] |
Hagras, H.A. (2004) A Hierarchical Type-2 Fuzzy Logic Control Architecture for Autonomous Mobile Robots. IEEE Transactions on Fuzzy Systems, 12, 524-539.
https://doi.org/10.1109/TFUZZ.2004.832538 |

[2] |
Hsiao, M.-Y., et al. (2008) Design of Interval Type-2 Fuzzy Sliding-Mode Controller. Information Sciences, 178, 1696-1716. https://doi.org/10.1016/j.ins.2007.10.019 |

[3] | Mendel, J.M. (2001) Uncertain Rule-Based Fuzzy Logic System: Introduction and New Directions. Spinge, Berlin. |

[4] |
Mendel, J.M. and John, R.B. (2002) Type-2 Fuzzy Sets Made Simple. Fuzzy Systems, IEEE Transactions on, 10, 117-127. https://doi.org/10.1109/91.995115 |

[5] |
Wu Woei Wan Tan, D. (2006) A Simplified Type-2 Fuzzy Logic Controller for Real-Time Control. ISA Transactions, 45, 503-516.
https://doi.org/10.1016/S0019-0578(07)60228-6 |

[6] |
Yager, R.R. (1980) Fuzzy Subsets of Type II in Decisions. Cybernetics and System, 10, 137-159. https://doi.org/10.1080/01969728008927629 |

[7] |
Lin, T.-C. and Roopaei, M. (2010) Based on Interval Type-2 Adaptive Fuzzy H∞ Tracking Controller for SISO Time-Delay Nonlinear Systems. Communications in Nonlinear Science and Numerical Simulation, 15, 4065-4075.
https://doi.org/10.1016/j.cnsns.2010.01.029 |

[8] |
Khooban, M.H., Alfi, A. and Abadi, D.N.M. (2013) Control of a Class of Non-Linear Uncertain Chaotic Systems via an Optimal Type-2 Fuzzy Proportional Integral Derivative Controller. IET Science, Measurement & Technology, 7, 50-58.
https://doi.org/10.1049/iet-smt.2012.0092 |

[9] |
Dwivedy, S.K. and Eberhard, P. (2006) Dynamic Analysis of Flexible Manipulators, a Literature Review. Mechanism and Machine Theory, 41, 749-777.
https://doi.org/10.1016/j.mechmachtheory.2006.01.014 |

[10] |
Tokhi, M.O. and Azad A.K. (2008) Flexible Robot Manipulators: Modelling, Simulation and Control. IET, Stevenage, 68. https://doi.org/10.1049/PBCE068E |

[11] |
Book, W.J. (1979) Analysis of Massless Elastic Chains with Servo Controlled Joints. Journal of Dynamic Systems, Measurement, and Control, 101, 187-192.
https://doi.org/10.1115/1.3426423 |

[12] |
Fateh, M.M. (2012) Nonlinear Control of Electrical Flexible-Joint Robots. Nonlinear Dynamics, 67, 2549-2559. https://doi.org/10.1007/s11071-011-0167-3 |

[13] |
Sweet, L.M. and Good, M. (1985) Redefinition of the Robot Motion-Control Problem. Control Systems Magazine, 5, 18-25.
https://doi.org/10.1109/MCS.1985.1104955 |

[14] |
Kokotovic, P., Khali, H.K. and O’reilly, J. (1999) Singular Perturbation Methods in Control: Analysis and Design. SIAM, Vol. 25.
https://doi.org/10.1137/1.9781611971118 |

[15] | De Luca, A., Isidori, A. and Nicolo, F. (1985) Control of Robot Arm with Elastic Joints via Nonlinear Dynamic Feedback. 24th IEEE Conference on Decision and Control. |

[16] | Chien, M.-C. and Huang, A.-C. (2007) Adaptive Control for Flexible-Joint Electrically Driven Robot with Time-Varying Uncertainties. IEEE Transactions on Industrial Electronics, 54, 1032-1038. |

[17] |
Wilson, G. and Irwin, G. (1994) Robust Tracking of Elastic Joint Manipulators using Sliding Mode Control. Transactions of the Institute of Measurement and Control, 16, 99-107. https://doi.org/10.1177/014233129401600206 |

[18] |
Lih-Chang, L. and Chiang-Chuan, C. (1995) Rigid Model-Based Fuzzy Control of Flexible-Joint Manipulators. Journal of Intelligent and Robotic Systems, 13, 107-126. https://doi.org/10.1007/BF01254847 |

[19] |
Zeman, V., Patel, R. and Khorasani, K. (1997) Control of a Flexible-Joint Robot using Neural Networks. IEEE Transactions on Control Systems Technology, 5, 453-462. https://doi.org/10.1109/87.595927 |

[20] | Li, Y., Tong, S. and Li, T. (2013) Adaptive Fuzzy Output Feedback Control for a Single-Link Flexible Robot Manipulator Driven DC Motor via Backstepping. Nonlinear Analysis: Real World Applications, 14, 483-494. |

[21] | Tarn, T., et al. (1991) Effect of Motor Dynamics on Nonlinear Feedback Robot Arm Control. IEEE Transactions on Robotics and Automation, 7, 114-122. |

[22] |
Fateh, M.M. (2012) Robust Control of Flexible-Joint Robots Using Voltage Control Strategy. Nonlinear Dynamics, 67, 1525-1537.
https://doi.org/10.1007/s11071-011-0086-3 |

[23] |
Spong, M.W. (1987) Modeling and Control of Elastic Joint Robots. Journal of Dynamic Systems, Measurement, and Control, 109, 310-318.
https://doi.org/10.1115/1.3143860 |

[24] | Fateh, M.M. (2008) On the Voltage-Based Control of Robot Manipulators. International Journal of Control, Automation, and Systems, 6, 702-712. |

[25] |
Ailon, A., Lozano, R. and Gil, M. (2000) Iterative Regulation of an Electrically Driven Flexible-Joint Robot with Model Uncertainty. IEEE Transactions on Robotics and Automation, 16, 863-870. https://doi.org/10.1109/70.897798 |

[26] | Liang, Q. and Mendel, J.M. (2000) Interval Type-2 Fuzzy Logic Systems: Theory and Design. IEEE Transactions on Fuzzy Systems, 8, 535-550. |

[27] | Wu, D. and Mendel, J.M. (2009) Enhanced Karnik-Mendel Algorithms. IEEE Transactions on Fuzzy Systems, 17, 923-934. |

[28] | Karnik, N.N. and Mendel, J.M. (2001) Centroid of a Type-2 Fuzzy Set. Information Sciences, 132, 195-220. |

[29] |
Zirkohi, M.M., Fateh, M.M. and Shoorehdeli, M.A. (2013) Type-2 Fuzzy Control for a Flexible-Joint Robot using Voltage Control Strategy. International Journal of Automation and Computing, 10, 242-255. https://doi.org/10.1007/s11633-013-0717-x |

Journals Menu

Contact us

+1 323-425-8868 | |

customer@scirp.org | |

+86 18163351462(WhatsApp) | |

1655362766 | |

Paper Publishing WeChat |

Copyright © 2024 by authors and Scientific Research Publishing Inc.

This work and the related PDF file are licensed under a Creative Commons Attribution 4.0 International License.