Download OPTOCONTROL USER'S GUIDE

Transcript
PROGRAMMING WITH COMMANDS
Setting the output lower and upper clamps—Setting clamps is particularly important if the
device controlled by the output signal has “dead areas” at either end. For example, say the output
is scaled 0–10. It is connected to a valve that begins to open at 1.25 and is “effectively” fully
open at 5.75 (even though it may only be 70% open). Set Lower Clamp to 1.2 (valve closed) and
Upper Clamp to 5.75 (valve effectively fully open). This prevents reset windup, potentially
resulting in dramatically improved control when the output value has reached either limit and has
to suddenly reverse direction.
Setting the maximum change rate of the output—The Max Change Rate can be ignored,
since it defaults to 100% per scan. If you wish to limit the output rate of change, set Max Change
Rate to 10% or so to start. This setting would limit the output rate of change to 100% in 10
scan-rate periods.
Output—The output can be preset or changed at any time by an operator or by the program. For
example, if you have determined that the output should start at 40% whenever the system is
activated, simply set the PID output (or the analog channel output) to this value under program
control.
Manual Mode—The factory default causes the setpoint to track the input when the PID is in
manual mode, which means that the setpoint will be altered when in manual mode. If you don’t
want the setpoint to be altered when in manual mode, disable the setpoint track output feature
so that when the PID is in manual mode, the setpoint will not be changed.
Input Filtering—If the input signal is noisy, you may want to filter it. To do so, follow these
steps:
1. Use the command Set Analog Filter Weight, specifying the appropriate analog input
channel. Use a filter weight value of less than 10 times the scan rate. Otherwise, the loop
cannot be tuned.
2. Configure the PID loop to use the average/filtered value.
3. You can store the configuration to EEPROM or Flash memory to save the filter weight and
the input type (current or average). This can be helpful when reenabling an I/O unit after a
loss of communication.
Tuning Guidelines
Setting the Scan Rate
The scan rate should be set as fast as possible or as fast as the controlled equipment will allow,
unless there are rare and unusual circumstances. Setting the scan rate to be longer than the dead
time will result in a PID controller that is so sluggish that it cannot adequately respond to
disturbances, and setpoint changes will be extremely slow.
There are, however, exceptions to this rule. If the output of the PID is implemented on equipment
that cannot handle fast scan changes, set the PID scan loop to as fast as the equipment can
handle. Most control valves, which are very commonly controlled by PID loops, can handle 0.1
OptoControl User’s Guide
10-45