Lego vs Microinfinity Gyro Comparison
Lego vs Microinfinity Gyro Comparison
I have been testing the new Lego EV3 gyroscope and run some tests comparing it against the Microinfinity XG1300L. I took a video showing these two sensors being tested side-by-side. The details of the experiment and the video can be found at:
http://www.robotnav.com/gyroscopes/
http://www.robotnav.com/gyroscopes/
Last edited by lvoc on 20 Nov 2013, 15:11, edited 1 time in total.
Lauro
http://www.robotnav.com
http://www.robotnav.com
Re: Lego vs Microinfinity Gyro Comparison
Hi Lauro,
Thanks for doing the experiment. It would be very useful if you could have some kind of conclusion on that page with regards to what your findings were.
Regards,
Xander
Thanks for doing the experiment. It would be very useful if you could have some kind of conclusion on that page with regards to what your findings were.
Regards,
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: Lego vs Microinfinity Gyro Comparison
Thank you for this test!
So finally the extremely bad additive error of the Lego EV3 Gyroscope which already has been reported in the very early days of the ev3 EDU set using the EV3 GPL could be verified.
I'm actually curious which programming language has been used in this experiment...?
But all over 5° error of the Lego EV3 Gyroscope by roughly 10 times moving the gyro around and back and forth - that's really awful, that speaks for itself.
I agree with Xander that the documentation of the experiment should be improved:
- which programming language
- source code of testing program, especially reading loop speed
So finally the extremely bad additive error of the Lego EV3 Gyroscope which already has been reported in the very early days of the ev3 EDU set using the EV3 GPL could be verified.
I'm actually curious which programming language has been used in this experiment...?
But all over 5° error of the Lego EV3 Gyroscope by roughly 10 times moving the gyro around and back and forth - that's really awful, that speaks for itself.
I agree with Xander that the documentation of the experiment should be improved:
- which programming language
- source code of testing program, especially reading loop speed
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Lego vs Microinfinity Gyro Comparison
For such an inexpensive toy, 5 degrees error in the integral isn't all that bad after that much movement. Sure it isn't ideal, but it's also not an expensive solution.
If the values are strictly integrated without any other input (such as magnetometer or accelerometer), there will be an accumulation of error which cannot be avoided.
Doc, I'm not certain, but I think he used the accumulation mode of the EV3 Gyro (where the gyro does the integration automatically), not the rate mode (where it reports the current rate of rotation).
Based on my limited testing of the EV3 Gyro, it is not tilt compensated at all. Based on these tests it appears that it isn't helped by a magnetometer either (which I figured).
Does the XG1300L use an accelerometer or magnetometer? Is it tilt compensated?
If the values are strictly integrated without any other input (such as magnetometer or accelerometer), there will be an accumulation of error which cannot be avoided.
Doc, I'm not certain, but I think he used the accumulation mode of the EV3 Gyro (where the gyro does the integration automatically), not the rate mode (where it reports the current rate of rotation).
Based on my limited testing of the EV3 Gyro, it is not tilt compensated at all. Based on these tests it appears that it isn't helped by a magnetometer either (which I figured).
Does the XG1300L use an accelerometer or magnetometer? Is it tilt compensated?
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Lego vs Microinfinity Gyro Comparison
that's why I asked which software program has been used.
But 30 EUR == cheap ?? "much" movement ?? not "ideal" ?? the results currently are crap IMO - curious if it could be improved by software.
A IMU-6050 is 15-17 EUR.
I ordered a cruizcore XG1300L IMU today. Here you may get more information about how it works:
http://www.minfinity.com/eng/page.php?M ... ub=1&tab=5
http://hackedgadgets.com/2011/01/19/mic ... -lego-nxt/
But 30 EUR == cheap ?? "much" movement ?? not "ideal" ?? the results currently are crap IMO - curious if it could be improved by software.
A IMU-6050 is 15-17 EUR.
I ordered a cruizcore XG1300L IMU today. Here you may get more information about how it works:
http://www.minfinity.com/eng/page.php?M ... ub=1&tab=5
http://hackedgadgets.com/2011/01/19/mic ... -lego-nxt/
-
- Posts: 1818
- Joined: 02 Oct 2010, 02:19
- Location: Michigan USA
- Contact:
Re: Lego vs Microinfinity Gyro Comparison
In the USA, the Gyro sensor costs $29.95 (equivalent to 21.90 EUR according to Google). Compared to several hundred to several thousand dollars (or more) for a "real" gyro (e.g. the ones used in aircraft), $30 is a cheap toy that I wouldn't expect a whole lot from. We are all entitled to our own opinion about the performance of the EV3 Gyro.
Thanks for those links.
Thanks for those links.
Matt
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
http://mattallen37.wordpress.com/
I'm all for gun control... that's why I use both hands when shooting
Re: Lego vs Microinfinity Gyro Comparison
Matthew, you can not seriously use products for commercial aircrafts as a comparison...
And compared to thousands of EUR for commercial products you mentioned (I don't which products exactly you might mean) even 85 EUR for a toy is cheap and inexpensive but it is worth the money.
But even the Hitechnic gyro is a lot better with respect to additive error.
AFAIK you have lot of experience with Mindsensors and Dexter products -
Compared with the Lego Gyro and the Cruizcore Gyro: how accurate and how powerful are they (Gaussian error, additive error, drift)?
And compared to thousands of EUR for commercial products you mentioned (I don't which products exactly you might mean) even 85 EUR for a toy is cheap and inexpensive but it is worth the money.
But even the Hitechnic gyro is a lot better with respect to additive error.
AFAIK you have lot of experience with Mindsensors and Dexter products -
Compared with the Lego Gyro and the Cruizcore Gyro: how accurate and how powerful are they (Gaussian error, additive error, drift)?
Re: Lego vs Microinfinity Gyro Comparison
Helmut,
The programming language used for the EV3 is largely irrelevant considering all of the math is done on the actual sensor. You merely retrieve the current heading, which is calculated internally. The same applies to the XG1300L.
I have the XG and I think it's an awesome sensor, it's very accurate and his practically no drift
= Xander
The programming language used for the EV3 is largely irrelevant considering all of the math is done on the actual sensor. You merely retrieve the current heading, which is calculated internally. The same applies to the XG1300L.
I have the XG and I think it's an awesome sensor, it's very accurate and his practically no drift
= 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: Lego vs Microinfinity Gyro Comparison
The XG1300L is a single axis gyro (one degree of freedom). It does NOT have or use any magnetic reference (which would be useless indoors). It does include a 3-axis accelerometer but their outputs are not used to compensate the gyro rate/heading estimation. The accelerometers are extra sensors that can be used for other applications such as tilt estimation in (near) static experiments, collition detection, etc.
Last edited by lvoc on 20 Nov 2013, 15:16, edited 2 times in total.
Lauro
http://www.robotnav.com
http://www.robotnav.com
Re: Lego vs Microinfinity Gyro Comparison
AFAIK the cruizcore gyro values are internally compensated by sensor fusion with the accelerometer and a Kalman filter - pls CMIIW....
(don't know exactly where I read this, I may be wrong, I just remember this roughly...)
The HT Gyro gives just rotation speed as an output value which have to be integrated by software by one own, it's not done internally.
This might be done for the Lego gyro, too.
I don't know if the cruizcore sensor is integrating or also just providing rotation speed - which is actually enough to have for angle processing.
(don't know exactly where I read this, I may be wrong, I just remember this roughly...)
The HT Gyro gives just rotation speed as an output value which have to be integrated by software by one own, it's not done internally.
This might be done for the Lego gyro, too.
I don't know if the cruizcore sensor is integrating or also just providing rotation speed - which is actually enough to have for angle processing.
Last edited by HaWe on 18 Oct 2013, 15:57, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 2 guests