Lego vs Microinfinity Gyro Comparison

Discussion specific to the intelligent brick, sensors, motors, and more.
mattallen37
Posts: 1818
Joined: 02 Oct 2010, 02:19
Location: Michigan USA
Contact:

Re: Lego vs Microinfinity Gyro Comparison

Post by mattallen37 »

I was just using commercial products to point out that you can't expect a $30 toy to be perfectly accurate.

The HT gyro is completely analog. The bias is susceptible to power supply voltage changes (like when you run a motor). Being analog, it is limited to the 10-bit ADC of the AtMega48 co-processor in the NXT, and also to the update rate of 333Hz (not sure that an NXT integration program would be able to keep up with that anyhow). Each change in the raw ADC value represents 1 DPS of rotation (low precision). All of my HT Gyros have a different bias.

The dIMU gyro is digital. It has 1/16th, 1/64th, or 1/128th DPS precision (depending on the range mode). See my report on the dIMU that I wrote a couple years ago, around the time of the dIMU release. As far as I can remember bias is extremely minimal, so calibration/offset hasn't been necessary, at least for my applications (primarily segway type robots).

I don't have any mindsensors gyros.

If you want to try to get a more accurate integration with the EV3 Gyro, you could read the rate value and integrate it in your EV3 program.
Matt
http://mattallen37.wordpress.com/

I'm all for gun control... that's why I use both hands when shooting ;)
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Lego vs Microinfinity Gyro Comparison

Post by HaWe »

that integration thing is what I meant , that was exactly why I asked for lvoc's software program which has been used for comparison.
lvoc
Posts: 38
Joined: 10 Sep 2013, 13:34

Re: Lego vs Microinfinity Gyro Comparison

Post by lvoc »

There is no integration going on in the code I wrote to test the gyros. The ouputs are straight out of the sensors. I just uploaded the code at:
http://www.robotnav.com/gyroscopes/
It was compiled using the Java and the LMSASM tool found in the source code
Last edited by lvoc on 20 Nov 2013, 15:17, edited 1 time in total.
HaWe
Posts: 2500
Joined: 04 Nov 2014, 19:00

Re: Lego vs Microinfinity Gyro Comparison

Post by HaWe »

thank you Lauro, that is good to know.
Then there might be a little chance to improve the accuracy of the Lego gyro angle values by integrating the rotation speed by one self (regarding to my experiences with the HT gyro continuous loops by 100 Hz are always fine).
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests