View License

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

» Watch video

Highlights from
Motion Control Demo

4.0 | 2 ratings Rate this file 14 Downloads (last 30 days) File Size: 3.47 MB File ID: #17233 Version:

Motion Control Demo



30 Oct 2007 (Updated )

Model Based Design Demonstration Based on a Motion Control Case Study

| Watch this File

File Information

This demonstration is developed for use with the experimental motion system that you see in the picture, but also makes sense when you do not have this hardware available.
It contains a script that guides you through a fairly complete Model Based Design cycle, starting with a problem formulation as you may encounter in a real industrial production machine, showing you how to set up a model using measured data, first principles modelling and physical modeling tools, and also showing you the setting up, tuning and testing of a new feedback controller with highly improved performance.
A lot can be learned from this demo and the used models: about how the different products/tools can be used in an actual design workflow, but also about motion control in general (modelling, feedback control, trajectory generation, feedforward control, controller tuning, loop-shaping.) Furthermore, if you investigate the models a little deeper, you will find examples of control logic using Stateflow, triggered subsystems, configurable subsystems, using masks, using self-made library models, embedded MATLAB, graphical user interfaces and virtual reality animation.

For more information on the used trajectory generation and feedforward techniques, see

Unpack the zipfile in any directory and open the Readme.html file in a browser.
The listed required products are an absolute minimum; recommended are also: Simulink 3D Animation (in older releases: Virtual Reality Toolbox;) System Identification Toolbox; Simulink Design Optimization (in older releases Simulink Parameter Estimation;) Simulink Control Design. Also demonstrated are: Simscape; SimMechanics; SimDriveline;
Simulink Verification and Validation.
To learn more about MathWorks Physical Modeling products go to:


Advanced Setpoints For Motion Systems inspired this file.

Required Products Control System Toolbox
Signal Processing Toolbox
MATLAB release MATLAB 7.5 (R2007b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (3)
11 Jun 2014 Jorik

Jorik (view profile)

20 Feb 2012 oyer wei

Thank you

Comment only
04 Apr 2011 gautam wadhwa

can u please explain how you have derieved the 2 equation of the motor?

22 Apr 2008

Adding useful links for File Exchange users

02 Jun 2009 1.4

Updated hardware setup picture

27 Nov 2009 1.5

Textual changes and new photo

01 Sep 2016

Updated license

Contact us