PLUS+1 Software > Function Library

FunctionBlock for Average

(1/2) > >>

Keithang:
Hi,

We are busy programing a Pressure sensor however we have erratic values being relayed into the controller which in turn causes our test to fail.

A solution would be to gather information for a certain amount of time, and use the average to set failure or pass value.

Is there a function block to log and work out an average?
Eg.
1 - 5
2 - 3
3 - 10
4 - 5
5 - 1

Average for above is 4.8 (Values (24)added and divided by log number (5)


Jakob:
Hi,
have you tried the average filters in the Filters functions library?
http://powersolutions.danfoss.com/products/plus-1-software/plus-1-function-block-library/

/Jakob

Keithang:
Hi,

Yes we have.

We have created our own function library to calculate the average and give a more stable and accurate reading. Readings match a Physical gauge.

oiltronic:
Why didn't the Plus+1 average filter block work for you?

zwerver:
I came across a sample of a high pass filter. not so long ago. I thought to find it here. Did somebody deleted it or somebody knows where to find it. I was looking forward to try it. :(

Navigation

[0] Message Index

[#] Next page

Go to full version