Abstract
Pose estimation methods for robotically guided magnetic actuation of capsule endoscopes have recently enabled trajectory following and automation of repetitive endoscopic maneuvers. However, these methods face significant challenges in their path to clinical adoption including the presence of regions of magnetic field singularity, where the accuracy of the system degrades, and the need for accurate initialization of the capsule’s pose. In particular, the singularity problem exists for any pose estimation method that utilizes a single source of magnetic field if the method does not rely on the motion of the magnet to obtain multiple measurements from different vantage points. We analyze the workspace of such pose estimation methods with the use of the point-dipole magnetic field model and show that singular regions exist in areas where the capsule is nominally located during magnetic actuation. Since the dipole model can approximate most magnetic field sources, the problem discussed herein pertains to a wider set of pose estimation techniques. We then propose a novel hybrid approach employing static and time-varying magnetic field sources and show that this system has no regions of singularity. The proposed system was experimentally validated for accuracy, workspace size, update rate and performance in regions of magnetic singularity. The system performed as well or better than prior pose estimation methods without requiring accurate initialization and was robust to magnetic singularity. Experimental demonstration of closed-loop control of a tethered magnetic device utilizing the developed pose estimation technique is provided to ascertain its suitability for robotically guided capsule endoscopy. Hence, advances in closed-loop control and intelligent automation of magnetically actuated capsule endoscopes can be further pursued toward clinical realization by employing this pose estimation system.
Keywords: Pose estimation, localization, capsule endoscopy, magnetic actuation, robotic endoscopy
1 Introduction
Cancers of the gastrointestinal (GI) tract are among the top three leading causes of death in many parts of the world (Siegel et al. 2016; Torre et al. 2015; Jemal et al. 2010). In many cases, if the cancer is detected early, the chance of survival is significant (Siegel et al. 2016), thus physicians commonly use endoscopes to visually explore the reachable areas of the GI tract for signs of early cancer. However, due to their mechanics and method of actuation, current endoscopes have been reported to cause tissue damage and patient discomfort and, as a result, discourage patients from participating in recommended screening procedures (Bynum et al. 2012). Furthermore, certain areas of the GI tract (e.g. the small intestine) remain difficult to reach due to the use of semi-rigid conventional endoscopes. In the past two decades, attempts to mitigate these limitations have spurred the development of various devices that can be used to visually explore the GI tract (Slawinski et al. 2015; Valdastri et al. 2012b; Amoako-Tuffour et al. 2014). In this still active area of research, magnetically actuated mesoscale devices (capsules) have shown great promise in being maneuverable while significantly decreasing the risks associated with standard endoscopies (Sliker and Ciuti 2014). In particular, actively controlled devices, where magnetic fields are generated or manipulated via computer algorithms, have the potential to revolutionize GI endoscopy and transform the perception of patients toward recommended screening procedures (Slawinski et al. 2015).
In order to apply the necessary forces and torques, magnetic actuation systems need accurate estimates of the capsule’s pose. Despite their high levels of accuracy, commercially available electromagnetic tracking systems such as the NDI Aurora (Northern Digital Inc., Waterloo, ON, Canada) and the Ascension trakSTAR (Ascension Technology, Burlington, VT, USA) are incompatible with magnetic actuation due to magnetic distortions caused by the magnets found in the capsule and the actuator (Franz et al. 2014).
As such, several groups have proposed pose estimation methods with varying degrees of accuracy, workspace size, estimation time, and achievable degrees of freedom (Than et al. 2012). A subset (Salerno et al. 2012; Di Natali et al. 2013, 2016; Popek and Abbott 2015; Aoki et al. 2010) of these methods have contributed to the recent advances in robotically guided magnetic capsule endoscopy where trajectory following (Taddese et al. 2016b; Popek et al. 2017) and automation of repetitive endoscopic maneuvers (Slawinski et al. 2017) were demonstrated.
In particular, Salerno et al. (2012) demonstrated that an external permanent magnet (EPM) mounted on a robot manipulator, together with magnetic field and inertial sensors inside the capsule, can be used for estimating the position of the capsule. Their approach however was not real-time and required the separation of actuation and pose estimation steps. Di Natali et al. (2013) improved upon this system by creating an efficient algorithm that exploited the axial symmetry of cylindrical magnets to create a real-time 6 degrees-of-freedom (DOF) pose estimation system. They also provided a more computationally efficient iterative algorithm with an update rate faster than 100 Hz (Di Natali et al. 2016).
A thorough analysis of the workspace of the aforementioned real-time pose estimation methods (Di Natali et al. 2013, 2016) identifies singularities in certain regions of the workspace leading to the loss of estimation capability. The assumption made in these algorithms is that for a given pose of the EPM, there is a bijective mapping from all positions in the workspace to magnetic field vectors and that changes in magnetic field always occur for changes in position. We show in Section 3 of this paper that this assumption fails to hold on the singularity plane of the EPM defined as the plane normal to the dipole moment that passes through the center of the magnet (see Figure 2). Certain applications of robotically guided magnetic capsule endoscopy require the capsule to be nominally located in this region during clinical procedures, thus, this limitation hinders future clinical use of these devices (Taddese et al. 2016a,b; Slawinski et al. 2017; Mahoney and Abbott 2015). This problem requires additional sources of information to constrain the number of solutions found by the algorithms. Further drawbacks of these pose estimation methods come from the need for accurate initialization of the capsule’s yaw angle (see Figure 1) with respect to a global frame and the susceptibility of the estimated yaw angle to drift. Yaw angle errors arising from these issues lead to reduced accuracy in the overall estimated pose. Unlike pitch and roll angles, which are determined from the acceleration due to gravity, this issue exists for the yaw angle owing to the strong magnetic field from the EPM rendering the earth’s magnetic field unusable as an absolute reference. Aside from the inconvenience of performing accurate initializations every time the software is started, it is important to consider the implications in clinical settings. That is, if the algorithm is restarted for any reason during a procedure, it will be extremely difficult to reinitialize the yaw angle while the capsule is inside a patient.
Figure 2.
Application scenario of active magnetic manipulation of a capsule endoscope using a permanent magnet mounted at the end effector of a robot manipulator
Figure 1.
Definition of roll (ϕ), pitch (θ), and yaw (ψ) angles
This paper introduces, for the first time, a hybrid system that combines static and time-varying magnetic field sources to create a robust and clinically viable magnetic pose estimation method for robotically guided magnetic capsule endoscopy. While this paper presents the method in the context of solving the singularity and yaw initialization problems in a specific magnetically actuated soft-tethered capsule endoscopy system shown in Figure 2, the approach presented here can be applied to other tethered and untethered devices. Furthermore, we note that any source of magnetic field that, for the purpose of actuation, can be sufficiently approximated by the point-dipole magnetic field model exhibits the singularity described in Section 3. This affects any pose estimation method that uses a single source of magnetic field with the exception of methods that make multiple measurements while rotating or translating the magnet, such as the one used by Popek et al. (2017). Therefore, the methods described herein can be adopted in other systems with different schemes of magnetic actuation. The assumption made in this paper is that, similar to the capsules in Salerno et al. (2012); Di Natali et al. (2013, 2016), the capsule contains one inertial sensor (IMU) and at least three single axis magnetic field (Hall effect) sensors arranged orthogonally so as to measure the magnetic field in all three axes. While it is further assumed that the capsule contains a permanent magnet in order to enable magnetic actuation, our method can be used in applications where this internal magnet is not necessary (Beccani et al. 2013). An additional contribution of this paper stems from our use of a state estimation technique based on a parallel implementation of a particle filter to combine all available sensor information in a stochastic framework. Experimental demonstration of closed-loop control of a tethered magnetic device making use of the developed pose estimation technique is also provided in order to ascertain that the technique is suitable for its intended application.
2 Related Work and Clinical Motivation
Systems for active magnetic actuation generally use either electromagnets or permanent magnets to generate and control external magnetic fields. The forces and torques created by these fields provide a mechanism for wirelessly actuating capsule-like magnetic devices inside the patient. The use of electromagnets has been reported in (Keller et al. 2012; Petruska and Abbott 2014; Lucarini et al. 2015). Despite their advantage of greater controllability, their limitations with respect to their cost, large size, small workspace, and need for large electrical currents have yet to be overcome. Consequently, permanent magnets are becoming the more common choice of actuation for these systems since they are able to maintain compact form factors while being able to efficiently induce relevant forces and torques on the capsule (Carpi and Pappone 2009; Valdastri et al. 2012a; Mahoney and Abbott 2015). While it is possible to have an arrangement of permanent magnets that are fixed in space but are allowed to rotate for actuation (Ryan and Diller 2016), their workspace is severely limited without using extremely large magnets (Carpi and Pappone 2009). A better trade-off between magnet size and workspace can be achieved by using a single permanent magnet mounted on a 6 DOF robot manipulator, as used by our group and other researchers worldwide (Wang et al. 2010; Salerno et al. 2013a; Valdastri et al. 2012a; Mahoney and Abbott 2014, 2015; Taddese et al. 2016a,b; Slawinski et al. 2017).
Notwithstanding how the external magnetic field is generated, existing magnetic actuation systems can also be classified based on the method of propulsion used: (1) rotational propulsion via magnetic torque where the capsule is rotated to create rolling (Yim and Sitti 2012; Mahoney and Abbott 2011; Maul and Alici 2013) or spiral motion (Ishiyama et al. 2001; Sendoh et al. 2003; Fountain et al. 2010; Zhou et al. 2013; Mahoney and Abbott 2014; Ye et al. 2015), and (2) direct propulsion by simultaneously using magnetic force and torque (Valdastri et al. 2012a; Lucarini et al. 2015; Mahoney and Abbott 2015; Taddese et al. 2016a) to translate the capsule and control its orientation. Since the force and torque induced by the external magnetic field drop as and respectively, where r is the distance between the source and the capsule, using the torque for propulsion is preferable. However, current rotational propulsion systems designed for GI exploration rely on friction against lumens, and thus can only be propelled in collapsed lumens resulting in reduced polyp detection efficiency in parts of the GI tract such as the colon.
In this paper, we focus on direct propulsion systems, which have been used on tethered (Valdastri et al. 2012a; Lien et al. 2012; Taddese et al. 2016a,b; Slawinski et al. 2017) and untethered (Mahoney and Abbott 2015; Denzer et al. 2015) devices. With the use of a robot manipulator, direct propulsion systems have been demonstrated on soft-tethered devices, which have extended capabilities such as video streaming, therapeutic tools, insuation and water irrigation (Valdastri et al. 2012a).
Despite the differences in how the driving magnetic fields are generated and what method of propulsion is used, actively controlled magnetic actuation systems require pose estimation in order to successfully translate to clinical settings. We make a distinction here from current clinical methods that localize the capsule relative to anatomical landmarks for subsequent treatment (Than et al. 2012; Slawinski et al. 2015). In this work, we focus on techniques that estimate the pose of the capsule with respect to a fixed global frame so as to enable closed-loop control. The majority of prior works in the literature assume that the capsule is free to move inside the patient once the lumen is distended with gas or liquid. Therefore, the externally generated magnetic field is controlled with the expectation that the capsule would align to it (Mahoney and Abbott 2015). While this assumption may hold true in most cases, there are often occasions when the capsule gets trapped in a tissue fold and the magnetic coupling is lost. This can be ascertained from results reported from comparative trials where open loop systems were used. In Arezzo et al. (2013), a robot manipulator with a permanent magnet was used to drive a tethered capsule in a phantom ex-vivo model of the colon and procedure times were three times longer when compared against standard endoscopy due to repeated loss of magnetic coupling. In Denzer et al. (2015), a magnetic resonance imaging (MRI) machine was modified by a joint team of researchers from Olympus and Siemens for magnetic actuation of an untethered device in the stomach. In their clinical trial, a low lesion detection sensitivity of 61.9% was reported suggesting difficulty in maneuvering. These results demonstrate the acute need for closed-loop systems that utilize pose estimation feedback.
The criteria for success of a pose estimation algorithm for robotic capsule endoscopy is three fold. First, a level of accuracy suitable for closed-loop control is needed. Since there is no established benchmark for accuracy in magnetic capsule endoscopy applications, our goal in this paper is to achieve equivalent or better performance as prior pose estimation methods where closed-loop control has been demonstrated. Second, the system must have an update rate appropriate for real-time operation. Although difficult to define precisely, a rate of 100 Hz or faster is generally considered acceptable. This allows the robotic controller to compensate for any deviation of the capsule from the commanded pose or trajectory promptly so as to ensure the safety and clinical efficacy of the system. Finally, the workspace for the pose estimation system must be compatible with endoscopic magnetic actuation, which has a typical working distance of 150mm (Ciuti et al. 2009).
3 Background
For the sake of completeness, a summary of the pose estimation methods described in Di Natali et al. (2013) and Di Natali et al. (2016) is given here. Then, the problems of singularity regions and yaw initialization are explained in further detail. Hereafter, bold letters indicate vectors (v) or vector valued functions (B), a hat over a bold letter indicates a unit vector (v̂), and except otherwise stated, an uppercase italicized letter indicates a matrix (M). I denotes the identity matrix.
In both methods of pose estimation, the capsule has six Hall Effect sensors in an arrangement that approximates a pair of 3-axis Hall Effect sensors separated by a known distance. Inertial sensors are also available and are used to rotate sensor readings into the frame of the EPM.
3.1 Summary of Existing Pose Estimation Methods
In the method reported in Di Natali et al. (2013), a look-up table mapping a uniform grid of positions in cylindrical coordinates to magnetic field vectors is generated offline using a finite element method (FEM) software according to the magnetic current model B : ℝ3 → ℝ3:
(1) |
where p is a point on the uniform grid, p′ is a point on the surface of the EPM and jm is the equivalent surface current density of the EPM. The authors take advantage of the azimuthal symmetry of their cylindrical EPM to reduce the dimension of the look-up table to a plane. This symmetry can be exploited in cylindrical and spherical magnets, but is not available in other geometries such as cuboid magnets. During operation, the yaw angle of the capsule is first initialized to a known value. For each magnetic field measurement, a sequential search of the look-up table is performed to find the two points that closely match the measured magnetic fields from each pair of Hall sensors. The average of these two points is taken as the center of the capsule. A new yaw angle is then calculated based on the line segment between the two points.
In the approach described in Di Natali et al. (2016), an iterative method is used where small changes in magnetic field are linearly mapped to small changes in position by the Jacobian of (1):
(2) |
In order to efficiently compute this Jacobian, a look-up table mapping positions in cylindrical coordinates to Jacobians is generated offline on a uniform grid of points. During operation, the position and yaw angle are first initialized to known values. Designating a measured magnetic field vector as b, for each iteration, changes in magnetic field are computed as Δb = bnew − bold. The new position is then determined as:
(3) |
The orientation is determined by applying inertial navigation algorithms on accelerometer and gyroscope measurements.
3.2 Limitations of Existing Pose Estimation Methods
For theoretical analysis, without any loss of generality, we will assume the EPM is an axially magnetized cylindrical magnet, but the principles of singularity described herein apply to all magnets that can sufficiently be approximated by a dipole model. The magnetic field of the EPM, BE : ℝ3 → ℝ3, is then given by:
(4) |
where p is the vector from the EPM to the capsule, is the unit vector along p, and mE is the dipole moment of the EPM. Since the accuracy of this model increases as ||p|| gets larger (Petruska and Abbott 2013), it is adequate for characterizing singularity regions.
3.2.1 Regions of Magnetic Field Singularity
Assuming the orientation of the capsule is accurately determined, position estimation can be expressed by the nonlinear inverse problem . A region of singularity is where infinite solutions exist to this problem. Let ℘s designate the plane that is normal to the dipole moment and passes through the center of the EPM, i.e., . On this plane, we have:
(5) |
(6) |
(7) |
Since is constant in the EPM frame and ||BE(p)|| changes only when |p|3 changes, the set of solutions to is a circle of radius r on ℘s defined as Cs = {cs ∈ ℘s | ||cs|| = r}. That is, when the capsule is located on ℘s, there exist an infinite number of vectors of equal magnitude and direction forming a circle Cs on ℘s and centered on the EPM rendering infinite solutions to . Therefore, additional information is required to constrain the solution to a single pose.
Additional insight as to where the regions of singularity occur can be gained by analyzing the Jacobian, J, of (4) with respect to p. Figure 3 shows the condition number of J, defined as the ratio of the maximum and minimum singular values of J, i.e., on three different planes including ℘s. As indicated by the colors in the figure, J becomes ill-conditioned near ℘s and becomes singular on ℘s while the planes parallel to ℘s but farther from the center of the magnet are non-singular.
Figure 3.
Regions of magnetic field singularity as indicated by high condition numbers of the Jacobian matrix. Note that the plot shows a plane near the singularity plane ℘s because the condition number on ℘s is infinite. Two other planes parallel to ℘s are displayed to show that the singularity region only exists near the center of the magnet.
3.2.2 Yaw Angle Initialization
Both algorithms in Di Natali et al. (2013) and Di Natali et al. (2016) require the accurate initialization of the yaw angle. Since both algorithms depend on converting the measured magnetic fields from the capsule’s reference frame to the EPM’s reference frame, the solutions found by the algorithms are sensitive to yaw angle errors. As discussed earlier, both algorithms use an incremental approach to estimate the yaw angle and are prone to sensor noise with errors increasing with longer periods of use.
To determine the sensitivity of these algorithms to yaw angle error, Monte Carlo simulations were performed at random positions in a 300mm × 300mm × 150mm workspace centered on the EPM. Position errors were obtained by computing the distance between the true position of the test point from the simulated point. At each point, the yaw angle error ranged from 0° to 5°. As shown in Figure 4, distance errors can be as high as 15mm in some regions of the workspace for a yaw angle error of 5°. While an error of 15mm might be acceptable for closed-loop control, with the addition of errors from sensor bias and noise, the total error might be much higher. Furthermore, although it can be argued that one can initialize the yaw angle to within 5° of the true yaw, accurate initialization of the yaw angle can be very difficult in clinical settings after a procedure has been started. The pose estimation methods in Di Natali et al. (2013) and Di Natali et al. (2016) would require the capsule be removed from the patient, reinitialized, and reinserted leading to prolonged procedure times.
Figure 4.
Position error as a function of yaw error. The errors can be as high as 15 mm in some regions of the workspace for a yaw angle error of 5°.
4 Methods
4.1 Hybrid Magnetic Field
As shown in Figure 5, if we augment the system with an electromagnetic coil that generates a weak time-varying magnetic field and attach it to the EPM such that their dipole moments are orthogonal, the static field of the EPM and the time-varying field of the coil can be used simultaneously to obtain an additional set of equations that allow for solving for the position and yaw angle of the capsule.
Figure 5.
EPM augmented with an electromagnetic coil.
Orthogonal collocation of the EPM and the electromagnetic coil ensures that in the singularity region of the EPM, the magnetic field of the coil is always orthogonal to the magnetic field of the EPM. If instead the coil was placed at a fixed location, e.g. embedded in the surgical table, it would be possible for the magnetic fields of the EPM and the coil to become aligned during magnetic manipulation. If this alignment were to happen in the singularity region of the EPM, the number of available equations for solving the inverse problem would be reduced. As a result, the singularity problem remains unmitigated. Another benefit of collocation is that it allows for a dynamic workspace that moves with the actuating magnet. This ensures that an adequate signal to noise ratio is maintained at the location of the capsule without requiring a large electromagnet.
For a given workspace, the time-varying field is made strong enough to be detected by the magnetic field sensors in the capsule without inducing enough force and torque to physically affect the capsule’s pose. A time-varying signal is used in order to measure the magnetic fields of the EPM and the coil separately. In contrast, if two static magnetic fields were used, it would not be possible to make separate measurements owing to the principle of superposition where the vector sum of the magnetic fields is measured. This is not desirable as it reduces the number of available equations. Goertzel’s tone-detection algorithm (Goertzel 1958; Turner 2003) is used to extract the magnitude and phase of the time-varying signal for each sensor. The measured values are assembled to create a vector that allows us to treat the coil as if it were another permanent magnet with the same origin as the EPM.
For the following analysis, measured magnetic fields from the EPM ( ) and electromagnetic coil ( ) are rotated to the EPM frame by the following expression:
(8) |
(9) |
For notational convenience, we omit the frame designator, (·)E, for vectors expressed in the EPM frame (see Figure 6). The rotation matrix represents the rotation of the world frame (w) with respect to the EPM frame (E) and is assumed to be known from the robot manipulator. is the rotation of the capsule’s sensor (s) frame with respect to the world frame. Due to yaw angle initialization errors, is unknown and has to be solved for in our algorithm. It is useful to view this matrix as:
(10) |
where
Figure 6.
Coordinate frames of the magnetic pose estimation system showing the global frame (w), the capsule’s sensor frame (s) and the EPM frame (E).
(11) |
is the rotation of the capsule’s sensor frame (s) with respect to the world frame (w) computed using inertial measurements, and γ is the yaw angle error. The tilde symbol (·̃) is used to indicate that there is yaw angle error in the rotation matrix.
Incorporating the capsule orientation and the new additional magnetic field, the new system of equations is given by:
(12) |
(13) |
where
(14) |
(15) |
and mE and mC are the dipole moments of the EPM and coil respectively. Without any loss of generality, we will assign the dipole moment direction vectors to and . Substituting into (12) and (13) and simplifying, we have:
(16) |
(17) |
which expands to
(18) |
(19) |
We analyze these algebraic equations to determine if there are singularities in the hybrid system that would result in infinite solutions to the inverse problem of finding the pose given magnetic field measurements. We do not imply that the equations can be used directly to solve for the unknowns. Nevertheless, the analysis, without the need for extensive simulations, shows that an additional magnet placed orthogonally gives enough information so that a nonlinear solver can find a unique solution. However, the analysis does not take into account the stochastic nature of the signals; therefore, for practical implementation, we use the particle filter based state estimator described later in Section 4.2.
In most cases, the system is over-determined and the unknown values can be solved. However, due to the symmetry of magnetic fields, it is possible to find more than one solution to the system of equations, yet the number of solutions is always finite. Further, multiple solutions due to symmetry exist in disjoint regions of the workspace making it possible to choose proper solution based on previous poses of the capsule. From (16) and (17), we note that if γ is known as a result of accurate initialization as assumed in Di Natali et al. (2013, 2016), the singularity problem is eliminated. That is, if either p̂x = 0 or p̂z = 0, (16) or (17) can be used to estimate the capsule’s position respectively. If both p̂x and p̂z are zero, we immediately know p̂y = ±1 and |p| can be determined from either (16) or (17).
If γ is not known, we have three conditions, namely, no singularity, singular region of one magnet (EPM or coil), and singular region of both magnets (EPM and coil):
p̂x ≠ 0 and p̂z ≠ 0: Not in singularity. The system is overdetermined and all unknowns, p̂x, p̂y, p̂z, |p| and γ, can be solved.
-
Either p̂x = 0 or p̂z = 0 : The two cases represent singular regions for each magnet. However, p is only in the singularity region of one of the magnets. We show in either case that all unknowns can be solved.
-
p̂x = 0: Applying this constraint, we have:
(20) (21) (22) (23) We note that |p| can be solved from (23) sincep̂z can then be solved from (22), and p̂y can be solved from the unity constraint |p̂| = 1. Although multiple solutions are possible for p̂y and p̂z due to the square root terms, as mentioned earlier, workspace and continuity constraints can be used to eliminate wrong solutions. Since only γ is left unknown, it can be solved as the angle between the measured and calculated magnetic field vectors projected on the the xy-plane. A more robust solution can be found by casting it as a least squares optimization problem,(24) where P is a projection matrix onto the xy-plane and BE(p) and BC(p) are the calculated magnetic field vectors at p, which has already been determined. A well known closed form solution for (24) can be found in the literature (Arun et al. 1987).
-
p̂z = 0: Similarly, we have:
(25) (26) (27) (28) Here, |p| can be solved from (27). p̂x can then be solved from (28) and p̂y from the unity constraint |p̂| = 1. Finally γ can be found using (24).
-
-
p̂x = 0 and p̂z = 0: This condition occurs when p is in the singularity region of both magnets. From the unity constraint, p̂y = ±1. After substitution, we have:
(29) (30) (31) (32) |p| can readily be solved from (31) or (32) and can be found using (24).
4.2 Magnetic Pose Estimation with Particle Filters
Particle filters or Sequential Monte Carlo methods (SMC) are a class of recursive Bayesian state estimation techniques often used for object tracking and localization (Chen 2003). In these methods, the posterior distribution, p(xk|z1:k), of the state xk at time k conditioned on a time series of measurements z1:k = {zi, i = 1, 2, … , k} is represented by a set of point masses or particles with corresponding importance weights, . The nonparametric representation of the probability density function (pdf) and the use of Monte Carlo techniques allow particle filters to overcome limiting assumptions made in other state estimation techniques such as Kalman filters (Chen 2003), where process and measurement models are linear and noise distributions are Gaussian.
In this paper, we use the sampling importance resampling (SIR) variant of the particle filter (Gordon et al. 1993). At each time step, the SIR algorithm performs a prediction, which consists of drawing samples from the prior density, , creating a new set of particles. The process model of the system , where is the process noise, can be used to generate a sample where the pdf is assumed to be known. The importance weights of the newly sampled particles are then updated based on the likelihood function , which makes use of the measurement model zk = h(xk, nk) where nk is the measurement noise. After normalization of the importance weights, a resampling step is performed. This step samples from the set of particles with replacement so as to eliminate particles with small weights and reinforce particles with large weights. Resampling is necessary in order to avoid a condition known as “weight degeneracy” or “sample impoverishment” where only a few particles are left with nonzero weights after a few iterations of the algorithm. The resampled set of particles is the discrete approximation of the posterior p(xk|z1:k). A more detailed account of particle filters and the SIR algorithm can be found in Arulampalam et al. (2002) or Chen (2003).
For the present problem of magnetic pose estimation and tracking, we first make use of the complementary filter of Mahony et al. (2008) for fusing accelerometer and gyroscope measurements. The output of the filter is an estimate of the capsule’s rotation with an unknown yaw offset, γ. The position of the capsule and the yaw angle offset comprise the state, , to be estimated with respect to a world frame.
4.2.1 Process Model
It is known that using a process model that incorporates actuation control inputs would lead to better state estimation. However, in applications such as magnetically actuated capsule endoscopy, the motion of the object being tracked can be, at times, significantly different from commanded motion due to environmental factors (e.g., capsule trapped in a tissue fold, peristalsis), making it difficult to construct an accurate motion model. In this paper, we demonstrate that it is sufficient to use the random walk process model given by:
(33) |
where
(34) |
is a sample from a normal distribution and Q is a covariance matrix empirically chosen as a trade-off between convergence speed and jitter of the pose estimate. For our experiments, Q = diag(0.0015, 0.0015, 0.0015, 0.01)
4.2.2 Measurement Model
As shown in Figure 8, our system uses six single axis Hall effect sensors positioned in the capsule so as to approximate two triaxial sensors. We use a signal processing technique to separately measure the magnetic fields from the EPM and the electromagnetic coil (see Section 5). Given the relative position vector, , of each Hall sensor from the center of the capsule, the sensor output is computed as the projection of the magnetic field at the sensor in the direction of the sensor’s normal vector, .
Figure 8.
The six Hall effect magnetic field sensors and the inertial measurement unit (IMU) found inside the capsule. is relative position vector of each Hall sensor from the center of the capsule and is each Hall sensor’s normal vector, which corresponds its the sensing direction.
(35) |
(36) |
where i = 1, 2, … , 6 and is the homogeneous transformation of the capsule’s frame with respect to the EPM frame given by:
(37) |
(38) |
and is the transformation of the world frame with respect to the EPM frame (see Figure 6), which is assumed to be known from the forward kinematics of the robot manipulator. We will denote magnetic field values calculated using (35) and (36) as . We assume that our the sensors’ noise is normally distributed. Thus, given a set of sensor measurements, zk ∈ ℝ12, our likelihood function is:
(39) |
where R ∈ ℝ12×12 is a covariance matrix that characterizes the noise in the magnetic field sensors and | · | is the determinant operator. Wz ∈ ℝ12×12 is a diagonal weight matrix used to normalize the three orders of magnitude difference in the sensor outputs for the EPM and the coil. We found that the presence of Wz in the likelihood function to be of extreme importance. If left out, the likelihood function would be dominated by the error residuals from the EPM readings because the magnetic fields from the coil are very weak. This amounts to the algorithm completely ignoring the readings from the coil thereby facing the same challenges of singularity of a single EPM described in Section 3.2.1.
The choice of a magnetic field model for BE and BC directly impacts the accuracy of the pose estimate. Choosing the point-dipole model shown in (4) would result in reduced accuracy when the capsule is in close proximity to the source of external magnetic field. This is at odds with magnetic actuation because close proximity is necessary to induce enough force and torque; therefore, a better model is needed. Only spherical magnets would not exhibit this problem as (4) is known to perfectly model their magnetic fields (Petruska and Abbott 2013). For cylindrical magnets, while it is possible to employ finite element methods as used in (Salerno et al. 2013b; Di Natali et al. 2013, 2016), a more efficient closed form solution is available from Derby and Olbert (2009) using the generalized complete elliptic integral:
(40) |
which can be numerically solved in an efficient manner by using Bulirschs algorithm (Derby and Olbert 2009). For an electromagnetic coil with length 2b, radius a, turns per unit length n and current I, the magnetic field components in cylindrical coordinates (ρ, φ, z) are:
(41) |
(42) |
(43) |
where
(44) |
(45) |
(46) |
(47) |
(48) |
(49) |
For a permanent magnet with the same dimensions, the magnetic remanence Br is equivalent to μ0nI, thus (44) becomes
(50) |
It is worth mentioning that in order to use this model at our desired update rate of 100 Hz, it was necessary to generate a look-up table that maps positions to magnetic field vectors. Without a look-up table, the update rate was reduced to 65 Hz using an Intel i7@3.60 GHz CPU.
4.2.3 Final Pose Estimate
The final pose estimate can be inferred from the posterior distribution, p(xk|z1:k), represented by the particles. The maximum a posteriori (MAP) estimate, defined as:
(51) |
is known to be a good estimate of the true state, especially in pose estimation applications where the posterior can be multimodal (Saha et al. 2009). One way to obtain the MAP estimate is to take the particle with the largest weight. The resultant estimate using this approach, however, can be very jittery. Therefore, in this paper, we use the robust mean, , which is the weighted sum of particles inside a ball centered on the particle with the largest weight, xk;max weight:
(52) |
where N is the number of particles. The function d : ℝ3 × 𝕊1 → ℝ is given by
(53) |
where Wx is a diagonal weight matrix and η is the desired radius of the ball. In our experiments, we set Wx = diag(1, 1, 1, 0) and η = 0.1.
When computing summations on γ ∈ 𝕊1, we use the mean of circular quantities as the simple arithmetic mean is not suitable. This operation is given by:
(54) |
The reconstructed pose estimate is finally given by:
(55) |
4.2.4 Initialization
Since our objective is to avoid accurate initialization, the particles are initialized by drawing from a uniform distribution within the bounds of a predefined workspace. Correspondingly, no initialization of the pose is required. The particle filter quickly converges solving for the position and the yaw offset. However, at least for initialization, the workspace should be set such that only one solution is available. This is accomplished by constraining the workspace to be contained in a single hemisphere of either the EPM or the electromagnetic coil. This constraint is necessary for all pose estimation techniques that use magnets with symmetrical magnetic fields.
5 System and Software Environment
5.1 Overview of the system
A general overview of the experimental setup is shown in Figure 7. At the end-effector of the 6 DOF robot manipulator (RV6SDL, Mitsubishi, Inc., Japan), a Neodymium Iron Boron (NdFeB) cylindrical permanent magnet (N52 grade, 101.6mm diameter and length, ND N-10195, Magnetworld AG, Germany) with axial magnetization and 1.48T remanence is held by means of a 3D printed box. An additional 3D printed structure holds the electromagnetic coil, which is built using 24 AWG wire with 160 turns arranged in two overlapping layers. Its diameter and height are, respectively, 180mm and 40mm. A second robot manipulator (RV6SDL, Mitsubishi, Inc., Japan) holds the capsule for precise ground truth measurements. The two robots are registered by least squares fitting a set of jointly measured 3D points (Arun et al. 1987).
Figure 7.
Experimental setup of the Magnetically Actuated Capsule (MAC) used in this paper.
The capsule (20mm diameter, 22mm length) has a soft-tether that enables functionalities that are commonly found in a traditional endoscope such as vision, illumination, insufflation, irrigation and the passage of endoscopic tools for biopsy. The soft-tether is also used as a channel for electrical wires connecting the internal sensors of the capsule to a signal acquisition unit. The capsule itself contains a small axially magnetized cylindrical NdFeB permanent magnet (N52 grade, 11.11mm diameter and length, D77-N52, K&J Magnetics, USA) with a magnetic remanence of 1.48 T. As shown in Figure 8, six Hall effect sensors (A1391, Allegro Microsystems, USA) are placed around the magnet so as to approximate two triaxial Hall sensors separated by a constant distance. The sensors are placed in locations where they are not saturated by the magnetic field from the internal magnet. Once assembled, a bias measurement of the magnetic fields is performed away from an external source of magnetic field. The biases are saved and are removed from sensor measurements during the operation of the pose estimation algorithm. In addition, the capsule contains an inertial measurement unit (LSM330DLC, STMicroelectronics, Switzerland) that is used to compute the orientation of the capsule with an unknown yaw offset. An illustration of the robotic magnetic actuation system is given in Extension 1. The generation of the input signal for the coil and the processing of data are achieved through a custom built circuit system that consists of the STM Nucleo development board (STM32F411RET, ARM Cortex M4) and a driver circuit, which are described more in detail in the following section.
5.2 Time-varying magnetic field
The electromagnetic coil, used to generate a time-varying magnetic field, is designed to satisfy two main constraints. First, it has to be small enough so as to not collide with the environment or the patient during a clinical procedure. Second, it needs to be able to generate a magnetic field strong enough to be detected by our sensors within the desired workspace. The design parameters were current, coil radius, number of wire turns, and number of wire layers. In order to determine the optimal values for the parameters, nonlinear optimization was performed using MATLAB (Mathworks, USA) where the volume of the coil was the minimization objective. In order to ensure adequate signal-to-noise ratio in the desired workspace, a larger workspace of 300mm was used in the optimization. The minimum magnetic field strength that can be measured by the Hall effect sensors at the boundary of this workspace was constrained to be above the noise floor of the sensors (10 μT).
The mechanical enclosure for the coil was designed to slide along the outer edges of the EPM in order to achieve the smallest volume for the whole assembly while minimizing the risk for collision with the other links of the robot. This implies that the coil and the EPM may not be centered at the same location; thus, the position of the coil with respect to the EPM was a parameter in our algorithm. For our experiments, the center of the coil was 45mm away from the center of the EPM along the x-axis of the EPM. It is worth mentioning, however, that varying this distance did not have a noticeable impact on the performance of the pose estimation system.
The time-varying signal was generated by the electromagnetic coil using an off-the-shelf H-bridge in combination with pulse width modulation (PWM) signals from the Nucleo development board. The resistance of the coil was measured to be 7 and its theoretical inductance was calculated to be 6.2 mH. A bench-top power supply was connected to the H-bridge with a set voltage of 17.3V resulting in an average current of 0.71A for a total power of 12.3W. The particular time-varying signal used was a square wave at a frequency of 300 Hz. This frequency was chosen because it allows for a sufficient number of wavelengths to be sampled within the sampling window of 10 ms. It is also low enough that no absorption of the magnetic field occurs as it passes through the human body (Sharma and Guha 1975). Furthermore, due to the high coercivity of NdFeB, from which the EPM is made, the effect of the relatively weak magnetic field generated by the coil on the EPM is negligible. Conversely, since the permeability of the EPM is very close to that of vacuum, the EPM does not act as a ux concentration device, such as soft iron. Thus, the magnetic field generated by the coil is not significantly affected by the presence of the EPM.
5.3 Signal Processing
The Nucleo development board was used to acquire data from the capsule’s internal sensors. The IMU was sampled at a rate of 100 Hz, while the Hall sensors were sampled at a rate of 18 kHz via a 16-bit analog-to- digital converter (AD7689, Analog Devices, USA) inside the capsule. By default, a Hall sensor measures the superposition of all static and time-varying signals at a point in space. In order to separately measure the strengths of the magnetic fields generated by the EPM and the coil, signal processing techniques were used. First, by using a sampling time window that was an integer multiple of the period of the time-varying signal, we ensured that the signal’s mean was zero. The EPM measurement was then obtained by simply averaging the raw sensor readings. To recover the amplitude of the time-varying signal, we used Goertzel’s algorithm (Goertzel 1958; Turner 2003), an efficient filter commonly used for tone detection. Two instances of the algorithm were run with 10 ms and 30 ms time windows respectively. The output from 10 ms instance was less reliable due to its relatively large bandwidth, but it provided the desired update rate for real-time pose estimation. The 30ms instance contained enough samples to apply data windowing functions (e.g. Blackman) making its bandwidth much narrower (Harris 1978). The particle filter described in Section 4 used the outputs of both instances, but assigned a lower weight to the 10 ms instance and only used it while the output from the 30 ms instance was pending.
It is worth mentioning that our scheme of sampling the sensors inside the capsule utilizes the serial peripheral interface (SPI) between the sensors and the microcontroller on the Nucleo board. To adapt our signal acquisition to wireless devices, it would be necessary to embed the microcontroller inside the capsule and only send the processed data wirelessly. This is because a wireless transceiver would be the most power intensive component in a wireless device that contains the same set of magnetic and inertial sensors as our capsule. Reducing the sampling rate of the magnetic field sensors would further conserve energy, however, doing so would negatively affect the tone detection algorithm by increasing its bandwidth. As a result, the overall system would be more susceptible to noise.
Examples of wireless devices that use a similar set of sensors can be found in the literature. The capsule in (Di Natali et al. 2014) contained the Allegro A1391 Hall effect sensors as well as the STMicroelectronics LIS331DLH accelerometer and used the Texas Instrument C2530 System-On-Chip microcontroller for data processing and wireless communication. The resulting capsule had a length of 60mm and diameter of 18mm which is approximately 2.3 times times the size of commercially available capsule endoscopes. Similarly, Popek et al. (2017) used the Allegro A1392 Hall effect sensors and the CC2530 in their capsule. The resulting capsule had a length of 42mm and diameter of 13.5mm which is approximately 1.4 times the size of commercially available capsule endoscopes (Popek et al. 2017).
5.4 Parallel Particle Filter Implementation
Our implementation of the particle filter makes use of the SMCTC C++ library (Johansen 2009). Modifications to the library were made to enable parallel computation where possible using the OpenMP API (OpenMP Architecture Review Board 2011). In particular, the update phase of the algorithm, where the likelihoods are computed, benefited from parallelization as the calculations for each particle are independent and computationally intensive. With these modifications, we were able to use 10000 particles on 4 cores of an Intel i7@3.60 GHz CPU with an average update rate of 100 Hz.
6 Experimental Validation and Results
In light of the criteria of success mentioned in Section 2, the pose estimation algorithm was experimentally validated in static and dynamic conditions. In the static condition tests, both the capsule and the EPM were fixed in known poses making it possible to compute average errors at each position including positions in the singular regions of the EPM and the coil. The dynamic test involved moving the capsule and/or the EPM at fixed speeds to characterize trajectory errors.
6.1 Validation in static conditions
As shown in Figure 7, the capsule was inserted into a 3D printed enclosure and secured to the secondary robot manipulator that was positioned in a known pose relative to the first robot. In the first set of static tests, the EPM was moved in a spiral trajectory along the surface of a hemisphere maintaining a constant distance from the capsule (see Figure 9). Six tests were performed with varying radii of the hemisphere ranging from 150mm to 200 mm. The maximum radius was limited to 200mm in order to constrain the test to regions of clinically relevant forces and torques induced on the capsule.
Figure 9.
Spiral trajectory used in static validation experiments. The red dots indicate the positions where the EPM was stopped and 25 points were collected.
6.1.1 Spiral Trajectory
A spiral trajectory was chosen to assess whether the accuracy of the system degraded with increasing distance. For each test, the EPM was stopped at 25 points along the trajectory and pose estimates were recorded for 30 seconds each. The pose estimation algorithm was restarted at each point to assess its ability to determine the yaw offset error. Pose errors were computed by taking the mean of the collected pose estimates and comparing them against the ground truth. Orientation errors are given in ZYX Euler angles, roll(ϕ), pitch(θ), and yaw(ψ), where the resultant rotation is:
(56) |
and the yaw(ψ) angle corresponds to the unknown yaw angle error γ, from Section 4.
Table 1 shows the overall accuracy of the system using the mean and standard deviations of the errors. In general, accuracy is expected to degrade with increasing distance as the magnetic field strengths weaken and become more susceptible to noise. The negligible differences in the standard deviations of the errors in Table 1, however, show that due to our high sampling rate, signal processing of the magnetic field measurements, and fusing of multiple sources of magnetic fields, this degradation was not observed. Yet, a larger position error was incurred in the y axis, which may be due to the fact that the capsule was in the singularity region of the EPM for a subset of the 25 points on the hemisphere reducing the number of constraining equations mapping poses to magnetic field vectors. Since the singularity plane of the EPM for these set of trials was the yz-plane, larger errors on the y axis can be expected. Additionally, the orientation error in ψ was larger than the other orientation angles since it was the only angle affected by the bias and noise characteristics of the magnetic field sources, while the other two angles were obtained from accelerometer measurements.
Table 1.
Average accuracy (mean ± std) of position estimates for static tests along a spiral trajectory
Radius of hemisphere | Δx | Δy | Δz | Δϕ | Δθ | Δψ |
---|---|---|---|---|---|---|
(mm) | (mm) | (mm) | (mm) | (°) | (°) | (°) |
150 | 1.04 ± 1.42 | 3.67 ± 1.63 | 2.87 ± 1.05 | 0.93 ± 0.67 | −0.95 ± 1.03 | −4.73 ± 0.31 |
160 | 1.39 ± 1.42 | 3.81 ± 1.62 | 2.65 ± 1.00 | 1.00 ± 0.62 | −1.05 ± 0.88 | −5.06 ± 0.25 |
170 | 1.42 ± 1.39 | 3.97 ± 1.66 | 2.41 ± 0.92 | 1.00 ± 0.61 | −1.09 ± 0.67 | −5.62 ± 0.16 |
180 | 1.71 ± 1.42 | 4.19 ± 1.69 | 2.15 ± 0.94 | 1.02 ± 0.59 | −0.86 ± 0.57 | −5.62 ± 0.14 |
190 | 1.87 ± 1.40 | 4.32 ± 1.72 | 1.80 ± 0.91 | 1.05 ± 0.54 | −0.84 ± 0.43 | −5.65 ± 0.11 |
200 | 1.97 ± 1.38 | 4.35 ± 1.71 | 1.55 ± 0.88 | 1.11 ± 0.50 | −0.84 ± 0.33 | −5.66 ± 0.09 |
6.1.2 Evaluation in the Region of Singularity
The second set of static tests evaluated the performance of the system in the singularity region of the EPM. As shown in Figure 10, the capsule was fixed in a single pose inside the EPM’s singularity region. The EPM was then placed on a grid of points defined by the plane of singularity. A total of 25 grid points spanning 200mm × 50mm were used where pose estimates were recorded for 30 seconds each. The average position errors were Δx = 2.85 ± 0.80 mm, Δy = 3.74 ± 1.53 mm, and Δz = 1.67 ± 0.88 mm. The average orientation errors were Δϕ =0.73 ± 0.60°, Δθ =−1.69 ± 0.15°, and Δψ = 3.76 ± 0.12°. To ensure the absence of singularity regions, the capsule was also placed on the line defined by the intersection of the singularity planes of the EPM and the coil. A total of 10 equally spaced points were used to record pose estimates for 30 seconds each. The average position errors were Δx = 1.21 ± 0.18 mm, Δy = 4.85 ± 1.34 mm, and Δz = 5.10 ± 0.68mm while the average orientation errors were Δϕ = 0.75 ± 0.10°, Δθ = −2.05 ± 0.13°, and Δψ = 1.08 ± 0.06°. The results show that the system performs well even in the singular regions of either magnet.
Figure 10.
Configuration for testing the singular regions of the EPM. With the capsule fixed in space, the EPM was placed on a grid of coplanar points. The EPM was oriented such that the capsule was always in its singularity plane.
The overall accuracy of the system for these set of tests was equivalent or better than the systems described in Di Natali et al. (2013) and Di Natali et al. (2016) without requiring an initialization step. For comparison, the accuracy of the system reported in Di Natali et al. (2013) was Δx = −3.4 ± 3.2 mm, Δy = −3.8 ± 6.2 mm, Δz = 3.4 ± 7.3mm in position and Δϕ = −6 ± 18°, Δθ = 3 ± 20°, Δψ = −19 ± 50° in orientation. With accurate initialization of both position and yaw angle, the system reported in Di Natali et al. (2016) achieved an accuracy of (in polar coordinates, r, z, θ′) Δr = 6.2 ± 4.4 mm, Δz = 6.9 ± 3.9 mm, Δθ′ = 5.4 ± 7.9° in position and Δϕ = 3.4 ± 3.2°, Δθ = 3.7 ± 3.5°, Δψ = 3.6 ± 2.6° in orientation. Given the results, we can conclude that our pose estimation algorithm readily satisfies the accuracy criteria.
6.1.3 Comparison with Prior Pose Estimation Methods
To provide a concrete example of the effect of magnetic singularity regions and demonstrate the scale of the singularity problem on previous 6 DOF pose estimation methods, we applied the algorithm described in Di Natali et al. (2013) to the data collected in the 150mm static spiral trajectory experiment. As the authors conclude in Di Natali et al. (2016), the long term performance of their iterative algorithm is susceptible to drift without periodic updates from their absolute pose estimation algorithm (Di Natali et al. 2013). The ill conditioning of the Jacobian in regions of singularity (Section 3.2) combined with the drift problem leads us to expect the performance of the iterative algorithm to be worse than their noniterative algorithm in Di Natali et al. (2013). Consequently, only a comparison between Di Natali et al. (2013) and the approach presented in this paper is given here. Figure 11 shows the distance error of the two methods during the spiral trajectory experiment. Severe performance degradation occurs in Di Natali et al. (2013) when the capsule is in or near the singularity region of the EPM. Large spikes can also be observed as the EPM moves along the spiral to one of the 25 test points (see Figure 12) and, in so doing, its singularity region crosses the position of the capsule. In contrast, the approach presented in this paper is robust to the presence of singularity regions.
Figure 11.
Comparison between the pose estimation algorithms in Di Natali et al. (2013) and this paper. Severe performance degradation occurs in Di Natali et al. (2013) when the capsule is in the singularity region of the EPM.
Figure 12.
Positions of the EPM where severe performance degradation occurs in Di Natali et al. (2013) when the capsule is in the singularity region of the EPM.
6.1.4 Effect of EPM Orientation
In order to explore the effect of the EPM’s orientation on the pose estimation algorithm, an additional static experiment was conducted. The EPM was moved to 10 points on a planar grid of 100mm × 100mm and at each point 10 different orientations were tested (see Figure 13). The grid was chosen to be in the xy plane so as to include singular and non-singular regions. The average position errors were Δx = −2.55 ± 2.89 mm, Δy = 2.60 ± 4.91 mm, Δz = −7.21 ± 1.84 mm. And the average orientation errors were Δϕ = 1.17 ± 0.30°, Δθ = −1.03 ± 4.18°, Δψ = 3.06 ± 0.65°. As can be seen from these values, the orientation of the EPM does not have a marked effect on the accuracy of the pose estimation algorithm.
Figure 13.
The ten orientations of the EPM and coil assembly that were tested in our experiment
6.2 Validation in dynamic conditions
Two types of experiments were conducted for validation under dynamic conditions. The static-dynamic experiment consisted of moving only the capsule along a trajectory while the EPM was static (see Extension 2). In the dynamic-dynamic experiment, both the capsule and the EPM moved along a trajectory keeping a constant relative speed (see Extension 3). In both cases, the trajectory was designed to mimic the general shape of a human colon (Alazmani et al. 2016). Moreover, in order to have ground truth measurements, a secondary robot manipulator was used to hold and move the capsule along the given trajectory. Errors were obtained by taking the average of the errors computed at each instance of time between the pose estimate and the ground truth.
6.2.1 Static-dynamic case
The motivation for the first case was to assess whether the particle filter, without an accurate motion model, could track the movement of the capsule. Table 2 shows the performance of the system at speeds of 10mm/s, 25mm/s and 50mm/s. The increase in the standard deviation of the position errors is correlated with increase in capsule speed indicating that the system is sensitive to the relative motion of the capsule. However, in most robotic capsule endoscopy applications, the relative motion of the capsule with respect to the EPM is expected to be minimal.
Table 2.
Average accuracy (mean ± std) of pose estimates for static-dynamic tests
Speed | Δx | Δy | Δz | Δϕ | Δθ | Δψ |
---|---|---|---|---|---|---|
(mm/s) | (mm) | (mm) | (mm) | (°) | (°) | (°) |
10 | −3.39 ± 6.76 | −4.84 ± 5.23 | 4.06 ± 1.91 | −0.96 ± 2.30 | 0.29 ± 1.73 | −0.37 ± 2.84 |
25 | −1.98 ± 7.70 | −5.07 ± 5.67 | 4.49 ± 1.92 | −1.75 ± 1.88 | 0.08 ± 1.55 | −0.20 ± 2.79 |
50 | 0.70 ± 12.05 | −3.33 ± 10.01 | 4.79 ± 2.74 | −3.10 ± 2.14 | −1.65 ± 3.44 | −0.13 ± 2.69 |
6.2.2 Dynamic-dynamic case
The latter dynamic condition reects how the capsule would be used in a real scenario where the capsule is driven by a moving EPM. As such, the trajectory of the EPM was created by offsetting the capsule’s trajectory by a distance of 200 mm. Again, speeds of 10mm/s, 25mm/s and 50mm/s were tested, the results of which, are shown in Table 3. Unlike the static-dynamic case, the standard deviations in the position errors are not affected by the speed of the capsule because there was very little relative motion between the EPM and the capsule. Yet, a larger standard deviation is observed than the static test (Table 1), which can be attributed to the use of the random walk motion model in the particle filter algorithm. As mentioned in Section 4, better performance can be expected in applications with accurate motion models.
Table 3.
Average accuracy (mean ± std) of pose estimates for dynamic-dynamic tests
Speed | Δx | Δy | Δz | Δϕ | Δθ | Δψ |
---|---|---|---|---|---|---|
(mm/s) | (mm) | (mm) | (mm) | (°) | (°) | (°) |
10 | −2.05 ± 5.00 | −1.60 ± 3.76 | 1.60 ± 0.57 | −1.76 ± 1.15 | 0.07 ± 1.80 | −0.27 ± 2.65 |
25 | −1.39 ± 5.56 | −1.50 ± 3.95 | 1.35 ± 0.65 | −2.14 ± 1.45 | −0.09 ± 1.96 | −0.17 ± 2.60 |
50 | −2.59 ± 5.44 | −1.77 ± 5.63 | 1.16 ± 0.75 | −3.01 ± 2.00 | −1.44 ± 3.76 | −0.08 ± 2.68 |
It is also evident from a qualitative assessment of Figure 14 that the system tracks the capsule’s trajectory with a steady bias. Further work is needed to determine whether this bias exists due to errors in the magnetic field model used or faulty sensor calibrations. Despite this, the errors reported in Table 3 are equivalent or better than the errors reported in Salerno et al. (2012); Di Natali et al. (2013, 2016) (see Table 4).
Figure 14.
Plot of the trajectories of the EPM and the capsule for the 10m/s dynamic-dynamic test. In order to establish ground truth, a secondary robot manipulator was used to hold and move the capsule at a constant speed along the trajectory. The trajectory was designed to mimic the shape of a human colon.
Table 4.
Average accuracy (mean ± std) of previous methods
Method | Δx(mm) | Δy(mm) | Δz(mm) | Δϕ(°) | Δθ(°) | Δψ(°) |
---|---|---|---|---|---|---|
Salerno et al. (2012) | −3.2 ± 18.0 | 5.4 ± 15.0 | −13 ± 19 | |||
Di Natali et al. (2013) | −3.40 ± 3.20 | −3.80 ± 6.20 | 3.40 ± 7.30 | −6 ± 18 | 3 ± 20 | −19 ± 50 |
| ||||||
Δr(mm) | Δθ′(°) | Δz(mm) | Δϕ(°) | Δθ(°) | Δψ(°) | |
| ||||||
Di Natali et al. (2016) | 6.2 ± 4.4 | 5.4 ± 7.9 | 6.9 ± 3.9 | 3.4 ± 3.2 | 3.7 ± 3.5 | 3.6 ± 2.6 |
7 Closed-Loop Magnetic Actuation
Equipped with a real-time 6 DOF pose estimation system without workspace singularities, it is now possible to perform closed-loop robotic manipulation of directly propelled magnetic capsule endoscopes. To demonstrate this possibility, we implemented a hybrid position and velocity control system that drove a soft-tethered capsule endoscope along a desired trajectory. Since it is not feasible to levitate the capsule using a single permanent magnet in a cavity that is not filled with liquid, the capsule’s position is controlled in 2D. Nevertheless, the vertical force on the capsule can be regulated and this capability can be used to keep the vertical force below a safety threshold. In addition, due to the nature of magnetically induced torque, it is not possible to control the rotation of the capsule along its axis of magnetization. Thus, our closed-loop control scheme admits 2 DOF control in position and 2 DOF control in orientation.
As is done in most magnetically actuated closed-loop control systems, we assume that the magnetic field of both the actuator and the magnet inside the capsule can be modeled by the point dipole model. This assumption allows us to efficiently compute the needed motion of the EPM to control the capsule, which would otherwise be computationally burdensome if we had employed more complicated models. Although the capsule is tethered, our formulations do not explicitly model the effect of tether and its interactions with the environment as our device is not equipped with the necessary shape and force sensors. Instead, we treat it as a disturbance and rely on the closed-loop system to compensate for it. We build on the formulation presented by Mahoney and Abbott (2015), as such, for further details of the approach, the reader is directed to their paper as well as our previous contributions (Taddese et al. 2016a,b; Slawinski et al. 2017). We denote the dipole moments of the EPM and the capsule’s magnet by mE ∈ ℝ3 and mς ∈ ℝ3 respectively. The position of the EPM and the capsule’s magnet are similarly denoted by pE ∈ ℝ3 and pς ∈ ℝ3 respectively.
With the dipole assumption, given a magnetic field BE generated by the EPM, the force f and torque τ on the magnet inside the capsule is given by:
(57) |
(58) |
As such, the magnetic force fm and torque τm on the capsule are:
(59) |
(60) |
where p = pς − pE, I ∈ ℝ3 × 3 is the identity matrix, D = 3p̂p̂⊤ − I, and Z = I − 5p̂p̂⊤.
The robot manipulator is controlled in joint position mode and its generalized coordinates are given by q ∈ ℝ6. The robot’s geometric Jacobian Jℛ(q) ∈ ℝ6 × 6 is used to linearize the relationship between generalized joint velocities and the end effector twist as follows:
(61) |
We note that any component of ωE that rotates the actuating magnet along the axis of the dipole moment m̂E does not change m̂E. That is, . To incorporate this into the mathematical formulation we define the EPM’s Jacobian JE(q) as
(62) |
where S(a) ∈ 𝔰𝔬(3) denotes the skew-symmetric form of the cross product operation.
Furthermore, since it is difficult to solve for the necessary pose of the EPM that imparts a desired force and torque on the capsule using the nonlinear equations (59) and (60), we linearize them with respect to their parameters as follows:
(63) |
Since p = pς − pE, we separate the contribution of the capsules velocity on the change in wrench from that of the EPM’s velocity. Using Jℱ to designate Jℱ(p, m̂E, m̂ς ):
(64) |
Due to the fast dynamics of the system compared to our robot manipulator and the friction in our environment, the motion of the capsule is characterized by stick-slip motion. Thus, for practical purposes, we can neglect the contributions of ṗς and to the changes in force and torque. Defining Jℱ<sub>E</sub> as
(65) |
(64) can then be rearranged and succinctly written as:
(66) |
When discretized, (66) relates small changes in joint angles (δq) to changes in force (δf) and torque (δτ) on the capsule. Accordingly, the desired joint velocities are computed by inverting Jℱ<sub>E</sub>:
(67) |
where is the damped weighted least-squares inverse of Jℱ<sub>E</sub> and JW = Jℱ<sub>E</sub>Wq with Wq being the joint space diagonal weight matrix that is used to limit motion in specified robot DOFs. The damping term α serves to mitigate robot singularities.
7.1 Hybrid Position and Velocity Control
Despite the unavoidable stick-slip nature of magnetic manipulation in air, smoother motion can be achieved by decoupling forward velocity error from lateral position errors and providing two separate PI controllers that close the loop on the corresponding errors. Given a desired trajectory, the forward velocity controller attempts to propel the capsule forward (tangent to the trajectory) at a constant velocity while the position controller ensures that the lateral (normal to the trajectory) position error of the capsule from the desired trajectory remains small. As we do not assume automatic alignment of the capsules heading to a given magnetic field, as would be the case in liquid filled cavities (Mahoney and Abbott 2015), an additional controller operates on heading error.
In the following expressions, we denote the directions of the tangent and normal vectors at the point on the trajectory that is closest to the center of the capsule by t̂ and n̂.
The velocity error, ev, is defined as the error between the current average velocity, ṗς, and the desired velocity, ṗς<sub>d</sub>. Using the position estimates output by the algorithm presented in this paper, the average velocity of the capsule is computed by applying a low pass filter to differences in position in consecutive time steps. Thus, ev = ṗς<sub>d</sub> − ṗς. We remove any component of the velocity error in the lateral direction by projecting it onto the tangent direction, t̂, of the trajectory. The tangent velocity error, (ev · t̂)t̂, is used as the error term in a proportional controller. The tangent projection of the velocity error, ev · t̂, is also used to form a feed forward term fres, that estimates and compensates for the resistance force applied by the tether.
(68) |
fres is assumed to always be in the negative direction of the trajectory as it represents the resistance forces from the tether behind the capsule.
The position error is given by ep = pς<sub>d</sub> − pς. The projection of this error into the normal direction, (ep · n̂)n̂, is used as the error term in a PI controller. Finally, the orientation error is computed as eo = ĥς × ĥς<sub>d</sub> where ĥς and ĥς<sub>d</sub> are the current and desired capsule headings, respectively.
Using the matrices Pt̂ =t̂t̂⊤ and Pn̂ = I −t̂t̂⊤ to project error vectors onto t̂ and n̂ respectively, the overall expression for our control input, which is the vector of desired wrench on the capsule, is given by:
(69) |
The final changes in wrench on the capsule are computed by subtracting estimates of the wrench currently applied on the capsule:
(70) |
7.2 Experimental Demonstration of Closed-Loop Control
In our experimental setup, the tethered capsule as described in Section 5, was inserted between two horizontal planes made of clear acrylic serving as vertical barriers for the capsule as shown in Figure 15. The two acrylic planes were lubricated with vegetable oil in order to reduce friction. A camera tracker was mounted below the bottom acrylic plane to provide ground truth on the 2D position of the capsule; however, its output was not used in the control algorithm. Since we do not have ground truth measurements for the heading of the capsule, we only report errors by comparing the commanded heading with the estimated heading provided by the pose estimation method described in this paper. The controller was implemented as a ROS node in Python and ran at a 100 Hz synchronized with the pose estimation algorithm. The two algorithms ran simultaneously on a single PC.
Figure 15.
Experimental setup of demonstrating closed-loop control. The capsule was painted so that it can be detected by the camera tracker with relative ease. The coil was covered with black tape to prevent erroneous color detection. The two acrylic planes were lubricated with vegetable oil in order to reduce friction.
Two sets of 10 trials were conducted where the system was commanded to propel the capsule along a straight line trajectory at a speed of 5mm/s. In both trials, the capsule’s heading was commanded to align with the forward direction of the trajectory.
In the first set of trials (see Extension 4), the initial capsule position was offset in the lateral direction by 55 mm. This experiment was used to assess the response of the controller to an initial offset and its ability to achieve a small steady state error. As seen in Figure 16a the capsule’s lateral error, on average, was reduced within the first 10 s of the trajectory. The steady state lateral error computed after the capsule has travelled 30 s was −5.30 ± 2.60 mm. The average heading error over the entire trajectory was 4.96 ± 2.20°. As shown in Figure 16e, the heading is consistently kept in the direction of forward motion.
Figure 16.
Traces of the capsule’s trajectory as it was propelled by the EPM with a closed-loop controller. Each colored solid line represents one of the 10 trials. (a, b) Traces obtained using a camera tracker based on color detection. (a) At time 0 s, the capsule’s position is offset from the trajectory in the x direction by approximately 55mm. (b) The tether is pushed in the +x direction as soon as capsule has travelled 100mm. This is indicated by the spike at time 20 s. The disturbance is maintained for approximately 10 s. (c, d) Traces obtained from the pose estimation algorithm. (e, f) Arrows representing the heading direction of the capsule at selected points along the two types of trajectories. For the purposes of good visualization, only a single trial from each set is shown. The color gradation shows the progression of time.
In the second set of trials (see Extension 5), the capsule starts without any intentional position error. Once the capsule has travelled 100 mm, a portion of the tether is manually pushed laterally thereby changing the position of the capsule by approximately 40 mm. This disturbance is maintained for approximately 10 s. This experiment was used to assess whether the controller was capable of compensating for sustained disturbances with its integral component all the while maintaining a desired orientation of the capsule. Figure 16b shows traces of the capsule trajectory as the controller responds to the disturbance. The average position error after the controller has recovered from the disturbance at T = 50 s was −7.90 ± 3.39 mm. The average heading error over the entire trajectory was 7.34 ± 1.77°. As shown in Figure 16f, the heading error increased during the disturbance, but quickly returned to its nominal direction.
The controller was commanded to maintain a vertical force of 0.45N on the capsule, a value empirically determined to balance the weight of the capsule without exerting excessive force on the vertical barrier. The system computed the magnetic force using the point-dipole model and pose estimates from the algorithm described in this paper. Accordingly, the average vertical force on the two sets of trials was 0.494 ± 0.093N and 0.502 ± 0.097N respectively. These forces are clinically relevant as they would not cause tissue damage (Slawinski et al. 2017). In maintaining this force, the vertical distance between the centers of the EPM and the capsule was kept at an average of 158 ± 4mm and 157 ± 6mm for the two sets of trials respectively. Considering the size of our EPM, this leaves close to 100mm of gap between the bottom of the EPM and the vertical barrier in the experiment.
In both sets of trials, it was observed that there was a constant offset between the position output of our pose estimation algorithm and the camera based ground truth. As Figures 16c and 16d show, the controller would have placed the capsule more accurately on the trajectory had this offset been absent. As mentioned in Section 6.2.2, further work is needed to determine the source of this error.
It was further observed that the capsule was frequently inside or near the singular region of the EPM. As such, successful control of the capsule in these trials would have been problematic if previous pose estimation methods were to be used.
8 Conclusion
In this paper, a novel pose estimation system that utilizes a hybrid assembly of a permanent magnet and an electromagnet was introduced. This approach overcomes two important limitations that hinder the use of prior pose estimation systems for magnetically driven robotic capsule endoscopy in clinical settings. A fundamental problem is that any source of magnetic field that can be sufficiently modeled by the point-dipole model is susceptible to ambiguities arising from regions of singularity when used as a source of information for pose estimation. This problem is mitigated by using a secondary source of magnetic field with an orthogonal dipole moment as shown in this paper. The extra information gained from the secondary source of magnetic field has the added benefit of enabling the computation of the initial yaw angle.
In order to use the two sources of information effectively, a particle filtering approach was used. By randomly initializing particles in the workspace, the filter was able to converge to the pose of the capsule, thereby eliminating the need for accurate initialization. Our experimental results show that the random walk motion model is sufficient to accurately track the capsule as long as the relative motion of the capsule with respect to the EPM remains low, as would be the prevalent case for robotic capsule endoscopy applications. However, in clinical application scenarios certain conditions, such as the sudden movement of the patient, could violate the assumption of low relative motion. This necessitates a higher-level system that monitors the sensor readings and the internal state of the pose estimation system and warns the user if the pose estimates cannot be relied upon. We hypothesize that the value of the likelihood function during the measurement update step of our particle filter algorithm can help to make this determination as we have observed the value to be extremely small when the capsule is out of range or it is intentionally moved to a new position rapidly.
In our static tests, the average errors were below 5mm in any single position axis and 6° in any orientation angle. How pose estimation errors affect the forces and torques induced on the capsule and closed-loop control in general needs further study, the result of which would be to establish a more meaningful benchmark. With our parallel implementation of the particle filter, our system was able to achieve an average update rate of 100 Hz. In comparison, the update rates reported in Di Natali et al. (2013) and Di Natali et al. (2016) were 71 Hz and 143 Hz respectively. In terms of workspace, our system exceeded the required radius of 150mm owing to size of our EPM, the use of multiple sources of magnetic fields, and the higher sampling rate used in our signal acquisition.
Moreover, our pose estimation method was experimentally shown to fulfill the criteria needed for closed-loop control in terms of accuracy, update rate and size of workspace making it suitable for use in tele-operated or autonomous operation of magnetically actuated robotic capsule endoscopes in clinical settings. In particular, tele-operated robotic manipulation can now be approached by combining our pose estimation algorithm and the closed-loop control scheme described in this paper with intuitive user interfaces and user feedback mechanisms.
Supplementary Material
Acknowledgments
We would like to thank Medical Murray (IL, USA) for assistance with with fabrication of the soft-tethered endoscope.
Funding
This research was supported by the National Institute of Biomedical Imaging and Bioengineering, USA of the National Institutes of Health under award no. R01EB018992, by the National Science Foundation, USA under grant no. CNS-1239355 and no. IIS-1453129, by the National Science Foundation Graduate Research Fellowship Program under grant no. 1445197, by the Royal Society, UK, and by the Engineering and Physical Sciences Research Council, UK. Any opinions, findings, conclusions, or recommendations expressed in this material are those of the authors and do not necessarily reect the views of the National Institutes of Health, the National Science Foundation, the Royal Society, or the Engineering and Physical Sciences Research Council.
Appendix A: Index to Multimedia Extensions
Table 5.
Table of Multimedia Extensions
Extension | Media type | Description |
---|---|---|
1 | Video | Illustration of the components of the robotically controlled magnetic capsule endoscopy system |
2 | Video | Demonstration of the static- dynamic experiment |
3 | Video | Demonstration of the dynamic- dynamic experiment |
4 | Video | Demonstration of closed-loop control on a linear trajectory with an initial offset |
5 | Video | Demonstration of closed-loop control on a linear trajectory with added manual disturbance |
References
- Alazmani A, Hood A, Jayne D, Neville A, Culmer P. Quantitative assessment of colorectal morphology: Implications for robotic colonoscopy. Medical Engineering & Physics. 2016;38(2):148–154. doi: 10.1016/j.medengphy.2015.11.018. [DOI] [PubMed] [Google Scholar]
- Amoako-Tuffour Y, Jones ML, Shalabi N, Labbé A, Vengallatore S, Prakashm S. Ingestible gastrointestinal sampling devices : State-of-the-art and future directions. Critical Reviews in Biomedical Engineering. 2014;42(1):1–15. doi: 10.1615/critrevbiomedeng.2014010846. [DOI] [PubMed] [Google Scholar]
- Aoki I, Uchiyama A, Arai K, Ishiyama K, Yabukami S. Detecting system of position and posture of capsule medical device. US Patent. 2010;7:815, 563. [Google Scholar]
- Arezzo A, Menciassi A, Valdastri P, Ciuti G, Lucarini G, Salerno M, Di Natali C, Verra M, Dario P, Morino M. Experimental assessment of a novel robotically-driven endoscopic capsule compared to traditional colonoscopy. Digestive and Liver Disease. 2013;45(8):657–62. doi: 10.1016/j.dld.2013.01.025. [DOI] [PubMed] [Google Scholar]
- Arulampalam MS, Maskell S, Gordon N, Clapp T. A tutorial on particle filters for online nonlinear/non-Gaussian Bayesian tracking. IEEE Transactions on Signal Processing. 2002;50(2):174–188. [Google Scholar]
- Arun KS, Huang TS, Blostein SD. Least-Squares Fitting of Two 3-D Point Sets. IEEE Transactions on Pattern Analysis and Machine Intelligence. 1987;9(5):698–700. doi: 10.1109/tpami.1987.4767965. [DOI] [PubMed] [Google Scholar]
- Beccani M, Di Natali C, Rentschler ME, Valdastri P. Wireless tissue palpation: Proof of concept for a single degree of freedom. 2013 IEEE International Conference on Robotics and Automation; 2013. pp. 711–717. [Google Scholar]
- Bynum SA, Davis JL, Green BL, Katz RV. Unwillingness to participate in colorectal cancer screening: Examining fears, attitudes, and medical mistrust in an ethnically diverse sample of adults 50 years and older. American Journal of Health Promotion. 2012;26(5):295–300. doi: 10.4278/ajhp.110113-QUAN-20. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Carpi F, Pappone C. Stereotaxis Niobe magnetic navigation system for endocardial catheter ablation and gastrointestinal capsule endoscopy. Expert Review of Medical Devices. 2009;6(5):487–98. doi: 10.1586/erd.09.32. [DOI] [PubMed] [Google Scholar]
- Chen ZHE. Bayesian filtering: From Kalman filters to particle filters, and beyond vi sequential Monte Carlo estimation: Particle filters. Statistics. 2003;182(1):1–69. [Google Scholar]
- Ciuti G, Valdastri P, Menciassi A, Dario P. Robotic magnetic steering and locomotion of capsule endoscope for diagnostic and surgical endoluminal procedures. Robotica. 2009;28(02):199. [Google Scholar]
- Denzer UW, Rösch T, Hoytat B, Abdel-Hamid M, Hebuterne X, Vanbiervielt G, Filippi J, Ogata H, Hosoe N, Ohtsuka K, Ogata N, Ikeda K, Aihara H, Kudo Se, Tajiri H, Treszl A, Wegscheider K, Greff M, Rey Jf. Magnetically guided capsule versus conventional gastroscopy for upper abdominal complaints. Journal of Clinical Gastroenterology. 2015;49(2):101–107. doi: 10.1097/MCG.0000000000000110. [DOI] [PubMed] [Google Scholar]
- Derby N, Olbert S. Cylindrical magnets and ideal solenoids. American Journal of Physics. 2009;78(229):12. [Google Scholar]
- Di Natali C, Beccani M, Obstein KL, Valdastri P. A wireless platform for in vivo measurement of resistance properties of the gastrointestinal tract. Physiol Meas. 2014;35(7):1197–214. doi: 10.1088/0967-3334/35/7/1197. [DOI] [PubMed] [Google Scholar]
- Di Natali C, Beccani M, Simaan N, Valdastri P. Jacobian-based iterative method for magnetic localization in robotic capsule endoscopy. IEEE Transactions on Robotics. 2016;32(2):327–338. doi: 10.1109/TRO.2016.2522433. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Di Natali C, Beccani M, Valdastri P. Real-time pose detection for magnetic medical devices. IEEE Transactions on Magnetics. 2013;49(7):3524–3527. [Google Scholar]
- Fountain TWR, Kailat PV, Abbott JJ. Wireless control of magnetic helical microrobots using a rotating-permanent-magnet manipulator. 2010 IEEE International Conference on Robotics and Automation; 2010. pp. 576–581. [Google Scholar]
- Franz AM, Haidegger T, Birkfellner W, Cleary K, Peters TM, Maier-Hein L. Electromagnetic tracking in medicine -A review of technology, validation, and applications. IEEE Transactions on Medical Imaging. 2014;33(8):1702–1725. doi: 10.1109/TMI.2014.2321777. [DOI] [PubMed] [Google Scholar]
- Goertzel G. An algorithm for the evaluation of finite trigonometric series. American Mathematical Monthly. 1958;65(1):34–35. [Google Scholar]
- Gordon NJ, Salmond DJ, Smith AF. Novel approach to nonlinear/non-Gaussian Bayesian state estimation. IEE Proceedings F (Radar and Signal Processing); IET; 1993. pp. 107–113. [Google Scholar]
- Harris FJ. On the use of windows with the discrete for harmonic analysis Fourier transform. Proceedings of the IEEE. 1978;66(1):51–83. [Google Scholar]
- Ishiyama K, Sendoh M, Yamazaki A, Arai KI. Swimming micro-machine driven by magnetic torque. Sensors Actuators, A Physical. 2001;91(1–2):141–144. [Google Scholar]
- Jemal A, Center MM, DeSantis C, Ward EM. Global patterns of cancer incidence and mortality rates and trends. Cancer Epidemiology Biomarkers and Prevention. 2010;19(8):1893–1907. doi: 10.1158/1055-9965.EPI-10-0437. [DOI] [PubMed] [Google Scholar]
- Johansen AM. SMCTC: sequential Monte Carlo in C++ Journal of Statistical Software. 2009;30(6):1–41. [Google Scholar]
- Keller H, Juloski A, Kawano H, Bechtold M, Kimura A, Takizawa H, Kuth R. Method for navigation and control of a magnetically guided capsule endoscope in the human stomach. 2012 4th IEEE RAS/EMBS International Conference on Biomedical Robotics and Biomechatronics; 2012. pp. 859–865. [Google Scholar]
- Lien GS, Liu CW, Jiang JA, Chuang CL, Teng MT. Magnetic control system targeted for capsule endoscopic operations in the stomach - Design, fabrication, and in vitro and ex vivo evaluations. IEEE Trans Biomed Eng. 2012;59(7):2068–2079. doi: 10.1109/TBME.2012.2198061. [DOI] [PubMed] [Google Scholar]
- Lucarini G, Mura M, Ciuti G, Rizzo R, Menciassi A. Electromagnetic control system for capsule navigation: Novel concept for magnetic capsule maneuvering and preliminary study. Journal of Medical and Biological Engineering. 2015;35(4):428–436. doi: 10.1007/s40846-015-0055-2. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Mahoney AW, Abbott JJ. Managing magnetic force applied to a magnetic device by a rotating dipole field. Applied Physics Letters. 2011;99(13):1–4. [Google Scholar]
- Mahoney AW, Abbott JJ. Generating rotating magnetic fields with a single permanent magnet for propulsion of untethered magnetic devices in a Lumen. IEEE Transactions on Robotics. 2014;30(2) [Google Scholar]
- Mahoney AW, Abbott JJ. Five-degree-of-freedom manipulation of an untethered magnetic device in uid using a single permanent magnet with application in stomach capsule endoscopy. The International Journal of Robotics Research. 2015:19. [Google Scholar]
- Mahony R, Hamel T, Pimlin JM. Nonlinear complementary filters on the special orthogonal group. IEEE Transactions on Automatic Control. 2008;53(5):1203–1218. [Google Scholar]
- Maul LR, Alici G. A magnetically actuated endoscopic capsule robot based on a rolling locomotion mechanism. 2013 IEEE/ASME International Conference on Advanced Intelligent Mechatronics; 2013. pp. 50–55. [Google Scholar]
- OpenMP Architecture Review Board. OpenMP application program interface version 3.1. 2011 URL www.openmp.org/wp-content/uploads/OpenMP3.1.pdf.
- Petruska AJ, Abbott JJ. Optimal permanent-magnet geometries for dipole field approximation. IEEE Transactions on Magnetics. 2013;49(2):811–819. [Google Scholar]
- Petruska AJ, Abbott JJ. Omnimagnet: An omnidirectional electromagnet for controlled dipole-field generation. IEEE Transactions on Magnetics. 2014;50(7):1–10. [Google Scholar]
- Popek KM, Abbott JJ. 6-d localization of a magnetic capsule endoscope using a stationary rotating magnetic dipole field. Hamlyn Symposium on Medical Robotics. 2015:47–48. [Google Scholar]
- Popek KM, Schmid T, Abbott JJ. Six-degree-of-freedom localization of an untethered magnetic capsule using a single rotating magnetic dipole. IEEE Robotics and Automation Letters. 2017;2(1):305–312. [Google Scholar]
- Ryan P, Diller E. Five-degree-of-freedom magnetic control of micro-robots using rotating permanent magnets. 2016 IEEE International Conference on Robotics and Automation (ICRA); 2016. pp. 1731–1736. [Google Scholar]
- Saha S, Boers Y, Driessen H, Mandal P, Bagchi a. Particle based MAP state estimation: A comparison. 2009 12th International Conference on Information Fusion; 2009. pp. 278–283. [Google Scholar]
- Salerno M, Ciuti G, Lucarini G, Rizzo R, Valdastri P, Menciassi A, Landi A, Dario P. A discrete-time localization method for capsule endoscopy based on on-board magnetic sensing. Measurement Science and Technology. 2012;23(1):015701. [Google Scholar]
- Salerno M, Mazzocchi T, Ranzani T, Mulana F, Dario P, Menciassi A. Safety systems in magnetically driven wireless capsule endoscopy. 2013 IEEE/RSJ International Conference on Intelligent Robots and Systems; 2013a. pp. 3090–3095. [Google Scholar]
- Salerno M, Rizzo R, Sinibaldi E, Menciassi A. Force calculation for localized magnetic driven capsule endoscopes. IEEE International Conference on Robotics and Automation; 2013b. pp. 5354–5359. [Google Scholar]
- Sendoh M, Ishiyama K, Arai KI. Fabrication of magnetic actuator for use in a capsule endoscope. IEEE Transactions on Magnetics. 2003;39(5 II):3232–3234. [Google Scholar]
- Sharma PK, Guha SK. Transmission of time varying magnetic field through body tissue. Journal of Biological Physics. 1975;3(2):95–102. [Google Scholar]
- Siegel RL, Miller KD, Jemal A. Cancer statistics. CA: A Cancer Journal for Clinicians. 2016;66(1):7–30. doi: 10.3322/caac.21332. [DOI] [PubMed] [Google Scholar]
- Slawinski PR, Obstein KL, Valdastri P. Emerging issues and future developments in capsule endoscopy. Techniques in Gastrointestinal Endoscopy. 2015;17(1):40–46. doi: 10.1016/j.tgie.2015.02.006. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Slawinski PR, Taddese AZ, Musto KB, Obstein KL, Valdastri P. Autonomous retroexion of a magnetic flexible endoscope. IEEE Robotics and Automation Letters. 2017;2(3):1352–1359. doi: 10.1109/LRA.2017.2668459. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Sliker LJ, Ciuti G. Flexible and capsule endoscopy for screening, diagnosis and treatment. Expert Review of Medical Devices. 2014;11(6):649–666. doi: 10.1586/17434440.2014.941809. [DOI] [PubMed] [Google Scholar]
- Taddese AZ, Slawinski PR, Obstein KL, Valdastri P. Closed loop control of a tethered magnetic capsule endoscope. Robotics: Science and Systems XII. 2016a;12:380. doi: 10.15607/RSS.2016.XII.018. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Taddese AZ, Slawinski PR, Obstein KL, Valdastri P. Nonholonomic closed-loop velocity control of a soft-tethered magnetic capsule endoscope. 2016 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS); Daejeon, South Korea. 2016b. pp. 1139–1144. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Than TD, Alici G, Zhou H, Li W. A review of localization systems for robotic endoscopic capsules. IEEE Transactions Biomededical Engineering. 2012;59(9):2387–2399. doi: 10.1109/TBME.2012.2201715. [DOI] [PubMed] [Google Scholar]
- Torre LA, Bray F, Siegel RL, Ferlay J, Lortet-tieulent J, Jemal A. Global cancer statistics, 2012. CA: A Cancer Journal for Clinicians. 2015;65(2):87–108. doi: 10.3322/caac.21262. [DOI] [PubMed] [Google Scholar]
- Turner C. Recursive discrete-time sinusoidal oscillators. IEEE Signal Processing Magazine. 2003;20(3):103–111. [Google Scholar]
- Valdastri P, Ciuti G, Verbeni A, Menciassi A, Dario P, Arezzo A, Morino M. Magnetic air capsule robotic system: proof of concept of a novel approach for painless colonoscopy. Surgical Endoscopy. 2012a;26(5):1238–1246. doi: 10.1007/s00464-011-2054-x. [DOI] [PubMed] [Google Scholar]
- Valdastri P, Simi M, Webster RJ., III Advanced technologies for gastrointestinal endoscopy. Annual Review of Biomedical Engineering. 2012b;14:397–429. doi: 10.1146/annurev-bioeng-071811-150006. [DOI] [PubMed] [Google Scholar]
- Wang X, Meng MQH, Chen X. A locomotion mechanism with external magnetic guidance for active capsule endoscope. 2010 Annual International Conference of the IEEE Engineering in Medicine and Biology; 2010. pp. 4375–4378. [DOI] [PubMed] [Google Scholar]
- Ye B, Zhang W, Sun ZJ, Guo L, Deng C, Chen YQ, Zhang HH, Liu S. Study on a magnetic spiral-type wireless capsule endoscope controlled by rotational external permanent magnet. Journal of Magnetism and Magnetic Materials. 2015;395:316–323. [Google Scholar]
- Yim S, Sitti M. Design and rolling locomotion of a magnetically actuated soft capsule endoscope. IEEE Transactions on Robotics. 2012;28(1):183–194. doi: 10.1109/TRO.2013.2266754. [DOI] [PMC free article] [PubMed] [Google Scholar]
- Zhou H, Alici G, Than TD, Li W. Modeling and experimental characterization of propulsion of a spiral-type microrobot for medical use in gastrointestinal tract. IEEE Transactions Biomededical Engineering. 2013;60(6):1751–1759. doi: 10.1109/TBME.2012.2228001. [DOI] [PubMed] [Google Scholar]
Associated Data
This section collects any data citations, data availability statements, or supplementary materials included in this article.