Go to Post Some may call it an obsession and they may be right, but I call it a huge learning experience. - Elgin Clock [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 30-01-2009, 09:50
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Common Ground for DSC

Can multiple digital inputs on the DSC be connected to a common ground pin, say DIO Pin 1, or must all of the signal pins be connected to their corresponding ground pin?
  #2   Spotlight this post!  
Unread 30-01-2009, 10:36
Tom Line's Avatar
Tom Line Tom Line is offline
Raptors can't turn doorknobs.
FRC #1718 (The Fighting Pi)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 1999
Location: Armada, Michigan
Posts: 2,533
Tom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond reputeTom Line has a reputation beyond repute
Re: Common Ground for DSC

Conceptually, if you take a digital multimeter and check between the ground pins and discover no resistance, then they are shorted together on the PCB the same way the Driver Station is. However, each individual pin is limited to a certain current, and will fail if subjected to too much.

This is a question that should be asked on the formal Q&A.
  #3   Spotlight this post!  
Unread 30-01-2009, 10:55
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,795
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: Common Ground for DSC

Eric,
Although electrically that would seem to work, you would need to follow other electrical system rules for combining wires, insulating same and connecting to the DSC. The wiring convention provided is designed for you to be able to use commonly available PWM cables for interconnect. In general digital inputs will come from different locations on the robot, it would seem that a common point for digital inputs is contrary to good practice. Additionally, using the intended interconnect method will give slightly better noise immunity by providing a separate path for noise on each cable directly to the DSC rather than comprimising all digital inputs with a common ground outside of the DSC. Finally, and more importantly, a common point outside of the DSC gives a single point failure for all digital inputs if the wire breaks or becomes disconnected.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 30-01-2009, 11:39
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Common Ground for DSC

Quote:
Originally Posted by Al Skierkiewicz View Post
Eric,
Although electrically that would seem to work, you would need to follow other electrical system rules for combining wires, insulating same and connecting to the DSC. The wiring convention provided is designed for you to be able to use commonly available PWM cables for interconnect. In general digital inputs will come from different locations on the robot, it would seem that a common point for digital inputs is contrary to good practice. Additionally, using the intended interconnect method will give slightly better noise immunity by providing a separate path for noise on each cable directly to the DSC rather than comprimising all digital inputs with a common ground outside of the DSC. Finally, and more importantly, a common point outside of the DSC gives a single point failure for all digital inputs if the wire breaks or becomes disconnected.
We will be creating a a few sensor bus lines that combine sensor wires from key areas of our robot, and therefore will only be using the PWM MOLEX connector for connection from the bus breakout to the DSC. Using a common ground (at least one common ground per bus) would greatly reduce the complexity of our bus system. At most, we would be connecting 4 components (encoders) to one ground and 3 components (encoder + limit switches) to another ground. Would the added vulnerability to noise in this system be non-negligible for digital signals?
  #5   Spotlight this post!  
Unread 30-01-2009, 14:11
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,795
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: Common Ground for DSC

Eric,
Any one signal can affect the other signals that are combined. It is unlikely that the noise component would cause problems in your configuration but anything is possible. I still point to the single failure. A defective ground takes out as many as four of your sensors, while individual wires may only take out one. I would like to understand the term "buss" in your configuration. Are you referring to common power supply connections or summing several sensor inputs to one connection?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #6   Spotlight this post!  
Unread 30-01-2009, 14:26
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Re: Common Ground for DSC

Quote:
Originally Posted by Al Skierkiewicz View Post
Eric,
Any one signal can affect the other signals that are combined. It is unlikely that the noise component would cause problems in your configuration but anything is possible. I still point to the single failure. A defective ground takes out as many as four of your sensors, while individual wires may only take out one. I would like to understand the term "buss" in your configuration. Are you referring to common power supply connections or summing several sensor inputs to one connection?
Thank you for all of your help on this issue so far, your expertise is greatly appreciated. We won't summing the signal over one conductor, but using a multi-pole connector (Molex, D-Sub - still deciding) to facilitate wire routing and a implementation of a quick-disconnect system.
  #7   Spotlight this post!  
Unread 31-01-2009, 21:58
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,795
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: Common Ground for DSC

A Dsub works great in this application and it is one of our connectors of choice.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #8   Spotlight this post!  
Unread 31-01-2009, 22:33
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Common Ground for DSC

The DSC's GPIO port has an extra power and ground pin to make it easier for you to do exactly what you are asking about. You can use a long single row connector to pick up as many signals as you want, plus power and ground.

Each pin is rated for 750mA. This may require you to use multiple pins if you are powering something beefy.

Note that the rules do not require the ground path isolation/redundancy strategy that Al recommends. In some cases, it is absolutely necessary for reliable operation. In other cases, it is superfluous. You must use your own judgment to determine what is best for you and then live with the results.

For reference, I do a bit of work with signals up in the low GHz range. Here, grounding strategy is critically important. On the other hand, I've gotten away with a lot of slop in the tens of MHz range. It all depends on the application. Also, when in doubt add bulk capacitance.

In my personal opinion (which you may ignore as you please), I think starred ground returns for the GPIO will have a negligible impact on noise, but I am warming to the idea of the redundancy.
  #9   Spotlight this post!  
Unread 01-02-2009, 11:26
EricWilliams EricWilliams is offline
Registered User
FRC #2039 (Rockford Robotics)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2001
Location: Rockford, IL
Posts: 103
EricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of lightEricWilliams is a glorious beacon of light
Talking Re: Common Ground for DSC

Thanks for all your input guys. We've made our original problem irrelevant by going with a 57 position circular connector from Tyco Electronics. At $20 for the receptacle and plug together, the coolness factor was just too high to pass up. With 57 pins, we'll have plenty of positions to run discrete grounds for each of our components.
  #10   Spotlight this post!  
Unread 09-02-2009, 03:42
Japper's Avatar
Japper Japper is offline
Registered User
FRC #3692 (RocknRobots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Rutland Wisconsin
Posts: 147
Japper has a spectacular aura aboutJapper has a spectacular aura about
Re: Common Ground for DSC

Quote:
Originally Posted by Tom Line View Post
Conceptually, if you take a digital multimeter and check between the ground pins and discover no resistance, then they are shorted together on the PCB the same way the Driver Station is. However, each individual pin is limited to a certain current, and will fail if subjected to too much.

This is a question that should be asked on the formal Q&A.
I was having problems with my DSC yesterday as I was connecting the ground (-) of Digital Inputs 3 and 4 together and routing the signal pins of these two inputs to limit switches as the DSC has internal 10K pull ups (to clarify, my configuration is 2 limit switches with a common ground taken from Dig in 3 & 4).

For some strange reason when the limit switch connected to Digital input 4 line was closed, my signal (RSL) light went off and the robot was disabled.

I disconnected both limit switches and with an ohmeter checked to make sure that I was not shorting the (+) pin and all check out fine for both switches...

I plugged the limit switch that was originally connected to Dig Input 4 into other Digital lines with the same results and then disonnected Dig Input 3 and it not longer exhibited this problem.

I plugged Dig Input 3 back in and the problem re-appeared so I swapped Dig Inputs 3 & 4 and the problem went away but I am not sure if my limit switches are working yet and need to play with the software a bit yet to find out...

Very peculiar and this puzzles me... I wonder if there is anthing else that I should check?
  #11   Spotlight this post!  
Unread 09-02-2009, 11:05
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Common Ground for DSC

You were correct in looking to see if you were shorting the 5V supply. Next time, take a look at the 5V LED.

You said the robot became disabled. Did the DS report "disabled" or did things stop moving?

A DS report of "disabled" would point me to a problem further "upstream". Perhaps your code around that particular switch does something funny - does it kill/starve the watchdog?

If it doesn't report "disabled", I'd examine and re-examine your wiring.
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
Servos, DSC and labview Team2883 General Forum 2 16-01-2009 14:47
Common Ground? morpheous115 Electrical 8 11-02-2008 11:43
Common ground for sensors? Jared Russell Electrical 1 03-02-2006 07:25
Common Ground on Limit Switches Gary Bonner Electrical 4 18-02-2005 13:24
Common For MAXI MikeDubreuil Electrical 1 10-02-2003 02:35


All times are GMT -5. The time now is 05:37.

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