Open-loop control of a mass-spring model
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
Platform Compatibility
Windows macOS LinuxCategories
- Control Systems > Control System Toolbox > Control System Design and Tuning > Classical Control Design >
Tags
Acknowledgements
Inspired: EnsembleControlMassSpring.zip
Communities
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.