Introduction

In recent years, tracking systems have been proposed to assist image-guided interventions. The requirements for high accuracy and a fast update rate lead to an extensive use of optical tracking systems (OTS) and EMTS. While line-of-sight problems limit the application of OTS, EMTS allow the free tracking of magnetic sensors integrated into the surgical instruments’ tips [1]. EMTS have been studied to be compatible in CT-guided [2] and ultrasound (US-) guided [3] interventions. However, distortions caused by metallic objects in the clinical environment cause unacceptable tracking errors. The distortions from the metallic structure of a dental drill body in dental implant surgery [4], the metallic arm support in interstitial brachytherapy treatments [5] and electronic devices such as ultrasound scanner probes in operating room (OR) [6] causes inaccuracy in sensor pose estimation. This problem prevents EMTS from being more widely utilized [7].

Fig. 1
figure 1

Schematic diagram of our ETMS configuration: 1 eight self-developed transmitter coils, 2 sensor coil, 3 eight current-feedback amplifiers for signal generation, 4 pre-amplifier for the measured signals, and 5 the control and signal generation and data acquisition system comprising an FPGA and a PC

The two primary classifications of metallic distortions of EMTS are ferromagnetic and conductive distortions. The magnetic flux density of the material can be presented as an equation considering the magnetization:

$$\begin{aligned} B=\mu _0 \left( {1+\chi } \right) H=B_0 +\mu _0 \chi H \end{aligned}$$
(1)

Here, B is the magnetic flux density, and \(B_0\) is the reference magnetic field outside of the metal, H is the magnetic field strength, \(\mu _0\) is the magnetic permeability of vacuum and \(\chi \) is the magnetic susceptibility [8]. For paramagnetic and diamagnetic materials, the magnetic susceptibility \(\chi \) is linear while it is nonlinear for ferromagnetic materials. Due to the magnetic hysteresis effect [9], it is difficult to analytically categorize the secondary magnetic field generated by the ferromagnetic object. Commonly applied medical instruments, such as hammers and needles, are usually made of non-ferromagnetic materials such as aluminum and stainless steel. This work focuses on reducing distortions caused by materials that are conductive but non-ferromagnetic.

Placing sources of distorters at a sufficient distance from the EMTS can minimize the level of tracking errors [10]. Existing calibration algorithms based on correcting the errors between multiple actual and measured tracker positions [11] run offline to compensate for the stationary metal distortions. A novel method [12] using an extra sensor coil as the reference with fixed location to the tracker coil is a promising option for online calibration. Shielding methods of using shielded coils [13] or side shields to the metallic distorters [14] were put forward in patents. Pulsed direct current (DC) EMTS reduce distortions caused by eddy currents. However, such systems work slowly and are influenced by the earth’s electromagnetic field [15]. By operating EMTS at the very low frequency, the strength of the eddy currents decreases to a low level; this, in turn, reduces the interference from distorters [16]. Nevertheless, at such a low frequency, the sensor coil measures the voltage with an ultra-low signal-to-noise ratio (SNR) that often causes an inaccurate sensor pose estimation. A method for dynamically adjusting the eddy current distortions was referred in the patent [17]. However, to achieve this, a plurality of sensing elements is needed.

The input signals of an alternating current (AC) EMTS are commonly sine-wave shaped [18]. In our previous research, a method to reduce eddy current distortions by using quadratic-rectangular (QR) excitations was developed. The main drawback of the method is the slow refresh rate—approximately 1.6 fps [19].

Fig. 2
figure 2

The RL circuit model of 1 one out of the eight transmitter coil circuits, 2 the sensor coil circuit and 3 the circuit of the conductive distorter

Materials and methods

Experimental setup

Many groups use commercial EMTS for their clinical research. However, they allow no hardware or software changes to the underlying technology. We developed an EMTS experimental setup addressing flexibility, high precision, and speed (Fig. 1).

The field programmable gate array (FPGA) inside the data acquisition (DAQ) board (PXIe 7854R, National Instrument, USA) generates the waveform signals through its digital to analog converter (DAC). The generated voltage signals were driven by eight current-feedback amplifiers (LT1210, Linear Technology, USA) and sent to the transmitter coils to produce magnetic fields. A magnetic sensor coil (NDI 5-DOF catheter, Northern Digital, Canada) measures the voltage induced in the AC magnetic fields to estimate the gradient of the magnetic field strength. After being increased by the pre-amplifier (LT1167a, Linear Technology, USA), the measured voltage is acquired by the analog to digital converter (ADC) and sent back to the PC inside the system chassis (PXIe-1078, National Instrument, USA). The PC processes the measured signals, estimates the 5DOF tracker pose and controls the entire system.

Ramp waveform excitation

This work is based on modeling a conductive distorter as an additional resistance-inductance (RL) circuit [20]. For general AC EMTS, the frequencies of the generated signals are much lower than the self-resonant frequencies of the wires and coils. Therefore, the capacitive effects are insignificant in analyzing the inductive coupling between the coils. Figure 2 illustrates the equivalent circuit model of the inductive coupling of a transmitter coil and a sensor coil, with a nearby conductive distorter.

The generated voltage signal \(U_\mathrm{g}\) is increased by the amplifier of the transmitter coil with a gain of \(A_\mathrm{T}\); after this amplification, the voltage \(U_\mathrm{T}\) across the transmitter coil is increased to \(A_\mathrm{T} U_\mathrm{g} \). The resistance of the circuit is \(R_\mathrm{T}\), and the inductance of the transmitter coil is \(L_\mathrm{T} \). The sensor coil circuit and the conductive distorter can also be modeled as RL circuits with the resistances \(R_\mathrm{S} ,R_\mathrm{D}\) and inductances \(L_\mathrm{S} ,L_\mathrm{D} \), respectively. The voltage \(U_\mathrm{S}\) across the sensor coil circuit due to the coil coupling, after being amplified, can be measured by the PXI system. The mutual inductance between the transmitter and sensor coil, distorter and transmitters/sensors is described as \(M_\mathrm{T-S}\), \(M_\mathrm{T-D}\) and \(M_\mathrm{S-D}\).

The time constants of the transmitter coil and conductive distorter circuits are important for the circuit analysis and can be calculated as [21]:

$$\begin{aligned} \tau _\mathrm{T}= & {} \frac{L_\mathrm{T} }{R_\mathrm{T} } \end{aligned}$$
(2)
$$\begin{aligned} \tau _\mathrm{D}= & {} \frac{L_\mathrm{D} }{R_\mathrm{D} } \end{aligned}$$
(3)

The transfer function of the inductive coupling between the transmitter and the sensor was calculated as follows [22]:

$$\begin{aligned} G_\mathrm{T-S} =\frac{U_\mathrm{S} }{U_\mathrm{T} }=\frac{sM_\mathrm{T-S} }{L_\mathrm{T} \left( {\frac{1}{\tau _\mathrm{T} }+s} \right) } \end{aligned}$$
(4)

Supplying a ramp waveform signal of \(K\cdot t\) as the system input excitation, the voltage induced in the sensor coil can be calculated by (5) and (6), in Laplace and time domain.

$$\begin{aligned} U_\mathrm{S-T} \left( S \right)= & {} \frac{KM_\mathrm{T-S} }{L_\mathrm{T} \cdot s\left( {s+\frac{1}{\tau _\mathrm{T} }}\right) } \end{aligned}$$
(5)
$$\begin{aligned} U_\mathrm{S-T} \left( t \right)= & {} \frac{KM_\mathrm{T-S} \tau _1 \left( {1-\hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}} \right) }{L_\mathrm{T}} \end{aligned}$$
(6)

Here, the system response to a ramp excitation comprises two parts: a horizontal line and an exponential curve due to the switch-on cycle. The Laplace transfer functions of the inductive couplings between \(L_\mathrm{T} \) and \(L_\mathrm{D}\), \(L_\mathrm{D}\) and \(L_\mathrm{S}\) are illustrated by (7) and (8).

$$\begin{aligned} G_\mathrm{T-D} =\frac{sM_\mathrm{T-D} }{L_\mathrm{T} \left( {s+\frac{1}{\tau _\mathrm{T} }} \right) } \end{aligned}$$
(7)
$$\begin{aligned} G_{D-S} =\frac{sM_\mathrm{S-D} }{L_\mathrm{D} \left( {s+\frac{1}{\tau _\mathrm{D} }} \right) } \end{aligned}$$
(8)

The voltage across the sensor coil due to the magnetic field generated by the conductive distorter can be calculated in the Laplace and time domain.

$$\begin{aligned} U_\mathrm{S-D} \left( S \right)= & {} \frac{KM_\mathrm{T-D} M_\mathrm{S-D} }{L_\mathrm{T}\cdot L_\mathrm{D} \cdot \left( {s+\frac{1}{\tau _\mathrm{T} }} \right) \left( {s+\frac{1}{\tau _\mathrm{D} }} \right) } \end{aligned}$$
(9)
$$\begin{aligned} U_\mathrm{S-D} \left( t \right)= & {} \frac{KM_\mathrm{T-D} M_\mathrm{S-D} \tau _\mathrm{T} \tau _\mathrm{D} \left( {-\hbox {e}^{-\frac{t}{\tau _\mathrm{D} }}+\hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}} \right) }{L_\mathrm{T} \cdot L_\mathrm{D} \left( {\tau _\mathrm{T} -\tau _\mathrm{D} } \right) } \end{aligned}$$
(10)

The total voltage comprises distorted and non-distorted information is shown in (11).

$$\begin{aligned} U_\mathrm{S} \left( t \right)= & {} \frac{KM_\mathrm{T-S} \tau _\mathrm{T} \left( {1-\hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}} \right) }{L_\mathrm{T} }\nonumber \\&+\frac{KM_\mathrm{T-D} M_\mathrm{S-D} \tau _\mathrm{T} \tau _\mathrm{D} \left( {-\hbox {e}^{-\frac{t}{\tau _\mathrm{D} }}+\hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}} \right) }{L_\mathrm{T} \cdot L_\mathrm{D} \left( {\tau _\mathrm{T} -\tau _\mathrm{D} } \right) } \end{aligned}$$
(11)

The non-distorted voltage comprises a horizontal line element of \(\frac{KM_\mathrm{T-S} \tau _\mathrm{T}}{L_\mathrm{T} }\) and an exponential element of \(-\frac{KM_\mathrm{T-S} \tau _\mathrm{T} \hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}}{L_\mathrm{T} }\), while the distorted voltage only contains exponential parts. As seen in (11), the larger the time variable t we choose, the exponential components of \(\hbox {e}^{-\frac{t}{\tau _\mathrm{T} }}\) and \(-\hbox {e}^{-\frac{t}{\tau _\mathrm{D} }}\) approach more to 0. In reality, t must not be any large number to avoid low refresh time and bad SNR.

Fig. 3
figure 3

An example of the simulated voltage measurement with a conductive distorter nearby the sensor coil: a additive conductive distortion, b subtractive conductive distortion between sensor and distorter

Fig. 4
figure 4

The system block diagram of the fast data acquisition method

Simulation

In our experimental setup, \(L_\mathrm{T} =1.2\) mH, \(R_\mathrm{T} =15\,\Omega \), \(\tau _\mathrm{T} =\frac{L_\mathrm{T} }{R_\mathrm{T} }=0.08\) ms. We assumed the metal distorter as a common material for the medical instrument: aluminum. The resistivity of aluminum at \(20\,{^{\circ }}\hbox {C}\) is \(2.65\times 10^{-8}\,\Omega \,\hbox {m}\). It is assumed to be a regular shaped cylinder with a length of 100 mm and a diameter of 10 mm. Equation 12 shows the calculation of the resistance \(-\rho ,l,A\) representing the resistivity, length and cross-sectional area. The resistance of such a distorter model was calculated to be \(3.4\times 10^{-5}\,\Omega \).

$$\begin{aligned} R_\mathrm{D} =\rho \frac{l}{A} \end{aligned}$$
(12)

The self-inductance of the aluminum distorter is calculated to be \(6.0\times 10^{-8}H\), using Eq. 13 [23]:

$$\begin{aligned} L_\mathrm{D} =0.002\left[ {\ln \left( {\frac{2l}{r}} \right) -\frac{3}{4})} \right] \,\hbox {mH} \end{aligned}$$
(13)

where r is the radius of the cylinder conductor. The time constant of the conductor in this example was calculated to be \(1.8\,\hbox {ms}\). The self-inductance of the distorter can be estimated by the known magnetic flux and the current flow in the distorter. The mutual inductances between the transmitter coil, sensor coil, and conductive distorter are calculated using (14)–(16).

$$\begin{aligned} M_\mathrm{T-S}= & {} k_\mathrm{T-S} \cdot \sqrt{L_\mathrm{T} L_\mathrm{S} } \end{aligned}$$
(14)
$$\begin{aligned} M_\mathrm{T-D}= & {} k_\mathrm{T-D} \cdot \sqrt{L_\mathrm{T} L_\mathrm{D} } \end{aligned}$$
(15)
$$\begin{aligned} M_\mathrm{S-D}= & {} k_\mathrm{S-D} \cdot \sqrt{L_\mathrm{S} L_\mathrm{D} } \end{aligned}$$
(16)

where \(k_\mathrm{T-S} , \quad k_\mathrm{T-D} \) and \(k_\mathrm{S-D} \) are the coupling coefficients between air coils which are typically smaller than 0.35 [24]. When the distance between the coils grows larger, the coupling coefficient becomes smaller. The change in the coupling coefficient only changes the amplitude of the voltage signals, which does not influence the time constant of the distorter. We assume that the air coupling coefficients are standard, all being equal to 0.1. The conductive distortions can be additive or subtractive according to positive or negative directions of the current flows across the metallic distorter, relative to current flows in the sensor coil.

As the simulation result is shown in Fig. 3, the red curves represent the voltage signal induced in the sensor coil including the information of the reference voltage signal induced by the transmitter coil (blue-dash) and the distorted signal caused by a conductive object (black-dash). In realities, only the voltage induced in the sensor coil is measured. Because of the switch-on cycle effect, a delay of \(5\times \tau _\mathrm{T} =0.4\) ms was added for the system response approximately reaching its steady state. In this example, the “Total voltage” between 9.4 and 10 ms is approximately equal to the non-distorted voltage.

Data acquisition

The direct digital synthesis (DDS) technology is used to generate eight channel ramp waveforms. Time division multiplexing (TDM) is a standard method for sensor pose estimation; the signals were generated and measured sequentially from the first to the last channel in continuous time with one update in sensor’s pose. In this work, a fast TDM method was developed as shown in Fig. 4.

Within this approach, the DAQ and pose estimation are running in parallel loops. The measured voltages induced by different transmitter coils are buffered in the system memory. It is a moving-average-like acquisition process wherein the other channels remain in the last state when the \(i^{th}\) channel is updated. To realize this, eight on-board FPGA target-to-target FIFOs were used to individually acquire the signals in the eight channels. Additionally, an FPGA target-to-host FIFO was utilized to acquire the data measured by the eight FPGA target-to-target FIFOs and transfer it to the PC using direct memory access (DMA). For each channel, five periods of the signals were measured.

Fig. 5
figure 5

Generated and measured voltages: a voltage generated by DAC and b an example of the voltage induced by one of the eight transmitter coils measured by ADC

Figure 5 shows an example of generated and measured voltage signals of the DAQ device. In our current approach, five steps’ averaging is necessary to improve the signal quality.

Pose estimation

The algorithm for pose estimation using dipole approximation referred in the literature [25]. By minimizing the differences between the measured and the estimated voltages across the sensor coil, the actual sensor pose can be estimated as is shown in (17).

$$\begin{aligned} F\left( {x,y,z,\theta ,\varphi } \right) =\sum \limits _{i=1}^n \left( {\left| {U_\mathrm{mea}^i -U_\mathrm{est}^i } \right| } \right) \end{aligned}$$
(17)

For the ramp waveform excitation method introduced in this paper, \(U_\mathrm{mea}\) is equal to the horizontal linear signal \(\frac{KM_\mathrm{T-S} \tau _\mathrm{T}}{L_\mathrm{T} }\) in (11).

Evaluation

Refresh rate

System refresh rate by using the ramp, QR, and sinusoidal excitation was evaluated individually.

Fig. 6
figure 6

System refresh rate measurement: 1 vascular phantom, 2 the tip of the catheter, 3 catheter pullback device (Trak Back II, Volcano, Japan) and 4 field generator

Fig. 7
figure 7

Time constant measurement of metal distorters: 1 an aluminum disk with a diameter of 10 cm and thickness of 3 cm, 2 a brass disk with a diameter of 10 cm and thickness of 3 cm, 3 a neurological reflex hammer

As shown in Fig. 6, the catheter was previously inserted in the vascular phantom at a fixed position (2). A medical catheter pullback device was utilized to pull out the catheter from the vascular phantom at a constant speed of 0.5 mm/s over 100 s. The total frames of the sensor’s pose were recorded to calculate the system refresh rate.

Time constant measurement

The time constant of the transmitter coil \(\tau _\mathrm{T} \) is a fixed value in our experimental setup. However, for the conductive distorter, \(\tau _\mathrm{D} \) is changeable due to different size and materials of the metallic objects. Figure 7 shows the measurement of the time constants of different metallic distorters.

In this measurement, the sensor coil was fixed on the top of the field generator. The conductive distorters were individually placed approximately 0.5 cm close to the sensor coil. A unit step waveform was generated and supplied to the first of the transmitter coil. The system response to the unit step excitation was measured to calculate the time constant of the three conductive distorters (Fig. 8).

Positional accuracy

The assessment of the static tracker accuracy using the ramp excitation method was performed by using an optical tracking system—NDI Polaris Spectra (Northern Digital, Canada) as the reference positioning system.

Fig. 8
figure 8

Sensor pose accuracy assessment: 1 optical tracking system, 2 EM field generator, 3 test volume defined by a wooden structure, 4 LEGO robot being used to move the tracker in the 3D test volume, 5 optical marker/EM sensor with fixed locations: 6 front view—optical markers, 7 back view—rigidly fixed EM sensor

Fig. 9
figure 9

Measurement of sensor pose error due to a nearby conductive distorter at different distance from 10 to 1 cm to the sensor coil: 1 field generator of the experimental setup, 2 optical marker with fixed pose to the sensor coil, 3 sensor coil, 4 conductive distorter, and 5 field generator of NDI Aurora system

In this measurement, the EM sensor was moved by the LEGO robot in the wooden test volume along X, Y, Z directions automatically. 512 poses were measured by the EMTS and OTS, respectively. The pose measured by the optical tracking system can be utilized as a reference to calculate the EMTS sensor error (18) and (19):

$$\begin{aligned} E_\mathrm{P} \left( i \right)= & {} \sqrt{\left( {X_\mathrm{op} \left( i \right) -X_\mathrm{em} \left( i \right) } \right) ^{2}+\left( {Y_\mathrm{op} \left( i \right) -Y_\mathrm{em} \left( i \right) } \right) ^{2}+\left( {Z_\mathrm{op} \left( i \right) -Z_\mathrm{em} \left( i \right) } \right) ^{2}}\nonumber \\ \end{aligned}$$
(18)
$$\begin{aligned} \hbox {E}_{\mathrm{O}} \left( i \right)= & {} \sqrt{\left( {{\varphi }_{\mathrm{op}} \left( i \right) -{\varphi }_{\mathrm{em}} \left( i \right) } \right) ^{2}+\left( {{\theta }_{\mathrm{op}} \left( i \right) -{\theta }_{\mathrm{em}} \left( i \right) } \right) ^{2}} \end{aligned}$$
(19)

Here, i represents the i-th of the total 512 poses. E is the total position error of the EM sensor. \(X_\mathrm{op} ,Y_\mathrm{op} ,Z_\mathrm{op} ,\varphi _\mathrm{op}\) and \(\theta _\mathrm{op}\) are the measured marker pose by OTS used as the reference positions. Meanwhile, \(X_\mathrm{em} ,Y_\mathrm{em} ,Z_\mathrm{em} ,\phi _\mathrm{em} \) and \(\theta _\mathrm{em}\) are the measured sensor pose by EMTS. The mean error (ME) and root-mean-square error (RMSE) were calculated using (20) and (21).

$$\begin{aligned} \hbox {ME}=\frac{1}{n} \sum \limits _{i=1}^n E\left( i \right) \end{aligned}$$
(20)
$$\begin{aligned} \hbox {RMSE}=\sqrt{\frac{\sum \nolimits _{i=1}^n E\left( i \right) ^{2}}{n}} \end{aligned}$$
(21)

Due to the limitation of established LEGO frame, the sensor coil was fixed toward one direction. Therefore, the accuracy of sensor coils’ orientation was not comprehensively evaluated by this setup.

Distance-dependent distortion

To estimate the sensor pose error due to the changes in the distance between the sensor coils and the conductive distorters, we performed a measurement as illustrated in Fig. 9.

Here, aluminum/ brass disks and a reflex hammer, shown in Fig. 4, were tested. The metal objects were placed 10 cm away and moved toward the sensor coil, to a distance of 1 cm from the coil. In this measurement, the optical tracking system was utilized to provide the basis of the original sensor’s location. The changes in sensor’s poses measured by EMTS, due to distorters placed at various distances, were compared. The measurements were performed applying sinusoidal/ ramp excitations and also on a commercial ETMS. In order to minimize the influence of noise on the tracked sensor’s poses, each measurement was repeated 1000 times for averaging.

Distortions from medical instruments

We tested the system performance against distortions from a brass disk of different size, multiple clinical instruments, and devices. Figure 10 shows the different sources of metallic distortions for EMTS. In this experiment, the different sources of distortions were all fixed 1 cm away to the sensor coil on our setup and also the commercial EMTS.

Fig. 10
figure 10

Sources of distortions: 1 \(5\,\hbox {cm} \times 1\,\hbox {cm}\) brass disk, 2 dental drill body, 3 Langenbeck hook, 4 bone curettes, 5 scalpel, 6 needle holder, 7 ultrasound probe

Results

Refresh rate

The system refresh rate was measured to be 12.7 fps. Table 1 shows the comparisons of the system refresh rate among the different methods running on our experimental setup.

Table 1 System refresh rate of our experimental setup

Time constant measurement

The time constant of an aluminum disk, a brass disk and a neurological reflex hammer as seen in Fig. 6 was measured and is presented in Fig. 11.

Fig. 11
figure 11

The measured voltage due to a unit step excitation for distinct conductive distortions: a unit step excitation, b system response to an aluminum disk, c system response to a brass disk, and d system response to a neurological reflex hammer

The voltage induced in the sensor coil was measured and shown in Fig. 10. The measured voltages between 2.58 and 3.2 ms provide information about the system switch-on cycle, the time constant of transmitter coils and the time constant of conductive distorters. The measured voltage between 3 and 15 ms only shows the decay of the voltage stored in the conductive distorters. The time constant of the aluminum disk, brass disk, and a reflex hammer was measured to be 1.72, 0.98, and 0.75 ms, respectively.

Fig. 12
figure 12

Sensor position error in the test volume with distance between the sensor and the center of the transmitter coils array of up to 200 mm

Conductive distorters with different shapes and materials have corresponding distinct time constants. As is shown in Fig. 6, the aluminum disk has the biggest time constant. Here, the system needs at least \(1.72\times 5+0.62=9.22\) ms to approximately reach its steady state. For the proximate brass disk and reflex hammer, the system needs \(5.52\,\hbox {ms}\) and 4.37 ms to reach its steady state.

Positional accuracy

Figure 12 and Table 2 present the results of the sensor pose corresponding to the distinct distances between the sensor and the transmitter coils.

Table 2 Sensor position error varies with different distances between the sensor and the center of the transmitter coil array
Fig. 13
figure 13

Sensor pose error due to conductive distorters placed at different distances to the sensor coil: a position error due to an aluminum disk, b orientation error due to an aluminum disk, c position error due to a brass disk, d orientation error due to a brass disk, e position error due to a reflex hammer, and e orientation error due to a reflex hammer

Distance-dependent distortion

The measurement—as shown in Fig. 8—aiming to analyze the level of errors in estimated sensor’s pose due to the different distances between the sensor and transmitter was taken. The result is shown in Fig. 13.

The errors of estimated sensor’s poses increase when the distances between the sensor and the distorter decrease, for the NDI Aurora system and our experimental setup applying sinusoidal excitation. Missing measurement occurred for the NDI Aurora system when the aluminum and brass disks were placed 1 cm away from the sensor coil. The ramp excitation method reduces the errors of the estimated sensor’s pose due to aluminum and brass disks at distances lower than 0.5 mm in position and \(0.8^{\circ }\) in orientation. However, it cannot reduce the errors caused by the reflex hammer made of stainless steel to such a low level.

Distortions from medical instruments

Sensor pose error for both the commercial system and our EMTS prototype using sinusoidal and ramp excitation caused by distinct instruments is presented in Fig. 14.

Fig. 14
figure 14

Sensor pose’s error resulting from different sources of distortion for our experimental setup applying ramp/ sinusoidal excitations and the commercial system: a sensor position error, b sensor orientation error

The largest sensor pose errors for the commercial ETMS and sinusoidal excitation are 4.93, 5.30 mm in the estimated position, caused by the brass disk, and \(6.23{^{\circ }}\), \(4.22{^{\circ }}\) in orientation, caused by the needle holder. Our setup applying ramp excitation reduces sensor pose error caused by the different distorters with the maximum position error of 0.75 mm and \(0.48{^{\circ }}\).

Discussion

Refresh rate

Given the Fast TDM method and the implementation using an FPGA, the system features a refresh rate of 12.7 Hz. The ramp method is slower than the sinusoidal excitation method applying FDM due to a much lower input signal frequency. The FDM method does not support the ramp excitation method because the system response in the time domain cannot be filtered out by band-pass filters.

Latency

In this work, five periods of the measured voltage signals were averaged to increase the signal quality. As shown in Fig. 5, for a complete estimation of sensor’s pose, the system needs \(50\times 8\,\hbox {ms}=400\,\hbox {ms}\) to measure the voltages induced in all channels. The computational process also consumes some time. Therefore, our current approach has a delay of approximately 431 ms to completely estimate the sensor’s pose.

Tracker accuracy

Regarding the tracker accuracy, the expected error is less than 2 mm. Our approach meets this requirement when the distance between the sensor and the center of the transmitter coils is less than 150 mm. The tracker pose error is greater when the distance increases, because of a poorer SNR of the measured system response to the ramp excitation. In the current setup, the arrangement of the transmitter coils’ position and orientation were randomly predefined. Optimization of the transmitter coils’ position and orientation can be performed to let higher magnetic flux pass through the cross-sectional area of the sensor coil to measure larger voltage drops. This will lead to a better SNR in the measured voltage induced in the sensor coil, allowing the system to attain a higher precision in the sensor’s pose estimation. The hardware of the system can be optimized to increase the SNR further. Application of sophisticated filters such as the Kalman filter, which have the potential to improve the robustness as well as speed up the frame rate, can be investigated. These improvements may enhance the accuracy and robustness of the ramp excitation method for EMTS in a much larger working volume.

Metallic distortions

A comparison with a commercial system and the sinusoidal excitation method in the presence of proximate conductive distorters was performed. The commercial EMTS and our setup applying sinusoidal excitation demonstrated significant errors due to a proximate conductive distorter. The system utilizing ramp excitations reduced such errors to a very low level. The ramp excitation method reduces the pose errors caused by pure non-ferromagnetic materials, such as aluminum and brass disks, to a significantly low level. However, there was still an obvious error when certain medical instruments made of stainless steel, such as a reflex hammer or a needle holder, were located close to the sensor coil. Although austenitic stainless steel is non-ferromagnetic, other types of stainless steels such as ferritic, martensitic and duplex are ferromagnetic. Our approach reduces the errors caused by conductive but non-ferromagnetic materials.

Comparison with commercial systems

Our current approach on the EMTS prototype is slower in updating sensor’s pose signals compared to the commercial EMTS, which generally provides refresh rates between 40 and 250 Hz [7]. The latency of the Ascension Flock of Birds and the Polhemus Fastrak system was measured to be approximately up to 50 ms [27], which is much lower than our approach in removing conductive distortions. With respect to spatial positioning accuracy, NDI’s Aurora system was reported to have a position RMS error of 1.2 mm with the distance between the sensor and field transmitter up to 600 mm, evaluated by using an optical tracking system [28]. The accuracy of our current approach is 1.6 mm RMS error within a distance of up to 150 mm. The main advantage of our approach is the improved robustness against proximate conductive distorters. In fact, as illustrated in Figs. 13 and 14, our method provides a significantly better performance on the robustness against distorters than the commercial system.

Future work

This paper introduces a software-based solution to reduce tracking errors caused by electrically conductive objects in operating rooms. Before putting it forward into the use of real clinical applications, the system needs to be further improved and more comprehensively evaluated. In this work, we have assessed the tracking accuracy utilizing an optical tracking system as the reference positioning system. As documented by its manufacturer, the NDI Polaris Spectra has a 0.25 mm RMS error. Due to the error distributions of this system as was reported in [29], we carefully selected the testing volume. However, the positions measured by this optical tracking system do not provide the ground truth with sufficient precision. The results in Fig. 12 and Table 2 show the error distributions and its potential for use in clinical applications. In future work, more accurate optical tracking systems such as the Atracsys fusionTrack 500 or laser-based tracking systems such as the FARO Laser Tracker, with much higher accuracies, have to be applied as reference positioning systems. With respect to statistically evaluating the orientation accuracy, test phantoms having very small error tolerances and setups allowing the changing of the sensor’s orientations [30] have to be applied.

The current approach of this method has a delay of up to 431 ms in updating the sensor’s pose. In order to reduce the delay in the future, one solution is an adaptive truncation of the ramp-signal periods. In this work, we chose a measurement time of 10 ms for each excitation. It allows the distortions caused by conductive materials, whose conductivities are smaller than aluminum, to be removed. In the future, an adaptive process for choosing the optimal time with regard to different levels of distortions will be investigated. From small to large conductive distortions, the system will automatically choose the most suitable periods of the ramp input signals. A very weak point of our basic prototype is the hardware, which has not been optimized with respect to electronic noise, the amplifier of the test coil, or the transmitter coils’ arrangement. These aspects have to be improved in the future. Furthermore, sophisticated filters, e.g. Kalman filter, will be applied in order to shorten the averaging periods and increase the tracking accuracy. It should also be noted that all calculations are done with MATLAB, causing avoidable delays. Last but not least, the current implementation focusses on reducing metallic distortions. However, when there is no metal object proximate to the sensor coil, the standard method using sine-wave excitation lets the system to operate more accurately in a larger working volume and with much faster measurement speed. Therefore, a more intelligent solution would be adaptive switching between sinusoidal and ramp excitation methods for EMTS, after detecting whether or not there is a proximate conductive distorter.

Conclusion

This work represents a proof of the concepts for a method based on ramp waveform excitation which can strongly reduce the distortions of EMTS caused by proximate metallic conductors. This purely software-based procedure currently provides a low refresh rate of 12.7 fps and a relatively small volume of interest for precise tracking. However, since the reasons for these issues are well understood, the implementation can be straightforwardly improved.