Solving a 3 degree of freedom mass spring damper model

49 次查看(过去 30 天)
Hi,
I'm converting these EOM's into a frequency based domain system as shown in attachment 2 in order to solve for the relative displacements X1,X2,X3 but, i'm having a difficult time trying to implement them into MATLAB. Could someone provide a barebone guide so i have an idea of how to proceed?
Thanks,
Z

回答(1 个)

David Goodmanson
David Goodmanson 2020-11-22
编辑:David Goodmanson 2020-11-22
Hi Z^2,
Now that you have the K, C and M matrices, you can create a matrix equation to find the natural resonant frequencies. Generalizing to n masses instead of 3, Let
xv = [x;v]
be a 2nx1 column vector of n displacements and n velocities; and let the system have an overall time dependence of exp((g+i*w)*t). Then a time derivative gives a multiplicative factor of (g+i*w) and
[v;a] = d/dt [x;v] = [x;v]*(g+i*w)
For the eqns of motion you can arrive at the 2nx2n matrix equation
[I 0;0 M]*[x;v]*(g+i*w) = [0 I;-K -C]*[x;v]
Here Mfull = [I 0;0 M] is a block matrix of four nxn matrices, I is the nxn identity, and 0 is an nxn block of zeros, and similarly for [0 I;-K -C]. Ordinarily you would have to multiply both sides by the inverse of Mfull to obtain an eigenvalue equation. But Matlab provides an option in eig so that you don't have to actually use the inverse of Mfull:
Mfull = [I 0;0 M];
A = [0 I;-K -C]
[xv lambda] = eig(A,Mfull)
The lambdas are the natural frequencies of the system, lambda = g+i*w. The values of g had better come out negative, meaning exponential decay rather than exponential growth.
I assumed here that you were not applying any external forces at a specific frequency and looking for a steady state solution. If you were, then the solution is different, and easier.
  1 个评论
Zain Zia
Zain Zia 2020-11-23
Hi David,
I appreciate the answer you gave which has given clarity but, i should have specified, there is an external force on the lead car. The situation is the three cars are under braking conditions with specific frequency. The displacement and forces im after are the ones inherent in the damper/spring mechanisms between the car. I hope that's provided enough informations.
Thanks, Z^2 :)

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Assembly 的更多信息

产品


版本

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by