View Single Post
  #2   Spotlight this post!  
Unread 02-03-2006, 02:00
TimCraig TimCraig is offline
Registered User
AKA: Tim Craig
no team
 
Join Date: Aug 2004
Rookie Year: 2003
Location: San Jose, CA
Posts: 221
TimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to beholdTimCraig is a splendid one to behold
Re: Motor Ramp Up/Ramp Down Function

I personally favor the second solution, the custom function, as it's simpler to understand exactly what is happening and controlling the ramping. Another way to limit the acceleration is to implement a moving average filter. This might be simpler to program.

Do you already have a transfer function between the joystick input and the PWM output to the motor to account for the nonlinearity in the Victor response? If not, this would reduce some of the operator heavy handedness but they could still jerk things around.

Depending on the performance you're looking for, the ramping is probably more important at low speeds than higher but would complicate the programming to implement.