Go to Post FIRST does have instant replay. Its called the off season. - Wayne C. [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 04-02-2011, 11:14
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Intermittent digital signal when PWMs are used

Hey Folks,
We're having a strange issue where we get intermittent true and false on our digital I/O port, but only when PWM cables are plugged in (to the same digital sidecar). When we unplug the PWM cables, the intermittency goes away. And we get the intermittency whether the line sensors are plugged in or not, so it's not the line sensor causing the problem. Also, we've tried to different digital side cars and we get the same results.

We noticed this PowerPoint (http://www.google.com/url?sa=t&sourc...urig& cad=rja) That seems to indicate that we should use one sidecar for digital I/O and another for PWM. Is anyone else doing that?

Any thoughts would be appreciated.
  #2   Spotlight this post!  
Unread 04-02-2011, 11:24
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: Intermittent digital signal when PWMs are used

Michael,
Most teams only use one Digital Side Car. Are you sure that you have a good connection to +12 volts on the DSC? Are all three LEDs on the DSC lit brightly? Are you plugged into the PWM outputs or the relay outputs? Are you using a premade 37 pin connector or one of your own making?
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #3   Spotlight this post!  
Unread 04-02-2011, 11:26
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: Intermittent digital signal when PWMs are used

I assume all the digital sidecar power lights are a bright solid green: batt, 5v, 6v.
The battery is fully charged.

It sounds like a low power condition, possibly a short which could be on any of the connections. The addition of PWMs might just be drawing the power lower.

We've never used more than one sidecar, nor thought of splitting functions between them.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #4   Spotlight this post!  
Unread 04-02-2011, 12:38
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Intermittent digital signal when PWMs are used

I agree on the power issue. Do you have a multimeter/voltmeter?
If you could measure the voltage between the +5V and GND pins on one of the digital inputs (any of them should work) while the PWMs are on and you're seeing this intermittent problem, and while they're off and everything is working, that may help us diagnose this problem better. Best bet would be to take multiple measurements, just to be sure we get a good one. Also, if you could measure your battery voltage while you're at it, that info would be helpful too.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #5   Spotlight this post!  
Unread 04-02-2011, 13:05
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Re: Intermittent digital signal when PWMs are used

Hey Folks,
Thanks for all the replies. We are not getting all the lights to light up. On one sidecar we have no battery light. On the other side car, we have no 6 volt light. We have several batteries of various ages and several battery chargers. Does anyone have a suggestion for how to tell whether a battery is no good (apparently voltage is not a great indicator)?

Thanks for all the replies.
Mr.W.
  #6   Spotlight this post!  
Unread 04-02-2011, 13:18
Matt Krass's Avatar
Matt Krass Matt Krass is offline
"Old" and Cranky. Get off my lawn!
AKA: Dark Ages
FRC #0263 (Sachem Aftershock)
Team Role: Mentor
 
Join Date: Oct 2002
Rookie Year: 2002
Location: Long Island, NY
Posts: 1,187
Matt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond reputeMatt Krass has a reputation beyond repute
Send a message via AIM to Matt Krass
Re: Intermittent digital signal when PWMs are used

Quote:
Originally Posted by michael714 View Post
Hey Folks,
Thanks for all the replies. We are not getting all the lights to light up. On one sidecar we have no battery light. On the other side car, we have no 6 volt light. We have several batteries of various ages and several battery chargers. Does anyone have a suggestion for how to tell whether a battery is no good (apparently voltage is not a great indicator)?

Thanks for all the replies.
Mr.W.
Sounds like it may still be a connection issue. Just to clarify, do you have two sidecars hooked up at the same time or did you try two separate ones, but only one at a time? If both hooked up, it could be a power problem but it seems strange that it would happen with so many different batteries. If it's one at a time I'd expect to see the same symptoms on both if it was a battery problem. I would check, check and recheck the connections, and the voltages across the +5V and GND pins still.

Matt
__________________
Matt Krass
If I suggest something to try and fix a problem, and you don't understand what I mean, please PM me!

I'm a FIRST relic of sorts, I remember when we used PBASIC and we got CH Flightsticks in the KoP. In my day we didn't have motorized carts, we pushed our robots uphill, both ways! (Houston 2003!)
  #7   Spotlight this post!  
Unread 04-02-2011, 13:26
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Mentor, LRI, MN RPC
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,835
Jon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond reputeJon Stratis has a reputation beyond repute
Re: Intermittent digital signal when PWMs are used

Double check your power wires to the digital side cars - they should go to a 20A breaker on the Power Distribution Board.
  #8   Spotlight this post!  
Unread 04-02-2011, 13:49
JamesBrown JamesBrown is offline
Back after 4 years off
FRC #5279
Team Role: Engineer
 
Join Date: Nov 2004
Rookie Year: 2005
Location: Lynchburg VA
Posts: 1,284
JamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond reputeJamesBrown has a reputation beyond repute
Re: Intermittent digital signal when PWMs are used

Quote:
Originally Posted by eagle33199 View Post
Double check your power wires to the digital side cars - they should go to a 20A breaker on the Power Distribution Board.
If the problem is not immediatly obvious then post up a picture of your electronics, include the power distribution board and the side car.
__________________
I'm Back


5279 (2015-Present)
3594 (2011)
3280 (2010)
1665 (2009)
1350 (2008-2009)
1493 (2007-2008)
1568 (2005-2007)
  #9   Spotlight this post!  
Unread 04-02-2011, 14:12
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: Intermittent digital signal when PWMs are used

I'm betting that it is an intermittent short downstream of the DSC. The DSC's power supplies are designed to gracefully handle short circuits by shutting down their output until the short is cleared (rather than dumping large currents through it). Try wiggling each of the connected wires to see if the 5V or 6V lights blink.
  #10   Spotlight this post!  
Unread 04-02-2011, 14:27
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: Intermittent digital signal when PWMs are used

Quote:
Originally Posted by EricVanWyk View Post
I'm betting that it is an intermittent short downstream of the DSC.
That wouldn't explain why disconnecting the PWM outputs makes it better, would it? The missing BAT light in particular hints strongly at a faulty "upstream" power connection.
  #11   Spotlight this post!  
Unread 04-02-2011, 14:36
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: Intermittent digital signal when PWMs are used

Quote:
Originally Posted by Alan Anderson View Post
That wouldn't explain why disconnecting the PWM outputs makes it better, would it? The missing BAT light in particular hints strongly at a faulty "upstream" power connection.
Hmm... Good point. I think I misread something, and I think I agree with you.

The PWM power is powered by the 6V rail, which is independent of the 5V rail. However, the PWM signal is powered by the 5V rail... but there is enough output impedance so that hard shorting every single PWM signal to ground wouldn't be enough to short the 5V rail. I had forgotten about those resistors!


EDIT: Scratch that last theory.

This sounds like you are fantom powering the DSC from the cRIO. I (now) strongly agree with Alan that your connection to the battery is bad.
  #12   Spotlight this post!  
Unread 04-02-2011, 18:39
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: Intermittent digital signal when PWMs are used

Michael,
We haven't asked yet, but you do not have any jumpers in place on the PWM output do you?
I would attack this by getting a voltmeter and measuring the input voltage at the DSC connector. It should read about 12 volts with a good battery in place and the correct polarity. Place the robot on blocks so that the drive wheels are not touching the floor. Run the drive while you are measuring the input voltage. If it falls to anything less than eight volts, then move your meter to the PD output and try again. If the voltage at the PD remains at 12 volts then you have a high resistance connection between the PD and the DSC. Usually this is a badly made connection in the DSC connector. Use new wire and remake the connection. If the voltage at the PD is low and the Crio is not rebooting, then the connection to the WAGO on the PD is bad. Often this is due to incorrect stripping of the wire. Wires for insertion into the PD should be stripped 1/2 to 5/8 inch. If the voltage at the PD input terminals is low (Usually the Crio would be rebooting), then check for bad terminations at the 120 amp circuit breaker or the PD terminals and wiring and try replacing the breaker that is feeding the DSC. On rare occasions, the main circuit breaker is bad. Try substituting a new one and see if things improve. The final possibility is you have two bad DSCs.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #13   Spotlight this post!  
Unread 04-02-2011, 19:46
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Re: Intermittent digital signal when PWMs are used

People,
You are awesome. I goofed up big time here. We were fooled by phantom power from the cRio. The DSC had wires from the distribution panel, but the wires were attached to the 5V output. Oy!

After going back to the docs, it was obvious that the DSC was miswired. We now have 12volts going to the DSC and all 3 lights are lit. I'll let you know if this fixes our intermittent line sensor.

Thank you so much. Sorry for the sloppy mistake.
  #14   Spotlight this post!  
Unread 04-02-2011, 19:55
michael714's Avatar
michael714 michael714 is offline
Registered User
FRC #3863 (Pantherbotics)
Team Role: Teacher
 
Join Date: Apr 2006
Rookie Year: 2007
Location: Newbury Park, CA
Posts: 46
michael714 is on a distinguished road
Re: Intermittent digital signal when PWMs are used

Yes. This did fix the intermittent signal. We probably won't repeat this mistake (too many more times). Thank you again, all.
  #15   Spotlight this post!  
Unread 04-02-2011, 23: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,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: Intermittent digital signal when PWMs are used

That's why we are here.
__________________
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:52.

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