View Single Post
  #9   Spotlight this post!  
Unread 02-21-2015, 01:43 PM
Ether's Avatar
Ether Ether is offline
systems engineer (retired)
no team
 
Join Date: Nov 2009
Rookie Year: 1969
Location: US
Posts: 7,997
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: Motion Profiling

Quote:
Originally Posted by Jared View Post
However, that's difficult, and you can come up with a simpler equation, v * a = k, where k is some constant specific to your setup. This means you either get a large acceleration or a large velocity, but not both at the same time. This equation is only valid when a is less than the acceleration achieved by stall torque and v is less than the no load speed. This is really easy to add into your calculations for the constant acceleration portion with
Code:
a = k/v_prev
If you have a large velocity, you can't accelerate as fast.

This would let you achieve the most aggressive and fastest profile possible for when speed really matters.
If you can experimentally (or analytically) determine the maximum speed vmax and the maximum acceleration amax, you could try using a linear relation:

acceleration = amax*(1-speed/vmax)

... and that would be easy to numerically integrate in a spreadsheet.

When speed=vmax the acceleration is zero, and when speed=0 the acceleration is amax.

EDIT: added screenshot and XLS for user-selectable accel & speed limiting

Attached Thumbnails
Click image for larger version

Name:	accel limited profile.png
Views:	58
Size:	12.4 KB
ID:	18450  Click image for larger version

Name:	accel & speed limited profile.png
Views:	48
Size:	10.5 KB
ID:	18453  
Attached Files
File Type: xls accel limited profile.xls (34.0 KB, 15 views)
File Type: xls accel & speed limited profile.xls (34.5 KB, 29 views)

Last edited by Ether : 02-21-2015 at 03:37 PM. Reason: added more attachments