Go to Post You can't simply bring another 100 teams into FIRST and have them all asking Andy Baker questions. - Rich Kressly [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 19-01-2015, 16:36
canine505 canine505 is offline
Registered User
FTC #0339
 
Join Date: Jan 2015
Location: Spotsylvania, VA
Posts: 4
canine505 is an unknown quantity at this point
PDP Reading Incorrectly over CAN

We are trying to use the PowerDistributionPanel Java class to read the current from the PDP. The Current readouts are much, much higher than they should be, but only on channels that seem to be incorrect at random. For example, the overall current for the board is usually around 30 amps, with channel 2 around 23 Amps. The temperature and voltage readouts seem correct. Any ideas?
Reply With Quote
  #2   Spotlight this post!  
Unread 19-01-2015, 16:52
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
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: PDP Reading Incorrectly over CAN

You need to provide some more information. What values are present for all the channels at any given point in time? What is hooked up to each channel, and what is it doing? Do you have a meter to independently measure the current for a channel you believe is reporting incorrectly?. By itself, a single channel pulling 23 amps while the overall is at 30 amps could easily be done with a motor under load hooked up to that channel, and little activity on the other channels of the board.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA
Reply With Quote
  #3   Spotlight this post!  
Unread 19-01-2015, 16:53
canine505 canine505 is offline
Registered User
FTC #0339
 
Join Date: Jan 2015
Location: Spotsylvania, VA
Posts: 4
canine505 is an unknown quantity at this point
Re: PDP Reading Incorrectly over CAN

The values change apparently randomly, and nothing is hooked up to the channels reading high. It should be drawing 0 amps, correct?
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2015, 16:52
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,071
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: PDP Reading Incorrectly over CAN

Quote:
Originally Posted by canine505 View Post
We are trying to use the PowerDistributionPanel Java class to read the current from the PDP. The Current readouts are much, much higher than they should be, but only on channels that seem to be incorrect at random. For example, the overall current for the board is usually around 30 amps, with channel 2 around 23 Amps. The temperature and voltage readouts seem correct. Any ideas?
Which thread would you like the responses to be posted to?

This one:
http://www.chiefdelphi.com/forums/sh...d.php?t=133169

or this one?
http://www.chiefdelphi.com/forums/sh...d.php?t=133172


Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2015, 16:54
canine505 canine505 is offline
Registered User
FTC #0339
 
Join Date: Jan 2015
Location: Spotsylvania, VA
Posts: 4
canine505 is an unknown quantity at this point
Re: PDP Reading Incorrectly over CAN

Quote:
Originally Posted by Ether View Post
Which thread would you like the responses to be posted to?

This one:
http://www.chiefdelphi.com/forums/sh...d.php?t=133169

or this one?
http://www.chiefdelphi.com/forums/sh...d.php?t=133172


This thread, thank you.
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2015, 17:31
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: 522
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: PDP Reading Incorrectly over CAN

Be sure to update PDP firmware.
Instructions for updating the firmware are here: http://www.chiefdelphi.com/forums/sh...ht=pdp+current

The ship firmware does not zero the currents, so they can wiggle by a couple amps.
Reply With Quote
  #7   Spotlight this post!  
Unread 19-01-2015, 17:41
Jon Stratis's Avatar
Jon Stratis Jon Stratis is offline
Electrical/Programming Mentor
FRC #2177 (The Robettes)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Minnesota
Posts: 3,753
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: PDP Reading Incorrectly over CAN

Unfortunately, the PRO user manual doesn't state any expectations for reading channel current.

I would guess that, in this case, this current sensor is essentially floating, which means the value it returns is meaningless. Try putting a breaker in the channels that are reading incorrect and let us know if they are still incorrect. Then try hooking up a low-current device to the channels and see if they still read incorrect. It's just a guess, but I think putting a breaker in will be enough to stabilize the current sensor and give you the expected result.
__________________
2007 - Present: Mentor, 2177 The Robettes
LRI: North Star 2012-2016; Lake Superior 2013-2014; MN State Tournament 2013-2014, 2016; Galileo 2016; Iowa 2017
2015: North Star Regional Volunteer of the Year
2016: Lake Superior WFFA

Last edited by Jon Stratis : 19-01-2015 at 23:23. Reason: iphone auto-corrected "low-current" to "low-cost"
Reply With Quote
  #8   Spotlight this post!  
Unread 19-01-2015, 20:10
Jared's Avatar
Jared Jared is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Aug 2013
Rookie Year: 2012
Location: Connecticut
Posts: 602
Jared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond reputeJared has a reputation beyond repute
Re: PDP Reading Incorrectly over CAN

Quote:
Originally Posted by Jon Stratis View Post
Then try hooking up a low-cost device to the channels and see if they still read incorrect. It's just a guess, but I think putting a breaker in will be enough to stabilize the current sensor and give you the expected result.
Be careful and don't plug a motor straight into the PDB, it'll fry the current sensor!
Reply With Quote
  #9   Spotlight this post!  
Unread 19-01-2015, 21:15
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,519
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: PDP Reading Incorrectly over CAN

Quote:
Originally Posted by Jared View Post
Be careful and don't plug a motor straight into the PDB, it'll fry the current sensor!
Have you tried this already? It sure seems like the breaker should protect it against over-currenting the sensor, though I don't want to be the guinea pig to prove it.
Reply With Quote
  #10   Spotlight this post!  
Unread 19-01-2015, 21:28
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: 522
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: PDP Reading Incorrectly over CAN

Do not connect a motor directly to the PDP...

Quote:
Warning: Inductive loads (motor, compressor) must have a power management device (motor
controller, PCM, spike) between itself and the PDP. No inductive loads (motor, compressor)
may be directly connected to the PDP channels as this can damage current sense circuitry.
Bottom of section 2.2.1 and 2.2.2.
PDP User Manual
http://www.crosstheroadelectronics.c...ol_system.html
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 09:35.

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