Four Bar Linkage Optimization in Simscape

Four-bar linkage lengths are optimized using MATLAB to follow a desired trajectory.
1,8K téléchargements
Mise à jour 6 déc. 2023
This example shows a four-bar linkage modeled in Simscape Multibody that is optimized using MATLAB so that the tip of the linkage follows a desired trajectory.
Mechanical designers often wish to design mechanisms that will enable an end effector to follow a certain path. The lengths of the links and the position of the end effector influence the trajectory of the end effector in a complex kinematic relationship. Optimization algorithms can be used to tune those lengths to achieve the desired motion.
The process is similar to what is described in the video “Computational Design of Mechanical Characters” https://www.youtube.com/watch?v=DfznnKUwywQ
In this example, a parameter sweep is performed to see which trajectories are possible when varying a subset of the lengths. Then those lengths are tuned using MATLAB optimization algorithms until the resulting trajectory is within tolerances of the desired trajectory.
Please read the README.md file to get started.
Use the "Download" button above to get files compatible with the latest release of MATLAB.
Use the links below to get files compatible with earlier releases of MATLAB.
See how to use Simscape Multibody to model a cam-follower mechanism:
Learn more about multibody simulation with Simscape Multibody by watching this webinar
Find other Simscape examples by searching posts for the keyword "physical modeling"
Try these free, hands-on tutorials to learn how to use Simscape:
Learn more about MathWorks Simscape Products:

Citation pour cette source

Steve Miller (2024). Four Bar Linkage Optimization in Simscape (https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/23.2.2.5), GitHub. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2023b
Compatible avec les versions R2017a à R2023b
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Simscape Multibody dans Help Center et MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

Les versions qui utilisent la branche GitHub par défaut ne peuvent pas être téléchargées

Version Publié le Notes de version
23.2.2.5

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/23.2.2.5

23.1.2.5

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/23.1.2.5

22.2.2.5

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/22.2.2.5

22.1.2.5

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/22.1.2.5

21.2.2.4

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/21.2.2.4

21.1.2.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/21.1.2.3

20.2.2.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/20.2.2.2

20.1.2.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/20.1.2.1

19.2.2.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/19.2.2.0

19.1.1.4

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/19.1.1.4

18.2.1.3

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/18.2.1.3

18.1.1.2

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/18.1.1.2

17.2.1.1

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/17.2.1.1

17.1.1.0

See release notes for this release on GitHub: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/17.1.1.0

1.4.0.2

Connected to GitHub repository

1.4.0.1

Added links to download files compatible with earlier releases of MATLAB.

1.4.0.0

Added R2019a version.

1.3.0.0

Added R2018b version.

1.2.0.0

Added R2018a version.

1.1.0.0

Added R2017b version.

1.0.0.0

Adjusted description.

Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.
Pour consulter ou signaler des problèmes liés à ce module complémentaire GitHub, accédez au dépôt GitHub.