LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

what is the best way to get exponential decay of signal????

Solved!
Go to solution

i need to find exponentil decay of the signal and then dmping what isthe best way i am posting my vi plz help

0 Kudos
Message 1 of 11
(4,053 Views)

I can't open your vi... still stuck with an older version....

However: Depending on your signal (pic? )  the hilbert transformation to create (and add)  an 'imaginary' part, and looking at the magnitude of that complex wfrm is one way to get the decay 🙂

 

If you have an edjucated guess of the funktion: let the LM- Fit do the work ....

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 2 of 11
(4,043 Views)

thaks bro

here is the vi in old version i just need to find damping of the signal

0 Kudos
Message 3 of 11
(4,024 Views)

Still not clear to me at what signal you need to look ...

 

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 4 of 11
(3,992 Views)

here i s the actual signal i will get 

please see attachment

0 Kudos
Message 5 of 11
(3,990 Views)

dear sir

 i am getting this kind of signal from oscilloscope and want to have some measurements that oscilloscope donot provide here is the example of what i get from oscilloscope then i need to find damping

0 Kudos
Message 6 of 11
(3,992 Views)

Hi deutchland,

 

it looks like a sine wave multplied by an exponential decay - kind of easy to program!

 

What have you tried so far? Where are you stuck?

Can't you apply a simple mathematical formula?

 

Edit - saw your downconverted VI now: find the peaks in your signal! From peak positions you can determine sine wave period and exponential decay parameters quite easily…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 7 of 11
(3,958 Views)

ok i will try. thanks for your help

actually i am getting output on spring mass based system.

kind regards

deutschland

0 Kudos
Message 8 of 11
(3,955 Views)

Hi Deutchland,

 

I agree with GerdWs Answer, I think the easiest way will be to detect the maxima of the curve. You could also use the Hilberts Transformation for this, but I'm not that deep into the mathematics behind it to explain what exactly to do with it. Try using the maxima to build a new curve, and then just detect its damping, if you have trouble with this, just let me know!

 

Best,

Jan Göbel

Staff Applications Engineer

0 Kudos
Message 9 of 11
(3,949 Views)
Solution
Accepted by deutchland

Here is a link to a (open access 🙂 ) paper that explains and compare the two methods I mentioned before:

COMPARISON OF HILBERT TRANSFORM AND SINE FIT APPROACHES FOR THE DETERMINATION OF DAMPING PARAMETERS

more in the references 😉

 

for the hilbert transformation I add something to play:

 

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 ǝɥʇ'


Message 10 of 11
(3,918 Views)