Go to Post FIRST is doing a great job, it's me who needs to do the hard work now. - Bomberofdoom [more]
Home
Go Back   Chief Delphi > CD-Media > Photos
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

photos

papers

everything



Testbench with PDB backpower

By: bobbysq
New: 10-25-2016 11:21 AM
Updated: 10-25-2016 11:21 AM
Views: 930 times


Testbench with PDB backpower

This was probably a bad idea but all the batteries were at an outreach event and we needed to get Beta Task 2 done.

Recent Viewers

  • Guest

Discussion

view entire thread

Reply

10-26-2016 09:35 AM

Ari423


Unread 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"?



10-26-2016 10:04 AM

bobbysq


Unread 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!



10-26-2016 05:05 PM

GeeTwo


Unread 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.)



10-27-2016 11:22 AM

bobbysq


Unread 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.



10-27-2016 11:26 AM

adciv


Unread 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.



10-27-2016 11:38 AM

Bkeeneykid


Unread 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.



10-27-2016 11:43 AM

RyanN


Unread 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.



view entire thread

Reply
previous
next

Tags

loading ...



All times are GMT -5. The time now is 11:36 AM.

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