Go to Post Rules can be rewritten, problems can be fixed, but peoples' feelings are far from inanimate - they need more consideration than just being "corrected". - Eugenia Gabrielov [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 21-01-2015, 22:42
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,576
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: Trying to read current from the PDP

Quote:
Originally Posted by franktate View Post
We're having a similar problem with three separate PDPs, all with firmware version 1.37. Even the RoboRIO web page Self Test for the PDP only shows all zeroes for all 16 channels. At firmware version 1.30, we were seeing values between 1 and 2 on all channels (even those with no breakers installed), but now it's just zeroes. Does anyone have any ideas?
How are you applying a load to the PDP channels?
Reply With Quote
  #2   Spotlight this post!  
Unread 22-01-2015, 16:26
franktate franktate is offline
Registered User
FRC #2614
 
Join Date: Apr 2014
Location: Morgantown, WV, USA
Posts: 7
franktate is an unknown quantity at this point
Re: Trying to read current from the PDP

We are running a motor at half speed through a Talon. And the motor runs fine.
Reply With Quote
  #3   Spotlight this post!  
Unread 22-01-2015, 17:10
ozrien's Avatar
ozrien ozrien is offline
Omar Zrien
AKA: Omar
no team
Team Role: Mentor
 
Join Date: Sep 2006
Rookie Year: 2003
Location: Sterling Heights, MI
Posts: 524
ozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond reputeozrien has a reputation beyond repute
Re: Trying to read current from the PDP

So just to be clear, the actual problem is that you're applying a load (robot is enabled and motor is spinning) and the reported current is zero. Is that true on all channels or just one? I mean if you move the load to another channel do you see the same problem.

The reason it was reading 1-2A before is because that is the raw output of the current-sense. It needs biasing (just like a gyro). The latest firmware zeroes it on boot (also like a gyro). But with either firmware, there should be a change in current, unless the current load is too small to measure. A free spinning motor with no load may draw 2A or less (which is in the noise floor). Remember this device is meant to handle/measure large loads (40A and up).

Are you using a Talon SR or SRX?
Reply With Quote
  #4   Spotlight this post!  
Unread 22-01-2015, 17:19
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: Trying to read current from the PDP

What kind of motor, and what is it driving?
Reply With Quote
  #5   Spotlight this post!  
Unread 22-01-2015, 17:40
franktate franktate is offline
Registered User
FRC #2614
 
Join Date: Apr 2014
Location: Morgantown, WV, USA
Posts: 7
franktate is an unknown quantity at this point
Re: Trying to read current from the PDP

It is a CIM motor driving nothing. So it could be that there's simply not enough draw to register, and I can believe that. I don't have access to it right now, but once I do, I'll put a load on the motor and also try moving the leads to a different channel.

Thanks a lot for the reply!
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2015, 19:09
franktate franktate is offline
Registered User
FRC #2614
 
Join Date: Apr 2014
Location: Morgantown, WV, USA
Posts: 7
franktate is an unknown quantity at this point
Re: Trying to read current from the PDP

It does work now, mainly. Putting a load on the motor (with a finger) does get some different values returned. We just do still have some values coming from channels that aren't used. Oh well. This is just the test rig. Once we're on the robot, we'll be able to look at the data and throw out erroneous values (hopefully).

Thanks for your help.

Frank
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 05:23.

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