View Single Post
  #29   Spotlight this post!  
Unread 04-01-2011, 16:49
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: Modeling motor control

I'm using an 18AH AGM battery comparable to the KOP Gel-cell.
I'm using %VBus mode, but the voltage jitter in the output is negligible. (It's plotted according to the output voltage, not according to time)
The test takes a little over 1,000*200ms, or a about 3.5 minutes.

For vBus, I looked at it while I was testing, but I didn't record it. It went from approximately 12.7v at the beginning to 12.3v at the end.
Considering I'm plotting them according to the output voltage, this shouldn't be an issue.

The way I have this setup is I'm setting the output, waiting 200ms, and then requesting [current, vBus, speed, vOut] for 10 iterations in a For loop. I'm not measuring the time between those samples.
__________________
-- Marshal Horn

Last edited by kamocat : 04-01-2011 at 16:53. Reason: Forgot to mention sample rate