DeltaV Control Module Execution

Similar documents
DeltaV Engineering Seat Software Suite

DeltaV InSight. Introduction. Benefits. Gain new process insight from embedded process learning. Easily identify underperforming control loops

Dynamic Core with Mimic

DeltaV OTS Express: A New Approach to Operator Training

XLReporter for DeltaV Analyze

DeltaV Continuous Historian

DeltaV Continuous Historian

Application Station Software Suite

Advanced Continuous Historian

ProfessionalPLUS Station Software Suite

Performance Learning Platform

DeltaV InSight. DeltaV InSight. Introduction. DeltaV Product Data Sheet. Gain new process insight from embedded process learning

DeltaV Distributed Control System October PAT and Batch Recipe Execution

An Evaluation of the Impact of Electronic Marshalling on a Process Safety Project Execution Process

DeltaV InSight. DeltaV InSight. Introduction. DeltaV Product Data Sheet. Gain new process insight from embedded process learning

Electronic Batch Records

Reduce paper-based errors

Oil & Gas Industry. Smart Remote Automation. An Extension of PlantWeb Digital Architecture. PlantWeb

Emerson Digital Twin: A Key Technology for Digital Transformation

AMS Device Manager with the DeltaV System

Base Station. Base Station. Introduction. DeltaV Product Data Sheet. Adaptable work environment. Scalable to suit your needs. Dedicated functional use

Enhance your terminal operations and performance.

Guardian Support for Syncade Smart Operations Management Suite

Business Case for Dynamic Simulation

DeltaV Enclosures. DeltaV Whitepaper. January 2013 Page 1

Mimic Simulation Software Overview

Guardian Support and Guardian Support + Repair for Portable Analyzers and Online Systems

DeltaV Continuous Historian

Embedded Enterprise Historian

Improve reliability by communicating and managing asset health.

Guardian Support and Guardian Support + Repair for Portable Analyzers and Online Systems

How Real Users Benefited from Effective Asset Management. Improving Performance Across the Lifecycle of a Facility

Improve Process Performance by Validating Systems and Preparing Operations

Windows Server Capacity Management 101

Call the Fire Department: How to Move Towards a Paperless Work Environment. Session Q&A

How to Do Capacity Planning

Reducing operations & maintenance costs

Improve reliability by communicating and managing asset health.

technical bulletin Subcooler Control

Guardian Support for AMS Suite

Introduction to Operating Systems Prof. Chester Rebeiro Department of Computer Science and Engineering Indian Institute of Technology, Madras

Tecnomatix Plant Simulation

Improve reliability by communicating and mananging asset health.

Roxar Weight Loss Coupon Holder and Coupons 1 Retractable System

Scheduling I. Today. Next Time. ! Introduction to scheduling! Classical algorithms. ! Advanced topics on scheduling

Introduction to Operating Systems. Process Scheduling. John Franco. Dept. of Electrical Engineering and Computing Systems University of Cincinnati

CashInsight Bridge Console

Demand Management User Guide. Release

Cell Therapy and Right First Time Manufacturing

Guardian Support for AMS Device Manager

Daniel Orifice Fittings and Meter Tubes

SureService Customer Support Programs. Improve Your Competitive Advantage and Bottom Line Business Results

Rosemount 8800 Series of Instrumentation Vortex Flowmeters. Delivering on the Promise of Vortex

How Reliability Impacts Shareholder Value by Bruce Hawkins, CMRP

TerminalManager v5.1. Operational Features. Features. Remote Automation Solutions. D301810X012 January 2018

CPU Scheduling. Chapter 9

Daniel TM Ultrasonic Flow Meters

Fiscal Measurement and Remote Automation. Oil & Gas SCADA Services and Solutions

INTELLIGENT PARALLELING AND CIRCULAR REDUNDANCY: TWO TECHNOLOGIES FOR HIGHER UPS EFFICIENCY

Temperature stability of anion exchange resins

comp 180 Lecture 04 Outline of Lecture 1. The Role of Computer Performance 2. Measuring Performance

Announcements. Program #1. Reading. Is on the web Additional info on elf file format is on the web. Chapter 6. CMSC 412 S02 (lect 5)

Scheduling. CSE Computer Systems November 19, 2001

Product Support Agreement

SureService Program. Benefits. Introduction. Service Data Sheet November Best-in-class system reliability. Preventive maintenance package

Online Interfaces and Optional Features

What s New with Version 9.5

9. Verification, Validation, Testing

PROGNOSIS FOUNDATION FOR BASE24-eps (UNIX)

IBM Sterling B2B Integrator

Accounting. (Release ) Product Update

Certif ication Exam Guide. Infor Certified WFM Time & Attendance Consultant v6.2 Exam #: HCM-77

INTRODUCTION. It is the process used to identify the correctness, completeness and quality of developed computer software.

Epicor Eagle EMV Implementation Guide. Step-by-Step

Comp 204: Computer Systems and Their Implementation. Lecture 10: Process Scheduling

Energy Advisor. Introduction. Energy Advisor. Product Data Sheet October 2014

Topic 1, Main(95 Questions)

Calibration Excellence

Sizing SAP Hybris Billing, pricing simulation Consultant Information for Release 1.1 (et seq.) Document Version

Verify if a device can stand all kinds of protocol variations

Motivation. Types of Scheduling

Wall Mount DeltaV Cabinet

ConvergeOne. The Value of Nectar s UCD in Cisco Contact Center Environments. Unified Communications Diagnostics Module USE CASE

Avis Europe improves business agility and cost control with real-time project planning

Kent Learning Zone (KLZ)

Addressing UNIX and NT server performance

Microsoft Business Solutions-Axapta Production enables you to flexibly manage your manufacturing processes for increased profitability.

CUSTOMER SAP Screen Personas: Software and Delivery Requirements

IQAN Software Studios Electronic Remote Controls. Catalog HY /UK June, 2007

Item Tracking in Microsoft Dynamics

Service Operation. Scenario One

Desktop Activity Intelligence

Homework 2: Comparing Scheduling Algorithms

Introducing the World s Best PC Fleet Power Management System

An Oracle White Paper January Upgrade to Oracle Netra T4 Systems to Improve Service Delivery and Reduce Costs

Service Operation. Scenario One

Software System Integration. Chapter 8 Software testing 1

Itaú BBA to safeguard business operations and financial transactions with CA Service Assurance solutions

ASSET MANAGEMENT SYSTEMS ANALYSIS

Hot Vendors TM in Workflow and Content Automation, 2018

Transcription:

DeltaV Distributed Control System White Paper October 2016 DeltaV Control Module Execution This document explains how the execution of control modules is managed in the DeltaV controller.

Table of Contents Introduction... 3 Controller Task Categories... 3 Module Priorities... 5 Controller Loading Recommendations... 6 www.emerson.com/deltav 2

Introduction The DeltaV controller is responsible for executing a variety of tasks. The most obvious one is the execution of the configured control modules. However, the controller performs several other tasks, such as I/O processing, communications, and diagnostics. All of the above tasks have to be serviced within a certain time for the controller to function optimally. A scheduler is responsible for controlling the execution of the modules in the controller. The controller has a finite amount of resources (CPU time and memory) to execute its tasks. This document explains how the execution of control modules is managed. Controller Task Categories The breakdown of all the tasks in the DeltaV controller is beyond the scope of this document. However, it is useful to generalize the tasks into two major categories to develop an understanding of the relative priority of those categories. The two main categories are CONTROL tasks and OTHER tasks. The main tasks in the OTHER category are redundancy management, communications, and self-test. (See Fig.1 for the relative priority of these tasks.) There is no difference in the way the scheduler works on an MD/ MDPlus compared to an M5Plus controller. The MD has a faster CPU and a floating point co-processor. This allows it to execute more instructions (especially floating point) per second. If the controller is normally loaded, then all these tasks can be serviced effectively, and the priority of the tasks is not called into play. However, it is possible to overload the controller by requiring it to perform too much configuration and communication processing. When the controller is overloaded, lower priority tasks are paused until higher priority ones can be completed. Typically there are two ways that a controller can be overloaded : The maximum amount of CONTROLtime has been reached. There is a fixed maximum amount of CPU time that is allocated to run the control modules. This is known as CONTROLtime. When there is no configuration in the controller, actual CONTROLtime is 0% and the diagnostic attribute FreTim (Free Time) reads 100%. If the configuration loaded in the controller needs to use more than the allotted CONTROLtime, the execution of one or more modules will be slower than the configured scan rate. This condition is called Slippage. Too much communications processing If the configuration does not consume all of the CONTROLtime then there is (100% actual CONTROLtime) left for the OTHER operations. If the execution of the OTHER tasks requires more than (100% - actual CONTROLtime), controller operations will systematically degrade by making lower priority operations in the controller wait until a higher priority operation has completed. In very severe overload situations, some tasks in the controller will suspend indefinitely until the controller has been re-configured to reduce load. www.emerson.com/deltav 3

Figure 1 Relative controller task priorities. Controller-to-controller communications are conducted via request/response messages. Most controller-to-workstation communications (reporting of data) are conducted using unsolicited messages. Processing of request/response messages is a higher priority task than unsolicited messages. This means that, in general, controller-to-controller communications is not affected by controller-to-workstation communications. In the common overload scenario, module execution will slip and the slippage indicators will indicate which priority modules are slipping. In this overload scenario, the scheduler is still able to police module execution. However, in certain overload conditions, the execution of Medium and Low priority control modules sometimes has to time-slice with communications tasks. This is normally caused by a misbehaving configuration that makes the scheduler lose its ability to fully police the execution of modules. This typically occurs when a module takes longer than 50ms to execute. This can happen if there are too many heavy function blocks (such as calc-logic) in one module. In this case, the scheduler is inhibited from being able to enforce the CONTROLtime limit for module execution. Since it is important that communications can still happen during this condition, operating system time slicing allows the communications tasks to get some share of the processor, despite the misbehaving control module that is trying to hog CPU time. It is important to ensure that the communications with the controller are still alive in this situation because the fault can be rectified with a download of a more suitable configuration. I/O scanning happens in an interrupt service routine and is therefore not subject to task priorities. As far as controller loading is concerned, the time spent scanning I/O is negligible compared with the major task categories. Most of the I/O processing occurs in the context of control, for example when an I/O function block is executed. If the controller does not have enough time to execute all tasks, then the major pieces of functionality to degrade will be certain lower priority communication tasks and Low Priority Control. The initial degree of degradation causes the reporting of data to the workstations to be sluggish. For Low Priority Control, modules will not execute on time. In an extreme case, data is not reported to the workstation at all and Low Priority modules do not execute. www.emerson.com/deltav 4

Module Priorities There are three module priorities : High, Medium, and Low. The prioritiy of a module is determined by its configured scan rate. Scan Rate (seconds) High Priority Medium Priority Low Priority Figure 2 Module priority. 0.1 0.2 0.5 1 2 5 10 30 60 The allocation of the available CPU time to the three priority groups is dynamic, within certain bounds. High priority control is not allowed to take the entire amount of CONTROLtime. High priority modules will start slipping if total high priority control exceeds the limit (45% of CONTROLtime) set for High priority control. This guarantees that there is some time for medium and low priority modules to execute. Hence, it is possible to see slippage of High priority modules even when there is some overall free time in the controller. If the modules cannot complete in the time allotted, there will be slippage. When this happens one or more of the diagnostic attributes HPCTONTIME, MPCTONTIME, LPCTONTIME will read less than 100%. Assuming that there is some free time, all modules will eventually execute. The controller automatically adjusts the priority of a module when it is placed in the debug state. In v5.x, High and Medium priority modules run at Medium priority and Low priority modules run at Low priority. In v4.2 all debug sessions run at Medium Priority. The limits for CONTROLtime and OTHER activities in the controller are release dependent and may be changed to make optimum use of the controller resources. www.emerson.com/deltav 5

Controller Loading Recommendations The function block scan rate multiplier should be used to make some function blocks run slower than the configured module scan rate if these blocks do not have to execute on every scan of the module. Use the lowest practical scan rate for modules. Many process applications only need a 1 sec scan time. Level loops are often very much slower. Temperature loops may be slow too. Pay attention to the function block execution order since this will affect the actual response time of a module to a change in the input. Be aware of the relative scan rates of interacting modules to achieve the optimum response time. The execution order of modules cannot be configured and no particular order should be assumed. Use CALC blocks sparingly because the processing of structured text (expressions) creates a higher loading than an equivalent function block would. Verify, via Diagnostics, that there are no unresolved references in the configuration. Unresolved references will create unnecessary burst loads because the controller will periodically try to resolve them. In some instances the Comparator function block may be substituted for a Calc / Condition block. The Comparator block has less flexibility than the condition block but it is more efficient. It is recommended that a minimum of 10-20% free time be maintained. Do not create modules with lots of function blocks, especially CALC blocks. In typical configurations, redundancy management consumes (5-15%) of the CPU, depending on the amount of data that has to be transferred to the standby controller. Keep this in mind when planning the configuration. Use the latest Load Estimator utility to plan the configuration Emerson North America, Latin America: +1 800 833 8314 or +1 512 832 3774 Asia Pacific: 65 6777 8211 Europe, Middle East: +41 41 768 6111 www.emerson.com/deltav 2016, Emerson Process Management. All rights reserved. The Emerson logo is a trademark and service mark of Emerson Electric Co. The DeltaV logo is a mark of one of the Emerson Process Management family of companies. All other marks are the property of their respective owners. The contents of this publication are presented for informational purposes only, and while every effort has been made to ensure their accuracy, they are not to be construed as warranties or guarantees, express or implied, regarding the products or services described herein or their use or applicability. All sales are governed by our terms and conditions, which are available on request. We reserve the right to modify or improve the designs or specifications of our products at any time without notice.