How to determine the parameter alpha of a Complementary Filter?
I know that the Complementary Filter has the functions of both LPF and
HPF. But I think my understanding on the principal behind it is still
unclear.
I am quite new on digital signal processing, and maybe some very
fundamental explanations will help a lot.
Say I have a Complementary Filter as follows:
y = a * y + (1 - a) * x
Then my parameter a may be calculated by
a = time_constant / (time_constant + sample_period),
where the sample_period is simply the reciprocal of the sampling_frequency.
The time_constant seems to be at my own choice.
My Questions:
What is the theory behind this calculation?
How do we choose the time_constant properly?
No comments:
Post a Comment