LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with THD+N from HarmonicAnalyzer

Hello,

 

I have saved the screenshot of the document in a .jpg file.

 

From my point of view Harmonic Analyzer Using Signal is giving a perfect result.

 

But I am really curious about the result given by that instrument.

It seems that the sampling rate is OK.  And I think you can get a better result if the number of samples covers exactly n periods of the square wave, like 262000 samples. But I don’t think the error coud be that large since you have sampled more than 1000 periods.

 

And have you used any window to avoid spectrum leakage?

 

Thanks,

Joyce

0 Kudos
Message 11 of 15
(1,501 Views)

Hi, thanks a lot.

I wil check the operation of equipmen later.

I have ever try to set the samples to be n periods and use window, but it didn't work well.

And with using window, it will get error when the input is simple sanewave.

Are there other places where I may make mistakes?

0 Kudos
Message 12 of 15
(1,479 Views)

I make the test with different input size which are 262000 and 262144. The results of THD are the same, but a little diference in THD+N.

With the window, the THD becomes lower.

 

0 Kudos
Message 13 of 15
(1,456 Views)

Hello,

 

What kind of window are you using?

 

Could you please try Hanning window?

 

Thanks,

Joyce

0 Kudos
Message 14 of 15
(1,451 Views)

I have try Hanning window, but it make the result lower than 48%.

Thanks for your patient very much

0 Kudos
Message 15 of 15
(1,440 Views)