Smooooth Operations: Configuration Tips For Analog Blocks
Smooooth Operations: Configuration Tips For Analog Blocks
Operations
Configuration Tips for Analog Blocks
Presenters
James Beall
Introduction
Series P
SP
+ KC +
+ PROCESS
PV
+
-
1
TR s
I
I
Standard Error = SP - PV
1
TR s OUTPUT
P
SP + PV
KC + PROCESS
-
TDS D
PID “Form” Choice
TR Series
Classical
0
TR Standard = TR Series ++ TTDDClassical
Series
0
TR Series
Classical
* TD
* TD
Series
Classical
TD Standard = 0
( TR Series
Classical
+ TD
+ TD
Series
Classical
) )
PID “Structure”
Used most.
Default
Structure: PI on error, D on PV
Controller Output – Flow to reactor
SP
Structure: I on error, PD on PV
Controller Output – Flow to reactor
SP
Structure: 2 Degrees of Freedom
BETA - determines the degree of proportional
action that will be applied to SP changes.
– Range = 0-1
– BETA=0 means no proportional action is applied to SP change.
– BETA=1 means full proportional action is applied to SP change.
GAMMA - determines the degree of derivative
action that will be applied to SP changes.
– Range = 0-1
– GAMMA=0 means no derivative action applied to SP change.
– GAMMA=1 means full derivative action is applied to SP change.
Structure: 2 Degrees of Freedom
PID “IDEADBAND” (Integral Deadband)
The PID “Gain” is multiplied by “KNL” which has a value between 0 and 1 as a function of the error (SP-PV).
Knl
Knl=1
Knl=NL_MINMOD
e
= PV-SP
NL_GAP NL_HYST
NL_TBAND
FRSIPID_OPTS: Non-linear Gain
Activate NL Gain
NL_MINMOD = 0
NL_GAP = 0
(EU’s)
Error
NL_HYST = 0
Topic 2: Block Initialization and Options
misused and
How to use it ….
misunderstood
When to fool it…. connection in
DeltaV!!
Don’t Be Frightened by BKCAL’s!
BKCAL_OUT Value
– SP (default)
– PV (selected in CONTROL_OPTS of downstream PID block)
“balance-less” –
A T D
setpnt
operator does not
K f
have to “line up”
T
A T
level output with
F(x)
flow setpoint to
F(x)
change modes
Important Control Options
FRSIPID_OPTS CONTROL_OPTS
Dynamic Reset Limit Use PV for BKCAL_OUT
SP-PV Track in LO or IMAN
SP-PV Track in MAN
But what do those things mean?
SP-PV Tracking
– SP will be set equal to PV in the modes selected.
– Separate checkboxes for MAN and LO / IMAN. Usually
check both.
Output limiting and reset windup
Dynamic Reset Limiting on PID block:
– BKCAL_IN will be used for reset feedback instead of the
internal “OUT” of the PID algorithm.
– If BKCAL_IN is not changing, reset cannot “wind”.
– Default DeltaV PID blocks use internal “OUT” for reset
feedback and the internal reset calculation can continue past
the OUT limit
PV
SP
ARW_LO_LIM
OUT
OUT_LO_LIM
< PC
Valve F(x)
FC Characterization FC
PT
Hot Cold
FT FT
Water Water
TT LT
To Reactor
Start Simple – a single PID loop
PC
PT
Hot Cold
Water Water
TT LT
To Reactor
Valve Characterization
PC
F(x)
FC FC
PT
Hot Cold
FT FT
Water Water
TT LT
To Reactor
Output Characterization to Valve
Use a “Signal Characterizer” function block to
change valve characteristics
– Note the best solution is to change valve trim to
proper characteristic
SGCR
• Characterizes IN_1 to OUT_1
• Reverse Char. IN_2 to OUT_2
Output Characterization to Valve
See Books On Line for rules for
the X and Y curves
Set “SWAP_2” = TRUE to
provide a “reverse”
characterization for the BKCAL
signal (The answer in V9.3 and
later is “Change X by Y axis on
IN-2”.)
BOL: The SWAP_2 parameter swaps the X and Y axes used for
OUT_2. When the SWAP_2 parameter is True, IN_2 references the
CURVE_Y values and OUT_2 references the CURVE_X values. In
addition, the IN_2 units change to Y_UNITS and the OUT_2 units
change to X_UNITS.
IF YOU DON’T SELECT THIS OPTION, IT WILL APPEAR TO WORK
BUT THE AO OUTPUT WILL CHANGE DURING A DOWNLOAD!!!
Override Control
< PC
F(x)
FC FC
PT
Hot Cold
FT FT
Water Water
TT LT
To Reactor
Using CTLSL for Override Control
One valve – two controllers
Example: low pressure override on a flow loop
– Master control loop determines flow setpoint
– Flow loop determines valve position to control flow as long as
header pressure can be maintained.
– If header pressure gets too low, pressure override loop “takes over”
and determines valve position.
The Good News: No Windup
– DeltaV “turns off” the integral action if a controller is not the
selected controller in a CNTLSL block. No windup!
The Bad News: What happens when switching to MAN?
– The valve “belongs” to the flow controller
– If override is active, you will get a bump when switching to MAN
– The fix: pulse flow loop to LO with BKCAL_IN as TRK_VAL when
target mode transitions to MAN
– Defeat override in MAN using output limits and DRL
Topics 4: BG and RTO blocks
RULE #1
NEVER EVER use SUB, ADD, MUL, DIV, or CALC
blocks to modify a setpoint
RULE #2
When modifying a setpoint ALWAYS use BG or RTO
blocks
RULE #3
If you break Rules #2 and #3, you MUST provide
your own BKCAL values and they MUST include
the right status.
Good luck with that.
Bias-Gain (BG) Function Block
B/G Boiler 1
B/G Boiler 3
Make your own PV on a BG block
Main Flow
Ratio SP IN1
From RTO Block
Operator X
OUT
SP to
Manipulated FIC
Using the PV of a RTO block