×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Differentiation with highpass filter

Differentiation with highpass filter

Differentiation with highpass filter

(OP)
Hi, I have position data from a tracker and I want to calculate velocity and acceleration. Simple [x(i)-x(i-1)]/?t and some other formulaes does not give good results.

I want to try to use a highpass filter with slope '1' (20db/dec) from 0 to 10 Hz (my area of interest) to calculate the derivative.

Anyone knows how can I define a filter which will have characteristics close to what I want? How can I specify the slope in a e.g. Butterworth filter.
Can I define a filter with its transfer function (for example the transfer function H=s/(s-10) I think has the impulse response I need.

Thanks a lot for your help in advance.
Regards,
George

RE: Differentiation with highpass filter

You should be using something akin to a Kalman filter.  There are tons of books on that and trackers in general.   

A high-pass filter is a derivative in Fourier transform space.

TTFN



RE: Differentiation with highpass filter

The above methods I believe are fairly intuitive.

Also Oppenheimer and Schaffer's  "Discrete Time Signal Processing" 2nd ed, p482-485 discusses some more elaborate methods.

One appears to be time domain convolution of your input signal with a non-causal IIR filter defined by equation 7.70.  And example using Kaiser window is given.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Differentiation with highpass filter

[quote]Simple [x(i)-x(i-1)]/dt and some other formulaes does not give good results.[/quoute]

One thing you'll not from the numerical recipes link is that you'll expect significnatly better results using
[x(i+1)-x(i-1)]/[2*dt]

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Differentiation with highpass filter

Albeit at the risk of reducing your information bandwidth by a rather hard to work out amount, but roughly 50%

Cheers

Greg Locock

Please see FAQ731-376 for tips on how to make the best use of Eng-Tips.

RE: Differentiation with highpass filter

Yes I agree.

=====================================
Eng-tips forums: The best place on the web for engineering discussions.

RE: Differentiation with highpass filter

(OP)

Finally I found my way. The numerical differentiations I tried were really noisy.
A Butterworth high pass filter that I designed with the help of the FDAtool did the trick finally.
Thanks for helping ;)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources