To configure Statistical Process Monitoring using the DeltaV Explorer, create a module from the module template RMT_SPM_FF for Fieldbus devices or RMT_SPM_HART for HART devices. You can use DeltaV Explorer or Control Studio to customize the module's properties and configuration parameters. There are configuration tips in the function bock diagram of the module in Control Studio. Begin by assigning the AI1, MEAN, and STDEV function blocks to the Signal Tag for the corresponding variable from the transmitter. If available in the device also assign the CV function block, and change the CV_ASSIGNED parameter to TRUE. If CV is not available in the device, then leave the CV function block and CV_ASSIGNED parameter unchanged, and the CALC block will automatically calculate CV from the mean and standard deviation.
Next you will need to set the scaling for both the AI and/or ALM function blocks as desired. The scaling limits will automatically propagate into both the Operator Faceplate and the Process History View Chart. In RMT_SPM_HART the OUT_SCALE parameters of the AI blocks are used for the faceplate and charts. In RMT_SPM_FF the IN_SCALE parameters of the ALM blocks are used for the faceplate and charts. Modify the history collection parameters as desired.
Enable SPM Alarms and set alarm limits as desired. Note that all of the SPM Alarms are disabled by default. It is recommended that prior to enabling the user monitors the SPM data to determine how it is affected by an abnormal condition.
Set the DEVICE_TAG parameter to the DeltaV tag for the device. Configure the alarm management (ALARMS_ENABLED and PV_LIM_MODE) as desired.
| Function Block | Description | Default Scaling |
|---|---|---|
| AI1 | Analog Input block for the Primary Variable - usually assigned to FIELD_VAL_PCT, HART_FIELD_VAL, or HART_PV |
XD_SCALE = 0.0 to 100.0 % OUT_SCALE = 0.0 to 100.0 no units L_TYPE = Indirect |
| MEAN | Analog Input block for the Mean - assigned to HART_SV, HART_TV, or HART_FV |
XD_SCALE = 0.0 to 100.0 inH2O OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect |
| STDEV | Analog Input block for the Standard Deviation - assigned to HART_SV, HART_TV, or HART_FV |
XD_SCALE = 0.000 to 1.000 inH2O OUT_SCALE = 0.000 to 1.000 inH2O L_TYPE = Indirect |
| CV | Analog Input block for the Coefficient of Variation - may either be assigned to HART_SV, HART_TV, or HART_FV (on supported devices) or calculated in DeltaV and updated via SIMULATE parameter. |
XD_SCALE = 0.000 to 1.000 % OUT_SCALE = 0.000 to 1.000 % L_TYPE = Indirect |
| CV_ALARM_CTRL | CALC block containing logic to calculate Coefficient of Variation, and enable or disable alarms. | N/A |
| Function Block | Description | Default Channel and/or Scaling |
|---|---|---|
| AI1 | Fieldbus Shadow Analog Input block for the Primary Variable |
CHANNEL=1 XD_SCALE = 0.0 to 100.0 inH2O (68°F) OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect |
| MEAN | Fieldbus Shadow Analog Input block for the Mean |
CHANNEL=12 XD_SCALE = 0.0 to 100.0 inH2O (68°F) OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect |
| STDEV | Fieldbus Shadow Analog Input block for the Standard Deviation |
CHANNEL=13 XD_SCALE = 0.000 to 1.000 inH2O (68°F) OUT_SCALE = 0.000 to 1.000 inH2O L_TYPE = Indirect |
| CV | Analog Input block for the Coefficient of Variation - calculated in controller from MEAN and STDEV- updated via SIMULATE parameter. |
XD_SCALE = 0.000 to 1.000 % OUT_SCALE = 0.000 to 1.000 % L_TYPE = Indirect |
| CV_ALARM_CTRL | CALC block containing logic to calculate Coefficient of Variation, and enable/disable alarms. | N/A |
| ALM_AI1 | Alarm Detection block for generating alarms based on Primary Variable | IN_SCALE = 0.0 to 100.0 inH2O |
| ALM_MEAN | Alarm Detection block for generating alarms based on Mean | IN_SCALE = 0.0 to 100.0 inH2O |
| ALM_STDEV | Alarm Detection block for generating alarms based on Standard Deviation | IN_SCALE = 0.000 to 1.000 inH2O |
| ALM_CV | Alarm Detection block for generating alarms based on Coefficient of Variation | IN_SCALE = 0.000 to 1.000 % |
| Parameter | Description |
|---|---|
| CV_ASSIGNED | Differentiates whether the CV value is read from the transmitter or calculated in the Controller. Set to TRUE if the IO_IN parameter of the CV function block is configured. |
| DEVICE_TAG | Specifies the DeltaV tag for the device, which is used by the faceplate to launch AMS Device Manager |
| ALARMS_ENABLED | Enables/Disables all HI and LO alarms in the Control Module. Change this parameter to an External Reference, and link it to another control module containing the logic to enable and disable alarms. |
| PV_LIM_MODE | If set to TRUE, the STDEV and CV Alarms are disabled if the MEAN or PV (as determined by FP_VAR_1) go outside of the HI or LO limits. |
| FP_VAR_1 | Configures the first variable for both the Process History View and the Operator Faceplate (PV or MEAN) |
| FP_VAR_2 | Configures the second variable for both the Process History View and the Operator Faceplate (STDEV or CV) |
The faceplate and detail display names are pre-defined as module properties.