arXiv:0910.4000v1 [cs.RO] 21 Oct 2009 Path Placement Optimization of Manipulators Based on Energy Consumption: Application to the Orthoglide 3-axis Raza UR-REHMAN, St ́ ephane CARO Damien CHABLAT, Philippe WENGER Institut de Recherche en Communications et Cybern ́ etique de Nantes UMR CNRS n ◦ 6597, 1 rue de la No ̈ e, 44321 Nantes, France { ur-rehman, caro, chablat, wenger } @irccyn.ec-nantes.fr Abstract This paper deals with the optimal path placement for a manipulator based on energy con- sumption. It proposes a methodology to determine the optimal location of a given test path within the workspace of a manipulator with minimal electric energy used by the actuators while taking into account the geometric, kinematic and dynamic constraints. The proposed methodology is applied to the Orthoglide 3-axis, a three-degree-of-freedom translational par- allel kinematic machine (PKM), as an illustrative example. Keywords: Path placement, Energy consumption, Optimization, Parallel manipulators. Placement optimal de trajectoires de manipulateurs pour la minimisation de la consommation d’ ́ energie : application ` a l’Orthoglide 3-axes R ́ esum ́ e L’objet de cet article est le placement optimal de trajectoires en utilisant la consommation ́ energ ́ etique comme crit` ere. Ce travail propose une mthodologie pour d ́ eterminer la locali- sation optimale de la trajectoire dans l’espace de travail d’un manipulateur en minimisant la consommation d’ ́ energie ́ electrique utilis ́ ee par les moteurs, tout en tenant compte des contraintes g ́ eom ́ etriques, cin ́ ematiques et dynamiques. La m ́ ethodologie propos ́ ee est ap- pliqu ́ ee ` a l’Orthoglide 3-axes, manipulateur d’architecture parall` ele ` a trois degr ́ es de libert ́ e de translation. Mots cl ́ es: Placement de trajectoires, Consommation ́ energ ́ etique, Optimisation, Manipu- lateur parall` eles. 1 INTRODUCTION Optimal trajectory planning of manipulators has been a relevant area for roboticists for many years. Indeed, several authors have worked on trajectory planning based on different optimization objectives. A review of trajectory planning techniques is given in [1]. Trajectory planning deals with the determination of the path and velocity/acceleration profiles (or the time history of the robot’s joints), the start and end points of the trajectory being predefined and fixed in the workspace. As a matter of fact, this approach is suitable for most of robotic applications. A path is a continuous curve in the configuration space connecting the initial configuration of the manipulator to its final configuration [2]. Trajectory planning usually aims at minimizing the travel distance [3, 4], travel time [5, 6, 7] and/or the energy consumed [8, 9, 10, 11], while satisfying several geometric, kinematic and dynamic constraints. Another less explored aspect of trajectory planning is the placement of a given path within the workspace. It aims at determining the optimum location of a predefined path to be followed by the end-effector of the manipulator within its workspace with respect to one or many given objective(s) and constraint(s). This path can be the shape of a component to be machined, a welded profile or an artistic/decorative profile etc. In such situations, the trajectory planner cannot alter the shape of the path but he/she can only play with the location of that path within the workspace of the manipulator in order to optimize one or several criterion(a). Such an approach can be very interesting in many robotic applications. For example, in machining, a workpiece can be better located within the workspace of the robot to perform a given operation more efficiently with respect to the energy consumed. The path placement problem has not been extensively studied in the past. Nevertheless, some researchers proposed to solve it with respect to various optimization objectives. Several performance criteria for path location problems can be considered simultaneously (multiob- jective) or individually, such as travel time, different kinetostatic performance indices (manip- ulability or conditioning number), kinematic performance (velocity, acceleration), avoiding obstacles, reduced wear or vibration, energy consumption etc. In the following paragraphs, a brief survey of the work of different researchers to solve the problem of path placement optimization for various applications is presented. Nelson and Donath [12] proposed an algorithm for the optimum location of an assembly task in the manipulator workspace while taking the manipulability measure as the optimiza- tion criterion. They considered that the location of the assembly task within the workspace that results in the highest manipulability is a locally optimal position for performing the assembly. However, Aspragathos [13, 14] considered that the manipulability index and the dexterity, usually quantified by the condition number of the Jacobian matrix of the manipu- lator, can characterize the motion ability of the manipulator, but these criteria cannot depict the ability of a manipulator to move in a given direction. Hence they introduced a criterion to characterize the best velocity performance of the robot end-effector with the path location. They used the concept of the orientation of the manipulability ellipsoid relative to the desired path and used genetic algorithm to come up with an optimal solution. Fardanesh et al [15] proposed an approach for optimal positioning of a prescribed task in the workspace of a 2 R -manipulator. Optimal location of the task is considered to be the location that yields the minimum cycle time for the task. In another study, Feddema [16] formulated and solved a problem of robot base placement for minimum time joint coordinated motion within a work cell. The proposed algorithm considers only the kinematics and the maximum acceleration of each joint in order to obtain a 25% cycle time improvement for a typical example. Hemmerle [17] presented an algorithm for optimum path placement of a redundant ma- nipulator by defining a cost function related to robot joints motion and limits. The proposed approach did not consider the path as a whole but points along the entire path, hence cost function considers the performance only at the node points and not the path in-between the nodes. Chou and Sadler [18] developed an optimization technique for the optimum placement of a robotic manipulator based on the actuators torque requirements. Pamanes and Zeghloul [19, 20] considered multiple kinematic indices to find the optimal placement of a manipulator by specifying the path with a number of points and then assigning an optimization criterion to each point. The objective was to find the path location in order to have optimal values of all the criteria assigned to the path’s points. In [21], the problem of optimal placement with joint-limits and obstacle avoidance is addressed. Lately, a general formulation was presented to determine the optimal location of a path for a redundant manipulator while dealing with mono- and multi-objective problems [22]. The goal of this research work was to keep the joint variables within their limits and to minimize the magnitude of their displacements [23, 24, 25, 26, 27, 28, 29]. With a general literature survey, it comes out that although several performance indices are introduced or considered, there is very little emphasis on the dynamic aspects reflecting the energy consumption by the robot actuators. The increasing number of the robotic ap- plications emphasize the importance of the energy saving not only to enhance efficiency but also to face the world energy problems. Therefore, it is pertinent to locate well the path to be followed by the end-effector of a robot within its workspace in order to minimize the en- ergy consumed by its actuators. Accordingly, the major contribution of this paper are i ) the minimization of the energy requirements by optimum path placement and ii ) use of electric energy consumed by the actuators instead of treating mechanical energy relations. Hence, we propose an approach to optimize the location of a given path within the workspace of a manipulator in order to minimize the electric energy consumed by its actuators. It should be noted that energy optimal poses can affect various performance indices such as manipula- bility, dexterity, stiffness etc. In the scope of this paper, we have only considered the electric energy consumption as an optimization criterion (objective function) in order to highlight its influence on motion planning. However, others optimization criteria , such as the ma- nipulability, dexterity, stiffness, the motors torque required, will be taken into account in future work. Accordingly, we will come up with multiobjective path placement optimization problem that may not be convex. For that matter, we will use other optimization tools such as Genetic Algorithms to solve it. The paper is organized as follows. In section II, we propose a minimum energy path placement optimization problem that includes basic problem formulation, electric energy calculations and the algorithm proposed to solve the problem. In section III, the Orthoglide 3- axis: a three-degree-of-freedom translational Parallel Kinematics Machine (PKM), is used as a case study to implement the proposed optimization methodology and results are presented for rectangular test paths. 2 PATH PLACEMENT OPTIMIZATION The problem aims at determining the optimal location of a predefined path in order to min- imize the electric energy used by the actuators. The optimization problem is subject to geometric, kinematics and dynamics constraints. Geometric constraints include joint limits and the boundaries of the workspace. Kinematic constraints deal with the maximum actu- ator velocities whereas dynamic constraints are related to actuator wrenches. Contrary to the trajectories usually defined with start and end point configurations, the entire path is supposed to be known within the framework of this research work. The path location can be defined in a similar way as to define the location of a workpiece with respect to a manipulator reference point. 2.1 Path Localization In order to formulate and describe the problem, two reference frames are defined: i ) the path frame F p and ii ) the base frame F b , as shown in Fig. 1. The path frame F p , is attached to the given/required path at a suitable point such as geometric center of the path. As F p is attached to the path, the end-effector trajectory parameters remains constant in this reference frame, no matter where it is located. In other words, the path is fully defined and constant in F p . It can also be named workpiece frame as it characterizes the position and the orientation of the workpiece within the manipulator workspace. The base frame F b can also be called global or manipulator frame. It is attached to the manipulator base and is used to locate a workpiece (or F p ) with respect to the manipulator coordinate system. The location and orientation of F p with respect to F b can be defined in such a way that the whole path lies within the workspace. The position of F p with respect to F b is defined with x X b Y b Z b O b F b F b X p Y p Z p O p F p P p F p P ( a ) PSfrag replacements X b Y b Z b O X p Y p Z p u v w φ φ ψ ψ θ θ ̇ φ ̇ ψ ̇ θ ( b ) Figure 1: (a). Path P to be followed by the end-effector P of a manipulator, F b and F p being the base and path frames, (b). Euler angles the Cartesian coordinates of the origin of F p and the relative orientation of the two frames is characterized by means of Euler angles. However, keeping in view the constraints of the manipulator wrist, Euler angles are uniquely defined in the context of milling operation with the parameterization given in Fig. 1(b). It allows to avoid the singularity of Euler parameters. As a matter of fact, any trajectory defined in F p can be transformed in the base frame F b by a transformation matrix. For instance, point P , of Cartesian coordinates x P p , y P p , z P p in F p can be expressed in F b as follows: [ p ] F b = b T p [ p ] F p (1) namely, [ x P b y P b z P b 1 ] T F b = b T p [ x P p y P p z P p 1 ] T F p (2) b T p being the transformation matrix from F p to F b . Let O p ( x O p , y O p , z O p ) be the origin of the path frame expressed in frame F b and ( φ, θ, ψ ) the Euler angles characterizing the orientation of frame F p with respect to frame F b . Accordingly, b T p =     cos φ cos θ cos φ sin θ sin ψ − sin φ cos ψ cos φ sin θ cos ψ + sin φ sin ψ x O p sin φ cos θ sin φ sin θ sin ψ + cos φ cos ψ sin φ sin θ cos ψ − cos φ sin ψ y O p − sin θ cos θ sin ψ cos θ cos ψ z O p 0 0 0 1     (3) The path placement is specified with b T p . Let x = [ x O p y O p z O p φ θ ψ ] T define the path placement within the workspace of the manipulator, in the reference frame F b . Conse- quently, the components of x are the decision variables of the optimization problem at hand. In the context of a general machining process like milling operation, the feature to be ma- chined on the workpiece is defined with respect to the frame attached to the workpiece, namely F p . Likewise, the machining operation conditions such as machining velocity and acceleration are fully defined in F p . Finally, the part to be machined is defined by the de- signer and located in F b whereas the machining operation conditions and robot trajectory planning are defined by the production engineer with respect to the the corresponding part, namely F p . Here, we introduce a methodology to help the production engineer well locate the workpiece, namely F p , within the robot base frame F b in order to minimize the actuators electric energy consumption. 2.2 Path Placement Optimization Problem Formulation The goal of this research work is to help the path planner find the best location of the path to be followed by the robot in order to minimize the energy used by its actuators. It can be formulated as an optimization problem, namely, “ For a predefined path in F p , find the optimum location and orientation of F p with respect to F b , defined by the decision variables x , in order to minimize the electric energy used by the manipulator actuators to generate that path, while respecting the geometric, kinematic and dynamic constraints of the manipulator. ” It can also be formulated mathematically as follows: min x E t = n ∑ i =1 E i ( x ) subject to:    q il ≤ q i ≤ q iu | ̇ q i | ≤ ̇ q iu ( i = 1 · · · n ) | τ i | ≤ τ iu (4) x is the path placement vector corresponding to the transformation matrix b T p . E t is the to- tal electric energy required by the n actuators whereas E i is the total electric energy required by the i th actuator to follow the path. q i , ̇ q i , τ i are respectively the i th actuator displacement, rate and torque. q il is the lower bound and q iu (resp. ̇ q iu and τ iu ) is the upper bound of i th actuator displacement (resp. rate and torque). For a given path placement vector x , these constraints can be evaluated by means of the manipulator kinematic, velocity and dynamic models. It is noteworthy that the manipulator geometric constraints guarantee that the whole path lies inside the prescribed workspace. Similarly, the bounds on actuator rates ( ̇ q iu ) and torques ( τ iu ) ensure that the manipulator will not go through any singular configuration while follow- ing the path. The electric energy used by the actuators is formulated in the next section. 2.3 Objective Function: Electric Energy The energy used by the motors depends on their corresponding velocities and torques. As a matter of fact, the electric current in the motors varies with motor velocities and torques. Accordingly, the motor’s self-inductance phenomenon appears. The current I drawn by the motors and the motor electromotive potential V e can be calculated as a function of the required torque τ and the angular velocity ω of the actuators, namely, I = τ K t (5) V e = K e ω (6) K t being the torque sensitivity factor or motor constant expressed in [Nm/A] and K e the back electromotive force constant expressed in [V.(rad/sec) − 1 ]. The total electric power P T is composed of [30]: • The resistive power loss (Joule effect): P J = RI 2 (7) • the inductive power loss: P L = LI dI dt (8) • the power used to produce the electromotive force: P EM = V e I (9) Accordingly, the total electric power P T can be expressed as follows: P T = P J + P L + P EM (10) R being the motor winding resistance expressed in Ohm [Ω] and L the motor inductance coefficient expressed in Henry [H]. Finally, the energy E consumed by a motor can be evaluated by integrating P T over the total trajectory time T , namely, E = ∫ T 0 P T dt (11) P T being the instantaneous electric power at time t , defined in Eq. (10). It should be noted that Eq. (5) allows us to consider the energy used by the actuators when they do not move but still produce a torque to keep the manipulator at a certain stationary configuration (with respect to that particular direction or actuator), like resisting the gravity. It is noteworthy that energy calculation model presented in this section is suitable for the brushless motors, which are generally used for PKMs. However, depending on the mo- tors/derives in application, energy calculation model can be developed accordingly. 2.4 Resolution of the Path Placement Optimization Problem To solve the problem, a general optimization approach is proposed as illustrated in Fig. 2. The approach can be summarized in three constituent elements or phases: 1. Preparation Phase: Manipulator geometric, dynamic and electric parameters along with the definition of the required path are used as the known input data of the optimization problem. The base frame F b is defined. The path to be followed by the end-effector of the robot is defined in the path frame F p . The terms of the transformation matrix between F p and F b are the decision variables of the optimization problem. 2. Evaluation Phase: At this stage, the inverse kinematic model (IKM), the inverse ve- locity model (IVM) and the inverse dynamic model (IDM) of the manipulator are determined for each set of design parameters obtained from the optimization routine. Accordingly, the objective function and the constraints of the optimization problem are evaluated. 3. Optimization Phase: The objective function and constraints evaluated at the previous step are analyzed by means of the optimization algorithm. Once the constraints are satisfied, the objective function is tested for its optimum value. The convergence criteria are checked. If latter are respected, the optimization algorithm stops. Otherwise, other iterations are run as long as the convergence criteria are not satisfied. Finally, the optimum path placement is obtained by means of the position and orientation of the origin of F p with respect to F b defined by the terms of the transformation matrix between F p and F b , namely, the location vector x ∗ =[ x ∗ O p y ∗ O p z ∗ O p φ ∗ θ ∗ ψ ∗ ] T . 3 CASE STUDY: APPLICATION TO THE ORHTOGLIDE 3.1 Description of the Orthoglide The Orthoglide is a Delta-type PKM [31] dedicated to 3-axis rapid machining applications developed in IRCCyN [32]. It gathers the advantages of both serial and parallel kinematic PSfrag replacements Preparation Phase F b Path definition F p F p Initial Guess x 0 z Op 0 φ 0 θ 0 ψ 0 ] T Evaluation Phase b T p F b Optimization Phase q il ≤ q i ≤ q iu | ̇ q i | ≤ ̇ q iu | τ i | ≤ τ iu E t = E min x j = x j +1 Optimum value x ∗ = x j Yes Yes No No Figure 2: Flowchart of the path placement optimization process architectures such as regular workspace, homogeneous performances, good dynamic perfor- mances and stiffness. The Orthoglide is composed of three identical legs, as shown in Fig. 3(a). Each leg is made up of a prismatic joint, two revolute joints and a parallelogram joint. Pris- matic joints of the legs, mounted orthogonally, are actuated which result the motion of the mobile platform in the Cartesian space with fixed orientation. The Orthoglide 3-axis geometric parameters are function of the size of the prescribed cubic (a) Orthoglide (cour- tesy: CNRS Pho- toth ́ eque/CARLSON Leif) z10 X [mm] Y [mm] Z [mm] C O b Q + Q − X b Y b Z b 1 -100 -50 0 50 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 -120 -100 -80 -60 -40 -20 0 20 40 (b) Cubic workspace (200 × 200 × 200 mm 3 ) Figure 3: A snap and workspace of the Orthoglide Workspace size L workspace = 0 . 2 m Point Cartesian coordinates in F b [m] O b (0 , 0 , 0) C ( − 0 . 027 , − 0 . 027 , − 0 . 027) Q + (0 . 73 , 0 . 73 , 0 . 73) Q − ( − 0 . 127 , − 0 . 127 , − 0 . 127) Table 1: Orthoglide workspace parameters Cartesian workspace, defined by the length of the cube sides, namely, L workspace [33]. The base frame F b is defined with the unit vector e i in the direction of the i th prismatic joint, namely, X b , Y b and Z b , the origin O b of F b being the intersecting point of e i . Two points Q + and Q − are defined in such a way that the velocity transmission factor is 1 / 2 and 2 at these two points [34]. A cube is then constructed with Q + Q − as its diagonal. It should be noted that the cubic workspace center, i.e., point C , and the origin O b of the reference frame F b do not coincide, as shown in Fig. 3(b). In the scope of this study, L workspace is equal to 0 . 200m. Accordingly, the coordinates of points Q + , Q − and C for the said workspace are given in Table 1. Similarly, the prismatic actuator bounds, ρ min and ρ max , can be calculated [33]. Table 2 shows the lower and upper bounds of the prismatic joints displacements and their maximum allowable velocity and torque for the Orthoglide. The geometric, kinematic and dynamic parameters of the Orthoglide are defined in [32, 33, 34, 35]. Electric energy E i used by each actuator is calculated by means of Eqs. (5) to (11). As the Orthoglide 3-axis has three 3-phase Sanyo Denki synchronous servo motors ( ref erence : P 30 B 0604 D ), Eq. (10) is multiplied by 3 to cater for the power consumed by the each phase of the motor in order to calculate the electric power P T i used by each actuator, i.e., P T i = 3( RI 2 + LI dI dt + V e I ) (12) ρ i min 0 . 126 m ρ i max 0 . 383 m v i max 1 . 00 m.s − 1 τ i max 1 . 274 Nm Table 2: Orthoglide actuators parameters ( i = x, y, z ) 3.2 Trajectory Planning and External Forces In order to apply the methodology proposed for path placement optimization, a rectangular test path is considered. The test path is defined by the length L and the width W of the rectangle, as shown in Fig. 4( a ). Path reference frame F p is located at the geometric center of the rectangle. This type of path can be the example of the generation of a rectangular pocket like that of Fig. 4( b ). The position of F p in the base frame F b is defined with the Cartesian coordinates of the origin of F p , O p ( x O p , y O p , z O p ) and the orientation of F p with respect to F b is given by Euler’s angles, as depicted in Fig. 1( b ). For the sake of simplicity, only one of the three rotation angles is considered i.e, rotation about Z b -axis while X b Y b and X p Y p planes are considered to be always parallel. Accordingly, there are four path placement variables, i.e., x O p , y O p , z O p and φ , as illustrated in Fig. 4. The magnitude of the end-effector velocity is supposed to be constant along the path. Hence, for given path dimensions, po- sition vector p F p = [ x P p y P p z P p ] T and velocity vector v F p = [ ̇ x P p ̇ y P p ̇ z P p ] T in the path frame can be evaluated as a function of time. Figure 5 shows the position and velocity profiles in F p for a 0 . 05 × 0 . 10 m rectangular path and for a constant end-effector velocity of 1 . 0 m.s − 1 . Position and velocity vectors defined in F p can be expressed in F b by means of the transformation matrix defined in Eq. (3), namely,     x P b y P b z P b 1     =     cos φ − sin φ 0 x Op sin φ cos φ 0 y Op 0 0 1 z Op 0 0 0 1         x P p y P p z P p 1     −70 −60 −40 -20 0 20 40 −40 −20 0 20 40 60 80 X b Y b O b p F b F b X p Y p O p P p F p F p A B C D L W φ P P ath P X b [mm] Y b [mm] ( a ) PSfrag replacements ( b ) Workpiece Rectangular Pocket Figure 4: Rectangular test path     ̇ x P b ̇ y P b ̇ z P b 1     =     cos φ − sin φ 0 0 sin φ cos φ 0 0 0 0 1 0 0 0 0 1         ̇ x P p ̇ y P p ̇ z P p 1     with x = [ x O p y O p z O p φ ] T being the decision variables vector of the optimization prob- lem. For a matter of simplicity and not to deal with tangent and curvature discontinuities, we consider that the path is composed of four independent line segments. Therefore, we do not pay attention to the discontinuities between the segments. In order to analyze the effect of external cutting/machining forces in the generation of a given path, a groove milling operation is considered as shown in Fig. 6, [36]. With constant feed rate or end-effector velocity v p of magnitude 0 . 66 m.s − 1 , i.e, 40 m.min − 1 , the following components of cutting forces are considered: F f =component in the feed direction = 10 N F a =component along the axis of cutting tool = 25 N F r =component perpendicular to F f and F a = 215 N 3.3 Path Placement Optimization Problem The path placement optimization problem for the Orthoglide 3-axis is formulated in order to minimize the total electric energy used by the three prismatic actuators. The kinematic, velocity and dynamic models of the manipulator are used to evaluate the required actuator displacements, velocities and torques. The constraints of the optimization problem are the geometric, kinematic and dynamic ones. It should be noted that within the prescribed [m] End-effector position vs time in F p Time [sec] [m.s − 1 ] End-effector velocity vs time in F p x P p y P p z P p ̇ x P p ̇ y P p ̇ z P p 0 0.1 0.2 0.3 0.4 0.5 0 0.1 0.2 0.3 0.4 0.5 0.6 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -1 -0.5 0 0.5 1 -0.15 -0.1 -0.05 0 0.05 0.1 Figure 5: Test trajectory for a rectangular path of size 0 . 05m × 0 . 10m workspace, the Orthoglide 3-axis is free of internal collisions and that there is not any limit on the passive joints. Therefore, the geometric constraints for the path placement problem are the upper and lower limits of the prismatic joints variables. The kinematic constraints are the maximum velocities that the prismatic actuators can produce whereas the dynamic constraints are the limits of the torque/force that the actuators can produce. The kinematic and dynamic constraints are obtained from the catalogue, as shown in Table 2. As already mentioned, the decision variables are the Cartesian coordinates of the origin of F p and the orientation angle of F p with respect to F b . The optimization problem can be formulated as follows, min x E t = n ∑ i =1 E i ( x ) subject to:    ρ min ≤ ρ x,y,z ≤ ρ max | v x,y,z | ≤ v max | τ x,y,z | ≤ τ max (13) where x = [ x Op , y Op , z Op , φ ] T . The subscripts x , y and z are used for three prismatic actuators or three Cartesian directions. ρ min and ρ max are respectively the minimum and maximum displacements of the prismatic joints as presented in Table 1 The optimization problem was solved by using the MATLAB fmincon function, which is a general constrained optimization solver using the derivative-based search algorithms. The optimization process was performed with different starting points and it turned out that MATLAB fmincon function always converges to the same solution no matter the starting point. Furthermore, to study the variation pattern of energy requirements at different points within the workspace, a workspace discretisation is carried out with respect to the path placement variables and the energy is calculated for each of the discrete point for a given path while verifying the constraints. PSfrag replacements X b Y b Z b F a F r F f V p Figure 6: Cutting forces 3.4 Results and Discussions of the Path Placement Optimization Problem The path placement process introduced in this paper is highlighted by means of the rectan- gular path shown in Fig. 4. As a matter of fact, the path placement process is performed for different rectangles with constant aspect ratio of 2, i.e., L/W = 2. With the help of the optimization algorithm, the location of the path corresponding to minimum and maximum energy consumption is obtained, i.e., the best and the worst path locations with respect to the electric energy consumed. Figures 7 and 8 show the location of different rectangular paths with the minimum and maximum energy consumption in the Orthoglide 3-axis cu- bic workspace. The magnitude of the energy used for both best and worst cases and the corresponding gain of energy is given in Table 3 and is illustrated in Fig. 9. In Fig. 9, % saving is the percent energy saving between the best(minimum) and the worst(maximum) energy consumption. It can be seen from Figs. 7 and 8 that the energy consumption is a Rectangular path dimensions [mm] E min [J] E max [J] % gain Width ( W ) Length ( L ) 20 40 15 . 26 44 . 46 65 . 68 30 60 22 . 88 61 . 35 62 . 71 40 80 30 . 41 76 . 31 60 . 15 50 100 38 . 55 89 . 80 57 . 07 60 120 46 . 83 102 . 11 54 . 13 70 140 56 . 82 113 . 46 49 . 92 80 160 65 . 94 121 . 17 46 . 89 Table 3: Minimum and maximum energy used for a given rectangular path minimum when the path is located in the vicinity of the isotropic configuration with velocity X b [mm] Y b [mm] Z b [mm] C O b Q + Q − Y b Z b X b 20 × 40 30 × 60 40 × 80 60 × 120 70 × 140 80 × 160 50 × 100 -100 -50 0 50 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 -120 -100 -80 -60 -40 -20 0 20 40 60 Figure 7: Locations of rectangular path of different sizes ( W mm × L mm) that yield a minimum energy consumption X b [mm] Y b [mm] Z b [mm] C O b Q + Q − X b Y b Z b 80 × 160 70 × 140 60 × 120 50 × 100 40 × 80 30 × 60 20 × 40 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 -120 -100 -80 -60 -40 -20 0 20 40 60 Figure 8: Locations of rectangular path of different sizes ( W mm × L mm) that yield a maximum energy consumption and force transmission factors equal to one, i.e. point O b , with φ = 0 ◦ and is a maximum when the path is located in the vicinity of point Q − with φ = 45 ◦ . From Fig. 9, it can be no- ticed that the smaller the path, the higher the energy saving. This higher gain for the smaller path is due to the higher range of displacement of the path within the manipulator workspace. In order to view the energy variation trends in the workspace, a test path of size 30mm × 60mm is taken and the energy required for the generation of this test path is evaluated for several positions and orientations. Figure 10 shows the variations in the energy used with respect to E [J] Energy ( E ) used for different rectangular path widths Path widths W [mm] %saving Percentage saving for different rectangular path widths E min E max 20 30 40 50 60 70 80 20 30 40 50 60 70 80 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 40 45 50 55 60 65 70 0 20 40 60 80 100 120 140 Figure 9: E min and E max and percentage saving as a function of the rectangular path width ( L = 2 W ) x Op [mm] z Op [mm] E [J] E vs x Op z Op ( φ = 0 ◦ , W = 30 mm, L = 60 mm) y Op = 0 mm y Op = − 102 mm y Op = 48 mm 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 24 26 28 30 32 34 36 38 40 -200 -100 0 100 20 25 30 35 40 45 Figure 10: Energy as a function of x Op and z Op for a 30mm × 60mm rectangular path x Op and z Op for a constant orientation φ of 0 ◦ and for three different values of y Op . Figure 11 illustrates the isocontours of the energy required by the motors with respect to x Op and y Op for given values of z Op and φ , namely, z Op = 0 and φ = 0 ◦ . From Fig. 10, it is apparent that the energy required is not sensitive to variations in z Op . The reason being that the path lies in the X b Y b -plane and the actuator displacements along Z b -axis is not significant. Figures 10 and 11 also show that the energy required by the motors is a minimum when the path is located in the neighbourhood of the isotropic configuration and is a maximum when the latter is located in the neighbourhood of singularities. Figures 12 and 13 show the variations in the energy used with the path orientation in 23 23 24 24 24 24 24 25 25 25 25 25 26 26 26 26 26 28 28 28 30 30 30 32 32 32 34 Energy [J] variation with x Op and y Op ( z Op = 0, φ = 0 ◦ ) x Op [mm] y Op [mm] 1 -80 -60 -40 -20 0 20 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -80 -60 -40 -20 0 20 40 Figure 11: Energy vs x Op and y Op for 30mm × 60mm rectangular path y Op [mm] x Op [mm] E [J] E vs x Op y Op ( z Op = 0) φ = 60 ◦ φ = 45 ◦ φ = 30 ◦ φ = 0 ◦ φ = 90 ◦ 0.5 0.6 0.7 0.8 0.9 1 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 -100 -50 0 50 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 25 30 35 40 45 50 -50 0 50 100 20 25 30 35 40 45 Figure 12: Energy as a function of x Op and y Op for different orientations ( z Op = 0) different areas of the cubic workspace. It can be seen that the energy used is usually a maxi- mum when φ = 45 ◦ . However, the energy consumption is a maximum for a path orientation different than 45 ◦ , for some path locations. For example, the energy required at the upper right corner of the workspace is higher for φ = 30 ◦ than φ = 45 ◦ . Figure 14 shows the x Op [mm] φ [deg] E [J] E vs x Op and φ ( y Op = z Op = 0) -100-80 -60 -40 -20 0 20 40 0.9 1 24 26 28 30 32 34 36 38 40 42 44 0 15 30 45 60 75 90 100 20 25 30 35 40 45 Figure 13: Energy as a function of x Op and φ for y Op = z Op = 0 [m] Max actuator displacements ( a ) [m/s] Max actuator velocities ( b ) [Nm] Max actuator torques ( c ) [J] Energy used by each actuator ( d ) E min E max 0.6 0.7 0.8 0.9 1 E x E y E z τ x τ y τ z V x V y V z X Y Z 0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1 0 10 20 30 40 50 0 0.25 0.5 0.75 1 1.25 1.5 0 0.2 0.4 0.6 0.8 0 0.02 0.04 0.06 0.08 Figure 14: Comparison of 30mm × 60mm trajectory parameters for E min and E max locations comparison of trajectory parameters of 30mm × 60mm test path for minimum and maximum energy locations. It makes sense that when E = E max the range of actuator displacements is larger than when E = E min . Similarly actuators experience higher values of maximum velocities and torques when E = E max as shown in Fig. 14(b-c), which results in higher energy consumption for each actuator, as shown in Fig. 14(d). These results mean that the actuators may reach their performance limits due to an inappropriate location of the path in the workspace. 4 Acknowledgment This work has been partially funded by the European projects NEXT, acronyms for Next Generation of Productions Systems, Project no IP 011815. 5 CONCLUSIONS A methodology for path placement optimization was proposed in this paper. The electric energy required by the actuators to follow a predefined path is considered as the optimization criterion. Electric energy requirement is calculated with the help of the required actuator torques and velocities along with motors electric parameters. To verify the feasibility of the solutions, actuators performance limits such as their joint limits, maximum velocities and torque were used as the constraints of the optimization problem. The kinematic, velocity and dynamic models were used to come up with the objective function and constraints. The proposed methodology was applied to the Orthoglide 3-axis, a three-degree-of-freedom translational parallel manipulator with a quasi-cubic workspace. Rectangular test paths of different sizes were considered as illustrative examples. These paths are similar to those used to realize pocketing operations. The use of the electric energy instead of mechanical energy as an optimization criterion is pertinent. Although actuator electric energy consumption depends on the mechanical energy requirements, the electric energy evaluation is more comprehensive than its mechanical coun- terpart. General approach to calculate the mechanical energy with the help of manipulator velocity and dynamic models, i.e., by using actuator torques and velocities, may lead to an under estimation of the energy requirements in the case where actuators are experiencing torques with zero velocities. Besides, usual mechanical energy calculations do not consider the resistive energy loss in the motor windings as well as the energy loss due to the variations in the actuator velocities. Those variations affect the current requirements and hence induce electromotive forces in the actuators. Accordingly, the electric energy formulation takes into account all these energy losses. The energy required to perform a given task depends on the position and the orientation of the task within the workspace of the manipulator. Accordingly, some electric energy can be saved by properly selecting the position and the orientation of the task. Indeed, a misplaced task can cause excessive energy consumption and can force the actuators to go over their performance limits. For the Orthoglide 3-axis, the optimum path location is found to be in the neighbourhood of the isotropic configuration but there is no general rule to predict the exact optimal position and orientation of a task particularly for a complicated three dimensional task or for an irreg- ular workspace. However, a detailed analysis of the energy variation within the workspace for a given task can lead to the optimal position/orientation of that particular task. Numerical optimization algorithms are useful for such a comprehensive analysis in which all the problem constraints and performance measures can be considered simultaneously. In the future work, the path placement optimization problem will be dealt as a multi- objective one. For example, along with energy requirements, the manipulator dexterity and stiffness can be considered as optimization objectives. References [1] A. A. Ata, “Optimal trajectory planning of manipulators: A review,” Journal of Engi- neering Science and Technology , Vol. 2 (1), pp. 32–54, 2007. [2] V. T. Rajan, “Minimum Time Trajectory Planning,” Proc. of the IEEE Int. Conf. on Robotics and Automation , St. Louis, MI. March 1985. [3] E. J. S. Pires, J. A. T. Machado and P. B. M. Oleyiera, “An evolutionary approach to robot structure and trajectory optimization,” ICRA 01–10 th Int. conf. on Advanced Robotics , Budapest, Hungary, pp. 333–338, 2001. [4] L. Tian and C. Collins, “Motion planning for redundant manipulators using a float- ing point genetic algorithm,” Journal of Intelligent and Robotic Systems, Theory and Applications , Vol. 38(3-4), pp. 297–312, 2003. [5] K. K. Chan and A.M.S. Zalzala, “Genetic-based minimum time trajectory planning of articulated manipulators with torque constraints,” IEEE Colloquium on Genetic Algo- rithms for Control Systems Engineering , London, 4/1–4/3, 1993. [6] B. Cao, G. I. Dodds and G. W. Irwin, “Time optimal and smooth constrained path planning for robot manipulators,” Proc. of the Int. Conf. on Robotics and Automation , Minneapolis, Vol. 43(2), pp. 1853–1858, 1994. [7] P. Pledel, “Actuator constraints in point to point motion planning of manipulators,” Proc. of the 34 th IEEE Conf. on Decision and Control , Vol. 2, pp. 1009–1010, 1995. [8] M. Shugen, “Real-time algorithm for quasi-minimum energy control of robotic manipu- lators,” Proc. of the IEEE Int. Conf. on Industrial Electronics, Control and Instrumen- tation , Orlando, Vol. 2, pp. 1324–1329, 1995. [9] G. Field, “Iterative dynamic programming, an approach to minimum energy trajec- tory planning for robotic manipulators,” Proc. of the IEEE Int. Conf. on Robotics and Automation , Minneapolis, Vol. 3, pp. 2755–2760, 1995. [10] A. Hirakawa and A. Kawamura, “Trajectory planning of redundant manipulators for minimum energy consumption without matrix inversion,” Proc. of the IEEE Int. Conf. on Robotics and Automation , New Mexico, pp. 2415–2420, 1997. [11] A. Khoukhi, L. Baron and M. Balazinski, “A projected gradient augmented Lagrangian approach to multi-objective trajectory planning of redundant robots,” Transactions of the Canadian Society for Mechanical Engineering , Vol. 31(4), pp. 391 – 405, 2007. [12] B. Nelson and M. Donath, “Optimization of the location of assembly tasks in a ma- nipulator workspace,” Proc. of the IEEE Int. Conf. on Robotics and Automation , pp. 1367–1372, 1987. [13] N. A. Aspragathos, “Optimal location of path following tasks in the workspace of a manipulator using genetic algorithm,” ARK’96 , Portroz, Slovinia (June 1996). Published in Recent Advances in Robot Kinematics (Kluwer Academic Publishers), pp. 179–188, 1996. [14] N. A. Aspragathos and S. Foussias, “Optimal location of a robot path when considering velocity performance,” Robotica , Vol. 20, pp. 139–147, 2002. [15] B. Fardanesh and J. Rastegar, “Minimum cycle time location of a task in the workspace of a robot arm,” Proc. of the 27 th Conf. on Decision Control , Austin, Texas, pp. 2280– 2283, 1988. [16] J. T. Feddema, “Kinematically optimal robot placement for minimum time coordinated motion,” Proc. of the IEEE 13 th Int. Conf. on Robotics and Automation , Part 4, pp. 22– 28, 1996. [17] J. S. Hemmerle and F.B. Prinz, “Optimal path placement for kinematically redun- dant manipulators,” Proc. of the IEEE Int. Conf. on Robotics and Automation , Vol. 2, pp. 1234–1244, 1991. [18] H.C. Chou, and J.P. Sadler, “Optimal location of robot trajectories for minimization of actuator torque,” Mechanism and Machine Theory , Vol. 28(1), pp. 145–158, 1993. [19] G.J.A. Pamanes, “A criterion for optimal placement of robotic manipulators,” IFAC Proc. of the 6 th Symp. on Information Control Problems in Manufacturing Technology , pp. 183–187, 1989. [20] G.J.A. Pamanes and S. Zeghloul, “Optimal placement of robotic manipulators using multiple kinematic criteria,” Proc. of the 1991 IEEE Int. Conf. on Robotics and Au- tomation , Vol. 1, pp. 933–938, 1991. [21] G.J.A. Pamanes, S. Zeghloul, and J. Lallemand, “On the optimal placement and task compatibility of manipulators,” Proc. of the IEEE Int. Conf. on Advanced Robotics-’91 ICAR , Vol. 2, pp. 1694–1697, 1991. [22] G.J.A. Pamanes, E. Cuan-Duron, and S. Zeghloul, “Single and multiobjective optimiza- tion of path placement for redundant robotic manipulators,” Ingenier ́ ıa Investigaci ́ on y Tecnolog ́ ıa , Vol. 9(3), pp. 211-237, 2008. [23] G.J.A. Pamanes and S. Zeghloul, “Multi-Criteria Optimal Placement of Manipulators in Cluttered Environments,” Proc. of the ASME Int. Conf. on Computers in Engineering , Vol. 2, pp. 419–424, Santa Clara August 1991. [24] G.J.A. Pamanes and S. Zeghloul, “On The Task Feasibility of non Redundant Ma- nipulators,” Proc. of the 9 th World congress on Theory of Machines and Mechanisms (TMM-IFTOMM) , Milano Italy, Vol. 3, pp. 1748–1752, Aug 30-Sept 2, 1995. [25] S. Zeghloul, P. Peyrat and J.P. Lallemand, “Reachable workspace in the presence of ob- stacles. Application to robot path planning in cartesian space,” Proc. of the RoManSy 90 , Cracow Poland, pp. 270–275, July 1990. [26] S. Zeghloul and G.J.A. Pamanes, “Optimal Placement of Manipulators in Presence of Obstacles,” Proc. of the 8 th World congress on Theory of Machines and Mechanisms (TMM-IFTOMM) , Prague, Vol. 2, pp. 521–524, August 1991. [27] S. Zeghloul and G.J.A. Pamanes, “Multi-criteria optimal placement of robots in con- strained environements,” Robotica , Prague, Vol. 11(1), pp. 105–110, 1993. [28] S. Zeghloul, G.J.A. Pamanes and J.P. Lallemand, “Multi-Criteria optimal placement of robot manipulators,” Colloque AGI’93 , La Rochelle, 6–7 May 1993. [29] S. Zeghloul, B. Blanchard, and G. J. A. Pamanes, “Optimization of kinematics perfor- mances of manipulators under specified task conditions,” 10 th CISM-IFToMM Sympo- sium RoManSy , Poland, Sept, 1994. [30] G. Lacroux, Les actionneurs ́ electriques pour la robotique et les asservissements , 2 nd edition, Technique et Documentation Lavoisier, Paris, 1994. [31] R. Clavel, “Delta, a fast robot with parallel geometry,” Proc. of 18 th Int. Symposium on Industrial Robots , pp. 91–100, April 1988. [32] P. Wenger and D. Chablat, “Kinematic analysis of a new parallel machine tool: The Orthoglide,” in: Lenarcic, J. and Stanisic, M.M. (editors), Advances in Robot Kinematic, Kluwer Academic Publishers, pp. 305–314, 2000. [33] A. Pashkevich, D. Chablat, and P. Wenger, “Stiffness analysis of overconstrained parallel manipulators,” Journal of Mechanism and Machine Theory , Vol. 44(5), pp. 966–982, May 2009. [34] D. Chablat and P. Wenger, “Architecture Optimization, of a 3-DOF Parallel Mech- anism for Machining Applications, The Orthoglide,” IEEE Transactions On Robotics and Automation , Vol. 19(3), pp. 403–410, 2003. [35] S. Gu ́ egan, “Contribution la mod ́ elisation et l’identification dynamique des robots par- all` eles,” Ph.D. Thesis, Ecole Centrale de Nantes , Nantes, France, 2003. [36] F. Majou, C. Gosselin, P. Wenger and D. Chablat, “Parametric stiffness analysis of the Orthoglide,” Journal of Mechanism and Machine Theory , Vol. 42(3), pp. 296 – 311, March 2007.