View Single Post
  #38   Spotlight this post!  
Unread 04-01-2011, 20:22
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 8,125
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: Modeling motor control

Quote:
Originally Posted by Kevin Sevcik View Post
I've now deciphered the current sampling strategy employed by the Jaguars...

current... [is] sampled every PWM cycle, with an offset to put the sample in the middle of the PWM pulse...

Current ... is put through a 16x super-sampling, 8-point moving average filter.
Nice work! Thank you for this information!

So the Jag firmware is doing both: digital filtering and phase-locking the sample to the bridge switching.

Quote:
So you end up with something like a 976Hz update rate for the current, but a bandwidth of something like 122Hz or less.
Well, the 976Hz makes sense, since the PID in the Jags is updated at about the same rate.

Quote:
Of the instantaneous value in the middle of the PWM pulse, lest we forget.
Right. Now the question now becomes: what is the relationship between this metric, RMS, and algebraic average.






Last edited by Ether : 04-01-2011 at 20:29.