LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FRF Problem about amplitudes of two sine signals

Hi everyone,

 

I'm carrying out a FRF operation between two acquised signals, so I decided to simulate it simply first.I created two dummy sine signals with 50 Hz frequency value and "1" amplitude level for both.And I divide the second signal with a integer and took the FRF function between them, as below.

 

frf2.png

 

as expected for all frequencies, the result is 0,5 which comes from the ratio of sig2 to sig1.

 

But, when I changed the integer value to a float, 1,3 for example, it results nonsense;

 

frf1.png

 

Why these two processes do not match?

 

Thanks,

 

Ozgur

 

0 Kudos
Message 1 of 6
(2,503 Views)

Hello Ozgur,

 

Does this happen with every DBL value you use there, not just 1.3? Were you able to probe the wire both after the Divide node and after the dynamic data converion node to see where the value first comes through as jibberish? I'll try to reproduce this on our end to get a feel for what is going on.

 

Thank you,

Deborah Y.

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 2 of 6
(2,480 Views)

@Deborah Y wrote:

Hello Ozgur,

 

Does this happen with every DBL value you use there, not just 1.3? Were you able to probe the wire both after the Divide node and after the dynamic data converion node to see where the value first comes through as jibberish? I'll try to reproduce this on our end to get a feel for what is going on.

 

Thank you,

Deborah Y.


Deborah,

 

Bet it does happen with every VALUE divisor that cannot be exactly represented as an Xbit binary !

 

Ozgur.  the PC only knows 1's and 0's  1,33 is estimated in the math processor (Closely estimated but not EXACTLY represented)  your graph shows the imprecision of representation of a real number and the Quantisiization error of the sine wave simulation


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 6
(2,476 Views)

Deborah, it happens every time as Jeff indicated. Thanks anyway.

 

Jeff, am I understanding right, you're saying that the graph shows the sum of the errors that caused by the uncertainity? And there is another thing, when the data is not simulated but acquised, there will be not a precise amplitude and frequency valuei will it the FRF block go crazy then ? 🙂

 

I've tried that process with several post-processing softwares; MATLAB, dbFA Suite (A vibratory daq system interface). All results different 🙂

 

Do you have any suggestions to solve that? Or can it be corrected?

 

Regards,

 

Ozgur

 

 

0 Kudos
Message 4 of 6
(2,470 Views)

Is it a error I'm facing with, or else?

 

I've tried to get the FRF by using Auto and Cross Spectrums, the result was exactly same with the FRF block.

 

I'm confused a little...

0 Kudos
Message 5 of 6
(2,462 Views)

Hello Ozgur,

I apologize for the delay in response. You are correct so far as the error Jeff described and quantization error/noise can be modeled. Pulling in a real signal vs. simulated signal should help a bit based on the signal, as well as using integers for dividing. It seems the post-processing software you've used all handle it a bit differently so for your acquired signal it may not be possible.

 

Regards,

Deborah Y.

Deborah Burke
NI Hardware and Drivers Product Manager
Certified LabVIEW Architect
0 Kudos
Message 6 of 6
(2,435 Views)