You are here: Home page > Tools, instruments, and measurement > Hall-effect sensors

Hall effect measuring sensor on brushless DC floppy drive motor.

Hall-effect sensors

Measuring electricity is really easy—we're all familiar with electrical units like volts, amps, and watts (and most of us have seen moving-coil meters in one form or another). Measuring magnetism is a little bit harder. Ask most people how to measure the strength of a magnetic field (the invisible area of magnetism extending out around a magnet) or the units in which field strength is measured (webers or teslas, depending on how you're measuring) and they wouldn't have a clue.

But there's a simple way to measure magnetism with a device called a Hall-effect sensor or probe, which uses a clever bit of science discovered in 1879 by American physicist Edwin H. Hall (1855–1938). Hall's work was ingenious and years ahead of its time—20 years before the discovery of the electron—and no-one really knew what to do with it until decades later when semiconducting materials such as silicon became better understood. These days, Edwin Hall would be delighted to find sensors named for him are being used in all kinds of interesting ways. Let's take a closer look!

Photo: A Hall-effect sensor (indicated by the white arrow) helps to measure the rotational position of this old floppy disk motor. More about this in a moment...

Sponsored links

Contents

  1. What is the Hall effect?
  2. How does the Hall effect work?
  3. Using the Hall effect
  4. What are Hall-effect sensors used for?
  5. Find out more

What is the Hall effect?

Working together, electricity and magnetism can make things move: electric motors, loudspeakers, and headphones are just a few of the indispensable modern gadgets that function this way. Send a fluctuating electric current through a coil of copper wire and (although you can't see it happening) you'll produce a temporary magnetic field around the coil too. Put the coil near to a big, permanent magnet and the temporary magnetic field the coil produces will either attract or repel the magnetic field from the permanent magnet. If the coil is free to move, it will do so—either toward or away from the permanent magnet. In an electric motor, the coil is set up so it can spin around on the spot and turn a wheel; in loudspeakers and headphones, the coil is glued to a piece of paper, plastic, or fabric that moves back and forth to pump out sound.

The magnetic field pattern between bar magnets indicated using a sprinkle of iron filings.

Photo: You can't see a magnetic field, but you can measure it with the Hall effect. Photo by courtesy of Wikimedia Commons.

If the current of electricity in a fixed conductor is itself attracted by a magnet, the current should be drawn to one side of the wire...

Edwin Hall, 1879

What if you place a piece of current-carrying wire in a magnetic field and the wire can't move? What we describe as electricity is generally a flow of charged particles through crystalline (regular, solid) materials (either negatively charged electrons, from inside atoms, or sometimes positively charged "holes"—gaps where electrons should be). Broadly speaking, if you hook a slab of a conducting material up to a battery, electrons will march through the slab in a straight line. As moving electric charges, they'll also produce a magnetic field. If you place the slab between the poles of a permanent magnet, the electrons will deflect into a curved path as they move through the material because their own magnetic field will be interacting with the permanent magnet's field. (For the record, the thing that makes them deflect is called the Lorentz force, but we don't need to go into all the details here.) That means one side of the material will see more electrons than the other, so a potential difference (voltage) will appear across the material at right angles to both the magnetic field from the permanent magnet and the flow of current. This is what physicists call the Hall effect. The bigger the magnetic field, the more the electrons are deflected; the bigger the current, the more electrons there are to deflect. Either way, the bigger the potential difference (known as the Hall voltage) will be. In other words, the Hall voltage is proportional in size to both the electric current and the magnetic field. All this makes more sense in our little animation, below.

How does the Hall effect work?

An animation/diagram showing how the Hall effect works

  1. When an electric current flows through a material, electrons (shown here as blue blobs) move through it in pretty much a straight line.
  2. Put the material in a magnetic field and the electrons inside it are in the field too. A force acts on them (the Lorentz force) and makes them deviate from their straight-line path.
  3. Now looking from above, the electrons in this example would bend as shown: from their point of view, from left to right. With more electrons on the right side of the material (the bottom in this picture) than on the left (the top in this picture), there would be a difference in potential (a voltage) between the two sides, as shown by the green arrowed line. The size of this voltage is directly proportional to the size of the electric current and the strength of the magnetic field.

Which way do they go?

How do you figure out which way the electrons will move? You can work out the direction of the Lorentz force with Fleming's left-hand rule (if you correct for conventional current) or his right-hand rule (if you don't).

Using the left-hand rule to work out the direction of motion of charged particles due to the Lorentz force.

Artwork: Charged particles moving in a magnetic field experience a force (the Lorentz force) that changes their direction, giving rise to the Hall effect. You can use Fleming's left-hand rule (motor rule) to figure out the direction of the force providing you remember that the rule applies to conventional current (a flow of positive charges) and the field flows from north to south. In this example, if we have a flow of electrons into the page, the conventional current flows out of the page (so that's the direction in which your second finger should point). If the field flows from left to right (first finger), our thumb tells us the electrons will move upward.

Sponsored links

Using the Hall effect

You can detect and measure all kinds of things with the Hall-effect using what's known as a Hall-effect sensor or probe. These terms are sometimes used interchangeably but, strictly speaking, refer to different things:

Silicon Hall-effect sensor. Hall-effect probe.
Photo: 1) A typical silicon Hall-effect sensor. It looks very much like a transistor—hardly surprising since it's made in a similar way. Photo by explainthatstuff.com. 2) A Hall-effect probe used by NASA in the mid-1960s. Photo by courtesy of NASA Glenn Research Center (NASA-GRC).

Typically made from semiconductors (materials such as silicon and germanium), Hall-effect sensors work by measuring the Hall voltage across two of their faces when you place them in a magnetic field. Some Hall sensors are packaged into convenient chips with control circuitry and can be plugged directly into bigger electronic circuits. The simplest way of using one of these devices is to detect something's position. For example, you could place a Hall sensor on a door frame and a magnet on the door, so the sensor detects whether the door is open or closed from the presence of the magnetic field. A device like this is called a proximity sensor. Of course, you can do the same job just as easily with a magnetic reed switch (there is no general rule as to whether old-style reed switches or modern, Hall-effect sensors are better—it depends on the application). Unlike reed switches, which are mechanical and rely on contacts moving in a magnetic field, Hall sensors are entirely electronic and have no moving parts, so (theoretically, at least) they should be more reliable. One thing you can't do with a reed switch is detect degrees of "on-ness"—the strength of the magnetism—because a reed switch is either on or off. That's what makes a Hall-effect sensor so useful.

What are Hall-effect sensors used for?

Hall-effect sensors are cheap, robust and reliable, tiny, and easy to use, so you'll find them in lots of different machines and everyday devices, from car ignitions to computer keyboards and factory robots to exercise bikes.

Here's one very common example you might be using in your computer right now. In a brushless DC motor (used in such things as hard- and floppy-disk drives), you need to be able to sense exactly where the motor is positioned at any time. A Hall-effect sensor stationed near the rotor (rotating part of the motor) will be able to detect its orientation very precisely by measuring variations in the magnetic field. Sensors like this can also be used to measure speed (for example, to count how fast a wheel or car engine cam or crankshaft is rotating). You'll often find them in electronic speedometers and anemometers (wind-speed meters), where they can be used in a similar way to reed switches.

Left: A brushless DC motor with three Hall-effect sensors shown by red circles. Right: Close up of one of the three sensors.

Photo: This small brushless DC motor from an old floppy-disk drive has three Hall-effect sensors (indicated by red circles) positioned around its edge, which detect the motion of the motor's rotor (a rotating permanent magnet) above them (not shown on this photo). The sensors are not much to look at, as you can see from the closeup photo on the right!

It took a few decades for Edwin Hall's revolutionary discovery to catch on, but now it's used in all kinds of places—even in electromagnetic space rocket engines. It's no exaggeration to say that Hall's groundbreaking work has had quite an effect!

How a typical Hall sensor is packaged in a chip with flux concentrators that make it more sensitive.

Artwork: How a typical Hall sensor is packaged. Magnetic fields can be very small, so we need our detectors to be as sensitive as possible, and here's one way to achieve that. The Hall chip itself (green, 17) is mounted on an iron carrier plate (gray, 16) sandwiched inside two molded plastic sections (gray, 11, 12). The chip is wired by leads (19) to terminal pins (blue) by which it can be connected into a circuit. But the really important parts are two soft iron "flux concentrators" (orange, 15, 21), which make the device very much more sensitive. When you place a magnet (22) near the sensor, these concentrators allow the magnetic flux (the "density" of magnetism produced by the magnetic field) to flow around a continuous loop through the Hall chip, producing either a positive or negative voltage. If the magnet slides over to the other side of the sensor, it produces the opposite voltage. Artwork from US Patent 3,845,445: Modular Hall Effect Device by Roland Braun et al, IBM Corporation, October 29, 1974, courtesy of US Patent and Trademark Office.

Sponsored links

Don't want to read our articles? Try listening instead

If you'd rather listen to our articles than read them, please subscribe to our new podcast on Apple Podcasts, Spotify, Audible, Amazon, Podchaser, or your favorite podcast app, or listen below:

Find out more

You might also like these articles...

Reed switches

Closeup of a reed switch showing the magnetic contacts inside.

Magnetism

Electromagnetic horn for focusing neutrinos in a particle accelerator experiment at Fermilab

Electric motors

A large electric motor from an electric lawn mower

Articles

History

More technical

Papers by Edwin Hall

Books

Practical projects

Videos

Patents

A few more technical examples of Hall detectors and their uses:

Please do NOT copy our articles onto blogs and other websites

Articles from this website are registered at the US Copyright Office. Copying or otherwise using registered works without permission, removing this or other copyright notices, and/or infringing related rights could make you liable to severe civil or criminal penalties.

Text copyright © Chris Woodford 2009, 2020. All rights reserved. Full copyright notice and terms of use.

Follow us

Rate this page

Please rate or give feedback on this page and I will make a donation to WaterAid.

Tell your friends

If you've enjoyed this website, please kindly tell your friends about us on your favorite social sites.

Press CTRL + D to bookmark this page for later, or email the link to a friend.

Cite this page

Woodford, Chris. (2009/2020) Hall-Effect Sensors. Retrieved from https://www.explainthatstuff.com/hall-effect-sensors.html. [Accessed (Insert date here)]

Bibtex

@misc{woodford_hall-effect, author = "Woodford, Chris", title = "Hall-Effect Sensors", publisher = "Explain that Stuff", year = "2009", url = "https://www.explainthatstuff.com/hall-effect-sensors.html", urldate = "2024-06-07" }

Can't find what you want? Search our site below

More to explore on our website...

Back to top