Uploaded by lengfenglee on Apr 14, 2009
First Trial: The solution shown here is NOT correct.
Compare the solution 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.
Solutions from three methods are not the same in this first trial. Only the MapleSim solution is the correct one. SimMechanics solution is incorrect since it didn't use the correct theta 2 value - the output theta 2 value from SimMechanics is actually relative to theta 1 value - however it was used as relative to global frame in this plot. MATLAB Code solution is incorrect here due to a mistake in coding (human error). These two errors were corrected in the 2nd version of this study:
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:
Tags:
- Double
- Pendulum
- MATLAB
- MapleSim
- SimMechanics
- Simulation
- ODE
- solver
- ordinary
- differential
- equation
- numerical
- modeling
License:
Standard YouTube License
-
2 likes, 0 dislikes
2:25
Servomotor Engineering tutorialsby leotrisport47,598 views
0:25
Double Pendulum: Comparison between MapleSim, SimMechanics, & MATLAB ODE (with theta plot)by lengfenglee766 views
2:13
Chaotic Motion of a Double Pendulumby FunEngineering2,414 views
1:32
MATLAB Simulation of Six-Bar Mechanism (v2.0)by lengfenglee11,826 views
0:31
Chaotic Double Pendulum - chaoticpendulums.comby zakholdsworth33,626 views
0:26
Ball Bouncing MATLAB Simulationby lengfenglee893 views
0:41
Contact with floor of Jacobianby fpcarreira1,055 views
0:51
Input Shaping for Double Pendulumby PennPlaya1,321 views
0:42
Doppelpendel - Double Pendulum - NX Simulation - No frictionby kassenbon20,646 views
0:34
Pendulum waves in MATLABby walkingrandomly4,650 views
2:00
Writing a Matlab Functionby optiplex1735,451 views
0:26
Matlab Code to Calculate Transmission Anglesby atotoole21927 views
57 videos

2-Comp-Matlab P2
2:01
Double Pendulum in Phunby kehbon10,471 views
1:48
MapleSim: Learn how advanced visualization tools provide greater insight into your systemby MaplesoftVideo1,724 views
0:46
Virtual Reality (VR)+Matlab GUI+SimMechanics+Servo Motor+ISIS Proteus+PIC 16F628aby sergiustan3,260 views
7:16
Creating a Random Process Fitted Line Plot in Excel 2007by ProfTDub642 views
2:47
Double Pendulumby apowellz37,803 views
1:41
double pendulum matlabby berkutmogoric270 views
7:07
Using Simulink to Solve Ordinary Differential Equations - Part 1by jakeblanchard16,502 views
2:09
Steven Strogatz - Nonlinear Dynamics and Chaos: Part 2by shrimpco215,462 views
- Loading more suggestions...
Link to this comment:
All Comments (0)