View Single Post
Old 11-27-2009, 02:40 PM   #2639 (permalink)
MPaulHolmes
PaulH
 
MPaulHolmes's Avatar
 
Join Date: Feb 2008
Location: Maricopa, AZ (sort of. Actually outside of town)
Posts: 3,832

Michael's Electric Beetle - '71 Volkswagen Superbeetle 500000
Thanks: 1,368
Thanked 1,202 Times in 765 Posts
Here's a message from Fran:

If you simply want to protect the motor from overspeed, I think you can do that pretty well simply in software using the control board as is.

The RPM of a series field motor is pretty simple.

RPM = K * Volts / Current

K is simply some constant for the motor in question. Volts is simply PWM duty cycle. So for a first attempt, we can do this:

if ((PWM / Current_Feedback) > User_Adjustable_Constant) then cut PWM to zero for some time. It should be good enough to save motors from self destruction by high RPM.


He's going to add over-revving protection to the software. No need for ANY ADDITIONAL HARDWARE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ALLL SOFTWARE!!!!!!!!!!!!!
__________________
kits and boards
  Reply With Quote