View Single Post
  #28   Spotlight this post!  
Unread 06-04-2014, 21:54
Oblarg Oblarg is online now
Registered User
AKA: Eli Barnett
FRC #0449 (The Blair Robot Project)
Team Role: Mentor
 
Join Date: Mar 2009
Rookie Year: 2008
Location: Philadelphia, PA
Posts: 1,110
Oblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond reputeOblarg has a reputation beyond repute
Re: Main breaker tripping, dead CIM

Quote:
Originally Posted by Ether View Post
Here's a possible software solution:

Measure the voltage drop across the main breaker with an analog input. Sample it and square each sample. Run the squared samples through a low-pass filter (a simple IIR would probably suffice). If the filtered value exceeds some experimentally-determined threshold, reduce the commands to the drive motors until the filtered value drops below the threshold.


This certainly sounds like it's worth trying. Unfortunately, I'm a mechanical mentor, and am not sure how to implement this; what would be the best way to actually wire that, and what sort of low-pass filter code would you recommend (I know how to do simple exponential smoothing, but that's about it)?
__________________
"Mmmmm, chain grease and aluminum shavings..."
"The breakfast of champions!"

Member, FRC Team 449: 2007-2010
Drive Mechanics Lead, FRC Team 449: 2009-2010
Alumnus/Technical Mentor, FRC Team 449: 2010-Present
Lead Technical Mentor, FRC Team 4464: 2012-2015
Technical Mentor, FRC Team 5830: 2015-2016