Advanced Process Manager Control Functions and Algorithms
Total Page:16
File Type:pdf, Size:1020Kb
Advanced Process Manager Control Functions and Algorithms AP09-600 Implementation Advanced Process Manager - 1 Advanced Process Manager Control Functions and Algorithms AP09-600 Release 650 12/03 Notices and Trademarks © Copyright 2002 and 2003 by Honeywell Inc. Revision 05 – December 5, 2003 While this information is presented in good faith and believed to be accurate, Honeywell disclaims the implied warranties of merchantability and fitness for a particular purpose and makes no express warranties except as may be stated in its written agreement with and for its customer. In no event is Honeywell liable to anyone for any indirect, special or consequential damages. The information and specifications in this document are subject to change without notice. TotalPlant and TDC 3000 are U. S. registered trademarks of Honeywell Inc. Other brand or product names are trademarks of their respective owners. Contacts World Wide Web The following Honeywell Web sites may be of interest to Industry Solutions customers. Honeywell Organization WWW Address (URL) Corporate http://www.honeywell.com Industry Solutions http://www.acs.honeywell.com International http://content.honeywell.com/global/ Telephone Contact us by telephone at the numbers listed below. Organization Phone Number United States and Honeywell International Inc. 1-800-343-0228 Sales Canada Industry Solutions 1-800-525-7439 Service 1-800-822-7673 Technical Support Asia Pacific Honeywell Asia Pacific Inc. (852) 23 31 9133 Hong Kong Europe Honeywell PACE [32-2] 728-2711 Brussels, Belgium Latin America Honeywell International Inc. (954) 845-2600 Sunrise, Florida U.S.A. Honeywell International Process Solutions 2500 West Union Hills Drive Phoenix, AZ 85027 1-800 343-0228 About This Publication This publication supports TotalPlant® Solution (TPS) system network Release 640. TPS is the evolution of TDC 3000X. This publication defines the Advanced Process Manager I/O and control functions that are available in software Releases 500 - 600. Used as a reference manual for process engineers, control-system engineers, and application engineers who design and implement data-acquisition and control strategies for TPS systems with Local Control Networks and Universal Control Networks. The user should be familiar with the system control functions described in System Control Functions in the Implementation/Startup & Reconfiguration - 2 binder before using this publication. Detailed descriptions of the parameters mentioned in this publication can be found in the Advanced Process Manager Parameters Reference Dictionary. APM Control Functions & Algorithms 12/03 APM Control Functions & Algorithms 12/03 Table of Contents 1 INTRODUCTION 1.1 General Description 1.1.1 I/O Functions 1.1.2 Control Functions 1.2 Common Functions 1.2.1 Point Form 1.2.2 Associated Display 1.3 Alarming 1.3.1 Alarm Priorities 1.3.2 Alarm Enable Status 1.3.3 Contact Cutout 1.3.4 Primary Module Point 1.3.5 Auxiliary Units 1.4 Red Tagging 1.5 References 2 I/O FUNCTIONS 2.1 Overview 2.2 High and Low Level Analog Input Point 2.2.1 PV Characterization 2.2.2 PV Range Checking and Filtering 2.2.3 PV Source Selection 2.2.4 Alarming 2.2.4.1 Disable Input Alarming When Using Open-Line Detection 2.3 Smart Transmitter Interface Point 2.3.1 Parameter Comparisons 2.3.2 STI IOP Functions 2.3.3 Smart Transmitter Communication Modes 2.3.4 Database Considerations 2.3.5 Point States 2.3.6 STI IOP Commands 2.4 Analog Output Point 2.4.1 Direct/Reverse Output 2.4.2 Output Characterization 2.4.3 Calibration Compensation 2.4.4 Disable Output Alarming when Using Open-Line Detection 2.5 Digital Input Point 2.5.1 Status Digital Input Point 2.5.2 Latched Digital Input Point 2.5.3 Accumulation Digital Input Point 2.5.4 Sequence Of Events Digital Input IOP 2.6 Digital Output Point 2.6.1 Pulse Width Modulated (PWM) Output Type 2.6.2 Status Output Type 2.6.3 Initialization Request Flag 2.7 Pulse Input Point 2.7.1 Operation 2.8 Serial Interface 2.8.1 Operation 2.8.2 Configuration 2.8.3 Checkpointing and Startup APM Control Functions & Algorithms i 12/03 Table of Contents 2.9 Serial Device Interface 2.9.1 Serial Device Interface Description 2.9.2 Manual/Auto Station Interface 2.9.3 Toledo Weigh Scale Interface 3 CONTROL FUNCTIONS OVERVIEW 3.1 Control Performance 3.1.1 Control Slot Types 3.1.2 Scan Frequency 3.1.3 Determining Processing and Memory Capacity 3.1.4 Performance Monitoring 3.2 Database Considerations 3.3 Point Execution State 3.3.1 Run-Idle-Run Transition 3.3.2 Warm Cold Restart 3.4 Peer-to-Peer Communication 3.4.1 Implementation 3.4.2 Restrictions 3.5 Hardware Reference Addressing 3.5.1 Find Names Function 3.6 Redundancy 3.7 Point Reservation 3.8 Status Messages 4 DIGITAL COMPOSITE POINT 4.1 Description 4.2 Point States 4.2.1 Normal States 4.2.2 Momentary States 4.2.3 Moving/Bad States 4.3 Mode Attributes 4.4 Interlocks 4.4.1 Permissive Interlocks 4.4.2 Override Interlocks 4.4.3 Configurable Interlock Bypass 4.4.4 Safety Interlocks for State 0 (SI0) 4.5 Commanded State (OP) 4.6 Digital Outputs 4.6.1 Latched Output 4.6.2 Pulsed Output 4.7 Output Connections 4.7.1 Digital Output Point—Latched Output 4.7.2 Digital Output Point—Pulsed Output 4.7.3 Logic Slot Flags 4.7.4 APM Box PV Flags APM Control Functions & Algorithms ii 12/03 Table of Contents 4.7.5 Device Control Slot Flags 4.7.6 Array Point Flags 4.8 Read-Back Check 4.9 Initialization Manual 4.10 Digital Inputs 4.11 Input Connections 4.11.1 Digital Input Point—PV 4.11.2 Logic Slot Output 4.11.3 Logic Slot Flags 4.11.4 APM Box PV Flags 4.11.5 Device Control Slot Flags 4.11.6 Array Point Flags 4.11.7 Process Module Slot Flags 4.12 Current Input State (PV) 4.13 PV Source 4.13.1 PV Source Option 4.14 Alarming 4.14.1 Command Disagree, Command Fail, and Uncommanded Change 4.14.2 Off-Normal 4.15 Change-of-State Events 4.16 Local Manual Indication 4.17 Maintenance Statistics 4.17.1 Reset and Redtag 5 LOGIC POINT 5.1 Functions 5.2 Configuring the Logic Point 5.2.1 Logic Input Connections 5.2.2 Flags 5.2.3 Numerics 5.2.4 Logic Blocks 5.2.5 Output Connections 5.2.6 Generic Descriptors 5.3 Logic Block Algorithms 5.3.1 Null (Null) 5.3.2 AND Gate (AND) 5.3.3 OR Gate (OR) 5.3.4 NOT Gate (NOT) 5.3.5 NAND Gate (NAND) 5.3.6 NOR Gate (NOR) 5.3.7 XOR Gate (XOR) 5.3.8 Qualified OR Gate with 2 Inputs ON (QOR2) 5.3.9 Qualified OR Gate with 3 Inputs ON (QOR3) 5.3.10 Switch (SWITCH) 5.3.11 Compare Equal with Deadband (CE) 5.3.12 Compare Not Equal with Deadband (NE) 5.3.13 Compare Greater Than with Deadband (GT) 5.3.14 Compare Greater Than or Equal with Deadband (GE) 5.3.15 Compare Less Than with Deadband (LT) APM Control Functions & Algorithms iii 12/03 Table of Contents 5.3.16 Compare Less Than or Equal with Deadband (LE) 5.3.17 Check for Bad (CHECKBAD) 5.3.18 Fixed-Size Pulse (PULSE) 5.3.19 Pulse with Maximum Time Limit (MAXPULSE) 5.3.20 Pulse with Minimum Time Limit (MINPULSE) 5.3.21 Delay (DELAY) 5.3.22 On Delay (ONDLY) 5.3.23 Off Delay (OFFDLY) 5.3.24 Watchdog Timer (WATCHDOG) 5.3.25 Flip-Flop (FLIPFLOP) 5.3.26 Change Detect (CHDETECT) 5.4 Logic Block Alarms 5.4.1 Configurable Alarms 6 PROCESS MODULE DATA POINTS 6.1 Purpose of the Process Module Data Point 6.1.1 CL/APM Sequence Program 6.1.2 Sequence Program/Unit Partitioning 6.1.3 Writing the Sequence Programs 6.1.4 Sequence Program Structure 6.1.5 Sequence Execution 6.1.6 Process Module Operating State 6.1.7 Sequence Execution Mode 6.1.8 Sequence Execution State 6.1.9 Sequence Overrides 6.1.10 Sequence Alarms 6.1.11 Sequence Messages 6.1.12 Restart Option 7 REGULATORY PV POINT 7.1 Features 7.2 PV Input Connections 7.3 PV Algorithm Calculation 7.4 PV Range Check and Filtering 7.4.1 PV Value Status 7.5 PV Source Selection 7.6 PV Alarm Detection 7.7 PV Algorithms 7.7.1 Data Acquisition (DATAACQ) 7.7.2 Flow Compensation (FLOWCOMP) 7.7.3 Middle of Three Selector (MIDOF3) 7.7.4 High Selector, Low Selector, Average (HILOAVG) 7.7.5 Summer (SUMMER) 7.7.6 Variable Dead Time with Lead-Lag Compensation (VDTLDLG) 7.7.7 Totalizer (TOTALIZR) 7.7.8 General Linearization (GENLIN) 7.7.9 Calculator (CALCULTR) APM Control Functions & Algorithms iv 12/03 Table of Contents 8 REGULATORY CONTROL POINT 8.1 Functions 8.2 Control Input Connections 8.3 PV Source Selection (Pid, PosProp, and RatioCtl Algorithms) 8.4 Modes 8.4.1 Mode Attribute 8.4.2 Normal Mode 8.4.3 Normal Mode Attribute 8.4.4 Remote Cascade Handling (Pid Algorithms) 8.5 Safety Shutdown 8.6 External Mode Switching 8.7 Setpoint Handling 8.7.1 Setpoint (SP) Limits (Pid, PosProp, PidPosPr, and RatioCtl Algorithms) 8.7.2 SP Target-Value Processing (Pid, PosProp PidPosPr, and RatioCtl Algorithms) 8.7.3 PV Tracking (Pid Algorithms) 8.7.4 Deviation and Advisory Deviation Alarming 8.7.5 Bad Output Alarm 8.7.6 Ratio and Bias Options (Pid Algorithms) 8.7.7 SP Access Restrictions 8.8 Setpoint/Output (SP/OP) Tolerance Check 8.9 Alarm Detection 8.10 Control Output Processing 8.10.1 Initial Control Processing 8.10.2 Output High and Low Limits 8.10.3 Output Rate-of-Change Limits 8.10.4 Output Minimum-Change Limit 8.10.5 Output Limiting in Manual Mode 8.10.6 Control Output Connections 8.11 Initialization 8.11.1 PV Initialization 8.11.2 Control Initialization 8.12 Windup Protection 8.12.1 Windup Status 8.12.2 Status Propagation 8.13 Override Control 8.13.1 O/R Status and Feedback 8.13.2 Processing in an Override Control Strategy 8.13.3 Guidelines for Using Override Control 8.14 Control Algorithms 8.14.1 Proportional, Integral, Derivative (PID) 8.14.2 PID with Feedforward (PIDFF) 8.14.3 PID with External Reset-Feedback (PIDERFB) 8.14.4