필터 지우기
필터 지우기

How can I simulate a spring mass damping system without singularity error in Simulink?

조회 수: 4 (최근 30일)
I have been given the following assignment:
We have a spring-mass-dampening system that has only one degree of freedom. Basically hanging down. The mass of the object is 10 kg. It is attached to a spring that has the spring constant of 21 000 N.
The system is being disturbed with a sine wave force, which pushes the mass to the direction of its movement (basically down). The angular frequency of the force is 45.8 radians per second and the amplitude is 500 Newtons.
Now, the dampening force of the system is the following:
I am supposed to simulate the system in Simulink and find out the amplitude of the vibration the system will settle to permanently during 10 seconds.
The issue is, my simulation meets a singularity.
Here is my attempt:
The error is here: enter image description here
I am following the given formulas, so I don't know how to avoid the error.
I am really at loss. What am I doing wrong? Why isn't the simulation working? Should I add the dampening differently?
Any help is greatly appreciated.

답변 (1개)

Sam Chak
Sam Chak 2023년 4월 3일
From the Simulink model, the dynamics can be reconstructed as
and then rearranged to
.
This nonlinear term is causing the numerical simulation to explode, though in reality, it doesn't happen.
I'm not a spring person, But I think this should work.
.
So, you will need the absolute value block and the product block.

카테고리

Help CenterFile Exchange에서 General Applications에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by