Solving a One Degree of Freedom Two Mass System Using CAMP-G and MATLAB
50 likes | 191 Vues
This study presents a systematic approach to solving a one degree of freedom system involving two masses, M1 and M2, connected through springs and dampers. The system, initially at rest, is subjected to an external force, F, applied to Mass 2. Utilizing CAMP-G for bond graph modeling, we derive the system's dynamics, resulting in four first-order differential equations. These equations are subsequently solved using MATLAB to determine the displacement and momentum for each mass. The findings are crucial for understanding the interactions within mechanical systems.
Solving a One Degree of Freedom Two Mass System Using CAMP-G and MATLAB
E N D
Presentation Transcript
Solving a One Degree Freedom System using CAMP-G and Matlab James Morrison ME 114 Fall 06
Two Mass System Mass 1 is attached to the wall and to mass 2 by a parallel spring and damper combination. The system initially at rest with a force F being applied to Mass 2. M1 = 2 M2 = 2 b1 = 3 b2 = 4 k1 = 40 k2 = 60 F=1 b1b2 F k1 k2 M1 M2
Bond Graph C R I 1 I C 1 0 1 SE R 1/k2 b2 To solve for displacement and momentum of M1 and M2, the system is first modeled as a bond graph in CAMP-G. C = Spring I = Mass R = Damper SE = Force Input 1 = Common Mass Point Junction 0 = Mechanical Series Junction 5 6 M1 M2 4 2 8 7 1/k1 F 3 1 9 10 b1
Matlab CAMP-G generates four first order differential equations describing the system which can be solved using Matlab for momentum and displacement. In Matlab the values of the system (dampers, springs ect.) are added as well as the initial conditions (displacement, momentum).