what is the best sensor to get angular position (3 axis)?

Hi,

I'm new to Arduino and I find it very exciting!

I'm trying to find out what is the best sensor to calculate an angular position of an object that the sensor is placed on it, I bought the itg-3200 gyro just to find it is not accurate over time :frowning: so my question is what is the best sensor to get accurate angular position for 3 axis?

one more point I should mention is that the object the sensor will be attached to has vibration all the time so I was thinking to use more than one sensor and average the results.

Many thanks in advance!!
Best,
Ram

An accelerometer is noisy and sensitive for vibrations, a gyro drifts. For an angular position you need an accelerometer, not a gyro. For better results, they can be combined in a Kalman filter.
http://forum.arduino.cc/index.php?topic=58048.0

I think that more than one sensor will not improve the result. Perhaps there are accellerometer/gyro combinations that are less sensitive for vibrations.

This sensor does all the calculation inside the sensor : Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055 : ID 2472 : $34.95 : Adafruit Industries, Unique & fun DIY electronics and kits
But some have trouble with that sensor because the averaging and timing is done inside and can not be adapted for an environment with vibrations.

@Koepel - thank you very much for you reply!

I have went all over the thread and and looked at the 9-DOF sensor which looks like it does all the heavy lifting from the get go, if I understand correctly (and that's a BIG if :slight_smile: ), from it's data output description it states: "Absolute Orientation (Euler Vector, 100Hz) Three axis orientation data based on a 360° sphere" does that mean I could use that output of the pitch axis directly from the sensor without the need of calculating Kalman filter or Complementary Filter?

re vibration - my guess is that I'm not the first person who had to deal with that, is there some kind of foam, sponge or special housing that is known to reduce vibration?

once again, many thanks for your input, highly appreciated!!

Cheers,
R.

All the filtering is done inside the BNO055, you don't have to filter that anymore. But as I wrote, some reported problems because the filter can not be adapted when the sensor is getting certain vibrations.

Foam or silicone can dampen very short G spikes.
What kind of vibrations are they ?
In a car are mainly low frequency vibrations, but if you drop the sensor on the floor, it gets a very high peak.

The goal is to keep the frequency of the vibrations below the sample rate and have the filter make it smooth. That is not alway possible.

very well, that's defiantly a step up for me, I'll try that sensor with several different vibration isolation materials and look for a good setup, the sensor is supposed to be mounted on dirt bikes riding on dirt tracks.

re several sensor, dont you think that if I place 3 sensors over the bike, back, middle and front I could ignore a reading from a certain sensor if its reading is way off different than the other two or something of that sort?

any other thoughts I should consider?

Use one sensor somewhere in the middle of the bike. Three sensors will not improve it, unless you want to know the angle of the bike.

Koepel:
unless you want to know the angle of the bike.

that is one on my main goals, I'll try a few sensors also.

Thank you so very much for taking the time and help me with this!!

All the best,
R.