class="resources" AC & DC Estimator (Not in Base Package) - LabVIEW 7.1 Help - Support - National Instruments
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

AC & DC Estimator (Not in Base Package)

Computes an estimation of the AC and DC levels of the input signal. This routine performs spectral analysis to the extent that it separates DC (bin 0) from AC (the rms sum of the rest of the bins). Details  

Signal is the input, time-domain signal, usually in volts. At least three cycles of the signal must be contained in the time-domain record for a valid estimate.
AC estimate is the estimate of the input signal AC level in volts rms when the input signal is in volts.
DC estimate is the estimate of the input signal DC level in volts if the input signal is in volts.

AC & DC Estimator Details

You must measure AC and DC content of signals you digitize. If you have a periodic signal and you do not have an integral number of periods in the acquisition, you get spectral spreading, regardless of whether you do an FFT later. This routine performs spectral analysis to the extent that it separates DC (bin 0) from AC (the rms sum of the rest of the bins). It applies the Hanning window. This window is sufficient for separating most of the AC energy from the DC bin.

The efficient mean and variance computations are used in place of Fourier analysis because the results you want are the total AC energy and the true DC, not information in each individual frequency bin.

The coherent gain and equivalent noise bandwidth constants for the Hanning window are needed to compensate for the windowing effects on gain and bandwidth.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit