5

I'm working on coupling gyro and electronic compass for better accuracy of device orientation (using particle filters). I have one basic question, though: how do I establish ground truth in this case? I cannot use the compass readings alone, since the whole basis of my experiment is that the compass readings are inaccurate.

Would taking an average of a number of compass readings be a sufficient approximation? Is there any other idea, besides having a compass of "greater accuracy"?

tyblu
  • 8,167
  • 6
  • 40
  • 70
Imelza
  • 123
  • 5
  • **+1** *for a very interesting question! I love this type of DSP...* – tyblu Feb 09 '11 at 06:00
  • Do you need help with the hardware or the math? – Kevin Vermeer Feb 09 '11 at 14:27
  • Hi I would like to find some alternative way to compute very accurate orientation. The idea is that compass readings are inaccurate in most indoor environments (because of the metal interferences from walls, surfaces etc) I will be moving the compass through a room and I need to have very accurate movement in a fixed direction so that I can measure the inaccuracy of the compass readings and then use the gyro to correct them. But to prove anything, I need to have a measure of that very accurate direction, and I don't know how :( – Imelza Feb 11 '11 at 06:48

2 Answers2

1

The easy answer is to use a surveyed direction.

A map, your position, and a landmark out a window, a rifle scope and there you go.

Worst case you need to get a couple or three points surveyed.

In geodesy, setting up observatories, testing ranging gear, all the same problems.

Then you use the correct magnetic variation for your location. ( you'll end up knowing your countries geodesy service pretty well by the end of this).

If you just need some known points to calibrate from, then... It's relatively simple to get 0, 90, 180 and 270 degrees from that with cheap hardware. A rotation stage, even an industrial one for a milling machine will give almost any given angle. (Magnetic compensation for metal equipment may be a pain. Just a plastic 360 degree protractor and some wood will do for all but very fine work.) [I have seen it used in compass calibration before.... if you need more accuracy, make a bigger protractor on a huge bit of cardboard.]

We used to used computer-driven rotation stages to calibrate gravity sensors. The people we bought IMU's from used a robot arm to test the IMU.

For compasses, a cardboard compass rose and wooden/plastic pivots.

If you need very fine variation, I pity you. Maybe use a coil set.

Tim Williscroft
  • 1,702
  • 11
  • 11
  • 1
    Any specific reason this was downmodded? Surveying landmarks is a tried-and-true technique to establish absolute direction. – drxzcl Feb 15 '11 at 09:21
0

Do you know if (or how fast and in what direction) the device is accelerating? You can determine orientation by dead reckoning with the gyro, and magnetic orientation with the gyro. A 3-axis accelerometer system could establish another frame of reference (gravity) which you could then integrate with the other two for greater accuracy.

If you need still greater accuracy, I believe that the next step would be optics.

Kevin Vermeer
  • 19,989
  • 8
  • 57
  • 102