Compensating for Accelerometer Misalignment

  • Thread starter Thread starter IMK
  • Start date Start date
  • Tags Tags
    Accelerometer
AI Thread Summary
The discussion centers on correcting cross-axis misalignment errors in a Tri Axial Accelerometer using C programming. The user has made progress with axis offset and scaling but is struggling with matrix inversion and transposition. They have referenced two papers for guidance and developed a software function for Equation 1, alongside a matrix inversion function that seems correct based on external validation. Another participant is facing similar challenges with roll, pitch, and yaw calculations but is not achieving accurate results with their approach. The thread highlights the complexities of mathematical corrections needed for accurate accelerometer data processing.
IMK
Messages
61
Reaction score
0
Hello
I am developing a programme in C that uses a Tri Axial Accelerometer and I have become bogged down with the maths for correcting cross axis misalignment errors and was wondering if someone could help me please.

I have two papers on the subject and I have worked my way through the axis offset and scaling. But I am finding this matrix inversion and transposition more than a handful.

The papers are to be found here:

This one is the general math
http://www.summitinstruments.com/knowledge_center/pdf/TN413.pdf

This one is to an application note from the manufacture of the device I am
using (or similar)

http://www.st.com/stonline/products/literature/an/17289.pdf

From Page 9 on is the alignment error correction stuff.
I have created a Table 2 and written the software to do Equation 1 (I think it is correct). I have managed to write a Matrix Inversion function that I think is correct as I have compared it with the Determinant and Inverted Output from the Online Matrix calculator here; http://www.bluebit.gr/matrix-calculator/

But now I am stuck, help would really be appreciated.

Many thanks in advance.
 
Last edited by a moderator:
Mathematics news on Phys.org
I am having a similar problem however I am unable to access the papers you have posted. The way I have approach this one is by working out inital roll pitch and yaw using the following;

roll = arcsin(Xval/1)
pitch = arcsin(Yval/1)
yaw = arcos(1/Zval)

I then input these into rotation matrix in mathlab. However this does not quite give correct result. Am still working with this problem
 
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Fermat's Last Theorem has long been one of the most famous mathematical problems, and is now one of the most famous theorems. It simply states that the equation $$ a^n+b^n=c^n $$ has no solutions with positive integers if ##n>2.## It was named after Pierre de Fermat (1607-1665). The problem itself stems from the book Arithmetica by Diophantus of Alexandria. It gained popularity because Fermat noted in his copy "Cubum autem in duos cubos, aut quadratoquadratum in duos quadratoquadratos, et...
Thread 'Imaginary Pythagorus'
I posted this in the Lame Math thread, but it's got me thinking. Is there any validity to this? Or is it really just a mathematical trick? Naively, I see that i2 + plus 12 does equal zero2. But does this have a meaning? I know one can treat the imaginary number line as just another axis like the reals, but does that mean this does represent a triangle in the complex plane with a hypotenuse of length zero? Ibix offered a rendering of the diagram using what I assume is matrix* notation...
Back
Top