Four Bar Linkage Optimization in Simscape

バージョン (1.76 MB) 作成者: Steve Miller
Four-bar linkage lengths are optimized using MATLAB to follow a desired trajectory.

ダウンロード 1.4K 件

更新 2022/4/5

GitHub から

GitHub でライセンスを表示

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”
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 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:


Steve Miller (2022). Four Bar Linkage Optimization in Simscape (, GitHub. 取得済み .

MATLAB リリースの互換性
作成: R2022a
R2017a 以降 R2022a 以前と互換性あり
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。
この GitHub アドオンでの問題を表示または報告するには、GitHub リポジトリにアクセスしてください。