LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to decrease time period for data collection used for Transfer Function.

I am creating a sinewave at frequencies between .1 Hz and 100Hz. I am using a delta frequency to discretely sweep from .1 Hz to 100Hz, then performing a transfer function on the Vin and Vout signals for each frequency. That way I only have the phase and magnitude value at the dicrete frequency for each created sinewave at the particular frequency. I save the values and put them in an array, so at the end of the run I can put together the magnitude and phase points from each discrete sinewave frequency and make a bode plot.

The problem I am running into is that for LabView to all a dF of .1 Hz in the transfer function, I must run each .1Hz Sinewave increment for 10 seconds. This totals
out to about 2 hours and 45 minutes. The current HP Digital Signal Analyzer takes about 10 minutes and we'd like this system to run at a similar pace.

If anyone has any suggestions about how to I can quicken up the data aquisition please feel free to respond. Thanks!

Curtis
0 Kudos
Message 1 of 2
(2,543 Views)
The resolution of 0.1 Hz does require a 10 seconds long acquisition, but instead of running only one sine tone at a time you may consider generating and acquiring multiple tones (eventually all 1000) at once.

This techique of multi-tone excitation / acquisition is very efficient but has some drawbacks.

1 - You system under test has to 'work' under such an excitation signal. This is not always the case.

2 - What you gain in measurement speed, you partially loose in dynamic range. The more tones you use for a measurement the more you 'loose' dynamic since given a total signal range, each tone will have to have a reduced amplitude in order to not overload your system.

3 - The technique requires an Arbitrary Waveform Generator and I don't know if that i
s what you are using.

The setup is a little tricky because the tones have to be an exact multiple of the 0.1 Hz and your acquisition length and sample clock need to be perfectly locked to the generation to avoid frequency domain leakage between the different signals.

On the measurement side use either the Power Spectrum (signel channel) or the Frequency Response (dual channel measurement) but do NOT use a window (= none or = rectangular)

LabVIEW has all the tools needed to help you build that measurement. Check out the Basic Multitone.vi in your Analyze>>Waveform Generation palette.

If everything works for you, you may be able to reduce your measurement time from hours to less than a minute (possibly all the way down to 10 sec. !)
Message 2 of 2
(2,543 Views)