Host Engineering Forum
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 22, 2012, 03:17:47 pm


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: digital s/w filter  (Read 654 times)
bruce
Newbie
*
Posts: 2


« on: June 11, 2010, 11:56:16 am »

has anyone worked out code for a filter in a pid loop. i have a lot of noise in my K thermo's coming back to my plc. loops are for high temp glass ovens.
Logged
Greg
HOS†ech
Host Moderator
*****
Posts: 320


Hmmm...


WWW
« Reply #1 on: June 11, 2010, 12:11:28 pm »

In DirectSOFT5, there are 2 IBoxes: FILTER and FILTERB.

FILTER: BCD
FILTERB: Binary

Both of these do a 1st-order filter on the specified Raw Data value using the specified time interval.

New = Old + ((Raw - Old)/FDC)
« Last Edit: June 11, 2010, 12:16:35 pm by Greg » Logged

"You have to believe in free will. You have no choice." -Isaac Bashevis-Singer
bruce
Newbie
*
Posts: 2


« Reply #2 on: June 11, 2010, 12:37:53 pm »

thanks, i'll look for that and see how it works.
B
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM