PID Loop Operation
Maintenance
and T
roubleshooting
8–14
PID Loop Operation
Determining a suitable sample rate (Addr+07):
1. Operate the process open-loop (the loop does not even need to be
configured yet). Place the CPU in run mode (and the loop in Manual mode,
if you have already configured it). Manually set the control output value so
the PV is stable and in the middle of a safe range.
2. Try to choose a time when the process will have negligible external
disturbances. Then induce a sudden 10% step change in the control value.
3. Record the rise or fall time of the PV (time between 10% to 90% points).
4. Divide the recorded rise or fall time by 10. This is the initial sample rate you
can use to begin tuning your loop.
Control
Output
PV
10% of full output range
Rise Time
10%
90%
Sample
Rate
In the figure above, suppose the measured rise time response of the PV was 25
seconds. The suggested sample rate from this measurement will be 2.5 seconds.
For illustration, the sample rate time line shows ten samples within the rise time
period. These show the frequency of PID calculations as the PV changes values. Of
course, the sample rate and PID calculations are continuous during operation.
NOTE:
An excessively fast sample rate will diminish the available resolution in the
PV Rate-of-Change Alarm, because the alarm rate value is specified in terms of PV
change per sample period. For example, a 50 mS sample rate means the smallest
PV rate-of-change we can detect is 20 PV counts (least significant bit counts) per
second, or 1200 LSB counts per minute.
The Loop Parameter table for each loop has a data location for the sample rate.
Referring to the figure below, location V+07 contains a BCD number from 00.05 to
99.99 (with an implied decimal point). This represents 50 mS to 99.99 seconds. This
number may be programmed using
Direct
SOFT32’s PID Setup screen, or any other
method of writing to V-memory. It must be programmed before the loop will operate
properly.
Process Variable
S
Error Term
+
–
Control Output
Setpoint
X X
X X
Sample Rate–V+07
Loop
Calculation
BCD
Sample Rate
00.05 to 99.99 sec
Programming the
Sample Rate
Summary of Contents for DL05
Page 1: ...DL05 User Manual Automationdirect com ...
Page 2: ...DL05 User Manual Automationdirect com ...
Page 436: ...1B DL05 Error Codes In This Appendix Ċ Error Code Table ...
Page 443: ...1C Instruction Execution Times In This Appendix Ċ Introduction Ċ Instruction Execution Times ...
Page 459: ...1D Special Relays In This Appendix Ċ DL05 PLC Special Relays ...
Page 464: ...1E DL05 Product Weights In This Appendix Ċ Product Weight Table ...