App note: Implementing a 9-axis sensor fussion on the MSP430F5xx using the Direct Cosine Matrix algorithm

Here is an app note from Texas Instruments explaining how to implement the Direct Cosine Matrix algorithm on a MSP430F5xx to integrate date form 3 sensors. A magnetometer, gyroscope, and a an accelerometer were integrated to provide a 9-axis sensor.

When creating an AHRS, also known as Magnetic, Angular Rate, and Gravity sensor (MARG), a magnetometer, a gyroscope, and an accelerometer are required. The calibrated sensors readings are fed to the DCM algorithm, which provides
a complete measurement of the orientation, relative to the  earth’s magnetic field and the direction of gravity, expressed by the Euler (roll, yaw, and pitch) angles.

Via 43oh.

 

Join the Conversation

3 Comments

  1. Looks pretty familiar. All the new avionics packages are going glass cockpit with EFIS screens eliminating the standard vacuum/electric gyro horizons and directional gyros.

  2. lol
    this is far far from a certified avionics glass cockpit !!! but it could but really fun to play with !!!
    my futur real airplane will ALWAYS have mecanical/ vacuum instruments, at least airspeed and bank and turn or horizon.
    nothing more convincing than to try it, fly by night and turn your electric power rail off ! … in the total balck darkness you will be really please to ear your lycoming still running!, fetch out for your emercency lamp, you will still be able to see if you are about to stall or overspeed or go down in spiral :-)
    now while ajusting all those knobs, think a bit about how you gonna land it :o)

  3. Kind of like committing all your maps to your iPad. When the batteries go out, paper still functions. While it’s nice to have all those maps, I’ll still have paper for the route I’m flying.

    When I make the Glass Cockpit observation, I was imagining using this for model plane instrumentation in a DIY drone.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.