Go to Post One of these years, the game piece will be an actual red herring. - Taylor [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

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 07-16-2016, 12:29 AM
snekiam snekiam is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Programmer
 
Join Date: Dec 2015
Rookie Year: 2010
Location: SE Michigan
Posts: 84
snekiam has a spectacular aura aboutsnekiam has a spectacular aura aboutsnekiam has a spectacular aura about
Re: What sensors do your teams use

We used the CTRE magnetic encoders on our shooter to measure velocity, andymark's string potentiometer to measure position on our arms, these grayhill encoders on our drivetrain to measure velocity for (theoretical) automatic shifting, and a navx on our drivetrain for straight driving. I'm sure there are one or two sensors I am forgetting, but all of these are in closed loop P, PD, or PID control schemes. If you have any questions about how any of this works, let me know.
Reply With Quote
  #2   Spotlight this post!  
Unread 07-16-2016, 01:29 AM
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 69
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: What sensors do your teams use

I gotta give a shout out to the humble potentiometer. We picked up a handful last year, and they proved super usefull this year too. They wire directly to an analog in Port, and can essentially give you abaolute position of a mechanism. Getting some with more than 300deg of rotation help protect it in case of over rotation.

Here's two versions I recommend keeping around:
Continuous rotation: http://www.digikey.com/product-detai...-103-ND/274005
10turn: http://www.digikey.com/product-detai...03L-ND/2058386
Reply With Quote
  #3   Spotlight this post!  
Unread 07-16-2016, 01:45 AM
Steven Smith Steven Smith is offline
Registered User
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Apr 2013
Rookie Year: 2013
Location: Dallas, TX
Posts: 208
Steven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond reputeSteven Smith has a reputation beyond repute
Re: What sensors do your teams use

One other question for you guys/gals as you discuss your sensor needs:

Are there any broad areas of sensing technology, how to do sensor integration (mechanical, electrical, programming), etc that you feel your teams could use help with?

AKA, in addition to WHAT to use, do you feel there are adequate resources on HOW/WHY to use sensors, that could be addressed by linking existing content or creating new content specific to FRC?
__________________
2013 - 2016 - Mentor - Robochargers 3005
2014 - 2016 - Mentor - FLL 5817 / 7913
2013 - Day I Die - Robot Fanatic
Reply With Quote
  #4   Spotlight this post!  
Unread 07-16-2016, 07:12 AM
DaveL DaveL is offline
Registered User
FRC #2976
 
Join Date: Jan 2013
Location: WA
Posts: 172
DaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the roughDaveL is a jewel in the rough
Re: What sensors do your teams use

I too would like to help my team improve their use of encoders.

I'm most interested in encoders that could be used for flywheel shooters that don't require any machining to install. In 2012, I remember teams used light emitting sensors to count light and dark marks on a spinning disk.

Are these still viable?
If so, which ones work well (high reliability, easy installation, non-contacting) and are reasonably priced?

Dave
Build Mentor 2976
Reply With Quote
  #5   Spotlight this post!  
Unread 07-16-2016, 07:27 AM
ILAMtitan ILAMtitan is offline
Texas Instruments
AKA: Bart Basile
FRC #3005 (RoboChargers)
Team Role: Mentor
 
Join Date: Nov 2013
Rookie Year: 2013
Location: Dallas
Posts: 69
ILAMtitan will become famous soon enoughILAMtitan will become famous soon enough
Re: What sensors do your teams use

Quote:
Originally Posted by DaveL View Post
I too would like to help my team improve their use of encoders.

I'm most interested in encoders that could be used for flywheel shooters that don't require any machining to install. In 2012, I remember teams used light emitting sensors to count light and dark marks on a spinning disk.

Are these still viable?
If so, which ones work well (high reliability, easy installation, non-contacting) and are reasonably priced?

Dave
Build Mentor 2976
Dave,
What you're referring to is a simple IR beam break sensor (example: https://www.adafruit.com/product/2168). One of the modules is just an IR LED, and the other is a receiver that tells you if it sees the LED or not. I don't see any problem with the electronics not being reliable, but you would have to manufacture you're own spinning disk to serve as an interrupter. Those adafruit ones seem pretty straightforward to mount, but I'm sure there are some better ones out there that come in a single module.

While I think mechanically attaching a proper high speed encoder would be the right solution for a flywheel shooter, these are still pretty useful. You can use them as limit switches and even "linear encoders" with the right interrupter.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-16-2016, 08:26 AM
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,536
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: What sensors do your teams use

If you are spinning it fast enough (quite likely), you can put the light/dark pattern directly onto the disk, and use a reflective optical sensor. If you do this, use a relatively inexpensive sensor and be ready to replace it, because it'll be located right next to that spinning wheel, and FRC robots have been known to collide with one another or the field elements. On occasion.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote
  #7   Spotlight this post!  
Unread 07-16-2016, 08:47 AM
thatprogrammer's Avatar
thatprogrammer thatprogrammer is offline
Registered User
AKA: Ahad Bawany
no team (None)
Team Role: Programmer
 
Join Date: Apr 2014
Rookie Year: 2014
Location: Florida
Posts: 608
thatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond reputethatprogrammer has a reputation beyond repute
Re: What sensors do your teams use

Quote:
Originally Posted by GeeTwo View Post
If you are spinning it fast enough (quite likely), you can put the light/dark pattern directly onto the disk, and use a reflective optical sensor. If you do this, use a relatively inexpensive sensor and be ready to replace it, because it'll be located right next to that spinning wheel, and FRC robots have been known to collide with one another or the field elements. On occasion.
You can also use a $10 hall effect sensor to do the same thing with a magnet. We found this pretty effective this year.
Reply With Quote
  #8   Spotlight this post!  
Unread 07-16-2016, 10:46 AM
ASD20's Avatar
ASD20 ASD20 is offline
Registered User
AKA: Andrew
FRC #4761 (The Robockets)
Team Role: College Student
 
Join Date: Jan 2015
Rookie Year: 2014
Location: Reading, MA
Posts: 271
ASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud ofASD20 has much to be proud of
Re: What sensors do your teams use

Quote:
Originally Posted by DaveL View Post
I'm most interested in encoders that could be used for flywheel shooters that don't require any machining to install. In 2012, I remember teams used light emitting sensors to count light and dark marks on a spinning disk.
If you want easy to install, I would recommend encoders that are designed to fit directly on a motor or gearbox. Vex sells a VersaPlanetary encoder, which is easy to assemble and fits right into a VersaPlanetary gearbox just like any other stage. This is what I would recommend for a shooter encoder. Andymark also now sells there PG gearmotors with encoders built in. The only assembly required is plugging in a wire. They also sell a CIMcoder now, which is designed to fit right on the shaft of a CIM. I have not used this before, so I can not speak to how well it works or how easy it is to install, but I imagine it is pretty straightforward. Andymark also sells an encoder that fits directly onto most of their gearboxes. It is kind of a pain to install and my team has broken way too many of them, but it is probably the easiest way to get an encoder on your drive train.

All of these require no machining and interface nicely with other COTS components.
__________________

Reply With Quote
  #9   Spotlight this post!  
Unread 08-04-2016, 09:46 AM
ollien ollien is offline
Registered User
FRC #5202
 
Join Date: Feb 2015
Location: United States
Posts: 276
ollien has a spectacular aura aboutollien has a spectacular aura aboutollien has a spectacular aura about
Re: What sensors do your teams use

Quote:
Originally Posted by ASD20 View Post
They also sell a CIMcoder now, which is designed to fit right on the shaft of a CIM. I have not used this before, so I can not speak to how well it works or how easy it is to install, but I imagine it is pretty straightforward.
I cannot even think of recommending the CIMCoder. We had four of our drivetrain and by the time we reached competition, only two were reporting any information. I've also heard some horror stories of the shell cracking on high vibration applications like a shooter.

YMMV
Reply With Quote
  #10   Spotlight this post!  
Unread 08-04-2016, 02:29 PM
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,229
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: What sensors do your teams use

Quote:
Originally Posted by ollien View Post
I cannot even think of recommending the CIMCoder. We had four of our drivetrain and by the time we reached competition, only two were reporting any information. I've also heard some horror stories of the shell cracking on high vibration applications like a shooter.

YMMV
Agreed. They need to be solidly filled and not a shell. Additionally, it would be nice if the little black square was actually a square and not a rectangle. Cranking down on it with the wrong orientation will crack the housing. It has a lot of potential but it needs some revisions.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
  #11   Spotlight this post!  
Unread 07-20-2016, 03:38 PM
electroken's Avatar
electroken electroken is offline
Electron Tamer
AKA: Ken Pontbriant
FRC #0230 (Gaelhawks)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: Shelton, CT
Posts: 166
electroken is a jewel in the roughelectroken is a jewel in the roughelectroken is a jewel in the rough
Re: What sensors do your teams use

Quote:
Originally Posted by DaveL View Post
I too would like to help my team improve their use of encoders.

I'm most interested in encoders that could be used for flywheel shooters that don't require any machining to install. In 2012, I remember teams used light emitting sensors to count light and dark marks on a spinning disk.

Are these still viable?
If so, which ones work well (high reliability, easy installation, non-contacting) and are reasonably priced?

Dave
Build Mentor 2976
For wheeled shooter speed measurement we've had good luck with this gear tooth sensor from Allegro Microsystems:

http://www.allegromicro.com/en/Produ...Cs/ATS667.aspx

As long as you can get the face of the sensor close enough to the teeth of a ferrous metal gear, you'll see one pulse per tooth that passes. They're around $7 each.
Reply With Quote
  #12   Spotlight this post!  
Unread 07-21-2016, 05:48 PM
ttnn58 ttnn58 is offline
Registered User
FRC #4586
 
Join Date: Jun 2016
Location: earth
Posts: 24
ttnn58 is an unknown quantity at this point
Re: What sensors do your teams use

gyro&accelometer - for PID and stuff i think...
microswitch - to know if the ball is secured inside the robot
magnetic door sensor - to know if the scaling arm lifts the robots high enough for the scale to count
Reply With Quote
  #13   Spotlight this post!  
Unread 07-22-2016, 09:08 PM
David Lame David Lame is offline
Registered User
FRC #0247
 
Join Date: Feb 2015
Location: Berkley, MI
Posts: 84
David Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the roughDavid Lame is a jewel in the rough
Re: What sensors do your teams use

We used the built in accelerometer of the roborio as a tilt sensor.

This year, in autonomous, we had a problem. Our robot was top heavy. If we tried to get over obstacles in autonomous, if we went too fast, we tipped. If we went too slow, we got stuck. The tilt sensor was our salvation. You can see it in action in this youtube video.



https://www.youtube.com/watch?v=roVc581joiA

As 247 goes over the moat, the announcer indicates that we look stuck. What you see on the film is that we drift back to the back side of the moat, and then suddenly charge forward.

Well, the drift isn't a drift. We programmed it to wait two seconds and check the tilt. If we weren't on flat ground, we would go slowly back, and then gun it full speed to finish the job.

It worked quite nicely. We also used it as an anti-tip sensor. If the tilt got too high, we cut wheel speed or moved in reverse to prevent tipping. That one didn't always work, as seen in the same video at about 1:10.
Reply With Quote
  #14   Spotlight this post!  
Unread 08-04-2016, 09:04 AM
gerthworm's Avatar
gerthworm gerthworm is offline
Making the 1's and 0's
FRC #1736 (Robot Casserole)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2015
Location: Peoria, IL
Posts: 56
gerthworm has a spectacular aura aboutgerthworm has a spectacular aura about
Re: What sensors do your teams use

Quote:
Originally Posted by Steven Smith View Post

AKA, in addition to WHAT to use, do you feel there are adequate resources on HOW/WHY to use sensors, that could be addressed by linking existing content or creating new content specific to FRC?
I've seen a number of resources online of various qualities, but it would be nice to see a single published whitepaper that describes how to design a robot sensing system from top to bottom.

Challenges with such a document:
  • Keeping it up to date with changing technologies and parts availability.
  • Satisfying a large range of audiences.

I'd expect some mentors or students don't want to think about sensing system design much, and just need a quick answer as to "what should I use for situation XYZ". Others will have this design experience, and just aren't familiar with what's commonly used for FRC...

Perhaps a community-maintained wiki for this (and other topics) is an option? I haven't seen one yet, although I haven't looked very hard either...

EDIT: After a brief amount of searching, I came across https://firstwiki.github.io/wiki/tech , but it looks like there is plenty of work to be done still.

Last edited by gerthworm : 08-04-2016 at 09:13 AM.
Reply With Quote
  #15   Spotlight this post!  
Unread 08-04-2016, 09:31 AM
marshall's Avatar
marshall marshall is offline
My pants are louder than yours.
FRC #0900 (The Zebracorns)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2003
Location: North Carolina
Posts: 1,229
marshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond reputemarshall has a reputation beyond repute
Re: What sensors do your teams use

We use students as limit switches... the robot runs into them and they let us know about it. Decent feedback but a little slow and if they get hit too hard then they stop working sometimes. The good thing is we seem to have a never ending supply of them for replacements.
__________________
"La mejor salsa del mundo es la hambre" - Miguel de Cervantes
"The future is unwritten" - Joe Strummer
"Simplify, then add lightness" - Colin Chapman
Reply With Quote
Reply


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


All times are GMT -5. The time now is 03:41 AM.

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