Numerical instability of spherical pendulum
조회 수: 8 (최근 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!
