Control Loop Performance Monitoring
Control Loop Performance Monitoring
Monitoring
Chapter 7: Reference 71
CLPM Terminology 72
Control Loop Asset Definition 72
KPI Reference for CLPM 107
iii
Copyright GE Digital
© 2020 General Electric Company.
GE, the GE Monogram, and Predix are either registered trademarks or trademarks of General Electric
Company. All other trademarks are the property of their respective owners.
This document may contain Confidential/Proprietary information of General Electric Company and/or its
suppliers or vendors. Distribution or reproduction is prohibited without permission.
THIS DOCUMENT AND ITS CONTENTS ARE PROVIDED "AS IS," WITH NO REPRESENTATION OR
WARRANTIES OF ANY KIND, WHETHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
WARRANTIES OF DESIGN, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. ALL OTHER
LIABILITY ARISING FROM RELIANCE UPON ANY INFORMATION CONTAINED HEREIN IS EXPRESSLY
DISCLAIMED.
Access to and use of the software described in this document is conditioned on acceptance of the End
User License Agreement and compliance with its terms.
1
Control Loop Performance Monitoring Overview
Topics:
OR
1. Alerts
Alerts notify you about potential problems with control loops. Consult the section of this documentation
on deploying CLPM analytics for details on analytics that trigger alerts and how to configure them.
CLPM Terminology
The following terms are frequently used in control loop performance monitoring (CLPM).
Term Description
PV (Process Variable) This is the measured process variable, reflecting the actual state
of the process that is being controlled.
P (Proportional Value) Normally the Proportional Gain value of the PID controller.
I (Integral Value) Normally the Integral Gain value of the PID controller.
D (Derivative Value) Normally the Derivative Gain value of the PID controller.
F (Filter Value) Normally the Filter Time Constant value of the PID controller.
Final Control Element (FCE)/ Actuator The device that is physically affected by a change in the MV so
as to have an impact on the process.
2
Get Started with CLPM
Topics:
Tenancy Requirements
Ensure that your OPM application instance has the following apps and services set up:
• Application Analytics
• The Asset Model Service
• The Time Series Service
• The Dashboard Service
• Predix Event Hub
• Predix Insights
• KPI Management
• Analysis Service
• Alert Service
Analytics Requirements
Ensure that you have access to the CLPM analytics in the Analytics Catalog.
Browser Requirements
Only the Chrome 43 or higher browser is supported for accessing the Loop and Fleet Dashboards.
Note: Most KPIs will not be calculated for this control mode.
CLPM provides an example Predix Insights analytic to get you started towards developing your own
control mode analytic. The resulting analytic will vary depending on your available data, but each control
mode analytic must produce a result that matches one of the tag values in the table above.
'''
Created on Aug 30, 2018
@author:
'''
from pyspark.sql import SparkSession
from pyspark.sql import *
from pyspark.sql import functions
from pyspark.sql.types import *
from pyspark.sql.dataframe import *
from pyspark.sql.functions import *
import sys
import time
from datetime import datetime
class ControlModeScript():
# ################ DO NOT EDIT ########################
MANUAL = "1.0"
AUTO = "2.0"
CASCADE = "3.0"
SHUTDOWN = "4.0"
QUALITY_GOOD = "3"
QUALITY_BAD = "0"
# ################ END ########################
Tag_XXYYDF = tsContext.sql("SELECT
COALESCE(tag_XXDDF.asset, tag_YYDDF.asset) as
asset,COALESCE(tag_XXDDF.timestamp,tag_YYDDF.timestamp) as timestamp,
tag_XXDDF.value_XX, tag_XXDDF.quality_XX,
tag_YYDDF.quality_YY,tag_YYDDF.value_YY FROM tag_XXDDF FULL OUTER JOIN
tag_YYDDF ON tag_XXDDF.asset = tag_YYDDF.asset and tag_XXDDF.timestamp
= tag_YYDDF.timestamp DISTRIBUTE BY asset")
Tag_ZZVVDF = tsContext.sql("SELECT
COALESCE(tag_ZZDDF.asset, tag_VVDDF.asset) as
asset,COALESCE(tag_ZZDDF.timestamp,tag_VVDDF.timestamp) as
timestamp,tag_ZZDDF.quality_ZZ, tag_ZZDDF.value_ZZ,
tag_VVDDF.quality_VV,tag_VVDDF.value_VV FROM tag_ZZDDF FULL OUTER JOIN
except Exception as e:
print("ERROR RETURNED")
logger.info("Error: " + str(e))
exc_tb = sys.exc_info()[2]
logger.info("Line number: " + str(exc_tb.tb_lineno))
# ################ END ########################
Available Tags
The following configurable tags can be queried in the script. These tags will be mapped to tags in Predix
TimeSeries.
• Tag_VV
• Tag_XX
• Tag_YY
• Tag_ZZ
For these tags, the timestamp, quality, and value (T,Q,V) are represented in a table with the following
columns:
Example Query
The script includes the following example query:
def control_mode_query(self):
string = "timestamp as timestamp, CASE WHEN quality_XX != 3 OR
quality_YY != 3 OR quality_ZZ != 3 OR quality_VV != 3 THEN " +
self.SHUTDOWN
string += " WHEN value_XX = 1 THEN "+self.MANUAL+" WHEN
value_YY = 1 THEN "+self.AUTO+" WHEN value_ZZ = 1 THEN "+self.CASCADE
+" WHEN value_VV = 1 THEN "+self.SHUTDOWN+" ELSE "+self.SHUTDOWN+" END
as value," + self.QUALITY_GOOD +" as quality"
return string
Procedure
1. For the Control Mode Template Analytic, create a Spark analytic called OPM-CLPM-Control_Mode,
following the guidance given in the Spark and Application Analytics documentation.
2. Publish the analytic to the Analytics Catalog.
3. Set up the input and output definitions as follows:
Tag_XX Double No
Tag_YY Double No
Tag_ZZ Double No
Note: For each of the tags used in your Control Mode Analytic, ensure that you specify the
corresponding tag as Required in the input definition.
Next Steps
Now that you have set up the control mode logic, you are ready to deploy the CLPM analytics.
OPM-CLPM-Control_Mode Operates on scheduled data and contains Will be in your Analytics Catalog if you
the control mode logic. have correctly performed the step to Set
Up Control Mode Logic.
OPM-CLPM-PV_Statistics Scheduled and produces the following Located in your Analytics Catalog. If you
KPIs based on the incoming data: do not find it there, contact your tenant
administrator.
• PV Error
• Lower SP Threshold
• Upper SP Threshold
OPM-CLPM-Performance Scheduled and produces a set of Located in your Analytics Catalog. If you
performance KPIs based on the incoming do not find it there, contact your tenant
data. administrator.
OPM-CLPM-Performance_Ext Scheduled and produces a set of Located in your Analytics Catalog. If you
performance KPIs based on the incoming do not find it there, contact your tenant
data. administrator.
OPM-CLPM-Config_Change Scheduled and produces the Total PIDF Located in your Analytics Catalog. If you
Changes KPI based on the incoming data. do not find it there, contact your tenant
administrator.
Consult the KPI Reference for details on
this KPI.
OPM-CLPM-Alert_Perf Scheduled and produces an alert for poor Located in your Analytics Catalog. If you
overall performance. do not find it there, contact your tenant
administrator.
The Overall Performance KPI is compared
to a threshold configured on the analytic.
For the last 3 hourly calculated samples, if
the Overall Performance KPI is greater
than the threshold, an alert is triggered.
OPM-CLPM-Alert_Limits Scheduled and produces an alert for Located in your Analytics Catalog. If you
limits being exceeded. do not find it there, contact your tenant
administrator.
The Percentage Limits Exceeded KPI is
compared to a threshold configured on
the analytic. For the last 3 hourly
calculated samples, if the Percentage
Control On KPI is 100% and the
Percentage Limits Exceeded KPI is greater
than the threshold, an alert is triggered.
OPM-CLPM-Alert_Manual Scheduled and produces an alert for Located in your Analytics Catalog. If you
control mode changing to Manual Mode. do not find it there, contact your tenant
administrator.
Control mode changes are examined over
a data window of one hour. If the last
control mode change detected is a
change from Auto, Cascade, or Shutdown
Mode to Manual Mode, an alert is
triggered.
OPM-CLPM-Alert_PV_Quality Scheduled and produces an alert for poor Located in your Analytics Catalog. If you
PV sensor data, indicating that a possible do not find it there, contact your tenant
PV sensor health problem has been administrator.
detected.
OPM-CLPM-Alert_Tuning Scheduled and produces an alert Located in your Analytics Catalog. If you
indicating possible loop tuning or design do not find it there, contact your tenant
problems. administrator.
OPM-CLPM-Alert_MV_Quality Scheduled and produces an alert for poor Located in your Analytics Catalog. If you
MV sensor data, indicating that a possible do not find it there, contact your tenant
actuator health problem has been administrator.
detected.
Note: Using the steps described here, all CLPM analytics must be deployed, starting with the OPM-CLPM-
Control_Mode analytic.
Note: Variations in configuration between the different kinds of CLPM analytics are explained in the
tables that follow the procedure.
Procedure
1. Log into your tenant.
2. In the module navigation menu, select Analytics > Deployments.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Control_Mode > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & It is mandatory to map the Map the analytic inputs to tags
ATTRIBUTES Tag_VV input. The Tag_XX, on the selected control loop
Tag_YY, and Tag_ZZ inputs are asset. These tags are used to
optional. determine control mode logic.
OUTPUT DEFINITION: TAGS It is mandatory to map the Map the analytic outputs to
& ATTRIBUTES Control Mode output. This tag tags on the selected control
specifies the control mode loop asset. Ensure that the
logic. analytic output name matches
the corresponding mapped tag
name exactly.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: Map for All Assets
and outputs in your analytic <analytic_name> > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Map the analytic inputs to tags
ATTRIBUTES on the selected control loop
asset. Ensure that each
analytic input name matches
the corresponding mapped tag
name exactly.
OPM-CLPM-Config_Change Analytic
Configure the OPM-CLPM-Config_Change analytic as described in the table that follows.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Config_Change > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Not all the P, I, D, and F inputs Map the analytic inputs to tags
ATTRIBUTES need to be mapped, as these on the selected control loop
inputs are optional. However, asset. Ensure that each
some will have to be mapped. analytic input name matches
the corresponding mapped tag
name exactly.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_Perf > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: Overall Map the analytic input to the
ATTRIBUTES Performance, Type: Double. tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly. The Overall
Performance tag is a KPI tag
produced by a previously run
CLPM analytic.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_Limits > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: Percentage Map the analytic input to the
ATTRIBUTES Limits Exceeded, Type: Double. tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly. The Percentage
Limits Exceeded tag is a KPI
tag produced by a previously
run CLPM analytic.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_Manual > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: Control Map the analytic input to the
ATTRIBUTES Mode, Type: Double. tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_PV_Quality >
template definitions to tags on Tag Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: PV, Type: Map the analytic input to the
ATTRIBUTES Double tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly. This tag is
needed to calculate
percentage good quality. For
the calculated samples over
the last data window, the
percentage of PV values that
are of good quality is
compared to the
PV_Quality_Threshold constant
you will configure on this page.
CONSTANTS: Required input tag: Control Map the analytic input to the
Mode, Type: Double tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_Tuning > Tag
template definitions to tags on Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: Reversal Map the analytic input to the
ATTRIBUTES Count, Type: Double. tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly. The Reversal
Count tag is a KPI tag
produced by a previously run
CLPM analytic. This KPI is
compared to the
Reversal_Count_Threshold
constant you will configure on
this page.
1. Asset Selection: Select the Asset Filters All Assets Filter on All Assets. Use the
target control loop assets for search to select the target
the analytic deployment. control loop assets for the
analytic deployment.
2. I/O Mapping: Map inputs SELECTED STEP: OPM- Map for All Assets
and outputs in your analytic CLPM-Alert_MV_Quality >
template definitions to tags on Tag Mapping
the control loop asset.
INPUT DEFINITION: TAGS & Required input tag: MV, Type: Map the analytic input to the
ATTRIBUTES Double tag on the selected control
loop asset. Ensure that the
analytic input name matches
the corresponding mapped tag
name exactly. This tag is
needed to calculate
percentage good quality. For
the calculated samples over
the last data window, the
percentage of MV values that
are of good quality is
compared to the
MV_Quality_Threshold
constant you will configure on
this page.
3
The Fleet Report
Topics:
The pie charts illustrate the different fault modes of your control loops and the corresponding number of
alerts. Each pie chart is further classified based on the alert status. The pie charts display the total the
number of open and closed alerts. Each pie chart has a list displaying the top three control loops
contributing the most number of alerts, in descending order.
On selecting the Open area of the pie chart, the details about the loops with the open alerts are updated
in the list below the pie charts. Also, the Control Loop Performance table is updated to list only the
control loops with open alerts.
Tip: Select Reset to reset the Diagnostic Alerts Filtering smart filter and the Control Loop
Performance table.
In the Fleet Report, you can modify the reporting period by selecting a date prior to the current date in the
Date Selector box. You can sort data based on any column in this table. By default, the table is sorted
based on the value in the Performance Index AVG (100-0) column.
You can filter data in the table by:
• Applying a global filter on the table
• Using multiple-level filters
• Using text in the filter field
• Using conditional parameters
You can search for a specific control loop using different search options.
For each loop in the selected asset context, the table contains the following information.
Loop The name of the control loop asset. If you select the link in this
column, the Loop Report appears.
Limits Exceeded AVG (%) The percentage of time for which the loop was in Auto, Cascade,
or Manual mode, where the limits for these modes were
exceeded. The time when the loop was in shutdown mode is not
included in this statistic.
Performance Index AVG (100-0) The average of the performance index during the specified
reporting period. The value ranges from 100 to 0, where 100
indicates poor performance and 0 indicates good performance.
By default, the table is sorted based on the value in this column.
MV Saturation AVG (%) The percentage of time that the MV for each loop was
saturated.
Manual AVG (%) The percentage of time that the loop was in the manual control
mode.
Auto AVG (%) The percentage of time that the loop was in the auto control
mode.
Cascade AVG (%) The percentage of time that the loop was in the cascade control
mode.
Shutdown AVG (%) The percentage of time that the loop was in the shutdown
control mode.
Good Quality Data (%) The percentage of time that the data was of good quality.
PV Variability AVG The average PV variability. This value is a measure of the data
spread in the PV data set, expressed as a percentage.
Total Configuration Changes The number of times the controller configuration was changed
during the reporting period.
Absolute Error (Aggregate) AVG The average of the absolute values of all errors during the
reporting period. Error is calculated as the difference between
PV and SP.
Tip: Sorting the table based on this field is useful only if all loops
use the same unit of measure.
4
The Loop Report
Topics:
Procedure
1. In the OPM navigation menu, go to Intelligence > Control Loop Performance.
The fleet dashboard appears, displaying the Average Control Loop Performance graph, diagnostic
alerts filtering, and the Control Loop Performance Table on selecting the required asset in the Select
Context window.
2. In the Control Loop Performance Table of an associated fleet report, select the link in the loop
column.
The Loop Report appears, displaying the preconfigured widgets for graphs and tables. The report
contains data for the selected asset context from the Fleet Report.
Procedure
Note: By default, the Loop Report is plotted with data reported for the current date. For example, when
you directly access the loop report on 12th November, 2018 20:00:00, the dashboard is plotted with data
reported from 12th November, 2018 00:00:00 to 12th November, 2018 20:00:00 (till the latest available
data point). The loop report can be displayed for a time period of one day only.
1. Access the Loop Report whose date you want to modify.
The Date Selector box appears, displaying the default date. You can access data for a single day. Data
is reported till the current time of the day. For example, if the current date and time is 20th November,
2018 20:00:00, and you select 20th November, 2018, then data is reported from 20th November, 2018
00:00:00 to 20th November, 2018 20:00:00. However, if the current date and time is 20th November,
2018 20:00:00, and you select 19th November, 2018, then data is reported from 19th November, 2018
00:00:00 to 20th November, 2018 00:00:00.
2. Select the Date Selector box.
The date selector window appears.
3. Select the date you want to set, and then select Apply.
The date is modified, and the report is updated. The date for which the data is reported appears in the
upper-right corner of the report.
Tip: You can reset the date to the default value by selecting reset.
Upper Limit A step chart representing the trend of the acceptable upper
limit for the PV value. The Upper Limit on this chart represents
the Upper SP Threshold KPI. Consult the KPI Reference for the
definition of the Upper SP Threshold.
Lower Limit A step chart representing the trend of the acceptable lower
limit for the PV value. The Lower Limit on this chart represents
the Lower SP Threshold KPI. Consult the KPI Reference for the
definition of the Lower SP Threshold.
The trend of the PV values is centered Process is under control. None. Maintain the parameter settings.
around the trend of the SP values.
The trend of the PV values exceeds the Process is not under control. Tune the control loop to reduce process
trend of the upper or lower limit. variation.
Gaps in the trend line. The plotted data contains a mix of good Investigate why the quality of some data
and bad quality data. is bad.
A flat trend line appears. • There has been no change in data for • Investigate why there is no change in
the time period selected. The last data.
recorded value is maintained. • Fix the connection to the real-time
-or- server.
• The connection to a real-time server
has been lost.
An empty chart. The quality of all the data for the selected Investigate why the quality of data is bad.
time period is bad.
Red bars appear. The samples can be interpreted as Install a different type of controller, either
follows: a larger one that is more suitable for the
purpose, or a smaller one that is more
• < 6%: Indicates that the control
energy-efficient and cost-effective.
element is operating at a very low
saturation level and that the element
is oversized.
• > 95%: Indicates that the control
element is operating at a very high
saturation level and that the element
is undersized.
Yellow bars appear. The samples can be interpreted as Monitor the control element for signs of
follows: asset fatigue.
Blue bars appear. The controller is operating at the desired None. This is the ideal value.
capacity, that is, in the range of 31%
through 70%. More samples in this range
indicate that the controller is well-
designed.
Image displays a message stating that Data is not available for the selected time Investigate if there is a loss of connection
there is no data. period. with the database.
An empty histogram appears. The quality of all the data for the selected Investigate why the quality of data is bad.
time period is bad.
One trend interval (bin) appears with This indicates that there has been no data Verify and fix the connection to the real-
majority of data counts. change, and that the last recorded value time server.
has been maintained.
Flat histogram, with no discernible peaks, The control element is operating over its Optimize the size of the control element.
appears. whole range to control the PV. This
typically indicates that the control
element is too small for the system and
will cause asset fatigue over time.
1 Manual
2 Auto
3 Cascade
4 Shutdown
The blue trend line is set to Shutdown. Indicates that the control element is in Ensure that the system is operating in the
the Shutdown mode. required control mode.
The red trend line indicates the MV • < 5%: Indicates that the control Optimize the size of the controller.
percentage functioning value over the element is operating at a very low
total calibrated range. saturation level and that the element
is oversized.
• 5 - 30%: Indicates that the control
element is operating close to its
lower saturation level.
• 30 - 70%: Indicates that the control
element is operating at its optimal
value. This is the ideal value for the
variable.
• 70 - 95%: Indicates that the control
element is operating close to its
higher saturation level.
• > 95%: Indicates that the control
element is operating at a very high
saturation level and that the element
is undersized.
The blue trend line is set to Bad. The data was of bad quality and loop Identify the reason for bad quality data.
statistics could not be calculated.
Check the connection to the server or
database.
A report with no value for MV in the y-axis Either the MV has no data or the data is of Investigate which of these is true and
appears. bad quality. why.
Gaps in the trend line appear. Data was a mixture of good and bad Investigate why the quality of some data
quality. is bad.
A flat trend line appears. • There has been no change in data for • Investigate why there is no change in
the time period selected. The last data.
recorded value is maintained. • Fix the connection to the real-time
-or- server.
• The connection to a real-time server
has been lost.
The Control Mode and MV values are The control element has an appropriate None. The controller is well-tuned.
responding quickly relative to the PV and reaction to changes in the PV.
SP values in the PV trend.
The Control Mode and MV values are The control element has a sluggish Tune the control loop PIDF parameters.
responding very slowly relative to the PV reaction to changes in the PV.
and SP values in the PV trend.
The histogram bars appear in red. The error is out of acceptable limits. Control the PV so that it functions within
the defined process limits.
The histogram bars appear in blue. The error is in acceptable limits. None.
Bimodal or oscillating distribution of Possible friction exists in control element. Check the functioning of the control
histogram bars appears. element.
Histogram bars appear primarily in the Possible errors in loop tuning exist, or the Check the functioning of the control
higher error range. control element is not working effectively. element. Tune the PIDF controller
parameters.
One trend interval (bin) appears with There has been no change in PV error for Investigate why there is no change in
majority of data counts. the time period selected. The last data. Fix the connection to the real-time
recorded value is maintained. Or, the server.
connection to a real-time server has been
lost.
An empty histogram appears. The quality of all the data for the selected Investigate why the quality of data is bad.
time period is bad.
Duration (%) Indicates the percentage of time the control loop operated in
each controller mode. This is the average value of the
Percentage <control mode> KPI.
Lower Limit Exceeded (%) Indicates the percentage of time the loop operated below the
lower limit. This is the average value of the Percentage <control
mode> LL Exceeded KPI.
Upper Limit Exceeded (%) Indicates the percentage of time the loop operated above the
upper limit. This is the average value of the Percentage <control
mode> UL Exceeded KPI.
Total Limits Exceeded (%) Indicates the total percentage of time that the loop operated
out of limit. This value is calculated as the sum of the Lower
Limit Exceeded (%) and Upper Limit Exceeded (%) values.
Note: Consult the KPI Reference for the definition of each KPI referenced in the preceding table.
The last row in the table, Total, contains the sum of values in each column for all control modes, except
the Shutdown mode.
In the Total row, if the value in the Duration (%) column is not 100%, it indicates missing data for the
selected time period, possibly due to bad quality data.
Manipulated Variable [%] The average value of the control variable, If the variable is not in the ideal range,
expressed as a percentage. install a different type of controller.
Depending on the variable value, install
• < 5%: Indicates that the control
either a larger controller that is more
element is operating at a very low
suitable for the process, or a smaller one
saturation level and that the element
that is more energy-efficient and cost-
is oversized.
effective.
• 5 - 30%: Indicates that the control
element is operating close to its
lower saturation level.
• 30 - 70%: Indicates that the control
element is operating at its optimal
value. This is the ideal value for the
variable.
• 70 - 95%: Indicates that the control
element is operating close to its
higher saturation level.
• > 95%: Indicates that the control
element is operating at a very high
saturation level and that the element
is undersized.
Total MV Movement An indication of the absolute sum of all Investigate and optimize the size of the
changes made in the MV. The closer the control system.
value for this variable is to zero, the closer
the MV is to staying at a constant value.
Average MV Change [%] The average percentage change in the MV Investigate and optimize the size of the
between samples. The closer the value for control system.
this variable is to zero, the closer the MV
is to staying at a constant value.
MV Oscillation Count [#] The number of times that the MV changes Add a better filter to the control system.
direction. This indicates the level of noise
in the system. The closer this value is to
zero, the less noise there is in the system.
Average oscillation amplitude [%] The average percentage change in the MV Investigate and optimize the control
before changing direction. element.
• 0: The closer this value is to zero, the
closer the MV is to staying at a
constant value.
• <5% Indicates a good control system.
• > 5%: Indicates a possibility of
damage or failure, but must be
viewed in conjunction with the
number of controller oscillations.
MV Saturation [%] The percentage of the reporting window Investigate for a possibility of an
for which the controller output is undersized or oversized control element,
saturated. a malfunctioning control element, or
other causes for MV saturation, and
The controller output is considered
optimize the control element.
saturated when the MV has a value of 0
(the lower limit for controller output
saturation) or 100 (the upper limit for
controller output saturation). The closer
this is to zero, the more likely it is that the
control element is appropriately sized and
functioning correctly.
Duration Not Utilized [%] The percentage of the reporting window If the percentage of time not utilized is
for which the loop is not in use. too high this can be for either or both of
the following reasons:
The loop is considered to be not in use if it
is in manual mode or if the controller • The loop spends a large proportion of
output is saturated. The controller output time in manual mode. Investigate the
is considered saturated when the MV has reasons for that behavior.
a value of 0 (the lower limit for controller • Investigate for a possibility of an
output saturation) or 100 (the upper limit undersized or oversized control
for controller output saturation). The element, a malfunctioning control
closer this is to zero, the more likely it is element, or other causes for MV
that the loop is in a mode other than saturation, and optimize the control
manual and the control element is element.
appropriately sized and functioning
correctly.
Note: Consult the KPI Reference for the definition of each KPI referenced in the Interpretation column of
the preceding table.
Average PV Limits exceeded This value is an average of the percentage of time the PV
exceeded the upper or lower limits.
PV Variance [%] This value is a measure of the average deviation of the PV from
the average PV, expressed as a percentage of the reporting
window span.
Note: Consult the KPI Reference for the definition of each KPI referenced in the preceding table.
Integrated Error This value indicates the percentage time the process has spent
out of limits.
This is the sum of the Integrated Sum KPI values for the window.
Average Error This value indicates the average tag error. Tag error is the
difference between process variable and set point, expressed as
a percentage.
Average Absolute Error This value indicates the average absolute value of the tag error.
PV Error Standard Deviation This value indicates the standard deviation of the tag error,
where the tag error is the difference between process variable
and set point, expressed as a percentage.
5
The Loop Analysis Template
Topics:
Procedure
1. Access the loop analysis whose date you want to modify.
The Date Selector box appears, displaying the default date as current date. For example, if today's
date is 21st November, 2018, then the default time range in the loop analysis is 20th November, 2018
00:00:00 to 21st November, 2018 00:00:00.
2. In the drop-down list box, select an option as specified in the following table.
Note: For each day that is included in the date range, data is reported for the complete day (that is, 24
hours). Therefore, the time that appears in the drop-down list box is not considered in the report. For
example, even if 1st November, 2018 3:00:00 to 2nd November, 2018 1:00:00 is the specified date
range, data is reported for the following date range: 1st November, 2018 00:00:00 to 3rd November,
2018 00:00:00.
Option Description
Date Select this option if you want to access data for a single day. If, however, you select the current date, data is
Selector reported for the previous day. For example, if you select 19th November, 2018, then data is reported from
19th November, 2018 00:00:00 to 20th November, 2018 00:00:00. If, however, the current date is 19th
November, 2018, then data is reported from 18th November, 2018 00:00:00 to 19th November, 2018
00:00:00.
Time Span Select this option if you want to access data for the past day, week, month, three months, six months, or year.
For example, if you select 1W, and if the current date is 21st November, 2018, then data is reported from 14th
November, 2018 00:00:00 to 21st November, 2018 00:00:00.
Date & Time Select this option if you want to access data for a day, week, month, three months, six months, or year up to a
Span selected date. If, however, you select the current date, data is reported till the previous day. For example, if you
select 13th November, 2018, and then select 1D, then data is reported from 13th November, 2018 00:00:00 to
The date range is modified, and the analysis is updated. The date and time range for which the data is
reported appears in the upper-right corner of the analysis.
Tip: You can reset the date range to the default value by selecting reset.
6
Manage Loops
Topics:
• Add a Loop
• Modify a Loop
• Delete a Loop
Procedure
1. Define the asset classification.
2. Create asset instances.
(Follow the instructions in the APM Asset documentation for creating asset instances.)
3. Set up tag classifications for outputs.
4. Associate inputs and outputs for control loop assets.
5. Modify all existing analytic deployments to add the asset to the deployments. Consult the section of
this documentation on deploying CLPM analytics for details.
IMPORTANT: If this step is not performed, analytics will be unable to produce KPIs and alerts for the
loop.
Modify a Loop
To modify a loop:
Procedure
1. Log in to your tenant.
2. In the module navigation menu, select Assets.
3. Use the Context Browser to select the control loop asset instance you want to modify.
4. In the control loop asset instance, hover over, then select the field on the asset you want to modify. It
will only be possible to modify those properties that you should be able to modify.
For Custom Attributes on the control loop asset and on the tags associated with the control loop
asset, consult the Control Loop Asset Definition for CLPM to ensure that the changes you make comply
with the definition/template. The following custom attributes are important for CLPM configuration:
Custom Attribute Function
Attributes > Custom Attributes > Lower SP Offset Used to calculate the Lower SP Threshold.
Attributes > Custom Attributes > Upper SP Offset Used to calculate the Upper SP Threshold.
Tags > PV or MV > Custom Attributes > Minimum Operating Value Used for data clipping.
Tags > PV or MV > Custom Attributes > Maximum Operating Value Used for data clipping.
Note: It is important to ensure that your modifications to custom attributes conform to the control
loop asset definition for CLPM. If your change does not conform to this definition, CLPM will be unable
to function correctly.
For other properties common to both control loop assets and other kinds of assets, consult the APM
Asset documentation for asset instances.
Results
The newly modified value for the field you have changed appears on the control loop asset instance page.
Delete a Loop
To delete a loop:
Procedure
1. Log in to your tenant.
2. In the module navigation menu, select Assets.
3. Use the Context Browser to select the asset instance you want to delete.
4. Select the trash icon and confirm that you want to delete the loop.
5. Modify all existing CLPM analytic deployments to remove the asset from the deployments.
7
Reference
Topics:
• CLPM Terminology
• Control Loop Asset Definition
• KPI Reference for CLPM
Term Description
PV (Process Variable) This is the measured process variable, reflecting the actual state
of the process that is being controlled.
P (Proportional Value) Normally the Proportional Gain value of the PID controller.
I (Integral Value) Normally the Integral Gain value of the PID controller.
D (Derivative Value) Normally the Derivative Gain value of the PID controller.
F (Filter Value) Normally the Filter Time Constant value of the PID controller.
Final Control Element (FCE)/ Actuator The device that is physically affected by a change in the MV so
as to have an impact on the process.
Make String
Model String
Series String
Loop Priority Enumeration Enumeration (High, Required Used for filtering during
Medium, Low) visualization.
Tag Classification
Category String
Resolution String
Setpoint The Specifies Numeric Any Any Any Any Any Any No Yes
setpoint the
for the appropri
process ate unit
variable of
(PV) measure
represen .
ts the
desired
value for
PV.
PV Process Specifies Numeric Any Used as Used as Any Any Any No Yes
variable the a a
appropri custom custom
ate unit attribute attribute
of to to
measure specify specify
. the the
upper lower
limit of limit of
the PV the PV
tag. tag.
This is This is
the the
upper lower
Engineer Engineer
ing ing
(clipping (clipping
) limit ) limit
for PV. for PV.
Data Data
outside outside
of this of this
limit is limit is
not used not used
for for
calculati calculati
ons. ons.
MV The Specifies Numeric Any Any Any Any Any Percent No Yes
controlle the age
r output appropri [0%-100
or ate unit %]
"Manipul of
ated measure
Variable .
"
P Proporti Specifies Numeric Any Any Any Any Any >0 Optional No
onal the
value appropri
ate unit
of
measure
.
I Integral Specifies Numeric Any Any Any Any Any >0 Optional No
value the
appropri
ate unit
of
measure
.
D Derivati Specifies Numeric Any Any Any Any Any >0 Optional No
ve value the
appropri
ate unit
of
measure
.
F Filter Specifies Numeric Any Any Any Any Any >0 Optional No
value the
appropri
ate unit
of
measure
.
Control Control Specifies Numeric Any Any Any Any Any Enumer No Yes
Mode Mode the ation
appropri
(Auto,
ate unit
Manual,
of
Cascade
measure
,
.
Shutdo
wn)
Analytic Outputs
Each output is identified with the Control Loop KPI tag classification.
Consult the KPI Reference topic for descriptions of the KPIs corresponding to each output tag, along with
formulas and notes on interpreting each KPI.
Note: The following applies to the Tag Source ID.
• The Tag Source ID must be of the form <AssetID>.<Output Tag Name> for all analytic outputs.
• The <AssetID> in the table that follows refers to the ID of the asset to which the tag belongs.
• For example, observe that the Tag Association in the Example Loop Asset for Percentage
Controller Output, for the Loop1 asset with ID Loop1, the Tag Source ID must be
Loop1.Percentage Controller Output.
• When manually creating the tags on the asset, this property is referred to as the Source ID.
• When constructing Asset Ingestion files, this property is referenced using the ID in the tags
section.
Note:
The Master Quality referenced in the table that follows is good if all the following tags are of good quality:
• Control Type
• MV
• PV
• SP
Percent The Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age average the D>.Perc age Quality
Controll MV appropri entage [0%-100
er value ate unit Controll %]
Output (express of er
ed as a measure Output
%). .
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age Not age Not the D>.Perc age Quality
Utilized Utilized appropri entage [0%-100
ate unit Not %]
of Utilized
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age MV age MV the D>.Perc age Quality
Saturati Saturati appropri entage [0%-100
on on ate unit MV %]
of Saturati
measure on
.
Overall Overall Specifies Numeric Any Any Any Any Any <AssetI Percent Master
Perform Perform the D>.Over age Quality
ance ance appropri all [0%-100
ate unit Perform %]
of ance
measure
.
Moveme Gives Specifies Numeric Any Any Any Any Any <AssetI Master
nt Index the sum the D>.Move Quality
of all appropri ment
changes ate unit Index
of the of
MV, measure
divided .
by 100
Control Calculat Specifies Numeric Any Any Any Any Any <AssetI Master
Amplitu es the the D>.Cont Quality
de sum of appropri rol
all MV ate unit Amplitu
rate of of de
change measure
values .
divided
by the
total
number
of
samples
Reversal The Specifies Numeric Any Any Any Any Any <AssetI MV
Count number the D>.Reve Quality
of times appropri rsal
MV ate unit Count
changes of
direction measure
.
Reversal Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
Amplitu age the D>.Reve age Quality
de Reversal appropri rsal [0%-100
Amplitu ate unit Amplitu %]
de of de
measure
.
Integrat Integrat Specifies Numeric Any Any Any Any Any <AssetI Master
ed Sum ed Sum the D>.Integ Quality
appropri rated
ate unit Sum
of
measure
.
PV Error PV Error Specifies Numeric Any Any Any Any Any <AssetI Master
Average Average the D>.PV Quality
appropri Error
ate unit Average
of
measure
.
PV Error PV Error Specifies Numeric Any Any Any Any Any <AssetI Master
Absolut Absolut the D>.PV Quality
e e appropri Error
Average Average ate unit Absolut
of e
measure Average
.
PV Error PV Error Specifies Numeric Any Any Any Any Any <AssetI Master
Standar Standar the D>.PV Quality
d d appropri Error
Deviatio Deviatio ate unit Standar
n n of d
measure Deviatio
. n
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Good Good appropri entage [0%-100
Quality Quality ate unit Good %]
of Quality
measure
.
Total Total Specifies Numeric Any Any Any Any Any <AssetI >=0 Worst
PIDF PIDF the D>.Total Quality
Changes Changes appropri PIDF of P, I, D,
ate unit Changes F
of
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Manual Manual appropri entage [0%-100
ate unit Manual %]
of
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Manual Manual appropri entage [0%-100
LL LL ate unit Manual %]
Exceede Exceede of LL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Manual Manual appropri entage [0%-100
UL UL ate unit Manual %]
Exceede Exceede of UL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age Auto age Auto the D>.Perc age Quality
appropri entage [0%-100
ate unit Auto %]
of
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age Auto age Auto the D>.Perc age Quality
LL LL appropri entage [0%-100
Exceede Exceede ate unit Auto LL %]
d d of Exceede
measure d
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age Auto age Auto the D>.Perc age Quality
UL UL appropri entage [0%-100
Exceede Exceede ate unit Auto UL %]
d d of Exceede
measure d
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Cascade Cascade appropri entage [0%-100
ate unit Cascade %]
of
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Cascade Cascade appropri entage [0%-100
LL LL ate unit Cascade %]
Exceede Exceede of LL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 AssetID Percent Master
age age the >.Percen age Quality
Cascade Cascade appropri tage [0%-100
UL UL ate unit Cascade %]
Exceede Exceede of UL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Shutdo Shutdo appropri entage [0%-100
wn wn ate unit Shutdo %]
of wn
measure
.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Shutdo Shutdo appropri entage [0%-100
wn LL wn LL ate unit Shutdo %]
Exceede Exceede of wn LL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Shutdo Shutdo appropri entage [0%-100
wn UL wn UL ate unit Shutdo %]
Exceede Exceede of wn UL
d d measure Exceede
. d
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Control Control appropri entage [0%-100
On On ate unit Control %]
of On
measure
.
Statistic The time Specifies Numeric Any Any 0 Any 0 <AssetI >=0 None
s Period period in the D>.Stati
seconds appropri stics
over ate unit Period
which of
the KPIs measure
have .
been
calculat
ed.
Percent Percent Specifies Numeric Any 100 0 100 0 <AssetI Percent Master
age age the D>.Perc age Quality
Limits Limits appropri entage [0%-100
Exceede Exceede ate unit Limits %]
d d of Exceede
measure d
.
PV Error PV Error Specifies Numeric Any Any Any Any Any <AssetI Master
the D>.PV Quality
appropri Error
ate unit
of
measure
.
Lower Lower Specifies Numeric Any Any Any Any Any <AssetI Setpoint
SP SP the D>.Lowe Quality
Threshol Threshol appropri r SP
d d ate unit Threshol
of d
measure
.
Upper Upper Specifies Numeric Any Any Any Any Any <AssetI Setpoint
SP SP the D>.Uppe Quality
Threshol Threshol appropri r SP
d d ate unit Threshol
of d
measure
.
The sample JSON below is split up into asset classification, asset instances, tag classifications, and tag
associations.
This example produces two loops (Loop1 and Loop2).
Asset Classification
{
"classifications": [
{
"id": "CLPM-Enterprise",
"name": "Control Loop Enterprise Classification",
"description": "",
"ccomClass": "ENTERPRISE_TYPE",
"parent": null
},
{
"id": "CLPM-Site",
"name": "Control Loop Site Classification",
"description": "",
"ccomClass": "SITE_TYPE",
"parent": null
},
{
"id": "CLPM-Segment",
"name": "Control Loop Segment Classification",
"description": "",
],
"type": "Double"
},
{
"id": "Upper SP Offset",
"value": [
],
"type": "Double"
}
]
}
]
}
Instances
{
"instances": [
{
"id": "SavoryFoodsInc",
"name": "Savory Foods Inc",
"description": "This is a digital manufacturing
enterprise",
Tag Classifications
{
"tagClassifications": [
{
"id": "ControlLoopKPI",
"name": "Control Loop KPI",
"description": "",
"unitGroup": "",
"reservedProperties": {
"uom": "",
"dataType": "Double",
"category": ""
}
},
{
"id": "AnalyticInputs",
"name": "AnalyticInputs",
"description": "Tag Classification for analytic input
tags",
"unitGroup": ""
}
]
}
Tag Associations
{
"tagAssociations": [
{
"monitoredEntity": {
"id": "Loop1",
"ccomClass": "ASSET"
},
Control The Control Amplitude Control Amplitude = SUM(| The closer this KPI is to zero OPM-CLPM-
Amplitude gives the sum of all MV_ROC|) / Number of Samples the better. An amplitude Performance_E
changes of the MV, divided close to zero indicates that xt
where:
by the number of samples. the manipulated variable
Only data of good quality is • MV_ROC = MV current - MV does not need to be greatly
considered for the previous adjusted in order to control
calculation of this value. • MV_ROC Quality is the worst the PV to the SP.
Bad quality data is ignored. quality of MV current and
If this KPI is large, it indicates
MV previous.
a large adjustment to the
MV. One of the following is
likely the cause of this:
Integrated Sum This gives the sum of the Integrated Sum = SUM(|PV-SP|) This KPI gives an indication OPM-CLPM-
absolute values of all PV for samples of good quality in of the total size of the Performance_E
Error (PV - SP) samples window absolute PV Error over the xt
within the data window whole reporting period. The
that are of good quality. closer this KPI is to zero the
better.
It is not normalized, so it
cannot be directly compared
across different loops, but is
best analyzed over time for
the same loop to see how
well a specific loop is
controlling over time.
Movement The Movement Index gives Movement Index = SUM(| The closer this KPI is to zero OPM-CLPM-
Index the sum of all changes of MV_ROC|) / 100 the better. An index close to Performance_E
the MV, divided by 100. zero indicates that the xt
where:
Only data of good quality is manipulated variable does
considered for the • MV_ROC = MV current - MV not need to be adjusted a lot
calculation of this value. previous in order to control the PV to
Bad quality data is ignored. • MV_ROC Quality is the worst the SP.
quality of MV current and
If this KPI is large, it indicates
MV previous.
a lot of adjustment to the
MV. One of the following is
likely the cause of this:
MV Oscillation This calculates the number Reversal Count The closer this KPI is to zero OPM-CLPM-
Count of times that the MV the better. A large value for Performance_E
= Reversal Count / 2
oscillates (changes this KPI indicates that MV xt
= COUNT(MV direction change) /
direction twice) over the changes tend to overshoot
2
reporting period. the mark and require MV
changes in the opposite
direction to compensate.
Overall This indicates the overall OverallPerformance = This gives a broad picture of OPM-CLPM-
Performance performance of the loop by the performance of the Performance
Percentage Manual / 3 +
combining the (equally system. This should be low.
Percentage MV Saturation / 3 +
weighted) Percentage
Percentage Limits Exceeded / 3 If this KPI is large, one of the
Manual, Percentage MV
following is likely the cause
Saturation, and Percentage where Percentage Manual,
of this:
Limits Exceeded KPIs into Percentage MV Saturation, and
a single percentage value. Percentage Limits Exceeded are • The sensor, or FCE/
KPIs described elsewhere in this Actuator is broken.
table. • The SP is set at an
unrealistic/unreachable
value.
• The FCE/Actuator is
incorrectly sized.
• The loop is set to
Manual mode for most
of the time.
• The loop control limits
(specifying the target
control range) are set to
an unrealistically narrow
range.
• The current control loop
design, settings, and
algorithm are unable to
effectively control the
target process or
equipment.
Percentage This indicates the % Auto = Number of samples For Auto control mode, a OPM-CLPM-
Auto percentage of the samples WHERE (Auto control mode AND controller within a control Performance
of good quality within the samples of good quality)/ system implements
data window for which the Number of samples of good automated changes to a
control mode used was quality variable when a sensor
Auto. measures the process
operating outside the
defined process limits. The
output is calculated by the
controller using the error
signal, which is the
difference between the set
point and the process
variable. Ideally, the control
loop would always be in
either Auto or Cascade
mode, implying that the loop
is switched ON to actively,
automatically, and
continuously control the PV
to SP.
Percentage This indicates the % Auto LL Exceeded = Number of If PV violates the lower OPM-CLPM-
Auto LL percentage of the samples samples WHERE (Auto control control limits while the loop Performance
Exceeded of good quality within the mode AND PV < Lower SP Offset is in Auto mode, it means
data window for which the AND samples of good quality) / one of the following:
control mode was set to Number of samples of good • The loop tuning is
Auto and the PV was quality incorrect.
below the Lower SP
• The control loop is not
Offset..
able to do its job or is
not suitable for its job.
Possible reasons can
include:
◦ The loop is complex
loop and you need
an Advanced
Controller like MPC
to control this type
of loop.
◦ The control loop is
not designed
correctly.
◦ The sensor or FCE/
actuator is
unsuitable or is
faulty.
◦ The equipment
being controlled is
malfunctioning.
• The control loop and
process/equipment are
OK, but the control
limits are too tight/strict
and should be reviewed/
updated.
Percentage This indicates the % Auto UL Exceeded = Number If PV violates the upper OPM-CLPM-
Auto UL percentage of the samples of samples WHERE (Auto control control limits while the loop Performance
Exceeded of good quality within the mode AND PV > Upper SP Offset is in Auto mode, it means
data window for which the AND samples of good quality) / one of the following:
control mode was set to Number of samples of good • The loop tuning is
Auto and the PV was quality incorrect.
above the Upper SP Offset.
• The control loop is not
able to do its job or is
not suitable for its job.
Possible reasons can
include:
◦ The loop is complex
loop and you need
an Advanced
Controller like MPC
to control this type
of loop.
◦ The control loop is
not designed
correctly.
◦ The sensor or FCE/
actuator is
unsuitable or is
faulty.
◦ The equipment
being controlled is
malfunctioning.
• The control loop and
process/equipment are
OK, but the control
limits are too tight/strict
and should be reviewed/
updated.
Percentage This indicates the % Cascade = Number of samples In Cascade control mode the OPM-CLPM-
Cascade percentage of the samples WHERE (Cascade control mode loop output/MV is not Performance
of good quality within the AND samples of good quality)/ directly driving an actuator,
data window for which the Number of samples of good but rather it is linked to or
control mode used was quality setting or calculating the SP
Cascade. for another controller loop.
Percentage This indicates the % Cascade LL Exceeded = If PV violates the lower OPM-CLPM-
Cascade LL percentage of the samples Number of samples WHERE control limits while the loop Performance
Exceeded of good quality within the (Cascade control mode AND PV < is in Cascade mode, it means
data window for which the Lower SP Offset AND samples of one of the following:
control mode was set to good quality) / Number of • The loop tuning is
Cascade and the PV was samples of good quality incorrect.
below the Lower SP Offset.
• The control loop is not
able to do its job or is
not suitable for its job.
Possible reasons can
include:
◦ The loop is complex
loop and you need
an Advanced
Controller like MPC
to control this type
of loop.
◦ The control loop is
not designed
correctly.
◦ The sensor or FCE/
actuator is
unsuitable or is
faulty.
◦ The equipment
being controlled is
malfunctioning.
◦ The downstream,
dependent
cascaded loop has a
problem.
• The control loop and
process/equipment are
OK, but the control
limits are too tight/strict
and should be reviewed/
updated.
Percentage This indicates the % Auto UL Exceeded = Number If PV violates the upper OPM-CLPM-
Cascade UL percentage of the samples of samples WHERE (Auto control control limits while the loop Performance
Exceeded of good quality within the mode AND PV > Upper SP Offset is in Cascade mode, it means
data window for which the AND samples of good quality) / one of the following:
control mode was set to Number of samples of good • The loop tuning is
Cascade and the PV was quality incorrect.
above the Upper SP Offset.
• The control loop is not
able to do its job or is
not suitable for its job.
Possible reasons can
include:
◦ The loop is complex
loop and you need
an Advanced
Controller like MPC
to control this type
of loop.
◦ The control loop is
not designed
correctly.
◦ The sensor or FCE/
actuator is
unsuitable or is
faulty.
◦ The equipment
being controlled is
malfunctioning.
◦ The downstream,
dependent
cascaded loop has a
problem.
• The control loop and
process/equipment are
OK, but the control
limits are too tight/strict
and should be reviewed/
updated.
Percentage This indicates the % Control On = Number of This KPI corresponds to OPM-CLPM-
Control On percentage of the samples samples WHERE ((Auto or either Auto or Cascade Performance
of good quality within the Cascade control mode) AND control modes. The control
data window for which the samples of good quality)/ loops are meant to be
control mode is enabled. Number of samples of good actively, automatically,
quality continuously controlling.
Percentage This indicates the average Percentage Controller Output = The MV Average should be OPM-CLPM-
Controller MV value (expressed as a SUM(MV for samples of good around 50% most of the Performance
Output %) for data within the data quality in window) / Number of time.
window that is of good samples of good quality
If the MV is permanently
quality.
stuck at a minimum of 0%,
or a maximum of 100%, it
shows that the MV cannot
control the PV to the SP. One
of the following is likely the
cause of this:
• The sensor, or FCE/
Actuator is broken.
• The SP is set at an
unrealistic/unreachable
value.
• The FCE/Actuator is
incorrectly sized.
• An unsuitable MV with
little or no leverage is
currently selected to
control the PV.
Percentage This indicates the % Good Quality = Number of This KPI gives you an idea of OPM-CLPM-
Good Quality percentage of data within samples of good quality / how trustworthy the data Performance
the data window that is of Number of samples within the data window is.
good quality. The higher the percentage
good quality, the more
trustworthy the data is.
Other KPIs should be
understood with this
measure in mind, bearing in
mind that control loop KPI
calculations exclude bad
quality data samples.
Percentage This indicates the total PercentageLimitsExceeded = This gives a broad picture of OPM-CLPM-
Limits percentage of time that (Total number of samples the performance of the Performance
Exceeded the system is in Auto, WHERE upper or lower limits system. This should be low.
Cascade, or Manual modes exceeded in Auto, Cascade, or
If this KPI is large, then the
where the upper or lower Manual modes / Total duration in
upper or lower control limits
limits for those modes Auto, Cascade, or Manual
are being exceeded more
have been exceeded. modes) * 100
than is healthy.
Percentage This indicates the % Manual = Number of samples A loop is typically set to OPM-CLPM-
Manual percentage of the samples WHERE(Manual control mode Manual control mode if the Performance
of good quality within the AND samples of good quality) / Operator wants the ability to
data window for which the Number of samples of good manually set MV values. For
control mode used was quality example, the plant may be in
Manual. abnormal operating
conditions, but not
completely shutdown. For
Manual control mode, the
MV is set manually by the
operator to make control
changes. When a measured
variable operates out of the
limits, an operator
personally implements a
control change to restore
the system to within
operating limits. Ideally, the
control loop should be in
Manual mode as little as
possible.
Percentage This indicates the % Manual LL Exceeded = Number If the PV violates the lower OPM-CLPM-
Manual LL percentage of the samples of samples WHERE (Manual control limits while the loop Performance
Exceeded of good quality within the control mode AND PV < Lower is in Manual mode, this is
data window for which the SP Offset AND samples of good undesirable and it means
control mode was set to quality) / Number of samples of that the operator is not
Manual and the PV was good quality successfully controlling the
below the Lower SP Offset. loop to remain within
acceptable control limits. In
such a case, the loop should
rather be set to Auto control
mode so it can be
automatically controlled to
remain within acceptable
control limits around a
chosen SP. If the loop is
working correctly, Auto
control will generally be
better than Manual control,
unless the loop has tuning,
design, or equipment
problems.
Percentage This indicates the % Manual UL Exceeded = If the PV violates the upper OPM-CLPM-
Manual UL percentage of the samples Number of samples WHERE control limits while the loop Performance
Exceeded of good quality within the (Manual control mode AND PV > is in Manual mode, this is
data window for which the Upper SP Offset AND samples of undesirable and it means
control mode was set to good quality) / Number of that the operator is not
Manual and the PV was samples of good quality successfully controlling the
above the Upper SP Offset. loop to remain within
acceptable control limits. In
such a case, the loop should
rather be set to Auto control
mode so it can be
automatically controlled to
remain within acceptable
control limits around a
chosen SP. If the loop is
working correctly, Auto
control will generally be
better than Manual control,
unless the loop has tuning,
design, or equipment
problems.
Percentage MV This indicates the Percentage MV Saturation = This gives an indication of OPM-CLPM-
Saturation percentage of samples of (Number of samples of good how much MV is at one Performance
good quality where the MV quality WHERE (MV is 0% or extreme or the other. This
is saturated. The MV is 100%) / Number of samples of should be low.
considered saturated good quality) * 100
If this KPI is large, one of the
when it is at 0% or at
following is likely the cause
100%.
of this:
Percentage Not This indicates the Percentage Not Utilized = This gives an indication of OPM-CLPM-
Utilized percentage of samples of (Number of samples of good how much MV is not being Performance
good quality where the quality WHERE (MV is 0% or MV used effectively. This should
loop is not being utilized. is 100% or control mode is be low.
The loop is considered not Manual) / Number of samples of
If this KPI is large, one of the
utilized when the MV is at good quality) * 100
following is likely the cause
0% or at 100% (saturated),
of this:
or when the control mode
is Manual. • The sensor, or FCE/
Actuator is broken.
• The SP is set at an
unrealistic/unreachable
value.
• The FCE/Actuator is
incorrectly sized.
• The loop is in Manual
mode for other reasons.
Percentage This indicates the % Shutdown = Number of In Shutdown control mode, OPM-CLPM-
Shutdown percentage of the samples samples WHERE (Shutdown the loop is switched off Performance
of good quality within the control mode AND samples of because the plant is in an
data window for which the good quality)/ Number of abnormal operating mode.
control mode used was samples of good quality For example, the plant may
Shutdown. be shut down for
maintenance.
PV Error This gives the average of PV Error Absolute Average = The closer this KPI is to zero OPM-CLPM-
Absolute the absolute values of all SUM(|PV Error Samples of good the better. An absolute Performance_E
Average PV Error (PV - SP) samples quality in window|) / Number of average of zero indicates xt
within the data window PV Error samples of good quality that the loop is controlling
that are of good quality. exactly on the SP. The KPI
gives an indication of how
far away the PV is on
average from the SP over the
reporting period.
PV Error This gives the average of PV Error Average = SUM (PV The closer this KPI is to zero OPM-CLPM-
Average all PV Error (PV - SP) Error Samples of good quality in the better. An average of Performance_E
samples within the data window) / Number of PV Error zero indicates that the loop xt
window that are of good samples of good quality is on average controlling
quality. centered around the SP.
PV Error This gives the standard PV Error Standard Deviation = This KPI gives an indication OPM-CLPM-
Standard deviation of all PV Error SQUARE ROOT (SUM(PV Error - of the amount of variation in Performance_E
Deviation (PV - SP) samples of good PV Error Average) ^2 for each PV PV Error sample values of xt
quality. Error sample of good quality) / good quality over the
Number of PV Error samples of reporting period.
good quality)
PV Variability This gives a ratio which is a PV Variability = (PV Standard This KPI gives an indication OPM-CLPM-
measure of the standard Deviation * 200) / |PV Average| of how spread out or closely Performance_E
deviation relative to the PV clustered the PV data xt
sample average, for PV samples are, expressed as a
samples of good quality percentage. It is a measure
within the reporting of relative PV variability. This
period. is also sometimes referred
to as the coefficient of
variation.
PV Variance This gives the variance of PV Variance = SUM((PV Sample - This KPI gives an indication OPM-CLPM-
all PV samples of good PV Average) ^2 for each PV of the amount of variation in Performance_E
quality over the reporting sample of good quality) / PV sample values of good xt
period. Number of PV samples of good quality over the reporting
quality period.
Reversal This calculates the sum of Reversal Amplitude The closer this KPI is to zero OPM-CLPM-
Amplitude all the changes in the MV the better. A low value likely Performance_E
= SUM(|MV_ROC|) / Reversal
relative to the number of means that the system is xt
Count
times the MV changes responsive and smaller
direction. Only data of = SUM(|MV_ROC|) / COUNT(MV changes are made to keep
good quality is considered direction change) the system on track. A large
for the calculation of this reversal amplitude likely
value. Bad quality data is indicates that the system is
ignored. unresponsive and hence
requires larger changes in
the MV to keep it on track.
Reversal Count This calculates the number Reversal Count = COUNT(MV The closer this KPI is to zero OPM-CLPM-
of times that the MV direction change) the better. A large value for Performance_E
changes direction over the this KPI indicates that MV xt
reporting period. changes tend to overshoot
the mark and require MV
changes in the opposite
direction to compensate.
Statistics This is the time period in Statistics Period = End time - The time period in seconds OPM-CLPM-
Period seconds over which the Start time, expressed in seconds over which the KPIs have Performance_E
KPIs have been calculated. been calculated. xt
Total PIDF This indicates the total Total PIDF Changes = COUNT (All Different settings will OPM-CLPM-
Changes number of times that one samples where P, I, D, or F values change this KPI and can Config_Change
of the P, I, D, or F have changed) explain sudden changes in
(Proportional, Integral, control loop performance.
Derivative, or Filter) values For example, there may have
has changed inside the been some change in the
window of data. loop tuning settings and that
has affected loop
performance.
Lower SP This returns a dataset that For each sample in window, add This returns a dataset that is OPM-CLPM-
Threshold is the set of all differences a datapoint, IFF it differs from the set of all differences PV_Statistics
between the SP and the the previous datapoint: between the SP and the
Lower SP Offset for each Lower SP Offset for each
SP-LowerSPOffset
point in the data window point in the data window
where that difference has where quality is where that difference has
changed from the previous WORST(SP,LowerSPOffset). changed from the previous
difference. difference.
PV Error This returns a dataset that For each sample in window, add This returns a dataset that is OPM-CLPM-
is the set of all differences a datapoint: PV-SP, where quality the set of all differences PV_Statistics
between the PV and SP for is WORST(PV,SP). between the PV and SP for
each point in the data each point in the data
window. window.
Upper SP This returns a dataset that For each sample in window, add This returns a dataset that is OPM-CLPM-
Threshold is the set of all sums of the a datapoint, IFF it differs from the set of all sums of the SP PV_Statistics
SP and the Upper SP Offset the previous datapoint: and the Upper SP Offset for
for each point in the data each point in the data
SP+UpperSPOffset
window where that sum window where that
has changed from the where quality is difference has changed from
previous sum. WORST(SP,UpperSPOffset). the previous difference.
8
Release Notes
Topics:
The Loop Dashboard now has the capability to display information till the latest available data US340762
point for the specified dates.
In the Fleet Dashboard, you can now access the historical data by specifying a date range of up to US325581
30 days.
Additional alerting analytics are now available for scheduling. Once configured, these alerts can F41291
notify you of the following situations:
Consult the Deploy CLPM Analytics section of this documentation for more information.
Enhancements have been made to the Control Loop Performance Table in the Fleet Dashboard. F41287
• Advanced filters are now available, including a global filter, multiple-level filters, text filters,
and conditional parameters to filter data in the table.
• Updates have also been made to improve responsiveness when loading the table.
The Diagnostic Alerts Filtering smart filter has been added to the Fleet Dashboard in this release. F36574
This smart filter is a visual tool to identify faulty control loops.
Not all PIDF configuration changes are currently detected by the Configuration Change Detection DE91981
analytic.
For interpolated data, APM Timeseries returns bad quality data until the first sample of good DE95724
quality in the data window is encountered.
Table 7: Limitations
Only the Chrome 43 or higher browser is supported for accessing the Loop and Fleet dashboards. NA
CLPM has been benchmarked for deployment over a maximum of 200 assets. NA
All analytic inputs are read as interpolated data. Ensure that your raw data in Predix Timeseries is NA
sampled at a lower frequency than the data interval of your deployed analytics. Results for data
recorded at higher frequencies may not be statistically accurate representations of the
performance of the control loop in question.
All CLPM analytics must currently be configured to use recurrent scheduling and interpolated NA
sample data. Streaming scheduling and raw sample data options are not currently available.