SOAR INSTRUMENT/TELESCOPE INTERFACE

SOAR REQUIREMENTS AND GEMINI COMPATIBILITY

J. Baldwin, E. Loh, S. Simkin, R. Smith, G. Schumacher

25 October 1997
Revised 21 January 1999 by G. Cecil

I. INTRODUCTION

Our group was asked: "What does the telescope & facility need to provide for instrument control & calibration? What instrument info needs to get to the TCS & vice versa, how often?" We were provided with a description of the Gemini hardware instrument/telescope interface as a starting point for our discussions. The revision of this report (by GC) reflects irreversible SOAR Project Office decisions that have been made in the interim and which are not justified here; additions to the text by GC are in this red.

1) Why compatibility?

2) Why Gemini? ...How much do we have in common?

* Similar imaging performance goals and technological approach. * Similar interests in remote observing and queue scheduling featuring rapid switches between instruments, with the likelihood of sharing at least the communication infrastructure. * Both projects serve broad user communities from the USA and Brazil. * Identical need for standard interfaces between all telescope subsystems and instruments and detectors. * Adjacent sites and very limited support staff: considerable potential for exchange of expertise and even spare parts. * SOAR science will support Gemini science, often with the same observers moving between telescopes. Common interfaces to astronomers (reduction and acquisition) and even telescope operators would be highly beneficial.

II. MECHANICAL COMPATIBILITY.

This already has been discussed by the SAC. The adopted requirements are for Gemini compatibility subject to some reduction in maximum mass, moment and volume. The project goal is to achieve the full Gemini specification in these areas. We understand that either Nasmyth port could in principle be configured this way , but that the present working plan (since the demise of the GNIRS clone) is that three-instrument clusters will normally be at both ports. When and if a Gemini instrument actually arrives at SOAR, a three-instrument cluster will be removed and the Gemini instrument mounted. We recommend that the actual bolt patterns and interface panels for the instruments on the three-instrument port should be identical to the one on the single-instrument port, so that instruments intended for the three-instrument port can easily be used on the one-instrument port if desired. I guess this says that the bolt pattern should be that of Gemini, which may be impractical considering that the clear aperture of their instruments is almost the same as the dimensions of our instrument cluster! In other words, why use their bolts if we can't mount our instruments on their telescope anyway?

III. CONNECTOR COMPATIBILITY.

The Gemini connector set and configuration is described in Gemini ICD (Interface Control Document) 1.9/3.6 "Science and Facility Instruments to System services Interface Control Document". Gemini will have a total of 32 connector panels in their cassegrain area. Each panel measures 10cm x 50cm. Each Gemini instrument requires a group of four panels for all of its connections. The full set of 32 panels includes spare panels and groups of panels allocated to the Gemini Aquisition and Guide, AO and Calibration units. Each individual instrument would be served by a set of four panels occupying a 40cm x 50 cm area with the general functions (1) Spare, (2) Electronics connections, (3) Mains/UPS Power, (4) Air, Helium, Coolant.

In general we feel that SOAR should adopt this same standard. We recommend that at each port SOAR should be designed to provide one set of four Gemini panels per instrument, plus one set for the A&G unit, plus one spare set. Both Nasmyth ports should be upgradable to supply three instruments. SOAR should use the same connectors as Gemini. This will be examined for feasibility on SOAR. However the problem is that Gemini has far more area for connectors than we do and their connectors may not enjoy being cramped.

However, we noticed three items that were missing from the Gemini specifications:

We also see one item in the Gemini standard which may be excessive: Except for the four points flagged above, we feel that the Gemini standards are as good as any. If the Gemini solution is cost effective, it should be adopted. Going a different route will complicate sharing of instruments (including smallish visitor instruments) between SOAR and Gemini.

IV. COMPATIBILITY OF BASIC POWER SYSTEMS AND UTILITY SUPPLIES.

We recommend adhering to the Gemini power standards for instrument power. This would provide 50 Hz power as follows:
 

Table 1

Instrument Power Supply

Voltages KVA Phases
120 V 2/instr Single Uninterruptible, at least 2KVA/instrument
120 V 2/instr Single Via isolation transformer 
220 V  2/instr Single Via isolation transformer 
380 V high 3, WYE In cable wrap only for future expansion. Limited distribution. 

A more detailed description is given in the accompanying document "Recommended Power Specifications for SOAR", by R. Smith and G. Brehmer.

The Gemini specifications for other utilities are:

We recommend adopting these specifications as well to simplify spare parts stocking.

We also recommend adopting the Gemini cooled enclosures that go with each instrument if they are cost effective. Gemini supplies these to the instrument builders. There are two types -- one is 1.3 m tall, the other 1.5 m tall. Both are ~34" deep and ~24" m wide. They have full size front/rear doors to access electronics and a breakout panel for distribution of power and signal lines. The 1.3 m enclosure weighs 94 kg, and the 1.5 m enclosure 106 kg. They are designed to handle a maximum power of ~1500 W and leak <50 W into the external environment.

V. SOFTWARE COMPATIBILITY.

This, including the issue of what electronics hardware supports the software, is by far the largest question faced in this document.

Most of what follows is of historical interest only. SOAR decided not to adopt EPICS shareware, instead opting for LabVIEW/BridgeVIEW commercial software that has better tool, language, and more complete driver support, runs on cheaper hardware/software platforms, and has perfectly adequate performance for our anticipated needs.

Our task group is assigned to study the issues of interfaces and Gemini compatibility, and should not try to specify details of the telescope design. However, the Gemini approach treats the instruments as a closely interwoven part of the telescope, in the sense that there is tight coordination of instrument control to implement observing sequences which involve both telescope and instrument commands and status, there is a global status monitoring and logging approach, header information comes from a wide variety of sources, and a goal is to provide real time feedback of both science and telescope data to plan the next observation. In addition, we think it is very desirable from the standpoints of both scientific usability and ease of operation that the user interface for SOAR look very similar to that for Gemini, especially in terms of specifying instrument setups and queue observations. Therefore we will briefly describe Gemini's overall approach.

A brief overview of the Gemini software approach can be found on the Gemini website in Gemini Preprint No. 14, "The software design of the Gemini 8m telescopes", by Steve Wampler. The control system software is organized into four principal systems:

The inter-relationship of these systems is shown in Figure 1, taken from the Wampler preprint.
Gemini has chosen a hardware architecture based on the use of the EPICS data base system to pass commands and control information, and three other LAN's to handle data, video and time. This carries with it a requirement for VME crates on the instruments and throughout the telescope. The basic Gemini architecture is shown in Figure 2, taken from Gemini ICD 8.

FIGURE 2.

EPICS is a publicly available data base and control system developed by several atomic accelerator labs. It is described at http://epics.aps.anl.gov:80/asd/controls/epics/EpicsDocumentation/WWWPages/EpicsFrames.html

The instrument side of the software/hardware system is based on a "standard controller". This is a VME crate with a fairly specific set of hardware modules including a Motorola cpu capable of running VxWorks and EPICS. The Gemini architecture allocates one standard controller for the various mechanisms on an instrument, and another one for the detector. An Instrument Control System (ICS) then consists of one or more of these VxWorks systems supporting software called the Instrument Sequencer, which in turn supervises via EPICS a detector controller and a component controller. A brief introduction to how this is intended to work is given in Gemini ICD 7a "ICS Subsystem Interfaces". Figures 3 and 4, from that document, show the basic setup.


ICD 7a notes that if the Gemini project chooses to use an existing detector controller rather than building one in-house, it might not have the same architecture as shown in Figure 3, but would still have to act like an EPICS channel access server at the interface with the control LAN.

This ICD also says that if an instrument has an on-instrument wavefront sensor (OIWFS), the component controller for that OIWFS will be mounted on the instrument's standard controller, but will not be controlled by the Instrument Sequencer that controls the rest of the instrument. Instead it will be controlled by the A&G controller, which is a subsystem of the TCS.

Otherwise the Instrument Sequencer software is responsible for managing the interfaces between all the instrument systems and the OCS, DHS and TCS.

The Gemini literature also discusses the possibility of "non-conforming" instruments. This is described in ICD 8 "Non-Conforming ICS Interfaces", which mostly says that it is possible for instruments to follow only part of the Gemini standard, at the cost of not having the full functionality of the telescope-instrument interaction. However, any instrument that wants to have any interaction at all with Gemini, even at the level of obtaining basic header information, must have an EPICS connection to the telescope environment.

Finally, it should be noted that all Gemini instruments are required to have a stand-alone capability for operation in an engineering mode. We do not know any details, but this may provide a basis for operating Gemini instruments on SOAR with no interaction with the telescope. Indeed, this is the approach that we will adopt to accommodate Gemini instruments if they ever show up on SOAR.

SOAR has decided not to follow the Gemini standard for the following main reason:

In the original document a number of points were made to support adoption of the Gemini solution completely. The Project instead found that LabVIEW/BridgeVIEW does what EPICS needs to do at a fraction of the price, is much easier to work with (better programming tools), and is fully supported on inexpensive PCI hardware (drivers already exist). Finally, no-one at NOAO appears to have any enthusiasm for EPICS. These are some of the reasons why SOAR did not adopt EPICS.