Welcome
Username or Email:

Password:


Missing Code




[ ]
[ ]
Online
  • Guests: 61
  • Members: 0
  • Newest Member: omjtest
  • Most ever online: 396
    Guests: 396, Members: 0 on 12 Jan : 12:51
Members Birthdays:
All today's birthdays', congrats!
Capper (60)
cereus (73)
Mcanderson (43)


Next birthdays
11/06 dan (37)
11/06 rchydro (64)
11/06 CapRack (30)
Contact
If you need assistance, please send an email to forum at 4hv dot org. To ensure your email is not marked as spam, please include the phrase "4hv help" in the subject line. You can also find assistance via IRC, at irc.shadowworld.net, room #hvcomm.
Support 4hv.org!
Donate:
4hv.org is hosted on a dedicated server. Unfortunately, this server costs and we rely on the help of site members to keep 4hv.org running. Please consider donating. We will place your name on the thanks list and you'll be helping to keep 4hv.org alive and free for everyone. Members whose names appear in red bold have donated recently. Green bold denotes those who have recently donated to keep the server carbon neutral.


Special Thanks To:
  • Aaron Holmes
  • Aaron Wheeler
  • Adam Horden
  • Alan Scrimgeour
  • Andre
  • Andrew Haynes
  • Anonymous000
  • asabase
  • Austin Weil
  • barney
  • Barry
  • Bert Hickman
  • Bill Kukowski
  • Blitzorn
  • Brandon Paradelas
  • Bruce Bowling
  • BubeeMike
  • Byong Park
  • Cesiumsponge
  • Chris F.
  • Chris Hooper
  • Corey Worthington
  • Derek Woodroffe
  • Dalus
  • Dan Strother
  • Daniel Davis
  • Daniel Uhrenholt
  • datasheetarchive
  • Dave Billington
  • Dave Marshall
  • David F.
  • Dennis Rogers
  • drelectrix
  • Dr. John Gudenas
  • Dr. Spark
  • E.TexasTesla
  • eastvoltresearch
  • Eirik Taylor
  • Erik Dyakov
  • Erlend^SE
  • Finn Hammer
  • Firebug24k
  • GalliumMan
  • Gary Peterson
  • George Slade
  • GhostNull
  • Gordon Mcknight
  • Graham Armitage
  • Grant
  • GreySoul
  • Henry H
  • IamSmooth
  • In memory of Leo Powning
  • Jacob Cash
  • James Howells
  • James Pawson
  • Jeff Greenfield
  • Jeff Thomas
  • Jesse Frost
  • Jim Mitchell
  • jlr134
  • Joe Mastroianni
  • John Forcina
  • John Oberg
  • John Willcutt
  • Jon Newcomb
  • klugesmith
  • Leslie Wright
  • Lutz Hoffman
  • Mads Barnkob
  • Martin King
  • Mats Karlsson
  • Matt Gibson
  • Matthew Guidry
  • mbd
  • Michael D'Angelo
  • Mikkel
  • mileswaldron
  • mister_rf
  • Neil Foster
  • Nick de Smith
  • Nick Soroka
  • nicklenorp
  • Nik
  • Norman Stanley
  • Patrick Coleman
  • Paul Brodie
  • Paul Jordan
  • Paul Montgomery
  • Ped
  • Peter Krogen
  • Peter Terren
  • PhilGood
  • Richard Feldman
  • Robert Bush
  • Royce Bailey
  • Scott Fusare
  • Scott Newman
  • smiffy
  • Stella
  • Steven Busic
  • Steve Conner
  • Steve Jones
  • Steve Ward
  • Sulaiman
  • Thomas Coyle
  • Thomas A. Wallace
  • Thomas W
  • Timo
  • Torch
  • Ulf Jonsson
  • vasil
  • Vaxian
  • vladi mazzilli
  • wastehl
  • Weston
  • William Kim
  • William N.
  • William Stehl
  • Wesley Venis
The aforementioned have contributed financially to the continuing triumph of 4hv.org. They are deserving of my most heartfelt thanks.
Forums
4hv.org :: Forums :: General Science and Electronics
« Previous topic | Next topic »   

Gyro and Accelerometer IMU for UAV...

1 2 
Move Thread LAN_403
Patrick
Tue Feb 07 2012, 07:30PM Print
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
is it possible to use the 3 axis acceleromters to minimize the natural unwanted drift of a 3 axis gyro?

Im trying to do the physics math in my head, but it seems like i may need an optical flow lock to hold a hover indefinitely...
Back to top
2Spoons
Tue Feb 07 2012, 10:31PM
2Spoons Registered Member #2939 Joined: Fri Jun 25 2010, 04:25AM
Location:
Posts: 615
Yes you can correct to some extent, but only for pitch and roll gyros. A mate of mine did it for a 2 wheel balancing robot, but that was only one gryo and two acc. He used a Kalman filter to do the correction.
Back to top
Carbon_Rod
Wed Feb 08 2012, 02:05AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
To a certain extent this is true, but practical use requires a 3-axis Magnetometer with the GPS elevation data.

A basic pack of all three is usually around $50 to $150 these days:
Link2

Most loss of precision starts by placing the sensor near metal parts during calibration, or regulated power supply problems.

Also note LSM303DLM are only good for ±1.3 gauss, and the earth's field is around 0.25–0.65 gauss. The axis sensor range is only 12bits, and thus the data range will max out somewhere around 393 - 1025. Despite the resolution limits to find the tilt compensated direction, most students find it is still better than trying for real-time angular rate predictions.

Cheers,
Back to top
ConKbot of Doom
Wed Feb 08 2012, 02:29AM
ConKbot of Doom Registered Member #509 Joined: Sat Feb 10 2007, 07:02AM
Location:
Posts: 329
the previous (now discontinued) version of this IMU featured a kalman filter and FIR filter to combine all the data
Link2
they dont mention it for the UM6, but i would certainly hope they would still since they say it outputs roll pitch and yaw also. Perphaps contacting them and asking about it may be of some use. The magnetometer can also be used as an absolute reference for orientation provided strong magnetic fields arent nearby (I.E. dont park the IMU next to the motor, or the power lines supplying it)

Also, get 2 low range accels, mount them both in the x or y direction on long arms, facing the same direction (I.e. x+ excites both the same way) feed the output of each to a differential/instrumentation amp, (i.e. kill the common mode signal) and youre left with the difference, which will be acceleration they see due to yaw.
Back to top
Carbon_Rod
Wed Feb 08 2012, 02:49AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
The units with built in filters are about $150 to $200 on the url I posted.


However, chip bundles are generally more versatile for filter designs.
=)
Back to top
Patrick
Wed Feb 08 2012, 02:56AM
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
i was thinking of this from Link2 spark fun, but my CG, CoR, CoM are located above two servo motors, would that be a problem for the magnetometer? would a thin steel sheet help?

Perhaps the magnetometer could be moved to the tail? (probly not )


I was thinking of using ultra sound, and IR range finding for elevation.
Back to top
Carbon_Rod
Wed Feb 08 2012, 03:28AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
* Ultrasound will not be reliable in wind, and your money would be better spent on pizza.
* IR range finding works well indoors, but is somewhat dependent on the surfaces.

The HMC5883L is a good little chip (the 5884 is a little more pricey), and when set to ± 0.88 gauss mode it adds even better resolution. Just keep in mind passing over cars may pin your sensor every so often, and the sample rate is a little lower.

"Any" magnetic metal object (like pins/plugs/wires/bolts) should be kept as far away from the sensors as possible. Use nylon mounting screws/ties, flexible multi-strand >copper< hookup wire, and a plastic project box. Note, some suppliers build metal objects near/into these sensors, and they should be avoided for long term usage issues.

Back to top
Patrick
Wed Feb 08 2012, 03:44AM
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
ill put the gyros and acclers near the COG, but ill put the magnetometer in the tail, where its all fiberglass and carbon fiber. That should be 19.5 inches from the nearest metal and magnets.

Edit: does carbon fiber count as metal? its really conductive.
Back to top
Carbon_Rod
Wed Feb 08 2012, 04:41AM
Carbon_Rod Registered Member #65 Joined: Thu Feb 09 2006, 06:43AM
Location:
Posts: 1155
Most carbon fiber composites are not magnetic as the material is somewhat corrosive to untreated metal surfaces.

Placing the sensor cluster away from the center of mass is generally not a major issue, but they should be clustered around a single axis for better consistency.

Back to top
Patrick
Wed Feb 08 2012, 06:08AM
Patrick Registered Member #2431 Joined: Tue Oct 13 2009, 09:47PM
Location: Chico, CA. USA
Posts: 5639
Carbon_Rod wrote ...

Most carbon fiber composites are not magnetic as the material is somewhat corrosive to untreated metal surfaces.

Placing the sensor cluster away from the center of mass is generally not a major issue, but they should be clustered around a single axis for better consistency.


ok ill embed carbon fiber in the fiber glass, and its just the mag sensor that will be in the tail...


Back to top
1 2 

Moderator(s): Chris Russell, Noelle, Alex, Tesladownunder, Dave Marshall, Dave Billington, Bjørn, Steve Conner, Wolfram, Kizmo, Mads Barnkob

Go to:

Powered by e107 Forum System
 
Legal Information
This site is powered by e107, which is released under the GNU GPL License. All work on this site, except where otherwise noted, is licensed under a Creative Commons Attribution-ShareAlike 2.5 License. By submitting any information to this site, you agree that anything submitted will be so licensed. Please read our Disclaimer and Policies page for information on your rights and responsibilities regarding this site.