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.
Paul Lambrechts (2022). Advanced Setpoints for Motion Systems (https://www.mathworks.com/matlabcentral/fileexchange/16352-advanced-setpoints-for-motion-systems), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Motion Control Demo
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!