08-25-2012 12:34 AM
Hi
I have an experimental acceleration signal that is decaying with respect to time
I want to get velocity by integrating this signal. Practically the velocity signal should also decay with respect to time. But the integrated signal is not decaying ? Where am I making a mistake?
Corresponding VI and The AccelerationDATA is in the attached files.
Thanks in anticipation
Solved! Go to Solution.
08-25-2012 12:39 AM
Hi
Sorry for inconvenience
Photo is attached herewith.
08-25-2012 08:17 AM
Looks like you have some positive DC offset in the accel signal which then integrates into a velocity ramp. A quick and dirty approximate solution would be to subtract off the best-fit straight line from the integrated velocity.
-Kevin P
08-25-2012 08:50 AM
Or, as I just posted to the same question in the Signal Conditioning Board, subtract the mean before integrating.
Lynn
08-25-2012 09:06 AM
I put a link to this thread in the other Board. Let's keep the discussion here.
Lynn
09-08-2012 04:51 AM
Sehgal wrote
I want to get velocity by integrating this signal. Practically the velocity signal should also decay with respect to time. But the integrated signal is not decaying ? Where am I making a mistake?
I think your mistake is your understanding of an integration 😉
If you accelerate something and stop the accelerating the item will stay at a constant velocity .....
If you want to include something like friction to get the velocity down to zero, I would add a 1 order highpass filter ... and put the timeconstant somewhere in the seconds rage ...
09-08-2012 05:20 AM
Thanks Kevin
Using your technique I have solved the problem.
Thanks a lot