I have the strain signal of a lateral beam of a car measured at sampling rate 1,200Hz from data acquiring system. Even after using temperature compensation in strain gage, we are getting drift. So I wanted to remove drift in post processing of the strain signal. I have tried using High pass filter (HPF) of order 10th with cutoff freq = 200Hz, but I am losing peaks of the strain signal. So HPF is not useful.
Which filter is suitable to remove drift for strain signals? considering the fact that I want to retain peaks and what other methods I can use to remove the drifts?
Also, what are the exact factors to consider in choosing the cutoff frequency for HPF? and how to check it is correct?
I have attached the strain signal and HPF filtered signal of 10th order.
x = filter([1 -1], [1 -0.998], x);
$\endgroup$