Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 rating:
 1 out of 5     Rate this Document

Can I Specify Acceleration and Velocity for a Contoured Move?

Primary Software: Driver Software>>NI-Motion/FlexMotion
Primary Software Version: N/A
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Motion Control>>Controllers>>PCI-7344

Problem:
How can I specify acceleration, velocity, and deceleration for a contoured move when the trajectory generator on the motion controller is not used during a contoured move? 

Solution:
Acceleration and velocity cannot be directly specified for a contoured move. A contoured move creates a cubic spline based on position points declared by the user in the form of an array. The contouring algorithm maps a smooth curve between the contour points that the user specifies. The time interval between points is based on the Requested Interval input.



With each loop iteration of the PID controller, the motion controller passes the next cubic-spline-generated position point to the motor.  Given each new instantaneous step input, the controller then tries to attain this new position given the limitations of the motor’s inertia and the power available from the amplifier.

For example, the following figure illustrates a simple contoured move between five points, with a Requested Interval of 10 milliseconds. The position array in this example is [0, 16, 14, 7, 9]. Notice that the actually path is a smooth curve created by the cubic spline algorithm.



 
Valid values for the Requested Interval parameter depend on the PID loop rate. The following table illustrates acceptable Requested Interval values for each of the available PID loop rates.

PID rate (µs) Minimum Interval (ms) Maximum Interval (ms)
62.5 10.0 11.3125
125 10.0 22.625
187.5 10.125 33.9375
250 10.0 45.25
312.5 10.0 56.5625
375 10.125 67.875
437.5 10.0625 79.1875
500 10.0 90.5

For more information on contoured moves, please refer to Chapter 7 of the NI-Motion User Manual, accessible from the Motion Control Technical Library linked below.



Related Links:
Support: NI-Motion User Manual
Developer Zone Tutorial: Motion Control Technical Library
KnowledgeBase 3889JV4I: Why Does Motion Assistant Exceed Velocity Constraints when Running a Contoured Move?

Attachments:





Report Date: 10/15/2007
Last Updated: 01/16/2009
Document ID: 4EEJKGQ7

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit