THD of the output voltage

6 visualizzazioni (ultimi 30 giorni)
ASIF ALI
ASIF ALI il 25 Mag 2023
Modificato: Abhishek il 23 Giu 2025
I am trying find THD of signal but it doesnot give any result, as shown in image attached
  2 Commenti
Mathieu NOE
Mathieu NOE il 25 Apr 2025
hello
what tool / function are you using ?

Accedi per commentare.

Risposte (1)

Abhishek
Abhishek il 23 Giu 2025
Modificato: Abhishek il 23 Giu 2025
Hi @ASIF ALI,
The message "Selected signal. FFT window not shown (invalid settings)" typically appears when the configuration of the FFT analysis in Simulink is not valid for the signal being analyzed.
In most cases, this is due to a mismatch between the simulation settings and the requirements of the FFT tool. For example, the simulation time must contain an integer number of cycles of the fundamental frequency. If the number of cycles or the fundamental frequency is incorrect, the FFT window cannot be defined properly, which prevents the tool from performing the calculation.
To solve this issue, you can try out the following steps:
  • Ensure the signal is properly logged: Right-click the signal you want to analyze and select "Log Selected Signals". This ensures the signal appears in the FFT analysis window.
  • Verify fundamental frequency and number of cycles: In the Powergui FFT analysis dialog, make sure the fundamental frequency matches your signal, and that the number of cycles selected covers full periods of the signal.
  • Check simulation time: The simulation stop time should be set so that it includes an integer number of cycles of the fundamental frequency. For example, for a 60 Hz signal and 6 cycles, use a stop time of 0.1 seconds.
  • Use appropriate solver settings: Ensure that the simulation uses a discrete solver, especially when working with power systems. Sample time and solver type should be compatible with the FFT tool.
  • Avoid conflicting blocks or configurations: Check for other blocks that might interfere with signal access or modify the data unexpectedly before it reaches the FFT tool.
You can refer to the official MATLAB documentation for more details:
Hope it helps.

Categorie

Scopri di più su Specialized Power Systems in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by