View unanswered posts | View active topics It is currently Tue Sep 23, 2014 11:08 am






Reply to topic  [ 5 posts ] 
arduino and idg 500 gyro interface 
Author Message
Rookie

Joined: Thu Aug 16, 2012 12:11 pm
Posts: 2
Post arduino and idg 500 gyro interface
i am using idg 500 gyro for few days with arduino it was perfectly working fine but now it is having some problems while the arduino is running the offset of the gyro increases (at rest it start to show 4,5,6,7 kept on increasing)continuously after some time what is the problem it seems that gyro has been damaged???


Thu Aug 16, 2012 12:16 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: arduino and idg 500 gyro interface
Generally, gyro needs calibration. At rest, it has a voltage offset. This voltage offset could change due to environmental factors such as temperature. Typically, before the robot program starts, I would call a calibration function to read the gyro for a number of times (e.g. 20 times with 10ms interval), sum up the 20 readings and average them. That will be your zero-offset. In the calibration loop of 20, I usually also determine the "noise range" (i.e. the voltage range when the robot is at rest), double the range and that's your dead band. Dead band is especially useful if you integrate the gyro reading into heading.


Thu Aug 16, 2012 9:19 pm
Profile
Rookie

Joined: Thu Aug 16, 2012 12:11 pm
Posts: 2
Post Re: arduino and idg 500 gyro interface
yes i am using the calibration technique bu the gyro offset kept on increasing


Fri Aug 17, 2012 2:23 pm
Profile
Guru
User avatar

Joined: Sun Nov 15, 2009 5:46 am
Posts: 1347
Post Re: arduino and idg 500 gyro interface
In that case, it does sound like your gyro may be damaged. Do you have another gyro that you can test with to make sure it is the physical gyro that's at fault?


Fri Aug 17, 2012 2:54 pm
Profile
Expert

Joined: Thu Sep 29, 2011 11:09 pm
Posts: 184
Location: Michigan USA
Post Re: arduino and idg 500 gyro interface
Are you integrating, and that's what's getting off (drift)? Or sitting stationary, does the measured degrees per second reading slowly increase (offset)?

If while sitting stationary the DPS reading continues to change (in one direction), then I would conclude it's a HW problem (not necessarily a Gyro problem though).

Are you sure that your supply voltage is very stable, and consistent (such as a well regulated and well filtered transformer, and not a battery pack)?

Edit: Also be sure to let the entire circuit (including the gyro) "warm up" and stabilize for a little while prior to use (at least 1 second after any major power load change).

_________________
Matt


Fri Aug 17, 2012 3:24 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.