Re: [foxboro] 12 hour ave

Take the 1 sec analog measurement into a calc block with a period time of 
1 sec. through RI01.
and send the 12 hr rolling average out RO01.
Step 1   IN RI01
Step 2   SUB M01
Step 3   DIV M02
Step 4   ADD M01
Step 5   STM M01
Step 6   OUT RO01
Step 7   END

Where M02 is a constant equal to (1time constant in seconds) / block 
period in seconds.
8hrs = approx 1 time constant = 28800 seconds
M02 = 28800 / 1 = 28800

M01 is the storage for the running average (first order lag filter).

Ray Chouinard
Process Control Eng
MeadWestvaco
Escanaba, MI







"Brian Long" <blong@xxxxxxx>
Sent by: foxboro-bounce@xxxxxxxxxxxxx
02/25/2004 08:08 PM
Please respond to foxboro

 
        To:     <foxboro@xxxxxxxxxxxxx>
        cc: 
        Subject:        Re: [foxboro] 12 hour ave


I need a rolling 12 hour average that the operators can watch, otherwise 
I'd
use a reduction group.  Thanks for the help.

-----Original Message-----
From: foxboro-bounce@xxxxxxxxxxxxx
[mailto:foxboro-bounce@xxxxxxxxxxxxx]On Behalf Of Schouten, Frits JF
Sent: Wednesday, February 25, 2004 6:24 PM
To: 'foxboro@xxxxxxxxxxxxx'
Subject: Re: [foxboro] 12 hour ave


Do you want a rolling average or an average per shift or what?
Reduction groups can help you a fair bit.
Filtering and cascading blocks can do it too.
Perhaps use cascading DTIME blocks.
Utilise the bucket array to first average 10 seconds, then feed the 
average
into the next DTIME block and average 10 of 10, and then 10 of 100 and 
then
10 of 1000 and then......
12 hour seconds is 43200 samples. Fair bit to go.

Cheers,
Frits.


-----Original Message-----
From: Brian Long [mailto:blong@xxxxxxx]
Sent: Thursday, 26 February 2004 12:54
To: Foxboro
Subject: [foxboro] 12 hour ave


I need to take an analog input running at 1 sec and average it over 12
hours.  I need to display the value so I can't use the historian 
functions.
Anybody got a simple solution?
Thanks,
Brian Long
E&I Superintendent
Green Bay Packaging
Arkansas Kraft Division




_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


EOM

NOTICE - This message and any attached files may contain information that 
is
confidential and/or subject of legal privilege intended only for use by 
the
intended recipient. If you are not the intended recipient or the person
responsible for delivering the message to the intended recipient, be 
advised
that you have received this message in error and that any dissemination,
copying or use of this message or attachment is strictly forbidden, as is
the disclosure of the information therein.  If you have received this
message in error please notify the sender immediately and delete the
message.




_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave




_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html

foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service._______________________________________________________________

Note:  Please update your email address for this user to reflect MeadWestvaco 
Corporation.  MeadWestvaco employee email addresses
are in the format of user@xxxxxxxxxxxxxxxx 

This electronic message contains information from MeadWestvaco
Corporation or subsidiary companies, which may be confidential,
privileged or otherwise protected from disclosure.  The
information is intended to be used solely by the recipient(s)
named.  If you are not an intended recipient, be aware that
any review, disclosure, copying, distribution or use of this
transmission or its contents is prohibited.  If you have
received this transmission in error, please notify MeadWestvaco
immediately at postmaster@xxxxxxxxxxxxxxxxx
_______________________________________________________________________

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: