Next Article in Journal
A Novel Active Control Strategy with Decentralized Decoupling and Wavelet Packet Transformation: Design and Verification
Next Article in Special Issue
Instant Center Identification of Single-Loop Multi-DOF Planar Linkage Using Virtual Link
Previous Article in Journal
Stabilization of an Unconventional Large Airship When Hovering
Previous Article in Special Issue
Variable Stiffness Mechanism for the Reduction of Cutting Forces in Robotic Deburring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Initial Estimation of Kinematic Structure of a Robotic Manipulator as an Input for Its Synthesis

1
Department of Robotics, Faculty of Mechanical Engineering, VSB-TU of Ostrava, 17. Listopadu 2172/15, 708 00 Ostrava-Poruba, Czech Republic
2
Unit of Geometry and Surveying, University of Innsbruck, Technikerstr. 13, A-6020 Innsbruck, Austria
*
Author to whom correspondence should be addressed.
Appl. Sci. 2021, 11(8), 3548; https://doi.org/10.3390/app11083548
Submission received: 19 March 2021 / Revised: 13 April 2021 / Accepted: 13 April 2021 / Published: 15 April 2021
(This article belongs to the Special Issue Innovative Robot Designs and Approaches)

Abstract

:
Researchers often deal with the synthesis of the kinematic structure of a robotic manipulator to determine the optimal manipulator for a given task. This approach can lower the cost of the manipulator and allow it to achieve poses that might be unreachable by universal manipulators in an existing constrained environment. Numerical methods are broadly used to find the optimum design but they often require an estimated initial kinematic structure as input, especially if local-optimum-search algorithms are used. This paper presents four different algorithms for such an estimation using the standard Denavit–Hartenberg convention. Two of the algorithms are able to reach a given position and the other two can reach both position and orientation using Bézier splines approximation and vector algebra. The results are demonstrated with three chosen example poses and are evaluated by measuring manipulability and the total link length of the final kinematic structures.

1. Introduction

Nowadays, manufacturing industry, the most common type of robotic manipulator has six serial axes (degrees of freedom—DoFs) that are arranged in a so-called universal kinematic structure, e.g., the robots of ABB, KUKA, Fanuc, Yaskawa, and many others. In a very simplified way, the typical process for the deployment of a robot is to analyse the manufacturing process and workplace area first, followed by the choosing of a universal robotic manipulator and simulating the process. If the manipulator can reach the desired poses and fulfil the given task, further deployment can be considered.
However, using this universal kinematic structure is not always necessary, when a manipulator with fewer axes is suitable to perform the given task, or even possible, if the universal manipulator can face unavoidable collisions in an already existing environment. Additionally, they might not fulfil the desireed advanced operation conditions, such as manipulability [1] and kinematic reliability [2]. Therefore, researchers are focused on the topic of the synthesis of the kinematic structure of manipulators, which means finding such a kinematic structure that is optimal for a given task. This approach of deployment of highly customised manipulators may lead to benefits like lowered energy consumption, accelerated manufacturing process cycles, or deploying manipulators in highly dense-built workplaces. An example of such a general structure is presented by Brandstötter et al., who delivered the so-called curved manipulator (CuMa) [3] with possible modifications of its structure during the operational process [4]. This is achieved by changing the temperature in the links so they become flexible. A different approach to a deformable manipulator was taken by Xu et al. [5], where the links are composed of a few components and it is possible to change the orientation between them. Clark et al. [6] uses air pressure to change the kinematic structure of the presented malleable robot. The custom design of manipulators is desired not only in the manufacturing industry, but for example, in healthcare for helping with human upper limb rehabilitation [7] and shoulder joint rehabilitation [8].
There are two approaches to the synthesis of the kinematic structure of a manipulator. Analytically, it was solved by Hauenstein et al. [9] in the synthesis of three-revolute spacial chain for five poses. However, once a path becomes more complex and requires more degrees of freedom (more manipulator axes), the numerical approach is applied utilising optimisation algorithms. Among them, evolutionary robotics with genetic algorithms (GA) are probably the most common. Chocron et al. [10] used an adaptive multi-chromosome evolutionary algorithm to build a modular manipulator. Furthermore, GA can be used to build a manipulator from adaptive modules to perform a desired task [11]. Pastor et al. [12] compared straight, rounded, and curved mechanism links synthesised using GA. Valsamos et al. created so-called pseudo-joints (links which can be modified) and proposed a GA that tries to find the kinematic structure with the best manipulability [13]. It was later verified in an experiment with a real manipulator [14]. The synthesis of a parallel manipulator is addressed in [15]. As an example of non-industrial application, the work by Zeiaee et al. [16] deals with the optimisation of an eight-DoFs upper-limb exoskeleton.
In addition to GAs, the global optimum of an objective function can be searched with Simulated Annealing algorithm [17] or by a heuristic-guided tree search algorithm [18]. Another numerical method for finding the optimal manipulator for a given task is to search for a local minimum of an objective function. To solve this, a nonlinear programming (NLP) can be used, as it was implemented by Dogra et al. [19] for the design of a modular manipulator. In the paper, an optimal kinematic structure was proposed based on the minimisation of the joint torques. Another usage of NLP is trying to find an optimal design minimizing the path length in joint space [20].
The results of the already described papers [19,20] seem promising in their application of nonlinear programming to solve task-based custom manipulator design, however, there is one unanswered question in their work. In general, nonlinear programming traditionally requires that a starting point is given as part of the problem data, and comparative numerical testing is done using these traditional starting points [21]. In the case of robotic manipulators, if there is a given random path for a robotic manipulator, how should the starting point (initial values, initial estimation) of its kinematic structure look like?
The work [19] mentions a set of input values without any detailed explanation of how those values were determined. In [20], eight initial seeds are applied, but they are random values, which might be a cause of why no solution was found at all in some cases. In [17], they searched for a global optimum; however, the input values are also random, which may extend the time of solving the objective function. Even in a book by Ghafil et al. [22] which serves as an introduction to the optimisation of kinematic structures, the initial values for all described methods are obtained randomly without any detailed discussion. Therefore, a possible answer to the previously stated question will be addressed in this paper using multiple approaches.
In this paper, a geometric analysis to estimate kinematic structures and related calculations are proposed and discussed. The outcomes may avoid relying on randomness, which in the case of local-optimum-search algorithms may more frequently lead to convergence, making them reliable but still much faster than global-optimum-search methods. Moreover, the results can also be used in the previously mentioned algorithms using GAs, where they can serve as an optional first generation input, and in global-optimum-search algorithms, where they can reduce the time needed for the optimisation. In addition to that, the procedure may serve as an input for other custom manipulator design challenges such as collision avoidance [23].
A Denavit–Hartenberg notation [24] (standard DH parameters) was applied in the presented algorithms to obtain a general kinematic structure of a robot. The DH parameters were widely used, however, they also bring some disadvantages in the case of general structures. These are discussed later. Some algorithms behind the automatic placement of DH parameters have already been presented. In [25], a vector-algebra is applied to extract the parameters. Corke [26] creates a string of elementary translations and rotations from the user-defined base coordinate to the end-effector and factorises the string afterwards. An approach by Rajeevlochana et al. [27] is using line geometry to obtain the parameters. In addition to that, some researchers proposed their algorithms and they also identified (and verified) the DH parameters with an external sensor device in simulation [28] or experiments [29]. However, all of these algorithms were applied to already existing robots or similar devices. On the other hand, the algorithms presented in this paper are here to determine and “create” a non-existing manipulator (its kinematic structure) that can achieve a freely given pose.

2. Materials and Methods

When an algorithm is searching for a local minima of a function, the results may differ upon the choice of initial values. To find the optimal solution for two initial values with different outcomes, the cost function has to be compared afterwards. More accurate initial values can lead to fewer iterations that the algorithm needs, which can also save computing time. In this section, four algorithms of automatic assignment of DH parameters are presented, so they can serve as initial values for the synthesis of kinematic structure. The inputs are the position of the base of a robot, its tool-center point (TCP) pose, and the number of joints.
In this paper, we denote the transformation matrix between two frames as J with axis vectors and position coordinates as shown in Equation (1). The n (normal) is the X axis vector, the o (orientation) is Y axis vector, the a (approach) is Z axis vector, and the t (translation) is the position coordinate vector of a pose. J is a special Euclidean group of rigid body displacements in three dimensions (SE3) representing 3D rigid-body motion:
J = n o a t 0 0 0 1
We also use unit vectors of the X, Y, and Z axes. They are denoted as i , j , and k :
i = 1 0 0 ; j = 0 1 0 ; k = 0 0 1
For visualisation and work with SE3 groups, we used the MATLAB®, and Robotics Toolbox that was made by P. Corke. It is described in his book [30] and accessible as open source Github repository [31].
DH parameters are the most suitable and easily applicable technique for kinematic structures that have parallel or orthogonal axes. The typical procedure is that one has a robot and places the coordinate frames following the convention [24]. However, what to do when there is a given pose that is needed to be reached while no robot is chosen yet? This is the problem for the synthesis of kinematic structure. There is one important issue related to DH parameters. Between two general poses (right-hand rule following coordinate frames), it is uncertain if the transformation matrix J i 1 , i from ( i 1 ) th pose to ith pose can be achieved following the typical procedure as the multiplication of a rotation matrix of θ i around the z i 1 axis, the translation matrix of d i along the z i 1 axis, the translation matrix of a i along hte x i axis, and the rotation matrix of α i around the x i axis, as shown in the following equations:
R o t ( z i 1 , θ i ) = c o s θ s i n θ 0 0 s i n θ c o s θ 0 0 0 0 1 0 0 0 0 1
T r a n s ( z i 1 , d i ) = 1 0 0 0 0 1 0 0 0 0 1 d i 0 0 0 1
T r a n s ( x i , a i ) = 1 0 0 a i 0 1 0 0 0 0 1 0 0 0 0 1
R o t ( x i , α i ) = 1 0 0 0 0 c o s α s i n α 0 0 s i n α c o s α 0 0 0 0 1
J i 1 , i = R o t ( z i 1 , θ i ) T r a n s ( z i 1 , d i ) T r a n s ( x i , a i ) R o t ( x i , α )
It is clear that rotation and translation around and along the y axis are missing to achieve all possible poses. In DH convention, it is mitigated by placing the joint coordinate frames in a specific way and applying Equation (7), as explained in [24]. However, if there are two general poses ( i 1 ) th and ith which do not follow DH convention, it is possible to find a common perpendicular between their two z i 1 and z i axes. Please see Figure 1. Rotation around z i 1 to the direction of the perpendicular is θ i . d i is the distance from the x i 1 axis to the intersection point P of the perpendicular and z i 1 axis. The distance along the perpendicular is equal to the a i distance between these two frames. Finally, the rotation around the x i axis to the direction of z i is α i . If another displacement of d i + 1 is added and a rotation θ i + 1 is applied, the previously unreachable (by four DH parameters) general pose ith becomes achievable by four DH parameters of ( i 1 ) th joint and two DH parameters d i + 1 and θ i + 1 of the ith joint. It can also represent an end-effector coordinate frame if the ( i 1 ) th joint was the last joint. This approach is presented in detail in [27,29]. For the following calculations, we enhanced a script made by Brodsky [32] to find a common perpendicular and intersection points P and Q. This can be found in the Supplementary Material of this paper.
We used 3 poses to demonstrate the strong and weak points of the four presented algorithms to synthesise manipulators guiding their end-effector through the given position or pose, so everyone can choose the right solution for its implementation. They are also compared in Section 3 by manipulability and arm length. The first pose is a general one. The second pose is also general, but with a small offset between its Z axis and the Z axis of the base frame. The third pose has the parallel Z axis with the base Z axis. The poses are visualised in Figure 2:
P o s e ( 1 ) = 0.50 0.18 0.84 1.0 0.06 0.98 0.17 0.9 0.86 0.02 0.50 0.8 0 0 0 1
P o s e ( 2 ) = 0.81 0.34 0.46 0.4 0.48 0.02 0.87 0.6 0.30 0.93 0.14 0.7 0 0 0 1
P o s e ( 3 ) = 0 1 0 0.4 1 0 0 0.6 0 0 1 0.7 0 0 0 1
Two of the four presented algorithms utilised Bézier curves (splines) which are easy to implement between two given coordinate frames. For the presented calculations, only four control points are required to define a Bézier curve. We used a script by Bai [33] to calculate the curve. The control points P 1 4 were calculated using the following equations, where t b is the base point coordinate, t p is the pose point coordinate, a b is the rotational vector of the Z axis of the base, a p is the rotational vector of the Z axis of the pose, and p is the parameter related to the Euclidean distance between the base and the pose. The Bézier splines are visualised in Figure 3 for the chosen poses.
P 1 = t b
P 2 = t b + p a b
P 3 = t p p a p
P 4 = t p
p = | | t p t b | | 2
The generated kinematic structures that have served as examples in this paper have 4 joints; however, the presented algorithms are general and can provide a solution from 3 to an unlimited number of joints. In the following subsections, all 4 procedures are presented. The types A and B only deal with the position (translational part) of a given pose, so they do not fulfil the given orientation. However, this might be enough in some cases. The other two types C and D are able to achieve a pose including orientation using the common perpendicular approach, but in some specific poses it generates structures with joints in collision. The A and C types are obtained using vector algebra only, and the B and D types use Bézier’s curve approximation.
Three variables are input for all presented algorithms. It is the transformation of the robot base, the transformation of the TCP pose, both with respect to the world coordinate frame, and the desired number of joints. In our case, the base is an identity matrix. We used 3 transformations of the poses presented before, and the number of joints is four, as already said.

2.1. Type A—The Nearest Distance to Achieve a Position

This simple structure is obtained by finding the distance between the poses projected into the XY base plane. Only a positional vector of a pose is reached while the orientation is not taken into account. The implementation of such a structure is easy and straightforward. The idea is presented in Figure 4:
The first step is to find the length of a 0 . . n —the distance between joints in the X axis direction. The length is the projection of t p , the pose position vector, in the XY plane of the base, so only the X and Y coordinates are applied in Equation (16). n is the number of joints:
a 1 . . n = ( t p , x t b , x ) 2 + ( t p , y t b , y ) 2 n
Then, find the length of d 1 —the offset of the joint along the Z axis. Only the Z axis coordinates of the two position vectors are applied:
d 1 = t p , z t b , z
The θ 1 . . n are joint variables, and their offset is set to 0 degrees. The other parameters, d 2 . . n and α 1 . . n can be set either to zero or they can be freely defined as ±values, for example. We chose α 1 = π / 4 , α 2 = π / 4 , etc. One must be careful in the case of an even/odd number of joints—the sum of such tweaks needs to be equal to zero.

2.2. Type B—Joints on Bézier Curve to Achieve a Position

This method places joints between the base and the pose on a Bézier curve. To be able to obtain DH parameters, the proposed algorithm is orienting the ( i 1 ) th joint (its rotational matrix) in a way that the ith joint lies in the XZ plane of the previous joint. The schematic is shown in Figure 5:
Using Equations (11)–(15), the Bézier spline is approximated between a given base and a pose. The number of approximated points is equal to the number of joints n. Q 1 . . n is the set of these points–coordinates of each point with respect to the base frame.
Let us define a set J 1 . . n of SE3 objects representing the translation and orientation of the joints in the manipulator’s default position. As a first step, all J 1 . . n are set to be equal to the given base (in our case, an identity matrix). We also define an SE3 object J n + 1 representing the given end-effector pose. Now, for joints J 2 . . n , the following procedure is done.
The ith joint is equal to the previous ( i 1 ) th joint:
J i = J i 1
The frame J i is translated on the Bézier curve changing its translation vector t i :
t i = Q i
The position vector t i of J i is expressed in the coordinate frame of the previous J i 1 using its inverse matrix:
t i = J i 1 1 t i
A projection of the t i vector in the XY plane of the J i 1 frame is determined:
t i = t i 0 0 t i , z
The angle θ i (DH parameter) between the unit vector i of the J i 1 frame and the projection of the t i vector is calculated as
θ i = t a n 1 | | i × t i | | i · t i
While using a right-handed coordinate frame, it is necessary to check if an angle is rotating around an axis in the positive (counter clockwise) or negative (clockwise) direction. To determine this, we used the projection property of the dot product between the two vectors. In this case, if the dot product of the X i axis is in the negative direction of the Y i 1 axis, the angle θ i has to be multiplied by 1 :
θ i = θ i , if j · t i < 0 θ i , otherwise
Now, J i can be updated using the matrix multiplication:
J i = J i R o t ( z i 1 , θ i )
Thanks to the known translations, i and a i , between the frames (from the Bézier curve approximation), and the calculated θ i , only the angle α i is missing among the DH parameters. The steps to determine it are similar as in the case of θ . Following the DH convention, the ith and ( i + 1 ) th frames are involved.
The position vector of J i + 1 on the Bézier curve is given:
t i + 1 = Q i + 1
Position vector t i + 1 of J i + 1 is expressed in the coordinate frame of the currently determining frame J i using its inverse matrix:
t i + 1 = J i 1 t i + 1
A projection of the t i + 1 vector in the YZ plane of the J i frame is calculated:
t i + 1 = t i + 1 t i + 1 , x 0 0
The angle α i is between the unit vector k of the J i frame and the projection of the t i + 1 vector, calculated as the inverse tangent fraction of the cross and dot products of those two vectors:
α i = tan 1 | | k × t i + 1 | | k · t i + 1
Using a right-hand rule for coordinate frames, if the dot product of the Z i axis is in the negative direction of the Y i + 1 axis, the angle θ i has to be multiplied by 1 . Y i + 1 is calculated as a cross product of t i + 1 and i vectors:
α i = α i , if ( t i + 1 × i ) · k < 0 α i , otherwise
Now, the final form of J i that fulfils the DH convention between ( i 1 ) th and ith can be obtained:
J i = J i R o t ( x i , α i )
This procedure works smoothly for all joints. However, it will probably not be possible to obtain such DH parameters between the last joint J n and the given pose J n + 1 to reach the pose with the right orientation. Therefore, this algorithm is extended as the type D estimation in Section 2.4.

2.3. Type C—Achieving a Pose with Common Perpendicular

This algorithm finds a common perpendicular between the Z axis of the base and the Z axis of the pose. The joints are placed on this perpendicular line, and the last joint is oriented in the direction of the Z axis. Both the position and orientation can be achieved using this approach, as Figure 6 shows.
At first, a common perpendicular and intersection points P and Q are determined between the Z b and Z p axes using the script made by Brodsky [32]. However, his algorithm was not providing good results if the 2 lines were parallel, so we enhanced it and added some functionality to mitigate this issue.
The next step is to calculate the angle α s u m between those two axes:
α s u m = tan 1 | | a b × a p | | a b · a p
Again, when using a right-handed coordinate system, it is necessary to determine whether the angle is positive or negative. We check the pose Z i + 1 axis as a projection in the base Y i axis:
α s u m = α s u m , if o b · a p < 0 α s u m , otherwise
α 1 . . n is the angle between the Z axes of particular joints:
α 1 . . n 1 = α s u m n 1
α n = 0
Now, we can calculate the rest of the DH parameters. a 1 . . n is the distance between the joints. l is the length of a common perpendicular, and n is the number of joints:
a 1 . . n 1 = l n 1
a n = 0
d 0 is the distance from the base coordinate frame to the P-intersection point of the a b and common perpendicular. d n is the distance from the Q, the intersection point of the a p and a common perpendicular, to the pose coordinate frame. d n is also the translation of the end-effector from the last joint:
d 0 = ( P t b ) · a b
d 1 . . n 1 = 0
d n = ( t p Q ) · a p

2.4. Type D—Joints on Bézier Curve while the Last Lies on Common Perpendicular to Achieve a Pose

This method extends type B estimation by adding a common perpendicular approach, used in type C, between the two last joints. This assures reaching the pose including orientation, as shown in Figure 7. The beginning steps are the same as in type C, but only from J 1 to J n 1 . The transformation of the last joint is determined using the following procedure.
Again, a common perpendicular and the intersection points P and Q are found between the joint J n 1 and the TCP pose J n + 1 using the already presented ways. J n is set equal to J n 1 :
J n = J n 1
Angle θ n between X n 1 and X n axes is obtained:
θ n = t a n 1 | | n n 1 × P Q | | n n 1 · P Q
Right-hand rule check is performed:
θ n = θ n , if o n 1 · P Q < 0 θ n , otherwise
J n is rotated around Z n 1 axis afterwards:
J n = J n R o t ( z n 1 , θ n )
Translation of the J n along the Z n and X n is obtained by changing its translational vector t n , and it is equal to the coordinates of point Q:
t n = Q
Angle α n between Z n and Z n + 1 axes is calculated:
α n = t a n 1 | | a n × a n + 1 | | a n · a n + 1
Right-hand rule check, if the dot product of Z i + 1 axis is in the positive direction of the Y i axis, the angle α n has to be multiplied by 1 :
α n = α n , if o n · a n + 1 > 0 α n , otherwise
The final transformation matrix of the last joint J n is obtained:
J n = J n R o t ( x n , α n )
From this point, when all frames J 1 . . n representing the joints are known, it is possible to derive the DH parameters between them.

3. Results

This section presents the kinematic structures generated by the presented algorithms for the three poses defined earlier (Figure 2). The results are discussed and later compared by manipulability measure and manipulator length. A table with calculated DH parameters is also included. The visualisation of the final kinematic structures is shown in Figure 8, Figure 9 and Figure 10.
The types of estimation A and B are not able to reach a pose in terms of orientation in general; however, in some cases (as shown in Figure 10b) the real solution was found for the type B. In addition, if compared with a similar D result (Figure 10d) for P o s e ( 3 ) , solution B provides shorter links. Furthermore, the A and B types are generated in a way where no collision of joints should occur.
The type C may perform very well if the Z axes of the base and pose are parallel, as shown in Figure 10c; on the other hand, if the axes are very close to each other (the perpendicular distance is short), the joints are in collision, as shown in Figure 9c.
Placing joints on an approximated spline provides the most general result of the provided algorithms, as shown in Figure 8d and Figure 9d, but it is struggling with parallel axes—see Figure 10d. This could be mitigated by tuning the Bézier curve driven point related to the pose and placing the joints not in a plane that is defined by the two parallel Z axes.

3.1. Resulting DH Parameters

For a better evaluation, we include Table 1 with the generated DH parameters for P o s e ( 1 ) . The angles θ are considered as variables with zero offset.

3.2. Manipulator Length Comparison

In general, longer links of a manipulator demand more powerful motors because of higher torques. In Figure 11, there is a bar plot comparing the lengths of the resulting manipulators. The length was determined using Equation (48), where a i and d i are DH parameters of i t h link. n is the number of joints:
L = i = 1 n a i 2 + d i 2

3.3. Manipulability Comparison

To compare the results, we decided to evaluate the manipulability of the calculated kinematic structures. This scalar measure was obtained using the Yoshikawa algorithm [1], which describes how spherical the end-effector velocity ellipsoid is. It differs between 0 and 1, where the value 1 shows the best manipulability in all axes. If the value is close to 0, the mechanism might be dealing with singularities.
The results are shown for both translational and rotational motions in Figure 12 as a logarithmic graph, because the measure differs significantly between particular kinematic structures. It should be kept in mind that the presented manipulators have less than six DoFs, which is one of the reasons why the manipulability measure by Yoshikawa evaluates them with low numbers.
As expected, the type A kinematic structure has to deal with singularities and the manipulability tends to be the lowest for the given poses. Type B has almost the same translational manipulability as type D, but the last two joints are in a singular position, so the rotational manipulability drops in the case of type B kinematic structure. Type C performs better than types A and B. In the case of general poses P o s e ( 1 , 2 ) , type D provides the highest manipulability measures. However, for P o s e ( 3 ) when Z axes are parallel, the manoeuvrability of the type D algorithm drops under the values of type C.

4. Discussion

The outcomes of this paper are aimed to be utilised in the synthesis of kinematic structures of robotic manipulators. Other applications are also possible, for example, in rapid kinematic analysis and simulation to evaluate kinematic options if only one position or pose on a trajectory is desired to be reached. However, only topics related to the synthesis problem are going to be discussed here.
This paper provided four algorithms to estimate the initial value of a kinematic structure for later implementation in optimisation algorithms. As mentioned previously, especially in algorithms searching the local minimum of an objective function, every initial guess can provide different results. Therefore, we decided to present the types (A and B) of estimation even though they do not fulfil the given pose in terms of orientation. The reason is that an optimisation algorithm may overcome this issue later and the solution could achieve the pose on a given trajectory with a better final value of the objective function than with the other presented types (C and D). This always depends on the type and properties of the trajectory. Therefore, we suggest implementing all four estimation types into an optimisation algorithm and compare the results afterwards.
If one would like to know which one of the four structures is the best, this question is not easy to answer. We chose three poses to demonstrate the advantages and disadvantages of particular algorithms and compared the final structures for these poses by manoeuvrability and length. The type D provides the most general structure that can reach any pose, but one must be careful in cases when some axes of the base and the pose are parallel, for example. We suggest to always visualise all initial structures for better evaluation.
The presented algorithms are based on the Denavit–Hartenberg convention, generating DH parameters. During this work, a question arose, of how suitable the DH convention is for general structures and especially for their synthesis for given trajectory. As mentioned previously, it is possible to find DH parameters between two coordinate frames using the common perpendicular approach, but it is required to “borrow” another two DH parameters from the next joint and to add them to the already existing four parameters. This is obvious since we need six parameters (three translations and three rotations) in general to describe the motion of a frame in Euclidean space. Therefore, using an optimisation algorithm to synthesise a manipulator that fulfils the DH convention may be limiting. The frames representing joints cannot freely rotate and translate wherever the algorithm tends to, but they have to follow the XZ planes in which the common perpendiculars between neighbouring joints lie. On top of that, the algorithm may not find the global or local minimum because of this limit at all. The reason is that traditionally DH parameters serve for the description of existing robots and once they are obtained, some local coordinates of the joints may be located outside of the rigid body along the Z axis, and although they are still closely tied to the particular joint and representing its kinematics, they are not representing the real (physical) position of the joint. On the other hand, in terms of synthesis when a rigid body does not exist yet, the location (transformation) of the coordinate frames of joints is the only known and crucial parameter and its variability should not be limited during the synthesis process anyhow.
The comparison of the synthesis of kinematic structure using DH convention and other standard approaches, such as screw theory [34] for instance, will be an interesting topic for future research. However, this matter has no impact on the work presented in this paper. The kinematic structures obtained using the four algorithms may be translated into any other standard description of the structure of a manipulator.

5. Conclusions

This paper presents four mathematical algorithms to find an initial estimation of a kinematic structure of a serial robotic manipulator. The input values are the number of joints, the position of the base of the manipulator, and the target pose of its TCP. The outputs are the standard DH parameters of a kinematic structure that can reach the given pose either by position or by position and orientation. The presented methods are applicable in the topic of synthesis of the kinematic structure of robotic manipulators, where they can serve as an initial guess of a structure.
The examples of three poses for all four algorithms are shown and compared using the manipulability measure and the arm length. However, it is not easy to determine which method out of these four is the best as it is always depending on the input, especially the TCP pose. The manipulability measure indicates that the D type algorithm, which can fully satisfy any given pose, provides the best manipulability in general, because it avoids placing joints on a single line and places them on a Bézier curve instead. In addition to that, the joints also tend to prevent collisions. On the other hand, if the given pose is representing a specific case, as a parallel axis or axes with a base frame axis or axes, one should be always watchful and comparison with the other presented algorithms is suggested. As expected, algorithm types A and B achieved the best results in the case of the arm length measure, when only a position is desired. However, in some cases, the C and D algorithms may fully achieve a pose with a manipulator with similarly long links.
Future steps are to implement this method in an optimisation algorithm and to observe if the convergence is faster or if the obtained result and the values of objective functions are better.
The algorithms were tested in MATLAB and the scripts are available as Supplementary Material for this paper or with eventual updates as an open source package on a public repository [35].

Supplementary Materials

The source code of algorithms presented in this paper is available as open source repository on the Github page of the Department of Robotics, VSB-Technical University of Ostrava, Czech Republic: github.com/robot-vsb-cz/initial-estimation accessed on 15 April 2021.

Author Contributions

Conceptualisation, D.H. (Daniel Huczala) and T.K.; methodology, D.H. (Daniel Huczala); software, D.H. (Daniel Huczala) and P.O.; validation, D.H. (Daniel Huczala), M.P. and D.H. (Dominik Heczko); formal analysis, V.M.; investigation, D.H. (Dominik Heczko); resources, P.O.; data curation, T.K.; writing—original draft preparation, D.H. (Daniel Huczala); writing—review and editing, T.K. and M.P.; visualisation, D.H. (Dominik Heczko); supervision, M.P.; project administration, V.M.; funding acquisition, V.M. All authors have read and agreed to the published version of the manuscript.

Funding

This article has been elaborated under support of the project Research Centre of Advanced Mechatronic Systems, reg. no. C Z . 02.1 . 01 / 0.0 / 0.0 / 16 _ 019 / 0000867 in the frame of the Operational Program Research, Development and Education. This article has been also supported by specific research project S P 2021 / 47 and financed by the state budget of the Czech Republic.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Source code available on: github.com/robot-vsb-cz/initial-estimation accessed on 15 April 2021.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
CuMaCurved Manipulator
DoFDegree of Freedom
DHDenavit–Hartenberg
GAGenetic Algorithm
NLPNonlinear Programming
SE3Euclidean Group of Rigid Body Displacements in Three Dimensions
TCPTool-Center Point

References

  1. Yoshikawa, T. Translational and Rotational Manipulability of Robotic Manipulators. In Proceedings of the 1990 American Control Conference, San Diego, CA, USA, 23–25 May 1990. [Google Scholar] [CrossRef]
  2. Lara-Molina, F.A.; Dumur, D. A Fuzzy Approach for the Kinematic Reliability Assessment of Robotic Manipulators. Robotica 2021, 1–15. [Google Scholar] [CrossRef]
  3. Brandstötter, M.; Angerer, A.; Hofbaur, M. The curved manipulator (cuma-type arm): Realization of a serial manipulator with general structure in modular design. In Proceedings of the 14th IFToMM World Congress, Taipei, Taiwan, 25–30 October 2015; pp. 403–409. [Google Scholar] [CrossRef]
  4. Brandstötter, M.; Gallina, P.; Seriani, S.; Hofbaur, M. Task-Dependent Structural Modifications on Reconfigurable General Serial Manipulators. In Advances in Service and Industrial Robotics; Springer International Publishing: New York, NY, USA, 2018; pp. 316–324. [Google Scholar] [CrossRef]
  5. Xu, S.; Li, G.; Song, D.; Sun, L.; Liu, J. Real-time Shape Recognition of a Deformable Link by Using Self-Organizing Map. In Proceedings of the 2018 IEEE 14th International Conference on Automation Science and Engineering (CASE), Munich, Germany, 20–24 August 2018. [Google Scholar] [CrossRef]
  6. Clark, A.B.; Rojas, N. Design and Workspace Characterisation of Malleable Robots. In Proceedings of the 2020 IEEE International Conference on Robotics and Automation (ICRA), Paris, France, 31 May–31 August 2020. [Google Scholar] [CrossRef]
  7. Pang, Z.; Wang, T.; Wang, Z.; Yu, J.; Sun, Z.; Liu, S. Design and Analysis of a Wearable Upper Limb Rehabilitation Robot with Characteristics of Tension Mechanism. Appl. Sci. 2020, 10, 2101. [Google Scholar] [CrossRef] [Green Version]
  8. Yan, H.; Wang, H.; Chen, P.; Niu, J.; Ning, Y.; Li, S.; Wang, X. Configuration Design of an Upper Limb Rehabilitation Robot with a Generalized Shoulder Joint. Appl. Sci. 2021, 11, 2080. [Google Scholar] [CrossRef]
  9. Hauenstein, J.D.; Wampler, C.W.; Pfurner, M. Synthesis of three-revolute spatial chains for body guidance. Mech. Mach. Theory 2017, 110, 61–72. [Google Scholar] [CrossRef]
  10. Chocron, O.; Bidaud, P. Evolutionary algorithms in kinematic design of robotic systems. In Proceedings of the 1997 IEEE/RSJ International Conference on Intelligent Robot and Systems, Innovative Robotics for Real-World Applications, IROS’97, Grenoble, France, 11 September 1997. [Google Scholar] [CrossRef]
  11. Chung, W.; Han, J.; Youm, Y.; Kim, S. Task based design of modular robot manipulator using efficient genetic algorithm. In Proceedings of the International Conference on Robotics and Automation, Albuquerque, NM, USA, 25 April 1997. [Google Scholar] [CrossRef]
  12. Pastor, R.; Huczala, D.; Bobovský, Z.; Grushko, S. Genetic Optimization of a Manipulator: Comparison between Straight, Rounded, and Curved Mechanism Links. Appl. Sci. 2021, 11, 2471. [Google Scholar] [CrossRef]
  13. Valsamos, C.; Moulianitis, V.C.; Aspragathos, N. Metamorphic Structure Representation: Designing and Evaluating Anatomies of Metamorphic Manipulators. In Advances in Reconfigurable Mechanisms and Robots I; Springer: London, UK, 2012; pp. 3–11. [Google Scholar] [CrossRef]
  14. Katrantzis, E.F.; Aspragathos, N.A.; Valsamos, C.D.; Moulianitis, V.C. Anatomy Optimization and Experimental Verification of a Metamorphic Manipulator. In Proceedings of the 2018 International Conference on Reconfigurable Mechanisms and Robots (ReMAR), Delft, The Netherlands, 20–22 June 2018. [Google Scholar] [CrossRef]
  15. Hamida, I.B.; Laribi, M.A.; Mlika, A.; Romdhane, L.; Zeghloul, S. Dimensional Synthesis and Performance Evaluation of Four Translational Parallel Manipulators. Robotica 2020, 39, 233–249. [Google Scholar] [CrossRef]
  16. Zeiaee, A.; Soltani-Zarrin, R.; Langari, R.; Tafreshi, R. Kinematic Design Optimization of an Eight Degree-of-Freedom Upper-Limb Exoskeleton. Robotica 2019, 37, 2073–2086. [Google Scholar] [CrossRef]
  17. Patel, S.; Sobh, T. Task based synthesis of serial manipulators. J. Adv. Res. 2015, 6, 479–492. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Ha, S.; Coros, S.; Alspach, A.; Bern, J.M.; Kim, J.; Yamane, K. Computational Design of Robotic Devices From High-Level Motion Specifications. IEEE Trans. Robot. 2018, 34, 1240–1251. [Google Scholar] [CrossRef]
  19. Dogra, A.; Padhee, S.S.; Singla, E. An Optimal Architectural Design for Unconventional Modular Reconfigurable Manipulation System. J. Mech. Des. 2020, 1–29. [Google Scholar] [CrossRef]
  20. Whitman, J.; Choset, H. Task-Specific Manipulator Design and Trajectory Synthesis. IEEE Robot. Autom. Lett. 2019, 4, 301–308. [Google Scholar] [CrossRef]
  21. Vanderbei, R.J.; Shanno, D.F. An interior-point algorithm for nonconvex nonlinear programming. Comput. Optim. Appl. 1999, 13, 231–252. [Google Scholar] [CrossRef]
  22. Ghafil, H.N.; Jármai, K. Optimization for Robot Modelling with MATLAB; Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
  23. Kot, T.; Bobovský, Z.; Brandstötter, M.; Krys, V.; Virgala, I.; Novák, P. Finding Optimal Manipulator Arm Shapes to Avoid Collisions in a Static Environment. Appl. Sci. 2020, 11, 64. [Google Scholar] [CrossRef]
  24. Uicker, J.J.; Denavit, J.; Hartenberg, R.S. An Iterative Method for the Displacement Analysis of Spatial Mechanisms. J. Appl. Mech. 1964, 31, 309–314. [Google Scholar] [CrossRef]
  25. Barker, L.K. Vector-algebra approach to extract Denavit-Hartenberg parameters of assembled robot arms. In NTRS-NASA Technical Reports Server; National Aeronautics and Space Administration, Scientific and Technical Information Branch: Washington, DC, USA, 1983. [Google Scholar]
  26. Corke, P. A Simple and Systematic Approach to Assigning Denavit–Hartenberg Parameters. IEEE Trans. Robot. 2007, 23, 590–594. [Google Scholar] [CrossRef] [Green Version]
  27. Rajeevlochana, C.; Saha, S.K.; Kumar, S. Automatic extraction of DH parameters of serial manipulators using line geometry. In Proceedings of the 2nd Joint International Conference on Multibody System Dynamics, Stuttgart, Germany, 29 May–1 June 2012; pp. 1–9. [Google Scholar]
  28. Klug, C.; Schmalstieg, D.; Gloor, T.; Arth, C. A Complete Workflow for Automatic Forward Kinematics Model Extraction of Robotic Total Stations Using the Denavit-Hartenberg Convention. J. Intell. Robot. Syst. 2018, 95, 311–329. [Google Scholar] [CrossRef] [Green Version]
  29. Faria, C.; Vilaca, J.L.; Monteiro, S.; Erlhagen, W.; Bicho, E. Automatic Denavit-Hartenberg Parameter Identification for Serial Manipulators. In Proceedings of the IECON 2019-45th Annual Conference of the IEEE Industrial Electronics Society, Lisbon, Portugal, 14–17 October 2019. [Google Scholar] [CrossRef]
  30. Corke, P. Robotics, Vision and Control: Fundamental Algorithms in MATLAB®, 2nd ed.; Springer Tracts in Advanced Robotics; Springer International: New York, NY, USA, 2017. [Google Scholar]
  31. Corke, P. Robotics Toolbox for Matlab. 2020. Available online: https://github.com/petercorke/robotics-toolbox-matlab (accessed on 15 April 2021).
  32. Brodsky, A. Shortest Distance between Two Lines in N Dimensions. 2011. Available online: https://www.mathworks.com/matlabcentral/fileexchange/29130-shortest-distance-between-two-lines-in-n-dimensions (accessed on 15 April 2021).
  33. Bai, T. 3D Bezier Curve. 2012. Available online: https://www.mathworks.com/matlabcentral/fileexchange/35154-3d-bezier-curve (accessed on 15 April 2021).
  34. Lynch, K.M.; Park, F.C. Modern Robotics; Cambridge University Press: Cambridge, UK, 2017. [Google Scholar]
  35. Huczala, D. Initial Estimation. 2021. Available online: github.com/robot-vsb-cz/initial-estimation (accessed on 15 April 2021).
Figure 1. The principle of obtaining DH parameters between two general poses. Standard DH parameters are green; additional parameters are marked with blue colour.
Figure 1. The principle of obtaining DH parameters between two general poses. Standard DH parameters are green; additional parameters are marked with blue colour.
Applsci 11 03548 g001
Figure 2. The poses (red) chosen for the demonstration of the working principle. Base coordinate frame has a black colour. P o s e ( 1 ) is on the left, P o s e ( 2 ) is in the middle, and P o s e ( 3 ) is on the right.
Figure 2. The poses (red) chosen for the demonstration of the working principle. Base coordinate frame has a black colour. P o s e ( 1 ) is on the left, P o s e ( 2 ) is in the middle, and P o s e ( 3 ) is on the right.
Applsci 11 03548 g002
Figure 3. Bézier splines (blue curves) between the poses and base; control points are shown as red circles.
Figure 3. Bézier splines (blue curves) between the poses and base; control points are shown as red circles.
Applsci 11 03548 g003
Figure 4. The schematic of type A estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and does not fulfil the orientation of the pose.
Figure 4. The schematic of type A estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and does not fulfil the orientation of the pose.
Applsci 11 03548 g004
Figure 5. The schematic of type B estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and does not fulfil the orientation of the pose. Bézier spline is shown as a light blue curve.
Figure 5. The schematic of type B estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and does not fulfil the orientation of the pose. Bézier spline is shown as a light blue curve.
Applsci 11 03548 g005
Figure 6. The schematic of the type C estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and coincident with the pose.
Figure 6. The schematic of the type C estimation; the base frame is black, the pose frame is red, and the end-effector frame is green and coincident with the pose.
Applsci 11 03548 g006
Figure 7. The schematic of the type D estimation; the base frame is black, the pose frame is red, the end-effector frame is green and coincident with the pose. Bézier spline is shown as a light blue curve.
Figure 7. The schematic of the type D estimation; the base frame is black, the pose frame is red, the end-effector frame is green and coincident with the pose. Bézier spline is shown as a light blue curve.
Applsci 11 03548 g007
Figure 8. Initial estimation results for Pose (1): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Figure 8. Initial estimation results for Pose (1): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Applsci 11 03548 g008
Figure 9. Initial estimation results for Pose (2): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Figure 9. Initial estimation results for Pose (2): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Applsci 11 03548 g009
Figure 10. Initial estimation results for Pose (3): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Figure 10. Initial estimation results for Pose (3): (a) type A estimation; (b) type B estimation; (c) type C estimation; and (d) type D estimation.
Applsci 11 03548 g010
Figure 11. Comparison of the length of generated manipulators for every pose.
Figure 11. Comparison of the length of generated manipulators for every pose.
Applsci 11 03548 g011
Figure 12. Logaritmic graph comparing the manipulability measures for given poses (1–3): (a) for translational motion; and (b) for rotational motion.
Figure 12. Logaritmic graph comparing the manipulability measures for given poses (1–3): (a) for translational motion; and (b) for rotational motion.
Applsci 11 03548 g012
Table 1. The DH parameters of manipulators for P o s e ( 1 ) .
Table 1. The DH parameters of manipulators for P o s e ( 1 ) .
Joint d i (m) a i (m) α i (rad)Joint d i (m) a i (m) α i (rad)
10.80.340.7910.640.29−0.39
200.34−0.7920.320.56−1.48
300.340.7930.460.380
400.34−0.79400−0.28
a Type A estimationb Type B estimation
Joint d i (m) a i (m) α i (rad)Joint d i (m) a i (m) α i (rad)
11.270.36−0.710.640.29−0.40
200.36−0.720.320.55−1.48
300.36−0.73−0.330.30−0.29
40.930040.8300
c Type C estimationd Type D estimation
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Huczala, D.; Kot, T.; Pfurner, M.; Heczko, D.; Oščádal, P.; Mostýn, V. Initial Estimation of Kinematic Structure of a Robotic Manipulator as an Input for Its Synthesis. Appl. Sci. 2021, 11, 3548. https://doi.org/10.3390/app11083548

AMA Style

Huczala D, Kot T, Pfurner M, Heczko D, Oščádal P, Mostýn V. Initial Estimation of Kinematic Structure of a Robotic Manipulator as an Input for Its Synthesis. Applied Sciences. 2021; 11(8):3548. https://doi.org/10.3390/app11083548

Chicago/Turabian Style

Huczala, Daniel, Tomáš Kot, Martin Pfurner, Dominik Heczko, Petr Oščádal, and Vladimír Mostýn. 2021. "Initial Estimation of Kinematic Structure of a Robotic Manipulator as an Input for Its Synthesis" Applied Sciences 11, no. 8: 3548. https://doi.org/10.3390/app11083548

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop