A set of all attainable input joint positions is the configuration space or C-space that provides information on which input commands can or can not be applied to the manipulatorβs actuators. Its computation is necessary to generate feasible, smooth, and optimal input reference trajectories as a part of the motion planning
process.
The feasibility of an input joint position,π, is determined based on the singu- larity analysis described in Section 4.1 and link collision detection with a simula- tion model of the coaxial SPM described in Section 4.2. A feasible trajectory can not bring a manipulator to the configuration that is singular, near-singular, and (or) has links colliding. An input trajectory can be sampled, and each sampling instant is checked to satisfy the feasibility test.
For the purposes of fast real-time control, the configuration space can be pre- calculated offline for a manipulator to verify its input joint position without the need to go through the feasibility test each time. A full joint space available for a manipulator has to be pre-tested in this case.
For coaxial SPM, its joint space is described by the cube with the sides defined by the input joint positions, ππ, π= 1,2,3. The space can be sampled to obtain a 3D grid of nodes independently checked for singularity and link collisions. Test nodes that pass the test are included in the feasible configuration space, whereas the nodes that do not pass this test are excluded and must be avoided by the manipulator.
Coordinates of the generated 3D grid of nodes belong to the sets
ππ ={ππ,1, ππ,2, . . . ππ,ππ}, π= 1,2,3, (4.8) where ππ is the size of the set to which an input joint position ππ belongs. For simplicity and symmetry, set sizes used are made equal, and a uniform sampling interval is used, i.e., π1 = π2 =π3, and πΏπ β ππ,π+1βππ,π, π = 1,2, ... ππ β1 is constant.
As mentioned in Section 2.5, there exist input joint positions that result in links surpassing each other, meaning that the order of the links is violated. Given a physical prototype of the coaxial SPM, there is a specific sequence of its dis- tal links, i.e., distal link 1 - distal link 2 - distal link 3, if viewed from the top.
This order of the distal links can not be broken in real-world settings as it will require the links to pass through each other; however, it is possible in simula- tions such as in CoppeliaSim since it is just a simulation model. To decrease computational burden, input joint positions having such effect, and thus their
corresponding nodes from the 3D grid, are excluded from the analysis without any tests performed with them. The remaining nodes are subjects of singularity and link collision checks.
Let a set π± represent the union of all feasible input joint positions of the coaxial SPM. A procedure to estimate the set π± is outlined in the Algorithm 4. Having set π± helps to evaluate the control limits of a manipulator and detect any dependencies between actuators, e.g., safety margins for actuatorsβ operation.
This set can also be used while generating optimal motion trajectories, such as trajectories with the shortest path in the joint space.
Algorithm 4: Numerical computation of the configuration space Input: πΌ1, πΌ2, π½,π₯0, ππ, ππ, π= 1,2,3
Output: Set π± π± β β ;
for π1 β1 to π1 do for π2 β1 to π2 do
for π3 β1 to π3 do π ππππ’πππππ‘π¦ βπ πππ π; ππππππ πππ βπ πππ π;
/* link surpass check */
if π3(π3)βπ2(π2)>120β or π2(π2)βπ1(π1)>120β or π1(π1)βπ3(π3)>120β then
ππππππ πππ βπ‘ππ’π break
π β[οΈ
π1(π1) π2(π2) π3(π3)]οΈT
;
/* forward kinematics */
Calculate wπ and vπ,π= 1,2,3, given π using Algorithm 1;
/* singularity detection */
Calculate J givenuπ,wπ and vπ,π= 1,2,3,using (4.3)-(4.5);
Calculate π(J)given J, using (4.6) and (4.7);
if π(J)< π(J)πππ then π ππππ’πππππ‘π¦ βπ‘ππ’π break
/* link collision detection */
Send π to the coaxial SPM motion simulator;
if ππππππ πππ βπππππ== 1 then ππππππ πππ βπ‘ππ’π
break
/* update the space */
if π ππππ’πππππ‘π¦== π πππ π and ππππππ πππ ==π πππ πthen π± β π± βͺ {π}
return π±
For the coaxial SPM, the 3D grid of nodes is bounded by input joint values ranging between0β and360βwith the sampling intervalπΏπ= 5β. A grid of 373,248 test nodes (π1 =π2 =π3 = 72, 72x72x72 = 373,248) is generated in the result.
The set π± has 0 test nodes in it at the beginning.
The computation process of the feasible configuration space at its various stages is illustrated in Fig. 4-1. The first intermediate set was obtained by ex- cluding nodes resulting in link surpass and is shown in Fig. 4-1a. While observing the 3D shape of this set, it was noticed that it has a triangular cross-section pro- file throughout the diagonal axis of the 3D grid, as depicted in a shaded circle underneath the first figure. The diagonal axis is a line stretching from the node π = [οΈ
0β, 0β, 0β ]οΈT
till the node π = [οΈ
360β, 360β, 360β ]οΈT
in the grid. This line also corresponds to the trajectory of the infinite rotational motion of the mobile platform aroundz-axis, as will be shown in Section 4.5. Following this trajectory, coaxial SPM rotates around itself with zero tilt of the mobile platform.
The nodes from the first intermediate set were checked for singularity. The threshold conditioning index was chosen as π(J)πππ = 0.2. This value can be set lower to obtain a larger configurations space, or higher to be more conservative with singular configurations. In this thesis, this value was selected to be more conservative on the obtained C-space. After performing a singularity detection routine on all of these test nodes, several smaller disconnected subsets appeared as shown in Fig. 4-1b on the cross-sectional view part of the figure. Computed subsets belong to different working modes of the coaxial SPM, with the central one (the largest one) corresponding to the currentl-l-l working mode. It complies with the fact that coaxial SPMβs working modes can be switched by passing singularity points, which happen when the manipulator legsβ links are fully folded or unfolded.
Afterward, a collision detection routine was implemented in CoppeliaSim with MATLAB integration for the remaining test nodes that correspond to singularity- free configurations. The final set of the feasible input joint positions, π±, i.e., the configuration space (C-space) of the coaxial SPMβs prototype under study was obtained and is available in Fig. 4-1c. The cross-section profiles of the sets in Figs. 4-1b and 4-1c also have their shapes constant throughout the diagonal axis
of the grid.
Analysis of the obtained set of the feasible configurations π± reveals that it stretches from the node π = [οΈ
0β, 0β, 0β ]οΈT
to the node π =[οΈ
360β, 360β, 360β ]οΈT
with a maximum offset of each input joint position being not larger than 100β from the diagonal line mentioned before. Based on this, it is concluded that actuatorsβ input positions can not vary from each other by more than Β±100β for the coaxial SPM under study. Otherwise, some of the links will collide.
It is worth mentioning that the computed set π± expands infinitely in the negative and positive directions following the[οΈ
0β, 0β, 0β ]οΈT
-[οΈ
360β, 360β, 360β ]οΈT
diagonal axis and having a same-shaped cross-sectional profile along this axis.
This result confirms that coaxial SPMs are capable of infinite rotational motion, and input trajectories leading to it are not bounded, i.e., can go beyond the tested 3D grid bounded by ππ β[0β,360β], π= 1,2,3.