. |

## Streaming Point Motion Type Calculations## OverviewThis section is intended to provide information about how one can determine the paths (equations of motion) that will be produced by the various streaming point motion types. These equations can be used to answer several important questions such as:
Since all motion is specified by constant-jerk segments of motion, it is fairly easy to calculate the maximum acceleration for any given coordinate. Since all motion segments will have accelerations that change linearly with time, simply calculate the maximum accelerations at the beginning and end of every segment. Please note that accelerations are not continuous for all motion types, so one must make two comparisons for each segment. If you are working with a multi-axis system, then this rule will also apply to a system with Cartesian axes. Although, this may not be true for non-Cartesian coordinate systems. There is one important note about the time-delta arrays
that the MPI motion types accept. Any given d ## PT Moves - MPIMotionTypePTThis is the most simple streaming point algorithm. This motion type will interpolate all points using constant velocity segments. The most important consequence of this motion type is that at each point defining the move, there is an instantaneous change in velocity. Therefore, one should only use PT motion when streaming points frequently—once every few servo samples. This will require several hundred, perhaps thousands of points to define a single move. If moves are to be defined using only a few points, then the other streaming point motion types should be used. ## PVT Moves - MPIMotionTypePVTPVT is the most flexible motion type because one can define both position and velocity at any given time. PVT motion guarantees continuity of velocity, but may have discontinuities in acceleration. The drawback to PVT motion is that velocities must be specified. There are a couple of major advantages of PVT motion:
Given v,
and _{i}dt,
and requiring that the velocity be continuous, it is simple to calculate
the equations for motion at any given interval between the specified PVT
points._{i}
## Cubic Spline Moves - MPIMotionTypeSPLINEThe MPIMotionTypeSPLINE generates a "natural" cubic spline.
Some important consequences of these characteristics are:
An algorithm that gives identical results to MPI's internal algorithm is given by Numerical Recipes. Numerical Recipes for C section 3.3 lists a function called spline() which outputs identical results to MPI's algorithm.
tand
returns _{i}afor
all points used to define the spline. From here we can solve some algebraic
equations to find _{i}v,
_{i}j,
_{i} dt,
and _{i}t._{i} |

| | Copyright
©
2001-2021 Motion Engineering |