EnsembleControlMassSpring.zip
This is a simple example of ensemble control on a mass-spring model. Several masses are attached to springs, and the other end of the springs are attached to a linear motor. The parameters of the mass-spring model are bounded but unknown. The position and the speed of the masses are used as states of the model. In this example, the position and the speed of the different mass-spring systems will be steered from the same initial state to the same desired final state with a certain degree of accuracy, dependent on the order of ensemble control. To do this, a discrete-time input is precalculated, which is then used to simulate the models using Simulink. The mathematics of ensemble control are explained in the workshop below:
http://telerobot.cs.tamu.edu/UiA2011/slides/BretlICRA-Workshop/BretlICRA-Workshop.pdf
Cite As
Nathan (2024). EnsembleControlMassSpring.zip (https://www.mathworks.com/matlabcentral/fileexchange/46290-ensemblecontrolmassspring-zip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Approximate Steering of a Unicycle Under Bounded Model Perturbation Using Ensemble Control, Open-loop control of a mass-spring model
Inspired: EnsembleControlCrane.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.