Published: 30 September 2017

Separation of motion techniques for trajectory optimization in flexible redundant robot manipulators

Seyed Mohammad Reza Faritus1
Mohammad Heidari2
Stanford Shateyi3
1Faculty of Engineering, Shahrekord University, Shahrekord, P. O. Box 115, Iran
2Department of Mechanical Engineering, Aligudarz Branch, Islamic Azad University, Aligudarz, Iran
3Department of Mathematics, University of Venda, P. Bag X5050, Thohoyandou 0950, South Africa
Corresponding Author:
Mohammad Heidari
Views 97
Reads 39
Downloads 1485


This paper presents a computational method for optimization of trajectory in redundant robot manipulators. For this purpose, all possible answers are acquired based on rigid conditions and redundancy of the robot. Using open loop optimal control method, the trajectory which minimizes the objective function will be obtained. The objective function is considered as an integral index that will be minimized in the entire trajectory. The objective function and constraints of optimization problem will be selected based on conditions of motion. Dynamic equations of the system are constraints of optimization problem in point-to-point motion. For motion conditions in the specified path, kinematic equations will be added. Also, unequal constraints are applied for limiting the velocity and torque. By selecting the state and control signal vectors which are obtained by assuming rigid motion of the robot, the objective function and constraints will be changed to standard form of an optimization problem. Pontryagin’s maximum principle is used to solve equations. So, the equations of classical form will be changed into two-point boundary value problem. Suggested method is applied to point-to-point motion and movement in the specified path. Results demonstrate accuracy and efficiency of suggested method.

1. Introduction

The use of light arms is necessary when the weight and volume of manipulator are the main factor in reducing energy consumption. The most important advantages of flexible manipulator are appropriate maneuver and the adaptability to changing conditions of product [1, 2]. But control of end-effector due to vibration in these conditions is a major challenge that has involved many researchers by itself. The extra DOF or redundancy can play a role for freedom of action of manipulator in facing with obstacles, moving smoothly and avoid destructive accelerations, minimizing departure time and reducing vibration in flexible manipulators [3]. In these conditions, the tasks assigned to the robot can be obtained in different paths in the joint spaces and therefore, the optimal path is selected based on the goals of designers. Springer et al. [4] determined minimum time trajectory in conditions of avoiding resonance of elastic vibrations using generalized forces. Wilson et al. [5] obtained control torque by converting time optimal control problem to discrete dynamic programming. Choi et al. [6] used a method based on exact equilibrium manifolds in optimal trajectory planning. Bahrami et al. [7] developed optimal control of flexible space robots by using direct collocation method. They converted optimal control problem into standard nonlinear programming by using this technique and could achieve the minimum traveling time and actuating torque in point-to-point motion. Korayem et al. [8] used dynamic programming in determining the optimal trajectory of rigid manipulators in both motions along a specified path and point-to-point motion. They increase convergence speed using a method based on sequential quadratic programming. Wu et al. [9] proposed the optimal trajectory planning by using fourth-order curves to reduce the vibration of the flexible space robot. A number of evolutionary algorithms such as genetic algorithm, imperialist competition on optimal trajectory planning were used [10, 11]. In references [12, 13] developed indirect and sequential nonlinear programming methods in optimal path planning of flexible mobile manipulators. In references [14, 15] Pontryagin’s maximum principle was used for trajectory planning of flexible manipulators. Heidari et al. [14] investigated rest-to-rest motion of flexible manipulator. Almasi et al. [15] examined the movement of the mobile robot.

2. Method

Additional DOF allows the designers to consider the goals such as energy consumption or vibrations of robot tip and minimize them in addition to the assigned work to the robot. Most researchers consider the optimization of tracking error along with the vibrations of flexible components. On the other hand, the tip vibration hasn’t been separated of rigid motion. In this research, we are searching separation of elastic vibration of flexible components. This strategy looking for access to desired designing goals with considering of rigid motion of robot and minimizing the vibration as main preference. In suggested method, all possible answers will be obtained as rigid and redundancy conditions. Then, the trajectory which minimizes the global objective function will be resulted using open loop optimal control. The objective function and constraints of optimization problem will be selected based on conditions of point-to-point motion or the specified trajectory between. In each state, by suitably selecting the state and control signal, the objective function and constraints will be changed to standard form of an optimization problem. Primarily this method will be obtained for point-to-point motion and in continuing will be improved for movement on the specified path. Dynamic equations of the system are constraints of optimization problem in point-to-point motion. For condition of motion in the specified trajectory, kinematic equations are added to dynamic constraints. Dynamic equations will be made by computing kinetic energy and system’s potential and using Lagrange formulation and assumed mode method (AMM). Optimization could be employed to local and global optimization. Although global optimization has relatively complex calculations and more time consuming, but it is more efficient and accurate [16]. Global optimization is defined as an integral indicator during the entire path. As a result, a path among kinematic solutions will be selected that minimizes the special index. Global optimization will be used in this research. There are two direct and indirect methods for solving optimal control equations. In direct method, firstly control and state variables are discreted and the optimal control problem is converted to a nonlinear planning problem. Then, by considering auxiliary points in the specified path, time variable is removed from constraint equations [17]. Its advantage is that the differential equations are changed to algebraic equations and there is no need to solve boundary value problem [16]. These methods do not result in accurate answers and are often time consuming and aren’t efficient due to many parameters [5, 18]. Indirect methods change the optimization problem in to differential equations using optimality conditions and then solve them. In the direct methods are good selection when the DOF is high or different objectives are considered in optimization [19, 20]. Despite the computational complexities and the probability of non-convergence in indirect methods, these methods are relatively accurate and reliable. Hamilton-Jacobi-Bellman equation and Pontryagin’s maximum principle are two known methods in indirect methods which use calculus variation for conversion of optimization problem to a set of differential equations [8]. Because of the very high nonlinearities of system equations of flexible robot manipulator and too many parameters, a method based on Pontryagin’s maximum principle is used to solve the optimal control problem in this article. The first order differential equations are derived and ultimately lead to a TPBVP. Pontryagin’s maximum principle in comparison with other techniques doesn’t need to linearization of equations, differentiation of joint parameters and use of polynomials [12]. The rest of the paper is organized as follows. In Section 3, the dynamic equations of the manipulator will be introduced, while the formulation of optimization problem in point-to-point motion will be described in Section 4. In Section 5, we are going to explain the Pontryagin’s maximum principle. Section 6 is presented formulation of optimization for the specified trajectory. In Section 7, 3-link robot manipulator is simulated by two examples. Finally, we will summarize our results and make some conclusions.

3. Modeling of flexible manipulator

Fig. 1 shows manipulator which includes N arms and its end arm is flexible. Mi, τi and θi are the hub, torque of motors and relative angle of ith arm, respectively. In Fig. 1, XOY is the inertial reference coordinate framework and xiOiyi is relative coordinate for each flexible arm which its center is the hub of ith link.

Fig. 1Flexible manipulator

Flexible manipulator

Flexible beam is considered as Euler- Bernoulli beam which means that the effect of shear deformation and rotational inertia is ignored. According to unlimited the dimensions of system in to flexible components, discretization method is commonly used for solving this problem. Assumed that the mode method is used to estimate the elastic deformation of flexible beam. In this method, deformation is considered by modal series in terms of mode shapes and time-varying variables [21]:


where δ is deformation, xN, a general point on flexible beam, ψj admissible functions, ϕj time-dependent generalized coordinates and M is number of modes. Reference [22] is represented calculating mode shapes and the natural frequencies. Kinetic energy of the manipulator is equal to the sum of kinetic energy of the arms, motors and load. We have:

T=12i=1N0LiρiAiR˙iTR˙idxi+12m R˙mTR˙m+12i=1NmM.iR˙M.iTR˙M.i+IM.iωM.i2,

where RM.i, ωM.i, mM.i and IM.i are position vector, angular velocity, mass and the moment of inertia of motors at joint i, respectively. Ri and Rm are the position vector on the ith arm and the payload to initial frame XOY respectively. m is load mass and ρi, Ai are the density and the cross section of the arms at joint i, respectively. Potential energy is resulted from elastic deformation and gravity. This energy is achieved as follows:

P=12ENIN0lN2U(S,t)S22dS+ i=1N0LiρiyiAigdxi,

where EN and IN are Young modulus and the moment of inertia of flexible beam, respectively, and g, is gravitational acceleration. By substituting Eq. (1) in Eq. (3) the potential energy is calculated. The virtual work due to the torque τi would equal to Wi=τiδθi, therefore the equations of motion can be calculated using Lagrange method:

ddtLθ˙i-Lθi=τi , i=1,2,,N,
ddtLϕ˙j-Lϕj=0, j=1,2,,M,

where L=T-P is Lagrangian and θi and ϕj are the generalized coordinates. By calculating Lagrangian derivative with respect to the generalized coordinates and substituting in Eqs. (4) and (5), the equations of motion are extracted. By arranging the equations in matrix form, n=N+m dynamic equations of motion will be as follows:


where B is inertia symmetric matrix and consist of BθθRN×N, BθϕRN×M, BϕϕRM×M. DRn×n is damping matrix, KRn×n is stiffness matrix and FRn is sum of nonlinear force vectors such as coriolis, gravity and centrifugal. Also, hθ and hϕ are M×1 and N×1 vectors, respectively. θ¨,θ˙,θRN×1 are angular position, velocity and acceleration vectors, respectively, and τRN×1 is torque vector of motors. The superscript T in BθWT denotes the transpose matrix.

4. Formulation of trajectory optimization in point-to-point motion

The motion of the manipulator is created point-to-point or moving in a pre-specified trajectory. This section, formulation of trajectory optimization in point-to-point motion is desired. Dynamic equations in Eq. (6) are system constraints in point-to-point motion. Because of the additional DOF in redundant flexible manipulator, a suitable indicator can be defined and minimized during the motion between two points. The method presented in this study is based on the separation elastic vibration of rigid motion. In fact, among the answers which exist for rigid motion of manipulator due to redundancy, we are looking for a response which minimizes vibrations of the system. In point-to-point motion, optimal trajectory of manipulators will be obtained by minimizing a value function comprehensively by considering dynamic constraints. So, the objective function is presented as follows:

J=tstfΩθ,θ˙,ϕ,ϕ˙,τ dt,

where ts and tf are start time and end time of motion, respectively, and Ω, is function of designer goals. By rewriting the Eq. (6) dynamic constraints of system can be obtained as follows:

Bθθθ,ϕθ¨+Bθϕθ,ϕϕ¨+hθθ,ϕ,θ˙,ϕ˙= τ,

Also, unequal constraints are applied for bounding the torque and angular velocity magnitudes and to avoid saturation of operators and damaging to the system:


Unequal constrains can be acceded with consideration of the terms of torques and velocities in the objective function. To convert Eqs. (8) to (12) a standard form of an optimal control problem, the equations should be as follows:

J=tstfΩX,u dt,

where u is the control signal vector. To convert to a standard form, X state vector is defined as follows:


Dimension of state vector u is considered as follows:


By using Eqs. (10) and (16), ϕ¨ is obtained as follows:


X˙ is obtained by Eqs. (15), (16) and (17):


Also, vector τ is obtained using Eqs. (9) and (17) as a function of X, u:


By substituting Eqs. (15) and (19) in (8) we have:


Consequently, Eqs. (8) to (12) are converted to standard form of the Eqs. (13) and (14).

5. Solution method and boundary conditions

Because of the large number of parameters in the equations of flexible manipulator, the indirect method is selected for optimal control problem. The main advantage of this method is its relatively accurate answers. Hamilton-Jacobi-Bellman equation and Pontryagin’s maximum principle are two known methods in indirect methods. The principles of two methods are based on the calculus of variations. In Pontryagin’s maximum principle, the optimization problem is converted to a series of first-order differential equations and boundary conditions for these equations are two points. This approach in comparison with other open loop optimal control techniques doesn’t have the need for equations linearization and differentiating with respect to joints parameters [23]. Pontryagin’s maximum principle states that if u* as optimal control is applied to a dynamic system of Eq. (6) and meets the conditions of optimal control Eqs. (13) and (14), must satisfy Hamilton equations in optimal points. According to this principle, we have:


where λRn is the vector of co-state variables. Hamiltonian, H is defined as follows:


One method to solve Eqs. (21) to (23) is the extraction of components of the vector u from Eq. (21) and substituting in Eqs. (22) and (23). By doing this, 2n variables will be remained that need the same number of boundary conditions. In Pontryagin’s approach with the help of the calculus of variations, boundary conditions can be obtained as follows [24]:

λT δX=0, t=ts, tf

Eq. (25) expresses boundary conditions in two initial ts and final tf points. Also, the position of end effector is specific in the first and last moment. Therefore, if Z is the workspace dimensions of robot tip manipulator; we have 2Z boundary conditions in two path terminals. Also, according to Eq. (25), in times of ts and tf, vector λ is perpendicular to set of constraint equations. In other words, vector λ should be in raw space of Jacobean matrix. So, lying vector λ in column space ζT is equivalent to the presence of this vector in the null space of the matrix IN-ζTζT which can be written using linear algebra [25]:

IN-ζζλ=0, t=t0 , tf.

Jacobean matrix ζRZ×N of manipulator can be obtained as follows:


where σ is the vector which specifies the location of end effector in terms of joint space of manipulator and ζij is the arrays of Jacobean matrix. Eq. (26) has n-2Z boundary conditions on each ends. Consequently, total of boundary conditions will be 2n which is sufficient to solve the equations.

6. The formulation of optimization problem for moving in a specified path

To complete the discussion, some conditions are considered that the tip of manipulator moves between two points and in a specific path between them. In this case, the optimal space of joints will be changed by the presence of kinematic constraint. We consider the kinematic equation as follows:


In this relation, σθ is a vector of tip position of manipulator and σd(t) is a vector of desired path and a function of time.

Eq. (28) is a nonlinear algebraic equation and there are countless answers for joint angles because of redundancy. By differentiation of the Eq. (28) we have:


where, Jacobin matrix ζθ is obtained from Eq. (27). The null space ζ includes a variety of configurations of manipulator which result in a specific situation of the tip. Using this property, a state can be selected among different states which optimize a characteristic of the system. In this condition, the objective function of Eq. (8) and dynamic constraints of Eqs. (9) and (10) as well as kinematic constraint of Eq. (28) constitute the optimal control problem. To convert them into standard form equations, we differentiate by the Eq. (29):


u and V are defined as follows:


where r=n-Z is the value of redundancy. Eq. (30) is rewritten with Eqs. (31) and (32):


So, angular acceleration vector θ can be written as follows:


ϕ¨, X˙, τ and g will be similarly obtained from Eqs. (17) to (20).

7. Simulation and results

In this section, the performance and the efficiency of the proposed method are studied by performing simulation and the results are discussed. As an example, we consider a 3-link robot with a third flexible arm. We assume that all the arms have a rectangular cross section and they move in a horizontal plane. Therefore, the workspace dimension is 2 (Z= 2). The geometrical and mass properties are listed in Table 1. The arms are made of aluminum with the density and Young’s modulus of 2710 kg/m2 and 71 GPa, respectively.

Table 1The mass and dimension of the robot arms


The mass, inertial moment and the gear ratio of the rotor are 0.2 kg, 0.02 kg.m2 and 1, respectively. The payload mass is 250 gr. Two first natural frequencies are 6.27 and 91.23, respectively. In continuing, two examples would be considered for point-to-point motion and moving in specified path. In the first example, we evaluate the motion of the tip in point-to-point motion. The start and end point are (1.4, 0) and (1.27, 0.1), respectively. The DOF and redundancy are N= 3 (regardless flexibility) and r= 1, respectively. By considering two vibration modes, state and co-state vectors will be as follows:

λ=λ1λ2 λ10.

Vector u is obtained according to redundancy and the Eq. (16):

ui=θ¨i, i=1, 2, 3.

We consider unequal constraint for the torque as follows:

-0.06<τi<0.06, i=1,2,3,

where, we have τi+= 0.06 N.m and τi-= –0.06 N.m according to the relations Eq. (11). In applications, passing velocity from limit values causes damaging to the system. In these conditions, the joints velocity in the robot cannot exceed allowed values, and these velocities are bounded. Therefore, we consider the constraint for angular velocity as follows:

-0.5<θ˙i<0.5, i=1,2,3,

where, we have θ˙i+= 0.06 rads and θ˙i-= –0.06 rad/s according to relations Eq. (12) for limitation of joints velocity and torque of motors. According to the limitations of joints velocity and torque of motors, these factors are determined and should be considered in the objective function. The objective function is considered as a function of the squares of the joints velocity, elastic deformation of tip and energy consumption in the operators:


wϕ, wτi and wvi, denotes penalty weights of elastic deformation, control signals and joints velocity respectively. Due to being the velocity and torque bounded, second and third terms are considered in Eq. (40). By substituting wv=wv1=wv2=wv3 and wτ=wτ1=wτ2=wτ3 into Eq. (40) and using Eqs. (19), (24) and (35) result to the Hamiltonian function as:


To study and appropriate conclusions, penalty factors are considered and compared in different situations. For this purpose, the following four cases are considered:

1. wϕwτ , wv,

2. wτwϕ , wv,

3. wvwτ, wϕ,

4. wτ=1, wϕ=wϕ=50.

By solving two-point boundary value problem, angles and optimal control command are obtained. The BVP4C command in MATLAB is used to solve first degree equation of systems with its boundary conditions. Also, uniform time networking with 100 points of ti0,3 where i= 1,…, 100 have been used in simulation. Here we have ts= 0 and tf= 3 s. The initial guess for the first and second cases is 0.009 for angular positions, 0.7 for angular velocities and first and second five co-state variables are 0.0001 and 0.0002, respectively. The initial guess for the third and fourth cases is 0.2 for angular positions, first five co-state variables is 0.65, second five co-state variables 0.4 and remaining variables are zero. In this simulation to produce the optimal trajectory in addition to minimizing the objective function with respect to penalty matrices, joint velocities and torques shouldn’t exceed the limit values. Penalty matrices in cases 1 to 3 are considered to estimate limit conditions of these matrices. Case 4, according to the conditions of the problem is proposed as one of acceptable answers. The condition wϕwτ, wv ignores torque and velocity factors. Therefore, the only effective factor in the objective function is tip vibration. Torque and velocity are the only main factors for cases 2 and 3, respectively. Fig. 2 shows the trajectory of tip for cases 1 to 4. Fig. 2 shows that longer trajectory should be travelled to achieve the minimum vibration in the tip. In this case, the travelled trajectory is 33 cm which is twice the distance between two beginning and end points. Fig. 3 demonstrates the tip deflection for four cases. The maximum deformation for cases 1, 2 and 3 are 1.37, 4.31 and 4.91 mm, respectively, indicating that the tip vibration in the first case can reduce the maximum vibration up to three times in comparison with two other cases. In this condition, vibrating changes of tip between two initial and final peaks can be estimated by a line. Fig. 3 indicates this important point that peaks aren’t dependent on penalty matrices at the beginning and end of the path and occur at 0.09 and 2.88 seconds. Although the maximum vibration in cases 2 and 3 are close to each other, but vibration behavior is different in them. In the case 2 where wτ is the determinant factor in the objective function, tip vibration is in oscillatory mode.

Fig. 2Tip trajectory

Tip trajectory

Fig. 3Tip vibration

Tip vibration

Fig. 4Angular velocity of joint 1

Angular velocity of joint 1

Fig. 5Angular velocity of joint 2

Angular velocity of joint 2

Angular velocities of joints are presented in Fig. 4 to 6 and Fig. 7 to 9 show the torque of motors for cases. In the first case, velocity in the joints reaches its maximum. The absolute value of velocities in this condition in the joints 1 to 3 are 0.82, 1.60 and 0.79 rad/sec, respectively and is passed by allowed value 0.5. In conditions wτwϕ, wv, absolute value of angular velocity in second and third joints in its maximum value is 0.56 and 0.52, respectively which is passed limit value 0.5. By looking at Figs. 7 to 9 it can be concluded that changes of control torque in three joints can be estimated by a line. In this condition, the amount of energy consumption in operators has reached its lowest level. Fig. 10 shows angular velocities of joints for case 3. Fig. 10 shows that besides that the velocities are significantly reduced, the velocity changes are constant and has no significant change over time. In the third case, angular velocities in joint 1, 2 and 3 are reached constant values of 0.14, –0.39 and 0.34, respectively. Figs. 11 to 13 show produced angular positions for joints 1 to 3 for cases 1 to 4. Figs. 11 to 13 state that the changes of angular positions will be lined by increasing wv. According to mentioned points and system responses in each case 1, 2 and 3, some conditions should be proposed to be of appropriate vibration in the tip meanwhile obtaining equal and unequal constraints of the problem. So, the fourth case in which wτ= 1, wϕ=wϕ= 50 is proposed. Penalty matrices are selected such that the behavior is close to the third case in velocity and second case in torque. Figs. 4 to 6 show that the angular velocities in the fourth case except at the beginning and end of the trajectory are close to the third case. For this condition, the maximum angular velocities (absolutely) are 0.15, 0.40 and 0.38 rad/sec for joint 1, 2 and 3, respectively. Also, Figs. 7 to 9 show that control torques except in path terminals are similar to the second case. The maximum absolute values of the torques in joints 1 to 3 are 0.055, 0.020 and 0.046 N.m, respectively, which has met the conditions of not crossing the limit value 0.06. Also, in this condition, tip vibration at the beginning and end of the movement is with trivial oscillation and approaches the line in the middle of the trajectory which is similar to behavior of cases 1 and 3. Anyway, meeting optimal conditions for all factors isn’t simultaneously possible and penalty matrices can be selected to achieve the intended result depending on their importance.

Fig. 6Angular velocity of joint 3

Angular velocity of joint 3

Fig. 7Torque of motor 1

Torque of motor 1

Fig. 8Torque of motor 2

Torque of motor 2

Fig. 9Torque of motor 3

Torque of motor 3

Fig. 10Angular velocity in case

Angular velocity in case

Fig. 11Angular position of joint 1

Angular position of joint 1

Fig. 12Angular position of joint 2

Angular position of joint 2

Fig. 13Angular position of joint 3

Angular position of joint 3

In the second example, the motion of the robot tip in the specified path is considered. Initial and end points are similar to the first example. The path of tip is considered as a circle with a radius of 0.1 and center (1.3, 0) in XOY plane. Unequal constraints are considered to limit the torque and tip error as follows:

-0.06<τi<0.06, i=1,2,3,
-0.016<e<0.016, i=1,2,3,

where e is error of tip motion and τi+= 0.06 N.m and τi-= –0.06 N.m. The objective function is selected as follows:


wx and wy are the penalty weights for error of tip trajectory and xe, ye are the coordinates of tip position in x and y directions, respectively. In this example, the angular velocities of motors are not considered as a determining factor. State and co-state vectors are relations Eqs. (35) and (36). Vector u is obtained by Eq. (31) as follows:


To study the effect of the penalty weights, we compare the following cases:

5. wewϕ, wτ,

6. wϕwe, wτ,

7. wτwe, wϕ,

8. wτ=14, we=40, wϕ=1.

Fig. 14 shows the tip trajectory in desired condition and for cases 5 to 8. Figs. 15 and 16 show tip trajectory error and tip vibration in four cases, respectively. Error of trajectory tracking in case 5 has the least error.

Fig. 14Tip trajectory

Tip trajectory

Fig. 15Error of tip trajectory

Error of tip trajectory

Fig. 16Tip vibration

Tip vibration

Fig. 17Torque of motor 1

Torque of motor 1

In this situation, the absolute value of the torque shouldn’t cross limit value 0.06 N.m. Figs. 17 to 19 show torques of motors in joints 1 to 3 for cases 5 to 8. In cases 6 and 7, penalty matrices of elastic bending and control commands are more in comparison with the remaining penalty matrices. Therefore, in case 6 the least deformation and in case 7 the least torque is seen. The maximum trajectory error is 12.7 mm in case 5 less than the bound of 16 mm. While Fig. 19 indicates that the maximum torque in this case is 0.088 N.m and is exceeded bound τi+. Penalty matrices are selected in case 8 such that while not crossing control commands of limit value and the error does not exceed 16 mm. The objective function is obtained 1.29 for this condition. Fig. 16 shows that by increasing wϕ towards penalty matrices of error and torque, deformation can be estimated by a line. Minimum and maximum vibration of tip for case 6 are –2.7 mm and 4.1 mm and its average absolute value is 1.44 mm. What ever wϕ decreased and wτ increases, the range of vibration reaches to 2.85 mm in the middle of movement. Fig. 16 shows the first overshoot is at 0.12 second for each of four cases. In these circumstances, the maximum elastic deformation is occurred in fifth case and its value is –12.46 mm. By increasing wτ, in comparison with penalty matrices of error and deformation, the torques approach straight line. Also, in positions 6 and 7 in which penalty matrices of wτ and wϕ are more in comparison with remaining penalty matrices, the torques are close to each other and a trivial difference is seen between them. Obtaining optimal conditions depends on selecting penalty matrices and will be determined according to the intended conditions and objectives.

Fig. 18Torque of motor 2

Torque of motor 2

Fig. 19Torque of motor 3

Torque of motor 3

Important conclusions are briefly summarized as follows:

The first and last overshoot in elastic deformation not depended on penalty matrices. When the penalty matrices of deformation, error (when moving in the specified path), torque and velocity are located as main priority in their maximum value compared to the rest of penalty matrices, the changes of these parameters can be estimated in linear form. Using unequal constraints, torque, velocity or error limitations are applied to the system. In these circumstances, in the event of selecting penalty matrices improperly, there is the possibility of damage to the system (for example, operators’ saturation). Obtaining optimal conditions aren’t possible for all indicators simultaneously and depending on the priorities considered, they can be adjusted to the desired result. For this work to predict the response of the system (relative to the penalty matrices), boundary conditions of these matrices considered similar to the conditions in cases 1 to 4 (or 5 to 8) can be investigated.

8. Conclusions

In this paper, designing trajectory optimization of flexible manipulators with redundancy in point-to-point motion and moving in a specified path was presented. This research suggests new optimal control based on the separation of vibration motion in flexible components. The goal of this strategy is access to the desired objectives of design by considering rigid motion of the robot and minimizing the vibration as the main priority. In the proposed method, all possible solutions are obtained based on rigid conditions and redundancy of the manipulator. Then, the trajectory which minimizes the global objective function was obtained using the open loop optimal control. In this research, according to nonlinear model of manipulator which is under equal and unequal non constraints, open loop optimal control method has been used. The goals depending on the conditions of point-to-point motion or movement on a specific trajectory between two points are different. In both conditions, maximum decrease of elastic vibrations of flexible members is considered as one of the main objectives. In each one by selecting state vector of the system and control signal properly, the objective function and constraints are converted to a standard optimization problem. The constraint in point-to-point motion includes differential equations in the system and unequal constraints. Objective function in these conditions includes terms of energy consumption in operators, joint velocities and elastic deformation. In the conditions of moving in a specified path, kinematic constraint is added to the constraints. In addition to the above constraints, unequal constraints are added to the problem to limit the torque and velocity in the joints. Due to the unlimited dimensions in flexible components, AMM was used for discretization and estimate of elastic deformation. Then by calculating kinetic and potential energy of the system and using Lagrange formulation, equations of motion were derived. To verify mathematical modeling and presented optimization method, simulation of three-link flexible manipulator was presented in two examples. The first example was conducted for point-to-point motion and the second one for moving in a specified path between two fixed points. In these circumstances, an additional DOF was used to minimize the objective function. Based on the desired objectives and unequal constraints for each example, objective function was defined associated with them. In point-to-point motion, objective function, including terms of elastic deformation of tip, energy consumption in operators and joint velocities were considered and trajectory error was replaced by velocities in moving in a specified path. System responses were analyzed in different conditions of penalty matrices. The results showed that there is no a unique solution that can satisfy all the goals. Therefore, appropriate trajectory can be selected to meet the desired goals by adjusting penalty matrices properly. Investigating the response of the system in different conditions and obtained results indicate the appropriate efficiency and accuracy in the proposed method.


  • Vu V. H., Liu Z., Thomas M., Li W., Hazel B. Output-only identification of modal shape coupling in a flexible robot by vector autoregressive modeling. Mechanism and Machine Theory, Vol. 97, 2016, p. 141-154.
  • Kiang C. T., Spowage A., Yoong C. K. Review of control and sensor system of flexible manipulator. Journal of Intelligent and Robotic Systems, Vol. 77, Issue 1, 2015, p. 187-213.
  • Nguyen L. A., Walker I. D., Defigueiredo R. J. P. Dynamic control of flexible, cinematically redundant robot manipulators. IEEE Transactions on Robotics and Automation, Vol. 8, Issue 6, 1992, p. 759-767.
  • Springer K., Gattringer H., Staufer P. On time-optimal trajectory planning for a flexible link robot. Proceedings of the Institution of Mechanical Engineers, Part I: Journal of Systems and Control Engineering, Vol. 227, Issue 10, 2013, p. 752-763.
  • Wilson D. G., Robinett R. D., Eisler G. R. Discrete dynamic programming for optimized path planning of flexible robots. Proceeding of the International Conference on Intelligent Robot and Systems (IROS), Vol. 3, 2004, p. 2918-2923.
  • Choi Y., Cheong J., Moon H. A trajectory planning method for output tracking of linear flexible systems using exact equilibrium manifolds. IEEE/ASME Transactions on Mechatronics, Vol. 15, Issue 5, 2010, p. 819-826.
  • Bahrami M., Jamilnia R., Naghash A. Optimal control of flexible space robots using direct collocation method and nonlinear programming. International Conference on Robotics, Telematics and Applications, China, 2009.
  • Korayem M. H., Irani M., Charesaz A., Korayem A. H., Hashemi A. Trajectory planning of mobile manipulators using programming approach. Robotica, Vol. 31, Issue 4, 2013, p. 643-656.
  • Wu H., Sun F., Sun Z., Wu L. Optimal trajectory planning of a flexible dual-arm space robot with vibration reduction. Journal of Intelligent and Robotic Systems, Vol. 40, Issue 2, 2004, p. 147-163.
  • Lou J., Wei Y., Li G., Yang Y., Xie F. Optimal trajectory planning and linear velocity feedback control of a flexible piezoelectric manipulator for vibration suppression. Shock and Vibration, 2015,
  • Tabealhojeh H., Ghanbarzadeh A. Two steps optimization path planning algorithm for robot manipulators using imperialist competitive algorithm. 2th RSI/ISM International Conference on IEEE in Robotics and Mechatronics (ICROM), 2014, p. 801-806.
  • Korayem M. H., Rahimi H. N., Nikoobin A. Path planning of mobile elastic robotic arms by indirect approach of optimal control. International Journal of Advanced Robotic Systems, Vol. 8, Issue 1, 2011, p. 10-20.
  • Korayem M. H., Rahimi H. N., Nikoobin A. Mathematical modeling and trajectory planning of mobile manipulators with flexible links and joint. Applied Mathematical Modeling, Vol. 36, Issue 7, 2012, p. 3229-3244.
  • Heidari H. R., Korayem M. H., Haghpanahi M., Batlle V. F. Optimal trajectory planning for flexible link manipulators with large selection using a new displacements approach. Journal of Intelligent and Robotic Systems, Vol. 72, Issues 3-4, 2013, p. 287-300.
  • Almasi A., Ghayour M., Sadigh M. J. Trajectory optimization of a mobile robot with flexible links using Pontryagin’s method. International Journal of Mechanical Engineering and Robotic Research, Vol. 3, Issue 3, 2013, p. 149-164.
  • Homaei H., Keshmiri M. Optimal trajectory planning for minimization vibration of flexible redundant cooperative manipulators. Advanced Robotic, Vol. 23, Issues 12-13, 2009, p. 1799-1816.
  • Watcher A., Biegler L. T. On the implementation of an interior-point filter line-search algorithm for large-scale nonlinear programming. Mathematical Programming, Vol. 106, Issue 1, 2006, p. 25-57.
  • Park K. J. Flexible robot manipulator path design to reduce the endpoint residual vibration under torque constraints. Journal of Sound and Vibration, Vol. 275, Issue 3, 2004, p. 1051-1068.
  • Bessonnet G., Chessé S. Optimal dynamics of actuated kinematic chains. Part 2: Problem statements and computational aspects. European Journal of Mechanics – A/Solids, Vol. 24, Issue 3, 2005, p. 472-490.
  • Callies R., Rentrop P. Optimal control of rigid link manipulators by indirect methods. GAMM-Mitteilungen, Vol. 31, Issue 1, 2008, p. 27-58.
  • Meirovitch L. Analytical Methods in Vibrations. McMillan Press, New York, USA, 1967.
  • Rao S. S. Vibration of Continuous Systems. 4th Edition, Chapter 11, Wiley and Sons Press, New Jersey, USA, 2007.
  • Korayem M. H., Nazemizadeh M., Nohooji H. R. Dynamic load carrying capacity of flexible manipulators using finite element method and pontryagin’s minimum principle. Journal of Optimization in Industrial Engineering, Vol. 12, 2013, p. 17-24.
  • Kirk D. E. Optimal Control Theory: an Introduction. Prentice Hall Press, Englewood Cliffs, NJ, 2012.
  • Nakamura Y. Advanced Robotics: Redundancy and Optimization. Addison-Wesley Longman Publishing Co., 1990.

About this article

07 April 2017
21 July 2017
30 September 2017
Vibration generation and control
elastic vibration