CompactLogix Analog Input filtering/Dampening

JimmyG

Member
Join Date
Dec 2012
Location
Melbourne
Posts
5
Hi All,

Please see my below logic and AI configuration for a new Sick Laser DT500 that I am using for position feedback. The compute instruction expression is correct however the signal bounces around and I would like to smooth this out.

If anyone has a proven formula that I could use to dampen or filter the signal that would be much appreciated.

Thanks in advance

Jimmy G

YOIxzyOJ5aAGKgMAzERUAgDoEpUAALpEJQCALlEJAKBLVAIA6BKVAAC6RCUAgC5RCQCgS1QCAOjaFJX+D9ZMF8YPt2QHAAAAAElFTkSuQmCC
 
Hi
I would get 5 readings and then discard the highest and lowest and average the remaining 3

If you have the part number of the card others may have schemes specific to that
 
FV=FV+C(NV-FV)
Where:
FV= Filtered value
C= constant (range 0-.99) The smaller the number the more dampening.
NV= New Value

Filtered Value= Filtered Value+Constant*(New Value-Filtered Value)

New Value = Unfiltered Value

Constant= 0.00-.99 The smaller the number the more damping
 

Similar Topics

I had some recent issues with the analog inputs on an L23E. At first, I did not wire the analog com back to 24 neg and that was a lot of it...
Replies
34
Views
3,899
Hey guys, running into issues trying to get some analog input and output cards for customers needing a few points here and there. with that in...
Replies
15
Views
4,914
I am noticing odd behavior with a CompactLogix PLC I have here as a test unit. I have absolutely no I/O wiring on this unit, I just use it to...
Replies
2
Views
2,088
Hello AGAIN, Sorry for the plethora of questions today, but I must have brought some bad JUJU back to work with me, as I seem to be running into...
Replies
16
Views
7,147
After reading the 1769-IF16C compact Logix analog input current module field wiring connection we noticed that it be used only with 2 wires and 3...
Replies
5
Views
7,942
Back
Top Bottom