View Single Post
  #21   Spotlight this post!  
Unread 01-01-2010, 15:44
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,766
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
Re: Serial to CAN Gateway in new Black Jaguars?

Quote:
Originally Posted by dmcguire3006 View Post
Good thing about CAN is that you can monitor motor voltage and current and hence computing a running energy expenditure tally would be quite simple.
Energy = Power*Time = Voltage*Current*Time
D,
Dave has covered the single point failure response so I won't add to that. Computing energy usage as you suggest may be a little more difficult than you expect. Current spikes and voltage dips occur in short pulses that require frequent monitoring in order to be accurate. To spend a great deal of time gathering data and totaling the same may actually reduce your effectiveness in driving and accomplishing game goals. Should your samples occur at the rising or falling edge of a pulse and you were to calculate energy remaining on such data, you can imagine the result. Dependent on the load, motors draw full stall current each time they start. That current may be sustained over several brush commutations dependent on the motor in use or it may be present for a significant length of time. At any rate, there are other variables that come into play which would interfere with your calculations that are not monitored by the can bus. The most significant in my mind is battery temperature and it's effect on internal battery resistance and output current capability.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.