|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Theoretical Motion Profiling
What is the theoretical best time and space complexity of the respective motion profiling techniques?
I'm curious if anyone has worked it out after seeing Jaci's recent post on the matter. |
|
#2
|
|||
|
|||
|
Re: Theoretical Motion Profiling
You can generate 1 dimensional profiles in O(1).
For example sinusoidal motion profiling does not need any iterations what so ever; the position, the velocity and the acceleration can be all described with trigonometric functions. We tried those on our drive system and it worked pretty well, but there might be other methods as well. For further reading: https://www.chiefdelphi.com/media/papers/3107 credit to Ether of course ![]() |
|
#3
|
|||||
|
|||||
|
Re: Theoretical Motion Profiling
You can obtain the equations and switching times necessary to compute any arbitrary trajectory point in constant time (per degree of freedom). (EDIT: Assuming your constraints (min/max velocity and acceleration) are constant throughout the entire trajectory.)
What Jaci accelerated was the arc-length parameterization of splines, which is a necessary first step to obtain a uniformly-spaced trajectory that can then be time-parameterized with a motion profile. Parameterizing a spline by arc length involves evaluating an integral that generally cannot be evaluated analytically, so there is a tradeoff between accuracy and speed that must be made in coming up with a numerical solution. Difficult integrals arise all the time in real-world engineering, and depending on the context one may use any of a number of techniques to evaluate them. Riemann sums (what Jaci was using) are a simple technique, though it may require very fine sampling to work well. Other techniques include Euler Method or higher-order Runge-Kutta methods. Last edited by Jared Russell : 01-01-2017 at 17:53. |
|
#4
|
||||
|
||||
|
Re: Theoretical Motion Profiling
Quote:
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|