Download as pdf or txt
Download as pdf or txt
You are on page 1of 7

IAICT 2014, Bali 28-30 August 2014

Long Range Magnetic Field Measurement with Magnetic Sensors

Marcelo Ribeiro, Michael Ortner, Michael Seger


ElectroMagnetic Sense and Control
CTR – Carinthian Tech Research
Villach, Austria
marcelo.ribeiro@ctr.at, michael.ortner@ctr.at, michael.seger@ctr.at

Abstract — Magnetic systems provide powerful tools for in principle a passive component that requires no power
contact free motion detection. Such systems are very robust, supply. At the same time, the magnetic field of a
being capable of operating in harsh environments, e.g. in the permanent magnet is strongly position dependent. With the
presence of dirt and at high temperature, and have life-times potential for contact free position detection in combination
of up to decades. Another advantage is that quasi-static with the robustness of such systems – modern magnets can
applications, typical for the detection of mechanical motion, last easily for several years without showing
enable the measurement of magnetic fields from outside of a demagnetization effects when treated accordingly – it is
closed system, as the magnetic fields easily penetrate solid not very surprising that sophisticated schemes have been
non-magnetic materials. On the other hand, the fast decay of
developed for position and linear distance measurements
the magnetic field of a magnet is a known characteristic and
that find frequent use in the modern industry [12].
normally a limiting factor regarding distance between
magnet and sensor. To overcome this issue, a device In this paper a field focusing device to enhance weak
constructed of a highly permeable material is proposed, magnetic field measurement using ordinary sensors is
aiming to focus the magnetic field at a sensing point, hence proposed in the context of magnet-magnetic sensor
named “field focuser”. Similar concepts of magnetic field principles for long distance measurements.
focusers have been proposed and are available in various The following topics cover the problem description, the
geometrical designs [1, 2, 3]. Currently, there are several proposed solution and a description of the simulation
realizations of magnet-magnetic sensor systems where the environment and experimental setup used to test the
motion of the magnet is detected by the change in field model. The results from simulations and experiments are
amplitude at the sensor. These systems include linear motion presented, the system is validated and its performance is
detection, axis rotation detection, complex composed motion analyzed. The conclusions are drawn in the last section,
detection and many others, which lead to a large range of followed by proposals for future improvements.
industrial applications, especially in the automotive branch
[4, 5]. This work aims to extend the knowledge on magnetic II. PROBLEM DESCRIPTION
systems and help developers to understand limits and
When dealing with linear distance measurements using
advantages of such setups.
magnet-magnetic sensor systems, one of the biggest
Keywords — magnetic sensing; magnetic simulations; far difficulties is to achieve the magnetic field amplitudes, of
magnetic field detection; field focusing; robot manipulator the order of few tens of millitesla, required by the sensor
manufacturers, e.g. [13]. This is due to the fact that the
field amplitude of the magnetic field B(r) of a permanent
I. INTRODUCTION magnet typically decays like (1) for distances that are of
While magnetic field sensors and sensing principles the order of the size of the magnet or larger [14].
have been around for a long time [6], the last decades have
witnessed an explosion in the development of magnetic
sensing technologies driven by the technological advance (1)
and a rapidly growing demand in industrial applications
[7]. This development has been made possible by the Here r denotes the distance from the center of the
numerous advantages provided by magnetic sensors over magnet and M denotes the magnetization which is
other measurement systems, such as small packaging sizes proportional to the remanence field of the magnet,
and miniaturization [8], low production costs, contactless Br = µ0·M (µ0 representing vacuum permeability). As the
measurement possibilities, high resolution [9], low power field amplitude scales linearly with the magnetization, in
requirements and an excellent robustness against general one cannot compensate the fast decay with the
vibrations, temperature, moisture and dirt. Today’s distance by choosing stronger magnets. For example, to
magnetic sensors have established themselves in every achieve a magnetic field amplitude of 20mT, as required
major industrial sector with applications ranging from by [13], for a cylindrical bar magnet of diameter
mechanical orientation, position and motion sensing, D = 10mm, length L = 10mm and a very strong remanence
magnetic material and state analysis and detection, via field of Br = 1.1T, typical for NdFeB (Neodymium)
navigation and guidance systems to a variety of magnets, the field amplitude drops to 20mT on the axis
applications in medicine, archeology, space exploration perpendicular to the symmetry axis of the magnet when
and countless others [10, 11]. only at ~17mm from the magnet surface and drops down
In this study we focus on magnet-magnetic sensor to ~2mT at a distance of 42mm from the magnet surface.
systems. One of the great advantages when dealing with For industrial applications this fact is quite troubling as
such systems is that the magnet, being the field source, is the prices of permanent magnets, especially the strong rare

978-1-4799-4909-0/14/$31.00 ©2014 IEEE 97


IAICT 2014, Bali 28-30 August 2014

earth magnets, make this system uneconomical when the detection of positively oriented fields is expressed from
distances that should be measured exceed few centimeters. 2.47V upwards, while the detection of negatively oriented
Under the above circumstances, position and distance fields from 2.47V downwards. The conversion of the
measurements are therefore only feasible in the immediate sensor readout from Volts to Tesla is explained by (2).
vicinity of the magnets. Further information can be found in [16].
III. PROPOSED SOLUTION
To overcome the limitations when dealing with (2)
position and distance measurements, a field focusing
device that allows one to detect the weak fields of Here x denotes the sensor output in Volt and B the
permanent magnets at large distances was developed. The magnetic flux density expressed in mT.
focuser consists of a core made of a soft magnetic material
of high permeability, which is divided into two pieces by a V. FOCUSER DEVELOPMENT
small gap with a magnetic field sensor placed inside. The While the initial idea of how to improve the magnetic
underlying principle is that the highly permeable core field detection on greater distances is quite simple, the
attracts and enhances the weak external magnetic field, as development of the focusing device was a step by step
outlined in the sketch in Fig. 1. process that shall partly be reproduced here for
justification and argument of the final setup.
A. Initial simulations
The initial setup was an educated guess with the
concept of Fig. 1 in mind. From the magnetic circuit
theory it is clear that the gap, that should be of the order of
1mm to hold a magnetic sensor, must be much smaller
Figure 1. Sketch of the focusing principle than the thickness of the core. The initial dimensions,
presented in Fig. 2, were chosen in accordance with the
If the gap is small, compared to the thickness of the dimensions of the available material for experimentation.
core, the field propagation in the focuser can be described In the simulation the core was modeled with linearized
using magnetic circuit theory [15]. The two major effects St37 Steel (µr = 2700) and Iron (µr = 3000), while the
are that the magnetic field in the core becomes magnet was modeled with linearized NdFeB (Br = 1.05T
homogeneous as the gap acts like a resistance, and that it and µr = 1.007) and SmCo (Br = 1.25T and µr = 1.17).
propagates at full amplitude through the gap.
Such a setup, thus, enhances the magnetic field that can
be picked up by the sensor, while being robust against
positioning tolerances of the sensor inside the core’s air
gap.
IV. AUXILIARY TOOLS
In order to test and understand the system,
magnetostatic simulations were performed using the FEM
environment ANSYS Maxwell v.16, while the
experimental part was executed with a self developed Figure 2. Initial model dimensions
system composed of a robot manipulator, a magnetic
sensor, and hardware, firmware and software that access The asymmetric positioning of the sensor air gap is due
sensor data and provide output files for further analysis. to the material available for the production of the first core
prototype for the actual measurements, and the “U” shape
A. Simulation setup was considered for better fitting of the core onto the actual
Linearized models for the materials were used with, “bent” form of the magnetic field lines, see Fig. 1.
e.g. a typical relative permeability of iron (µr = 3000) for Fig. 3 shows a snapshot of the magnetic field in such a
the core, and typical values of the remanence field and setup from the FEM simulation using the previously
permeability of NdFeB (Br = 1.05T and µr = 1.007) for the introduced steel core and an NdFeB magnet.
magnet. Influences on the magnetic field by the sensor
itself have been neglected.
B. Experimental setup
The system consists of a robot arm with its controller
(EPSON E2C351S), two sensor readout boxes
(Measurement Computing USB1608FS and Xilinx Spartan
3 series XC3S1200E), a magnetic sensor (Melexis
MLX90215), a integration software (CTR MagSens
readout suit V1.0), and tools that can provide physical
support for magnets and sensors.
The MLX90215 was configured to its highest Figure 3. Initial simulation snapshot
sensitivity, 140mV/mT, and powered with 5V. The

98
IAICT 2014, Bali 28-30 August 2014

As expected, the magnetic field lines were strongly The results from the simulations are presented in
focused inside the core even at large distances from the Fig. 5.
magnet. Results from the simulations using an iron core
can be found in Table I.
B. Initial measurements
To confirm that the simulations were in accordance
with the output given by real measurement devices, an
experiment was conducted. In this experiment the magnets
were placed manually using a simple non-magnetic
magnet holder, and the core was constructed from
laminated, soft magnetic transformer sheets. The magnetic
field in the gap was read out with a magnetometer,
Wuntronic Koshava [17].
While the experiment was of a crude nature, it draws
advantage from the fact that it is quite stable against small
displacements of its components. Results from the
experiment are given in Table I.
C. Simulation and measurement result comparison
To reasonably compare simulation results and
measurement outputs, the simulation was adjusted to the Figure 5. Core optimization charts
experiment at a single point: for a distance of 50mm the
remanence field of the magnets was adjusted to fit the The traces show the strength of the magnetic field at
experimental data. This was necessary to account for the the position of the sensor in units of millitesla. The four
unknown exact remanence fields of the magnets used in images show the results for four different distances
the experiment, and their possible demagnetization before between the magnet and the core. On the horizontal axis
the experiment. All other points were simulated using the the length of the core is varied from 50mm to 150mm.
same remanence field. The results for experiment and Different colors/line styles and different line thicknesses
simulation are given in Table I. denote different arm lengths and core thicknesses. One can
TABLE I. SIMULATION VS. MEASUREMENT RESULTS
immediately see the tendency that the field will be
strongest when the arm length disappears. This can be
Results understood as the absolute distance between the sensor and
NdFeB - 18x12mm SmCo - 10x5mm the magnet increases with the arm length. Other results,
Dist. Sim. [mT] Meas. [mT] Sim. [mT] Meas. [mT] not so readily interpreted, are that the long cores seem to
5cm 5.99 ±0.5% 6.02 ±0.3mT 0.651 ±0.5% 0.64 ±0.03mT improve the field up to a certain point, and that thinner
7cm 3.20 ±0.5% 3.25 ±0.2mT 0.357 ±0.5% 0.36 ±0.03mT cores seem to work just as fine, sometimes even better,
9cm 1.82 ±0.5% 1.88 ±0.1mT 0.202 ±0.5% 0.21 ±0.03mT than thick ones.
11cm 1.12 ±0.5% 1.17 ±0.1mT 0.125 ±0.5% 0.14 ±0.03mT While the optimal arm length “H” of the core is zero
the optimal length “L” seems to depend on the core’s
Table I shows that experiment and simulation results thickness as well as the distance from the magnet. When it
are in good agreement and match with a maximal comes to core thickness it appears that thinner cores would
difference of only 10%, despite the simple experimental increase the flux when there is no gap, however, for a fixed
setup. gap size of 1mm, the optimal thickness lies between 6 to
10mm.
D. Core optimizations Further simulations, where the shape of the core was
After the concept was considered valid, an analyzed, showed that a cylindrically shaped core, which
optimization phase was started aiming to find better would be easier to manufacture and handle, shows a very
dimension and material configurations. This optimization similar behavior compared to the rectangular one.
process was carried out in the simulation environment, A screenshot from the simulation environment with the
which was considered reliable after the previous successful cylindrical shape can be seen in Fig. 6.
comparisons with experiments.
The procedure consisted of trying different materials
and dimensions for the core. The variables taken into
account for optimization were the length of the core “L”,
the thickness of the core “D” and the arm length of the
core “H”, depicted in Fig. 4.

Figure 6. Final core shape

For the core material, simulations with variation of the


material permeability (µ) were conducted. As expected
from the magnetic circuit theory, the magnetic field inside
Figure 4. Variables varied during the core’s optimization phase

99
IAICT 2014, Bali 28-30 August 2014

the gap should increase with the magnetic permeability of magnet (as it is the magnetic field source) and in the ferrite
the core. The results are presented in Fig. 7. cores of the field focuser.
Subsequently, measurements were executed placing the
field focuser on a fixed XYZU coordinate (where U
represent rotation about Z) and moving a permanent
magnet in reference to this fixed point, performing
readouts at the center of the gap between the ferrite cores
for different XYZU magnet positions.
Initial measurements were performed placing a
rectangular shaped magnet parallel to the field focuser and
moving it in Y direction, as the sketch in Fig. 10 shows.
Figure 7. Core’s relative permeability analysis

It is possible to see that the field increases until a


permeability of approximately µr = 1000 is reached, but
little is gained by choosing values of µr larger than a few
thousand, which is interesting from a cost point of view.
E. Focuser manufacturing
The core dimensions as well as the material
characteristics based on the simulation outcomes were
used to manufacture an according prototype, which can be
seen in Fig. 8.
Figure 10. Sketch of the initial Y measurements

The measurements were carried out from distances of


10 to 190mm between magnet and cores (limited by the
robot arm’s operation range) with 10mm step size, which
provided a dataset with 19 results for each of the four
scenarios: simulations with and without the ferrite cores as
Figure 8. Final core prototype well as experiments with and without the ferrite cores.
Fig. 11 presents the magnetic field intensity in function of
The final design consists of two cylindrical pieces of the distance from core for the described scenarios.
ferrite with a relative permeability of µr ~ 2000, a length of
43mm and a diameter of 6mm. It includes a plastic sensor
holder, which holds the sensor and joins both core halves.
Additionally, there is a hole where a screw can be placed
to fixate the field focuser as an integrant of another system.
All parts, except the core, are made of non-magnetic
materials.
VI. PERFORMANCE ANALYSIS
The performance of the field focuser was analyzed by
comparing measurements of the magnetic field amplitudes Figure 11. Results of the Y measurements
in the presence and absence of the ferrite cores, both with
simulations and experiments. The continuous lines represent simulation results and
A snapshot of the magnetic fields plotted in the the points experimental results, being the red traces from
simulation software, which illustrate the operation of the the data without the ferrite cores and the blue traces with
system, can be found on Fig. 9. the presence of the cores. Analyzing the chart, it is clear
that the field focuser improves the measuring range, as the
amplitude is enhanced on the whole range in the presence
of the cores when compared to their absence, reassuring
the validity of the proposed solution. The plateau of the
sensor signal at small distances (blue points) is due to the
saturation of the sensor, since the field was too strong as a
result of the proximity of the magnet to the cores. This
does not present a threat as the system is intended for long
range measurements.
A deeper analysis of the simulation data (chosen due to
Figure 9. Prototyped core’s simulation snapshot its lower fluctuations) brings out the field focuser’s
performance with a comparison between the signals,
The red areas represent strong magnetic fields and the shown in Fig. 12.
blue areas weak magnetic fields. It is possible to see that
the areas with higher values are concentrated around the

100
IAICT 2014, Bali 28-30 August 2014

Figure 12. Field focuser’s performance extracted from simulations

The blue trace represents the difference between the Figure 14. Sketch of the XY measurement plane
signal with and without the ferrite cores, and the red trace
the percentage improvement of the signal strength in the The measurements were carried out from 10 to 190mm
presence of the cores. Although, the absolute signal of distance between magnet and cores (Y axis) and
improvement (blue) decays over distance, its percentage from -100 to 100mm parallel to the core (X axis), both
representation (red) shows that the performance increases with 10mm step size, which produced a dataset with 399
over distance, which hints at a slower decay than would be results (19Y x 21X) for each of the four scenarios:
expected having (1) in mind. simulations with and without the ferrite cores as well as
Those results are promising, but in the real world experiments with and without the ferrite cores. Fig. 15
applications low amplitudes result in low signal-to-noise shows 3D plots of the magnetic field intensity in the
ratios. Therefore, a further performance analysis had to be sensing point as functions of the XY position of the
done taking the characteristics of the readout system used magnet for the described scenarios.
in the application into account.
The sensor used in the experiments have noise levels
ranging from 8mVpp to 60mVpp (50mVpp for the used
configuration), limiting the measurement range to signals
above the noise threshold. Fig. 13 shows a semi-logarithm
plot of the simulated results with a reference line
representing the sensor noise threshold.

Figure 15. Results of the XY measurements

Plots (a), (b), (d) and (e) show respectively the data
Figure 13. Performance comparison over distance with noise threshold from experiment with and without cores, and the data from
simulation with and without cores, while plots (c) and (f)
The blue trace represents the signal in the presence of show overlays of focused and unfocused signals from
the ferrite cores, the black trace the data from the experiment and simulation for comparison purposes, which
simulation without the cores, and the red dashed line highlight the amplitude difference on the presence and
represents the sensor’s noise barrier. Measurements absence of the focuser.
without the ferrite cores would become critical at In order to facilitate further interpretation, X datasets
approximately 40mm of distance between sensing point over a fixed Y coordinate (40mm) were extracted (found in
and magnet, while in the presence of the cores the critical Fig. 16), as well as snapshots of vector plots of the
point would move to approximately 140mm, a simulation environment with different magnet positions
performance improvement of about 250%. were generated (Fig. 17).
Further measurements were then performed including
the X axis in the movement range, which was expected to
show the influence of such offsets. Fig. 14 shows a sketch
of the XY measurement plane.

Figure 16. X dataset extracts at fixed Y

101
IAICT 2014, Bali 28-30 August 2014

The continuous lines come from simulations and the and ±50mm are due to the difference of the zero crossings
points from experiments, being the red traces from the data for focused and unfocused signals, consequence of the
without the ferrite cores and the blue traces with the influences of the presence of the focuser itself, and present
presence of the cores. no realistic performance behavior. Ignoring the peaks and
the influences of the measurement system, it is possible to
say the performance ranges around 2000% when dealing
with X movements.
VII. CONCLUSION
The fast magnetic field decay is a known characteristic
when detecting fields of magnets at larger distances. The
proposed concept of a field focuser was expected to
decrease the effects of this issue, and already at the initial
stage it was clear that the proposal was feasible.
The positive results from the initial stage gave way to
an optimization phase, where it was learned that different
dimensions, materials and geometries play an important
role on the field focuser’s efficiency, that the dimensions
Figure 17. Snapshots of simulation results for X positions at fixed Y are related with the sensor and magnet type, shape and
coordinates size, and that the core’s permeability (µr) have a
performance saturation, which allows the use of cost-
The red areas represent strong magnetic field efficient materials.
amplitudes and the blue areas weak magnetic field The outcomes of the optimization phase were
amplitudes. prototyped and tested successfully, showing a massive
Having in mind that the sensor in use is only capable of improvement of the magnitude of the magnetic field
detecting magnetic field components in one dimension, it amplitudes when at large distances from the magnets.
is positioned flatly in the gap between both ferrite cores The prototype’s performance analysis showed that the
and the sensing direction is perpendicular to its surface, signal detectability grows significantly with the increase of
focus to the vector X component should be given. the distance Y, although the measurement system poses a
Fig. 16 shows that the signal takes positive and barrier by inserting noise in the data, thus limiting the
negative values and includes zero crossings, while one not measurement range to a point where data can be
familiar with magnetic fields would expect that, as long as distinguished from noise.
the orientation of the magnet (inversion of the magnetic As a consequence of the noise from the measurement
poles) is not changed, the signal should remain positive. devices, a generic system with a broad measurement band
That is explained by the vector plots from Fig. 17, which involving high gains and, therefore, higher noise levels,
show that the fields are oriented in different directions will suffer more from the effects of the influence of the
depending on the magnet’s X position. It is possible to see measurement system, while a solution tailored to a specific
that in (a) and (c) the vectors are pointing primarily in X problem will be able to handle the side effects of the
direction, while in (b) primarily in Y direction, which from measurement system better when operating on a low noise
the sensor’s point of view means although there is the configuration.
presence of magnetic fields in (b), it is not able to detect The presence of X offsets changes the orientation of
them, while in (a) and (c) it can detect the full amplitude of the magnetic field in the sensing point which, due to the
the field, as the field vectors show primarily X systems characteristics, means even offsetting the magnet
components. in one direction only there are minima and maxima, as
A deeper analysis of the data from Fig. 16 points out well as positive and negative values. Such characteristic
the field focuser’s performance with a comparison between can be used in favor of the developer, depending on the
the signals for the X axis, shown in Fig. 18. target application.
The proposed system is a cost effective way to enhance
the detection of weak magnetic fields with ordinary
magnetic field sensors. Such systems can be used for
position measurement, taking advantage of the extension
of the measurement ranges.
VIII. FUTURE WORK PROPOSAL
Considering the consequences that the measurement
system poses on the results, the influence of the X offsets
and the performance peaks for different XY coordinates,
one could experiment with different sensor configurations
Figure 18. Field focuser’s performance with X offsets
and with different setups for sensitivity, gain, etc., to fine
The blue trace represents the difference between the tune to the desired readout region, also taking advantage of
signal with and without the ferrite cores, and the red trace the minima and maxima found along the XY plane.
the percentage improvement of the signal strength in the
presence of the cores. The peaks observed at about ±40

102
IAICT 2014, Bali 28-30 August 2014

Preliminary readouts involving a rotation of the magnet [4] W. J. Fleming, Overview of automotive sensors, Sensors Journal,
as a detection mechanism also showed positive results and IEEE , Vol.1 , Iss.4, p.296 – 308, 2001
further analysis should be performed. [5] M. D. Botella, J. M. Colom, Gearshift device for an automotive
transmission, EP 2636926 A1, 2013
The influence of the ferrite cores on the magnetic field
[6] E. Hall, “On a New Action of the Magnet on electric Currents”,
orientation as well as the relation between focused and American Journal of Mathematics 2: 287-292, 1879.
unfocused signal are part of ongoing research and shall be
[7] T. Bratland, M. J. Caruso, R. W. Schneider, “A New Perspective
discussed in further publications. on Magnetic Field Sensing”, Sensors, 1998.
[8] D. Niarchos, “Magnetic MEMS: key issues and some
ACKNOWLEDGMENT applications”, Sensors and Actuators A: Physical 106, 1-3: 255-
The Competence Center CTR is funded within the 262, 2003.
R&D Program COMET - Competence Centers for [9] A. Fert, “The origin, development and future of spintronics”,
Excellent Technologies by the Federal Ministries of Soviet Physics Uspekhi 178, 12: 1336-1348, 2008.
Transport, Innovation and Technology (BMVIT), of [10] J. Lenz and A.S. Edelstein, “Magnetic Sensors and their
Applications”, IEEE Sens. J. 6: 631-649, 2006.
Economics and Labor (BMWA) and it is managed on their
behalf by the Austrian Research Promotion Agency (FFG). [11] M. Diaz-Michelena, “Small Magnetic Sensors for Space
Applications”, Sensors 9: 2271-2288, 2009.
The Austrian provinces (Carinthia and Styria) provide
[12] Hirschmann Automotive, “Hall Linear Position Sensors”, [Online],
additional funding. Avaliable: http://www.hirschmann-
automotive.com/en/hirschmann-automotive/products/sensors/hall-
REFERENCES linear-position-sensor. [Accessed Aug. 24, 2013].
[1] W. C. Griffith, R. Jimenez-Martinez, V. Shah, S. Knappe and J. [13] Melexis, “Magnets for MLX90333 linear position sensor”, Appl.
Kitching, Miniature atomic magnetometer integrated with flux Note 90333-LP-AP-041007, 2007
concentrators, App.Phys.Lett. 94, 023502, 2009 [14] D. J. Griffiths, “Introduction to Electrodynamics”, 1999, Prentice-
[2] Melexis Microelectronic Integrates Systems, MLX90333 Triaxis Hall, Inc. Upper Saddle River, New Jersey 07458.
3D-Joystick Position Sensor, Data sheet 8901090333, Rev.001, [15] A. R. Hambley, “Electrical Engineering: Principles and
2008 Applications”, 4th ed., Pearson Education, Inc., 2008.
[3] R. S. Popovic and C. Schott, Hall ASICs with Integrated Magnetic [16] Melexis, “Precision Programmable Linear Hall Effect Sensor”,
Concentrators, 37th International Conference On Microelectronics, MLX90215 datasheet, Sep. 2003.
Devices And Materials, MIDEM 01 and Proc. 23rd Int. Conference
On Microelectronics (MIEL 2002) [17] Wuntronic GmbH, “Tesla Meter / Gauss Meter with USB Interface
and Analog Output”, Koshava 5 datasheet, 2011.

103

You might also like