![]() |
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". |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
However, we have a very high traction drive train (brecoflex treads with about a 1.5 CoF, 750ish N force of kinetic friction while driving). The gear ratio on the drive belts is 14.2:1 using RAWboxes. While the drive train definitely contributes to our issue, there's not much we can do about it with 6hours of unbag time. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
I agree with Mike that your issue could be a bad connection somewhere between the battery plug and the PDP, on either the positive or negative leg. Double check every single connection starting from the battery plug. Check for corrosion or a bad crimp. If a ring terminal looks looks dull or corroded, either replace it or hit it with a wire brush till it's shiny. Check the contacts in your main battery connector for corrosion as well. You might also try replacing your 120 Amp Main Breaker with a new one. Main breakers can occasionally have weird issues. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
It's just power output compared to ℅ battery charge. We use it to get a rough idea of how fast our batteries are being drained. Older, worse batteries tend to lose charge faster.
Theoretically, loss of 30℅ charge from 100% is normal for us. So about 12.5v to 8.75v per match, according to our multimeters |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
It's voltage, not power(joules), my bad.
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
It could be mechanical, but I suspect one of your CIMs is turning against the other. Unplug all breakers except one, run the drivetrain and note the direction. Repeat for all other CIMs. Let us know what you find. As for mechanical: If you cannot easily turn the wheels by hand (robot off), disconnect things until you can. Whatever you just disconnected has a mechanical problem, for example a gear in backwards and rubbing the housing. Happens all the time. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Regardless of the specific cause of this particular issue, control system brownouts are, in my opinion, a strong reason for FIRST to re-adopt the backup battery.
Back when we used backup batteries on our robots (pre 2009), the controllers on the robots, even without a backup battery, would restart and reconnect to the control system in about 5 seconds after a power loss, and even this was deemed so unacceptable that the backup battery was required. These days you can wait upwards of a minute or more for a complete restart and reconnect of a robot between the Rio and the radio, meaning if you loose power at any point, your robot is basically dead for the rest of the match. Why FIRST ever thought dropping the backup battery requirement was a good idea is unfathomable to me. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
but yea i don't know why they got rid of it |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
Quote:
this. Which is correct. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
However, it doesn't match the way you described it. You said you had your roboRIO wired to "the same rail as the VRM and PCM(which we don't have)". While both the VRM/PCM power and the roboRIO power connections are ultimately connected to the battery+ connection of the PDP, they are separately fused. Robot rule <R42> requires that the roboRIO power is connected to the terminals specifically labeled for it, and <R44> separately prohibits it from being connected to the VRM/PCM power terminals. |
Re: Legality of running a capacitor inline with roboRIO power
OK, I have to weigh in here...
If I had a nickel... If you are browning out there are definite reasons for doing so. I can tell you most teams do not get everything in their primary wiring right the first time. I had more than twenty teams over the weekend with some kind of primary wiring issue. There were improper crimps, loose hardware, loose connection on the main breaker, etc. If you grab any #6 wire and wiggle it. If it moves of the connection moves, you have only found one problem. Keep going. Wire should not move around in a crimped terminal, or a screwed terminal. Hardware should never move, on the main breaker, PDP or battery. Loose means bad which leads to brownout. Sometimes your electrical problem could be a mechanical problem. Just ask if anyone has had issues with transmissions dragging, locking up or skipping. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
Remove all your breakers from your drivetrain. Put one in, check that the motor for that breaker is both: a) running - a dead motor work will against you, and can cause potential brownouts b) is running in the CORRECT DIRECTION - this is very likely the problem as you are browning out even when you are up on blocks. My best bet is that you have a gearbox with multiple motors going into to, and one of them is running in the wrong direction. Remove that breaker, and install it on the next drivetrain motor. Do not install more than 1 breaker at a time when doing this check. There are a lot of posts in this thread with a lot of "noise" but please ensure you do this 100% before moving on. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
The one other thing I would suggest would be to do a "pull test" on every wire connection to make sure every crimp is done correctly. I know you have stated "I can say with 100% certainty that our wiring is not the problem. The wiring is pristine, and correct." but you have not indicated how you have verified that your opinion is correct. I cannot count how many times I have been asked to look at "pristine" and "correct" looking crimps that, later, failed the pull test. |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
|
Re: Legality of running a capacitor inline with roboRIO power
The OP has not specified under what conditions the motors brown out when up on blocks. I did not see any mention of how many motors are in his drivetrain or what drivetrain motor controllers are being used. With e.g. 6 motors being commanded by controllers without voltage ramping, and given the high-motor-speed 4.75ft/s gearing, is it not possible to have up-on-blocks motor brownouts for step throttle changes from full forward to full reverse... even if all the wiring is correct? |
Re: Legality of running a capacitor inline with roboRIO power
Quote:
TIL Software == Electrical |
| All times are GMT -5. The time now is 08:51 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi