Previous Chapter: 6 Infrared Sensors
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.

CHAPTER 7. MAGNETIC SENSORS

INTRODUCTION

Magnetic sensors can be intrusive and non-intrusive devices that detect the presence or passage of vehicles by measuring the change in the earth’s magnetic field when vehicles enter the detection zone of the sensor. They are rarely used to detect bicycles. They are typically embedded in or mounted on the road surface and are designed to monitor traffic flow, detect vehicles at stop bars, and count vehicles passing through an intersection. Two types of magnetic sensors are used for traffic flow measurement: (a) two- and three-axis fluxgate magnetometers, and (b) induction or search coil magnetometers.

Two- and three-axis fluxgate magnetometers detect variations in the earth’s magnetic field caused by ferrous metal objects, such as vehicles. The two-axis magnetometer has two primary windings and two secondary windings, allowing it to measure both vertical and horizontal magnetic field components. Figure 34 shows examples of magnetometers, a control cabinet, hardware, and two-axis fluxgate magnetometers installed in the middle of a right-turn lane of an intersection.

Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Five labeled views, a through e, depict various components related to magnetometer-based traffic sensing. View a shows a close-up of a small round magnetometer sensor labeled with model and directional markings. View b presents the same sensor enclosed in a transparent protective casing. View c displays a detailed look inside a control cabinet with multiple electrical components and wiring. View d shows another type of control hardware setup with organized rows of electronic units. View e presents a street intersection with vehicles, where two circular magnetic sensors embedded in the pavement of the right-turn lane are circled in red. These sensors are positioned to detect vehicle presence as they approach the intersection.
Figure 34. (a) and (b) Examples of Magnetometers; (c) and (d) Control Cabinet and Hardware; (e) Example of Two Magnetic Sensors Installed in the Right-Turn Lane of an Intersection (Pictures Courtesy of Oakland County).

These magneto-resistive sensors are typically installed in the middle of each lane by drilling holes and covering the sensors with epoxy. Most sensors transmit the data wirelessly to a receiver or gateway, which relays the information to a traffic signal controller or a data collection

Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.

server. The data transmission range can be extended by using a repeater between the sensor and the nearest access point. Most wireless sensors are battery-powered, often designed to last 5–10 years depending on usage and traffic conditions. Some advanced models use energy-harvesting technologies (e.g., from vibrations or solar power) to extend battery life.

The second type includes magnetic detectors known as induction or search coil magnetometers. These sensors identify vehicles by detecting changes in magnetic flux lines, which occur when the earth’s magnetic field is disrupted by the movement of metal objects such as vehicles. They typically consist of a coil wound around a magnetic rod, enabling them to sense changes in the magnetic field as vehicles pass over or near the sensor (Klein et al., 2006).

Compared to inductive loops, magnetometers typically require fewer linear feet of sawcut and have a longer life expectancy when installed in crumbly pavements. Magnetometers can also be installed in a conduit drilled underneath the pavement (Figure 35) from the shoulder or median, which avoids cutting the pavement surface (Klein et al., 2006). Some magnetometers cannot detect slow-moving or stopped vehicles.

The diagram illustrates a typical installation layout for magnetic sensors across a multilane roadway. Several cylindrical magnetic sensors are embedded into the pavement at a depth of approximately 1 inch. Each sensor sits inside a 1 inch or larger hole with additional conduit and lead-in cables routed underground. A quarter inch wide sawcut trench filled with sealant connects the sensor holes, and sand or other backfill surrounds the probes. The installation includes pull boxes for splicing the cables and a controller cabinet placed at the roadside for managing the data. Multiple probes may be installed per lane, depending on monitoring needs.
Figure 35. Magnetic Sensor Components and Installation Characteristics (Neudorff et al., 2003).
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.

STRENGTHS AND WEAKNESSES

Table 8 summarizes the main strengths and weaknesses of magnetic sensors, which are primarily used to detect motorized traffic.

Table 8. Strengths and Weaknesses of Magnetic Sensors.

Strengths Weaknesses
Motorized Traffic Only
  • Less susceptible to stresses of traffic compared to loops
  • Insensitive to adverse weather and light conditions
  • Can be installed at bridge decks and other locations where loops cannot be used
  • Installation can be completed in a relatively short period (less than 15 minutes)
  • Some sensors do not require pavement saw cuts but may require boring
  • Provide multifunctional detection and wireless communication and networking
  • Sensor arrays can provide vehicle classification data
  • Consume relatively low power compared to other sensors
  • Many sensors require lane closures and traffic disruption during installation and maintenance
  • Each sensor covers a relatively small area, requiring multiple sensors to cover an entire intersection
  • Pavement life deterioration if sensors are not installed properly
  • Safety risk of personnel who install and maintain the equipment
  • May require multiple units for full lane detection if detection zones are small
  • Potential magnetic interference from nearby sources such as large metallic objects or underground infrastructure
  • Periodic calibration and tuning required to maintain accuracy, especially in areas with changing magnetic fields or high levels of electromagnetic noise
  • Not accurate in counting stopped or slow-moving vehicles unless special layouts and software are used
  • Sensitive to changes in temperature
  • The battery of some devices might deplete rapidly due to issues with wireless communication or improper power configuration settings
  • Passive magnetic sensors may not be effective in distinguishing closely spaced vehicles

NCHRP Project 03-144 validated two-axis fluxgate magnetometers (Figure 34) installed at an intersection in Michigan. The average accuracy errors were low (WMAPE = 2.0%), with no significant undercounting or overcounting observed. Despite the high accuracy of the sensors validated in this project and reported in the literature (Cheung et al., 2005; Haoui et al., 2008; Taghvaeeyan and Rajamani, 2014; Bao et al., 2016), fluxgate magnetometers have some limitations. For example, each sensor covers a relatively small area, requiring multiple sensors to cover an entire intersection. The initial installation can be complex and may require road closures, leading to temporary traffic disruptions (Gheorghiu et al., 2021). Some sensors are sensitive to changes in temperature (Gheorghiu et al., 2021). Magnetometers can be affected by magnetic interference from nearby sources, such as large metallic objects or underground infrastructure. Sensors may require periodic calibration and tuning to maintain accuracy, especially in areas with changing magnetic fields or high levels of electromagnetic noise. While excellent at detecting vehicle presence and movement, magnetometers typically provide less detailed data than other technologies, such as video-based systems.

Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.

Like all sensors, magnetometers may undercount or overcount vehicles. Common causes of undercounting are:

  • Low magnetic signature vehicles: Vehicles with low ferrous content (e.g., bicycles) may not generate a strong signal for detection.
  • Weak signal sensitivity: Reduced sensor sensitivity can result in missed detections, especially for smaller vehicles.
  • Interference from adjacent magnetic fields: Nearby magnetic sources, such as power lines or large industrial equipment, can interfere with the magnetic signature of vehicles.
  • Environmental noise: Strong environmental magnetic fluctuations, such as from utility cables or heavy machinery, may disrupt the sensor’s ability to accurately detect vehicles.

Common causes of overcounting are:

  • Detection of non-vehicular metal objects: Magnetometers may mistakenly detect moving metal objects and debris as vehicles, especially when the sensor sensitivity is set too high.
  • External disturbances: Construction activities or other mechanical disturbances can trigger false detections.
  • Cross-lane interference: Magnetic fields from vehicles in adjacent lanes may cause false detections.
  • Long vehicles: Long vehicles (e.g., pick-up trucks with trailers), especially in high traffic conditions, may result in overcounting.

RECOMMENDED PRACTICES

Recommended practices and ideal characteristics of two-axis fluxgate magnetometers and data for traffic monitoring use are described below.

Installation and Calibration

  • Strategic positioning: Install magnetometers at strategic positions where they can detect vehicles effectively. Common placements include near the stop bar at signalized intersections or other key points where vehicles tend to stop, decelerate, or queue. Positioning the sensor at these locations ensures that vehicle presence is detected reliably, especially during critical moments like signal actuation.
  • Proper depth: Install sensors at the proper depth to avoid interference from large metallic objects such as underground utility lines, rebar in concrete, or metallic debris, which can skew the readings. Placing the sensors too shallow or too deep can result in inaccurate vehicle detection because the magnetic field changes may not be sensed properly.
  • Correct alignment: Align the magnetometers correctly according to the traffic flow direction to capture magnetic field changes accurately. Misalignment can lead to detection errors, particularly in capturing the presence or speed of a vehicle as it passes over the sensor.
  • Environmental protection: Ensure the sensors are protected from water ingress, moisture, extreme temperatures, and other environmental factors that could affect performance. Proper sealing and protective casings are essential to safeguard the sensor from these elements, ensuring long-term performance and reliability. Sensors installed in areas prone to flooding or heavy rain should be particularly well protected.
  • Initial calibration: Calibrate the magnetometers after installation to account for the local magnetic environment and ensure accurate readings. Every location has unique magnetic characteristics due to nearby structures, power lines, and natural variations in the earth’s
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
  • magnetic field. Calibration adjusts the sensor to these factors, ensuring that it can detect vehicles without being affected by background noise from the environment.
  • Initial data validation: Validate count and other types of data recorded by the sensors by comparing them against benchmark data (e.g., manual counts or manually reduced data from videos). Make adjustments upon validation or add additional units, if needed.

Maintenance

  • Regular recalibration: Regularly recalibrate the sensors to adjust for any shifts in the magnetic environment, sensor drift over time, and potential environmental changes (e.g., snow accumulation and leaf debris). The local magnetic environment can change over time due to construction, installation of nearby equipment, or shifts in traffic patterns. Additionally, magnetometers can experience sensor drift as they age.
  • Periodic inspections: Conduct regular inspections and maintenance to ensure the sensors are free from damage and the surrounding area is clear of debris. These inspections include checking for physical damage to the sensor, wear and tear on the protective casings, or any obstructions, such as debris, that might interfere with sensor operation. Keeping the sensors in good working condition ensures consistent vehicle detection. Promptly address any damaged or malfunctioning sensors to maintain the integrity of the traffic monitoring system. Faulty sensors can lead to missed vehicle detections or incorrect traffic counts, compromising the overall accuracy of the traffic counts.
  • Electromagnetic interference avoidance: Mitigate the effects of electromagnetic interference (EMI) from nearby power lines, underground cables, or large metallic structures. EMI can distort the sensor’s readings, leading to false detections or missed vehicles. To mitigate this, sensors should be installed at a safe distance from potential sources of interference. Shielding or filtering mechanisms can also be used to reduce the impact of EMI on sensor performance.
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 53
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 54
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 55
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 56
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 57
Suggested Citation: "7 Magnetic Sensors." National Academies of Sciences, Engineering, and Medicine. 2025. Leveraging Existing Traffic Signal Assets to Obtain Quality Traffic Counts: A Guide. Washington, DC: The National Academies Press. doi: 10.17226/29214.
Page 58
Next Chapter: 8 Ultrasonic Sensors
Subscribe to Email from the National Academies
Keep up with all of the activities, publications, and events by subscribing to free updates by email.