LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

buneman frequency estimator

I used buneman frequency estimator PtByPt.vi to measure the frequency of an ac signal. But i am not getting the beta value constant when the incoming frequency is constant. It is changing large amount some times?

What is the problem?
0 Kudos
Message 1 of 8
(3,884 Views)
Can you attached a test VI?
0 Kudos
Message 2 of 8
(3,875 Views)
i hereby attach the vi i tried...
0 Kudos
Message 3 of 8
(3,872 Views)
Sumi,
 
I created the attached test VI and have some observations:
 
(1) The value of "sample length" might cause the changing of the result. 
(2) This VI need time to warm up.  The results from the first "sample length" of iterations are useless.  You can see big variation at the first "sample length" of iterations.
(3) After the first "sample length" of iterations, the result still can be changing in a smaller range.  The changing is as expected when the "sample length" is not equal to the multiples of the signal cycle.  This is caused by the spectral leakage.  For example, if the frequency is 20Hz and the sampling rate is 1000Hz, there are 50 samples in each cycle.  When you set the "sample length" as 50, 100, 150, ... you can get the exact 20Hz result.  Otherwise, the result will vary around 20Hz.  Increasing the "sample length" will reduce the varying range.  For exmple, the changing is smaller when you set the "sample length" as 1024 in the attached VI.
0 Kudos
Message 4 of 8
(3,867 Views)
Sir,
    I cannot run the vi because it is in LabVIEW 8.2 and i have only LabVIEW 8.0. Can i get that version of code?
0 Kudos
Message 5 of 8
(3,827 Views)
Here is the 8.0 VI.

帖子被Nann在04-08-2007 09:19 PM时编辑过了

0 Kudos
Message 6 of 8
(3,825 Views)
This is the same as the previous one.  Sorry for the duplicating.

帖子被Nann在04-08-2007 09:20 PM时编辑过了

0 Kudos
Message 7 of 8
(3,827 Views)
i will try this one ... thank you sir..
0 Kudos
Message 8 of 8
(3,800 Views)