Frequency and amplitude of a spring damper system in simulink

조회 수: 4 (최근 30일)
Pavel
Pavel 2015년 8월 16일
답변: Sebastian Castro 2015년 8월 17일
Hi. I'm working at a spring-damper system in Simulink and until now i managed to get the displacement of the mass. How do i get the Frequency and Amplitude of the mass?
Thank you

답변 (1개)

Sebastian Castro
Sebastian Castro 2015년 8월 17일
The amplitude is the easier of the two to get. If you have the displacement, you can just measure the minimum and the maximum values to get an estimate of the amplitude.
For frequency, you can take that displacement signal and take an FFT of it. You can either
  1. Export the data to MATLAB and use the fft function on it.
  2. Use a Spectrum Analyzer block (requires DSP System Toolbox)
In both cases, you'll need to make sure the displacement data is sampled at a constant rate which is small enough to capture all the right dynamics of the system.
Oh, I guess you could also try linearizing the system and getting a Bode plot directly. This one requires Simulink Control Design.
- Sebastian

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by