Go to Post When I encounter Dave at competitions and meetings, I find him to be kind, helpful, almost too nice. When I read his hints, I find him to be EVIL! - Ken Loyd [more]
Home
Go Back   Chief Delphi > Technical > Control System
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 24-02-2016, 23:51
Fritz_Haber Fritz_Haber is offline
Registered User
FRC #4030
 
Join Date: Mar 2014
Location: Seattle
Posts: 3
Fritz_Haber is an unknown quantity at this point
no voltage across PWM pins on roboRIO

After testing on bag day, we went over the moat and attempted to move an arm with an encoder when it became apparent the encoder had stopped functioning. After debugging the problem (same encoder, alternate RIO, etc), we tested the voltage across the PWM pins on the roboRIO and found 0V between power and ground (the two outside pins) while the RIO was plugged in.

First of all, is this a problem internal to the RIO? Secondly, could someone point me towards how the RIO handles physical shock? on the current robot, it is mounted on polycarbonate which is mounted rigidly to the frame, so there is no vibrational damping. Such a system could be implemented, but I am curious if other teams have also encountered problems with their RIOs and vibration given the rough nature of the game.
Reply With Quote
  #2   Spotlight this post!  
Unread 25-02-2016, 00:20
The Lucas's Avatar
The Lucas The Lucas is offline
CaMOElot, it is a silly place
AKA: My First Name is really "The" (or Brian)
FRC #0365 (The Miracle Workerz); FRC#1495 (AGR); FRC#4342 (Demon)
Team Role: Mentor
 
Join Date: Mar 2002
Rookie Year: 2001
Location: Dela-Where?
Posts: 1,564
The Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond reputeThe Lucas has a reputation beyond repute
Send a message via AIM to The Lucas
Re: no voltage across PWM pins on roboRIO

Most likely the shock has caused some metal shavings to short power pins in your rRIO. Is the power LED red?
https://wpilib.screenstepslive.com/s...uick-reference
It is a common problem. I sometimes don't even notice it because I use the VRM to power all sensors.
__________________
Electrical & Programming Mentor ---Team #365 "The Miracle Workerz"
Programming Mentor ---Team #4342 "Demon Robotics"
Founding Mentor --- Team #1495 Avon Grove High School
2007 CMP Chairman's Award - Thanks to all MOE members (and others) past and present who made it a reality.
Robot Inspector
"I don't think I'm ever more ''aware'' than I am right after I burn my thumb with a soldering iron"
Reply With Quote
  #3   Spotlight this post!  
Unread 25-02-2016, 00:29
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,995
Ether has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond reputeEther has a reputation beyond repute
Re: no voltage across PWM pins on roboRIO

Quote:
Originally Posted by Fritz_Haber View Post
...the encoder had stopped functioning... we tested the voltage across the PWM pins on the roboRIO and found 0V between power and ground (the two outside pins)
1) The two outside pins of PWM are signal and ground, not power and ground.

2) Encoder plugs into DIO, not PWM.


Reply With Quote
  #4   Spotlight this post!  
Unread 26-02-2016, 00:11
Fritz_Haber Fritz_Haber is offline
Registered User
FRC #4030
 
Join Date: Mar 2014
Location: Seattle
Posts: 3
Fritz_Haber is an unknown quantity at this point
Re: no voltage across PWM pins on roboRIO

Thanks Ether, I'll be sure to double check the measurement tomorrow.
Lukas, I believe the power LED was on (I think it was red) and we did find some metal shavings inside it. A simple short doesn't (usually) result in permanent damage right?

When we were testing an alternate encoder, we ran a separate motor from a separate power supply while plugging the encoder wires into the roboRIO on the robot (running on a different power supply). Someone mentioned a potential issue with the two being grounded differently (my understanding is if everything is run off the same power supply, the grounded wire from the encoder connected to the roboRIO eventually connects back with the grounded wire from the motor and goes to the battery ground). Is this two power supply setup an issue?
Reply With Quote
  #5   Spotlight this post!  
Unread 26-02-2016, 08:08
matthewdenny's Avatar
matthewdenny matthewdenny is offline
Registered User
FRC #6054 (Dukes)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2012
Location: United States
Posts: 306
matthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant futurematthewdenny has a brilliant future
Re: no voltage across PWM pins on roboRIO

We had a similar problem trying to run a servo. (no voltage between power and ground). We opened it up, but couldn't locate the problem. We called NI and they sent us a new RoboRio via Andymark in ~ 2 days. Sent the old one back.
Reply With Quote
  #6   Spotlight this post!  
Unread 26-02-2016, 08:30
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: no voltage across PWM pins on roboRIO

If there is an issue with the voltage rails providing power to the robot, the roboRIO should be reporting it via the power LED and on the DS power tab. Look of the short within the robot wiring, look at the base of the roboRIO pins, and if it persists when nothing is plugged in, the short may be within the case.

The power tab should go red whenever something interesting related to power has happened. Clicking on it will tell you some info about which type of power issue you have.

Since we are most likely talking about some debris inside of the roboRIO causing a short. Let me throw in a friendly reminder not to sprinkle your electronics with metal shavings or small pieces of wire. Get in the habit of covering electronics and or using a vacuum whoever you are drilling/filing/sawing or otherwise turning large pieces of aluminum into smaller ones.

If you believe that your roboRIO may have this issue, let the mentor/coach know, or if at an event, get a CSA to assist. NI support is there for issues like this, so get in contact with them.

Greg McKaskle
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:56.

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