Neural Network Sliding-Mode-PID Controller Design for Electrically Driven Robot Manipulators

Similar documents
GAIN SCHEDULING CONTROL WITH MULTI-LOOP PID FOR 2- DOF ARM ROBOT TRAJECTORY CONTROL

A Sliding Mode Controller Using Neural Networks for Robot Manipulator

Adaptive Robust Tracking Control of Robot Manipulators in the Task-space under Uncertainties

Design On-Line Tunable Gain Artificial Nonlinear Controller

Adaptive Neuro-Sliding Mode Control of PUMA 560 Robot Manipulator

Robot Manipulator Control. Hesheng Wang Dept. of Automation

CONTROL OF ROBOT CAMERA SYSTEM WITH ACTUATOR S DYNAMICS TO TRACK MOVING OBJECT

Design Artificial Nonlinear Controller Based on Computed Torque like Controller with Tunable Gain

Gain Scheduling Control with Multi-loop PID for 2-DOF Arm Robot Trajectory Control

458 IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, VOL. 16, NO. 3, MAY 2008

Computing Optimized Nonlinear Sliding Surfaces

PERIODIC signals are commonly experienced in industrial

ADAPTIVE NEURAL NETWORK CONTROL OF MECHATRONICS OBJECTS

Nonlinear PD Controllers with Gravity Compensation for Robot Manipulators

A sub-optimal second order sliding mode controller for systems with saturating actuators

FUZZY SLIDING MODE CONTROL DESIGN FOR A CLASS OF NONLINEAR SYSTEMS WITH STRUCTURED AND UNSTRUCTURED UNCERTAINTIES

Open Access Permanent Magnet Synchronous Motor Vector Control Based on Weighted Integral Gain of Sliding Mode Variable Structure

Two-Link Flexible Manipulator Control Using Sliding Mode Control Based Linear Matrix Inequality

H-infinity Model Reference Controller Design for Magnetic Levitation System

A Novel Finite Time Sliding Mode Control for Robotic Manipulators

Predictive Cascade Control of DC Motor

The Design of Sliding Mode Controller with Perturbation Estimator Using Observer-Based Fuzzy Adaptive Network

Exponential Controller for Robot Manipulators

Design and Stability Analysis of Single-Input Fuzzy Logic Controller

Neural Network-Based Adaptive Control of Robotic Manipulator: Application to a Three Links Cylindrical Robot

OVER THE past 20 years, the control of mobile robots has

NMT EE 589 & UNM ME 482/582 ROBOT ENGINEERING. Dr. Stephen Bruder NMT EE 589 & UNM ME 482/582

Sensorless Sliding Mode Control of Induction Motor Drives

A Sliding Mode Control based on Nonlinear Disturbance Observer for the Mobile Manipulator

Electronic Throttle Valve Control Design Based on Sliding Mode Perturbation Estimator

Combined NN/RISE-based Asymptotic Tracking Control of a 3 DOF Robot Manipulator

Real-time Motion Control of a Nonholonomic Mobile Robot with Unknown Dynamics

Robust Speed Controller Design for Permanent Magnet Synchronous Motor Drives Based on Sliding Mode Control

Neural Network Control of Robot Manipulators and Nonlinear Systems

Adaptive Control of a Class of Nonlinear Systems with Nonlinearly Parameterized Fuzzy Approximators

Adaptive Robust Control for Servo Mechanisms With Partially Unknown States via Dynamic Surface Control Approach

Fuzzy Based Robust Controller Design for Robotic Two-Link Manipulator

An adaptive sliding mode control scheme for induction motor drives

Hover Control for Helicopter Using Neural Network-Based Model Reference Adaptive Controller

Case Study: The Pelican Prototype Robot

Robust Control of Cooperative Underactuated Manipulators

An Adaptive LQG Combined With the MRAS Based LFFC for Motion Control Systems

Control of industrial robots. Centralized control

A Model-Free Control System Based on the Sliding Mode Control Method with Applications to Multi-Input-Multi-Output Systems

Introduction to centralized control

Design of Sliding Mode Control for Nonlinear Uncertain System

LIAPUNOV S STABILITY THEORY-BASED MODEL REFERENCE ADAPTIVE CONTROL FOR DC MOTOR

Internal Model Control of A Class of Continuous Linear Underactuated Systems

Position and Velocity Profile Tracking Control for New Generation Servo Track Writing

Variable Sampling Effect for BLDC Motors using Fuzzy PI Controller

Seul Jung, T. C. Hsia and R. G. Bonitz y. Robotics Research Laboratory. University of California, Davis. Davis, CA 95616

State and Parameter Estimation Based on Filtered Transformation for a Class of Second-Order Systems

Trigonometric Saturated Controller for Robot Manipulators

A New Model Reference Adaptive Formulation to Estimate Stator Resistance in Field Oriented Induction Motor Drive

Introduction to centralized control

Rigid Manipulator Control

ON CHATTERING-FREE DISCRETE-TIME SLIDING MODE CONTROL DESIGN. Seung-Hi Lee

Adaptive fuzzy observer and robust controller for a 2-DOF robot arm

Passivity-based Control of Euler-Lagrange Systems

Mechatronics Engineering. Li Wen

Dynamic Integral Sliding Mode Control of Nonlinear SISO Systems with States Dependent Matched and Mismatched Uncertainties

Stabilization of Angular Velocity of Asymmetrical Rigid Body. Using Two Constant Torques

Research Article RBF Neural Network of Sliding Mode Control for Time-Varying 2-DOF Parallel Manipulator System

Neural network based robust hybrid control for robotic system: an H approach

NEURAL NETWORKS (NNs) play an important role in

Stable Limit Cycle Generation for Underactuated Mechanical Systems, Application: Inertia Wheel Inverted Pendulum

DESIGN OF ROBUST CONTROL SYSTEM FOR THE PMS MOTOR

Chaos suppression of uncertain gyros in a given finite time

Model Reference Adaptive Control of Underwater Robotic Vehicle in Plane Motion

RBF Neural Network Adaptive Control for Space Robots without Speed Feedback Signal

A neural network based sliding mode controller of folding-boom aerial work platform

Fuzzy control of a class of multivariable nonlinear systems subject to parameter uncertainties: model reference approach

Robust Control For Variable-Speed Two-Bladed Horizontal-Axis Wind Turbines Via ChatteringControl

IN recent years, controller design for systems having complex

UDE-based Dynamic Surface Control for Strict-feedback Systems with Mismatched Disturbances

Pierre Bigot 2 and Luiz C. G. de Souza 3

Power Rate Reaching Law Based Second Order Sliding Mode Control

1348 IEEE TRANSACTIONS ON SYSTEMS, MAN, AND CYBERNETICS PART B: CYBERNETICS, VOL. 34, NO. 3, JUNE 2004

A Novel Integral-Based Event Triggering Control for Linear Time-Invariant Systems

Survey of Methods of Combining Velocity Profiles with Position control

Virtual Passive Controller for Robot Systems Using Joint Torque Sensors

Robust Adaptive Attitude Control of a Spacecraft

Hybrid Direct Neural Network Controller With Linear Feedback Compensator

Hung-Yuan Chung* and Lon-Chen Hung

H-INFINITY CONTROLLER DESIGN FOR A DC MOTOR MODEL WITH UNCERTAIN PARAMETERS

Adaptive robust control for DC motors with input saturation

An Improved Nonlinear Speed Controller for Series DC Motors

3- DOF Scara type Robot Manipulator using Mamdani Based Fuzzy Controller

Robust Controller Design for Speed Control of an Indirect Field Oriented Induction Machine Drive

PRECISION CONTROL OF LINEAR MOTOR DRIVEN HIGH-SPEED/ACCELERATION ELECTRO-MECHANICAL SYSTEMS. Bin Yao

THE control of systems with uncertain nonlinear dynamics

Tracking Control of a Class of Differential Inclusion Systems via Sliding Mode Technique

Position with Force Feedback Control of Manipulator Arm

CHATTERING REDUCTION OF SLIDING MODE CONTROL BY LOW-PASS FILTERING THE CONTROL SIGNAL

An Adaptive Iterative Learning Control for Robot Manipulator in Task Space

Balancing of an Inverted Pendulum with a SCARA Robot

Control Using Sliding Mode Of the Magnetic Suspension System

ENHANCEMENT MAXIMUM POWER POINT TRACKING OF PV SYSTEMS USING DIFFERENT ALGORITHMS

On-Line Fast Algebraic Parameter and State Estimation for a DC Motor Applied to Adaptive Control

Acceleration Feedback

Transcription:

Neural Network Sliding-Mode-PID Controller Design for Electrically Driven Robot Manipulators S. E. Shafiei 1, M. R. Soltanpour 2 1. Department of Electrical and Robotic Engineering, Shahrood University of Technology, Shahrood, Iran Tel:+989133187993, E-mail: sehshf@yahoo.com 2. Department of Electrical Engineering, Shahid Sattari University, Tehran, Iran Tel:+989124863071, E-mail: m_r_soltanpour@yahoo.com Abstract: This paper addresses a neural-network-based chattering free sliding mode control (SMC) for robot manipulators including structured and unstructured uncertainties in both manipulator and actuator dynamics by incorporating a PID outer loop. The main idea is that the robustness property of SMC and good response characteristics of PID are combined to achieve more acceptable performance. Uncertainties in the robot dynamics and actuator model are compensated by a two-layer neural network. External disturbance and approximation error are counteracted by robust signal with adaptive gain. The stability of closed-loop system is guaranteed by developed control scheme. Finally, the proposed methodology is applied to a two-link elbow robot as a case of study. The simulation results show the effectiveness of the method and its robustness to uncertainties and disturbances. Key Words: robot manipulators, sliding mode control, neural networks, PID control, uncertainties. 1. INTRODUCTION Robot manipulators are well-known as nonlinear systems including high coupling between their dynamics. These characteristics, in company with structured uncertainties caused by model imprecision of link parameters, payload variation, etc., and unstructured uncertainties produced by un-modeled dynamics, such as nonlinear friction and external disturbances, make the motion control of rigid-link manipulators a complicated problem [1]. Additionally, one constraint in the robot controller designs is saturation nonlinearity of actuators which is less considered in control design of robot manipulators. A well improved control method for coping with mentioned difficulties is sliding mode control which is capable in controlling wide range of different systems, such as nonlinear uncertain systems, MIMO systems and even, discrete time systems [2-3]. Moreover, it has a good deal of advantages such as insensitivity to parameter variations, disturbance rejection, and fast dynamic responses [4]. A good survey on this topic has been provided by Hung, et al [5]. Despite these merits, SMC suffers from some disadvantages. Actually, the sliding mode control law consists of two main parts [6]. The first part is the equivalent control law which involves inverse dynamics of model nonlinearities that demonstrates the dependency of SMC on the dynamical model of the plant. The second part is the robustifying term which has discontinuous nature and may employ unnecessary high control gain to overcome uncertainties and disturbances. However, this discontinuity may lead to chattering phenomenon that can excite un-modeled high-frequency plant dynamics and harm the overall control system. Also, using high control gain may cause saturating the actuators. Since, calculating of what is known as the equivalent control law is difficult, SMC performance decreases in some applications where the mathematical modeling of the system is very hard (e.g. robotic 1

systems), and where the system has a large range of parameter variations together with unexpected and sudden external disturbances. Accordingly, several methods have been developed for improving the SMC performance which the most significant of them is intelligent control approach [7] mainly includes fuzzy logic control [8-9] and neural network control [10-12]. Many neural network sliding mode control algorithms have been found for the robot control system without including the actuator dynamics [13-17], while actuator dynamics carry out a significant role in the complete robot dynamics and ignoring them may cause detrimental effects, especially in the case of high-velocity moment, highly varying loads, friction, and actuator saturations [18-21]. Since the electrical actuators are highly controllable in comparison with the other one, they are more convenient for driving manipulators. Also, in practical applications, the voltages or currents of the electrical actuators are accessible for applying control commands and consequently, torque-based control design confronts implementation problems when one intends to apply the torque control commands directly to actuators. Sliding-Mode-PID control for robot manipulator was explored by Shafiei and Ataei [22]. In their study, although, the uncertainties are considered but controller design is extremely model-dependent. Also, control command starts with high gain and actuator dynamics is neglected. Moreover, stability analysis is not investigated after incorporating fuzzy tuning system. A robust neural-fuzzy-network controller was designed in [20] for the position control of an n-link robot manipulator including actuator dynamics. Although, their control scheme does not require compensating auxiliary control design, but the employed network is more complicated and uses excess number of neurons. In addition, the second derivative of position angle is required as a part of controller inputs. Capisani et al., [23] presented an inverse dynamic-based second-order sliding mode controller to perform motion control of robot manipulators, but this method involves the higher order derivatives of the state variables. In this note, the motion tracking control of multiple-link robot manipulators actuated by permanent magnet DC motors is addressed. Sliding-mode-PID tracking controller is designed such that all the states and signals of the closed loop system remain bounded in the presence of unknown parameters and uncertainties. Also, neural network universal approximation property is employed for compensating uncertainties. Furthermore, the proposed controller contains an outer PID-loop that enhances the approximation performance during the initial period of weight adaptations, and provides designing a simple NN with lower amount of layers and neurons. Adaptation laws are applied to adjust the NN weights on-line. In order to avoid high gain control, the gain factor of robustifying term is designed adaptively. The reminder of this paper is organized as follows. In section 2, the mathematical models of both electrically and mechanically parts of an n-link electrically driven robot manipulator are given and the tracking problem is considered. Section 3 presents the design of the SMC including PID loop to which is denoted as SMC-PID and explains the NN structure. The design of NNSMC-PID is developed in section 4. In section 5, the simulation results carried out on a two-link elbow robot is provided and finally, some conclusions are drawn in section 6. 2

2. PLANT DYNAMICS AND PROBLEM FORMULATION The mathematical equations describing electrical and mechanical dynamics of a permanent magnet DC motor are as follows [1]: (1) τ (2) τk i (3) where is the armature voltage of the motor, and are armature equivalent resistance and inductance, respectively, is the back electromotive force constant, is the armature current and denotes the rotor position, is the total moment of inertia, is the damping coefficient, and τ represent the generated motor torque and the load torque, respectively, and is the diagonal matrix of motor torque constant. The dynamical equation of an n-link robot manipulator in the standard form is describing by [1]:, (4) where is the completed inertia matrix, the vectors,, are the position, velocity and angular acceleration of the robot joints, respectively. Moreover, the matrix, is the matrix of Coriolis and centrifugal forces and is the gravity vector. Also, stands for the dynamic friction vector, denotes the vector of disturbance and un-modeled dynamics, and finally, is the torque vector. With the purpose of increasing the motion speed of the manipulators, motors are equipped by the high reduction gears as follows: (5) and (6) where is the diagonal matrix of reduction ratio. In the following, some conventional properties of the robot manipulators and a practical constraint are considered. Property 1 The inertia matrix is symmetric and positive definite,. Property 2 The matrix of 2 is skew-symmetric, i.e. for any vector of, we have 2 0. Constraint 1 The maximum voltage that joint actuator can supply is. So, we have:, 1,, It should be noted that, the applicable control input for driving robot arm is the armature voltage of the motors, here. So, by using equations (1)-(6) and neglecting inductance, because of its tiny amount, the following equation is achieved. (7) 3

The previous equation can be expressed in a compact form as: (8) with is the control command and the other parameters are (9) (10) (11) (12) Remark 1 By noting that the parameters,,, and are positive definite diagonal matrices, the matrix is symmetric and positive definite. Remark 2 From relations (9) and (11), and property 2, the matrix 2 is skew-symmetric too. If one considers the desired trajectory which joint position must be held on it as, then the tracking error could be defined as: (13) Here, the tracking problem refers to define a control law such that the error would be driven toward the inside of an arbitrary small region around zero, with maintaining the armature voltage within the constraint 1. This aim will be attained in the next section. 3. SMC-PID DESIGN AND NN DESCRIPTION A key step in designing sliding mode controller is to introduce a proper sliding surface so that tracking errors and output deviations can be reduced to a satisfactory level [24]. Accordingly, the sliding surface is considered as (14), containing the integral part in addition to the derivative term. (14) where is diagonal positive definite matrix. Hence, 0 is a stable sliding surface and 0 as. Only defining the sliding surface as (14) is not adequate to claim that SMC-PID is designed, but the control effort must contain the independent PID part. For this purpose, the robot dynamic equations can be rewritten based on the sliding surface (in term of filtered error) as follows: (15) where (16) where, and are given by (9), (11) and (12) respectively, and (17) Note that the input vector of includes linear combination of and, (i.e. ) which they comprise, and,, too, respectively. The input dimension of the two-layer NN designed here is 4

less than that of given by [13], and thus the proposed method is more desirable from an implementation point of view. Sliding mode control strategy consists of designing a two-part controller. (18) with is equivalent control part which is applied to cancel the uncertain nonlinear function, and specifies robust control term. Considering unknown parameter, uncertainties and disturbances indicates that the function is not accessible. Briefly speaking, neural networks incorporate to reconstruct the part by approximating the function, here. According to universal approximation property of neural networks [11], there is a two-layer NN with sufficient number of neurons, and sigmoid or RBF activation function for hidden layer and linear activation function for output layer (see Fig.1) such that: (19) where is the input vector computed by (17), and represents the NN weights for hidden and output layers, respectively, denotes activation function of the hidden layer and is NN approximation error. Choosing activation function is arbitrary provided that the function satisfies an approximation property and it and its derivative are bounded [11], consequently the sigmoid activation function is considered, here. 1 1 (20) Succeeding section explains complete controller design and investigates stability content. Fig. 1. Two-layer NN structure 4. NNSMC-PID CONTROLLER DESIGN Note that the utilized weights in (19) are optimum and is approximated ideally, over there. Estimation of is accomplished by the estimated weights and, respectively. So, the NN controller is designed as: (21) where is estimation of and and are updated adaptively. The estimation errors are defined as follows: 5

, W WW (22) also, the hidden layer output error for a given input is (23) Consider the as its Taylor series expansion as σ (24) where denotes higher order terms in Taylor series and From (23) and (24), we have: (25) (26) Now, one can obtain overall error between optimum function and its estimation as: (27) where (28) is the uncertain term and is supposed to be bounded by as demonstrated in (29). (29) Design of the control system is provided in the following theorem and is illustrated in Fig.2 schematically. Theorem 1 Robot manipulator including actuator dynamics represented by equation (8) is considered, and the sliding surface is defined by (14). If the control input is designed as (30) together with adaptation laws of NN controller as (31)-(33), then the asymptotic stability of the dynamical system is guaranteed. sgn (30) (31) (32) sgn (33) where is a positive definite diagonal matrix, is the estimated value of. Also,, and are positive constants and sgn denotes sign function. 6

Proof: consider the following Lyapunov function candidate 1 2 1 2 1 2 1 2 (34) where denotes the trace operator and. Differentiating of the relation (34) gives 1 2 1 1 1 (35) By substituting (30) in to the first part of (35) and by using (27) one can obtain sgns sgns Some useful relations for manipulating last tow equations are provided in the following. Replacing (36) in (35) and using above relations, produce 1 2 2 1 1 sgns 1 (36) (37) Note that,,, and remark 2 yields 2 0. Also, if adaptive laws (31) and (32) are taken in to account, then we have sgns 1 sgns substituting (33) in (38) and adopting (29), yields 0 (39) where is minimum singular value of. Since 0, the stability in the sense of Lyapunov is guaranteed which implies that the parameters,, and (and consequently,, ) are bounded. In addition lim (38) 7

whereas, is bounded, hence Barbalat s Lemma [3] indicates that lim 0. Note that 0, as a result 0 as. Therefore, the proposed control system is asymptotically stable. WEIGHT ADAPTATIONS NN PID ELECTRICALLY DRIVEN ROBOT MANIPULATOR GAIN ADAPTATION ROBUST COMPENSATO R Fig. 2. Block diagram of the control system structure Remark 3 The PID term in the above control effort, makes Lyapunov derivative more negative, so it makes the transient response faster and also ensures the performance efficiency during the initial period of weights adaptations. Remark 4 In practical systems, however, it is impossible to achieve infinitely fast switching control, because of finite time delays for the control computation and limitation of physical actuators. For that reason, the sign function is replaced by saturation function here, and the stability matter is investigated analytically. The saturation function is selected as s sat s φ sgn s φ φ s φ s φ (40) where is a thin boundary layer such that 01. The adaptive law (33) must be replaced by ; So, the equation (38) is changed to sat (41) Now, there are two situations; a) if, then 0 (42) b) if, then 8

0 (43) Note that, since 0 1, therefore. Both situations imply that 0, and consequently, the control system remains stable after replacing saturation function. It is worth mentioning that, Remark 5 The sliding gain is chosen dynamically and its dynamic depends on sliding surface. When the states go far from the sliding manifold, the absolute value of increases to force them back to sliding manifold, and when the states are close to the sliding manifold, the absolute value of decreases accordingly. This feature beside the replacing saturation function, act as what is heuristically designed by fuzzy system in [22]. Furthermore, the system stability is addressed here. 5. THE CASE STUDY AND SIMULATION RESULTS In order to show the effectiveness of the proposed control method, it is applied to a two-link elbow robot (see Fig.3) driven by permanent magnet DC motors with the following parameters: 2 cos cos cos, sin sin sin 0 (44) cos cos cos cos where is the angle of joint, is the mass of link, is the total length of link, is center-ofgravity length of link, and 9.8 m/s 2 is gravity acceleration. 9

Fig. 3. Two-Link Elbow Robot Manipulator The detailed parameters of this robot manipulator and permanent magnet DC motor actuators are provided in table 1 [20]. According to the actuator manufacturer, the DC motors are able to accept input voltages within the following bounds: 12 [V] (45) 12 [V] For example, one can use 12V DC servo motors for actuating joints. In practice, also, a servo control card is required which should include multichannels of digital/analog (D/A) and encoder interface circuits. TABLE 1 PARAMETERS OF TWO-LINK ELBOW ROBOT AND ACTUATORS Two-Link Elbow Robot Permanent-Magnet DC Motors 3.55 kg 0.75 kg 3.710 kg.m 2 1.4710 kg.m 2 205 mm 210 mm 1.310 N.m/s 210 N.m/s 154.8 mm 105 mm 2.8 Ω 4.8 Ω 0.21 N.m/A 0.23 N.m/A 3 mh 2.4 mh 1/60 1/30 2.4210 s/rad.v 2.1810 s/rad.v The external disturbances can be considered as external forces injected into the robotic system, and are supposed to have following expression. sin 4 sin 4 (46) Also, the friction term is considered here as [20]: 20 0.8sgn 4 0.16sgn (47) 10

In order to show the effectiveness of proposed controller in tracking of desired trajectory, it is assumed to have the sinusoidal shape in this simulation. sin sin (48) The design parameters are given in table 2. The gain matrices and are selected such that the roots of the characteristic polynomial 0 lie strictly in the open left half of the complex plane when the system is in sliding mode ( 0). The neural network designed here has four neurons as hidden layer and two neurons as output layer, and its weights are totally initialized at zero. Remark 6 For a two-layer NN designed here with the input vector given by (17), we have 6, 4 and 2, for a two-link manipulator. Accordingly, the numbers of adaptive weights are 24 and 8 for input-to-hidden layer weights and output layer weights, respectively. So, only 32 weight parameters must be adaptively updated here while using the NN given in [13], with 10, 10 and 2, this number increases to 120. If the network size is chosen to large, the improvement of control performance is limited and the computation burden for the CPU is significantly increased. The gain matrix which acts as the gain of the PID term is determined large enough to improve transient response in the initial period of weight adaptations. On the other hand, choosing to a large extent increases the overall controller gain and may exceed the permissible voltages of the actuators that are regarded in constraint 1. So, there is a tradeoff between fast response and practical limitations. TABALE 2 DESIGN PARAMETERS 10 0 0 10 24 0 0 24 1/60 0 0 1/30 5 0 0 5 5 5 2 0.05 The mass variation of second link, the external disturbance and the friction are the major factors that affect the control performance of the robotic system. In the reminder of this section, two simulation cases are carried out to show the improvement due to the NNSM_PID control method proposed in this paper. In both cases, the simulation results of applying presented method are compared with the related results of the fuzzy sliding mode_pid (FSM_PID) control method proposed in [22]. In the first case, the disturbance (46) and mass variation are injected and in the second case, the friction term is exerted too. The mass variation condition is that 1 kg weight is added to the mass of 2 nd link (i.e. 1.75 kg). For the FSM_PID case, the control law is as following [22]: sgn (49) (50) 11

(51) where, is the control input, is of fuzzy system output and and are the scaling gain of the fuzzy system output. Here, it is assumed that only manipulator parameters could be estimated and actuator parameters are still unknown. So, is chosen as [22]: where, and are achieved from nominal value of manipulator parameters. However, all of the manipulator parameters are considered with 10% uncertainty. The design parameters of the FSM_PID controller are 3.2 0 0 3.5, 0.8 0 0 0.7 (53) Simulation 1 In this case, the friction term is neglected, mass variation occurs at 3 sec and external disturbance is injected at 6 sec. The desired trajectory is depicted in Fig.4. The vectors of tracking errors of FSM_PID and NNSM_PID are shown in Fig.5 (a) and (b), respectively. Both diagrams of Fig.5 are plotted in the same scaled axes to achieve fairly comparison. The FSM_PID controller does not meet the tracking purpose in the unknown actuator parameters and mass variation conditions. On the contrary, the method proposed in this paper provides swift and precise tracking responses. Fig.6 displays the control efforts (i.e. input armature voltages of motors). The FSM_PID associated control commands are jagged to some extent, while, the NNSM_PID case produces smooth control commands with slowly variation and lower voltage amplitude. Lower voltage commands are more protected toward actuator saturations. The NN outputs are shown in Fig.7 and it indicates that the designed neural network can approximate nonlinear terms with unknown parameters, smoothly and boundedly. Simulation 2 With the purpose of showing robustness of our designed controller against uncertainties and un-modeled dynamics, the friction term (47) is added here. The vectors of tracking errors of FSM_PID and NNSM_PID are shown in Fig.8 (a) and (b), respectively. However, the response of the FSM_PID case is further undesirable in this condition, on the other hand, the NNSM_PID control remains robust and its response is satisfactory, as well as previous simulation case. Control efforts of this case are demonstrated in Fig.9. Because of exerting friction term, the input voltage commands are higher than previous case but the NNSM_PID control commands are still smooth and vary slowly. The NN output is shown in Fig.8. Finally, as can be seen from Fig.9, matrix norm of the adaptive weights, and, have bounded value, less than 3, that it verifies what was claimed in the Theorem 1 about boundedness of these signals. 6. CONCLUSION Whenever, fast and high-precision position control is required for a system which has high nonlinearity and unknown parameters, and also, suffers from uncertainties and disturbances, such as robot manipulators, in that case, necessity of designing a developed controller that is robust and has selflearning ability is appeared. For this purpose, an efficient combination of sliding mode control, PID (52) 12

control and neural network control for position tracking of robot manipulators driven by permanent magnet DC motors was addressed in this note. SMC is robust against uncertainties, but it is extremely dependent on model and uses unnecessary high control gain; So, NN control approach is employed to approximate major part of the model. A PID part was added to make the response faster, and to assure the reaching of sliding surface during initial period of weight adaptations. Moreover, four practical aspects of robot manipulator control such as actuator dynamics, restriction on input armature voltage of actuators due to saturation of them, friction and uncertainties were considered. In spite of these features, the controller was designed based on Lyapunov stability theory and it could carry out the position control with fast transient and high-precision response, successfully. Finally, three-step simulation results of applying the proposed methodology to an electrically driven two-link elbow robot were provided, and they confirmed the success of presented approach. However, the presented design was performed in the joint space of robot manipulator and kinematic uncertainty was not considered. In the future work, we will expand this method to work space design with uncertain kinematics. Fig. 4. Desired input trajectory (a) (b) Fig. 5. (sim1) Tracking error of joints, (a) FSM_PID (b) NNSM_PID 13

(a) (b) Fig. 6. (sim1) Control commands (a) FSM_PID (b) NNSM_PID Fig. 7. (sim1) NN control effort (a) (b) Fig. 8. (sim2) Tracking error of joints (a) FSM_PID (b) NNSM_PID 14

(a) (b) Fig. 9. (sim2) Control commands (a) FSM_PID (b) NNSM_PID Fig. 10. (sim2) NN control effort 15

Fig. 11. (sim2) Matrix norm of adaptive weights and REFERENCES [1] M. W. Spong and M. Vidiasagar, Robot Dynamics and Control, Wiley, New York, 1989. [2] V. I. Utkin, Sliding Modes and their Application in Variable Structure Systems, MIR Publishers, Moscow. 1978. [3] J. J. E. Slotin and W. Li, Applied Nonlinear Control. Englewood Cliffs, NJ: Prentice-Hall, 1991. [4] M. Zhang, Z. Yu, H. Huan and Y. Zhou, The Sliding Mode Variable Structure Control Based on Composite Reaching Law of Active Magnetic Bearing, ICIC Express Letters, vol.2, no.1, pp.59-63, 2008. [5] J. Y. Hung, W. Gao and J. C. Hung, Variable structure control: A survey, IEEE Transactions on Industrial Electronics, vol. 40, pp. 2-21. 1993. [6] W. Gao and J. C. Hung, Variable Structure Control of Nonlinear Systems: A New Approach, IEEE Transactions on Industrial Electronics, vol. 40, no. 1, pp. 45-55, 1993. [7] O. Kaynak, K. Erbatur and M. Ertuģrul, The Fusion of Computationally Intelligent Methodologies and Sliding-Mode Control: A Survey, IEEE Transactions on Industrial Electronics, vol. 48, no. 1, pp. 4-17 2001. [8] P. Palm, D. Driankov and H. Hellendoorn, Model Based Fuzzy Control: Fuzzy Gain Schedulers and Sliding mode Fuzzy Controllers, Springer-Verlag Berlin Heidelberg, 1997. [9] L. K. Wang, H. F. Leung and K. S. Tam, A Fuzzy Sliding Controllers for Nonlinear Systems, IEEE Trans. Ind. Elec., vol. 48, no. 1, pp. 32-37, 2001. [10] M. T. Hagan, H. B. Demuth and M. Beale, Neural Network Design, PWS Publishing Company, 1996. [11] F. L. Lewis, S. Jagannathan and A. Yesildirek, Neural Network Control of Robot Manipulators and Nonlinear Systems, Taylor & Francis, 1998. [12] G. Capi, Application of Recurrent Neural Controllers for Robot Complex Task Performance, International Journal of Innovative Computing, Information and Control, vol.5, no.5, pp.1171-1178, 2009. [13] F. L. Lewis, A. Yesidirek and K. Liu, Multilayer Neural-Net Robot Controller with Guaranteed Tracking Performance, IEEE Transactions on Neural Networks, vol. 7, no. 2, 1996. [14] M. Ertuģrul and O. Kaynak, Neuro Sliding Mode Control of Robotic Manipulators, Mechatronics 10, pp. 239-263, 2000. [15] R. J. Wai, Tracking control based on neural network strategy for robot manipulator, Neurocomputing 51, pp. 425-445, 2003. [16] Y. Tang, F. Sun and Z. Sun, Neural network control of flexible-link manipulators using sliding mode, Neurocomputing 16

70, pp. 288, 2006. [17] H. Hu and P. Y. Woo, Fuzzy Supervisory Sliding-Mode Neural-Network Control for Robotic Manipulators, IEEE Transactions on Industrial Electronics, vol. 53, no. 3, pp. 929-940, 2006. [18] S. N. Huang, K. K. Tan and T. H. Lee, Adaptive neural network algorithm for control design of rigid-link electrically driven robots, Neurocomputing 71, pp. 885-894, 2007. [19] Y. C. Chang and H. M. Yen, Robust tracking control for a class of uncertain electrically driven robots, IET Control Theory and Applications, vol. 3, no. 5, pp. 519-532, 2009. [20] R. J. Wai and P. C. Chen, Robust Neural-Fuzzy-Network Control for Robot Manipulator Including Actuator Dynamics, IEEE Transactions on Industrial Electronics, vol. 53, no. 4, pp. 1328-1349, 2006. [21] Y. C. Chang, H. M. Yen and M. F. Wu, An intelligent robust tracking control for electrically driven robot systems, International Journal of Systems Science, vol. 39, no. 5, pp. 497-511, 2008. [22] S. E. Shafiei and M. Ataei, Sliding Mode PID Controller Design for Robot Manipulators by Using Fuzzy Tuning Approach, Proceedings of the 27 th Chinese Control Conference, July 16-18 2008, Kunming, Yunnan, China, pp. 170-174, 2008. [23] L. M. Capisani, A. Ferrara and L. Magnani, Design and experimental validation of a second-order sliding-mode motion controller for robot manipulators, International Journal of Control, vol. 82, no. 2, pp. 365-377, 2009. [24] I. Eker, Sliding mode control with PID sliding surface and experimental application to an electromechanical plant, ISA Transaction., vol. 45, no. 1, pp. 109-118, 2006. 17