Is there any specific rules to set the parameters for FFT analysis?

조회 수: 3 (최근 30일)
SweeHan Cham
SweeHan Cham 2021년 10월 29일
댓글: Elyas Smaida 2023년 7월 26일
Dear beloved community,
I currently doing a simulation project which is Shunt Active Power Filter (SAPF) and I want to find the THD (%) value via FFT analysis.Just wondering is there any specific rules/specifications to follow for parameters Start time(s), Number of Cycles, Max Frequency (Hz) values. Appreciate it if you can advice me on this matter.
Thank you.
  댓글 수: 1
Elyas Smaida
Elyas Smaida 2023년 7월 26일
FFT Analysis will appear but with empty window unless you do the following: " I see somone write it where it helppe me with my simulation
Go to model configuration parameter and select Data Import/Export.
Untick the Single simulation output and click on Apply.
double tap the scope and go to Logging and select Log data to the workspace and select Structure with Time and click on Apply.
Run the simulation
double tap Powergui and select FFT Analysis
Note- MATLAB workspace should have a struct variable including time with the results of the simulation. (e.g. you can use the Scope blocks to log data into the workspace, note that this needs to be struct with time)

댓글을 달려면 로그인하십시오.

답변 (1개)

Walter Roberson
Walter Roberson 2021년 10월 29일
Start time must be a nonnegative real scalar
Number of cycles must be a positive real integer
The two frequencies must be positive real scalars

카테고리

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

태그

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by