14

GPD - The Fermi Large Area Telescope

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Page 1: GPD - The Fermi Large Area Telescope

Gamma-ray Large Area Space Telescope

(GLAST)

Beam Test 1999 Plan

GPDAQE001.100

Draft

February 2, 1999

W. W. Hansen Experimental Physics Laboratory Stanford University Stanford, CA 94305

Page 2: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

SIGNATURE PAGE

Gamma-ray Large Area Space Telescope

Beam Test 1999 Plan

Roger WilliamsonSenior Research ScientistStanford University

Date Prof. Peter MichelsonPrincipal InvestigatorStanford University

Date

i

Page 3: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

DOCUMENT CHANGE RECORD

Gamma-ray Large Area Space Telescope

Beam Test 1999 Plan

Number Release Date

1 Draft February 2, 1999

ii

Page 4: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

Contents

1 Scope 1

2 Purpose 1

3 Overview 1

4 Hardware 2

4.1 Beam End: GLAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

4.2 Beam End: SLAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

4.3 Counting House: GLAST . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

4.4 Counting House: SLAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

5 Software 3

5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

5.2 Data archiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

5.3 Basic displays . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

5.4 Analysis and display . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

5.5 New analysis and display programs . . . . . . . . . . . . . . . . . . . . . . . 6

6 Network 6

7 Run control 6

7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

7.2 First run . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

7.3 Restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

8 Run Timeline 8

List of Figures

1 Block diagram for the GLAST 1999 beam test. . . . . . . . . . . . . . . . . . 9

iii

Page 5: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

List of Tables

1 GLAST provided CPUs which need network IP addresses. . . . . . . . . . . 7

iv

Page 6: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

1 Scope

The scope of this document is the electronics and software for the Beam Test 1999 of theGLAST prototype tower.

2 Purpose

The purpose is to identify the components of the system, the tasks required, the methods tobe used to carry out the plan, and the schedule.

3 Overview

The beam test will use the GLAST prototype tower in a conguration as near to ightlike as is possible within the available time and resources. The tower will be supportedby systems which simulate other towers and the spacecraft. The command, telemetry, anddisplay system will be an evolutionary system simulating the mission operating environment,displays, and analysis where possible.

The GLAST prototype tower will include three TEM boards: 1) the tracker TEM board(TKR-TEM), 2) a calorimeter TEM board (CAL-TEM), and 3) an anticoincidence detectorTEM board (ACD-TEM). These boards will be congured into a single tower system using afast, switched network (Instrument Data Bus, or IDB). The IDB will be implemented eitheras a multi-link switched network or as a 100 Base T Ethernet network with an external Ciscoswitch, depending on the development state of the IDB at the time of the beam test.

A VME chassis will be used to receive beam pulse data from the SLAC provided re ectivememory. This chassis will be congured to look like a second tower and connect to theprototype tower via the IDB. The beam pulse trigger will be conditioned in this chassis anddistributed to the prototype tower as an ACD REQ in order to trigger the instrument froma beam pulse.

A second VME chassis will serve as a spacecraft simulator. This chassis will receive andforward commands from the GLAST workstations, transmit telemetry to the workstationsfrom the towers, supply GPS simulated sync pulse and time updates, and transmit atti-tude and position data to the tower using formats similar to those expected for the ightinstrument.

Position and attitude data will be provided, where available, from SLAC hardware mon-itors with updates at least once per second.

1

Page 7: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

Run control will utilize a signal transmitted over the Ethernet from the GLAST consoleworkstation to the beam run control computer. The beam run control computer will acquirebeam parameters at beam start time and pass the data to the GLAST console worksta-tion for logging. The GLAST run control software will include logging of setup and rundescriptive data. Data archiving will be performed in a dual redundant manner using twoof the Sun workstations with separate disks. Subsets of the data and display summarieswill be transmitted to the glast computer server at Stanford/HEPL for access by o sitecollaboration members using Web browsers or X-windows displays.

Beam data will be recorded in parallel by SLAC using their tape archival system.

All interfaces will be tested well in advance of the actual delivery of the GLAST prototypetower. First interface tests are planned for June, 1999.

4 Hardware

The beam test hardware is divided into two major groups: SLAC provided instrumentationand GLAST provided. The former is largely related to the beam. The GLAST equipment isfurther divided into the prototype tower, simulated tower equipment, a spacecraft simulator,and display workstations. GLAST hardware will be located at both the Beam End and theCounting House of End Station A at SLAC. A block diagram showing the major items ofhardware is given in Figure 1.1

4.1 Beam End: GLAST

The following equipment will be located at the beam end:

1. prototype tower

2. beam tower simulator

3. spacecraft simulator

4. 28 volt power supply

5. Cisco 2924C-XL Fast Ethernet Switch

1http://giants.stanford.edu/beamtest/beamtestplan/beamtestblock.pdf

2

Page 8: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

4.2 Beam End: SLAC

The following equipment will be located at the beam end:

1. NIM BIN to supply beam pulse trigger

2. TBD chassis to supply beam pulse data packet via re ective memory

3. TBD chassis to supply position data via (re ective memory or voltage level)

4. 110 VAC 20A clean power

5. ber optic link to Counting House for use with 100 Mbps Ethernet ( 6.25/125 micronmultimode ber optic cable with duplex SC connectors.)

4.3 Counting House: GLAST

The following equipment will be located in the Counting House:

1. Dual redundant Sun workstation with archival disks

2. Sun workstation for data display and analysis

3. Cisco 2924C-XL Fast Ethernet Switch

4.4 Counting House: SLAC

The following equipment will be located in the Counting House:

1. 10 Base T (10 Base 2?) Ethernet link to beam run control computer

2. ber optic link to Beam End for use with 100 Mbps Ethernet

5 Software

Software requirements have been given by S. Ritz (Software Requirements for the 1999

GLAST Prototype Tower Beam Test, Draft 1.1, 29 October 1998 ). This document fur-ther elaborates on the implementation of these requirements.

3

Page 9: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

5.1 Overview

GLAST software elements include:

1. prototype tower

2. beam tower simulator

3. spacecraft simulator

4. beam end GSE software for power supply control and monitoring

5. Workstation GSE applications for data archiving, display, analysis, and control

SLAC provided software elements include:

1. beam run control interface to GLAST GSE

2. beam pulse data packet once per beam pulse

3. platform control and position data

4. beam characterization data at run start

5.2 Data archiving

Data are sent in packets to the GLAST archival work stations which operate in simple dualredundant mode completely independently of one another. Data packets are archived toa le and simultaneously written to shared memory. Display and analysis programs canaccess either the disk le or shared memory. The third workstation (and any number ofother workstations on the network) will run the same program as the archival workstations(acquire) except the le archive will be disabled.

At the end of each run, the data les are closed, a time stamp is added to the le name,and the les are transferred to an archive subdirectory on the disk. Tape backup will begenerated once a day for all archived les.

4

Page 10: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

5.3 Basic displays

Simple displays for monitoring the status of xed length parameters such as housekeeping,time stamps, status ags, voltages, currents, and event rates can be displayed using theSETS display suite or programs. This software reads data from shared memory, whichpermits freezing of displays and scrolling backwards in time without loss of data. Theacquire process is independent of the display and analysis tasks. Each instance of a displaywindow is a separate process on the Sun workstation and utilizes the X-window system fordisplay. Consequently, displays may be put up on any computer with an X-window serverand access to the GLAST workstations. The SETS suite of programs includes:

1. hex: displays the complete data packet in hex, decimal, octal, or ASCII format

2. tabular: a script driven program which displays raw or converted values for any dataeld

3. stripchart: a 5-10 line stripchart which can be menu driven

4. striptab: a scrolling, single line ASCII print of any number of data elds in raw orconverted form selected by mnemonic

5. burst: a plain ASCII page display of variable length data such as command echos,parameter lists, timeline lists which are included in the telemetry burst area

Additional displays reading the shared memory may be written which utilize other lan-guages, such as JAVA.

A modication of the striptab program called ext4pv permits piping ASCII data intoother programs for processing and display. For example, combining the ext4pv program withgawk is a useful method for executing quick calculations of a one-o variety.

5.4 Analysis and display

The analysis and display portion of the glastsim GISMO program will be broken out and amethod written which will convert the prototype tower data packet into the data structureexpected by the glastsim program. This conversion will permit using the same analysis anddisplay software for both the simulations and the prototype tower (and later with the ightdata.)

5

Page 11: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

5.5 New analysis and display programs

New software is needed to provide analysis and display utilizing either the shared memorydata or data read from the archival les. An introduction to these requirements is given inthe beam test software requirements document.

6 Network

GLAST will provide a Cisco Fast Ethernet Switch with two beroptic connections and22 twisted pair Category 5 connections. This switch will provide the interface betweenthe DAQCTRL computer and all GLAST provided instrumentation including the GSE,spacecraft simulator, and prototype tower. One beroptic link from the Counting Houseto the Beam End will be provided by ESA for the use by GLAST. One end will connectthe Cisco switch in the CH to the Spacecraft Simulator at the Beam End. (The SpacecraftSimulator will include another Cisco switch.)

Programming of the Cisco switch will be performed by GLAST in coordination with theESA network administrator.

IP addresses will be required for each GLAST processor. During the setup and checkoutperiod, it is expected that all processors will need to be available via the Internet outside ofSLAC. During run time, the internet connection will be inhibited other than to one of theGLAST GSE workstations and possibly laptop computers connected via the Cisco switch inthe CH. Temporary IP addresses are available for use with laptop computers connected tothe net.

Table 1, page 7, lists the computers which will need IP addresses.

7 Run control

7.1 Overview

Run control is performed by the SLAC beam run control computerDAQCTRL in End StationA (ESA). A coordinated procedure will permit a run request signal from the GLAST consoleto DAQCTRL to be acted upon, giving the appearance of control by the GLAST console.

It is planned that the beam will not be turned o between runs unless necessary forsafety reasons. Since GLAST will operate as a secondary experiment, the primary user ofthe beam will periodically use the beam to ll the rings. It is expected that the anticipated

6

Page 12: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

Table 1: GLAST provided CPUs which need network IP addresses.

OperatingNode Name Location CPU type System IP address

beamtwr Beam End MIPS R4700 VxWorksspacecraft Beam End MIPS R4700 VxWorksptwr0 Prototype Tower PowerPC 603E VxWorksptwrcal0 Prototype Tower PowerPC 603E VxWorksptwracd0 Prototype Tower PowerPC 603E VxWorksglastswitch-be Beam End Cisco 2942C-XLglastcon1 Counting House Sun Solaris 2.xglastcon2 Counting House Sun Solaris 2.xglastdisplay Counting House Sun Solaris 2.xglastswitch-ch Counting House Cisco 2942C-XL

loss of the beam will be announced a few minutes prior to the event and GLAST will do arun restart.

7.2 First run

Prior to the rst run, the beam is set up and run control is enabled for the GLAST run

start message. After the GLAST prototype tower has been initialized and the GLAST runcontrol program has been prepared, a start signal issued by the GLAST console is sent toDAQCTRL. The beam will be turned on after enabling the GLAST Level 1 Trigger (L1T)in order to observe noise levels in the prototype tower.

At the end of the run, the setup for the next run will be performed prior to stopping thecurrent run in order to minimize loss of data. The GLAST run initialization program willaccept all initialization data and descriptive comments oine so that restart is not held upwaiting for human input.

7.3 Restart

Run stop and start will be initiated by radio buttons on the GLAST console which performthe functions given in the following list. Only steps 1 and 12 require human action toexecute. This list is given from the perspective of the glastcon1 console. It is expected that

7

Page 13: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

this run control program will be written as a script which permits simple updates or changesas required (perhaps as a shell script or using perl).

1. Execute Run Stop from the glastcon1 console

2. Inhibit L1T

3. Request non-event data from DAQCTRL

4. Receive and store non-event data

5. Stop the data archiving process

6. Request run stop from DAQCTRL

7. If platform move required for next run, then request move . . . from DAQCTRL

8. Initialize the prototype tower with new run parameters

9. Command status dump from the prototype tower

10. Receive message from DAQCTRL move complete

11. Enable Run Start button on glastcon1 display

12. On verbal ready from beam run control, execute Run Start from the glastcon1 console

13. Enable L1T

14. Request run start from DAQCTRL

15. Request non-event data from DAQCTRL

16. Save run parameters le with run start time

17. Receive and store non-event data

8 Run Timeline

A run plan will be generated prior to the beam test which describes the objectives andconditions for each run. A separate document will be used to develop the details of runs.The run start/stop description given here is meant to be generic and to include all of thecommands required to support the run timeline.

8

Page 14: GPD - The Fermi Large Area Telescope

GPDAQE001.100 GTDGPDAQE001.100

Beam End

Worksta tions

SETS acquirehextabulartracker

Tornadowindshlaunchwindv iew

Reflective Memory

Cisco 2 924C-X L Fast Ethern et Switch

Instrument Data B us

Counting House

To Internet Beam Control, etc.

NIM Bin

Fiber-op tic

ESA BeamPulse Da ta

PowerConditio ner120V AC

28V P owersupp ly

Beam To werBeam D P

HSKL3Ttigger

Spacecra ftSimulatorComman dTelemetry

S/C Data p acketPosition S imulator

(GPS & S/T)

InstrumentTracker

CalorimeterAnti-coin cidence

HSKL3Trigger

ESA BeamPulse Da ta

Beam Pu lseTTL level50Ω Term .

Position S ensor and Co ntrol

Cisco 2 924C-X L Fast Ethern et Switch

Stanford Provided

SLAC Provided

Figure 1: Block diagram for the GLAST 1999 beam test.

9