Before I begin, I have uploaded a video here on YouTube that shows my problem and what I'm trying to do(I vary the signal to different voltages a couple of times):

https://youtu.be/BJN3y4lsw_E

I currently have a voltage simulator hooked up to the analog input of the Click PLC to simulate a sensor signal (0-1V) to represent a total scale of 0-4095(so this gives me a resolution of 1 in the PLC). I need to convert this value to a percent, which seems to be working. However, the signal seems to be a little jumpy. When I check with a digital multimeter it appears to be fine. I need the percent value to be stable at least to 1 decimal place and not jump all over the place.

So I decided to try to implement a first order filter, and it doesn't seem to do much of anything. The formula I'm trying to follow is equation #6 found here:

http://automationprimer.com/2016/03/...and-filtering/

As you can see in the video, the Filtered Value and Filtered Percent are still not very stable. I even tried to play with the dampening factor to no success.

Is there a different approach that I can take to this? I can't present a reading onto an HMI that is jumping all over the place like this.

Thanks.

https://youtu.be/BJN3y4lsw_E

I currently have a voltage simulator hooked up to the analog input of the Click PLC to simulate a sensor signal (0-1V) to represent a total scale of 0-4095(so this gives me a resolution of 1 in the PLC). I need to convert this value to a percent, which seems to be working. However, the signal seems to be a little jumpy. When I check with a digital multimeter it appears to be fine. I need the percent value to be stable at least to 1 decimal place and not jump all over the place.

So I decided to try to implement a first order filter, and it doesn't seem to do much of anything. The formula I'm trying to follow is equation #6 found here:

http://automationprimer.com/2016/03/...and-filtering/

As you can see in the video, the Filtered Value and Filtered Percent are still not very stable. I even tried to play with the dampening factor to no success.

Is there a different approach that I can take to this? I can't present a reading onto an HMI that is jumping all over the place like this.

Thanks.

## Comment