The Hall effect sensor

AQA 7408 3.13.1.4 Hall effect sensor as a magnetic field sensor, for example to monitor attitude and as a tachometer; the principles of operation are not required

Key idea

A Hall effect sensor is a small device that gives an output voltage proportional to the magnetic flux density B passing through it. Reversing the field reverses the sign of the output. The principle of operation is not required: you need to know what it measures, what its output looks like and how it is used.

Two uses are named in the specification. As a magnetic field sensor it can monitor attitude (orientation) because the output depends on the angle between the sensor and the Earth's field: V = V0 cos θ. As a tachometer it measures rotation speed: magnets fixed to a rotating wheel pass the sensor and each one produces a pulse. The pulse frequency divided by the number of magnets gives the revolutions per second.

A Hall sensor in a magnetic field.

Figure 24. A Hall sensor in a magnetic field.

Read it: The sensor has a supply (+V), a 0 V connection and an output Vout. A magnet near the sensor changes Vout in proportion to B at the sensor.

Output voltage against magnetic flux density.

Figure 25. Output voltage against magnetic flux density.

Read it: A straight line through the origin: the output is proportional to B with a sensitivity of 5.0 mV per mT. A field of 20 mT gives 100 mV, and reversing the field changes the sign.

Attitude sensing with the Earth's field.

Figure 26. Attitude sensing with the Earth's field.

Read it: The Earth's field is about 50 µT. The output follows Vout = 0.25 cos θ mV, where θ is the angle between the sensor axis and the field. The output is zero when the sensor is at 90° to the field.

A tachometer.

Figure 27. A tachometer.

Read it: Four magnets on the rim of a wheel pass the sensor in each revolution and each gives one pulse. The pulse frequency is 4 times the rotation frequency.

Worked uses

Calculating a rotation speed.

Figure 28. Calculating a rotation speed.

Read it: Count the pulses, divide by the time to get the pulse frequency, divide by the number of magnets to get revolutions per second, then multiply by 60 for rpm.

Equations: Hall sensor output and tachometer

Equations: Hall sensor output and tachometer

Symbol Meaning Unit
V Hall sensor output voltage V
S sensitivity of the sensor (for example 5.0 mV per mT) V T−1
B magnetic flux density component along the sensor axis T
frot rotation frequency of the wheel Hz (rev s−1)
fpulse frequency of the output pulses Hz
Nmagnets number of magnets on the wheel —

Worked example: sensor output

A Hall sensor has a sensitivity of 5.0 mV per mT. Calculate its output in a field of 12 mT, and the flux density which gives an output of 0.35 mV.

  • Output: V = S B = 5.0 × 12 = 60 mV

  • Field: B = V / S = 0.35 / 5.0 = 0.070 mT = 70 µT

  • Comment: A field of 70 µT is comparable with the Earth's field, so the output is small and needs amplifying.

Worked example: a bicycle wheel

Two magnets are fixed to a bicycle wheel. The sensor gives 90 pulses in 6.0 s. Calculate the rotation frequency in rev s−1 and the speed of the bicycle if the wheel has circumference 2.1 m.

  • Pulse frequency: fpulse = 90 / 6.0 = 15 Hz

  • Rotation: frot = 15 / 2 = 7.5 rev s−1

  • Speed: v = frot × circumference = 7.5 × 2.1 = 16 m s−1

Summary: the Hall effect sensor.

Figure 29. Summary: the Hall effect sensor.

Read it: Output proportional to B, attitude sensing, tachometer, no principle required.

Practice question Spec 3.13.1.4 · A tachometer 7 marks

Six small magnets are fixed at equal intervals around the rim of a wheel. A Hall effect sensor beside the wheel produces a pulse each time a magnet passes it. The trace shows the sensor output while the wheel turns at a constant rate.

Diagram for the practice question: Spec 3.13.1.4 · A tachometer

(a) State what a Hall effect sensor detects. [1 mark]

(b) Explain why the output of the sensor is a series of pulses. [2 marks]

(c) Use the trace to calculate the frequency of the pulses. [1 mark]

(d) Calculate the rotation frequency of the wheel. [1 mark]

(e) Calculate the speed of the wheel in revolutions per minute. [1 mark]

(f) State what happens to the period between pulses if the wheel turns faster. [1 mark]

Show Mark SchemeHide Mark Scheme
Part Answer Extra information (allow / ignore) Marks
(a) magnetic field (magnetic flux density) 1
(b) the field at the sensor is large when a magnet is next to the sensor and small between magnets allow ‘the field changes as each magnet passes’ 1
the output voltage is proportional to the field, so it rises and falls once for each magnet 1
(c) f = 1 / T = 1 / 5.0 × 10−3 = 2.0 × 102 Hz unit required 1
(d) 200 / 6 = 33 Hz (33 rev s−1) allow ecf from (c) 1
(e) 33 × 60 = 2.0 × 103 rpm allow 2000 rpm; ecf from (d) 1
(f) the period decreases (is shorter) allow ‘pulses are closer together’ 1

Examiner’s note

Why the marks: In (b) link the magnet position to the field and the field to the output voltage. In (d) divide the pulse frequency by the number of magnets (6).

Key words: magnetic field, proportional, pulse, one per magnet, 1/T, number of magnets.

Where marks go: (a) 1. (b) field varies 1, output proportional 1. (c) 1. (d) 1. (e) 1. (f) 1.

Practice question Spec 3.13.1.4 · Sensing attitude 7 marks

A Hall sensor has a sensitivity of 5.0 mV per mT. It is mounted in a spacecraft to sense the Earth's magnetic field. The graph shows its output as the spacecraft rotates in a field of constant size.

Diagram for the practice question: Spec 3.13.1.4 · Sensing attitude

(a) Calculate the output when the component of the field along the sensor axis is 30 µT. [1 mark]

(b) The maximum output is 0.25 mV. Calculate the magnetic flux density of the field. [2 marks]

(c) The output is zero at 90°. Explain why. [2 marks]

(d) Determine the angle between 0° and 90° at which the output is 0.125 mV. [1 mark]

(e) State why a second sensor at right angles is used to find the orientation. [1 mark]

Show Mark SchemeHide Mark Scheme
Part Answer Extra information (allow / ignore) Marks
(a) V = S B = 5.0 × 0.030 = 0.15 mV 1
(b) B = V / S = 0.25 / 5.0 1
= 0.050 mT = 5.0 × 10−5 T (50 µT) unit required 1
(c) at 90° the field is perpendicular to the sensor axis 1
so the component of the field along the axis is zero (B cos 90° = 0) 1
(d) cos θ = 0.125 / 0.25 = 0.5, so θ = 60° 1
(e) the output of one sensor is the same for angles +θ and −θ (cannot tell the direction), a second sensor resolves this allow ‘gives a second component of the field’ 1

Examiner’s note

Why the marks: In (c) the output depends on the component of the field along the axis. In (d) the output is the maximum multiplied by cos θ.

Key words: proportional, sensitivity, component, perpendicular, cos θ, two sensors.

Where marks go: (a) 1. (b) rearrange 1, answer 1. (c) perpendicular 1, zero component 1. (d) 1. (e) 1.

Quick-fire

Topic Question Model answer
Detects What does a Hall sensor detect? Magnetic flux density.
Output How does the output depend on B? It is directly proportional to B.
Sign What happens if the field is reversed? The sign of the output reverses.
Attitude How can it monitor attitude? Output depends on the angle to the Earth's field: V = V0 cos θ.
Zero When is the output zero? When the field is at 90° to the sensor axis.
Tachometer How does a tachometer work? Magnets on a wheel each give a pulse as they pass the sensor.
Speed How do you find rev s−1? Pulse frequency divided by the number of magnets.
Principle Do you need the principle of operation? No: it is not required.