SRS Labs SR530, Lock-In Amplifier Serial Polls and Service Requests, Gpib with RS232 Echo Mode

Page 31

DC1

Device Clear capability

RL0

REN,LLO, GTL not implemented.

 

'I' command sets Remote-Local.

SR530 Response to GPIB Commands

Mnemonic

Command

Response

DCL

Device Clear

Same as Z command

SDC

Selected

Same as Z command

 

Device Clear

 

SPE

Serial Poll

Send Status Byte,

 

Enable

& clear status byte

Because the SR530 can be controlled by an RS232 interface as well as the GPIB, the remote- local functions are not standard. There is no local with lock out state. When in the local state, remote commands are processed, even without the REN command being issued. This is because the RS232 interface has no provision for bus commands and remote commands over the RS232 interface would never be enabled.

Serial Polls and Service Requests

The status byte sent by the SR530 when it is serial polled is the same status byte which is read using the Y command (except for bit 6, SRQ). Ofcourse, when the SR530 is serial polled, it does not encode the status byte as a decimal number. The SR530 can be programmed to generate a service request (SRQ) to the GPIB controller every time a given status condition occurs. This is done using the V{n} command. The mask byte, n (0-255), is the SRQ mask byte. The mask byte is always logically ANDED with the status byte. If the result is non-zero, the SR530 generates an SRQ and leaves the status byte unchanged until the controller performs a serial poll to determine the cause of the service request. When the unit has been serial polled, the status byte is reset to reflect all of the status conditions which have occurred since the SRQ was generated.

For example, if we want to generate an SRQ whenever there is an overload or unlock condition, we need an SRQ mask byte equal to 00011000 binary, or 24 decimal ("V24" command). The byte 00011000 binary corresponds to the status byte

with the 'no reference' and 'unlock' status bits set. If an overload occurs, then an SRQ will be generated. The serial poll will return a status byte showing SRQ and overload. If an unlock condition occurs before the serial poll is concluded, another SRQ will be generated as soon as the serial poll is finished. A second serial poll will reflect the unlock condition.

Any SRQ generated by the 'no reference, 'unlock', 'overload', and 'auto over-range' conditions will also reset the corresponding bit in the SRQ mask byte. This is to prevent a constant error condition (such as no reference applied to the input) from continually interrupting the controller. When such an SRQ occurs, the controller should change

some parameter so as to solve the problem, and then re-enable the SRQ mask bit again using the V command.

GPIB with RS232 Echo Mode

It is sometimes useful when debugging a GPIB system to have some way of monitoring exactly what is going back and forth over the bus. The SR530 has the capability to echo all characters sent and received over the GPIB to its RS232 port. This mode of operation is enabled by setting switch 6 of SW1 to the DOWN position. The baud rate, stop bits, and parity of the RS232 port are still set by SW2. Of course, the RS232 port operates at much lower speeds than the GPIB and will slow down the GPIB data rate in this mode. (Use the W0 command to allow the RS232 interface to run at full speed, otherwise, the GPIB transactions may take so long that the controller can hang.) During actual use, this mode should be disabled.

The SR530 with BOTH Interfaces

If both interfaces are connected, commands may be received from either interface. Responses are always sent to the source of the request (except in GPIB echo mode). It is unwise to send commands from the two interfaces at the same time since the characters from different sources can become interleaved on the command queue and result in 'unrecognized command' errors.

27

Image 31
Contents Model SR530 Page Table of Contents Appendix C Gpib NON-OPERATING OperatingPage SR530 Specification Summary Gpib DemodulatorFront Panel Summary Enbw Abridged Command List Status Byte Definition Configuration SwitchesSensitivity Signal InputsSignal Filters SR510 Guide to Operation Front PanelChannel 1 Display Dynamic ReserveStatus Display SelectOffset Channel OutputOutput Channel Rel ChannelRcosø Output Expand ChannelChannel 2 Display Auto Phase Reference Input Rsinø OutputTrigger Level Time Constant Reference ModePhase Controls Reference DisplayDefaults PowerLocal and Remote SR530 Guide to Operation Rear Panel Page Front Panel Status LEDs Command SyntaxSR530 Guide to Programming Communicating with the SR530Try-Out with an Ascii Terminal RS232 Echo and No Echo OperationLOW Norm High SR530 Command ListN1,n2,n3,n4 Page Status Byte ErrorsBit Common Software Problems include ResetTrouble-Shooting Interface Problems Common Hardware Problems includeSR530 with the Gpib Interface SR530 with the RS232 InterfaceGpib with RS232 Echo Mode Serial Polls and Service RequestsSR530 with Both Interfaces Measurement Example Lock-in TechniqueShielding and Ground Loops Understanding the SpecificationsPage Page SR530 Block Diagram DC Amplifiers and System Gain Signal ChannelPhase Sensitive Detectors Reference ChannelCircuit Description Demodulator and Low Pass Amplifier Reference OscillatorMicroprocessor Control Analog Output and ControlExpand Front PanelRS232 Interface Power SuppliesGpib Interface Amplifier and Filter Adjustments Multiplier AdjustmentsCalibration and Repair Replacing the Front-End Transistors Notch FiltersNon-Essential Noise Sources Appendix a Noise Sources and CuresPage Page Case 2 RS232 with Control Lines Case 1 The Simplest ConfigurationAppendix B Introduction to the RS232 Baud RateFinal Tip Stop BitsParity Voltage LevelsBus Description Appendix C Introduction to the GpibProgram Example IBM PC, Basic, via RS232 Appendix D Program ExamplesProgram Example IBM PC, Microsoft Fortran v3.3, via RS232 Page #include stdio.h Program Example IBM PC, Microsoft C v3.0, via RS232Page Program Example 4 IBM PC,Microsoft Basic, via Gpib ′INCREMENT X6 Output by 2.5 MV Program Example HP85 via Gpib Documentation Dpdt Oscillator Board Parts ListPC1 SW1BT1 Main Board Parts ListBR1 BR2SR530 Component Parts List SR530 Component Parts List CX1 22U MINPIN D Gpib ShieldedFU1 CY1MPSA18 SR530 Component Parts List SR530 Component Parts List SR530 Component Parts List SR530 Component Parts List SR530 Component Parts List 4PDT SPSTX8SR513 Assy SR530 Component Parts List Static RAM, I.C Z80A-CPU#4 Flat TIE AnchorTranscover MicaFront Panel Board Parts List RED LD2 LD1LD3 Quad Board Parts List SR530 Component Parts List PC1 SR530 Component Parts List Miscellaneous Parts List SR530 Component Parts List

SR530, Lock-In Amplifier specifications

The SRS Labs Lock-In Amplifier, model SR530, is a powerful tool designed for high-precision measurements in the realm of scientific research and industrial applications. This state-of-the-art instrument excels in extracting small signals from noisy environments, making it an invaluable asset for experiments in fields such as physics, engineering, and materials science.

One of the main features of the SR530 is its ability to perform synchronous detection, which is key to improving signal-to-noise ratios. By utilizing a reference signal, the device correlates the incoming signal with the reference to effectively filter out noise, allowing for the accurate measurement of weak signals that might otherwise be obscured. This process of phase-sensitive detection is fundamental to the operation of the Lock-In Amplifier.

The SR530 offers a wide frequency range, covering from 0.1 Hz to 100 kHz. This broad frequency response allows it to handle a diverse array of signals, making it suitable for various applications including optical detection, capacitance measurements, and in many cases, voltammetry. The device is also equipped with multiple inputs and outputs, facilitating the integration with other laboratory equipment and enabling complex experimental setups.

Precision is further enhanced with its adjustable time constant, which allows users to optimize the response time based on experimental needs. The user can choose time constants from 10 microseconds to 10 seconds, accommodating fast dynamic measurements as well as those requiring stability over longer durations.

Another remarkable characteristic of the SR530 is its digital processing capabilities. The device features a highly accurate digital voltage measurement system, minimizing drift and ensuring long-term stability. Additionally, the use of microprocessors enhances data handling and allows for features such as programmable settings, facilitating automated measurements.

Moreover, the SR530 includes a range of output options, including analog outputs, which can be used for direct signal processing, as well as digital interfaces for integration with computers. This ensures that users can not only capture high-fidelity data but also analyze and display it efficiently.

In conclusion, the SRS Labs SR530 Lock-In Amplifier stands out due to its sophisticated technology, versatile features, and robust performance. Its precision, flexibility, and ease of use make it an ideal choice for researchers and engineers looking to unlock the potential of weak signal measurement in complex environments.