Four Bar Linkage Optimization in Simscape
Versione 24.1.2.5 (1,76 MB) da
Steve Miller
Four-bar linkage lengths are optimized using MATLAB to follow a desired trajectory.
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.
- For R2024a: Use Download button above
- For R2023b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/23.2.2.5.zip
- For R2023a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/23.1.2.5.zip
- For R2022b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/22.2.2.5.zip
- For R2022a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/22.1.2.5.zip
- For R2021b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/21.2.2.4.zip
- For R2021a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/21.1.2.3.zip
- For R2020b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/20.2.2.2.zip
- For R2020a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/20.1.2.1.zip
- For R2019b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/19.2.2.0.zip
- For R2019a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/19.1.1.4.zip
- For R2018b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/18.2.1.3.zip
- For R2018a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/18.1.1.2.zip
- For R2017b: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/17.2.1.1.zip
- For R2017a: https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/archive/17.1.1.0.zip
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:
- https://www.mathworks.com/learn/tutorials/simscape-onramp.html
- https://www.mathworks.com/learn/tutorials/circuit-simulation-onramp.html
Learn more about MathWorks Simscape Products:
Cita come
Steve Miller (2024). Four Bar Linkage Optimization in Simscape (https://github.com/mathworks/Simscape-Multibody-Four-Bar-Optim/releases/tag/24.1.2.5), GitHub. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2024a
Compatibile con R2017a fino a R2024a
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Scopri di più su Simscape Multibody in Help Center e MATLAB Answers
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Overview/html
Scripts_Data
Workflows/Optim
Workflows/Testing
Overview
Le versioni che utilizzano il ramo predefinito di GitHub non possono essere scaricate
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.
Per visualizzare o segnalare problemi su questo componente aggiuntivo di GitHub, visita GitHub Repository.