Using CAMP-G to solve the following spring/damper/mass system: F m1m1 m2m2 k1k1 k2k2 b1b1 b2b2 where: k 1 = 40 N/m b 1 = 3 N-s/m m 1 = 2 kg k 2 = 60 N/m m 2 = 2 kg b 2 = 4 N-s/m F = 1 N ME 114 Vibrations and Control Systems Fall 2006 By Matt Rooks
SE1101 I8I21 C10 R9 C5R CAMP-G Bond Graph The above Bond Graph was generated in CAMP-G and analyzed using MATLAB. In CAMP-G: SE1 = F = 1 N I2 = m 2 = 2 kg R6 = b 2 = 4 N-s/m C5 = 1/k 2 = 1/60 N/m I8 = m 1 = 2 kg C10 = 1/k 1 = 1/40 N/m R9 = b 1 = 3 N-s/m
Edited: Initial Conditions System Physical Parameters External Inputs Simulation Time Control in campgmod.m
Defined effort and flow vectors in campgequ.m
Modified Plots: Plotted both Spring Displacements and momentums of masses Plotted force on Spring k 1 and velocity of m 1
Results:
Conclusions Using Bond Graphs and CAMP-G makes solving problems involving higher order differential equations much easier than utilizing only MATLAB.