Video: My IMU sensor in action
Video: My IMU sensor in action
Hi,
Here is a nice HD (!) video of my home made IMU (gyro+accelerometer) sensor. I recently finished the software part. The sensor uses a nonlinear complementary filter to get a low noise and drift free output signal. It is accurate enough to detect whether the NXT is exactly horizontal or resting on a single grain of sugar. (That's why I needed a HD webcam, to be able to film this grain of sugar.)
Here is a nice HD (!) video of my home made IMU (gyro+accelerometer) sensor. I recently finished the software part. The sensor uses a nonlinear complementary filter to get a low noise and drift free output signal. It is accurate enough to detect whether the NXT is exactly horizontal or resting on a single grain of sugar. (That's why I needed a HD webcam, to be able to film this grain of sugar.)
My blog: nxttime.wordpress.com
Re: Video: My IMU sensor in action
Wow, pretty impressive!
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: Video: My IMU sensor in action
very sophisticated! :)
what is your complementary filter like?
what is your complementary filter like?
-
- Posts: 323
- Joined: 29 Sep 2010, 05:03
Re: Video: My IMU sensor in action
Hi,
Very impressive. Just read your blog and printing the article right now... One question though you mention that you get to read the sensor once every 15msec with high speed i2c but every 24Seconds with normal speed are these figures really correct? Is the fast mode really 1600 time faster?
Andy
Very impressive. Just read your blog and printing the article right now... One question though you mention that you get to read the sensor once every 15msec with high speed i2c but every 24Seconds with normal speed are these figures really correct? Is the fast mode really 1600 time faster?
Andy
Re: Video: My IMU sensor in action
Here is a link to a paper describing the filter (and the basics of matrix math).
The filter is based on the idea that in the long term the sensor will have zero acceleration. So, in the long term the accelerometer can be used as a tilt sensor. In the short term this isn't true, but in the short term integrated output from the gyro gives the tilt. The tilt data from the accelerometer can be used to correct the tilt calculated from the gyro, it can also be used to correct the drift of the gyro sensor.
I used robotC and made my own library of matrix functions to implement the filter. I got a stable output rate of 40 Herz. That is one reading every 25 Msec. (Thanks for pointing that out, Andy)
The filter is based on the idea that in the long term the sensor will have zero acceleration. So, in the long term the accelerometer can be used as a tilt sensor. In the short term this isn't true, but in the short term integrated output from the gyro gives the tilt. The tilt data from the accelerometer can be used to correct the tilt calculated from the gyro, it can also be used to correct the drift of the gyro sensor.
I used robotC and made my own library of matrix functions to implement the filter. I got a stable output rate of 40 Herz. That is one reading every 25 Msec. (Thanks for pointing that out, Andy)
My blog: nxttime.wordpress.com
Re: Video: My IMU sensor in action
oh my God, don't you have it decribed a little easier?Here is a link to a paper describing the filter (and the basics of matrix math).
Re: Video: My IMU sensor in action
How about this:
And, as you like Science Fiction quotes so much, the Universe is actually made of math!
The idea behind the is very simple, just a PI feedback loop. The math isn't simple. You just have to reread the article until you understand it. You'll have to do this yourself. You're on your own now.Der Filter basiert auf der Idee, dass auf lange Sicht wird der Sensor-Beschleunigung sein soll. Also, auf lange Sicht den Beschleunigungssensor kann als Neigungssensor eingesetzt werden. Auf kurze Sicht ist dies nicht wahr, aber kurzfristig integriert Ausgabe des Kreisels gibt die Neigung. Die Neigung von Daten aus dem Beschleunigungsmesser eingesetzt werden kann, um die Neigung der Kreisel korrekt berechnet werden, kann es auch verwendet, um die Drift des Kreisel-Sensors zu korrigieren.
And, as you like Science Fiction quotes so much, the Universe is actually made of math!
My blog: nxttime.wordpress.com
Re: Video: My IMU sensor in action
(?)The filter is based on the idea that in the long run, the acceleration sensor should be. So, in the long run the acceleration sensor can be used as a tilt sensor. In the short term, this is not true, but integrated in the short term issue is the tendency of the gyro. The slope of data can be used from the accelerometer to the inclination of the gyro are calculated correctly, it can also be used to correct the drift of the gyro-sensor.
...
I had the faint hope you would delight us with your code ;)
Re: Video: My IMU sensor in action
Oh, you should have asked. I'll post it this weekend when I'm at my computer.
My blog: nxttime.wordpress.com
Re: Video: My IMU sensor in action
thank you! Maybe I'm lucky and can learn something from it for my own filter problems!
Who is online
Users browsing this forum: Semrush [Bot] and 1 guest