Abstract
Se presenta el diseño, construcción y validación de un teslámetro digital embebido, para uso en experimentos de caracterización magnética de materiales por métodos inductivos y estáticos. El teslámetro se compone de un transductor de efecto Hall THS119 de tipo planar, con salida diferencial y ajustable a diferentes rangos de medida, un amplificador de instrumentación INA129P con ganancia ajustable y un microcontrolador PIC16F873A con convertidor ADC de 10 bits para el procesamiento digital de los datos, visualización de las medidas en una pantalla de cristal líquido, almacenamiento y transferencia de los datos al computador vía puerto serie. El sistema es adaptable a transductores de campo magnético con salida simple o diferencial y con diferentes rangos de medida; es sensible a cambios en la intensidad y la polaridad del campo magnético aplicado y cuenta con una sensibilidad efectiva de 5,0 V/T e incertidumbre de 0.5 10−3T para el transductor de efecto Hall THS119. El prototipo desarrollado fue comparado con un teslámetro comercial PHYWE 13610.90.
Introduction
In materials science, the precise characterization of magnetic properties—such as saturation and coercivity—is fundamental. This process requires accurate measurements of magnetic flux density ($B$). While high-end commercial teslameters from established manufacturers like PHYWE or GMW provide excellent precision, their high cost (often exceeding $6,000 USD) creates a significant barrier for many research and teaching laboratories, particularly in developing regions.
This work addresses this gap by presenting the design and construction of a low-cost, high-precision embedded digital teslameter. The goal was to develop a system that is accurate, reproducible, and capable of digital data logging, thereby promoting "technological sovereignty" in laboratory instrumentation.
Methodology
Transduction Stage
The core of the device is a THS119 planar Hall effect sensor. This sensor operates on the principle of the Hall effect, where a transverse voltage is generated across a conductor carrying current when placed in a magnetic field.
The THS119 produces a differential voltage proportional to the incident magnetic field, providing the raw signal needed for measurement.
Signal Conditioning and Digital Processing
To translate the sensor's millivolt-scale differential signals into a format readable by a microcontroller, a multi-stage conditioning circuit was implemented.
- Amplification: An INA129P instrumentation amplifier was used to provide a calculated gain of 6.26, ensuring high linearity across the measurement range.
- Polarity Adjustment: Since standard microcontrollers typically only read positive voltages, a "polarity adjustment circuit" was designed to add a 2.5V offset. This allows the system to represent bipolar magnetic fields: positive fields correspond to voltages above 2.5V, while negative fields (opposite polarity) correspond to voltages below 2.5V.
- Digital Processing: A PIC16F873A microcontroller performs 10-bit Analog-to-Digital Conversion (ADC). The firmware, written in C++, subtracts the 2.5V hardware offset, calculates the magnetic field based on the calibrated sensitivity, and manages data output to an LCD and a PC via serial communication.
Experimental Validation
The prototype was validated using two distinct experimental setups:
- Permanent Magnets: Field measurements of cylindrical NdFeB (Neodymium) magnets were taken at varying distances to test spatial sensitivity.
- Electromagnets: The system measured fields generated by a commercial GMW 3470 C-type electromagnet as a function of input current.
- Benchmarking: All results were compared against a PHYWE 13610.90 commercial teslameter, which served as the ground truth for accuracy and repeatability.
Results and Discussion
The developed teslameter demonstrated performance metrics highly competitive with commercial units:
- Sensitivity: 5.0 V/T (Volts per Tesla).
- Uncertainty: Approximately 0.5 mT, primarily limited by the 10-bit quantization of the ADC.
- Accuracy: The maximum deviation relative to the PHYWE unit was only 1.94%.
- Stability: Measurements over three consecutive days showed a deviation of less than 1%, confirming the system's temporal stability.
The "offset strategy" proved highly effective, allowing a simple single-supply microcontroller to handle bipolar fields without the complexity of dual-rail power supplies for the ADC stage.
Conclusion and Future Work
The research successfully produced a functional, low-cost alternative for magnetic characterization. While highly effective, some limitations were identified. Mechanical sensitivity in high-gradient fields caused minor deviations (up to 3.5%), suggesting that a more rigid or automated probe positioning system would be beneficial. Future iterations could also incorporate a 12-bit or 16-bit ADC to further reduce uncertainty and implement auto-ranging capabilities for broader field intensities.
Reference: Velásquez, A. A., Baena Rodríguez, J., & Gutiérrez Loaiza, Y. F. (2015). Diseño y construcción de un teslámetro digital embebido para la caracterización magnética de materiales. Ingeniería y Ciencia, 11(21), 99–113.
Summary updated