Go to Post Think, Write, Re-Think, Erase or Post - and Deal With it Either Way. - Chris Fultz [more]
Home
Go Back   Chief Delphi > ChiefDelphi.com Website > Extra Discussion
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 26-10-2016, 09:33
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 269
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
pic: Testbench with PDB backpower

Reply With Quote
  #2   Spotlight this post!  
Unread 26-10-2016, 09:35
Ari423's Avatar
Ari423 Ari423 is offline
LabVIEW aficionado and robot addict
AKA: The guy with the yellow hat
FRC #5987 (Galaxia)
Team Role: Mentor
 
Join Date: Mar 2015
Rookie Year: 2012
Location: Haifa, Israel
Posts: 540
Ari423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant futureAri423 has a brilliant future
Re: pic: Testbench with PDB backpower

Why did you choose to back-power the PDP instead of just plugging the power source into the input like a normal battery? Weren't you afraid of the possibility of breaking the many expensive pieces of electronics by using them "off label"?
__________________
2017-present: Mentor FRC 5987
2017-present: CSA for FIRST in Israel
2012-2016: Member FRC 423
2013: Programmer
2014: Head Programmer, Wiring
2015: Head Programmer, Wiring
2016: Captain, Head Programmer, Wiring, Manipulator, Chassis, CAD, Business, Outreach (basically everything)


Reply With Quote
  #3   Spotlight this post!  
Unread 26-10-2016, 10:04
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 269
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by Ari423 View Post
Why did you choose to back-power the PDP instead of just plugging the power source into the input like a normal battery? Weren't you afraid of the possibility of breaking the many expensive pieces of electronics by using them "off label"?
Mostly because I didn't have connectors to hook up the power source to the PDP input terminals. I wasn't afraid of breaking it because previous experience has taught me that all of the 12v and ground rails were connected directly to each other. The only thing I was worried about breaking was the power supply. (which I may have done something to with the power surge from a CIM stopping)

But it worked well for the test!
Reply With Quote
  #4   Spotlight this post!  
Unread 26-10-2016, 17:05
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,555
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by bobbysq View Post
I wasn't afraid of breaking it because previous experience has taught me that all of the 12v and ground rails were connected directly to each other.
They cannot all be connected directly to each other: each circuit has its own breaker and current meter. Running power backwards through the breaker would be of no consequence (as your power supply is probably not capable of enough current for long enough to trip a 40A breaker), but running current backwards through a current meter designed for polarized current certainly could.

I recommend verifying that you check on circuit you used as the "input", both to verify that it still works, and whether its current meter still functions properly before you build a robot with that PDP and have incredible fun troubleshooting the problem.

(Besides, you wouldn't have needed any more hardware than you have in the picture - just loosen the input 6AWG feeds into the PDP a bit, slide in your smaller supply wires underneath, and tighten.)
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.

Last edited by GeeTwo : 26-10-2016 at 17:08.
Reply With Quote
  #5   Spotlight this post!  
Unread 27-10-2016, 11:22
bobbysq bobbysq is offline
Registered User
FRC #4646 (Team ASAP)
Team Role: Leadership
 
Join Date: Apr 2016
Rookie Year: 2015
Location: Des Moines, IA
Posts: 269
bobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud ofbobbysq has much to be proud of
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by GeeTwo View Post
I recommend verifying that you check on circuit you used as the "input", both to verify that it still works, and whether its current meter still functions properly before you build a robot with that PDP and have incredible fun troubleshooting the problem.
Is there a way to check the current meter without having to put much in the code? I assume it'd be easy to display it in SmartDashboard or in the web config.

Also, maybe I should just make a straight-up test program since I highly suspect we've damaged a few current meters already due to an unrelated thing. From the manual:
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.
We have probably done this with a prototyping setup involving a dipole switch connected as an H-bridge to a motor. It might be safe though, if the issue is only referring to the reverse voltage that a motor generates when slowing down.
Reply With Quote
  #6   Spotlight this post!  
Unread 27-10-2016, 11:26
adciv adciv is offline
One Eyed Man
FRC #0836 (RoboBees)
Team Role: Mentor
 
Join Date: Jan 2012
Rookie Year: 2010
Location: Southern Maryland
Posts: 478
adciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to alladciv is a name known to all
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by bobbysq View Post
Is there a way to check the current meter without having to put much in the code? I assume it'd be easy to display it in SmartDashboard or in the web config.
No code necessary. Go to the roboRIO web interface, pull up the PDB, and I think you click test. I'm going from memory here. You'll see the estimated current value for each circuit. Change the current going to that circuit and see what changes.
__________________
Quote:
Originally Posted by texarkana View Post
I would not want the task of devising a system that 50,000 very smart people try to outwit.
Reply With Quote
  #7   Spotlight this post!  
Unread 27-10-2016, 11:38
Bkeeneykid's Avatar
Bkeeneykid Bkeeneykid is offline
#wheatcoastneatcoast
AKA: Devin Keeney
FRC #1982 (Cougar Robotics); Season Long Fantasy FIRST (F3)
Team Role: Student
 
Join Date: Feb 2015
Rookie Year: 2015
Location: Lenexa, Kansas
Posts: 298
Bkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud ofBkeeneykid has much to be proud of
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by adciv View Post
No code necessary. Go to the roboRIO web interface, pull up the PDB, and I think you click test. I'm going from memory here. You'll see the estimated current value for each circuit. Change the current going to that circuit and see what changes.
You can also see it in the log viewer in the driver station: that's incredibly useful for debugging stalling as well.
__________________

F4 Network Website Designer

2010-2012: A Whole Buncha FLL Teams; Team Spirit, Gracious Professionalism Award winner
2015-Current: FRC 1982, Captain, Electrical Lead
Beginning FIRST Volunteer

Moderator on the FIRSTwiki
Reply With Quote
  #8   Spotlight this post!  
Unread 27-10-2016, 11:43
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: pic: Testbench with PDB backpower

Quote:
Originally Posted by GeeTwo View Post
They cannot all be connected directly to each other: each circuit has its own breaker and current meter. Running power backwards through the breaker would be of no consequence (as your power supply is probably not capable of enough current for long enough to trip a 40A breaker), but running current backwards through a current meter designed for polarized current certainly could.

I recommend verifying that you check on circuit you used as the "input", both to verify that it still works, and whether its current meter still functions properly before you build a robot with that PDP and have incredible fun troubleshooting the problem.

(Besides, you wouldn't have needed any more hardware than you have in the picture - just loosen the input 6AWG feeds into the PDP a bit, slide in your smaller supply wires underneath, and tighten.)
I thought about this problem too, but then I remembered that any type of back current from the robot moving also generates this current, so hopefully the PDB is designed to handle running current backwards.

The problem of course being that microcontroller reading the voltage drop across the shunt resistor will have negative voltage at it's inputs. However, I bet it goes through an amplifier before going to the microcontroller, and those often handle negative voltage just fine.

Back on topic though. We have a similar test board using a 12V, 30A power supply that is wired into the battery input. It's been working great for testing anything from robot code, working on vision processing, or just trying new things.
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364

Last edited by RyanN : 27-10-2016 at 12:09.
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 01:31.

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