“…The objective is to estimate the magnetic tracer’s position and orientation ( a x , a y , a z , θ , φ ) that minimize the error, E , between the calculated and measured magnetic fields at the position of every sensor. There is a multitude of mathematical optimization methods available, such as Particle Swarming Optimization (PSO), DIRECT, Powell, and Nelder-Mead [24]–[26]. We have used the latter as a suitable candidate with sufficient accuracy and reasonable computational load for our application,
where N is the number of magnetometers (24 in the current version),
and
are the measured and estimated magnetic field values at the i th magnetometer, respectively.…”