Advanced Setpoints for Motion Systems

Create and simulate up to fourth order trajectories for motion systems doing point-to-point moves.
Updated 1 Sep 2016

View License

Motion systems are widely used in industry; for instance for robotics and pick-and place units. In most cases they are characterized by a repetitive motion or sequence of motions between fixed positions. The actuator, or motor, is limited in speed and acceleration such that any decent motion control system should also generate an acceptable trajectory from one point to the other. This is done by generating ‘profiles’ for speed and acceleration. In practice, motion systems are not rigidly connected to the load they are manipulating, resulting in dynamical behaviour. Motion control systems deal with this by applying appropriate feedback control, and also by generating a ‘smooth’ trajectory. Feedforward control, based on the known trajectory also contributes greatly to achieving high performance positioning.
The zip file contains MATLAB functions for calculating smooth trajectories. It also contains the Simulink library ‘motion’ with several examples, including an implementation suitable for real-time application (rapid prototyping). Extensive documentation, based on a course in motion control lectured at Eindhoven University of Technology in The Netherlands, explains the use of second order up to fourth order trajectories for point-to-point motion, how to calculate them, and how to use them for effective feedforward control. Some exercises are also included.
The functions and library are developed in Release 12; they also work in all later releases.

Cite As

Paul Lambrechts (2024). Advanced Setpoints for Motion Systems (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Simscape in Help Center and MATLAB Answers

Inspired: Motion Control Demo


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes

Updated license

Small textual changes

Small textual updates