Open-loop control of a mass-spring model

Version 1.3.0.0 (6.36 KB) by Nathan
Simple example of open-loop motion planning using a mass-spring model.
474 Downloads
Updated 11 Apr 2014

View License

This is a simple example of open-loop motion planning on a mass-spring model. A mass is attached to a spring, and the other end of the spring is attached to a linear motor. The position and the speed of the mass are used as states of the model. In this example, the position and the speed will be steered from an initial state to a desired final state. To do this, a discrete-time input is precalculated, which is then used to simulate the model using Simulink.

Cite As

Nathan (2024). Open-loop control of a mass-spring model (https://www.mathworks.com/matlabcentral/fileexchange/46185-open-loop-control-of-a-mass-spring-model), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: EnsembleControlMassSpring.zip

Communities

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.3.0.0

File update: changed xlabel.

1.2.0.0

Updated file.

1.1.0.0

Increased length of summary.