Go to Post When the world gives you lemons make lemonade serve it at your press conference to expand the program. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
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 18-02-2013, 00:00
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Jitter/noise on limit switches connected to digital inputs on sidecar

We've got a bunch of limit switches on our robot this year, and are seeing jitter between true and false when the switch is open. Our hypothesis is that the runs are getting RF noise. The issue is happening when the robot is standing still

The switches are the KOP Honeywell switches, and they're connected to fairly lengthly (probably 3') runs of 22ga unshielded wire. The switches, when closed, connect the signal and ground pins. Using a meter, they ohm out at 0.1 ohms when closed and infinity when open.

Talking to some folks at yesterday's invitational, the suggestion was either to add lower valued pulldown resistors or go to shielded wire. We chose the latter approach, and built four external pulldown resistor units using 1000 ohm resistors we had in stock. These worked fine yesterday in eliminating the jitter, so we build a set of four more to cover the other four limit switches in our design.

Adding that additional load to the digital sidecar looks to have blown the 5V bus, as we no longer get a green 5V light on the sidecar.

Rewiring is a pain that we'll probably start doing tomorrow morning (using 22ga shielded security system wire), but I wanted to check to see if there are other options -- potentially going with higher valued resistors, for example -- to overcome noise on long switch runs.
Reply With Quote
  #2   Spotlight this post!  
Unread 18-02-2013, 00:20
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,567
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

The added load of 8 1000 ohm pulldowns is negligible compared to the 3 amp 5v power supply.

However, a common problem is to not supply 12v to the digital sidecar, so the 5v supply doesn't function. In this case, leakage through the 37 pin cable can let the digitial sidecar partially function, but not reliably. With everything disconnected except the power cable, are all three power LEDs brightly lit?

Another common problem is a small metal shaving shorting 5v to ground.
Reply With Quote
  #3   Spotlight this post!  
Unread 18-02-2013, 08:29
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

Quote:
Originally Posted by stevep001 View Post
Adding that additional load to the digital sidecar looks to have blown the 5V bus, as we no longer get a green 5V light on the sidecar.
Are the BAT and 6V LEDs still lit?
Reply With Quote
  #4   Spotlight this post!  
Unread 18-02-2013, 08:37
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

Batt and 6v are green. Another sidecar connected to the same power yields green on all 3 LEDs.
Reply With Quote
  #5   Spotlight this post!  
Unread 18-02-2013, 08:44
Vin Vin is offline
Registered User
AKA: Neil
FRC #4024 (The Jokers)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2008
Location: Florida
Posts: 14
Vin is an unknown quantity at this point
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

Clarify one thing -- where did you wire the 1000-ohm resistors to? There should be not static current flow through those, as for effective shielding you should only be grounding one side of the shield.
Reply With Quote
  #6   Spotlight this post!  
Unread 18-02-2013, 10:01
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,673
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

You know, a better option than an extra pullup resistor is to just connect your 5V wire to the NC contact on the microswitch. Does a much better job of pulling the signal pin up to 5V than a resistor.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #7   Spotlight this post!  
Unread 18-02-2013, 10:26
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

Thanks everyone for their thoughts.

A couple more notes on this.

The sidecar is the one from 2009 and I'm informed that we did a lot of machining on that robot with the electronics installed. I opened it up (yes, the warranty is now voided blew it out a bit and now there's a decent green, not quite as bright as the others, on the DSC.

We did look at running the 5V to the NC connector on the limit switches, but we are low on 3 terminal female terminals so are avoiding that one at this point.

We're going to try another sidecar, with a couple of the switch runs converted to shielded cable grounded at the sidecar, and see what we get for results.
Reply With Quote
  #8   Spotlight this post!  
Unread 18-02-2013, 10:35
MrRoboSteve MrRoboSteve is offline
Mentor
AKA: Steve Peterson
FRC #3081 (Kennedy RoboEagles)
Team Role: Mentor
 
Join Date: Mar 2012
Rookie Year: 2011
Location: Bloomington, MN
Posts: 577
MrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond reputeMrRoboSteve has a reputation beyond repute
Re: Jitter/noise on limit switches connected to digital inputs on sidecar

Another note on our setup -- we are using the old style D connector cables between the cRIO and the digital sidecar, not the recent ribbon cable. Could that be the issue?
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 21:48.

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