Go to Post If I had a mul-let then I'd look like Andy Baker used to and that would be ba-ad, really ba-ad. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-06-2016, 06:25 PM
ImOn3618 ImOn3618 is offline
Registered User
AKA: Ethan
FRC #3618 (Petoskey Paladins)
Team Role: Electrical
 
Join Date: Apr 2014
Rookie Year: 2011
Location: United States
Posts: 15
ImOn3618 is a jewel in the roughImOn3618 is a jewel in the roughImOn3618 is a jewel in the rough
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?
  #2   Spotlight this post!  
Unread 03-06-2016, 06:29 PM
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,069
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by ImOn3618 View Post
Is this legal?
A capacitor would be considered a CUSTOM CIRCUIT. CUSTOM CIRCUITS aren't allowed to alter the power pathways of key control system components like the RoboRIO.
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #3   Spotlight this post!  
Unread 03-06-2016, 06:36 PM
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,509
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: 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.

Last edited by Tom Line : 03-06-2016 at 06:39 PM.
  #4   Spotlight this post!  
Unread 03-06-2016, 06:39 PM
ImOn3618 ImOn3618 is offline
Registered User
AKA: Ethan
FRC #3618 (Petoskey Paladins)
Team Role: Electrical
 
Join Date: Apr 2014
Rookie Year: 2011
Location: United States
Posts: 15
ImOn3618 is a jewel in the roughImOn3618 is a jewel in the roughImOn3618 is a jewel in the rough
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.
  #5   Spotlight this post!  
Unread 03-06-2016, 06:42 PM
RufflesRidge RufflesRidge is offline
Registered User
no team
 
Join Date: Jan 2012
Location: USA
Posts: 986
RufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant futureRufflesRidge has a brilliant future
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by Tom Line View Post
Sounds to me like you are not.powering the roborio from the correct the location.
What do you mean by this? While the roboRIO has dedicated connectors on the PDB, they are not regulated outputs, they are raw battery. The only difference between using these connectors and a 20A breaker slot is the different protection (10A quick blow vs the 20A slow triggering auto-resetting circuit breaker)

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.
  #6   Spotlight this post!  
Unread 03-06-2016, 06:44 PM
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,228
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by ImOn3618 View Post
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.
Do you live in a perfect world? If so, how do I get in?

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.
  #7   Spotlight this post!  
Unread 03-06-2016, 06:45 PM
Michael Hill's Avatar
Michael Hill Michael Hill is offline
Registered User
FRC #3138 (Innovators Robotics)
Team Role: Mentor
 
Join Date: Jul 2004
Rookie Year: 2003
Location: Dayton, OH
Posts: 1,567
Michael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond reputeMichael Hill has a reputation beyond repute
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.
  #8   Spotlight this post!  
Unread 03-06-2016, 06:50 PM
Joe Johnson's Avatar Unsung FIRST Hero
Joe Johnson Joe Johnson is offline
Engineer at Medrobotics
AKA: Dr. Joe
FRC #0088 (TJ2)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1996
Location: Raynham, MA
Posts: 2,629
Joe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond reputeJoe Johnson has a reputation beyond repute
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by rtfgnow View Post
Do you live in a perfect world? If so, how do I get in?

<snip>
I'm throwing the Unnecessary Sarcasm Flag here. Come on. We're better than that on CD.

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.
__________________
Joseph M. Johnson, Ph.D., P.E.
Mentor
Team #88, TJ2
  #9   Spotlight this post!  
Unread 03-06-2016, 06:55 PM
ImOn3618 ImOn3618 is offline
Registered User
AKA: Ethan
FRC #3618 (Petoskey Paladins)
Team Role: Electrical
 
Join Date: Apr 2014
Rookie Year: 2011
Location: United States
Posts: 15
ImOn3618 is a jewel in the roughImOn3618 is a jewel in the roughImOn3618 is a jewel in the rough
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.
  #10   Spotlight this post!  
Unread 03-06-2016, 07:02 PM
ImOn3618 ImOn3618 is offline
Registered User
AKA: Ethan
FRC #3618 (Petoskey Paladins)
Team Role: Electrical
 
Join Date: Apr 2014
Rookie Year: 2011
Location: United States
Posts: 15
ImOn3618 is a jewel in the roughImOn3618 is a jewel in the roughImOn3618 is a jewel in the rough
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.
  #11   Spotlight this post!  
Unread 03-06-2016, 07:10 PM
Daniel_LaFleur's Avatar
Daniel_LaFleur Daniel_LaFleur is offline
Mad Scientist
AKA: Me
FRC #2040 (DERT)
Team Role: Engineer
 
Join Date: Apr 2005
Rookie Year: 2003
Location: Peoria, IL
Posts: 1,946
Daniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond reputeDaniel_LaFleur has a reputation beyond repute
Send a message via MSN to Daniel_LaFleur
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by ImOn3618 View Post
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?
Is it legal? No. Custom circuits are not allowed to modify power paths.

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.
__________________
___________________
"We are not now that strength which in old days moved earth and heaven; that which we are, we are;
One equal temper of heroic hearts, Made weak by time and fate, but strong in will
To strive, to seek, to find, and not to yield. "
- Tennyson, Ulysses
  #12   Spotlight this post!  
Unread 03-06-2016, 07:10 PM
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: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by ImOn3618 View Post
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.
Coast/Brake won't have any effect. It shorts the motor to make it come to a stop faster, but doesn't do anything clever to apply more power.

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.
  #13   Spotlight this post!  
Unread 03-06-2016, 07:11 PM
Caleb Sykes's Avatar
Caleb Sykes Caleb Sykes is offline
Registered User
FRC #4536 (MinuteBots)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2009
Location: St. Paul, Minnesota
Posts: 1,033
Caleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond reputeCaleb Sykes has a reputation beyond repute
Re: Legality of running a capacitor inline with roboRIO power

Quote:
We've considered adding code to soften drive input, as we tend to brown out when changing directions rapidly.
This is a great solution, we have been doing this for a long time. Basically, just put a limit on how fast your motor inputs can change. If you use java or c++ and want to implement this, pm me and I can walk you through the process and share our code.

Quote:
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.
Switching to coast mode might help a bit, but this is almost certainly not the root cause of your issues. Switching to coast mode shouldn't make anything more taxing. Be careful with this change though, make sure that you can remain on the batter if your speed controllers are in coast mode.
  #14   Spotlight this post!  
Unread 03-06-2016, 07:17 PM
Mike Copioli's Avatar
Mike Copioli Mike Copioli is offline
You make it pretty We make it dance
no team (Retired(3539, 217))
Team Role: Engineer
 
Join Date: Jan 2006
Rookie Year: 2001
Location: Romeo
Posts: 453
Mike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond reputeMike Copioli has a reputation beyond repute
Re: Legality of running a capacitor inline with roboRIO power

Quote:
Originally Posted by Tom Line View Post
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.

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.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com

Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions
  #15   Spotlight this post!  
Unread 03-06-2016, 07:25 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,003
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: 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".


Closed Thread


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 08:51 PM.

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