Stanford Research Systems certifies that this product met its published specifications at the time
of shipment.
Warranty
This Stanford Research Systems product is warranted against defects in materials and workmanship for a period of one (1) year from the date of shipment.
Service
For warranty service or repair, this product must be returned to a Stanford Research Systems
authorized service facility. Contact Stanford Research Systems or an authorized representative
before returning this product for repair.
Information in this document is subject to change without notice.
Copyrightc Stanford Research Systems, Inc., 2003 – 2013. All rights reserved.
Stanford Research Systems, Inc.
1290–D Reamwood Avenue
Sunnyvale, CA 94089 USA
Phone: (408) 744-9040 • Fax: (408) 744-9049
www.thinkSRS.com • e-mail: info@thinkSRS.com
Printed in U.S.A.Document number 9-01558-903
SIM960Analog PID Controller
Contents
General Informationiii
Safety and Precautions for Use. . . . . . . . . . . . . . . .iii
Because of the variety of uses for the SIM960, those responsible for
the application and use of this control equipment must satisfy themselves that all necessary steps have been taken to assure that each
application and use meets all performance and safety requirements,
including any applicable laws, regulations, codes and standards.
Service
WARNING
The SIM960 is not designed, intended, or sold for use in hazardous
environments requiring fail-safe operation, including without limitation, operation of nuclear facilities, aircraft or spacecraft control
systems, and life support or weapons systems. The user must assure
that any failure or misapplication of the SIM960 cannot lead to a consequential failure of any interconnected equipment that could lead
to loss of life or limb, or property damage.
The illustrations, charts, and discussions shown in this manual are
intended solely for purposes of example. Since there are many variables and requirements associated with any particular control application, Stanford Research Systems does not assume responsibility
or liability for actual use based upon the examples shown in this
publication.
Do not install substitute parts or perform any unauthorized modifications to this instrument.
The SIM960 is a double-wide module designed to be used inside the
SIM900 Mainframe. Do not turn on the power to the Mainframe or
apply voltage inputs to the module until the module is completely
inserted into the mainframe and locked in place. Do not exceed
±18 V at any input or output connector.
iii
ivGeneral Information
SymbolDescription
Alternating current
Caution - risk of electric shock
Frame or chassis terminal
Caution - refer to accompanying documents
Earth (ground) terminal
Battery
Fuse
On (supply)
Off (supply)
Symbols you may Find on SRS Products
SIM960Analog PID Controller
General Informationv
Notation
The following notation will be used throughout this manual.
WARNING
CAUTION
A warning means that injury or death is possible if the instructions
are not obeyed.
A caution means that damage to the instrument or other equipment
is possible.
Typesetting conventions used in this manual are:
• Front-panel buttons are set as [Button];
[Adjust] is shorthand for “[Adjust ] & [Adjust ]”.
• Front-panel indicators are set as Overload.
• Remote command names are set as *IDN?.
• Literal text other than command names is set as OFF.
Remote command examples will all be set in monospaced font. In
these examples, data sent by the host computer to the SIM960 are set
as straight teletype font, while responses received by the host
computer from the SIM960 are set as slanted teletype font.
The SIM960 is designed to maintain stability in systems requiring
low noise and wide bandwidth. The controller design consists of
a front end differential input amplifier, followed by an integrator
and a differentiator, arranged in what is known as the “ideal” PID
topology. The input amplifier (the “error amplifier”) differences the
the two single ended inputs, Setpoint and Measure , and multiplies
the resulting error signal (ε) by the proportional gain. The amplified
error is then passed to three parallel control paths:
1. The proportional path, no change is made to the signal.
2. The integral path with gain I.
3. The derivative path gain D.
These three signals can be independently selected to combine at a
summing amplifier, which is then buffered to the output. A constant
offset can also be added, which can be useful in applications that do
not use the I term. Mathematically, the behavior is
where the three terms within the braces, and Offset, can be independently enabled or zeroed.
For internal stability, the actual differentiator is “rolled off” to limit
the derivative gain to +40 dB.
The output circuitry includes a soft limiter that turns on when the
output exceeds user specified upper and lower limits and clamps the
output to the limit level. The output bar display on the right side of
the front panel has red LEDs at each end to indicate when the output
is being limited.
1.2Front Panel Operation
This section discusses the essentials of operating the SIM960 locally,
from the front panel. See Chapter 3 for remote operation.
ε ≡ Setpoint − Measure(1.1)
)
Output = P ×(ε + IZε dt + D
• Press [Select] to choose which configuration parameter to view
in the numerical display.The indicator to the left of each
descriptor shows which parameter is displayed. When Shift
is highlighted, pressing [Select] steps the parameter selection
backwards.
dε
+ Offset(1.2)
dt
SIM960Analog PID Controller
1.2Front Panel Operation1 – 3
Figure 1.1: The SIM960 front panel.
• The P, I, D, Offset, and SP Ramp parameters may be enabled/disabled with [On/Off]. Each of these parameters has an
additional indicator to the right of the descriptor to indicate the
on/off status.
• The Limits parameter has two sublevels: upper and lower
limit.
• The Setpoint , Measure, P × ε, and Output values are displayonly. All the other values can be changed using the [ ] buttons; the digit selected for adjustment is indicated by its flashing brightness. Change the digit selection while Shift is highlighted ([]).
• There are two formats for the numeric display: Exponential,
and fixed decimal. The format used for a particular parameter depends on its range. Parameters P, I, D and SP Ramp
(rate) vary by several orders of magnitude and are therefore
displayed in exponential format, while all other parameters
range from −10 V to +10 V and are displayed in fixed decimal
format.
SIM960Analog PID Controller
• For exponential format, themantissa may bechanged using the
up/down arrow buttons. The active digit maybe selected using
the left/right buttons (= shift, followed by up/down button).
1 – 4Getting Started
The right-most digit (after) is the power of ten exponent.
For example, the display= 1200.
• The P parameter has a selectable “±” indicator before the
mantissa.This allows the polarity of the controller to be tog-Polarity =⇒
gled by the user. All other exponentially displayed parameters
are unipolar, so no sign is displayed for these parameters.
• In fixed decimal format a value between −10 and +10 may be
selected using [ ] (and [Shift]).
• The two outputs, P × ε, and Output , are accompanied by bar
displays on the right side of the front panel. P × ε simply
ranges from −10 V to +10 V. However, since the controller output ranges between the user-programmed upper and lower
limits, the output bar display is normalized to that range. For
example, if the limits were set to +5 V and −1 V, the full range
of the bar display would be 6 V, and 0 V would no longer correspond to the center of the bar display, but would be1/6th of
the way up from the bottom. The default limits are ±10 V.
1.2.1Inputs
• Use [Setpoint] in the INPUTS section of the front panel to
choose between an external setpoint input, and the internally
generated setpoint. An external setpoint can be supplied at the
Setpoint BNC input. When the internal setpoint is selected the
BNC connector is disconnected from the SIM960 circuitry.
• The Output BNC connector can be toggled between PID Control mode and Manual mode using [Output] (in the OUTPUT
section of the front panel). In manual mode, the SIM960 output
is set to the value indicated by the manual parameter.
The common mode range of the “Measure” and “Setpoint” inputs
extends from −10V to +10V. If either input is outside this range, the
overload LED indicator lights.
The differential input rangeis ±1 V. Whenever thedifference between
Setpoint and Measure exceeds this range, the overload LED indicator turns on. When connected with overall negative feedback and
reasonably well tuned, the SIM960 keeps the difference between the
setpoint and measure inputs as small as possible, so the differential
input range is unlikely to be exceeded. Before the SIM960 has been
tuned for a given system, however, this may not be true. It is helpful
to keep in mind that exceeding the ±1 V differential input range will
saturate the error amplifier, even if theoutput signalwouldotherwise
be within the upper and lower Limits setting. In such situations, the
controller will be effectively limited at some intermediate value.
SIM960Analog PID Controller
1.2Front Panel Operation1 – 5
1.2.2Ramping
The ramping feature of the SIM960 PID Controller allows the user to
linearly slew the internally generated setpoint level from its current
value to a new value. The slew rate may be changed using the
SP Ramp parameter on the front panel.
The indicator to the right of SP Ramp shows whether ramping is enabled or disabled.Use [On/Off] (with SP Ramp selected) to enable/disable ramping.When disabled, changes to
the Internal Setpoint parameter take effect immediately.When
ramping is enabled, however, changes to Internal Setpoint do not
immediately take effect. Instead, Internal (in the Setpoint block of
the INPUTS section of the front panel) begins to blink, showing that
a new setpoint has been entered and a ramp event is now pending.
To begin the ramp, press [Ramp Start/Stop]. Now, the Internal blink
rate doubles, indicating that the setpoint is ramping. To pause the
ramp, press [Ramp Start/Stop]˙When the ramp is paused, the In-ternal blink rate becomes uneven.To continue the ramp, press
[Ramp Start/Stop] again. When the setpoint reaches the new programmed value, the ramp automatically terminates, and Internal
stops blinking.
1.2.3Connections
Note, SP Ramp has no sign in the numerical display. This is because the polarity of the ramp rate is unambiguously determined
by whether the newly entered setpoint is greater or less than the
current setpoint. The range of available ramp rates is from 1mV/s
to 10,000V/s. For ramp rates less than or equal to 1 V/s, the rate
is dynamically trimmed based on real-time measurements from the
onboard A-to-D converter.
Connect the sensor output of the system to be controlled to the “Measure”input of the SIM960˙If an external setpoint isto be supplied, connect this to the “Setpoint” input, and use the button in the INPUTS
section of the front panel to select “External” input. Before connecting the SIM960 output to the system to control, it may be necessary to
set the user programmable output upper and lower Limits to guard
against damaging the system. Care should be taken to insure that
the programmed output range is consistent with the system input
range. Once the limits have been programmed, connect the SIM960
output to the system input.
SIM960Analog PID Controller
1 – 6Getting Started
1.2.4Bar displays
Two LED bar displays have been included on the right side of the
SIM960 front panel to provide visual information about the P × ε
and Output signals. This reduces the need to frequently return to
those fields on the numerical display while trying to adjust other
tuning parameters. Some time should be taken to understand what
information these bar displays provide.
Each bar has two lighted LEDs; one for the maximum peak of the
signal, and one for the minimum peak. The peaks are determined
with respect to time variation of the signal, and they decay back to
the DC level with a decay time of ∼100 ms.
To understand how a signal is represented in the bar display, consider an input sine wave of frequency 1 Hz. Since frequency is low
compared to the inverse of the decay time, the maximum and minimum peak values are indistinguishable, and the signal appears as
a single LED that tracks the sine wave. As the frequency increases,
the maximum peak does not decay quickly enough to track the negative excursions the signal, and the minimum peak also fails to track
positive excursions. So there appear to be two lighted LEDs slightly
separated, roughly tracking the sine wave. As the frequency is further increased to well above the decay time inverse, the two lighted
LEDs no longer decay at all from their peak levels, so there appear
to be two lighted LEDs marking the maximum and minimum peaks
of the sine wave.
Thus, a slowly varying signal appears as a single lighted LED in the
display, tracking the signal changes with time. But a quickly varying
signal, however, appears as two lighted LEDs marking themaximum
and minimum excursions of the signal in time.
The range of the P × ε bar display is ±10 V. The Output bar display
has a range determined by the user programmed upper and lower
limits. For example, if the limits were set to +5 V and −1 V, the full
range of the bar display would be 6 V, and 0 V would no longer
correspond to the center of the bar display, but would be1/6th of the
way up fromthe bottom. Also, the Output bar display has a red LED
on each end to indicate whether the controller output is saturated at
its limit.
1.2.5Restoring the default configuration
The default configuration of the SIM960 can be restored in either of
two ways: From the front panel, or via the remote interface.
To restore from the front panel, first turn off the power to the SIM960
by switching its SIM900 Mainframe to “Standby,” then switch the
SIM960Analog PID Controller
1.3Rear Panel Monitoring1 – 7
power on while holding down [Ramp Start/Stop]. Keep the button
depressed for about one second after power comes on.
The default configuration can also be restored via the remote interface
using the *RST command.
1.3Rear Panel Monitoring
Two analog monitor signals are available at the rear panel of the
SIM960 (see Figure 1.2).
1.3.1Error Monitor
The upper BNC connector carries a buffered copy of the P × ε output
of the error amplifier. This output is always available, even when
the P term is disabled from the control law. It is also active when the
main SIM960 output is set to Manual mode.
1.3.2Input Setpoint Monitor
The lower BNC is a copy of the internally generated setpoint voltage.
This output is also always available, even when the Setpoint mode
is set to External.
SIM960Analog PID Controller
Figure 1.2: The SIM960 rear panel.
1 – 8Getting Started
1.4SIM Interface
The primary connection to the SIM960 Analog PID Controller is the
rear-panel DB–15 SIM interface connector. Typically, the SIM960 is
mated to a SIM900 Mainframe via this connection, either through
one of the internal mainframe slots, or the remote cable interface.
It is also possible to operate the SIM960 directly, without using the
SIM900 Mainframe. This section provides details on the interface.
CAUTION
The SIM960 has no internal protection against reverse polarity, missing
supply, or overvoltage on the power supply pins. Misapplication of power
may cause circuit damage. SRS recommends using the SIM960 together
with the SIM900 Mainframe for most applications.
1.4.1SIM interface connector
The DB–15 SIM interface connector carries allthe power and communications lines to the instrument. The connector signals are specified
in Table 1.1
The SIM960 is intended for operation in the SIM900 Mainframe, but
users may wish to directly interface the module to their own systems
without the use of additional hardware.
SIM960Analog PID Controller
1.4SIM Interface1 – 9
The mating connector needed is a standard DB–15 receptacle, such as
Amp part # 747909-2 (or equivalent). Clean, well-regulated supply
voltages of +5,±15VDC must be provided, following the pin-out
specified in Table 1.1. Ground must be provided on Pins 1 and 8,
with chassis ground on Pin 9. The −STATUS signal maybemonitored
on Pin 2 for a low-going TTL-compatible output indicating a status
message.
1.4.2.1Direct interface cabling
If the user intends to directly wire the SIM960 independent of the
SIM900 Mainframe, communication is usually possible by directly
connecting the appropriate interface lines from the SIM960 DB–15
plug to the RS-232 serial port of a personal computer.1Connect RXD
from the SIM960 directly to RD on the PC, TXD directly to TD, and
similarly RTS→RTS and CTS→CTS. In other words, a null-modem
style cable is not needed.
To interface directly to the DB–9 male (DTE) RS-232 port typically
found on contemporary personal computers, a cable must be made
with a female DB–15 socket to mate with the SIM960, and a female
DB–9 socket to mate with the PC’s serial port. Separate leads from
the DB–15 need to go to the power supply, makingwhat is sometimes
know as a “hydra” cable. The pin-connections are given in Table 1.2.
DB–15/F to SIM960Name
DB–9/F
3 ←→ 7RTS
4 ←→ 8CTS
10 ←→ 3TxD
11 ←→ 2RxD
5Computer Ground
to P/S
7 ←→ −15 VDC
14 ←→ +15 VDC
13 ←→ +5 VDC
8,9 ←→ Ground (P/S return current)
1 ←→ Signal Ground (separate wire to Ground)
Table 1.2: SIM960 Direct Interface Cable Pin Assignments
1
Although the serial interface lines on the DB-15 do not satisfy the minimum
voltage levels of the RS-232 standard, they are typically compatible with desktop
personal computers
SIM960Analog PID Controller
1 – 10Getting Started
1.4.2.2Serial settings
The initial serial port settings at power-on are: 9600 Baud, 8–bits, no
parity, 1 stop bit, and RTS/CTS flow control. These may be changed
with the BAUD, FLOW, or PARI commands.
The maximum standard baud rate that the SIM960 supports is 38400.
The minimum baud rate is 110. Above 38400, the SIM960 can be
set to the following (non-RS–232-standard) baud rates: 62500, 78125,
104167, 156250. Note that these rates are typically not accessible on
a standard PC RS–232 port, but can be used between the SIM960 and
the SIM900 Mainframe.
SIM960Analog PID Controller
2Advanced Topics
In This Chapter
This chapter discusses a simple “closed-loop” tuning procedure,
along with some of the advanced features of the SIM960 Analog
PID Controller.
PID control provides a simple way to minimize the effect of disturbances to a system. The system consists of a closed feedback
loop between two elements, the SIM960 controller and the user pro-
cess. The controller has two inputs, Setpoint and Measure , and an
Output. The process consists of a power source that can be directly
changed by the controller, in conjunction witha sensor to monitor the
process behavior. The sensor signal, after any necessary conditioning, is the process output. This should be connected to the Measure
input of the SIM960, and the SIM960 Output should be connected to
the process input, forming a feedback loop.
The difference between the Setpoint and Measure inputs is the error
signal, ε ≡ Setpoint − Measure (Eqn 1.1). In the SIM960 the error
signal is amplified by the proportional gain. The controller uses the
amplified error, P × ε, to generate three control signals:
1. Proportional, the P amplified error with no changes.
2. Integral, the time integral of the amplified error signal multiplied by a gain coefficient I.
3. Derivative, the time derivative of the amplified error signal
multiplied by a gain coefficient D.
These signals, as well as an Offset, are combined at a summing
junction to produce the controller output (see Eqn 1.2). Figure 2.1
shows a schematic representation of the SIM960 controller topology.
Note the proportional gain coefficient is commontoall three terms, so
the net integral and derivative gains are P ×I and P ×D, respectively,
whether or not proportional control is enabled.
The controller monitors the process output and makes small adjustments to the process in order to minimize deviations of Measure
from Setpoint due to external disturbances. To accomplish this, the
controller must be properly tuned, meaning that the gains for each
of the three control signals—proportional, integral, and derivative—
must be chosen appropriately to match the behavior of the process.
A well-tuned controller should be able to maintain a stable process
output.
The control loop feedback should be negative. However, because
the polarity of the process response to the controller output is an
arbitrary function of the design of the system, it is vital that the
controller polarity be chosen properly. Based on the topology of the
SIM960 design, feedback polarity can be changed simplybychanging
the polarity of the proportional gain parameter P. The user must
first determine which polarity will provide negative feedback. If the
SIM960Analog PID Controller
2.1PID Tuning Basics2 – 3
Manual
Control
Output
P
ε
×
P
ε
×
+
−
× 1
D
I
Offset
Control
Σ
Internal
Setpoint/Ramp
Generator
SP
M
Monitor Output
(rear panel BNC)
P
External
Setpoint
Input
Measure
Input
ε
= SP − M
*
Output**
Selector
* Antiwindup circuitry (see text)
** Bumpless transfer when I is enabled
Output Buffer w/User
Controlled Limits
SIM960Analog PID Controller
Figure 2.1: The SIM960 block diagram.
processisnoninverting, i.e. a small positive change at its input results
in a positive change at its output, then using positive P polarity will
ensure negative feedback in the loop. Tosee this, follow the effect of a
small positive change at the process output. Since the process output
is connected to the Measure input of the SIM960, a small positive
change would cause a negative change to ε. The resulting change at
the controller Outputwould also be negative, as would be that of the
process output. Thus, the initial small positive change at the process
output is “corrected” by a negative change after going around the
feedback loop. As a general rule, if the process is noninverting, then
the P-polarity should be positive. If the process is inverting, negative
P-polarity should be used.
Care should be taken in designing the process. The sensor should be
situated so that it is responsive to changes to the part of the system
under control. Placing the sensor too remotely can result in a time
delay which limits the quality of control. Also, the sensor should
primarily measure the system’s response to external changes, rather
than measure the changes directly. The latter can sometimes be used
to help the controller anticipate transients, but attheriskof sacrificing
accuracy in reaching the target setpoint.
Tuning a PID controller amounts to determining what the relative
contributions should be from each of the three types of control. The
simplest approach is to start with proportional control and add inte-
Loading...
+ 48 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.