Go to Post Way to think outside the box...or circle..or triangle. - Barry Bonzack [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 17-04-2013, 22:19
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Limit Switch Issues

Has anyone had issues with limit switches tripping due to excessive vibraton?
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #2   Spotlight this post!  
Unread 17-04-2013, 22:22
Woolly's Avatar
Woolly Woolly is offline
Programming Mentor
AKA: Dillon Woollums
FRC #1806 (S.W.A.T.)
Team Role: Mentor
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Springfield, MO
Posts: 512
Woolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond reputeWoolly has a reputation beyond repute
Re: Limit Switch Issues

Quote:
Originally Posted by inkspell4 View Post
Has anyone had issues with limit switches tripping due to excessive vibraton?
No, but a way to fix that would to be to put a filter on your limit switch in code. That way it has to stay down for a certain amount of time before the code reads it as tripped.
__________________


Team 1806 Student: 2012-2013 | Mentor: 2013-Present
  #3   Spotlight this post!  
Unread 17-04-2013, 23:34
asteb27 asteb27 is offline
Registered User
FRC #0293
 
Join Date: Feb 2013
Location: New Jersey
Posts: 37
asteb27 is an unknown quantity at this point
Re: Limit Switch Issues

What limit switches are you using? Also, that much vibration may point to a mechanical issue (for example, non symmetric shooter wheels)
  #4   Spotlight this post!  
Unread 17-04-2013, 23:35
lonnie lascelle's Avatar
lonnie lascelle lonnie lascelle is offline
Team Mentor
FRC #0930 (Mukwonago BEARs)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2011
Location: Wisconsin
Posts: 11
lonnie lascelle is on a distinguished road
Re: Limit Switch Issues

We have noticed back EMF noise generated from the motors to cause false tripping "limit switch closures" on our robots. Many of the false triggers can last for a second or two. Filtering in code, suppressing via capacitor, using 5 volts as input, using ferrite doughnuts, and assuring good wiring practice(keeping wires as short as possible for motor and signals, twisting pairs, not running signal wires near or in parallel with motor power wires). generally eliminates these issues. Be sure to ward off this in all areas to limit the issue. Have you tried to put a meter on the limit switch? Start by using a AA battery in-line and set meeter to hold peak or min/max hold (assure the robot wires are not connect) and then drive the robot causing vibration to see if it actually mechanically opens or bounces? Try to confirm that the limit is mechanically vibrating open and closed. We have often thought that we must have a bad limit or excessive vibration only to find noise.

Last edited by lonnie lascelle : 18-04-2013 at 03:23. Reason: clarity
  #5   Spotlight this post!  
Unread 18-04-2013, 09:34
zaphodp.jensen zaphodp.jensen is offline
Alumni and Mentor of 3130
AKA: Pierce Jensen
FRC #3130 (East Ridge Robotics Ominous Raptors (E.R.R.O.R.'s))
Team Role: Mentor
 
Join Date: Oct 2009
Rookie Year: 2009
Location: Minnesota
Posts: 76
zaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the roughzaphodp.jensen is a jewel in the rough
Re: Limit Switch Issues

One other simple thing to try is just making a mechanical "filter". This year, my team had issues where a limit switch with a longer paddle was bouncing up and down, preventing us from using our lifter. The solution: We wrapped a piece of surgical tubing around the paddle, and attached it above the limit switch, so the tubing was slightly stretched. It worked great, and we didn't have any more false triggers.
  #6   Spotlight this post!  
Unread 18-04-2013, 17:08
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Quote:
Originally Posted by zaphodp.jensen View Post
One other simple thing to try is just making a mechanical "filter". This year, my team had issues where a limit switch with a longer paddle was bouncing up and down, preventing us from using our lifter. The solution: We wrapped a piece of surgical tubing around the paddle, and attached it above the limit switch, so the tubing was slightly stretched. It worked great, and we didn't have any more false triggers.
Do you have a picture of this?
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________

Last edited by inkspell4 : 18-04-2013 at 18:28.
  #7   Spotlight this post!  
Unread 19-04-2013, 20:08
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
What is a good robust type of limit switch?
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #8   Spotlight this post!  
Unread 19-04-2013, 20:54
timytamy's Avatar
timytamy timytamy is offline
Registered User
AKA: Tim
FRC #3132 (The Thunder Down Under)
Team Role: Electrical
 
Join Date: Nov 2009
Rookie Year: 2010
Location: Australia
Posts: 293
timytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant futuretimytamy has a brilliant future
Re: Limit Switch Issues

We had an issue where the switch where the micro switch that we used to position frisbees before the shooter would bounce mechanically, ie occasionally it would detect two frisbees passing through instead of the one. The switch was set up so that it had a flexible surgical tubing extension that contacted the frisbee. We found the extra mass of the tubing would give it a higher inertia, and give it a higher tendancey to bounce.

We solved this by removing the tubing and by repositioning the switch so that it contacted a bent metal section of the lever, in tandem software also implemented debouncing code. (Which I think we disabled after fixing the problem mechanically)

As for what limit switch, in Australia we use: http://australia.rs-online.com/web/p...itches/515735/ It is pretty much identical to the one that came in the KoP (except grey, and slightly higher current rating) and has been very versatile.

Tim
__________________
Tim W
FIRST® Team 3132 - The Thunder Down Under
Sydney, Australia
Website | Facebook | Youtube
  #9   Spotlight this post!  
Unread 19-04-2013, 22:37
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Limit Switch Issues

Lonnie,
I am a little surprised at the noise problems you are having. If you use the normally closed contacts, then the line impedance is so low (effectively zero ohms) that noise would only affect the input circuitry if a motor was directly connected to the switch. Even when using the normally open contacts there is still a low enough impedance by the DSC input to be relatively immune to noise pickup. What you may have is an intermittent switch contact that is affected with vibration. The result would be a rapidly changing trigger to the DSC. This should be easily diagnosed by rapping the switch with the insulated end (handle) of a screwdriver. Microswitches can be damaged by rough handling of the exterior contacts. In rare cases, the internal spring can be damaged or broken resulting in the effect you describe.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #10   Spotlight this post!  
Unread 21-04-2013, 16:11
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
Quote:
Originally Posted by timytamy View Post
We had an issue where the switch where the micro switch that we used to position frisbees before the shooter would bounce mechanically, ie occasionally it would detect two frisbees passing through instead of the one. The switch was set up so that it had a flexible surgical tubing extension that contacted the frisbee. We found the extra mass of the tubing would give it a higher inertia, and give it a higher tendancey to bounce.

We solved this by removing the tubing and by repositioning the switch so that it contacted a bent metal section of the lever, in tandem software also implemented debouncing code. (Which I think we disabled after fixing the problem mechanically)

As for what limit switch, in Australia we use: http://australia.rs-online.com/web/p...itches/515735/ It is pretty much identical to the one that came in the KoP (except grey, and slightly higher current rating) and has been very versatile.

Tim
Is there any way that i can see the code that you wrote?
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #11   Spotlight this post!  
Unread 21-04-2013, 16:31
Shiri Shiri is offline
Registered User
FRC #0612
 
Join Date: Jul 2012
Location: United States
Posts: 1
Shiri is an unknown quantity at this point
Re: Limit Switch Issues

612 uses similar logic with our joysticks:
https://github.com/anidev/612-2013/b...edJoystick.cpp
(see GetRawButton())
Hope this helps!
  #12   Spotlight this post!  
Unread 08-05-2013, 20:32
inkspell4's Avatar
inkspell4 inkspell4 is offline
Registered User
FRC #3650 (Robo Raptors)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Maryland
Posts: 326
inkspell4 will become famous soon enough
To update this problem has not yet been solved.

It has been determined that vibration inside the limit switch is causing the problem.

Hardware solutions would be prefered.
__________________
Chesapeake Regional : 2013, 2012, 2011
Rookie Year: 2011
2013 RoboRaptors Team 3650 Programming Team Captain
Team Website : http://www.roboraptorsfrcteam3650.com/index.html
_____________________________________________
  #13   Spotlight this post!  
Unread 08-05-2013, 20:42
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,905
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Limit Switch Issues

Perhaps vibration isolating the switch by mounting it on shock absorbing foam rather than directly to a solid piece of vibrating frame.
Maybe a firmer style switch like the big ones we've received in older kits.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #14   Spotlight this post!  
Unread 09-05-2013, 07:28
Pendulum^-1's Avatar
Pendulum^-1 Pendulum^-1 is offline
Mentor
AKA: Jim Grove
FRC #1915 (Firebird Robotics)
Team Role: Mentor
 
Join Date: Nov 2012
Rookie Year: 2007
Location: Maryland
Posts: 82
Pendulum^-1 is just really nicePendulum^-1 is just really nicePendulum^-1 is just really nicePendulum^-1 is just really nice
Lightbulb Re: Limit Switch Issues

Recommend going optical.
https://www.sparkfun.com/products/9299
https://www.sparkfun.com/products/9322
(Get the breakout board with the photo interrupter.)

Or maybe try this:
https://www.sparkfun.com/products/246

If nothing else, extend a small, opaque tab in a position such that the above products give you a return at an appropriate location.

We tested the photo interrupter out for a home made linear encoder this year. While we never used it, the concept worked quite well, with the interrupter/optical limit switch hooked to the digital input on the sidecar. The Optical Detector / Phototransistor could pointed across the path of your mechanism, but close enough to the path so that when the mechanism passed across the interrupter, you got a response. Should be very accurate. While we have not tried this, I plan to test out the concept this summer, to have another item in our bag of tricks.
__________________
Jim Grove, Mentor
firebirds1915.blogspot.com
(2007-2017) 1915, McKinley Tech HS, Washington, DC
(2009) 2932, Mid-Pac Institute, Honolulu, HI (Rookie Season)
(2011) 2425, Hillsborough HS, Tampa, FL
(2013-2015) 4464, College Park, MD, 2013 Rookie All Star Winner and 2014 Regional Champions, Washington, DC

FIRST is not rocket science. But it is like drinking from a fire hose.

Last edited by Pendulum^-1 : 09-05-2013 at 07:31.
  #15   Spotlight this post!  
Unread 09-05-2013, 07:38
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Limit Switch Issues

Quote:
Originally Posted by inkspell4 View Post
To update this problem has not yet been solved.

It has been determined that vibration inside the limit switch is causing the problem.

Hardware solutions would be prefered.
Can you post a photo of the mounting of the switch. These are used in industrial applications all the time and vibration is rarely a problem. Often the actuator is actually the problem and that is easily solved with external damping. As I stated earlier it is always possible you have a damaged switch. The construction of the microswitch uses a spring to hold the contacts in place.
Are you experiencing "contact bounce" instead? There are certainly electronic and programming techniques that can eliminate this condition.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
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


All times are GMT -5. The time now is 20:08.

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