Numerical instability of spherical pendulum
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I am trying to simulate a spherical pendulum. The equation of motion of the spherical pendulum are:

So far, I was able to simulate the equation of motion with a ode45 solver. However I experiencing numerical instabilities when the phi angle approach zero.
Does any one have an idea to get rid off these numerical instabilities?
Thank you in advance,
Bas
0 件のコメント
採用された回答
Mischa Kim
2015 年 2 月 25 日
Bas, the plus sign in your equation does look a bit strange. Shouldn't that be a minus instead?
8 件のコメント
Mischa Kim
2015 年 2 月 26 日
Angular momentum is conserved (constant), not azimuth rate. The equation for the angular momentum is
m*l^2*sin(phi)^2*thetadot = const.
Therefore, when phi decreases, thetadot increases, just like described above.
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Assembly についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
