Go to Post Kids should already be motivated to build the best robot they can, and learn as much as they can. They shouldn't need extra incentives. - Matt382 [more]
Home
Go Back   Chief Delphi > Technical > Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 01-08-2004, 15:07
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Yaw Rate Sensor Drift?

Hi,
Last year we used an Analog devices adxrs150abgnd yaw rate sensor. It had 2 purposes:
1) use it to detect undesirable yaw rate and trim it out
2) integrate the yaw rate to give us a "poor man's electric compass"

Hooking it up as a 10 bit analog input gives you a 0-1024 range. So the theoretical neutral point is 512, 0 and 1024 represented +/- 150deg/sec...which is really not that fast of a turn rate. Anyway, in practice we found out that the neutral point was typically biased somewhere away from 512 and that the input "dithered" about neutral. What we did to compensate was:
1) during comp mode ( the time between power up and autonomous), we simply averaged the input with the previous, which allowed us to determine whatever the neutral point would be for that particular time of day, temperature, phase of moon ...etc
2) we set up a deadband (we settled on +/-11) about the neutral point. Anytime we read a value inside the deadband, we stored it as 0.

This worked great as a yaw trimmer, and OK as a "compass" - really a yaw position calculator - not a North/South direction finder.

Since we could not mount the sensor on the c/g, we had an inherrent error. I also speculate that mounting it in the chassis pan close to wiring, speed controllers, and motors may have been adding electrical interference - but I have no proof. In the end we moved the sensor away from the electronics - as much as possible and tucked it in as close to the c/g as we could. With trig of 2 decimal place accuracy, we averaged about 1.7deg of error over 360deg of rotation....something we'll definitely improve on. To compensate for that error, we added an additional operator reset switch. The driver could always re-align our 'bot with the up-field direction as re-zero the compass.

Hope that helps
Eric

PS we are also experimenting with an x/y accelerometer, which shows similar behaviors
__________________

Don't PANIC!
S. P. A. M.
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ADXRS150 gyro yaw rate sensor Brian M. Electrical 13 17-10-2004 02:28
Yaw rate sensor pin-out GregT Electrical 8 18-02-2003 00:07
Yaw rate sensor (gyro for the layperson) Kris Verdeyen Rules/Strategy 4 14-01-2002 00:41
Yaw Rate Sensors dense Technical Discussion 4 10-01-2002 08:28
Yaw Rate Sensor ImmacGirl_03 Technical Discussion 2 10-12-2001 15:15


All times are GMT -5. The time now is 06:02.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi