Skip to main content
NIHPA Author Manuscripts logoLink to NIHPA Author Manuscripts
. Author manuscript; available in PMC: 2020 Apr 1.
Published in final edited form as: Int J Med Robot. 2018 Nov 29;15(2):e1971. doi: 10.1002/rcs.1971

Organ-mounted Robot Localization via Function Approximation

Nathan A Wood 1, David Schwartzman 2, Michael J Passineau 3, Robert J Moraca 4, Marco A Zenati 5, Cameron N Riviere 1
PMCID: PMC6399018  NIHMSID: NIHMS977564  PMID: 30414248

Abstract

Background

Organ-mounted robots adhere to the surface of a mobile organ as a platform for minimally invasive interventions, providing passive compensation of physiological motion. This approach is beneficial during surgery on the beating heart. Accurate localization in such applications requires accounting for the heartbeat and respiratory motion. Previous work has described methods for modeling quasi-periodic motion of a point and registering to a static preoperative map. The existing techniques, while accurate, require several respiratory cycles to converge.

Methods

This paper presents a general localization technique for this application, involving function approximation using radial basis function (RBF) interpolation.

Results

In an experiment in the porcine model in vivo, the technique yields mean localization accuracy of 1.25 mm with a 95% confidence interval of 0.22 mm.

Conclusions

The RBF approximation provides accurate estimates of robot location instantaneously.

1. Introduction

Organ-mounted robots are a new class of surgical robots that adhere to the surface of a mobile organ as a platform for minimally invasive interventions 1. While recent years have seen the development of bone-mounted robots to ease the problem of registration 2,3, organ-mounted robots are intended to also provide passive compensation of the physiological motion of mobile organs. The approach is especially effective for surgery on the beating heart. Examples include Cerberus, a deployable epicardial parallel wire robot 4, HeartLander, an inchworm-type crawling robot, and Lamprey, a passive repositionable probe with a single suction foot 1. For such systems, accurate localization requires accounting for motion due to heartbeat and respiration.

Some methods for prediction of motion of the heart, such as autoregressive representations 5,6, do not directly model the motion. However, the majority of approaches involve fitting predictive models to the motion, usually using frequency-based models 79. Existing approaches to registration and localization of surgical tools in and around the heart are highly dependent upon the tools and sensing modalities used. Constrained Kalman filtering 10,11, Iterative Closest Point (ICP) 12, and particle filtering 13 have been employed in snake-like robots and intracardiac echocardiographic (ICE) catheter systems. In each of these approaches, however, the tools have, at most, intermittent contact with the heart and the periodic motion of the heart is filtered out as noise. The present application is fundamentally different, because the robots in question are mounted on the heart surface.

A previous paper from our group presented methods for Fourier modeling of the periodic motion of a point on the surface of the heart due to both heartbeat and respiration 1. A subsequent paper dealt with registration of motion models of such points to a static preoperative map of the heart surface 14. Using a simple or straightforward implementation of these methods alone, accurate estimates of the position of the robot on the surface of the heart at a given position can be achieved, but only once the frequency-based models have converged, which due to the low frequency of respiration (about 0.2 Hz) can require up to 15 s.

This paper, the third in this line of research, presents a more developed approach to the general problem of estimating the position of the organ-mounted robot on the beating heart at all times. We refer to this post-registration estimation of position on the heart as localization. The paper first briefly poses the localization problem solely based on the previously presented motion model in Section 2.1, an approach that, as mentioned above, suffers from slow convergence.

Next, in Section 2.2, we reinterpret the problem as function approximation. This method uses models fit to motion observed at locations on the heart visited earlier in the same intervention to predict where on the surface of the heart new observations will fall. These estimates outperform model-based prediction over short time horizons, and may help in reducing the time required to perform interventions. Finally, Section 3 presents experimental results from the porcine model in vivo comparing the approaches and characterizing performance.

2. Algorithmic Methods

2.1. Localization via Motion Prediction

Localizing on a registered surface is trivial in most cases. In the case of a static surface with a static map, the spatial registration parameters provide full information to associate a single measurement of robot pose to a location on the surface of the heart. Registration fully constrains this problem.

In the case of a periodically deforming surface with a static map, however, the problem is less trivial. If the measurements of robot pose have the same phase as the map, the problem is once again fully constrained. If the measurements are not the same phase as the map, we must project the measurements to the correct phase.

Using the previously derived model for periodic motion 1 and assuming that spatiotemporal registration has been performed have been performed per 14, the estimated location of the robot on the heart, ũ, is defined as the nearest location in the map,

u=argminuS(u)-Tpϕ (1)

where the predicted pose is

pϕ=P(ϕC,ϕR)=MqR(qH¯P)Wt¯Tϕ+tH¯P (2)

and where 𝒮 represents the preoperative medical image dataset, tH¯P and qH¯P are the position and orientation in quaternion form of the robot in the frame of a reference tracker probe placed on the chest wall of the patient, Wt¯T is a matrix of Fourier series parameters for translation,14 T* is the rigid transformation that represents intraoperative registration, and ϕC and ϕR are the ground-truth cardiac and respiration phases at the instant when preoperative images were taken, determined as in 14.

This formulation for localization is identical to the matching procedure used in ICP for registration; however, in that case it was assumed the models had converged and provided reasonable estimates of robot pose. In the case of using this formulation for localization, it is clear that localization error relies directly on the accuracy of the model. As we have shown 1, convergence for these models requires up to 15 s (about 3 respiration cycles).

In this scheme the accuracy of prediction is a function of how long the robot stays at a single location. This dependence is demonstrated graphically in Fig. 1. The longer the robot observes the motion, the more accurate the model and the more accurate the prediction. Depending on the acceptable level of accuracy, this may require remaining stationary for up to 3 respiration cycles.

Figure 1.

Figure 1

Using motion prediction models for localization requires predicting the future location of the robot at the phase of the heart model. The two diagrams depict the evolution of the predicted location on the surface, ũ, as projected by the motion models, shown as dashed lines, learned from observed motion, shown as solid red lines. Models fit to (a) short sections of motion data can differ significantly from (b) converged models. This figure illustrates the operation of Section 2.1.

2.2. Localization via Function Approximation

In order to bypass the long convergence time required to accurately localize using motion prediction, the localization problem can be reinterpreted to utilize all available data. Accurate registration requires accurate models of the motion of points spread over the surface of the heart. These models enable prediction of robot pose at these points for any phase, as well as where the points lie on the surface of the static heart. Using these data, localization can be posed as function approximation.

This approach to localization is depicted in Fig. 2. Given a measurement of the robot pose at the current phase, zϕk, the predicted location of the robot on the heart, ũ, can be estimated by approximating the function which maps from the existing models’ predictions of pose at the current phase, {p1ϕk,p2ϕk,,pnϕk}, to their corresponding locations on the heart,{u1, u2, …, un}.

Figure 2.

Figure 2

Using models of heart motion observed at various locations, the localization problem can be posed as an interpolation or function approximation. In this scheme we learn a function that projects the currently measured robot pose, zϕk, to a predicted location on the surface of the heart, ũ, using models of the motion of previously visited locations on the heart, piϕk. This figure depicts the approach presented in Section 2.4.

2.3. Radial Basis Function Approximation

In order to approximate the mapping to the surface of the heart, we employ radial basis function (RBF) interpolation. This method of scattered data interpolation is ubiquitous, being used in applications including solving partial differential equations 15, surface reconstruction 15, and nonlinear registration and surface estimation in medical imaging 1618. We briefly review RBFs here and refer the reader to Buhmann 19 for more information.

Radial basis functions approximate the real-valued function, g : ℝd → ℝ, with s : ℝd → ℝ, given the values {g(xi) : i = 1,2, …, n} at the centers of interpolation {xi : i = 1,2, …, n}. The interpolant is of the form

s(x)=i=1nλiκ(r(xi,x)), (3)

where r(·, ·) is a distance metric on ℝd, usually the Euclidean norm,

r(xi,x)=xi-x. (4)

The kernel function, κ, is a positive definite function whose value depends only on the distance from the center. Common basis functions include

Multiquadric:κ(r)=1+(εr)2 (5)
Gaussian:κ(r)=e-(εr)2 (6)
Thin-platespline:κ(r)=r2logr (7)
Linear:κ(r)=r (8)

Real-valued weights, λi, satisfy the interpolation conditions at the centers,

s(xi)-g(xi)=0,i. (9)

Writing the system in linear form,

Kλ=g, (10)

where

Ki,j=κ(r(xi-xj)) (11)
λ=[λ1,λ2,,λn]T (12)
g=[g(x1),g(x2),,g(xn)]T, (13)

and assuming the problem is well conditioned, the inverse of K exists. The weights are then found using the inverse,

λ=K-1g. (14)

2.4. RBF’s for Organ-mounted Robot Localization

Although it may be possible to construct an RBF interpolant using a distance metric over an anisotropic space 20, the problem is simplified by not considering the full state space – ℝ3 × 𝕊1 × 𝕊1 (3D position, ϕC, and ϕR) – and instead solving the problem at each instant using a more standard metric over ℝ3.

At a particular instant, ϕk = (ϕCk, ϕRk), the centers of the interpolant are the predicted positions of the n motion models used during registration, {p1ϕk,p2ϕk,,pnϕk}, and the query point is the current position measurement of the robot, zϕk.

Instead of directly estimating the map coordinates, we instead attempt to learn the deformation field, or the translations required to move each center to its location on the map. This is done to first avoid the complications of singularities or constraints in spherical coordinates, and also to effectively zero-mean the data. The function to be approximated, g(·), is the difference between the registered and current locations,

g(piϕk)=S(ui)-piϕk. (15)

Localization is solved by estimating the deformation at the query point and identifying the closest point in the map to the deformed position estimate,

u=argminu(zϕk+i=1nλiκ(piϕk-zϕk)). (16)

3. Experiments

The previously described methods of localization, motion modeling and RBF approximation, were tested retrospectively on data collected during a live-animal closed-chest beating-heart procedure performed under an IACUC-approved protocol. The Lamprey robot 1 was attached to the beating heart at 108 different points in sequence and collected a time trace 30 s in duration at each point using an electromagnetic tracker (microBIRD, Ascension Technology Corp., Shelburne, Vermont, USA). Virtual image guidance was used to guide uniform coverage of the heart. The data were processed and fit using frequency-based models presented in 1, then registered to the anatomical model using the methods presented in 14. The experiments described below use leave-one-out or randomized leave-n-out sampling to define previously visited locations for interpolation.

3.1. RBF Localization Performance

Optimal localization performance with RBF approximation was achieved using a multiquadric basis function with a shape parameter ε = 1, and is shown in Fig. 4. This trial shows the mean error across all points for 20 s with estimation occurring every 0.1 s.

Figure 4.

Figure 4

Localization error using radial basis functions is essentially constant over time. This plot shows the best performance achieved, with 95% confidence interval, and uses the Cartesian distance metric, multiquadric radial basis function with ε = 1, and differential Cartesian coordinates for prediction variables.

In this trial, localization was estimated for each point in a leave-one-out fashion such that all remaining points were used as interpolation centers. The raw data for each point, which were used to construct the motion model, were used as query locations, and the error in localization was calculated as the Euclidean distance from the ground-truth location estimated during registration. The data shown in Fig. 4 are the mean and standard error across all points.

Mean localization accuracy across the entire run was 1.25 mm with a 95% confidence interval of ±0.22 mm. There is some fluctuation in the error at what appears to be the respiration period (5 s), the effect is less than 0.25 mm peak-to-peak.

3.2. Effects of Center Density

In order to determine the effects of the density of centers on localization error, experiments were conducted in which the number of interpolation centers used ranged from 100% to 20% of the total number of point observations. Uniform sampling over the surface of the heart was approximated via a sampling scheme that chose points to convert to centers which were farthest from the nearest existing interpolation center. Sampling was randomly initialized and continued until the desired number of centers was identified. For each subsampled set the average minimum inter-center distance was calculated as an approximation of center density. An example of 22 centers sampled from among the total of 108 is shown in Fig. 5.

Figure 5.

Figure 5

Approximate uniform sampling of centers from a point cloud identifies points with the greatest distance to its nearest center. This example shows 22 centers, indicated by red stars ( Inline graphic), sampled from among the total of 108.

For each set of sampled centers, prediction trials were conducted for all 108 points to estimate localization accuracy. Predictions were done for 20 s for each point at 10 Hz. Prediction errors were combined across all points and time to estimate a single mean prediction error for each set of centers. Results of these trials are shown in Table I and Fig. 6.

Table I.

Results from Center Density Experiment

Sampling Ratio No. of Centers Average Distancea (mm) Mean Error (mm) ±95% Confidence Interval (mm)
100% 107 3.9 1.25 0.22
90% 97 4.6 1.30 0.22
80% 86 5.3 1.37 0.22
70% 76 5.9 1.34 0.24
60% 65 6.7 1.43 0.24
50% 54 7.6 1.54 0.24
40% 43 8.8 1.62 0.25
30% 32 10.9 1.74 0.26
20% 22 13.4 1.99 0.29
a

Calculated as average of minimum distance between centers.

Figure 6.

Figure 6

Interpolation error using Radial Basis Functions increases as the density of centers decreases. Square markers denote mean error with error bars representing 95% confidence interval of the mean estimate. Density is approximated as the average of the minimum distance between centers.

Reduction in the density of center locations caused an expected increase in localization error. The effect is highly linear as a function of density, increasing localization error from 1.25 mm to 1.99 mm as the average spacing of centers increased from 3.9 mm to 13.4 mm. The number of interpolation centers used decreased almost fivefold from 107 to 22. Even with this significant reduction in centers, localization error remains small.

3.3. Motion Prediction Comparison

Motion-prediction localization simulations were run to provide a comparison of the localization methods. Using the method described in Section 2.1, an amplitude-modulated Fourier series model of the motion of each point was learned and used to predict the robot location at the map, phase which was then used to estimate the robot’s location on the heart. All parameters of the model were initialized to zero. Estimation was conducted for 20 s at 100 Hz sampling rate. Error was calculated as the Euclidean distance between the ground-truth location estimated during registration and the predicted location, and averaged across all points to yield mean error, shown in Fig. 7.

Figure 7.

Figure 7

Localization error using motion prediction decreases as the motion model observes more data and becomes more accurate. RBF localization results are shown for the minimum and maximum center densities tested (20% and 100%, respectively).

Because the motion-prediction scheme relies on estimating a motion model, prediction accuracy is correlated with time. As more measurements are observed, the motion models become more accurate and reduce prediction error. Also shown in Fig. 7 are the mean and 95% confidence intervals for the minimum and maximum number of centers used in the previously described RBF approximation experiments. While the motion-prediction scheme provides much more accurate estimates of position over long time horizons, more accurate estimates of location are achieved over the first 2.5 s by RBF approximation using only 22 centers, and over the first 4.5 s by RBF approximation using all 108 centers.

4. Discussion

The two localization schemes presented, motion prediction and radial basis function approximation, should be viewed as complementary approaches that may both be used in real-time operation of the robot. Although both of these approaches are built upon our previously presented methods for modeling the periodic motion of the heart 1, the two implementations use them in fundamentally different ways with complementary results. In the motion prediction scheme a single model is fit to the motion of the robot to predict where on the surface the robot lies, while in the RBF scheme models of the motion of many locations are used to interpolate the robot’s position.

The underlying difference in the two approaches is what data is used to make the predictions. In the model-based motion scheme only the data from the current location is used to predict the location of the robot on the heart, while the RBF scheme leverages data from all previously visited locations. While the data used in this paper was specifically collected for the presented experiments and densely covered the entire surface of the heart, the results show that the RBF method has advantages with as few as 20 sample locations. In real interventions these samples could be collected in a few minutes during registration.

The RBF approximation provides very accurate estimates of robot location instantaneously. This method can be used to provide reasonable estimates of robot location even when the robot is not attached to the heart. For applications that require less accurate positioning, RBF approximation may be sufficient on its own. For applications that require more accurate positioning, RBF approximation can be used over short time horizons and can then hand off estimation to the motion-prediction scheme over longer time horizons. RBF approximation may possibly even be used to ”jump-start” the motion-prediction models if an estimation scheme more complex than recursive least squares is employed for learning.

From a general perspective, the localization error achieved by using motion prediction is relatively small (approximately 3 mm) at the first time step. While this level of accuracy may be sufficient for many existing therapies, it is our expectation that the presented work will have its greatest effect in enabling new therapies that are not feasible with existing techniques.

Figure 3.

Figure 3

Data were acquired using Lamprey, a passively repositionable recording device that incorporates a single plastic ”foot” which houses a suction chamber on its bottom surface, an electromagnetic tracker probe (indicated by white arrow), and a flexible cable that protrudes from the body for manual repositioning.

Acknowledgments

This research was supported by the US National Institutes of Health (grant nos. R01HL078839 and R01HL105911). Authors M.A.Z. and C.N.R. hold equity in HeartLander Surgical, Inc.

References

  • 1.Wood NA, Schwartzman D, Zenati MA, Riviere CN. Physiological motion modeling for organ-mounted robots. Int J Med Robot. 2017:e1805. doi: 10.1002/rcs.1805. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 2.Shoham M, Burman M, Zehavi E, Joskowicz L, Batkilin YKE. Bone-mounted miniature robot for surgical procedures: concept and clinical applications. IEEE Trans Robot Autom. 2003;19(5):893–901. [Google Scholar]
  • 3.Plaskos C, Cinquin P, Lavallée S, Hodgson AJ. Praxiteles: a miniature bone-mounted robot for minimal access total knee arthroplasty. Int J Med Robot Comput Assist Surg. 2005;1(4):67–79. doi: 10.1002/rcs.59. [DOI] [PubMed] [Google Scholar]
  • 4.Costanza AD, Breault MS, Wood NA, Passineau MJ, Moraca RJ, Riviere CN. Parallel force/position control of an epicardial parallel wire robot. IEEE Robot Autom Lett. 2016;1(2):1186–1191. doi: 10.1109/LRA.2016.2530162. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 5.Tuna EE, Franke TJ, Bebek O, Shiose A, Fukumachi K, Cavusoglu M. Heart motion prediction in robotic-assisted beating heart surgery. IEEE Trans Robot. 2013;29(1):261–276. doi: 10.1109/TRO.2012.2217676. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 6.Liang F, Yu Y, Wang H, Meng X. Heart motion prediction in robotic-assisted beating heart surgery: a nonlinear fast adaptive approach. Int J Adv Robot Syst. 2013;10(82):1–12. [Google Scholar]
  • 7.Bachta W, Renaud P, Cuvillon L, Laroche E, Forgione A, Gangloff J. Motion prediction for computer-assisted beating heart surgery. IEEE Trans Biomed Eng. 2009;56(11):2551–2563. doi: 10.1109/TBME.2009.2026054. [DOI] [PubMed] [Google Scholar]
  • 8.Yuen SG, Kettler DT, Novotny PM, Plowes RD, Howe RD. Robotic motion compensation for beating heart intracardiac surgery. Int J Robot Res. 2009;28(10):1355–1372. doi: 10.1177/0278364909104065. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Richa R, Bó AP, Poignet P. Towards robust 3D visual tracking for motion compensation in beating heart surgery. Med Image Anal. 2011;15(3):302–315. doi: 10.1016/j.media.2010.12.002. [DOI] [PubMed] [Google Scholar]
  • 10.Tully S, Kantor G, Choset H. Inequality constrained Kalman filtering for the localization and registration of a surgical robot. Proc IEEE/RSJ Int Conf on Intelligent Robots and Systems (IROS) 2011:5147–5152. [Google Scholar]
  • 11.Tully S, Bajo A, Kantor G, Choset H, Simaan N. Constrained filtering with contact detection data for the localization and registration of continuum robots in flexible environments. Proc IEEE Int Conf Rob Autom (ICRA) 2012:3388–3394. [Google Scholar]
  • 12.Zhong H, Kanade T, Schwartzman D. “Virtual touch”: an efficient registration method for catheter navigation in left atrium. Med Image Comput Comput Assist Interv. 2006;9(Pt 1):437–444. doi: 10.1007/11866565_54. [DOI] [PubMed] [Google Scholar]
  • 13.Brij Koolwal A, Barbagli F, Carlson C, Liang D. An ultrasound-based localization algorithm for catheter ablation guidance in the left atrium. Int J Rob Res. 2010;29(6):643–665. [Google Scholar]
  • 14.Wood NA, Schwartzman D, Passineau MJ, Moraca RJ, Zenati MA, Riviere CN. Beating-heart registration for organ-mounted robots. Int J Med Robot. 2018:e1905. doi: 10.1002/rcs.1905. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 15.Schaback R, Franke C. Solving partial differential equations by collocation using radial basis functions. Appl Math Comput. 1998;93(1):73–82. [Google Scholar]
  • 16.Fornefett M, Rohr K, Stiehl HS. Elastic registration of medical images using radial basis functions with compact support. Comput Vis Pattern Recog. 1999:402–407. [Google Scholar]
  • 17.Tao R, Tavakoli M, Sloboda R, Usmani N. A comparison of US- versus MR-based 3-D prostate shapes using radial basis function interpolation and statistical shape models. IEEE J Biomed Heal Inform. 2015;19(2):1–12. doi: 10.1109/JBHI.2014.2324975. [DOI] [PubMed] [Google Scholar]
  • 18.Carr JC, Fright WR, Beatson RK. Surface interpolation with radial basis functions for medical imaging. IEEE Trans Med Imaging. 1997;16(1):96–107. doi: 10.1109/42.552059. [DOI] [PubMed] [Google Scholar]
  • 19.Buhmann MD. Radial Basis Functions: Theory and Implementations. West Nyack, N.Y: Cambridge University Press; 2003. [Google Scholar]
  • 20.Myers DE, De Iaco S, Posa D, De Cesare L. Space-time radial basis functions. Comput Math Appl. 2002;43(3–5):539–549. [Google Scholar]

RESOURCES