Author Topic: sensor input signal unstable  (Read 4814 times)

Offline macbahi

  • PLUS+1 Guru
  • *****
  • Posts: 125
  • Karma: +1/-0
sensor input signal unstable
« on: June 02, 2022, 11:21:34 PM »
Hi!

I have an unstable signal come from laser sensor. 
Please How can I make this signal stable?
I had using exp_filter but without effect.

Please how can I choose T1?

Welcome for other idea

Please could you help

Thanks in advance

cordially

Online G30RG3

  • PLUS+1 Expert
  • ****
  • Posts: 74
  • Karma: +3/-0
Re: sensor input signal unstable
« Reply #1 on: June 03, 2022, 01:39:00 PM »
Depends on what your unstable signal looks like.
Is your signal oscillating, and oscillating predictably? Then you could average the values out.
Is the signal mostly stable, with spike over- and undershoots?  Then I would start with setting limits.
Is there a cause for noise in the signal? Maybe you can subtract the noise from your input signal?
This looks more a maths question than a Guide programming question.
BR
G
« Last Edit: June 03, 2022, 04:32:01 PM by G30RG3 »