Trapezoidal motion/kinematics calculations - solving for slewing velocity

  • #1
I am trying to program some motion control devices which have trapezoidal motion profiles to define a move. I can define the slewing(peak) velocity, accel/decel rates and distance to travel, the the hardware moves a motor the appropriate distance with the parameters given.

I need to be able to define a specific amount of time that a move will last, and calculate what the peak velocity should be when all other factors are known. Starting velocity is not always zero, but ending velocity will always zero for my purposes. The move will always be trapezoidal.

I have an equation for defining the distance traveled when all other factors are known, but I need to isolate the peak velocity to one side of the equation and I am not sharp enough at this math to be able to solve for the peak velocity. Any help would be greatly appreciated.

Assuming:
d = total distance traveled
t = total time
AC = acceleration
DC = deceleration
Vi = initial velocity
Vs = slewing (peak) velocity
Vf = final velocity

I have this equation which I believe is correct. I need to isolate Vs to one side:

d = [(Vs+Vi)/2]*[(Vs-Vi)/AC] + [(Vs+Vf)/2]*[(Vf-Fs)/DC] + Vs*[t-((Vf-Vs)/DC)-((Vs-Vi)/AC)]

I hope that's clear enough to read... If not I attached a JPG of the equation written out by hand.
 

Attachments

Answers and Replies

  • #2
HallsofIvy
Science Advisor
Homework Helper
41,833
962
Since Vs appears in two factors of both the first and third terms, that equation is quadratic in Vs. Multiply everything out, determine the coefficients of [itex]V_x^2[/itex] and [itex]V_s[/itex], and use the quadratic formula.
 
  • #3
Thanks for that... I'll give it a try. Am I correct that the x in Vx^2 you mentioned is supposed to be an "s" ? It's been a long time since I've done this kind of math so if I'm not entirely sure I'll get this right... if anyone has some more specific tips I'd love to hear them.

Lars
 
  • #4
I am having a lot of trouble factoring the equation once I get it in quadratic form, so I can isolate Vs. Can anyone help? If someone can solve this for Vs or give me more help getting started I'd really appreciate it.

Lars
 

Related Threads on Trapezoidal motion/kinematics calculations - solving for slewing velocity

Replies
9
Views
11K
Replies
11
Views
9K
  • Last Post
Replies
11
Views
2K
  • Last Post
Replies
2
Views
4K
Replies
3
Views
716
Replies
1
Views
1K
Replies
6
Views
2K
Replies
1
Views
3K
Replies
3
Views
3K
  • Last Post
Replies
6
Views
950
Top