Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

which vi can return a average value of amplitude (or peak to peak value ) of a sinusoidal signal?

Hello, Friends.

 


I am searching a vi, that can return a average value of amplitude (or peak to peak value ) of vibration signal (a sinusoidal signal) in a certain period of time, for example ,1S, 0.5S. I have tried the '' Amplitude and Level Measurement.vi'', but it only return a difference between maximum positiv value and minimum peak value. it is, however, not a average value. can you give me some advise? which vi can return a average value of amplitude (or peak to peak value ) of a sinusoidal signal?

 

thank you  very much.

major: Precision Mechanics and Microtechnology
0 Kudos
Message 1 of 6
(5,468 Views)

What I ended up doing is using the Cycle Average & RMS.vi (Signal Processing->Waveform Measurement palette) in a FOR loop.  You need to determine how many cycles are in your waveform to know how many cycles to get.  From there, average the resulting means and/or RMS values.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 6
(5,460 Views)

Hey Gyver, 

 

This is the same question you posted to this thread. Please keep one question per one thread. 

 

As I posted in the other thread, I would use the Waveform Peak Detection VI in the Waveform Monitoring VIs Pallette. It finds the locations and amplitudes of peaks and valleys in Signal In and outputs an array of all the amplitudes of each peak. You can then average that array using the mean VI. Let me know if this helps!

 

Regards,

Cindy

0 Kudos
Message 3 of 6
(5,441 Views)

Hello,

 

i have tried, but it does not work. because the Cycle Average & RMS.vi can only return a cycle average of sine wave. The cycle average of a perfect sine wave is zero, as computed by the following equation. but i want to get a average value of amplitudse of sine wave, so that i can control the amplitude of the vibration. can you give me more advice?

 

 

 

thanks 

 

ning

major: Precision Mechanics and Microtechnology
0 Kudos
Message 4 of 6
(5,385 Views)

Hallo, CindyShark,

 

Thanks very much for your advice. i habe tried Waveform Peak Detection.VI and then average the mean value with mean.vi(or  mean PtByPt. vi😞  . but i have found some problems.

 

the  Waveform Peak Detection VI can only return the peaks OR valleys of the signal. but i want to get all the peaks AND valleys  in the acquisition time, sothat i can calculate the mean their value. Furthermore, the output (amplitude) of this vi produce a cluster of 1 element. it can not connect to the input (process variable) of the PID.vi.  The type of this input of the mean.vi (or mean PtByPt. vi ) is double [64 bit real( 15 digit precision)]. 

 

Have you yet idea to solve this problem?

 

Thank you very much.

 

 

 

major: Precision Mechanics and Microtechnology
0 Kudos
Message 5 of 6
(5,379 Views)

Try

Extract Single Tone Information VI

Owning Palette: Waveform Measurements VIs

Requires: Full Development System

Takes a signal in, finds the single tone with the highest amplitude or searches a specified frequency range, and returns the single tone frequency, amplitude, and phase. The input signal can be real or complex and single-channel or multichannel. Wire data to the time signal in input to determine the polymorphic instance to use or manually select the instance.

 

with sinus exitation you can get quite far with it 😉

 

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 6 of 6
(5,361 Views)