Problems using MI
Posted: Thu Oct 03, 2013 11:56 am
Problems using MI
Hi,
I set up a system using MI and a Juli@ card. Win7 32bits, 4GB, Athlon II X2.
When I was testing loopback mode in order to see the residuals of the system on THD and THDA, I found out an unstable behaviour on the results, showing sometimes good values as expected for the card and many times poor values on THD, SNR etc.
I did again the same tests using other (free) analyser software and the results are good, consistent and always the same using the same adjust levels and configs as I did on MI.
For example, the values I achieved using MI, using 24bits, 48kHz, ASIO mode were 0,0007% THD and 99.8dB SNR for a few moments during the tests. Most of the times I achieved 0,0017% THD and 77dB SNR, very perceptible on spectrum analyser.
The best value I had using MI I had too all the times using the other software and MME drivers. I tried MME drivers on MI, with no better results..
Is there any place in this forum where I can post the screenshots of MI results and configurations?
Best regards,
MarceloYared
Post at 8-9-2011 04:02
Simultaneous sound card input & output consumes more CPU time and USB bandwidth (if a USB sound card is used), especially when the bit depth and sampling rate are high. Here are some tips if you encounter unstable problems:
1. To reduce the CPU time consumption, in Multi-Instrument, you can set the Trigger Mode to “Auto” (i.e. free run for the case of a sound card) if triggering is not required. THD measurement does not require triggering.
2. Use integer test frequency in the Signal Generator if possible to reduce the CPU time consumption.
For THD measurement, there are two options regarding the test frequency:
Option 1: use the so-called "No Spectral Leakage" test frequency, together with the Rectangle Window function in the Spectrum Analzyer. This option provides the best results if the oscilloscope (i.e. sound card input) and the signal generator (i.e. sound card output) share the same sampling clock, which is true if the same sound card is used for both input and output. Otherwise option 2 should be used.
Option 2: use any test frequency, preferably an integer test frequency (in order to reduce the CPU time consumption of the signal generator). When a test frequency with spectral leakage is used, Kaiser 6 Window function is recommended in the Spectrum Analyzer for THD measurement. Rectangle Window function should not be used in this case.
If you do not know what the “no spectral leakage” frequency is, just enter the test frequency you want in the Signal Generator and then tick the “no spectral leakage” option. The Signal Generator will then calculate the “no spectral leakage” frequency for you based on the current sampling frequency and FFT size. In most of cases, the “no spectral leakage” frequency is not an integer value. With a “no spectral leakage” test frequency, Rectangle window function should be used in the Spectrum Analyzer. Otherwise, Kaiser 6 window function is recommended. For both cases, the record length of the Oscilloscope should be set to a value equal to or greater than the FFT size to avoid zero padding.
3. When ASIO driver is used, you can go to [Setting]>[Display]> to set “ASIO Buffer Size” to “Max” if your encounter unstable problem.
4. If a USB sound card is used, choose a USB2.0 port of the computer to connect to the sound card.
By the way, you can upload an image as an attachment in this forum.
virtins
Post at 8-9-2011 14:35
Tks for your help!
Now I have excellent and stable results at 48kHz! Better than the results using the freeware.
I´m working on 96kHz and 192kHz, using the same configurations, but without good results until now.
In fact Juli@ is a PCI card, and the CPU usage is fine (no more than 50%). The problem was in the configurations I did.
And, if it can help, I found out in your faq the instructions to upload images, but I can´t understand it. I think a little bit more explanations there would help.
Regards and tks again,
MarceloYared
Post at 10-9-2011 23:16
Looks like you have resolved the issue with 96kHz and 192kHz.
virtins
Post at 13-9-2011 20:52
Hi,
Its me again.
Actually I solved the problems using the Kaiser 6 window and ftest an integer.
But I´m not satisfied with the bad behaviour using Rectangle window and no spectral leakage or non integer frequency as appears to be a default for MI.
Because this I can´t use the DTP feature, since it is using Rectangle window.
My system has good performance, latency constant and better than 500us and the performance monitor show no lack of resources to run MI, as you can see in the pictures in annex.
Is there anything I can do to solve it?
Best regards,
MarceloYared
Post at 8-10-2012 07:23
Hi,
I set up a system using MI and a Juli@ card. Win7 32bits, 4GB, Athlon II X2.
When I was testing loopback mode in order to see the residuals of the system on THD and THDA, I found out an unstable behaviour on the results, showing sometimes good values as expected for the card and many times poor values on THD, SNR etc.
I did again the same tests using other (free) analyser software and the results are good, consistent and always the same using the same adjust levels and configs as I did on MI.
For example, the values I achieved using MI, using 24bits, 48kHz, ASIO mode were 0,0007% THD and 99.8dB SNR for a few moments during the tests. Most of the times I achieved 0,0017% THD and 77dB SNR, very perceptible on spectrum analyser.
The best value I had using MI I had too all the times using the other software and MME drivers. I tried MME drivers on MI, with no better results..
Is there any place in this forum where I can post the screenshots of MI results and configurations?
Best regards,
MarceloYared
Post at 8-9-2011 04:02
Simultaneous sound card input & output consumes more CPU time and USB bandwidth (if a USB sound card is used), especially when the bit depth and sampling rate are high. Here are some tips if you encounter unstable problems:
1. To reduce the CPU time consumption, in Multi-Instrument, you can set the Trigger Mode to “Auto” (i.e. free run for the case of a sound card) if triggering is not required. THD measurement does not require triggering.
2. Use integer test frequency in the Signal Generator if possible to reduce the CPU time consumption.
For THD measurement, there are two options regarding the test frequency:
Option 1: use the so-called "No Spectral Leakage" test frequency, together with the Rectangle Window function in the Spectrum Analzyer. This option provides the best results if the oscilloscope (i.e. sound card input) and the signal generator (i.e. sound card output) share the same sampling clock, which is true if the same sound card is used for both input and output. Otherwise option 2 should be used.
Option 2: use any test frequency, preferably an integer test frequency (in order to reduce the CPU time consumption of the signal generator). When a test frequency with spectral leakage is used, Kaiser 6 Window function is recommended in the Spectrum Analyzer for THD measurement. Rectangle Window function should not be used in this case.
If you do not know what the “no spectral leakage” frequency is, just enter the test frequency you want in the Signal Generator and then tick the “no spectral leakage” option. The Signal Generator will then calculate the “no spectral leakage” frequency for you based on the current sampling frequency and FFT size. In most of cases, the “no spectral leakage” frequency is not an integer value. With a “no spectral leakage” test frequency, Rectangle window function should be used in the Spectrum Analyzer. Otherwise, Kaiser 6 window function is recommended. For both cases, the record length of the Oscilloscope should be set to a value equal to or greater than the FFT size to avoid zero padding.
3. When ASIO driver is used, you can go to [Setting]>[Display]> to set “ASIO Buffer Size” to “Max” if your encounter unstable problem.
4. If a USB sound card is used, choose a USB2.0 port of the computer to connect to the sound card.
By the way, you can upload an image as an attachment in this forum.
virtins
Post at 8-9-2011 14:35
Tks for your help!
Now I have excellent and stable results at 48kHz! Better than the results using the freeware.
I´m working on 96kHz and 192kHz, using the same configurations, but without good results until now.
In fact Juli@ is a PCI card, and the CPU usage is fine (no more than 50%). The problem was in the configurations I did.
And, if it can help, I found out in your faq the instructions to upload images, but I can´t understand it. I think a little bit more explanations there would help.
Regards and tks again,
MarceloYared
Post at 10-9-2011 23:16
Looks like you have resolved the issue with 96kHz and 192kHz.
virtins
Post at 13-9-2011 20:52
Hi,
Its me again.
Actually I solved the problems using the Kaiser 6 window and ftest an integer.
But I´m not satisfied with the bad behaviour using Rectangle window and no spectral leakage or non integer frequency as appears to be a default for MI.
Because this I can´t use the DTP feature, since it is using Rectangle window.
My system has good performance, latency constant and better than 500us and the performance monitor show no lack of resources to run MI, as you can see in the pictures in annex.
Is there anything I can do to solve it?
Best regards,
MarceloYared
Post at 8-10-2012 07:23