Averaging Analog input from Flow meter

@ Tom Jenkins, where did you get that formula for the filtering algorithm is it a first order filter??
 
I agree that physical dampening is the way to go.

Also, check your flowmeter settings, you might have some filtering options on there as well. Your problem is not uncommon at all.
 
@ Tom Jenkins, where did you get that formula for the filtering algorithm is it a first order filter??


Yes... that is a classic first order filter. Usually the "1/k" term is referred to by the greek letter alpha and is restricted to 0 <= alpha <= 1. Stating it as 1/k is just a convenient way to implement the smoothing.

Nice graph... shows clearly that as you decrease alpha, you smooth the output... but that the smoothed curve now lags the real world by some amount. You have to decide how much lag your process can stand when you filter an input.
 
It is recommended that before flowmeter there is straight line long enough to eliminate vortexes. It should be long at least 10 times diameter of tube.

Best regard,
Vuckovic Goran.
 
It's not about the PLC, it's about whether the flowmeter itself is giving good data.

......

Many flowmeters cannot cope too well with the sort of rapidly changing (i.e. pulsating) flowrates produced by diaphragm or peristaltic pumps.

The only technology that can give precise results are positive displacement flowmeters. There are many types available, but the important thing is that the movements inside the flowmeter are directly proportional to what flows through it, at any speed.

Some "non-contact" flowmeter manufacturers claim to have some form of pulsation compensation built-in to their software algorithm. but at the end of the day the output is only going to be an approximation, however cleverly is it obtained.
 

Similar Topics

Hi, I have a bit of PLC experience in Siemens and have unfortunately been blessed with working on Automation Studio and B&R which has been a big...
Replies
5
Views
1,364
Hello Gurus, I have an analog, D.P. sensor; The reading bounces between .4 & .56 Inches of water coming into V3000 (0-4095). I need to use...
Replies
3
Views
3,913
The PLC code calculates oil flow rate and outputs it on D420. It is represented on the HMI as a vertical bar. Problem is that the operator says...
Replies
33
Views
4,933
Hello, I am working with a laser encoder that is providing the speed of a fiber strand to our AB 1756-L61 PLC. In order to calculate the amount...
Replies
3
Views
3,149
Hi ;Configure A1s64AD card in slot 3 is as attached. This is averaging count. my signals are coming in at channel 3 and 4. There are spiking so i...
Replies
1
Views
1,633
Back
Top Bottom