# Artificial Neural Network Assisted Modelling of Tangent Galvanometer Measurements for the Determination of Horizontal Component of Earth's Magnetic Field

arXiv: https://arxiv.org/abs/2609.31930 · HTML: https://mlsanity.com/paper/2609.31930/

## Key facts

- No citing papers in the map yet (data through 14 Oct 2026).
- Builds on 2 of its 15 references that are in the map.
- First posted on arXiv 25 Sep 2026.

## Builds on (most cited first, 2 of 2)

- [Adam: A Method for Stochastic Optimization](https://mlsanity.com/paper/1412.6980/) (2014)
- [How to avoid machine learning pitfalls: a guide for academic researchers](https://mlsanity.com/paper/2108.02497/) (2021)

## Abstract (arXiv)

The Tangent Galvanometer (TG) is a standard undergraduate laboratory experiment for estimating the horizontal component of Earth's magnetic field (BH) by measuring the angle of deflection of a magnetic needle corresponding to the current flowing through a circular coil. In this study, an artificial neural network (ANN) is used as a complementary data-driven model to predict the value of BH. A dataset comprising 225 observations obtained using 50-turn and 500-turn coils was used for developing the ANN model. After quality control, 223 observations were retained and divided into training (70%), validation (15%), and testing (15%) subsets. The model was optimized using a feed-forward neural network with Tanh activation. Three different models (Models A, B, and C) with different input variables were compared for optimum performance. Model C used five input variables: current, deflection angle, tan(theta), magnetic field produced by the coil, and number of turns. The addition of tan(theta) produced a substantial improvement in prediction performance, which was further improved by including the magnetic field produced by the coil. Model C gave the best test performance, with R2 = 0.99053, RMSE = 0.54076 microT, and MAE = 0.32940 microT. The experimental and ANN-predicted values of BH were also compared with an adopted local geomagnetic reference value of 39.0 microT. The mean experimental and ANN-predicted values were 37.38898 microT and 37.32161 microT, respectively. The results demonstrate the usefulness of ANN as a complementary tool for analyzing experimental variability and nonlinear relationships in an undergraduate physics laboratory experiment.
