Hello(adsbygoogle = window.adsbygoogle || []).push({});

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 [Broken]

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.

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Compensating for Accelerometer Misalignment

Loading...

Similar Threads - Compensating Accelerometer Misalignment | Date |
---|---|

Z-direction acceleration with accelerometer/magnetic-field sensor | Apr 19, 2012 |

Compensating for outliers during Standard Deviation Calculation ? | Mar 15, 2012 |

Accelerometer to roll and pitch | Oct 30, 2010 |

Accelerometer angles | Mar 7, 2008 |

3d rotation of accelerometer vectors | Dec 1, 2007 |

**Physics Forums - The Fusion of Science and Community**