Next Article in Journal
Stick-Slip Phenomena and Acoustic Emission in the Hertzian Linear Contact
Next Article in Special Issue
Comparison of Various Reinforcement Learning Environments in the Context of Continuum Robot Control
Previous Article in Journal
Multigranularity Syntax Guidance with Graph Structure for Machine Reading Comprehension
Previous Article in Special Issue
Joint Communication–Motion Planning in Networked Robotic Systems
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Task-Based Motion Planning Using Optimal Redundancy for a Minimally Actuated Robotic Arm

Department of Mechanical Engineering, Ben Gurion University of the Negev, Beer Seva 84105, Israel
*
Author to whom correspondence should be addressed.
Appl. Sci. 2022, 12(19), 9526; https://doi.org/10.3390/app12199526
Submission received: 17 August 2022 / Revised: 16 September 2022 / Accepted: 17 September 2022 / Published: 22 September 2022

Abstract

:
In planning robotic manipulations, heuristic searches are commonly considered impractical due to the high dimensionality of the problem caused by redundancy in the kinematic chain. In this paper, we present an optimal motion planning algorithm for an overly redundant minimally actuated serial robot (MASR) using the manipulator workspace as a foundation for the heuristic search. By utilizing optimized numerical probability methods, a novel sub-workspace search was developed. The sub-workspace allows the search to quickly and accurately find the minimal sub-set of joints to be actuated and ensures the existence of a path to a given target. Further on, the search result is used as a search graph for the heuristic planning problem which guarantees an optimal solution within the problem boundaries. Using this approach, optimal heuristic search can become practical for various types of manipulators, tasks, and environments. We describe our workspace minimization and heuristic search using the example of a general robotic arm and then implement the approach on a MASR model, a robotic arm with five passive joints and a single mobile actuator that is free to travel along the arm and rotate each joint separately. A series of simulations show how our minimal redundancy approach can benefit from path planning in the case of traditional hyper-redundant manipulators, and its greater effectiveness when addressing the specific design of the MASR.

1. Introduction

Kinematic redundancy refers to the difference between the number of degrees of freedom (DOF) of a robotic manipulator and the DOF needed to execute a given task [1]. In confined spaces where traditional robots are generally unable to operate, the most common solution is to use hyper-redundant robots (with more than 6 DOF and 3 DOF for 3D and 2D working spaces, respectively). Their large number of DOF enables them to easily maneuver around obstacles, avoid singularities and joint limits, and minimize the energy consumption [2,3]. However, this comes at the cost of a notoriously complex design for control and motion planning due to the high dimensionality of the problem [4]. Analytical methods usually require an extremely complicated characterization of the motion planning problem [5], which is impractical to apply, whereas numerical approaches struggle with expensive computational efforts stemming from the complexity level of the planning problem [6]. Although planning optimization for hyper redundant robots has been extensively researched in the last two decades, there have been no major breakthroughs in the field of motion planning for modular serial robots. Modular robotic arms are composed of a varying number of modules (links, joints, etc.) assembled together to achieve a given purpose [7,8]. The ability to change the assembly of the modules provides control over the level of redundancy of the robot so it can be adapted to a specific environment or task [8]. Although most algorithms have been developed to optimize the motion planning problem of hyper-redundant manipulators, the optimization of the redundancy itself remains an open challenge. Minimizing a manipulator’s redundancy level to fit a task enables easier and more efficient motion planning. Moreover, as the redundancy level increases, the motion plan is subjected to larger mechanical uncertainties, due to the accumulating backlash and the mechanical freedom associated with the joints. Thus, “minimal redundancy” clearly has both mechanical and computational advantages. We define minimal redundancy as the minimal number of joints that need to be actuated to perform a certain task. More specifically, when given a manipulation task such as pick-and-place, and the robot’s mechanical properties are known beforehand (such as joint limits, module dimensions, grabbing tolerance, etc.), the goal is to find the minimal subset of joints that ensures the existence of a path to the target. Then, based on this particular subset, we deploy a heuristic search algorithm to find the path itself.
In this paper, we use a planning algorithm on a planar modular manipulator to find a least-cost trajectory with mechanical constraints and obstacle avoidance, while optimizing the number and order of the modules needed for robot assembly. Although the algorithm can be easily applied to various manipulators consisting of N revolute joints (NR robots), as shown below, it was applied here on the recently developed minimally actuated serial robot (MASR) [9,10], a reconfigurable robotic arm with passive (non-motorized) rotary joints, and a single mobile actuator that travels along the arm to rotate the passive joints. In addition to the modularity of the MASR, it differs from other NR manipulators in two respects, both derived from its unique design. Since the passive joints are externally actuated by a single actuator, only one joint at a time can be rotated. However, the mobility of the actuator allows the gripper, which is not fixed to the end of the manipulator, to travel to any point along the arm. This design makes it possible to manufacture a low-cost light-weight robotic arm that can be adapted for a variety of purposes, such as agricultural automation, surgical operations, or space tasks.
This paper is organized as follows. Section 2 presents the key mechanical characteristics of the MASR that the algorithm uses as a constraint to achieve an optimal solution. In Section 3, we present a novel approach for the fast and accurate numerical computation of the manipulator workspace, which we use later on to find the optimal module assembly. Once the assembly is complete, we find a least-cost trajectory in Section 4, using the combination of a heuristic search and our workspace analysis. In Section 5, we test the algorithm in several simulations to assess its performance.

2. MASR Mechanical Characteristics

The solution to our motion planning problem depends, as is the case for many other problems, on boundary conditions, which in a manipulation task are composed of the geometric and mechanical constraints of the robotic arm. Thus, before elaborating on the motion plan itself, the key mechanical characteristics of the MASR are outlined. Figure 1 presents the design of the MASR robot fitted with five passive joints (the number of joints can be increased or decreased based on the task). For more a comprehensive description of its design and operation, as can be seen in [9,10].
In this example, the manipulator is composed of a 1 m-long planar arm comprised of two to five links (20, 40, 60, or 80 cm long, 4 cm wide, 5 cm high). The links are connected by passive revolute joints (2R–5R robot) whereas a single mobile actuator travels over the links to reach designated joints to rotate them (Figure 1). After being rotated by the mobile actuator, the joints remain locked, using a worm gear setup. A gripper is attached to the mobile actuator, thus enabling it to transport an object along the links to decrease the actuation of the joints and the work time. The relative angle θj between two adjacent links ( j 1 and j ) can be varied in the range of [−60°,60°]. In the following sections, we describe the algorithm and present simulations based on the mechanical and geometric properties of the MASR. Note that although the algorithm solves the problem of a minimal actuated modular arm, it can also be used in simpler cases, such as a fully actuated manipulator (all-motorized joints), and at any level of redundancy, with or without modularity, as shown below.

3. Workspace Analysis

The primary workspace of a robotic arm is defined as the set of points that can be reached by its end-effector [11] in a given environment when all of its joints can be actuated. Activating only a subset of joints results in a smaller or equal sub-workspace than in the primary workspace. Therefore, if a target lies within a sub-workspace’s boundaries, the existence of a path to reach it, using the appropriate subset of joints, is guaranteed. This premise constitutes the guiding principle for the minimal redundancy motion plan algorithm: instead of applying a direct and exhaustive search to find the least-redundant path (i.e., the path that requires actuating the minimal number of joints), we divide the problem into two steps.
First, we search through the sub-workspaces to find the arm’s minimal redundancy, i.e., the minimal subset of joints that simply ensures the existence of a path to the target. Then, based on the minimal subset of joints, we apply a heuristic search algorithm to find the path itself (Section 4).
In this section, we introduce an enhanced approach to determine the manipulator’s workspace that uses a superposition of sub-regions based on a beta distribution function. This approach makes it possible to depict the manipulator workspace boundaries quickly and accurately. This not only serves to determine the manipulator’s minimal redundancy, but also to use it as a search graph, as will be shown in the next section.
In this example, the manipulator is composed of a 1 m-long planar arm comprised of two to five links (20, 40, 60, or 80 cm long, 4 cm wide, 5 cm high, see Figure 2).

3.1. Workspace Computation

The exact and rapid computation of the shape and size of the robot manipulator workspace is crucial for finding its minimal redundancy. When analyzing hyper-redundant robots with joint constraints, the analytic computation of the workspace becomes impractical [12] and numerical approaches based on the Monte Carlo random sampling method become more effective [13]. Although it is simple to apply since it does not involve inverse Jacobian calculations or complex analytical representation, the Monte Carlo yields non-uniform solutions which may omit parts of the workspace.
For planar manipulators consisting of N revolute joints (NR robot), the (xj,yj) position of joint j {1,…N} is given by:
X j = [ x j y j ] = [ n = 1 j 1 L n cos ( m = 1 n θ m ) n = 1 j 1 L n sin ( m = 1 n θ m ) ]
We define the base link as j = 1, where (x1,y2) = (0,0). Lj is the length of link j, which appends to joint j, and where θ j is the relative angle between link j and j − 1. Note that for j = N + 1, we obtain the position of the end-effector p with respect to the world frame. Rastegar et al. used the Monte Carlo method [14] while relying on uniformly distributed random values for every joint angle θ j . For every set of joint angles, the end-effector position is calculated using Equation (1), thus forming a cloud of “Monte Carlo points” which represents the workspace plane. Although the angle values are generated uniformly, the non-linearity in Equation (1) leads to a non-uniform distribution of the cloud points within the workspace, as shown in Figure 3a, where most of the points are within the upper outer part of the cloud.
To improve the accuracy of the workspace boundaries, and reduce the number of points needed to fully describe the workspace, ref. [11] suggested generating random values using the beta density function:
B e t a ( α , β ) : p r o b ( x | α , β ) = x α 1 ( 1 x ) β 1 B ( α , β )
where B is the beta function:
B ( α , β ) = 0 1 t α 1 ( 1 t ) β 1 d t
The major advantage of the beta distribution is the various shapes it can take, depending on the values of the parameters α and β. According to the simulations conducted in [11], in a 3R model, the optimal value for (α,β)     (0,1) is solely determined by the motion range of the joints, regardless of the number of joints. For example, each joint of the MASR has an equal motion range of 120°, so that according to [11], α and β are determined by:
α = β = θ ¯ 5 π + 0.3 , π 2 θ ¯ π
where θ ¯ stands for the motion range in radians. Substituting θ ¯   = 2π/3 radians in Equation (4) yields the optimal parameter value of α = β = 0.43. However, while still the most effective as a single parameter value, in the simulations, we found that for larger numbers of joints (N > 3), this number (0.43) loses its effectiveness and a larger number of simulated points Np is required. A comparison of the examples shown in Figure 3a,b, which were both based on the 5R MASR model, makes it clear that for the same number of points (20,000), the cloud generated with the beta distribution (b) has a much more homogenous spread, but the upper-outer boundary has been left out and the bottom and inner boundaries are vague. To be able to more accurately describe the workspace boundary, for various numbers of links, without having to increase the number of generated cloud points, a more generalized approach must be considered.
By analyzing the alteration of the workspace’s cloud as a function of change in the (α,β) parameters, we found that for all NR models for the MASR (i.e., where the highest was N = 5), low parameter values (α,β 0) accurately depicted the bottom and inner boundaries of the cloud, and high values (α,β 1) described the upper-outer boundary. This shows that no single parameter value can be used to accurately find all of the workspace boundaries. Instead, we suggest using two pairs of parameters where the work volume is the union of each cloud:
U B e t a = B e t a ( α 1 , β 1 , 1 2 N p ) B e t a ( α 2 , β 2 , 1 2 N p )
where UBeta is the union beta function, (α1,β1) and (α2,β2) are, respectively, the low and high parameter values, and Np is the total number of cloud points generated, i.e., each sub-region is created with half of the total number of cloud points. For example, instead of creating a uni-parameter value cloud, as shown in Figure 3b, half of the points (10,000) can be generated with α1 = β1 = 0.1 and the other half with α2 = β2 = 0.9. The union of the low value region (blue in Figure 3c) with the high value region (green in Figure 3c) creates a cloud with much clearer boundaries, without changing the total number of generated points. The accuracy of the boundaries in this new approach is illustrated in Figure 3c and when increasing Np dramatically to one million points (Figure 3d). The comparison shows that although the inner cloud was completely covered with cloud points, the shape and size of the boundaries remain practically unchanged.

3.2. Contour Coverage

As the number of joints comprising the arm increases, the workspace area grows as well, and more cloud points are needed for an accurate boundary description. Since more cloud points results in more extensive computational effort, the goal was to find the minimal number of points per number of joints that can form clear boundaries. The optimal superposition parameters ((α1,β1) and (α2,β2) in Equation (4)) provide full contour coverage, i.e., the area enclosed by the workspace boundary, with the minimal number of cloud points Np. To compute the contour coverage, we used MATLAB’s boundary function, which creates a polygon shape around the cloud, and then calculated the area within it using the polyarea function. The determination of the optimal parameters was performed by examining different high-medium-low combinations of values within the range (α,β)     (0,1) to find the best (α,β) pairing, while comparing the simulation results from the sub-regions method to those obtained when using a single optimal beta value (i.e., α = β = 0.43) and a uniform distribution (i.e., α = β = 1). The principle guiding the simulations involved computing the contour coverage for different combinations of values of the parameters, with increasing numbers of cloud points. Statistically, for a sufficiently large number of points, the contour coverage of all combinations should converge to the same constant value. Since this number could be infinitely large, we took Np = 1,000,000 to be the upper bound, whereas the maximal area calculated across all combinations was taken as the true contour coverage value. To determine which values converged the fastest, we set a criterion of 99% of the full contour coverage, i.e., the minimal number of cloud points needed to reach 99% of the true coverage value.
The simulation results presented in Figure 4 show that the low–high combination ((α,β) = 0.1∪0.9) achieved full contour coverage the fastest, since it was the first (210,00 cloud points) to enter and remain within the 99% zone (grey in Figure 4). Compared to previous methods, the single optimal beta value (0.43) ranked third for 99% coverage using 610,00 cloud points, compared to the low–medium combination ((α,β) = 0.1∪0.5) at 260,000 points, but behind the medium–high ((α,β) = 0.5∪0.9) combination at 1,000,000 points, whereas the uniform distribution did not meet the criteria at all.
These simulations tested the minimal number of cloud points needed to achieve full coverage in case of a 1 m arm, composed of five links. In subcases where the arm has fewer links (or fewer joints that are active), the workspace area will naturally decrease, and a smaller number of cloud points will be needed. To set a criterion for the number of points per number of links, we ran similar convergence simulations for a 1 m arm composed of two, three, and four links of equal length. The results confirm that the low–high combination (0.1 and 0.9) produced the fastest convergence, and in addition (as indicated in Table 1), the superposition method dramatically decreases (up to 90.1%) the number of points needed to reach full workspace coverage—compared to the optimal single value of (α,β) = 0.43.

3.3. Optimal Link-Joint Assembly

Our aim here was to determine which link–joint combination best executed a given pick-and-place task with minimal redundancy, i.e., with the smallest number of joints possible. In other words, the goal was to find the smallest workspace area that contains the set of targets to reach. To do so, we created an arm with the largest number of possible joints, and computed the workspace boundaries for each subset of joints in ascending order until all the targets were within the boundary. Initially, a preliminary search was performed with the maximal joint-combination (i.e., five active joints in this case) to verify whether the targets were within the arm’s reach or not. If they could be reached, an iterative breadth-first search was launched. Initially, all two-joint combinations were examined; then, if no related workspace enclosed the targets, all three-joint combinations were examined and so on until a five-joint-combination was found. To determine whether a target was in the workspace, we used MATLAB’s inpolygon function. The maximal number of workspace computations Cmax for an arm with N possible joints is given by:
C max = k = 2 N ( N k )
For example, take the case in which we were given two targets to reach with the following (x,y) coordinates: (500,800) and (−700,−300). We tested the MASR arm with its maximal five-joint assembly configuration. Cmax is 26 computing iterations, but it only took 11 to find the minimum combination (Figure 5f). Since each iteration consists of creating a cloud, calculating the boundary, and determining whether the targets were in it, it is highly important to compute the workspace with the minimal number of points (Table 1) to save on computational efforts. Using the superposition cloud points (Table 1) in this case was 44.3% faster than without the superposition (0.176 s and 0.316 s, respectively). As the maximal number of joints increases (i.e., as the redundancy increases), more iterations are needed for the subset scans, so that the superposition method becomes increasingly effective. Once the minimal subset of joints has been found, the modular arm is rebuilt with the associated links to create the minimally redundant manipulator for the task. In the current example, the fourth and fifth joints were the redundant ones, so that the optimal assembly (or minimal redundancy) was an arm consisting of three links with lengths of {20,20,60} cm. In the case of a non-modular arm, rebuilding would not be possible, and the motion plan would only consider the first three joints as the active ones.

3.4. Last Link and Any Link Workspace

The workspace computation typically involves the targets that can be reached by the end of the last link (LL) of the arm, since this is where the end-effector is located. However, the MASR differs in that it can move the end-effector along the arm because it is attached to the mobile actuator. This means that the workspace can be calculated as the set of points that can be reached by any link of the arm (AL). The area of the AL workspace is obviously larger (or at least equal) to that of the LL workspace when given the same set of joints. In other words, the AL workspace covers a larger area with fewer joints. Therefore, the use of the AL workspace makes it possible to find a less redundant solution. Nevertheless, when computing the AL workspace, the super-position beta method remains the same with the exception of one modification that involves creating link-lines instead of points for the last link. In the example in Section 2, the LL workspace method produced a minimal assembly consisting of 3 out of 5 possible joints, in 11 iterations. Using the AL workspace for the same set of targets produced the same results (Figure 5f bottom). However, when considering a simpler case such as reaching the top right target, the AL method resulted in 1 out of 5 joints (Figure 5e), compared to 2 out of 5 in the LL method (Figure 5a,b).
The results shown in Figure 5 show that the AL method not only covered a larger area compared to the LL, but also created a workspace using a single joint (whereas the LL creates a one-dimensional line). Since the AL workspace contains its associated LL workspace, the minimal assembly found by the AL method will always be less or equally redundant compared to the LL method.

4. Motion Planning

Once a minimal arm assembly was found, a motion plan is needed to execute the pick-and-place task. In this section, we present a new approach for finding the optimal path by implementing the popular heuristic search A* [15], using the cloud points of the workspace as the search graph. Although heuristic searches have often been applied to find least-cost plans because of their generality, robust guarantees on completeness and optimality, and simplicity in implementation [16,17], in path planning for robotic arms, these methods are commonly considered impractical for high-dimensional problems [18,19,20]. By achieving minimal redundancy and representing the search problem as the cloud points graph, the dimensionality is kept at a minimum. In addition, the path search by graph serves to avoid inverse kinematic calculations, which become complicated in high-dimensional problems.

4.1. Areal Coverage

An accurate graph-based search is only guaranteed if the graph represents the entire feasible workspace. While full contour coverage is sufficient for finding the optimal arm assembly, it mostly describes the workspace’s boundaries, and not the surface. Therefore, creating a workspace-based graph requires the formation of a cloud with full areal coverage.
We define r as the grabbing tolerance, i.e., that the end-effector has reached a specific point if the distance between the two is r or less. In other words, each cloud point has an area cover radius of r. Similar to our full contour coverage definition, we define full areal coverage as the minimal number of cloud points with a cover radius r needed to reach 95% or 98% (respectively, for low- and high-accuracy tasks) of the true workspace area; i.e., the true contour coverage value (Section 3.2). To find a criterion for the number of points per link, a series of simulations were conducted for several cover radii. In each simulation, an increasing number of cloud points were generated by the superposition method presented in the previous section. In each cloud, the points were connected to form triangles, using MATLAB’s AlphaShape (based on the alpha shape method [21] and the cover radius r). The total area of the alpha shapes was calculated with MATLAB’s area. An example of these simulation results is shown in Figure 6. The number of cloud points needed for full areal coverage increases as the cover radius decreases and/or the cover percentage increases. Comparing the results for the contour coverage (Table 1) and the areal coverage (Table 2) simulations shows that the latter required up to 51.25 times more points to achieve 95% coverage with r = 5 mm, and up to 67.5 times more for 98% coverage with r = 5 mm. These results underscore the efficiency of these new contour and areal coverage approaches: the contour coverage required a relatively small number of points to accurately describe the workspace boundaries, thus making it well-suited for running a quick and efficient iterative search along the sub-workspaces of the arm, but less suitable as a search graph.
In contrast, the areal coverage requires a significantly larger number of points. Thus, although it is impractical to use in an iterative search, it is well suited to use as a search graph. The minimal redundancy motion plan algorithm exploits the advantages of both the contour and the areal coverages. It uses the former to consecutively calculate sub-workspaces until minimal redundancy has been achieved (Section 3). The latter is then used exactly once on the chosen subset of joints to create an informative search graph for the heuristic search. Table 2 shows how the number of cloud points for full coverage rises as the cover radius decreases and the number of joints increases. The size of the cover radius and percentage is derived from the end-effector properties, type of task, the environment, etc. For high accuracy tasks, lower radius value and higher cover percentages will be selected, unlike simpler tasks, where larger radius vales and smaller percentages typically suffice. When using a graph search, the best strategy is to search for the sparsest graph possible that still accurately describes the environment.
Since the search graph is based on the cloud points, it is crucial for the efficiency of the search to generate the minimum number of cloud points. By adjusting the cover radius and percentage to the task, we can maintain the number of cloud points at a minimum, without losing significant data for the motion plan.

4.2. Heuristic Search

Any effective heuristic search relies on two major components: the search graph and the cost-to-go estimation. The level of accuracy at which these two components describe a specific problem enables obtaining a more efficient solution [18,22]. Despite the popularity of heuristic searches in robotic navigation, devising a search graph for manipulators is considered impractical due to the high-dimensionality of the state-space problem [18]. Our new approach for manipulator path planning relies on using the cloud points with full areal coverage and suitable heuristics as the search graph. The cloud contains all the arm’s kinematics (configurations and constraints), as well as the data on unachievable configurations as a result of the presence of obstacles within the workspace. By searching the cloud points, we can find an optimal path without needing inverse kinematics, Jacobian calculations, or obstacle sensing. Since we are generating a minimal number of points, we also guarantee the minimal possible dimensionality of the problem.
To perform the search, we need to know the start and goal nodes for the graph. In the case of manipulators, the nodes can be defined by the end-effector position or by the joint configuration. Since all configurations are known from the cloud, and our aim is to find the path with the fewest joint rotations, we define the goal node as the configuration which is both within the cover radius and has the least angular change with respect to the starting configuration. We then apply the traditional A* search, with a modification of a neighbor search: instead of searching for the eight Cartesian neighbors, we identify all the cloud points within a search radius which is predefined from the geometry of the cloud. The optimal path is defined as the path with minimal angular change between the start and goal configurations; hence, the cost at each node s is given by:
{ f ( s ) = g ( s ) + h ( s ) g ( s ) = i = s t a r t + 1 n θ ¯ ( s i ) θ ¯ ( s i 1 ) h ( s ) = θ ¯ ( s ) θ ¯ ( s g o a l )
where f(s) is the total estimated cost from start to goal. g(s) is the true cost from the start node to the current node sn, calculated as the 2nd norm sum of change in the relative joint angles θ ¯ , between adjacent nodes si and si−1. h(s) is an optimal estimation of the cost to go, calculated as the norm of angular change between the current node and the goal. To guarantee optimality in the solution, the heuristic function h was constructed so it is admissible and consistent, i.e., it meets the requirements: h(sgoal) = 0 and h(si)  h(si−1) + c(si,si−1), where c(si,si−1) is the true cost between the adjacent nodes. Another advantage to the minimization of angles is the ability to use the same heuristic function and the A* search in general, both on last link and any link searches. The optimal path found by this search is based on the assumption of a fully actuated arm; in other words, that all the joints are rotating simultaneously. In the case of an MASR with only one actuator, the solution is split into its components in a depth-first approach, thus obtaining a minimally actuated path for the minimally redundant arm.

5. Simulation Results

This section presents two simulations for optimal motion planning based on applying the optimal assembly with the heuristic search. In each simulation, the same robotic model was tested (the MASR model), in the same environment. The first simulation demonstrates a full run of the algorithm over a classic pick and place task, while emphasizing the advantages of finding minimal redundancy before planning the path. The second simulation tests the entire algorithm on random targets, to show its efficiency in general, and for the AL approach in particular. All simulations were carried out on an 11th Gen Intel Core i7-1165G7 (2.80 GHz) with 15.7 GB of RAM running on MATLAB 2019b on a Windows 10 OS.

5.1. Pick and Place

In this simulation, the entire algorithm was tested over a typical pick and place task while maneuvering around an obstacle. The positions of the targets are given by their (x,y) coordinates in mm, where (500,800) is the pick, and (−700,−300) is the place, when (0,0) represents the first (and fixed) joint of the arm. The obstacle was a vertical wall between the points (200,700) and (200,1100), and the arm’s initial position corresponded to the case where all links are vertically aligned. First, an optimal assembly was generated after 21 workspace iterations (0.47 s), which considered joints 1–4 as active (magenta in Figure 7a) and left the last joint redundant. Secondly, a search graph was created with 935K nodes (Table 2) to achieve 95% full areal coverage with a 5 mm cover radius, when all configurations less than 50 mm from the obstacle were eliminated (safety offset). The search from the initial position to the target to pick (Figure 7b) required 127,267 node expansions, and the second search from the pick to place targets took 324,460 expansions. The number of expansions is a conventional criterion in heuristic searches, since it solely depends on the algorithmics, as opposed to runtime, which for the same search, can differ across different programs and environments. Thus, performance was tested on the number of expansions. For comparison, other heuristic searches that were executed on similar models such as in [18] without the minimal workspace as the search graph required expansions in the scale of millions, and often ran out of memory. This indicates that optimal path planning by using the minimal redundancy approach is at least ten times more effective than previous heuristic methods. To keep the search as efficient as possible, the path found by the A* search was adapted for a fully actuated manipulator. To do so, the last step in the algorithm was to separate the simultaneous movement into its component (Figure 7c, steps downsized by 20) to achieve a minimal redundant motion plan for a minimally actuated arm.

5.2. Last Link vs. Any Link

One of the main advantages of the MASR over other manipulators is its ability to move the end-effector along the arm, i.e., any link (AL) and not just by the last link (LL) can grab an object. In the previous simulation, we showed that in the LL case, which is applicable to any other traditional manipulator, our algorithm exhibited a significant improvement in terms of computational efforts and the feasibility of the solution. The next simulation was conducted to test the AL advantage in terms of numerical performance. The arm’s model, initial position, and environment were the same as in the previous simulation. Twenty targets to pick were randomly generated in the arm’s vicinity, and the algorithm was executed twice for each target, once as LL, and once as AL. Naturally, for the same set of joints, the AL workspace is larger than the LL, so we expected that for a given target, the AL approach would require fewer active joints than the LL. Fewer active joints means fewer configurations for full areal coverage, which translates into a smaller search graph, and hence a more effective path planning. Out of the 20 targets, the algorithm found that 10 were out of reach for both AL and LL (marked in red, Figure 8). This emphasizes another advantage of the preliminary search for minimal redundancy; namely, that it can predetermine whether a path does not exist, and thus economize on a significant amount of unnecessary computing efforts. As for the target within the workspace boundary (marked in green, (Figure 8)), once the optimal assembly was found for LL and AL separately, the A* search was executed for each.
The results presented in Table 3 show that in 8 out of 10 searches, the AL approach was more efficient (up to 12.2 times improvement) than LL. The two targets for which the LL outperformed the AL indicate that in cases where the target is near the tip of the arm (target No. 16, Figure 8), the LL did better, although the difference was negligible in terms of the number of expansions (4 as compared to 9 expansions, Table 3). The case where the target lies near the outer boundary of the maximal joint assembled arm (5 active joints in our case, target No. 7, Figure 8) is also instructive. If both AL and LL use the same joints to create a fully covered workspace, the number of nodes in the search graph will be the same, which directly leads to a similar number of expansions. Thus, these results make it clear that while the minimal redundancy through the LL approach can make optimal path planning possible, the AL approach can make it practical.

6. Conclusions

In this paper, we presented a novel approach to motion planning for a minimally actuated serial robot (MASR) that minimizes not only the trajectory cost, but also the number of joints that need to be actuated. Using the Monte Carlo method, we integrate the beta distribution with the non-linear kinematics of the manipulator to achieve new numerical workspace analysis method, which makes it possible to find the minimal subset of joints that need to be activated to reach a given target, before finding the path itself. The preliminary search for the minimal workspace is also proven to be beneficial in creating a heuristic search graph, establishing start and goal nodes, and forming a consistent cost function. This method emerged as highly effective when planning a path for hyper redundant robots such as the MASR. The ability to quickly and accurately describe a hyper redundant manipulator’s workspace boundary (up to 44.3% faster than previous methods) makes it possible to run a preliminary search to find the minimal subset of joints to be actuated (defined as “minimal redundancy”) to reach a given target. The use of minimal redundancy guarantees that the dimensionality of the problem is kept at a minimum. Together with taking our numerical workspace as a search graph, path planning with an optimal heuristic search such as A* becomes practical and efficient (reduces expansions number by a factor of 10). We showed that, in cases when the arm’s end-effector is not fixed to the last link, and can move along the arm, the workspace volume grows substantially for the same set of joints, which translates into even more efficient planning (by reducing expansions up to a factor of 12.2). We believe that our minimal redundancy approach will enable heuristic searches for robotic manipulation to become more popular, and less impractical.
Our future work will focus on expanding the workspace analysis to 3D space, while taking additional types of prismatic or spherical joints into consideration. We also plan to incorporate machine learning tools into our motion planning algorithm to improve the effectiveness of the search.

Author Contributions

Conceptualization, Y.G. and D.Z.; methodology, Y.G. and D.Z.; software, Y.G.; validation, Y.G.; investigation, Y.G.; writing—original draft preparation, Y.G.; writing—review and editing, Y.G. and D.Z.; supervision, D.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This study was supported by the Ministry of Science and Technology (MOST), grant number is 315654, the Helmsley Charitable Trust through the Agricultural, Biological and Cognitive Robotics Initiative, and by the Marcus Endowment Fund at Ben-Gurion University of the Negev.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Siciliano, B.; Khatib, O. Springer Handbook of Robotics; Springer: Berlin/Heidelberg, Germany, 2016. [Google Scholar]
  2. Burgner-Kahrs, J.; Rucker, D.C.; Choset, H. Continuum Robots for Medical Applications: A Survey. IEEE Trans. Robot. 2015, 31, 1261–1280. [Google Scholar] [CrossRef]
  3. Shao, L.; Guo, B.; Wang, Y.; Chen, X. An overview on theory and implementation of snake-like robots. In Proceedings of the 2015 IEEE International Conference on Mechatronics and Automation (ICMA 2015), Beijing, China, 2–5 August 2015. [Google Scholar]
  4. Menon, M.S.; Ravi, V.C.; Ghosal, A. Trajectory planning and obstacle avoidance for hyper-redundant serial robots. J. Mech. Robot. 2017, 9, 041010. [Google Scholar] [CrossRef]
  5. El-Sherbiny, A.; Elhosseini, M.A.; Haikal, A.Y. A comparative study of soft computing methods to solve inverse kinematics problem. Ain Shams Eng. J. 2018, 9, 2535–2548. [Google Scholar] [CrossRef]
  6. Reiter, A. Path and Trajectory Planning. In Optimal Path and Trajectory Planning for Serial Robots; Springer Vieweg: Wiesbaden, Germany, 2020. [Google Scholar]
  7. Moubarak, P.; Ben-Tzvi, P. Modular and reconfigurable mobile robotics. Robot. Auton. Syst. 2012, 60, 1648–1663. [Google Scholar] [CrossRef]
  8. Yim, M.; Shen, W.-M.; Salemi, B.; Rus, D.; Moll, M.; Lipson, H.; Klavins, E. Modular Self-reconfigurable Robot Systems: Challenges and Opportunities for the Future. IEEE Robot. Autom. Mag. 2007, 14, 43–52. [Google Scholar] [CrossRef]
  9. Ayalon, Y.; Damti, L.; Zarrouk, D. Design and Modelling of a Minimally Actuated Serial Robot. IEEE Robot. Autom. Lett. 2020, 5, 4899–4906. [Google Scholar] [CrossRef]
  10. Mann, M.P.; Damti, L.; Tirosh, G.; Zarrouk, D. Minimally actuated serial robot. Robotica 2018, 36, 408–426. [Google Scholar] [CrossRef]
  11. Cao, Y.; Lu, K.; Li, X.; Zang, Y. Accurate Numerical Methods for Computing 2D and 3D Robot Workspace. Int. J. Adv. Robot. Syst. 2011, 8, 76. [Google Scholar] [CrossRef]
  12. Goyal, K.; Sethi, D. An Analytical Method to Find Workspace of a Robotic Manipulator. J. Mech. Eng. 1970, 41, 25–30. [Google Scholar] [CrossRef]
  13. Alciatore, D.G.; Ng, C.C.D. Determining manipulator workspace boundaries using the Monte Carlo method and least squares segmentation. Am. Soc. Mech. Eng. Des. Eng. Div. 1994, 72, 141–146. [Google Scholar]
  14. Rastegar, J.; Fardanesh, B. Manipulation workspace analysis using the Monte Carlo Method. Mech. Mach. Theory 1990, 25, 233–239. [Google Scholar] [CrossRef]
  15. Hart, P.E.; Nilsson, N.J.; Raphael, B. Formal Basis for the Heuristic Determination eijj. Syst. Sci. Cybern. 1968, 4, 100–107. [Google Scholar]
  16. Aine, S.; Swaminathan, S.; Narayanan, V.; Hwang, V.; Likhachev, M. Multi-Heuristic A*. Int. J. Robot. Res. 2016, 35, 224–243. [Google Scholar] [CrossRef]
  17. Owen, T. Heuristics: Intelligent Search Strategies for Computer Problem Solving. Robotica 1988, 6, 165. [Google Scholar] [CrossRef]
  18. Cohen, B.; Chitta, S.; Likhachev, M. Single- and dual-arm motion planning with heuristic search. Int. J. Robot. Res. 2014, 33, 305–320. [Google Scholar] [CrossRef]
  19. Likhachev, M.; Gordon, G.; Thrun, S. ARA*: Anytime A* with Provable Bounds on Sub-Optimality. In Proceedings of the Advances in Neural Information Processing Systems (NIPS 2003), Vancouver, BC, Canada, 8–13 December 2003. [Google Scholar]
  20. Kanehiro, F.; Yoshimi, T.; Kajita, S.; Morisawa, M.; Kaneko, K.; Hirukawa, H.; Tomita, F. Whole Body Locomotion Planning of Humanoid Robots based on a 3D Grid Map. J. Robot. Soc. Jpn. 2007, 25, 589–597. [Google Scholar] [CrossRef]
  21. Kirkpatrick, D.G.; Seidel, R. On the Shape of a Set of Points in the Plane. IEEE Trans. Inf. Theory 1983, 29, 551–559. [Google Scholar] [CrossRef]
  22. Pohl, I. Heuristic search viewed as path finding in a graph. Artif. Intell. 1970, 1, 193–204. [Google Scholar] [CrossRef]
Figure 1. Mechanical design of the MASR robot. In this example, the robot consists of a planar serial arm with five passive joints actuated by a mobile actuator. The mobile actuator, which can travel over the links, is fitted with a gripper to carry objects along its path. The vertical motion is actuated by a linear lift unit, based on a stepper motor with a lead screw [9].
Figure 1. Mechanical design of the MASR robot. In this example, the robot consists of a planar serial arm with five passive joints actuated by a mobile actuator. The mobile actuator, which can travel over the links, is fitted with a gripper to carry objects along its path. The vertical motion is actuated by a linear lift unit, based on a stepper motor with a lead screw [9].
Applsci 12 09526 g001
Figure 2. Number of assemblies to form a one-meter arm using different combinations of links with lengths that vary from 20 cm to 80 cm. In the case of a pick-and-place task, the optimal combination will use the minimal number of links.
Figure 2. Number of assemblies to form a one-meter arm using different combinations of links with lengths that vary from 20 cm to 80 cm. In the case of a pick-and-place task, the optimal combination will use the minimal number of links.
Applsci 12 09526 g002
Figure 3. Workspace computation of the 5R manipulator, with a uniform link length of 200 mm and a relative joint angle range θj ∈ [−60°,60°], using 20,000 Monte Carlo points with uniform and beta distribution functions. (a) Generating a workspace cloud with uniformly distributed points (green); (b) Using a beta distribution with (α,β) = 0.43; (c,d) combining the two regions produced with (α,β) = 0.1 (blue) and (α,β) = 0.9 (green) for 20,000 and 1,000,000 points, respectively.
Figure 3. Workspace computation of the 5R manipulator, with a uniform link length of 200 mm and a relative joint angle range θj ∈ [−60°,60°], using 20,000 Monte Carlo points with uniform and beta distribution functions. (a) Generating a workspace cloud with uniformly distributed points (green); (b) Using a beta distribution with (α,β) = 0.43; (c,d) combining the two regions produced with (α,β) = 0.1 (blue) and (α,β) = 0.9 (green) for 20,000 and 1,000,000 points, respectively.
Applsci 12 09526 g003
Figure 4. Contour coverage simulation results. Top—different sets of (α,β) were combined with low–medium–high values of 0.1–0.5–0.9 and compared to single beta values of α = β = 0.43 and to α = β = 1 (uniform distribution). Bottom—pairs of (α,β) values between 0.1 and 0.9 combined with a constant pair with value of 0.9. All simulations were based on the 5R MASR model.
Figure 4. Contour coverage simulation results. Top—different sets of (α,β) were combined with low–medium–high values of 0.1–0.5–0.9 and compared to single beta values of α = β = 0.43 and to α = β = 1 (uniform distribution). Bottom—pairs of (α,β) values between 0.1 and 0.9 combined with a constant pair with value of 0.9. All simulations were based on the 5R MASR model.
Applsci 12 09526 g004
Figure 5. (ad) Last link (LL) workspaces scanned by joint combinations in ascending order. The numbers in the bottom right corners indicate the number of iterations. The highlighted joints were used to compute the workspace. To reach the targets, only the first, second, and third joints are needed; (e,f) any link (AL) workspaces, which serve to create a workspace using a single joint (e) and cover a larger area (f) for the same number of joints as used in the LL method (d).
Figure 5. (ad) Last link (LL) workspaces scanned by joint combinations in ascending order. The numbers in the bottom right corners indicate the number of iterations. The highlighted joints were used to compute the workspace. To reach the targets, only the first, second, and third joints are needed; (e,f) any link (AL) workspaces, which serve to create a workspace using a single joint (e) and cover a larger area (f) for the same number of joints as used in the LL method (d).
Applsci 12 09526 g005
Figure 6. Areal coverage simulation example results for 95% coverage with two cover radii. The top figures present areal coverages of the 5R MASR workspace, produced from 105 cloud points, with cover radii of 10 mm (left) and 5 mm (right). The bottom figures show differences in the convergence of the coverage percentage as the number of active joints decrease and the cover radius increases.
Figure 6. Areal coverage simulation example results for 95% coverage with two cover radii. The top figures present areal coverages of the 5R MASR workspace, produced from 105 cloud points, with cover radii of 10 mm (left) and 5 mm (right). The bottom figures show differences in the convergence of the coverage percentage as the number of active joints decrease and the cover radius increases.
Applsci 12 09526 g006
Figure 7. Simulation results for the pick and place task. (a) For the given targets, minimal redundancy only involves 4 out of 5 joints (in magenta). In (b,d), an optimal path was found for the target to pick (b) and place (d), using full areal coverage as the search graph for the A* search. The steps shown in black were downsized by half. (c) Shows the path from pick to place after modification for a minimally actuated arm.
Figure 7. Simulation results for the pick and place task. (a) For the given targets, minimal redundancy only involves 4 out of 5 joints (in magenta). In (b,d), an optimal path was found for the target to pick (b) and place (d), using full areal coverage as the search graph for the A* search. The steps shown in black were downsized by half. (c) Shows the path from pick to place after modification for a minimally actuated arm.
Applsci 12 09526 g007
Figure 8. Last link vs. any link simulation. The algorithm indicated that the targets in red were out of reach. The targets in green were within the workspace boundary and were carried on to the path planning stage.
Figure 8. Last link vs. any link simulation. The algorithm indicated that the targets in red were out of reach. The targets in green were within the workspace boundary and were carried on to the path planning stage.
Applsci 12 09526 g008
Table 1. Comparison of superposition and no superposition for the minimal number of points needed to achieve 99% coverage.
Table 1. Comparison of superposition and no superposition for the minimal number of points needed to achieve 99% coverage.
Number of LinksPoints to Full Contour CoverageReduction
Superposition
(α,β) = 0.1∪0.9
No Superposition
(α,β) = 0.43
(%)
21600495067.7
311,100112,35090.1
456,950267,20078.7
5210,000610,00065.6
Table 2. Criteria for the number of cloud points to generate to achieve 95% and 98% area coverage for a cover radius of 5, 10, and 15 mm.
Table 2. Criteria for the number of cloud points to generate to achieve 95% and 98% area coverage for a cover radius of 5, 10, and 15 mm.
98% Coverage95% CoverageNumber of Links
r = 15
mm
r = 10
mm
r = 5
mm
r = 15
mm
r = 10
mm
r = 5
mm
12K27K108K9K20K82K2
67K148K574K49K111K433K3
181K384K1406K117K261K935K4
282K587K2061K165K372K1372K5
Table 3. Expansion within the A* search for last link and any link. The target list corresponds to the numbering in Figure 8.
Table 3. Expansion within the A* search for last link and any link. The target list corresponds to the numbering in Figure 8.
Target No.Last Link ExpansionsAny Link ExpansionsLL/AL Ratio
4152,33227,7385.5
710,44811,9780.9
934,54811,0443.1
1074,12810,5307.0
12449544710.1
1312119912.2
16490.4
1718512766.7
1813,02112,7121.0
2032,29996933.3
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gal, Y.; Zarrouk, D. Task-Based Motion Planning Using Optimal Redundancy for a Minimally Actuated Robotic Arm. Appl. Sci. 2022, 12, 9526. https://doi.org/10.3390/app12199526

AMA Style

Gal Y, Zarrouk D. Task-Based Motion Planning Using Optimal Redundancy for a Minimally Actuated Robotic Arm. Applied Sciences. 2022; 12(19):9526. https://doi.org/10.3390/app12199526

Chicago/Turabian Style

Gal, Yanai, and David Zarrouk. 2022. "Task-Based Motion Planning Using Optimal Redundancy for a Minimally Actuated Robotic Arm" Applied Sciences 12, no. 19: 9526. https://doi.org/10.3390/app12199526

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