Presentation is loading. Please wait.

Presentation is loading. Please wait.

Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array GBT Control System.

Similar presentations


Presentation on theme: "Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array GBT Control System."— Presentation transcript:

1 Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array GBT Control System Richard Prestage

2 Requirements of a Single Dish Telescope Flexibility! Multiple Receivers – GBT has 11 current, 1 retired, more planned Multiple Backends – Three Spectrometers – Two heterodyne continuum + one bolometer array – Multiple pulsar backends (many visitor instruments) Multiple Observing Modes – Line, Pulsar, Continuum, VLBI, FSSW, PSSW, BMSW, OTF Mapping… Continually being upgraded Software must be flexible and agile also… 2

3 Requirements of the Control System Support the above flexibility Allow novice users to think about astronomy, rather than device settings Allow expert users to manipulate and use every capability of the hardware Create a laboratory of instruments, rather than a monolithic telescope – Allow for expansion and upgrades – Minimize interdependencies Systems implemented as autonomous units, coordinated by time – Consistent metaphor for devices – Consistent device state machine 3

4 4

5 Areas I will cover today Monitor and Control System (“Managers”) Configuration Logic Observation Control Queue Control 5

6 Monitor and Control System (“Managers”) Configuration Logic Observation Control Queue Control 6

7 7

8 Monitor and Control System Each separate piece of hardware is controlled by a separate process - – “Device Manager” Base class “Manager” provides a common control interface and implements core functionality required by all devices. Derived class adds methods specific to the needs of the device Control or “set-up” variables which define the operation of a device are encapsulated in the class “Parameter” – Primitive data types – Arrays – C-structures “setParameter” method can set any Parameter of any type. 8 Manager off on setParameter recalculate activtate stop start arm complete getEGST reportParameter

9 Monitor and Control System 9 Scan Coordinator Antenna Coordinator LO1 Manager Spectrometer Manager Antenna Manager Active Surface Manager Can have a hierarchy of “coordinators” and “managers”

10 Monitor and Control System Standby Ready Stopping Running Activating Committed Aborting Off Basic unit of data acquisition is a “scan” Contiguous period of telescope motion and data acquisition One “On” of an On-Off observation or point map One “row” of an on-the-fly map. Managers are independent state machines Coordinated by Start Time

11 Monitor and Control System (“Managers”) Configuration Logic Observation Control Queue Control 11

12 Configuration Logic The GBT has had over 10 receivers and over 10 backends available for use during the 10 years since its commissioning. Each receiver to backend must be routed through a complicated IF chain. If any part of the configuration is incorrectly setup, the observation will fail and telescope time will be lost. A typical configuration results in over 125 individual settings to at least 7 different hardware devices. The ‘configuration tool’ is an api that allows an observer to specify how they want to use the telescope without having to understand the details of the hardware or the M&C software system. The observer specifies what they want to do and the configuration tool maps this into GBT specific hardware settings. 12

13 Configuration Logic 13

14 Configuration Logic 14 Configure(""" receiver = 'Rcvr12_18' beam = 'B12' obstype = 'Continuum' backend = 'DCR' nwin = 1 restfreq = 15000 deltafreq = 0 bandwidth = 320 swmode = 'tp' swtype = 'none' swper = 0.2 swfreq = 0.0, 0.0 tint = 0.2 vlow = 0 vhigh = 0 vframe = 'topo' vdef = 'Radio' noisecal = 'lo' pol = 'Circular' iftarget = 3 """)

15 Configuration Logic Configuration Tool: – Does what? – How? 15

16 Monitor and Control System (“Managers”) Configuration Logic Observation Control Queue Control 16

17 Observation Control Typical Observation: – Calibrate the Telescope (Peak, Focus) – Configure the instrumentation (as discussed above) – Balance the IF system – Slew to a target source (specified in a catalog) – Perform the observation GBT Observation Control System executes simple scripts, written in python, to execute the above steps. All of the power of python is available to the observer. 17

18 Simple Observing Scripts Example 1: AutoPeakFocus() Example 2: mySource = “3C48” myOffset = Offset(“J2000”, 1.0, 1.0) Catalog(flux_cal) Configure(“/home/users/ashelton/myConfigure.py”) Slew(mySource) Balance() Track(mySource, myOffset, 60.0, “1”)

19 More Complex Example offsetList = [0,1,-1,2,-2,3,-3,4,-4,0] for nOffset in offsetList: # Calculate total offset, place into servo totOffset = offset0 + delOffset*nOffset SetSubrOffset("y3", totOffset) # Compensate LPC's a = (az0LPC+delOffset*nOffset*azLPCScale) e = (el0LPC+delOffset*nOffset*elLPCScale) f = focus0LPC+delOffset*nOffset*focusLPCScale SetValues("Antenna",{"localPointingOffsets,azOffset2":a}) SetValues("Antenna",{"localPointingOffsets,elOffset":e}) SetValues("Antenna",{"local_focus_correction,Y":f}}) # Add some annotation to the observing process Annotation("Y3FFSET",str(totOffset)) # Do the measurements AutoPeak(source=src, configure=False, balance=False) 19 Python list, loop Call a Python function Python arithmetic Set values in hardware

20 Monitor and Control System (“Managers”) Configuration Logic Observation Control Queue Control 20

21 Queue Control 21

22 Queue Control 22

23 Queue Control 23

24 24 The National Radio Astronomy Observatory is a facility of the National Science Foundation operated under cooperative agreement by Associated Universities, Inc. www.nrao.edu science.nrao.edu


Download ppt "Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array GBT Control System."

Similar presentations


Ads by Google