EE3901/EE5901 Sensor Technologies
Week 9 Notes
Inductive and magnetic sensors

Profile picture
College of Science and Engineering, James Cook University
Last updated: 21 March 2023

Inductive sensors are those where the variation of inductance is used to detect changes in some physical quantity. Meanwhile, another type of sensing mechanism is to utilise magnetic fields in the sensing process. This week, we will consider both of these types.

Inductors

Any current-carrying wire will create a magnetic field. However, for sensing purposes, we usually consider devices designed to have a higher inductance, i.e. those that will create a larger magnetic field in response to a current. A common such design is called a solenoid, which is a wire wrapped into a coil (Figure 1).

Figure 1: A coil of wire (a solenoid) is a prototypical example of an inductor. The dark blue lines indicate the magnetic field. The magnetic field is approximately uniform inside the coil. Zoom:

The inductance of a solenoid is given by

L=μN2Al,\begin{equation} L=\frac{\mu N^{2}A}{l}, \end{equation}

where μ\mu is the magnetic permeability of the material inside the coil, NN is the number of turns of wire, AA is the cross-sectional area of the solenoid, and ll is the length of the solenoid. This equation is an approximation that is valid when the solenoid is long compared with its cross-sectional dimensions and when the magnetic field lines wrapping around the solenoid experience a homogeneous environment free of conductors.

Just like permittivity, the permeability is often split into two parts using the formula

μ=μrμ0,\begin{equation} \mu=\mu_{r}\mu_{0}, \end{equation}

where μr\mu_{r} is the dimensionless relative permeability and μ04π×107\mu_{0}\approx4\pi\times10^{-7} H/m is a physical constant called the permeability of free space. Historically μ0\mu_{0} was defined to be exactly 4π×1074\pi\times10^{-7} H/m, but since 2019 it has been redefined such that it is now an experimentally measured quantity. Nevertheless the value 4π×1074\pi\times10^{-7} H/m remains a highly accurate and compact representation.

Studying Eq. (1), the parameter that is most likely to be used for sensing purposes is the permeability. It is difficult to change the number of turns or the dimensions of the solenoid in a precise, repeatable manner. Hence the primary way to use inductance for sensing will be to insert or remove a material with different permeability inside the coil, or by disturbing the magnetic environment such as by placing other conductors near the solenoid.

Self check quiz 9.1

Suppose a solenoid is wrapped around a particular material. If you remove that material and replace it with another that has twice the magnetic permeability, how would you expect the inductance to change?

Answer: (d)

Self check quiz 9.2

If you change an inductor so that the number of turns is doubled, but maintain all other properties the same, then how would you expect the inductance to change?

Answer: (e)

Self check quiz 9.3

Suppose a solenoid consists of circular coils. If you rewind the solenoid so that the radius of the cross-section doubles, but maintain all other properties the same, then how would you expect the inductance to change?

Answer: (e)

Interface circuits for inductive sensors

There are various options for interface circuits. The simplest approach is to measure the impedance (e.g. using a two-wire or four-wire measurement circuit), just like capacitive sensors. Of course the power supply must be sinusoidal.

Another strategy is to use an AC bridge (Figure 2).

Figure 2: The Wheatstone bridge concept, applied to inductive sensors. Zoom:

Finally, an LC circuit or LR circuit can be used to define the frequency of an oscillator. Changes in inductance will change the oscillation frequency. This is, again, very similar to the situation for capacitance sensors.

Each of these interface circuits is essentially the same as those used for capacitors, since both capacitive and inductive sensors provide reactive impedance in a circuit. Refer back to the capacitive sensor notes for more details on these circuit designs.

Eddy currents

The inductance of a solenoid (as stated above) is sometimes called its “self-inductance”. On the other hand, if there are two coils in proximity, then the magnetic field from one will interact with the other. This is an effect called “mutual inductance”, which should be familiar to you from circuit theory. Recall that mutual inductance is the operational mechanism behind transformers.

It is also possible to have mutual inductance where the conductor(s) are not deliberately made into coils. For example, a time-varying magnetic field will induce a circular motion of charges even in a rectangular slab of metal. In a sense, the magnetic field is “making its own coil” by inducing currents to flow in a particular way. This is called an eddy current. Eddy currents are an undesired loss mechanism in power systems and transformers, but they can also be used for sensing purposes.

The simplest eddy current sensor is a solenoid placed at right angles to a conductive sheet:

Figure 3: The basic principle of eddy current sensing. A solenoid is placed in close proximity to a conductive surface being tested. In this way the surface being tested becomes inductively coupled to the measurement circuit. Zoom:

The eddy currents in some sense behave like another solenoid. They create their own magnetic field, which in turn induces a voltage back in the original solenoid. The polarity of the induced voltage is such that it counteracts the original excitation voltage. In other words, the electrical load of the original solenoid is increased because some energy is transferred to the eddy currents and dissipated there as heat.

In electric circuit terminology, this arrangement is akin to a transformer where the solenoid is the primary winding and the eddy currents act as a secondary winding. Consequently some impedance from the conducting slab is reflected back into the excitation circuit, much like a transformer can reflect an impedance from one winding to another. The increase in resistance will affect the current-voltage characteristic of the solenoid.

In addition to the changes in resistive load, the presence of the eddy currents will also change the inductance of the primary winding. The eddy current creates a magnetic field that opposes the magnetic field of the solenoid, and since inductance is proportional to magnetic flux, the solenoid inductance decreases.

Skin depth

Eddy currents do not penetrate far into the conductor. They are primarily localised close to the surface. There is an exponential drop-off with depth, i.e. current density JJ as a function of depth dd has functional form Jed/δJ\sim e^{-d/\delta}, where δ\delta is called the “skin depth” and is given by

δ=2ρωμ,\begin{equation} \delta=\sqrt{\frac{2\rho}{\omega\mu}}, \end{equation}

where ρ\rho is the resistivity of the conducting slab, ω=2πf\omega=2\pi f is the natural frequency of the AC current that is driving the solenoid, and μ\mu is the magnetic permeability of the conducting slab. Some example numbers are as follows. In aluminium (μr=1\mu_{r}=1, ρ=2.68×108\rho=2.68\times10^{-8} Ω.m), we have δ=1.2\delta=1.2 cm at 50 Hz, δ=0.23\delta=0.23 mm at 125 kHz, and δ=82\delta=82 μm at 1 MHz.

Applications of eddy current sensors

Various designs of eddy current sensor are possible. There are single winding sensors where the same solenoid is used for excitation and sensing. There are also versions with multiple coils, for example, an excitation coil and one or more measuring coils.

An everyday example of eddy current sensors are the induction loops buried under roads near traffic lights to detect when vehicles are waiting. These are wire loops with a sinusoidal power source in the range of 10 - 200 kHz. When a vehicle drives over the loop, eddy currents in the metal parts of the vehicle reduce the inductance of the loop. This is detected (by a change in frequency in an oscillator) and used to trigger the traffic lights.

Other applications for eddy currents include:

  1. Measuring the distance between the probe and a conductive surface.
  2. Measuring the thickness of a non-conductive object by placing it between a probe and a metal surface.
  3. Finding cracks and defects in metal objects, because cracks will interrupt the eddy currents.

In all of these applications the conductor must be thick compared with the skin depth δ\delta. An approximate guide is that the thickness should be at least 3 times the skin depth.

Linear variable differential transformers (LVDTs)

An LVDT is a robust and reliable sensor for measuring linear displacement (Figure 4). It is a transformer with a split winding, but half of one winding is wired backwards. The iron core is connected to a rod that slides horizontally. As the rod slides, the mutual inductances vary. In typical construction each winding fully encircles the iron core.

Figure 4: Schematic illustration of an LVDT. (a) Equivalent circuit of an LVDT. (b) The output voltage as a function of the displacement distance xx. (c) A practical geometry places the excitation coil at the centre, with the sensing coils on either side. Zoom:

This circuit can be analysed by first finding the excitation current ii (which is controlled by the impedance of the primary winding and the excitation voltage). Once ii is known, the induced voltages on the secondary side can be calculated. Writing KVL around the secondary side and assuming no load (i.e. no current flowing in the secondary), we have:

V0=(jωM1jωM2)i.\begin{equation} V_{0}=\left(j\omega M_{1}-j\omega M_{2}\right)i. \end{equation}

Notice the negative sign. The output voltage is 0 when M1=M2M_{1}=M_{2}. The mutual inductances are almost linear with respect to displacement up until some maximum range, after which the output voltage drops because of the loss of magnetic coupling between the two windings. Notice that the sign of the displacement can only be detected if the phase of V0V_{0} is measured and compared to the phase of the excitation current.

From this equation, we can deduce that V0V_{0} is proportional to the excitation frequency (so long as the frequency remains low enough to avoid magnetic non-linearities due to hysteresis, etc). Typical operating frequencies for LVDTs are in the range of 50 Hz to 20 kHz. In terms of displacement, various LVDTs are available with measurement ranges that go from hundreds of microns to tens of centimeters.

LVDT datasheets will typically specify sensitivity in terms of a transfer function

V0=SVix,\begin{equation} V_{0}=SV_{i}x, \end{equation}

where V0V_{0} is output voltage, SS is the sensitivity at a given excitation frequency, ViV_{i} is the input voltage (i.e. the power supply connected to the primary winding), and xx is displacement. The sensitivity has units of output voltage per meter of displacement per volt of input. The units of sensitivity are V/m/V, or 1/m, or mV/mm/V, or similar.

The key advantages of LVDTs include:

  1. No friction between the moving element and the sensor, allowing for very high reliability.
  2. The sensor contains no electronics and so can be exposed to extreme environments like high/low temperatures and be subjected to vibration and shock.
  3. In principle arbitrarily high resolution (limited mainly by the voltage sensing electronics).
  4. Excellent repeatability (especially in returning to the same zero point).

The limitations of LVDTs include:

  1. The zero position is not perfectly at the centre, due to imperfections in the windings and stray capacitances between windings. However, a given device will repeatedly measure the same point as zero, so the offset can be corrected by a calibration if needed.
  2. In practice the magnetic interaction is not perfectly linear, so the sinusoidal input is distorted by these non-linearities. The result is higher frequency harmonics that appear in the output signal V0V_{0}. Low pass filtering of the output is sometimes helpful.
  3. Temperature changes will affect the resistance of the primary winding, and hence the excitation current ii if the power supply is a constant voltage. Consequently it is better to use a constant current source to power the primary winding if temperature stability is important.

There are also rotary devices using the same principle to measure angular displacement. These are called rotary variable differential transformers (RVDTs).

The Hall effect

A Hall effect sensor measures magnetic field strength.

It is based upon the Lorentz force law, which states that a charged particle (e.g. electron or hole) moving with velocity v\boldsymbol{v} in an environment with a magnetic field B\boldsymbol{B} experiences a force

F=qv×B,\begin{equation} \boldsymbol{F}=q\boldsymbol{v}\times\boldsymbol{B}, \end{equation}

where q=1.602×1019q=-1.602\times10^{-19} C is the charge of an electron. If the electron or hole is moving inside a conductor then its motion results in a voltage perpendicular to the direction of current flow.

Figure 5 shows a slab of semiconductor with an applied voltage and a magnetic field that are perpendicular to each other. If the semiconductor is p-type then holes will drift from high voltage to low voltage, whereas for an n-type material the electrons will travel in the opposite direction.

Figure 5: Schematic illustration of a Hall effect sensor. In this example the material is a p-type semiconductor with a constant drift current ii. The holes are defected by the magnetic field to create the Hall voltage VHV_H. Zoom:

In the presence of a magnetic field, the Lorentz force causes a deflection of the charge carriers. This creates a net build up of charge on one side of the semiconductor. A build-up of charge can be measured as a voltage, which we call the Hall voltage VHV_{H}. The sign of the Hall voltage is determined from the direction of the Lorentz force as well as the polarity of the majority charge carrier. To find the polarity of the Hall voltage, use the right-hand rule to evaluate the vector cross product in Eq. (6).

The analysis to calculate the Hall voltage is as follows. In this example, we will use the axes as drawn in Figure 5. The Hall voltage creates an electric field along the zz direction which is

EH=VHWk^,\begin{equation} \boldsymbol{E}_{H}=\frac{-V_{H}}{W}\boldsymbol{\hat{k}}, \end{equation}

where k^\boldsymbol{\hat{k}} is the unit vector in the zz direction.

The electric field EH\boldsymbol{E}_H exerts a force on each carrier:

FVH=qEH=qVHWk^.\begin{equation} \boldsymbol{F}_{V_H}=q\boldsymbol{E}_H=\frac{-qV_{H}}{W}\boldsymbol{\hat{k}}. \end{equation}

Meanwhile the magnetic field also exerts a force given by

FB=qv×B=qvByk^,\begin{equation} \boldsymbol{F}_{\boldsymbol{B}}=q\boldsymbol{v}\times\boldsymbol{B} = qvB_y\boldsymbol{\hat{k}}, \end{equation}

where v=vv = |\boldsymbol{v}| is the speed of the charge carriers, and By=BB_y=|\boldsymbol{B}| is the strength of the magnetic field along the yy axis.

In static equilibrium the forces must balance:

FVH+FB=0qVHWk^+qvByk^=0VH=vByW.\begin{align} \boldsymbol{F}_{V_H} + \boldsymbol{F}_{\boldsymbol{B}} & =0\\ \frac{-qV_{H}}{W}\boldsymbol{\hat{k}}+qvB_y \boldsymbol{\hat{k}} & =0\\ V_{H} & =vB_yW. \end{align}

Equation (12) gives us the voltage in terms of the carrier velocity, but we would prefer to express this in terms of the current ii. Therefore there is one final step in the derivation.

Consider how many charge carriers must leave the device per second to create a current ii. As shown in Figure 5, the cross-sectional area of the semiconductor in the direction of current is LWLW, and the carriers drift with velocity vv. Hence all the carriers in a volume vLWvLW will exit the device per unit time. The total number of carriers inside this volume is NcvLWN_{c}vLW where NcN_{c} is the doping density of either donors (n-type) or acceptors (p-type). Hence the total amount of charge leaving per unit of time is

i=qNcvLWv=iqNcLW.\begin{align} i & =qN_{c}vLW\\ v & =\frac{i}{qN_{c}LW}. \end{align}

Substituting into Eq. (12), the Hall voltage is

VH=iByqNcL.\begin{equation} V_{H}=\frac{iB_y}{qN_{c}L}. \end{equation}

In practice the Hall voltage is a little bit less. This simplistic derivation assumed perfectly uniform fields, etc. Hence we introduce a geometry factor GHG_{H} and write

VH=GHiByqNcL.\begin{equation} V_{H}=G_{H}\frac{iB_y}{qN_{c}L}. \end{equation}

GHG_{H} is typically 0.7 to 0.9.

If the magnetic field is not perpendicular to the direction of current flow, then the voltage is reduced by a factor sinθ\sin\theta where θ\theta is the angle between B\boldsymbol{B} and v\boldsymbol{v}.

Hall effect sensors are often used as proximity detectors to find the presence or absence of a permanent magnet. For instance, they are used in wheel encoders to detect shaft rotations. Devices intended for this purpose often include built-in electronics that produces a digital output according to whether the magnetic field is above or below a threshold.

There are also Hall sensors optimised for linear output, to measure the strength of a magnetic field. In this case the datasheet will specify a sensitivity (in units of V/T or mV/mT or similar), assuming a fixed supply current.

References

Ramon Pallas-Areny and John G. Webster, Sensors and Signal Conditioning, 2nd edition, Wiley, 2001.

Clarence W. de Silva, Sensor Systems: Fundamental and Applications, CRC Press, 2017.

Winncy Y. Du, Resistive, Capacitive, Inductive, and Magnetic Sensor Technologies, CRC Press, 2015.

Jacob Fraden, Handbook of Modern Sensors: Physics, Designs, and Applications, 5th edition, Springer, 2016.