PLUS+1 User Forum

PLUS+1 Hardware => Controllers => Topic started by: macbahi on June 02, 2022, 11:21:34 PM

Title: sensor input signal unstable
Post by: macbahi 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
Title: Re: sensor input signal unstable
Post by: G30RG3 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