Research Article | Open Access

Volume 2017 |Article ID 2696108 | https://doi.org/10.1155/2017/2696108

Marek Franaszek, Geraldine S. Cheok, "Orientation Uncertainty Characteristics of Some Pose Measuring Systems", Mathematical Problems in Engineering, vol. 2017, Article ID 2696108, 13 pages, 2017. https://doi.org/10.1155/2017/2696108

# Orientation Uncertainty Characteristics of Some Pose Measuring Systems

Revised16 Nov 2017
Accepted20 Nov 2017
Published31 Dec 2017

#### Abstract

We investigate the performance of pose measuring systems which determine an object’s pose from measurement of a few fiducial markers attached to the object. Such systems use point-based, rigid body registration to get the orientation matrix. Uncertainty in the fiducials’ measurement propagates to the uncertainty of the orientation matrix. This orientation uncertainty then propagates to points on the object’s surface. This propagation is anisotropic, and the direction along which the uncertainty is the smallest is determined by the eigenvector associated with the largest eigenvalue of the orientation data’s covariance matrix. This eigenvector in the coordinate frame defined by the fiducials remains almost fixed for any rotation of the object. However, the remaining two eigenvectors vary widely and the direction along which the propagated uncertainty is the largest cannot be determined from the object’s pose. Conditions that result in such a behavior and practical consequences of it are presented.

#### 1. Introduction

The pose of a rigid object is defined by six degrees of freedom (6DOF): three angles describing the object’s orientation matrix and three components describing the object’s position (e.g., center of mass or center of bounding box). Accounting for the uncertainty of the measured pose is of great importance in many applications (e.g., propagating uncertainty along different joints in a robot arm or fusing measurements from multiple sensors) and it has been studied for a long time . The methodology used in these studies is based on a 4 × 4 homogenous transformation matrix, related exponential mapping, and Lie algebra .

In this paper, our focus is on a different aspect of pose uncertainty. We are interested in how uncertainty of a single static measurement of a rigid body pose propagates to any Point of Interest (POI) associated with the object (e.g., a point on its surface). When the Computer Aided Design (CAD) model of an object is known, the location of any POI can be calculated using 6DOF data acquired by pose measuring systems . In assembly applications where rigid parts need to be mated using autonomous robotic systems , uncertainty in pose has to be propagated to the POI. For example, in a peg-in-hole experiment (commonly used to test a robot’s performance ), uncertainty in the hole location directly affects the test outcome . Thus, we acquire repeated measurements of a rigid object’s pose, obtained in the same experimental conditions, to investigate the uncertainty of a given POI.

In most practical applications, the six components of pose are not directly measured but are derived from other raw measurements. Many pose measuring systems report 6DOF data of an object based on the measurement of the 3D positions of a few points. These points, also known as fiducial markers, are rigidly attached to (or around) the measured object. Some systems may not require the use of markers as they may be trained to use some characteristic features of the measured object (e.g., well defined corner points). For systems which use 3D points, a homogenous transformation is found using point-based rigid body registration and minimizing the following error function called the Fiducials Registration Error (FRE) where is a set of fiducials measured in one coordinate frame (working frame) and is a set of corresponding fiducials measured in the second frame (destination frame). Pose measuring systems track the movement of the working frame and the transformation defines the object’s 6DOF pose relative to a starting reference frame (coordinate frame associated with the instrument). Point-based rigid body registration not only is implemented in pose measuring systems but is commonly used in many field applications where 3D points are measured in one frame but have to be accessed in another frame where they are required. These points (targets) need to be transformed from the working frame to the destination frame using the previously determined transformation .

Noise present in the measurement of the fiducials propagates to the transformation . Such noisy transformation (when applied to a target) yields random deviation of the transformed target from its nominal true location and is quantified by the Target Registration Error () defined as the root mean square of distances between these two points. The development of a closed form equation for has been the aim of extensive research for many years . The main conclusions from these efforts can be summarized as follows:    depends on the location of target relative to the three main axes of the moment of inertia derived from the spatial configuration of fiducials ;    can be expressed as the sum of two components: one related to uncertainty in position and the second related to uncertainty in the orientation data ; both components of depend on the magnitude of the noise ( increases for noisier fiducial measurements); the orientation component is anisotropic; that is, it depends on the direction in space while the positional component is isotropic.

For the class of pose measuring systems which use point-based registration to track the pose of a rigid object, propagation of orientation uncertainty to a given POI is equivalent to the propagation of the fiducials’ uncertainty to a target point and, therefore, should inherit the above-mentioned characteristics of . The anisotropic distribution of the orientation uncertainty was reported for the pose measuring system using a stereo camera to track spherical, reflective markers attached to an object . It was found that the distribution is bimodal on a unit sphere with the smallest uncertainty located at poles defined by the eigenvector associated with the largest eigenvalue of the covariance matrix of the orientation data. It was hypothesized that such a distribution offers an opportunity for better planning of robotic operations by ensuring that a given POI is in the region of small uncertainty. However, to take advantage of such a strategy, the direction of eigenvector must stay fixed in the CAD coordinate frame regardless of the object’s orientation.

In this paper, we expanded the study in  to determine the conditions for which the observed behavior (stability of ) holds by acquiring static measurements of several poses using a different pose measuring system (a large-scale tracking system iGPS). For each pose, the covariance matrix of the orientation data was determined. While the matrices were different for different poses, we found that the direction of the eigenvector exhibited very small variations compared to the directions of the other two eigenvectors, and , which showed larger variations. This behavior was reproduced in computer simulations and, to the best of our knowledge, it has not been reported in the literature. Analysis of existing theoretical expressions for in point-based registration reveals the reason for such unusual behavior of pose measuring systems which employ point-based registration to calculate 6DOF data. We found that misalignment between the directions of the anisotropic noise of fiducials and the directions of the axes of the moment of inertia characterizing the configuration of the fiducials is responsible for the observed phenomenon. It appears that the direction of is almost independent of the misalignment whereas the directions of and were dependent on the misalignment. Furthermore, our study shows that is well aligned with the eigenvector of the moment of inertia matrix corresponding to the smallest eigenvalue.

The location of any POI is fixed relative to the locations of fiducials. Therefore, for the class of pose measuring systems discussed in this paper, if a vector pointing to a POI is aligned with , this POI will be in the region of small propagated uncertainty, regardless of the object’s orientation. Prior knowledge of such behavior may be useful in robotic operations when tight tolerances are required. A procedure for determining the placement of fiducials so that the smallest uncertainty is propagated to a given POI is introduced. The optimal placement of fiducials has been studied earlier for rigid body registration. Two main applied approaches were use of theoretical models of  (some of them based on isotropic noise [25, 26]); numerical search for the optimal placement using covariance matrices of experimental noise, evaluating transformations and then corresponding to [22, 27]. While these studies showed implicit directional dependence of and its reduction, they did not alert practitioners that the uncertainty of a given POI on the rotated rigid object may depend on the object’s orientation nor provide clear guidance on how to ensure that this uncertainty will be close to the smallest possible value, regardless of object’s orientation. This paper attempts to provide this missing information.

In the next section, some background information and relevant equations are reviewed, followed by a brief description of the experimental setup and data postprocessing. This is followed by a presentation of the results, discussion, and conclusions.

#### 2. Previous Research

In this section a brief review of the theoretical work relevant to our experiments is presented. Section 2.1 presents a brief review of point-based rigid body registration. This is followed by a discussion of the propagation of noise from the fiducials used to register two sets of points and to the registration parameters and then to the transformed target point; an analytical formula for based on anisotropic, homogenous Gaussian noise perturbing the fiducials is provided. In Section 2.2, the propagation of orientation uncertainty of a 6DOF rigid object to an individual point on its surface is discussed.

##### 2.1. TRE in Point-Based Rigid Body Registration

Given two sets of J fiducials and measured in the working and destination frames, respectively, the rotation and translation which minimize the error function in (1) can be obtained in the following way. First, the origins of both frames are moved to the respective centroids and , that is, the locations of fiducials in the translated frames are and , . Then, the covariance matrix is determined as where is the transposed matrix. The rotation matrix can be calculated as in  where the matrices and are obtained from the Singular Value Decomposition (SVD) of the covariance matrixOnce the rotation matrix is determined, the related translation vector is calculated as This transformation minimizes in (1) in the least-squares sense, and this procedure is implemented in many commercial software packages.

However, noise in the measured fiducials and affects the registration transformation, and it needs to be propagated to the target transformed to the destination frame, namely, . Intuitively, it is obvious that the statistical properties of the target error will depend on the characteristics of the noise perturbing the fiducial locations as well as on the location of the target relative to the configuration of the fiducials. Based on the seminal papers by Sibson  and Fitzpatrick et al. , most theoretical studies and supporting computer simulations split the registration to two transformations: a “big” deterministic one and a small noisy one , that is, the two frames are first initially aligned using the big transformation and the fine tuning is done by the small rotation and translation. Thus, any point in the working frame is transformed to in the destination frame asThe rationale behind such an approach was put forward by Sibson who observed that the distribution of was completely determined by stochastic noise in the fiducials and not by the big transformation . This observation is an extension of the well-known property that a variance of a 3D point perturbed by Gaussian noise is the same in all coordinate frames related by any translation , that is, . As stated in , “Neither this reorientation nor the special positioning of the origin above is necessary to effect a solution [...], nor for any part of the derivation that follows. However, they do reduce the complexity considerably, and they can be easily undone at the end. The big rotation can be found from SVD of the covariance matrices and of fiducials and asand the big translation can by calculated by substituting in (5). Since both matrices and are symmetric and have positive diagonal elements, their SVD decomposition yieldsand similarly for . Matrix is diagonal matrixMatrix is closely related to the matrix of the moment of inertia as where is the identity matrix. Thus, defines the moments of inertia relative to the three major axes, and the orientation of the axes is determined by matrix in the working frame and in the destination frame. When a coordinate system is aligned with the axes of the moment of inertia (customarily done in theoretical analysis of in point-based rigid body registration) then matrix takes a simple diagonal formIt should be stressed that the moment of inertia characterizes the configuration of the fiducials in space, not the noise affecting the locations of the fiducials. In general, when the distance between fiducials is a few orders of magnitude larger than the noise, the moment of inertia relative to the major axes remains constant, that is, , and for this reason, we drop the subscript in .

While noise does not affect the moment of inertia, it has a great impact on the Target Registration Error (). Different forms for estimating were developed for different characteristics of fiducial noise, starting from the simplest isotropic, homogenous, Gaussian noise (the same for all fiducials) to the most complex, anisotropic, nonhomogenous Gaussian with nonzero mean (i.e., nonzero bias). No closed form solution has yet been developed for the most complex case. An analytical expression was provided for Gaussian, zero mean, homogenous, and anisotropic noise characterized by covariance matrix ; see equation in . For such noise model, was evaluated from the variance where is the unit vector pointing towards the target , that is, and is the variance of the angular error (deviation of the directional vector from its nominal, noise free direction) and is parametrized by two spherical angles and asEquation (12a) contains two terms: the first is isotropic and is related to the uncertainty in translation in (5); the second term is anisotropic as it depends on angles and is related to uncertainty in the rotation in (3). The isotropic term is inversely proportional to the number of fiducials , and for most target locations which are not very close to the origin of the coordinate frame, the term related to orientation uncertainty in will be dominant.

We note that the orientation of the noise matrix (i.e., the coordinate frame formed by its eigenvectors) and the orientation of the moment of inertia matrix are completely unrelated and their relative orientation depends on the experimental conditions.

##### 2.2. Propagation of Orientation Uncertainty of Rigid Body to a POI

Let vector define the location of a POI in the CAD coordinate frame and let be a unit vector parallel to such that . If is the orientation matrix of a rigid object and its location obtained from the jth measurement, then is the location of the POI on the rotated object in the coordinate frame of the pose measuring instrument,where is a unit vector pointing to a rotated POI in the coordinate frame of the instrument and it can be parametrized by two spherical angles as in (13). We are interested in propagating the uncertainty of to the uncertainty of . We assume thatwhere is the averaged orientation obtained from repeated measurements acquired in the same experimental conditions, is a small random rotation (noise), and . In axis-angle representation , the smallness of the rotation is gauged by small values of angle and this leads to the following expression for in linear approximationwhere is the identity matrix, is a unit vector defining the axis of rotation, and A covariance matrix of the orientation data can be calculated as

Repeated measurements of the orientation matrix in (15) yield a corresponding set of vectors which are tightly distributed around the average direction . If denotes the angle between and , then its distribution can be described by the Fisher-Bingham-Kent (FBK) distribution  as where is the angular uncertainty and is the Kent correction to the Fisher distributionThis correction takes into account the nonzero eccentricity parameter which describes the shape of the elliptical contour of a constant probability on the plane ( for symmetric circle contour when ). Larger values of uncertainty correspond to larger deviations of vector from the mean direction . For pose measuring systems which use point-based rigid body registration, the angular uncertainty is equivalent to the angular uncertainty from (12a) and (12b) when homogenous, anisotropic model of Gaussian noise characterizes the experimental conditions. However, the analysis in this subsection and as discussed here, the angular uncertainty is more general than the uncertainty discussed in Section 2.1 because it is applicable to any sequence of noisy rotations , no matter what sensors and raw measurements were used to get the rotation matrices. Equations (12a) and (12b) are applicable only to the class of pose measuring systems which utilize point-based rigid body registration.

#### 3. Data Collection and Processing

##### 3.1. Experimental Setup

A commercially available, large-scale tracking system (iGPS) was used to collect 6DOF data . The manufacturer specified positional uncertainty is 250 μm. The system consists of a network of eight transmitters placed outside of the working volume (3 m × 3 m × 1.8 m) to track vector bars within the work volume. The transmitters were mounted on 3.05 m high steel columns anchored to the concrete floor. The columns were evenly distributed around the perimeter of the lab space [15 m × 16 m × 10 m (high)], and the working volume was in the center of the lab. Two vector bars were used in the experiment, and each vector bar contains two detectors which define a vector in space (the detectors in a vector bar were separated by 101.6 mm). The two vector bars rigidly mounted to an aluminum rail were used to create a local coordinate frame: in commercial applications, a rigid object remains fixed in the local frame which is tracked by the system.

Four different local frames were created and used to obtain measurements for four configurations of the vector bars; see Figure 1. Both vector bars were parallel to each other, and the distance between them was 375.7 mm for configurations (a–c) and 902.2 mm for configuration (d). The line connecting the two bars for configuration (a) is parallel to that for (b) and similarly for configurations (c) and (d); the line in (a) and (b) is perpendicular to the line in (c) and (d). Each local frame was used to measure M different static poses (M = 12, 27, 12, 20 for frames (a–d), respectively), and at each pose, repeated measurements in the same experimental conditions were acquired (N ≥ 50,000).

The system outputs 6DOF data where the first three components are the angles of rotation. From the three angles, a rotation matrix is constructed as where are matrices of the basic rotations around the axes of a fixed coordinate frame of the tracking system. The last three components of the 6DOF data are coordinates of the origin of the local frame defined by the user (a lower detector in the vector bar labeled as 0 in Figure 1). In addition to the 6DOF pose of the frame, the Cartesian coordinates of the four detectors constituting the two vector bars are also available. They were used as the locations of four fiducials for point-based rigid body registration in some of the computer simulations.

##### 3.2. Data Postprocessing

For each mth pose, the averaged orientation was calculated from the repeated measurements or computer generated , . There are different ways of calculating the average rotation matrix, and in this study, we used the mean rotation in the Euclidean sense. Specifically, was found as the orthogonal projection of a matrix ; see equation in . Such a matrix retains the property of a rotation matrix and the expected properties of means of numbers, namely, invariance under permutation, biinvariance, and invariance under transposition. It also minimizes the error function based on the Frobenius norm; see  for details. Once was determined, the matrix of small random rotation was determined asfrom which the axis and the angle were extracted. Axis-angle representation of any rotation matrix has the following symmetry: In our calculations, we restricted the angle to always be positive and allowed the axis to flip its direction to maintain the right-handedness of the coordinate frame. Once were known, the covariance matrix of the orientation data was calculated using (18) and (19) and its eigenvalues (where ) and corresponding eigenvectors were evaluated for . Note that the inverse of large rotation was already applied in (23) and, therefore, eigenvectors of the covariance matrix are determined in the CAD coordinate frame. In addition, the covariance matrix of positional data and its eigenvectors and eigenvalues were determined where is the positional part of repeated pose measurements in the instrument frame.

Histograms of the angular deviations of the instantaneous unit vector from the corresponding unit mean vector were created for repeated registrations and selected vectors as follows from (15). Additionally, 2D histograms of the spherical angles parametrizing the unit vectors were constructed. For each set of unit vectors , the corresponding parameters and for the FBK distribution were determined as in . These parameters were then used to generate the plot of the theoretical distribution from (20). This theoretical FBK distribution was then compared with the histogram of the angles of deviation obtained from the experimental data.

The evaluation of the angular uncertainty was repeated many times to get the distribution of on a unit sphere. For each average mth orientation, a grid of elevation and azimuth angles was created, , , where and , corresponding to angular increments of 1°. For each pair of angles, a unit vector parametrized as in (13) was defined, and all rotations acquired for the mth pose were applied to using (15). From the resulting set of unit vectors , the corresponding angular uncertainty was calculated as in . The procedure was repeated for each vector in the grid.

To show a link between the propagation of an object’s pose uncertainty to a POI and the propagation of uncertainty from fiducials to the target in registration problem, the distribution of the angular uncertainty predicted by (12a) and (12b) was determined using the same grid of vectors . For each dataset corresponding to , the average locations of the four fiducials were calculated. Then, the moment of inertia matrix in (10) was evaluated and from its SVD decomposition, in (9) was obtained and used in (12a) and (12b). In addition to , the noise covariance is required in (12a) and (12b). Since equation (12a) and (12b) can handle only homogenous noise, we arbitrary selected the covariance matrix of the first fiducial . Once and were determined, the angular uncertainty was calculated for each vector in the grid.

As mentioned earlier, the orientation of matrix is unrelated to the orientation of matrix . In (12a) and (12b), this is reflected by the fact that the coordinate frame can be rotated so that is diagonal (only is used in the equation) while noise is not (see off-diagonal elements in the triple summation in (12a) and (12b)). To investigate the effect of relative misalignment between the two matrices, we performed SVD decomposition of the noise matrix and then replaced the original matrix with the rotated one where rotation matrix is determined by arbitrary axis and angle of rotation . For , , , and both matrices and are perfectly aligned. Larger angle corresponds to larger misalignment between and . For each , the corresponding is used in (12a) and (12b) and the distribution of is recalculated.

#### 4. Results

Figure 2 shows the elements of the covariance matrices calculated using (19) for each average orientation , m M = 27 for vector bars in configuration (b). Figure 3 shows the spatial orientation of eigenvectors corresponding to the ordered eigenvalues of for configurations (a) and (b). Both graphs in Figure 3 are displayed from the same view angles. Eigenvectors corresponding to the largest eigenvalue are shown as thick solid lines. Similar distributions of the eigenvectors were obtained for data acquired for vector bars in configurations (c) and (d) and in computer simulations with arbitrary configurations of vector bars.

The anisotropy of noise perturbing the locations of fiducials was checked by evaluating the ratio of eigenvalues of the covariance matrices of positional data for all datasets and the median value was equal to 3.27.

The distributions of the angular uncertainty σ are shown in Figure 4 together with the directions of the corresponding eigenvectors of covariance matrix for and (elements of are plotted in Figure 2). Histograms of the deviation angles and the associated FBK distributions given by (20) are shown in Figure 5 for the same noisy orientation data used to create the plot in Figure 4(b). The angular uncertainty and eccentricity were determined for the directions aligned with eigenvector corresponding to and eigenvector corresponding to in Figure 4(b). The values of were [mrad] and [mrad−2] for .

Figure 6 displays histograms of angles parametrizing unit vectors in (15) for noisy rotations used to create plots in Figures 4(b) and 5. Average vector is aligned with the direction where or are located in Figure 4(b), and .

Finally, the plots in Figure 7 show examples of the distribution of angular uncertainty calculated using (12b) for increasing misalignment angle between the moment of inertia matrix and the noise matrix . The plots were created for [mm2], diagonal noise matrix (variances) in (26) [mm2], and the axis of rotation in (26) is set arbitrary to .

#### 5. Discussion

The average orientations were acquired so that they differ substantially from each other. As expected, such wide variations in the poses result in large variations of the corresponding covariance matrices . The three variances of the orientation data (diagonal elements of ) and the three covariance coefficients (off-diagonal elements) shown in Figure 2 depend on the orientation . The graphs in Figure 2 present data for vector bars in configuration (b), but similar variability in the elements of the covariance matrices was also observed for data acquired for configurations (a), (c), and (d). Despite this variability, the eigenvector which corresponds to the largest eigenvalue of the covariance matrix exhibits surprisingly weak dependence on the actual mth orientation for data acquired for a given configuration of vector bars; see solid lines in Figures 3(a) and 3(b). This is in striking contrast to the remaining two eigenvectors (marked with dashed and dotted lines). Note that eigenvectors are closely aligned with the direction of the eigenvector corresponding to the smallest eigenvalue of the inertia matrix given by (10).

The theoretical FBK distribution as defined by (20) agrees very well with the experimental histogram of deviation angles as seen in Figure 5. Further evidence supporting this agreement can be seen in Figure 6. Kent postulated (see in ) that the relation (where ) holds for small noise. Indeed, the larger uncertainty and matching smaller eccentricity in Figure 6(a) should be compared with the smaller and larger in Figure 6(b). Recall that smaller eccentricity describes a more rounded distribution. The difference between the distributions shown in Figures 6(a) and 6(b) will impact assembly tasks in manufacturing when tight tolerances are required.

The theoretical equations (12a) and (12b) derived for target registration error for point-based, rigid body registration are useful in explaining the propagation of pose uncertainty to a given POI (i.e., a target point). The target point remains fixed relative to the fiducials, that is, the target point relative to the major axes of the moment of inertia is fixed and independent of any imposed rotation of the object. However, when anisotropic noise affects the measurement of the fiducials, different “big” rotations disregarded in Sibson’s analysis of isotropic noise  will cause different orientations of the noise matrix relative to the fiducials. This will cause the angular uncertainty to be dependent on these rotations (note off-diagonal elements of noise matrix in (12b) are affected by increasing misalignment angle in (26)), and the consequences of such dependence could be seen in Figure 7. The rotation of the gray axes in Figure 7 follows the pattern observed in the experiment; see Figure 3. Note in Figure 7 that the eigenvector of matrix M corresponding to its smallest eigenvalue is well aligned with the direction defined by the two poles where , similarly to poles defined by and in Figures 4 and 3. Exact matching between the theoretical provided in (12a) and (12b) and experimental uncertainty is not expected since equation (12a) and (12b) was derived for anisotropic, homogenous noise (the same for all fiducials) while noise in experiment was anisotropic and nonhomogenous.

The surprising stability of eigenvector , pointing to in the CAD frame and the close alignment of and , have a very useful implication. The direction of depends solely on the selection of the fiducials, implying that the direction of also depends on the selection of fiducials’ locations. Thus, if the location of a given POI associated with a rigid object is critical, it would be beneficial to place fiducials around an object in such a way that the axis of the smallest moment of inertia is parallel to the vector pointing towards this POI in the CAD frame. The principle for finding such configuration of fiducials is outlined in Appendix.

#### 6. Conclusions

Many pose measuring systems derive pose from the measurement of fiducial markers attached to an object. The uncertainty of the fiducials’ locations propagates to the uncertainty of the object’s orientation which, in turn, propagates in an anisotropic way to individual points on the object’s surface. The angular distribution of the orientation uncertainty propagated to a POI depends generally on the object’s orientation. However, the orientation uncertainty in the regions close to the poles defined by the eigenvector corresponding to the smallest eigenvalue of the moment of inertia matrix of fiducials is almost independent of the object’s orientation. These regions are also characterized by the smallest propagated orientation uncertainty. Thus, strategic placement of fiducials around an object ensures that the orientation uncertainty propagated to a given POI is the smallest, regardless of the object’s orientation.

#### Appendix

The problem of finding optimal locations of fiducials for a given POI does not have a unique solution. In practical applications, the geometry of the rotated object and type of markers tracked by the instrument may impose additional constraints on possible fiducial locations. The general strategy for optimal placement is schematically shown in Figure 8 where gray diamonds depict an arbitrary configuration of J fiducials in the CAD frame.

In this general configuration, the principal axis of the smallest moment of inertia is denoted by , is the location of a POI, and is the angle between and . We assume that the centroid of fiducials is located at the origin of the CAD frame; if not, the origin needs to be moved to coincide with prior to determining line . To align with line , two extra fiducials and are added and placed on line at a distance on each side of center . The added pair of fiducials does not change the location of centroid and does not contribute to the moment of inertia about line . However, with increasing , the two moments of inertia of the points about the two axes perpendicular to will increase. Thus, for a sufficiently large value of , the moment of inertia about line will be the smallest and then , that is, the principal axis of the smallest moment of inertia evaluated for points, will be closely aligned with line . This close alignment should cause the orientation uncertainty propagated to a given POI to be close to the minimum value.

To illustrate this procedure, numerical simulations were performed. Six different randomly selected configurations of points () scattered within a cube of length 700 mm were used. For each configuration, the covariance matrix from (8) was determined and used to calculate the moment of inertia matrix from (10) and its principal axes and the corresponding moments of inertia. Eigenvector corresponding to the smallest eigenvalue was determined as , and the initial distance , defined as the square root of the largest eigenvalue of , was calculated using (11) for the initial configuration of J pointsThen, the covariance matrix of one of a positional data was chosen as a representative characteristic of noise affecting locations of fiducials and its version in the rotated frame aligned with eigenvectors of matrix was evaluated. Then, the nondiagonal noise matrix and the three eigenvalues of were substituted in (12b) to get the extreme values of the theoretical orientation uncertainty , that is, and . Finally, a Point of Interest was selected. In the worst-case scenario, line was aligned with , that is, had the largest uncertainty, and the misalignment angle between and was close to 90°; in the general case, an arbitrary point was selected, and the corresponding angle was less than 90°. Then, a pair of points and was added and the distance varied from zero to . For each , the moment of inertia matrix was determined using all points, and the corresponding eigenvector , angle , and the smallest theoretical uncertainty were evaluated.

Figure 9 shows representative graphs from the six simulations. Parameter , displayed in Figure 9(b), is the normalized uncertainty defined as For the worst-case selection of POI , , while for a generic location of , . Negative values of indicate that the smallest propagated uncertainty for the optimal configuration of fiducials (which contains a pair of added fiducials separated by the distance ) is smaller than the smallest uncertainty for the initial configuration of fiducials. The uncertainty of the location of (including both positional and rotational uncertainty propagated from the 6DOF pose) was calculated using (12a), and to suppress the trivial dependence of variance on length of , a constant  mm was used in all six simulations.

As seen in Figures 9(b) and 9(c), the required distance should be close to . If the two extra fiducials cannot be placed at the distance from due to geometrical constrains, then the general procedure outlined above needs to be modified; for example, two pairs of fiducials ( and ) could be placed on line at equal distances and .

#### Disclosure

Certain trade names and company products are mentioned in the text to adequately describe the experimental procedure. In no case does it imply NIST recommendation or endorsement, nor does it imply that the products are necessarily the best available for the purpose.

#### Conflicts of Interest

The authors declare that there are no conflicts of interest regarding the publication of this paper.

1. S.-F. Su and C. S. G. Lee, “Manipulation and Propagation of Uncertainty and Verification of Applicability of Actions in Assembly Tasks,” IEEE Transactions on Systems, Man, and Cybernetics, vol. 22, no. 6, pp. 1376–1389, 1992. View at: Publisher Site | Google Scholar
2. T. D. Barfoot and P. T. Furgale, “Associating uncertainty with three-dimensional poses for use in estimation problems,” IEEE Transactions on Robotics, vol. 30, no. 3, pp. 679–693, 2014. View at: Publisher Site | Google Scholar
3. A. Saksena, T. Nammoto, J. Kinugawa, and K. Kosuge, “Automatic path planning for 3-D assembly system using configuration space and CAD model,” in Proceedings of the 12th IEEE International Conference on Mechatronics and Automation, ICMA 2015, pp. 1355–1361, China, August 2015. View at: Publisher Site | Google Scholar
4. X. Jiang, A. Konno, and M. Uchiyama, “A vision-based endpoint trajectory and vibration control for flexible manipulators,” in Proceedings of the 2007 IEEE International Conference on Robotics and Automation, ICRA'07, pp. 3427–3432, Italy, April 2007. View at: Publisher Site | Google Scholar
5. L. Brignone and M. Howarth, “A geometrically validated approach to autonomous robotic assembly,” in Proceedings of the IROS 2002: IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 1626–1631, Lausanne, Switzerland. View at: Publisher Site | Google Scholar
6. Y. Mezouar, M. Prats, and P. Martinet, “External Hybrid Vision/Force Control, presented at the Int. Conference on Advanced Robotics ICRA,” in Proceedings of the External Hybrid Vision/Force Control, presented at the Int. Conference on Advanced Robotics ICRA, Jeju, Korea, 2007. View at: Google Scholar
7. M. Prats, P. Martinet, A. P. Del Pobil, and S. Lee, “Robotic execution of everyday tasks by means of external vision/force control,” Intelligent Service Robotics, vol. 1, no. 3, pp. 253–266, 2008. View at: Publisher Site | Google Scholar
8. S. Huang, Y. Yamakawa, T. Senoo, and M. Ishikawa, “A direct visual servo scheme based on simplified interaction matrix for high-speed manipulation,” in Proceedings of the 2012 IEEE International Conference on Robotics and Biomimetics, ROBIO 2012, pp. 1950–1955, China, December 2012. View at: Publisher Site | Google Scholar
9. H. Park, J.-H. Bae, J.-H. Park, M.-H. Baeg, and J. Park, “Intuitive peg-in-hole assembly strategy with a compliant manipulator,” in Proceedings of the 2013 44th IEEE International Symposium on Robotics, ISR 2013, Republic of Korea, October 2013. View at: Publisher Site | Google Scholar
10. H. Qiao and S. K. Tso, “Three-step precise robotic peg-hole insertion operation with symmetric regular polyhedral objects,” International Journal of Production Research, vol. 37, no. 15, pp. 3541–3563, 1999. View at: Publisher Site | Google Scholar
11. Z. Liu, Y. Xie, J. Xu, and K. Chen, “Laser tracker based robotic assembly system for large scale peg-hole parts,” in Proceedings of the 4th Annual IEEE International Conference on Cyber Technology in Automation, Control and Intelligent Systems, IEEE-CYBER 2014, pp. 574–578, China, June 2014. View at: Publisher Site | Google Scholar
12. D. I. Park, C. Park, H. Do, T. Choi, and J. H. Kyung, “Assembly phase estimation in the square peg assembly process,” in Proceedings of the the Int. Conference on Control, Automation and Systems, Jeju, Korea, 2012. View at: Google Scholar
13. S. R. Chhatpar and M. S. Branicky, “Particle filtering for localization in robotic assemblies with position uncertainty,” in Proceedings of the IEEE IRS/RSJ International Conference on Intelligent Robots and Systems, IROS 2005, pp. 2095–2102, can, August 2005. View at: Publisher Site | Google Scholar
14. S. Chhatpar and M. Branicky, “Search strategies for peg-in-hole assemblies with position uncertainty,” in Proceedings of the RSJ/IEEE International Conference on Intelligent Robots and Systems, pp. 1465–1470, Maui, HI, USA. View at: Publisher Site | Google Scholar
15. J. Y. Kim, W. S. Kim, and H. S. Cho, “Misalignment estimation and compensation for robotic assembly with uncertainty,” Robotica, vol. 23, no. 3, pp. 355–364, 2005. View at: Publisher Site | Google Scholar
16. R. Usubamatov and K. W. Leong, “Analyses of peg-hole jamming in automatic assembly machines,” Assembly Automation, vol. 31, no. 4, pp. 358–362, 2011. View at: Publisher Site | Google Scholar
17. R. Usubamatov, S. A. Adam, and A. Harun, “Analyzing the jamming of parts on the shaft in assembly processes,” Assembly Automation, vol. 32, no. 4, pp. 340–346, 2012. View at: Publisher Site | Google Scholar
18. J. M. Fitzpatrick, J. B. West, and C. R. Maurer Jr., “Predicting error in rigid-body point-based registration,” IEEE Transactions on Medical Imaging, vol. 17, no. 5, pp. 694–702, 1998. View at: Publisher Site | Google Scholar
19. J. B. West, J. M. Fitzpatrick, S. A. Toms, C. R. Maurer Jr., and R. J. Maciunas, “Fiducial point placement and the accuracy of point-based, rigid body registration,” Neurosurgery, vol. 48, no. 4, pp. 810–817, 2001. View at: Publisher Site | Google Scholar
20. A. Seginer, “Rigid-body point-based registration: The distribution of the target registration error when the fiducial registration errors are given,” Medical Image Analysis, vol. 15, no. 4, pp. 397–413, 2011. View at: Publisher Site | Google Scholar
21. M. H. Moghari and P. Abolmaesumi, “Distribution of target registration error for anisotropic and inhomogeneous fiducial localization error,” IEEE Transactions on Medical Imaging, vol. 28, no. 6, pp. 799–813, 2009. View at: Publisher Site | Google Scholar
22. R. R. Shamir, L. Joskowicz, and Y. Shoshan, “Fiducial optimization for minimal target registration error in image-guided neurosurgery,” IEEE Transactions on Medical Imaging, vol. 31, no. 3, pp. 725–737, 2012. View at: Publisher Site | Google Scholar
23. M. Franaszek, M. Shah, G. S. Cheok, and K. S. Saidi, “The axes of random infinitesimal rotations and the propagation of orientation uncertainty,” Measurement, vol. 72, pp. 68–76, 2015. View at: Publisher Site | Google Scholar
24. B. Ma, M. H. Moghari, R. E. Ellis, and P. Abolmaesumi, “Estimation of optimal fiducial target registration error in the presence of heteroscedastic noise,” IEEE Transactions on Medical Imaging, vol. 29, no. 3, pp. 708–723, 2010. View at: Publisher Site | Google Scholar
25. J. B. West and C. R. Maurer Jr., “Designing optically tracked instruments for image-guided surgery,” IEEE Transactions on Medical Imaging, vol. 23, no. 5, pp. 533–545, 2004. View at: Publisher Site | Google Scholar
26. M. Wang and Z. Song, “Improving target registration accuracy in image-guided neurosurgery by optimizing the distribution of fiducial points,” The International Journal of Medical Robotics and Computer Assisted Surgery, vol. 5, no. 1, pp. 26–31, 2009. View at: Publisher Site | Google Scholar
27. M. Riboldi, G. Baroni, M. F. Spadea et al., “Genetic evolutionary taboo search for optimal marker placement in infrared patient setup,” Physics in Medicine and Biology, vol. 52, no. 19, article no. 006, pp. 5815–5830, 2007. View at: Publisher Site | Google Scholar
28. K. S. Arun, T. S. Huang, and S. D. Blostein, “Least-squares fitting of two 3D point sets,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 9, no. 5, pp. 698–700, 1987. View at: Publisher Site | Google Scholar
29. R. Sibson, “Studies in the robustness of multidimensional scaling: perturbational analysis of classical scaling,” ournal of the Royal Statistical Society. Series B (Methodological), vol. 41, no. 2, pp. 217–229, 1979. View at: Google Scholar | MathSciNet
30. A. D. Wiles, A. Likholyot, D. D. Frantz, and T. M. Peters, “A statistical model for point-based target registration error with anisotropic fiducial localizer error,” IEEE Transactions on Medical Imaging, vol. 27, no. 3, pp. 378–390, 2008. View at: Publisher Site | Google Scholar
31. C. Bingham, “An antipodally symmetric distribution on the sphere,” The Annals of Statistics, vol. 2, pp. 1201–1225, 1974. View at: Publisher Site | Google Scholar | MathSciNet
32. J. T. Kent, “The Fisher-Bingham distribution on the sphere,” ournal of the Royal Statistical Society. Series B (Methodological), vol. 44, no. 1, pp. 71–80, 1982. View at: Google Scholar | MathSciNet
33. G. A. Watson, “Fitting enclosing cylinders to data in Rn,” Numerical Algorithms, vol. 43, no. 2, pp. 189–196, 2006. View at: Publisher Site | Google Scholar | MathSciNet
34. R. Schmitt, S. Nisch, A. Schönberg, F. Demeester, and S. Renders, “Performance evaluation of iGPS for industrial applications,” in Proceedings of the 2010 International Conference on Indoor Positioning and Indoor Navigation, IPIN 2010, Switzerland, September 2010. View at: Publisher Site | Google Scholar
35. M. Moakher, “Means and averaging in the group of rotations,” SIAM Journal on Matrix Analysis and Applications, vol. 24, no. 1, pp. 1–16, 2002. View at: Publisher Site | Google Scholar | MathSciNet

#### More related articles

Article of the Year Award: Outstanding research contributions of 2020, as selected by our Chief Editors. Read the winning articles.