View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
Advanced Setpoints for Motion Systems

5.0 | 6 ratings Rate this file 25 Downloads (last 30 days) File Size: 2.35 MB File ID: #16352 Version:
image thumbnail

Advanced Setpoints for Motion Systems



13 Sep 2007 (Updated )

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

| Watch this File

File Information

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.


This file inspired Motion Control Demo.

Required Products Control System Toolbox
MATLAB release MATLAB 6.1 (R12.1)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (6)
16 Jul 2015 edris farah

good job, thank you very much

04 Dec 2014 malek

malek (view profile)

05 May 2010 Paul

Paul (view profile)

Hi Paul,

What is the best way to extend the model to cover non stationary initial/final positions?


06 Feb 2010 Rob Janssen

11 Nov 2008 Meindert

Good tool and explanation to go with it. On Paul's advice I used Simulink's Embedded Matlab functions to experiment with setpoint generation (see also:

24 Oct 2007 kuppam murali


27 Nov 2009 1.1

Small textual updates

27 Nov 2009 1.2

Small textual changes

01 Sep 2016

Updated license

Contact us