10-04-2012 08:18 AM
Hi,
I have a simple analog tone generator that produces a sine wave after some short startup delay. Is there a function in Multisim that would allow me to take my transient analysis data and estimate the frequency of oscillation? What I'm looking for is similar to the frequency counter available in the runtime tools.
Specifically, I need to generate a table of results from a Monte carlo transient analysis. Currently, I'm forced to export the 200 or so MC time series and perform an FFT in MATLAB on each series.
I'm not looking for a monte carlo Fourier analysis, because I need much better resolution than this tool provides. Is there something I can do with the post processor to extract a frequency estimate?
-J
10-11-2012 08:34 AM
Hi Jay,
In Multisim, you can use the probe or frequency counter to read signal frequency, but once you use any of the analysis such as transient, the option to find frequency is not available.
What you can do is use LabVIEW to control Multisim and there is a pre-built function available that can calculate a signal frequency. To make this work, you need LabVIEW and the LabVIEW Multisim API Toolkit which can be downloaded from the links below:
https://lumen.ni.com/nicif/us/evalmultisimtlkt/content.xhtml
https://lumen.ni.com/nicif/us/evaltlktembdes/content.xhtml
Once you install the required software, in LabVIEW you can create a VI (a program) to launch Multisim, run a circuit 200 times and each time change component values and calculate the output frequency for each run.
Attached is a sample circuit and the VI I created. Double click on the Reading Signal Frequency.vi file, click on the folder in the front panel (the screen with the grey background) and select and select the Multisim circuit which is attached. In this program, I am changing a resistor R1 in the Multisim circuit and run the simulation 10 times, once finished, the result will appear in the array in the front panel.
You can use this example and modify the VI for your circuit.