Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with theta plot)

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
772 views
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 21, 2009

Compare the solution with angular position plot (Theta 1 and Theta 2) of a double pendulum simulation obtained from:
1. MapleSim;
2. SimMechanics;
3. MATLAB Hand Code;

Red colored link is link #1, Blue colored link is link #2. Simulate the double pendulum motion under the effect of gravity for 10 seconds. Initial position: Theta 1 = 0 deg, Theta 2 = 45 deg. Solver settings: Fixed time step solver (ode5 for MATLAB and SimMechanics), time step: 0.001s, Rel-tolerence: 1e-7, Abs-tolerence: 1e-7.

Solutions from these three methods are not the same in this 1st trial, which can be seen here:
http://www.youtube.com/watch?v=71QkGAEc6Cs

In this second trial, it is shown that the solution from all three methods (MapleSim, SimMechanics, and MATLAB Code) are identical visually, after fixing the error in the first trial:
http://www.youtube.com/watch?v=neOn_NvpC_M

The following video plot the angular positions (Theta 1 and Theta 2) of the double pendulum from all three solutions:
http://www.youtube.com/watch?v=pwJ6OGmDrBk

The following video shows the errors (root mean square error) between MapleSim vs MATLAB Code, and SimMechanics vs. MATLAB Code solution (though the differences is in the magnitude of 1e-11 and 1e-14):
http://www.youtube.com/watch?v=EMea6wxxCH4

More info:
http://www.eng.buffalo.edu/~llee3
http://www.youtube.com/lengfenglee

-----

Category:

Education

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:
see all

All Comments (0)

Sign In or Sign Up now to post a comment!
Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more