Trajectory planner
Trajectory planner in GD drives is an internal function to produce smooth acceleration and velocity trajectories based on user input, that may be just a rapid setpoint value change. The main purpose of trajectory planner is to allow creating simple point-to-point motion with minimal complexity from the controller.
Operation
Trajectory planner has two main parameters which define the motion profile limits:
Following example illustrates a case where user setpoint changes instantly, and causes trajectory planner to generate acceleration & velocity limited motion.
Trajectory planner has no limit of how often setpoint may be changed. It is possible to give new setpoint even when motion has not reached it's target position, and output motion still follows the given speed limits.
Application
When to use
Trajectory planner is mostly used in following cases:
- Point-to-point positon control (controller gives just target position and let drive to perform the motion)
- Simple velocity control tasks (such as spindle)
- Velocity limiting for safety reasons on all position & velocity control mode applications
When to avoid
As trajectory planner causes limited rate of change, it is not desirable in applications that demand high bandwidth position or velocity control such as:
- Dual-loop feedback position control, or any system where setpoint of drive is output of another closed loop system
- Systems where external motion controller takes care of acceleration limit calculation and trajectory generation
To prevent trajectory planner from distorting or causing lag in such systems, it can be effectively disabled by setting Acceleration limitCAL to maximum value. Velocity limit may be still used for safety reasons as it will not alter the signal unless setpoint velocity exceeds the Velocity limitCVL limit.
See also
In no event the Product Information or parts hereof shall be regarded as guarantee of conditions or characteristics. The Product Information or any part thereof may also not be regarded as a warranty of any kind. No liability of any kind shall be assumed by Author with respect to Product Information or any use made by you thereof, nor shall Author indemnify you against or be liable for any third party claims with respect to such information or any use thereof.
As content of this Wiki may be edited by user community, Granite Devices Oy or it's affiliates do not take any responsibility of the contents of this Wiki. Use information at your own risk. However, Granite Devices staff attempts to review all changes made to this Wiki and keep information trustworthy.
Without written consent, Granite Devices' Products or Intellectual Property shall not be used in situations or installations where living beings, material property, or immaterial property could be harmed by the operation, features or failures of Product. Products may only be used in a way where hazards like moving parts, electric shock, laser radiation, or fire can't be realized even if the content of this Wiki would suggest otherwise.