-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Output data does not appear to be correct. When I run the program, I get these numbers (while rotating back and forth around the z axis) at 250 dps:
{ x: -0.01, y: -0.008, z: 0.162 }
{ x: 0.005, y: 0.023, z: -0.374 }
{ x: -0.006, y: 0.045, z: -0.684 }
{ x: -0.013, y: 0.025, z: -0.424 }
{ x: -0.007, y: 0.018, z: -0.193 }
{ x: -0.015, y: -0.046, z: 0.667 }
{ x: -0.023, y: -0.053, z: 0.799 }
{ x: -0.012, y: -0.025, z: 0.365 }
These numbers should be much higher if they are dps. There must be some scale I need to use. What is the scale? Or am I reading the numbers wrong? Or how do I calibrate?
From Pololu thread:
L3GD20 noise
Postby dan77062 » Thu Nov 29, 2012 12:21 pmI am looking at the L3GD20 data stream from the L3GD20 3-Axis Gyro Carrier with Voltage Regulator board and it seems very noisy. With no movement, here is a sample of the output from the example program "serial"
I work with gyros a lot and understand that they drift, but this is not a steady drift, the readings jump all over.I realize that this is raw data and that when scaled to dps the noise is not so bad, but still seems high. Perhaps I am using the wrong conversion? I am using full scale sensitivity (2000 dps, 70 mdps/digit) so am using a 0.07 conversion from raw data to degrees per sec. Is that correct?
I noted that if I average the readings, they are around a common mean. Is this noise level normal for this sensor?
G X: -17 Y: -56 Z: -150
G X: -57 Y: -64 Z: -212
G X: -43 Y: -72 Z: -188
G X: -27 Y: -76 Z: -151
G X: -19 Y: -74 Z: -221
G X: -25 Y: -29 Z: -137
dan77062Posts: 7
Joined: Fri Dec 23, 2011 12:24 pm
Top
Re: L3GD20 noise
Postby DavidEGrayson » Fri Nov 30, 2012 3:03 pmHello. The noise level in your data looks normal to me.
dan77062 wrote:
I am using full scale sensitivity (2000 dps, 70 mdps/digit) so am using a 0.07 conversion from raw data to degrees per sec. Is that correct?Yes, that is correct.
The "steady drift" you are referring to is probably what you see when you integrate the rotations from the gyro, but you wouldn't see it when you look at the raw readings.
There will generally be some noise and some zero-rate offset for sensors like this. You really have to convert it to some human-understandable unit (degrees per second) to evaluate it. You can look in the sensor's datasheet to get an idea of how much offset and how much noise is typical. You can find the datasheet by going to the pololu.com product page for your device and opening the Resources tab (below the price and short description).
If you still think that you are getting too much noise or too much of an offset from your device, please provide us with the following information:
- The configuration settings you used on the device. (Different settings can result in different amounts of noise and offset.)
- 15-50 sets of raw readings from the device, taken while it is stationary.
- For every axis you are concerned about, the standard deviation and average of the readings from that axis. You can use a spreadsheet program to calculate this.
- The standard deviation and average, converted to human units. For a gyro, convert to dps (degrees per second).
- The relevant information from the datasheet that makes you think your readings are atypical.
--David