Numerical Error and Temporal Analysis of Embedded Magnetic Sensor Calibration using ARM Cortex-M4 Processor

View Researcher's Other Codes

Disclaimer: The provided code links for this paper are external links. Science Nest has no responsibility for the accuracy, legality or content of these links. Also, by downloading this code(s), you agree to comply with the terms of use as set out by the author(s) of the code(s).

Please contact us in case of a broken link from here

Authors Victor Croisfelt R., G. B. Silva, D. S. Batista, M. Tosin, Francisco Granziera
Journal/Conference Name 2
Paper Category
Paper Abstract This work describes the implementation and results related to the numerical error and the temporal analysis of the calibration methodology of an embedded magnetometer. The system tested is part of an attitude determination system for aerospace applications, which uses low-cost tri-axial MEMS (micro electromechanical systems) magnetometer and an ARM Cortex-M4 as the processing unit. In order to validate and develop an efficient methodology for in run calibration, two different calibration algorithms were evaluated a Two-Step process and a Minimum Variance Estimator (MVE), both described in the literature. The sensor's model consists of nine parameters to be estimated bias, scale factor and misalignment angles between axes. A Test Unit was developed to evaluate both the numerical and temporal results of calibration. It uses IEEE 754 floating point standard variables with 32-bit and 64-bit wide in the ARM Cortex-M4. The former can be executed within the processor's Float Point Unit and the later cannot. The numerical data are compared to the one obtained using a Matlab code simulation. Result shows that the Two-Step present numerical instability for 32-bit wide variables, while the Minimum Variance Estimator has an inferior temporal execution but did not present such numerical issues.
Date of publication 2018
Code Programming Language C++

Copyright Researcher 2022