Detecting Ascending Analog Values and Configuring Gradient Monitoring in PCS 7 MonAnL

Detecting Ascending Analog Values and Configuring Gradient Monitoring in PCS 7 MonAnL

To detect when an analog process variable (such as mechanical vibration or vessel temperature) is ascending rapidly before it reaches the static high alarm limit (H = 10), utilize the built-in Gradient Monitoring functionality of the PCS 7 APL MonAnL block. By setting GradEn = 1, GradHUpEn = 1, and defining a positive rate-of-change threshold in GradHUpLim (units per second or minute), MonAnL continuously calculates the derivative (dPV/dt) and immediately activates GradHUpAct when the rising slope exceeds the allowable rate. Alternatively, configure the multi-stage static alarm limits by setting High Tolerance (TH_Lim) and High Warning (WH_Lim) below the High Alarm (AH_Lim) to receive early warnings as the value climbs.

Table of Contents

Executive Summary

In continuous process automation and machinery protection, waiting for an analog signal (e.g. bearing vibration, compressor discharge temperature, or hydraulic pressure) to cross a fixed high alarm limit ($H = 10$) often leaves insufficient time to prevent catastrophic mechanical damage or batch loss. Plant engineers frequently require an early detection mechanism that identifies when a process variable is ascending rapidly from a baseline (0 to 9) before the alarm limit is reached. The SIMATIC PCS 7 Advanced Process Library (APL) provides native mathematical rate-of-change detection within the MonAnL (Analog Monitoring Large) function block. This article outlines the mathematical principles of gradient evaluation, explains how to configure positive rate-of-change limits (GradHUpLim), and contrasts gradient monitoring with multi-tier static threshold alarms.

Architecture and Fundamental Mechanics

Mathematical Gradient Calculation, MonAnL Functionality, and Multi-Tier Alarming Mechanics:

  • Mathematical Derivative Calculation ($dPV/dt$) in MonAnL:
  • The MonAnL block computes the gradient (velocity / rate-of-change) of the process value (PV) across execution cycles.
  • The gradient is calculated using the difference quotient:
    $$\text{Grad} = \frac{PV_k - PV_{k-1}}{\Delta t}$$
  • The time base is governed by parameter TimeFactor:

    • TimeFactor = 0: Gradient expressed in Engineering Units per Second (EU/s).
    • TimeFactor = 1: Gradient expressed in Engineering Units per Minute (EU/min).
    • TimeFactor = 2: Gradient expressed in Engineering Units per Hour (EU/h).
  • Directional Gradient Limits in MonAnL:

  • GradEn = 1: Enables the internal gradient calculation engine.
  • GradHUpLim: High limit for positive gradient (detects rapid ascending values).
  • GradHDnLim: High limit for negative gradient (detects rapid descending / dropping values).
  • GradLUpLim / GradLDnLim: Low gradient limits for slow rate detection.
  • GradHUpAct: Boolean output that turns TRUE when the ascending rate exceeds GradHUpLim.
  • GradHUpEn = 1: Enables automated OS alarm generation in WinCC when GradHUpAct trips.

  • Multi-Tier Static Alarming vs Dynamic Gradient Monitoring:

  • Static Limit Tiers: MonAnL supports six independent static limits: Alarm High (AH_Lim), Warning High (WH_Lim), Tolerance High (TH_Lim), Tolerance Low (TL_Lim), Warning Low (WL_Lim), and Alarm Low (AL_Lim).
  • By setting TH_Lim = 5.0 and WH_Lim = 8.0 below AH_Lim = 10.0, the operator receives progressive warnings as the value climbs, even if the rate of increase is very slow.
  • In contrast, Gradient Monitoring detects an acute, steep spike (e.g. vibration surging from 1.0 to 6.0 in 2 seconds), generating an immediate alert even when the process value is still far below the static warning limit.

Step-by-Step Implementation Procedure

  1. Open the CFC Chart and Locate the MonAnL Instance:
    * In SIMATIC Manager, navigate to the target CFC chart containing the analog measurement.
    * Double-click the chart to open the CFC editor.
    * Locate the MonAnL block instance monitoring the sensor signal.

  2. Enable and Parameterize Gradient Monitoring:
    * Open the block properties dialog or inspect pins in the chart:

    • Set GradEn = 1 (Enables gradient calculation).
    • Set TimeFactor = 1 (Units per minute; use 0 for fast vibration in units per second).
    • Set GradHUpLim = 2.5 (Trips if the value climbs faster than 2.5 units per time factor).
    • Set GradHUpEn = 1 (Enables WinCC alarm generation for ascending gradient).
    • Set GradHUpMsgEn = 1 (Enables message logging).
  3. Configure Multi-Stage Early Warning Static Limits:
    * If intermediate threshold warnings are also desired:

    • Set AH_Lim = 10.0 (Critical High Alarm limit).
    • Set WH_Lim = 8.0 (High Warning limit).
    • Set TH_Lim = 5.0 (High Tolerance limit).
    • Ensure corresponding enable bits are set: AH_En = 1, WH_En = 1, TH_En = 1.
    • Set a reasonable Hysteresis (e.g. 0.2) to prevent alarm chatter.
  4. Interconnect Gradient Action to Interlock or Advance Warning Logic:
    * If the ascending rate should trigger automated protective actions (such as slowing an agitator or bypassing a valve), interconnect output GradHUpAct to an upstream interlock block (Intlk02 / Intlk04) or trip logic.

  5. Compile and Download CFC Changes:
    * Execute a delta compile and download of the automation system.
    * In WinCC OS, verify that the MonAnL faceplate displays the gradient indicator and that the Alarm Logging dictionary records gradient alarm messages.

Verification

  1. Switch the CFC chart to Test Mode (Ctrl+F).
  2. Simulate a slow increase on PV_In from 0 to 9 over 10 minutes:
    * Observe that GradHUpAct remains 0 (within allowable slope).
    * Observe that TH_Act trips at 5.0 and WH_Act trips at 8.0.
  3. Simulate an abrupt spike from 0 to 6 in 1 second:
    * Observe that GradHUpAct immediately turns 1, even though PV has not reached the warning limit of 8.0 or alarm of 10.0.
  4. Verify that the WinCC Alarm banner displays 'Gradient High Positive' message.

Limitations and Operational Precautions

Raw analog signals with electrical noise or high process jitter can generate spurious gradient trips because numerical differentiation amplifies high-frequency noise. Always apply a first-order low-pass filter (via the Filter parameter on Pcs7AnIn or a Smooth block) before evaluating gradients. Gradient monitoring should supplement, but never replace, static safety shutdown limits.

Engineer FAQ

What parameter enables gradient monitoring in MonAnL?

Setting GradEn = 1 enables the gradient calculation, and GradHUpEn = 1 enables the ascending gradient alarm.

What does TimeFactor configure in MonAnL?

TimeFactor sets the time base for rate-of-change calculation: 0 = seconds, 1 = minutes, 2 = hours.

What is the difference between GradHUpLim and GradHDnLim?

GradHUpLim monitors the rate of ascending (rising) values, while GradHDnLim monitors the rate of descending (falling) values.

Can MonAnL generate multiple warning levels before reaching the alarm limit?

Yes, MonAnL supports High Tolerance (TH_Lim), High Warning (WH_Lim), and High Alarm (AH_Lim), providing three levels of early alert.

How do I prevent false gradient alarms caused by signal noise?

Enable input signal filtering on the channel driver (Pcs7AnIn.Smooth or FilterTime) and configure an appropriate deadband on MonAnL.

Technical References

Related Articles

Related Tags

  • MonAnL
  • Gradient Monitoring
  • Rate of Change
  • Analog Monitoring
  • APL
  • Alarm Limits
  • Vibration
  • PCS 7 V9.0
20 respuestas