View Single Post
  #12   Spotlight this post!  
Unread 06-03-2016, 19:10
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.