Page 1
Operation and Service Manual Analog PID Controller SIM960 Stanford Research Systems Distribution in the UK & Ireland Lambda Photometrics Limited Revision 2.3 • October 10, 2013 Lambda House Batford Mill Harpenden Herts AL5 5BZ United Kingdom Characterisation, info@lambdaphoto.co.uk Measurement &...
Page 2
Copyright c 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 SIM960 Analog PID Controller...
The user must assure that any failure or misapplication of the SIM960 cannot lead to a con- sequential failure of any interconnected equipment that could lead to loss of life or limb, or property damage.
Symbols you may Find on SRS Products Symbol Description 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) SIM960 Analog PID Controller...
• 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.
150 (±15 V), 80 (+5 V) General Characteristics Number of inputs Interface Serial (RS-232) through SIM interface Connectors BNC (3 front, 2 rear); DB–15 (male) SIM interface Weight 2.1 lbs 3.0 W × 3.6 H × 7.0 D Dimensions SIM960 Analog PID Controller...
1 Getting Started This chapter gives you the necessary information to get started quickly with your SIM960 Analog PID Controller. In This Chapter General ......1 – 2 Front Panel Operation .
1 – 2 Getting Started 1.1 General 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.
Page 11
1.2 Front Panel Operation 1 – 3 Figure 1.1: The SIM960 front panel. • The P, I, D, Offset , and SP Ramp parameters may be en- abled/disabled with [On/Off]. Each of these parameters has an additional indicator to the right of the descriptor to indicate the on/off...
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...
Connect the sensor output of the system to be controlled to the “Mea- sure” input of the SIM960 ˙ If an external setpoint is to be supplied, con- nect this to the “Setpoint” input, and use the button in the INPUTS section of the front panel to select “External”...
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...
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.2 Input Setpoint Monitor The lower BNC is a copy of the internally generated setpoint voltage.
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.
Page 17
RS-232 serial port of a personal computer. Connect 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.
Page 18
(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. SIM960 Analog PID Controller...
2 Advanced Topics This chapter discusses a simple “closed-loop” tuning procedure, along with some of the advanced features of the SIM960 Analog PID Controller. In This Chapter PID Tuning Basics ....2 – 2 Ziegler-Nichols’...
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 ×...
Page 21
To see this, follow the effect of a small positive change at the process output. Since the process output Derivative gain is connected to the Measure input of the SIM960, a small positive Offset change would cause a negative change to ε. The resulting change at...
Page 22
During the tuning process, it is important to keep in mind that the differential input range of the SIM960 is ±1.0 V. It is good practice to occasionally glance at the OVLD indicator to ensure the input amplifier is not saturated.
The procedure is: • Switch the SIM960 into PID mode, with I and D both disabled. Choose a value for Setpoint around the desired operating point, and set P so some small value.
So stopping the integrator would hinder the controller’s effort to recover the process variable. The SIM960 uses a technique called “conditional integration:” Con- ditional integration only stops the integrator when the polarity of the error is such as to drive the integrator toward the saturated limit.
When I less transfer is only possible if the integral term is enabled. is turned on and the SIM960 is in Manual output mode, the input to the integrator is rerouted to integrate the difference between Manual and the (deselected) PID Control output. This effectively allows the PID Control to “track”...
3 Remote Operation This chapter describes operating the module over the serial interface. In This Chapter Index of Common Commands ... . . 3 – 2 Alphabetic List of Commands ... . . 3 – 4 Introduction .
Reset values of parameters are shown in boldface. 3.3.2 Buffers The SIM960 stores incoming bytes from the host interface in a 32- byte Input Buffer. Characters accumulate in the Input Buffer until a command terminator (either CR or LF ) is received, at which point the message is parsed and executed.
TERM CRLF TERM 3 —or— For queries that return token values, the return format (keyword or integer) is specified with the TOKN command. The following table summarizes the notation used in the command descriptions: SIM960 Analog PID Controller...
In these examples, all data sent by the host computer to the SIM960 are set as straight teletype font, while responses received the host computer from the SIM960 are set as slanted teletype font. The usage examples vary with respect to set/query, optional param- eters, and token formats.
GAIN does not modify whether the proportional term is enabled or disabled. For on/off control, see PCTL. Setting GAIN overrides the previous setting of APOL. −1 The allowed range for GAIN is 10 ≤ |P| ≤ 10 Example: GAIN +2.5E+2 SIM960 Analog PID Controller...
Page 37
The offset voltage can be set with millivolt resolution. Note that set- ting OFST does not modify whether the offset is enabled or disabled. For on/off control, see OCTL. The allowed range is −10.000 ≤ OFST +10.000. Example: OFST -12.3E-2; OFST? -0.123 SIM960 Analog PID Controller...
For on/off control of linear ramping, see RAMP. −3 ≤ RATE ≤ 10 The allowed range is 10 Example: RATE 2.2E-3 RATE? +0.2E-2 SIM960 Analog PID Controller...
Page 39
Set (query) the upper output limit {to f }, in volts. The upper limit can be set with 10 mV resolution. Note that, re- gardless of the operating mode of the SIM960 (see AMAN), the out- put voltage will always be clamped to remain less positive than the ULIM limit.
Set (query) the lower output limit {to f }, in volts. The lower limit can be set with 10 mV resolution. The output voltage of the SIM960 will always be clamped to remain less negative than the LLIM limit. See ULIM for more details.
Page 41
The record format is SMON , MMON , EMON , OMON Example: RFMT ON SMON? 3; MMON? 3; EMON? 3; OMON? 3 +00.099909,-00.006053,+00.105601,+01.106135 +00.099909,-00.006031,+00.105615,+01.106123 +00.099915,-00.006001,+00.105636,+01.106151 SIM960 Analog PID Controller...
MMN 10 ADC measurement of P-Amplified error EMN 11 ADC measurement of PID/Manual Output OMN 12 Example: DISP 1 SHFT(?) {z} Shift Status Set (query) the current shift status {to i=(OFF 0, ON 1)}. Example: SHFT? SIM960 Analog PID Controller...
PARI? NONE 3.4.8 Status commands The Status commands query and configure registers associated with status reporting of the SIM960. *CLS Clear Status *CLS immediately clears the ESR, CESR, and the SIM960 status reg- isters. Example: *CLS SIM960 Analog PID Controller...
Page 44
Set (query) the Standard Event Status Enable Register [bit i] {to j}. Example: *ESE 16 CESR? [i] Comm Error Status Query Comm Error Status Register [for bit i]. Upon executing a CESR? query, the returned bit(s) of the CESR register are cleared. Example: CESR? SIM960 Analog PID Controller...
Page 45
(see Section 3.5.10). Example: ADSR? ADSE(?) [i], {j} A-to-D status enable register Set (query) the A-toD status enable register [bit i] {to j}. Example: ADSE 2 SIM960 Analog PID Controller...
The Interface commands provide control over the interface between the SIM960 and the host computer. *RST Reset Reset the SIM960 to its default configuration. The effect of this com- mand is equivalent to the following sequence of commands: • DISX ON • DISP PRP •...
Page 47
3 – 21 • LLIM -10.0 • INPT EXT • AMAN PID • TOKN OFF • SOUT The baud rate of the SIM960 is unaffected by *RST. The entire status model is also unaffected by *RST. Example: *RST CONS(?) {z} Console Mode Set (query) the Console mode {to z=(OFF 0, ON 1)}.
Page 48
WAIT i Wait Wait i milliseconds before processing more commands from the host. When using the WAIT command, be careful to not overflow the input buffer of the SIM960 (see section 3.3.2). Example: SETP 0 RATE 0.1 SETP 1.0; WAIT 5000; SMON? +00.483159...
Page 49
Query the last button that was pressed. The values returned are: Value Button no button pressed since last LBTN? [Setpoint] [Output] [Ramp Start/Stop] [Shift] [Select] [On/Off] [ ]/ [ ] [ ]/ [ ] Example: LBTN? SIM960 Analog PID Controller...
Page 50
TOKN(?) {z} Token Mode Set (query) the Token Query mode {to z=(OFF 0, ON 1)}. If TOKN ON is set, then queries to the SIM960 that return tokens will return the text keyword; otherwise they return the decimal integer value.
OVLD INCR INSR INSE Figure 3.1: Status Register Model for the SIM960 Analog PID Con- troller. There are three categories of registers in the SIM960 status model: Condition Registers : These read-only registers correspond to the real-time condi- tion of some underlying physical property being monitored.
Remote Operation 3.5.1 Status Byte (SB) The Status Byte is the top-level summary of the SIM960 status model. When masked by the Service Request Enable register, a bit set in the Status Byte causes the −STATUS signal to be asserted on the rear- panel SIM interface connector.
Input Buffer. QYE : Query Error. Indicates data in the Output Queue has been lost. DDE : Device Dependent Error. Undefined for SIM960. EXE : Execution Error. Indicates an error in a command that was successfully parsed. Out-of-range parameters are an example.
3.5.7 Instrument Status (INCR) The Instrument Condition Register consists of 5 single-bit monitors of condition events within the SIM960. Bits in the INCR reflect the real-time values of their corresponding signals. Reading the entire register, or individual bits within it, does not affect the value of INCR.
This register is cleared at power-on. 3.5.10 Analog to Digital Status (ADSR) The Analog to Digital Status Register consists of 4 event flags; each of which is set by a corresponding conversion completion for one of SIM960 Analog PID Controller...
The ADSE acts as a bitwise AND with the ADSR register to produce the single bit ADSB message in the Status Byte Register (SB). It can be set and queried with the ADSE(?) command. This register is cleared at power-on. SIM960 Analog PID Controller...
4 Performance Tests This chapter describes the tests necessary to verify the SIM960 is operating correctly and within specified calibration. In This Chapter Getting Ready ..... . . 4 – 2 Performance Tests .
This divider will be used externally to the SIM960 to test the integral gain accuracy. The SIM960 should be given at least one hour to warm up after power is turned on, and care should be taken not to constrict the ventillation holes in the SIM900 mainframe.
• Set the I parameter to 10 using INTG 1.0E5. • Turn on I control using ICTL ON. • Use a short BNC cable to connect the SIM960 Output to the Measure input. • Select “Internal” by pressing [Setpoint] on the front panel.
4.2.4 Derivative Gain Accuracy Use the same connections as for the proportional gain accuracy test. Reset the SIM960 via the remote interface using *RST. Turn off the P (gain) control using PCTL OFF. Turn on the D control using DCTL ON. With the SR785 in swept sine mode and the source output amplitude at 0.5 V, measure the frequency response at the frequencies...
• Connect the top of the divider to the Output of the SIM960, connect the center of the divider to the Measure input of the SIM960, and connect the bottom of the divider to ground. This ground should be accessed at one of the BNC shields.
In each case, the output display value should be within ±5 mV of the programmed manual output value. 4.3 Calibration If any of the preceeding tests fail, the SIM960 should be returned to the factory for recalibration. Contact Stanford Research Systems or an authorized representative before returning the SIM960.
Page 63
5 Parts Lists and Schematics This chapter presents a brief description of the SIM960 circuit design. A complete parts list and circuit schematics are included. In This Chapter Circuit Descriptions ....5 – 2 5.1.1...
5–9 are the analog board. 5.1.1 Microcontroller The SIM960 is controlled by microcontroller U103. It is clocked at 10 MHz by the oscillator built around U102, which will track the reference +REF 10MHZ signal (if present) on JP103.
R615 in order to roughly match the switch resistance of each of the switches in U601. 5.1.5 Output Circuitry U807 is used to switch the ouput of the SIM960 between Manual and PID modes. The signal then passes through two cascaded diode limiter circuits.
SIM960 output is referenced to ground via R863 (100k). U820A provides a buffered analog output of the P × ε signal at the back panel of the SIM960. Also, the output of U731A is passed to the back panel to provide an analog output of the internally generated setpoint signal.
Need help?
Do you have a question about the SIM960 and is the answer not in the manual?
Questions and answers