Go to Post I'm not the programmer, thank god. - Veselin Kolev [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, 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.
  #2   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.
  #3   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,770
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.
  #4   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.
  #5   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.
  #6   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,770
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.
  #7   Spotlight this post!  
Unread 05-02-2011, 00:32
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
Thank you so much. Sorry for the sloppy mistake.
Don't worry about it, it wasn't a mistake, you just learned one way not to wire a digital sidecar!

We like to help, otherwise they put us back in our cages.
__________________
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!)
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 12: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