Frequency Characteristic and Amplitude with Simulink

조회 수: 8 (최근 30일)
Esin Derin
Esin Derin 2022년 6월 26일
답변: Sayan 2023년 9월 8일
Hello, I have to find amplitude value and time shift between maximum value in one period in input and output signal.And chnage frequencies each time. I wrote one of them but I'm not sure. Could you help me if I'm going right?

답변 (1개)

Sayan
Sayan 2023년 9월 8일
I understand from the query that it is required to find the amplitude and the phase shift between maximum values between the reference sinusoidal signal and the different computed waveforms at different frequencies, as depicted in the attached Simulink file. One observation is that when using the Derivative block, the variable "c" should be zero if no linearization is required. You can follow the below-mentioned workarounds to achieve the desired result.
  • Manually position the cursors in the scope at the maximum points of the output waveforms. The result can be found in the "Cursor Measurements" section of the "Scope" window.
  • Alternatively, the Timing Measurement block (available at Mixed-Signal Blockset/Utilities) can be used to measure different parameters like "period", "frequency", "duty cycle", "rise time", "fall time", and "delay" which can help in the calculation of the desired result.
Further information on the Timing Measurement block can be obtained the below mentioned MATLAB documentation.
Hope this answers the query.

카테고리

Help CenterFile Exchange에서 Scopes and Data Logging에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by