![]() |
Legality of running a capacitor inline with roboRIO power
Hi, we've been having frequent brownouts through our whole robot, with the roboRIO being the first device to lose power. This happens primarily when we change directions rapidly, or get into a pushing match. In an effort to minimize input current spikes, we're considering adding a capacitor inline between the PDP out and the roboRIO power in.
Is this legal? Will it help with the input spikes? |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Sounds to me like you are not.powering the roborio from the correct the location. It's sounds like you may have it running through one of the non regulated pdp ports.
|
Re: Legality of running a capacitor inline with roboRIO power
We wouldn't have passed inspection if it was powered from the wrong place. We've got it running off the same rail as the VRM and PCM(which we don't have) on the PDP.
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
OP, please explain what you mean by browning out? Are you actually managing to reboot the roboRIO? Or just trigger the brownout protection which disables your motors until battery voltage recovers? Have you checked how much current you are actually drawing using the DS logs? I think you need to look at solutions to your gearing or software to manage your current draw. Putting a cap on the roboRIO input is both illegal (as noted by another poster above) and is kind of like putting a bandaid on a cut that needs stitches. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Inspection should catch that, but it is not unheard of for robots to go through inspection with a problem like that unnoticed. I know an inspector that will ask if everything is powered correctly and if the electrical system is a rat's nest, he will take the team at their word instead of trying to trace the wires. You could double check you wires to make sure they are securely inserted on both ends. The wires could be bounced around when you change directions quickly or forcibly slam into a robot or the field meaning the roboRIO is reset. |
Re: Legality of running a capacitor inline with roboRIO power
Putting one inline? Besides the fact it being illegal, it wouldn't work. A capacitor in-line (as in in series) with the power line would, in fact, block power from getting through (capacitors are commonly used to AC-couple, which blocks out DC power. What you would want, in this hypothetical situation, is a capacitor from power to ground. This would allow a capacitor to supplement the power rail when the supply decreases.
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Please. I'm begging you. It's easy to run down hill until we are all tumbling head over heals into the mud that so many other discussion forums online live in. Elevate if you can. Dr. Joe J. |
Re: Legality of running a capacitor inline with roboRIO power
I can say with 100% certainty that our wiring is not the problem. The wiring is pristine, and correct. My question is what can be done to minimize input current spikes as much as possible, assuming all wiring is correct, and a non-issue.
We've considered adding code to soften drive input, as we tend to brown out when changing directions rapidly. Changing the Talons to coast mode rather than break would also likely help to soften input, right?Correct me if I'm wrong, this would also make changing directions more taxing if still rolling. |
Re: Legality of running a capacitor inline with roboRIO power
As far as the brownouts go, all components go into brownout protection mode when actually driving. The roboRIO also loses connection.
When we set the robot up on blocks (minimal load), only the motors go into brownout protection mode. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Check to see if the RoboRio is plugged in to the correct spot (This is a boost-buck port so it is less affected by power spikes). Next, look at the driver station dashboard. There should be a graph of the battery voltage. This should give you a hint as to where the issue is. I suspect that your battery is low and you are using a high traction drive train with an incorrect gear ratio. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Ramping your outputs will help, as will adjusting your gearing and using good batteries. It's also possible to do current limiting. The basic idea is to measure the current at the PDB and if you're over by n amps, decrease voltage by k*n volts, where k is some experimentally determined constant. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
There are no ports on the PDP that are regulated. The VRM has SEPIC regulated outputs. If you are getting frequent brown outs the most likely culprit is a poor connection somewhere between the battery and PDP. Scrutinize all of your connections and use the drivers station logs to determine current draw of each channel on the PDP and system voltage during high current periods. I found this to be to most effective way to root out wiring/brownout issues. |
Re: Legality of running a capacitor inline with roboRIO power
Some random thoughts: I was wondering if you or anyone on your team calculated how much capacitance would be needed to actually make a difference. You should focus on understanding why the brownouts are occurring, and address the root cause rather than treating the symptoms. If you were to provide sufficient detail about your design, I think there are people here on CD who could make some very constructive suggestions for simple changes you could make that would possibly eliminate the brownouts entirely. Follow Mike's advice about your wiring, even though you think it is "100% correct and pristine". |
| All times are GMT -5. The time now is 15:29. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi