Filter out misalignment of sensor signal

7 次查看(过去 30 天)
Hi,
I have taken measurements with a lasersensor that moves along an axis and takes distance measurements to a wall for each position (1, 2, 3, ...). It seems that the axis that the sensor is mounted on is not perfectly parallel to the wall so that I can see a trend which you can see in the image below. The blue line is my acquired signal, the red lines describe the signal within a measurement position (X number of points for each measurement position).
How can I filter out the misaligned sensor axis and simulate a perfectly aligned axis that is parallel to the wall?
Thanks.

采纳的回答

Star Strider
Star Strider 2021-7-9
I have no idea what ‘perfectly aligned axis’ means.
If you want to remove the baseline trend, the best option for this signal is likely a highpass or bandpass filter.
If you want a different result, please be specific.
.
  8 个评论
Konvictus177
Konvictus177 2021-7-10
Thanks, I will experiment with it a bit and yes, I do have the toolboxes.
Star Strider
Star Strider 2021-7-10
As always, my pleasure!
Out of my own curiosity, I would like to see what the desired result looks like, and the filter frequencies used to derive it.
.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Signal Processing Toolbox 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by