Understanding Tracking vs Forced Tracking and Setpoint Modes in PCS 7 APL Controllers
In the SIMATIC PCS 7 Advanced Process Library (APL), controllers like PIDConL distinguish between Setpoint Modes and Tracking behaviors to ensure safe, bumpless process transitions. Setpoint Modes separate Internal Setpoints (SP_Int, entered locally by operators) from External Setpoints (SP_Ext, supplied by recipes or master controllers). Tracking (Nachführen) is an operational mechanism where internal setpoints or manipulated variables continuously follow an external reference (such as SP tracking PV via SP_TrkPV) to prevent setpoint jumps during mode switches. Forced Tracking (Zwangsnachführen) is an overriding protective interlock (such as MV_Forced) that forcibly clamps the controller output to a safe value regardless of mode or PID error because the downstream actuator is unable or forbidden to receive control commands.
Table of Contents
- Executive Summary
- Architecture and Fundamental Mechanics
- Step-by-Step Implementation Procedure
- Verification
- Limitations and Operational Precautions
- Engineer FAQ
- Technical References
- Related Articles
- Related Tags
Executive Summary
Closed-loop feedback control in continuous process plants requires robust handling of mode transfers to prevent dynamic process shocks when switching between manual intervention, cascade control, and emergency interlocks. In the SIMATIC PCS 7 Advanced Process Library (APL), function blocks such as PIDConL, PIDStepL, and MotSpdCL implement sophisticated setpoint and tracking algorithms that are frequently misunderstood. Control engineers often confuse standard Setpoint Tracking (Nachführen) with Forced Output Tracking (Zwangsnachführen), or misconfigure internal versus external setpoint handling. This guide demystifies these control concepts, details their mathematical and logical mechanics, and provides application patterns for bumpless operation.
Architecture and Fundamental Mechanics
Setpoint and Tracking Architecture in APL Controllers
+-------------------------------------------------------------------------+
| APL Controller (PIDConL) |
+-------------------------------------------------------------------------+
| SETPOINT MANAGEMENT: |
| |
| [Internal SP (SP_Int)] <-- Set locally by Operator via Faceplate |
| [External SP (SP_Ext)] <-- Set by High-Level Cascade / Recipe Logic |
| |
| Selection via SP_LiOp & SP_ExtOp: |
| - SP_LiOp = 0: Operator selects Int/Ext via faceplate |
| - SP_LiOp = 1: Interconnected CFC logic commands Int/Ext |
+-----------------------------------|-------------------------------------+
|
v
+-------------------------------------------------------------------------+
| TRACKING (Nachführen): Operational Bumpless Transfer |
| |
| When SP_TrkPV = 1: |
| - While in External SP or Manual mode, SP_Int continuously tracks PV. |
| - On switching to Internal SP or Auto: |
| Setpoint == Process Value -> ZERO SETPOINT JUMP / BUMPLESS! |
+-----------------------------------|-------------------------------------+
|
v
+-------------------------------------------------------------------------+
| FORCED TRACKING (Zwangsnachführen): Overriding Protective Clamping |
| |
| Triggered by: MV_Forced = 1 or Actuator Interlock Active |
| - Overrides Manual, Auto, Internal, and External modes! |
| - Controller Output (MV) is FORCIBLY CLAMPED to MV_ForcedVal |
| - Integrator is held / anti-reset windup engaged |
| - Purpose: Equipment protection (e.g. valve shut on trip) |
+-------------------------------------------------------------------------+
Comparison of Tracking Mechanisms
- Setpoint Tracking (
SP_TrkPV):
- Objective: Eliminates step changes in the control error ($e = SP - PV$) when returning to automatic internal control.
- Operation: When active, the internal setpoint is continuously updated to equal the live process variable ($SP_{int} := PV$). Upon transitioning to automatic, the controller begins calculating from an initial error of zero. - Manipulated Variable Tracking (
MV_Trk):
- Objective: Allows an external signal (such as actual valve stem position feedback) to steer the controller output during manual or standby states.
- Operation: WhenMV_TrkOn = 1, the controller output followsMV_Trk($MV := MV_{trk}$). - Forced Tracking (
Zwangsnachführen):
- Objective: Highest-priority safety and interlock clamping.
- Operation: When active viaMV_Forcedor interlock blocks (Intlock,Protect), normal PID algorithms are bypassed, andMVis immediately held at a fixed safe value (e.g.,0.0%for a fail-closed valve).
Step-by-Step Implementation Procedure
Step 1: Configure Setpoint Selection Logic in CFC
- In SIMATIC Manager, open the CFC chart containing
PIDConL. - Determine the setpoint authorization hierarchy:
- If the operator must choose between local setpoints and external supervisory targets: SetSP_LiOp := 0.
- If external logic (e.g., batch recipe phase) dictates setpoint switching: SetSP_LiOp := 1and connect the switching command toSP_ExtLi. - Interconnect the cascade master controller output or recipe tag to
SP_Ext.
Step 2: Enable Bumpless Setpoint Tracking (Nachführen)
- To prevent process surges when an operator switches from External to Internal setpoint:
- Set the input parameter
SP_TrkPV := 1(or configure via Feature bits). - In this mode, while the loop is running on
SP_Ext, the internal variableSP_Intcontinuously mirrorsPV. - When the operator toggles from External to Internal, the loop maintains the current operating level smoothly.
Step 3: Implement Forced Manipulated Variable Clamping (Zwangsnachführen)
- For unit shutdown, pump trip, or safety interlock conditions:
- Connect the trip signal (e.g.,
Pump_Running = 0) toPIDConL.MV_Forced. - Connect the desired safe actuator position (e.g.,
0.0%) toPIDConL.MV_ForcedVal. - When the pump stops,
PIDConLimmediately forces the control valve closed, suppressing PID integral accumulation.
Step 4: Configure Feature Bits for Tracking Behavior
- In the Object Properties of
PIDConL, open the Feature word parameter. - Feature Bit 0: Set to
1to define setpoint behavior during mode changes. - Feature Bit 6: Enable tracking of the manipulated variable in manual mode if position feedback tracking is required.
- Compile the CFC chart via Changes Only and download to the AS.
Verification
- Bumpless Transfer Test: Run the loop in External Setpoint mode at 60 °C. With
SP_TrkPV = 1, switch to Internal mode on the WinCC faceplate. Verify thatSP_Intinitializes at exactly 60 °C with no jump in controller output. - Forced Tracking Interlock Test: With the loop in Automatic mode controlling at 50%, activate the interlock driving
MV_Forced = 1. Verify thatMVdrops instantly toMV_ForcedVal(0%) and the faceplate displays the forced status banner. - Integral Windup Check: Deactivate the forced tracking interlock. Verify that the controller resumes regulation from the current process value without integral windup overshoot.
Limitations and Operational Precautions
- Forced Tracking Overrides Manual: Operators cannot override a forced tracking condition from the faceplate; normal manual control is completely blocked until
MV_Forcedis de-asserted. - Tracking Lag with Slow Filters: If the input filter time (
FiltTi) onPV_Inis large, setpoint tracking will track the filtered process value rather than raw field values.
Engineer FAQ
What is the difference between Nachführen and Zwangsnachführen?
Nachführen (Tracking) is an operational feature to achieve smooth, bumpless setpoint transfers; Zwangsnachführen (Forced Tracking) is an overriding protective clamp forcing output to a safe state.
What does SP_TrkPV do?
When SP_TrkPV is active, the internal setpoint continuously follows the live process value (PV) during manual or external mode.
Why is bumpless transfer important in DCS?
Sudden step changes in setpoints cause dramatic valve movements, pipe hammer, product off-spec, and pressure relief trips.
Can operators adjust setpoints during forced tracking?
Operators can edit setpoint values, but the controller output remains clamped to the forced value until the force condition clears.
What block input triggers forced output tracking?
The input parameter MV_Forced (1 = active) forces the output to the value defined at MV_ForcedVal.
What is the difference between SP_Int and SP_Ext?
SP_Int is the local setpoint entered on the faceplate; SP_Ext is an external setpoint provided by supervisory logic or cascade masters.
How do I prevent integral windup when a control valve is closed?
Connect the valve closed limit switch or trip condition to MV_Forced or MV_TrkOn to freeze the PID integral term.
Does MotSpdCL support tracking?
Yes, MotSpdCL supports setpoint tracking and forced speed setpoints for variable frequency drives.
Which APL manual describes controller structures in depth?
Refer to the Siemens application guideline 'Technical Functions for SIMATIC PCS 7 in the Chemical Industry' (Chapter 6.4).
Can tracking be enabled from WinCC?
Yes, faceplates expose options to enable or disable setpoint tracking if permitted by block feature bits.
Technical References
- SIMATIC PCS 7 Advanced Process Library (APL) Function Manual - PIDConL
- Siemens Industry Online Support (SIOS) Entry ID 109780813: Technical Functions for SIMATIC PCS 7 - Chemical Industry
- SIMATIC PCS 7 APL Principles of Programming and Control Structures
- ISA-5.1 Instrumentation Symbols and Control Loop Identification Standards
Related Articles
- Why Blocks in CFC Charts Are Called by OB35 - Execution Cycle Fundamentals in PCS 7
- PCS 7 CFC Programming Fundamentals - Connecting Field I-O, Interlocks, and HMI Operator Controls
- Understanding Signal Status Prioritization and Plausibility Logic in APL MuxAn03
Related Tags
- PIDConL
- APL
- Tracking
- Forced Tracking
- Bumpless Transfer
- Setpoint Modes
- CFC Control