This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TSW1200 FFT and SFDR analysis problem / question

Hi,

I've got a question concerning the FFT-function of the TSW1200 software and the SFDR analysis baset on the fft-results. I measured the attached spectrum and see that my highest spurious is HD4 = -70.42dBc. So i expect that my SFDR value should also be -70.42dBc but the TSW software shows an SFDR of 67.43dBc.

Although the difference is very small I'm wondering how the TSW software determines the SFDR of -67.43dBc? I ofund out that there's a connection to the applied windowing function (my example uses the blackman harris window). When I apply no windowing function at all I have a bad SFDR (like 16dBc or sth like that). 

Is it possible that the software takes into account that there's a "socket" at the foot of my peak because of the leakage effect and interprets this socket as a spurious?

All I'm wondering is if I have a different (=wrong) understandig of SFDR or if there's a algorithm applied to the FFT that might deliver "wrong" results based on the leakage effect??

 

regards,

mikael

  • Hi,

    May i ask what version of the TSW1200 software you are running, please?  I cant tell from the saved plot.  The version can be found in the lower left status pane of the GUI right after the GUI initializes, or right after it is re-initialized.  You can re-initialize the GUI by using the menu bar, or by the shortcut control-shift-i.

    In general, the SFDR value should be pretty straightforward - it is the largest spur in the FFT plot that is not the bin 0 (DC offset) or the fundamental itself.  In our GUI, to find SFDR we eleiminate bin zero and the fundamental and the chosen harmonics, adn then take the largest item left in the FFT and call that Marker1.  Then for SFDR we take the largest harmonic or the marker1 if it is larger, and subtract that from the fundamental.  In this way, we get the difference between the fundamental and the largets thing in the FFT that is not bin0.

    But if the fundamental is 'spread-out' due to leakage, then the marker1 will often land on the slope of the fundamental and may severely limit the SFDR reading.  Our later versions of the GUI allow the user to select Notch Spurs in the menu bar, and choose how many bins to ignore around the fundamental and around DC.  But if the input frequency is not coherent and the leakage effect is huge, then notching out a few bins arround the fundamental won't do it.  For this there are the windowing functions.

    When the windowing function is used, the chosen window function is applied the the data samples before the FFT routine, and then the FFT routine is run.  The windowing function tends to 'spread-out' the fundamental, more on some window choices and less so on others.  So the GUI internally chooses to notch a small number of bins around the fundamental, usually about 5 or 6 bins, and a similar number around DC.  And the Marker1 routine is disabled, so there is no Marker1 and the SFDR should just be determined based on the first few harmonics.  (Actually, the code sets Marker1 to (0,0) which puts Marker1 in bin zero, and at a height of 0dB down from the fundamental, so you can see the remnant of the Marker1 in the upper left corner of the plot.  Effectively disabled.)  Our next verison of the GUI should bring back Marker1 calculation while windowing is used.

    I don't know why the SFDR you see reported is different than the largest harmonic.  With the version number of the GUI you are using, i can look into the code database and try to see what may be the issue, such as whether during windowing the code is using a different number of harmonics that just HD2. HD3, HD4, HD5 that are displayed or if the number of bins notched out around the fundamental wasn't quite enough for the window function chosen.  That last possibility is one you may test yourself if you wish by choosing to notch maybe 10 bins around the fundamental and see if the SFDR now always matches the worst harmonic.

    Regards,

    Richard P.

  • Hi Richard,

     

    I'm using the software version 2p5. 

     

    "But if the fundamental is 'spread-out' due to leakage, then the marker1 will often land on the slope of the fundamental and may severely limit the SFDR reading.  Our later versions of the GUI allow the user to select Notch Spurs in the menu bar, and choose how many bins to ignore around the fundamental and around DC.  But if the input frequency is not coherent and the leakage effect is huge, then notching out a few bins arround the fundamental won't do it.  For this there are the windowing functions."

    => yes, that's exactly what I suspect to see in other FFTs without a window - a "spread-out" fundamental whose slope is 'faking' a high spur.

     

    Thanks for your further tips.

     

    BTW: will the next version be able to run under windows 7? I can't even install the last version under windows 7 - that's a bit annoying because one has to switch computers all the time.

     

    Best Regards,

    Mikael

  • Hi,

    We *do* plan to make the next verison of the installer work on Windows7.   The issue with the current TSW1200 software on Windows 7 is that the Virtual Com Port (VCP) software that makes the USB connection look like a simple com port accessable by VISA calls does not run under Windows 7.

    We *do* have a new version of the VCP that *does* run on Windows7, but i have not been able to successfully imbed the new installer with the installer for the TSW1200 GUI.  At the moment it remains a 2-part installation.  We should have this resolved in the coming weeks, i hope.

    What that means is that we *could* have you install the TSW1200 on your Windows 7 PC, and then install the new VCP on that same machine.  Then the current verison of the TSW1200 that you have now could run on that Windows 7 PC.   The installation of the new VCP sounds complicated when i type out the instructions, but i think it is simpler than it sounds.  If you would like to try this approach, please provide an email address and i can send the information for how to do this.

    Regards,

    Richard P.