Go to Post Wait, I thought 2009 started on January 3rd... - ComradeNikolai [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 29-11-2009, 15:33
AustinSchuh AustinSchuh is offline
Registered User
FRC #0971 (Spartan Robotics) #254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Feb 2005
Rookie Year: 1999
Location: Los Altos, CA
Posts: 802
AustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond reputeAustinSchuh has a reputation beyond repute
Re: Sensors!

Quote:
Originally Posted by Doug G View Post
Temperature sensor (thermocouple), I bet there's a team out there at some point who put this on a robot.
We slapped a set of those on our practice robot, and used them to tell us when to give the robot a break to prevent overheating. Really useful, and I think all our future robots are going to be sporting one per motor.
  #2   Spotlight this post!  
Unread 29-11-2009, 16:06
DonRotolo's Avatar
DonRotolo DonRotolo is offline
Back to humble
FRC #0832
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2005
Location: Atlanta GA
Posts: 6,998
DonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond reputeDonRotolo has a reputation beyond repute
Re: Sensors!

In fact, ANY sensor can be connected to the cRio; this then becomes a listing of 'all the different sensors that exist'.

This has some good info
__________________

I am N2IRZ - What's your callsign?
  #3   Spotlight this post!  
Unread 29-11-2009, 16:28
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Sensors!

Thanks a ton; I knew CD would have a lot of knowledge on this.

Quote:
Originally Posted by AustinSchuh View Post
We slapped a set of those on our practice robot, and used them to tell us when to give the robot a break to prevent overheating. Really useful, and I think all our future robots are going to be sporting one per motor.
For lack of better words, that's awesome.

Quote:
Originally Posted by Don Rotolo View Post
In fact, ANY sensor can be connected to the cRio; this then becomes a listing of 'all the different sensors that exist'.
That's kinda what I wanted it to be, but mostly ones relevant to robots. Good link.

Last edited by JewishDan18 : 29-11-2009 at 16:30.
  #4   Spotlight this post!  
Unread 29-11-2009, 16:39
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: Sensors!

Quote:
Originally Posted by JewishDan18 View Post
That's kinda what I wanted it to be, but mostly ones relevant to robots. Good link.
Looking at that link, I thought of one more that can be relevant to robots - a compass.

Pros: does not drift like a gyro does
Cons: can be affected by motors/metal/etc.
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
  #5   Spotlight this post!  
Unread 29-11-2009, 17:53
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Sensors!

Quote:
Originally Posted by Pikat View Post
Looking at that link, I thought of one more that can be relevant to robots - a compass.

Pros: does not drift like a gyro does
Cons: can be affected by motors/metal/etc.
That's an interesting idea. This is off topic, but how much drift would the gyro accumulate over the 2 minutes? I assume it will be greater the more time you hit another robot/wall. What were other teams experiencing?
  #6   Spotlight this post!  
Unread 29-11-2009, 19:11
Eugene Fang's Avatar
Eugene Fang Eugene Fang is offline
The Blue Alliance
no team
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Bay Area, CA -> Pittsburgh, PA
Posts: 769
Eugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond reputeEugene Fang has a reputation beyond repute
Re: Sensors!

Quote:
Originally Posted by JewishDan18 View Post
That's an interesting idea. This is off topic, but how much drift would the gyro accumulate over the 2 minutes? I assume it will be greater the more time you hit another robot/wall. What were other teams experiencing?
I'm not sure, since our team has never actually used gyros. I've just heard of other teams using them. However, I seem to recall teams using accelerometers to counteract for drift (I don't know how). A crude way to fix drift is to have a trimming potentiometer on your DriverStation i guess.

Sorry I don't have any hard facts. Maybe someone else has had some experience with gyros personally?
__________________
Eugene Fang
2010 Silicon Valley Regional Dean's List Finalist

Various FLL Teams - Student (2000-2006), Mentor (2007-2010)
FRC Team 604 - Student (2007-2010), Mentor/Remote Advisor (2011-2015)
FRC Team 1323 - Mentor/Remote Advisor (2011-2014)

The Blue Alliance | TBA GameDay | TBA Android App
  #7   Spotlight this post!  
Unread 30-11-2009, 00:05
daltore's Avatar
daltore daltore is offline
Electronics/programming/design
AKA: Aaron Osmer
FRC #3529 (ausTIN CANs)
Team Role: Mentor
 
Join Date: Dec 2007
Rookie Year: 2007
Location: San Antonio, TX
Posts: 272
daltore has a spectacular aura aboutdaltore has a spectacular aura aboutdaltore has a spectacular aura about
Send a message via AIM to daltore Send a message via MSN to daltore Send a message via Yahoo to daltore
Re: Sensors!

The short answer is there's no way to say for sure.

The long answer is there's a way, but it's really complicated. Basically, the amount of drift accumulated is very dependent on the code running the gyro. Gyros have different responses based on temperature, so some gyros contain internal thermometers that are also output to the microcontroller. Another factor is noise. If you have a gyro that communicates by serial (good luck finding one, I haven't seen any), it'll be more accurate than if you have a wire running around carrying an analog voltage that's varying. With the analog signal, you have to do averaging to get any kind of usable data, and when you average, you lose resolution. Since the cRIO has such a high data rate, you could probably get away with it a little more easily. Also, MEMS devices in general work by using capacitance between a central mass and an outer edge. If you have any static charge on your robot, it may or may not affect the gyro. Also, calibration of a gyro will not necessarily work if you move it to a different location on the robot, because overall capacitance will change, and may or may not affect the capacitive difference.
  #8   Spotlight this post!  
Unread 30-11-2009, 12:26
Jared Russell's Avatar
Jared Russell Jared Russell is offline
Taking a year (mostly) off
FRC #0254 (The Cheesy Poofs), FRC #0341 (Miss Daisy)
Team Role: Engineer
 
Join Date: Nov 2002
Rookie Year: 2001
Location: San Francisco, CA
Posts: 3,078
Jared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond reputeJared Russell has a reputation beyond repute
Re: Sensors!

I have done quite a bit of work with gyros and drift is one of the more difficult things to characterize. What we call "drift" is the effect of integrating the output of a noisy signal. In the case of a MEMS gyroscope, this noise is caused by small thermal variations and vibrations that are impossible to completely correct for. Imagine a variable with noise of +/- 1 unit at any given time. What happens if you integrate this variable? You get what is called a "random walk", or drift.

Because electromechanical noise is usually modeled as a random variable (frequently as white noise with a mean and a variance, but no single exact value), you can never say for certain what your worst case drift will be. But, you can calculate things like your "average" drift rate over time, or your drift over various confidence intervals.

Drift rate is affected by several factors, including:
* The gyroscope's noise properties
* Sampling rate
* Temperature
* Filtering
  #9   Spotlight this post!  
Unread 30-11-2009, 15:53
JewishDan18's Avatar
JewishDan18 JewishDan18 is offline
Registered User
FRC #1700
Team Role: Engineer
 
Join Date: Feb 2009
Rookie Year: 2007
Location: Sunnyvale, CA
Posts: 185
JewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to beholdJewishDan18 is a splendid one to behold
Re: Sensors!

So is the drift great enough to impact the readings over the 2 minutes? And has anyone done any work with a compass?
  #10   Spotlight this post!  
Unread 30-11-2009, 20:37
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Sensors!

HiTechnic sells one that uses I2C. I've used it a bit, but within LEGO projects only. It needs pretty careful mounting away from iron and high current circuits or it will give erratic values. Otherwise works pretty well.

http://www.hitechnic.com/cgi-bin/com...on&key=NMC1034

As for gyro drift, 120 seconds is a long time to integrate the signal, and you will find that your gyroCompass will probably have a pretty measurable error term at the end of the match. Another issue which occurs much more quickly is when the rate gyro exceeds its max rate. In other words, the gyro will only report X degrees of turn in a time period, and you have a powered turn or a bump that exceeds X. The reported value will be X, and the excess will become an error in your compass reading.

Greg McKaskle
  #11   Spotlight this post!  
Unread 09-12-2009, 13:23
Sparks333's Avatar
Sparks333 Sparks333 is offline
Robotics Engineer
AKA: Dane B.
FRC #1425 (Wilsonville Robotics)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Wilsonville, Oregon
Posts: 184
Sparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of lightSparks333 is a glorious beacon of light
Send a message via AIM to Sparks333
Re: Sensors!

Hi all!

Gyros are tricky beasties - that is certainly for sure, but since the little accelerometers and gyros are becoming ubiquitous, I've notice a trend towards the digital serial-enabled gyros - here's one on Sparkfun
http://www.sparkfun.com/commerce/pro...oducts_id=8372
It is worth noting that though 300 degrees/sec seems like a lot, a second is actually quite long, and 300 degrees is less than one rotation - if you're doing 1 rev/s, you'll max out the range on most low-cost gyros.
As for drift, the previous posts are quite accurate - the amount of drift depends heavily on the sensor, the environment, and the algorithm. Many sensors you'll find today are temperature-compensated, which will help with environmental issues, but hard shocks and sudden rotation will confuse them fairly easily - they're more used to smooth motion, which FIRST robots aren't used to performing. That being said, if you feel like some clever programming, there are filters out there that can get ridiculously accurate - the Kalman filter, for example, is a state-space recursive estimation algorithm that, if properly tuned, can give very accurate readings from a gyro. It takes some fairly high-level math, though, so unless you've got time or someone who has done one, keep looking.

As for compasses (or magnetometers), I've had some luck with the Honeywell sensors - the particular model I've used isn't sold anymore - but they are designed to operate on extremely weak magnetic fields, and placing it anywhere close to a motor or ferrous metal will make it nearly inoperable. In short, it can be done, it just requires either clever programming or isolation.

Good luck!

Sparks
__________________
ICs do weird things when voltage is run out of spec.

I love to take things apart. The fact that they work better when I put them back together it just a bonus.

http://www.ravenblack.net/random/surreal.html
  #12   Spotlight this post!  
Unread 09-12-2009, 14:41
Rohan J Rohan J is offline
Registered User
FRC #1540 (Flaming Chickens)
Team Role: Mechanical
 
Join Date: Feb 2009
Rookie Year: 2008
Location: Portland, Oregon
Posts: 11
Rohan J has a spectacular aura aboutRohan J has a spectacular aura aboutRohan J has a spectacular aura about
Re: Sensors!

I've experimented a little with capacitive and inductive sensors. These fall under the radar of "proximity" sensors, if you look in the mouser electronics catalog. There is a gargantuan list of sensors that can be used with the CRio. Again, look in the mouser catalog. I've also used the PIR sensor from parallax that you can get for $10 from RadioShack. RadioShack also sells an ultrasonic rangefinder, for about $40, also made by parallax.

Also, I recently went to home depot and picked up a set of Garage Door sensors. These are those things that go behind the door, and send a beam of IR between them. When something is blocking that, the door will not close. The weird thing is, both the transmitter and receiver have two terminals. This would make sense for the transmitter, as it would have one for +V and the other for GND. I would expect, however, that the receiver has a +V, GND, and Signal. but it doesn't. I'll be playing around with this, and when I find what's what, i'll let you know.
Closed Thread


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
Wheel Speed Sensors / Vehicle Speed Sensors chitu Technical Discussion 11 12-01-2008 02:46
where can we buy hall effect sensors or gear tooth sensors amirjpl Electrical 3 13-02-2006 11:02
I R Sensors thoughtful Programming 2 06-02-2004 11:45
IR sensors alexrobotics Technical Discussion 23 27-01-2004 00:59
sensors edomus General Forum 5 19-11-2003 16:46


All times are GMT -5. The time now is 12:24.

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