Dirk Muders, MPIfR, March 10, 2006 The APEX Control System* Past, Present & Future * APECS APECS Developers: A. Belloche, H. Hafok, J. Hatchell, C. König,

Slides:



Advertisements
Similar presentations
Web Services at IRIS DMC Joanna Muench Linus Kamb.
Advertisements

Test Case Management and Results Tracking System October 2008 D E L I V E R I N G Q U A L I T Y (Short Version)
DCS Architecture Bob Krzaczek. Key Design Requirement Distilled from the DCS Mission statement and the results of the Conceptual Design Review (June 1999):
CS 501: Software Engineering Fall 2000 Lecture 16 System Architecture III Distributed Objects.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Linux Operations and Administration
APECS 2.0 Training, APEX / ESO, Jan. '091 APECS 2.0 Upgrading the APEX Control System Dirk Muders, Heiko Hafok, MPIfR, Bonn APECS History APECS 2.0 Development.
Hunt for Molecules, Paris, 2005-Sep-20 Software Development for ALMA Robert LUCAS IRAM Grenoble France.
Framework for Automated Builds Natalia Ratnikova CHEP’03.
ADASS XI Sept30-Oct3, 2001 The ALMA Common Software (ACS) as a basis for a distributed software development G.Raffi, G.Chiozzi (ESO), B.Glendenning (NRAO)
An Introduction Chapter Chapter 1 Introduction2 Computer Systems  Programmable machines  Hardware + Software (program) HardwareProgram.
40m OAN telescope. First experience with ACS Observatorio Astronómico Nacional P. de Vicente, R. BolañoMarch 2004.
The ALMA Common Software: a developer friendly CORBA-based framework G.Chiozzi d, B.Jeram a, H.Sommer a, A.Caproni e, M.Pesko bc, M.Sekoranja b, K.Zagar.
An Introduction to Software Architecture
50mm Telescope ACS Course Garching, 15 th to 19 th January 2007 January 2007Garching.
4/2/03I-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Software Architecture and Design Readings: Ambler, Chap. 7 (Sections to start.
TANGO on embedded devices: the Bimorph Mirror application case Fulvio Billè Roberto Borghes, Roberto Pugliese, Lawrence Iviani Instrumentation & Measurement.
The ALMA TelCal subsystem Dominique Broguière, Institut de RadioAstronomie Millimétrique (IRAM) TelCal Phasing meeting – Grenoble -10/12/2012.
Developing the control system for the 40m OAN radiotelescope with ACS Observatorio Astronómico Nacional P. de Vicente, Rubén Bolaño, Laura Barbas January.
Middleware for FIs Apeego House 4B, Tardeo Rd. Mumbai Tel: Fax:
ATF Control System and Interface to sub-systems Nobuhiro Terunuma, KEK 21/Nov/2007.
APEX (ATACAMA PATHFINDER EXPERIMENT) Heiko Hafok, Dirk Muders Max-Planck-Institute for Radioastronomy, Bonn, Germany.
1 Computing Challenges for the Square Kilometre Array Mathai Joseph & Harrick Vin Tata Research Development & Design Centre Pune, India CHEP Mumbai 16.
Developing the control system for the 40m OAN radiotelescope with ACS Observatorio Astronómico Nacional P. de VicenteOctober 2005.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
ANKITHA CHOWDARY GARAPATI
Observing Modes from a Software viewpoint Robert Lucas and Philippe Salomé (SSR)
Atacama Large Millimeter/submillimeter Array Karl G. Jansky Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array GBT Control System.
Medicina, 07/10/ NURAGHE/ESCS: Telescope driving subsystem Andrea Orlati.
ICALEPCS 2005 Geneva, Oct. 12 The ALMA Telescope Control SystemA. Farris The ALMA Telescope Control System Allen Farris Ralph Marson Jeff Kern National.
Background Real-time environmental monitoring is a field garnering an ever-increasing amount of attention. The ability for sensors to make and publish.
August 2003 At A Glance The IRC is a platform independent, extensible, and adaptive framework that provides robust, interactive, and distributed control.
APECS 2.0 Upgrade, Group Meeting, APECS 2.0 Upgrading the APEX Control System Dirk Muders, Heiko Hafok, MPIfR, Bonn APECS History APECS 2.0.
TRIUMF HLA Development High Level Applications Perform tasks of accelerator and beam control at control- room level, directly interfacing with operators.
Topic 4: Distributed Objects Dr. Ayman Srour Faculty of Applied Engineering and Urban Planning University of Palestine.
1 Distributed Systems Architectures Distributed object architectures Reference: ©Ian Sommerville 2000 Software Engineering, 6th edition.
SCADA Supervisory Control And Data Acquisition Pantech Solutions Here is the key to learn more.
Space FSW Conference 2016 Matthew Conte Software Engineer
Business System Development
Development Environment
Overview of TANGO Control system
Software Overview Sonja Vrcic
CCS Engineering Tools The tools are used help development and debugging of VLT SW control applications This presentation will provide a general view of.
NRAO VLA Archive Survey
Topics Introduction Hardware and Software How Computers Store Data
Overview – SOE PatchTT November 2015.
Overview – SOE PatchTT December 2013.
Processes The most important processes used in Web-based systems and their internal organization.
CHAPTER 2 Application Layer.
#01 Client/Server Computing
Ch > 28.4.
Tools of Software Development
Ch 15 –part 3 -design evaluation
File Systems and Databases
Chapter 2: System Structures
Web Application Architectures
Component--based development
Topics Introduction Hardware and Software How Computers Store Data
Tango in a Nutshell 31/12/2018.
Gustaaf van Moorsel September 9, 2003
An Introduction to Software Architecture
Chapter 7 –Implementation Issues
The MBFits Data Format Peter Müller
Web Application Architectures
EVLA Advisory Committee Meeting, March 19-20, 2009
Web Application Architectures
#01 Client/Server Computing
Presentation transcript:

Dirk Muders, MPIfR, March 10, 2006 The APEX Control System* Past, Present & Future * APECS APECS Developers: A. Belloche, H. Hafok, J. Hatchell, C. König, D. Muders, E. Polehampton, R. Schaaf, F. Schuller, F. v.d.Tak, F. Wyrowski

Dirk Muders, MPIfR, March 10, 2006 APECS’ Roots in ALMA ➲ Early (1999/2000) contact to ALMA software development groups since APEX will be a copy of an ALMA prototype antenna ➲ Worked in SSR & HLA groups ➲ Later followed Test Interferometer Control Software (TICS) developments ➲ Evaluated ALMA-TI FITS raw data format for use at APEX ➲ Now still working for ALMA (DC, Heuristics)

Dirk Muders, MPIfR, March 10, 2006 Lessons learned from ALMA Work ➲ Interfaces must be stable early on ➲ Object-oriented software analysis & design ➲ Unified Modeling Language (UML) (A standardized way of translating requirements into a class and object structure) ➲ Distributed computing using a middleware like CORBA (Common Object Request Broker Architecture)

Dirk Muders, MPIfR, March 10, 2006 Don’t panic ! I’m just an object. Name: FLASH810 Properties: Frequency, Sideband Methods: On, Tune, Off

Dirk Muders, MPIfR, March 10, 2006 Inherited ALMA Software ➲ APECS re-uses a large portion of the original ALMA Test Facility (ATF) software ➲ Advantages: ● Common hardware & interfaces ● Real-time software already developed ● Big development team (->2003: 15, 2003->: 50) ● Potential upgrades (and support) in the future ➲ Disadvantages: ● APEX is an early adopter. Steep learning curve. ● Initial releases are typically unstable

Dirk Muders, MPIfR, March 10, 2006 ALMA Common Software ➲ ACS (v1.1 & v2.0.1) provides: ● CORBA ● Distributed Objects (Container / Component model) to abstract hardware ● Configuration database ● Property value monitoring ● Multi-language environment (C++, Python, Java)

Dirk Muders, MPIfR, March 10, 2006 CORBA ➲ CORBA facilitates the communication among pieces of software in distributed, heterogeneous, multilanguage environments

Dirk Muders, MPIfR, March 10, 2006 Test Interferometer Control Software ➲ TICS (v0.2, v0.5 & April 2004) provides: ● Real-time software (VxWorks) ● CAN (Controller Area Network) CORBA objects and bus interface to VERTEX ACU/PTC ● Astronomical coordinate handling (descriptive RA/Dec and horizontal) ● Basic patterns (linear, arc, curve strokes including On- The-Fly mode) ● Monitoring database ● Optical pointing

Dirk Muders, MPIfR, March 10, 2006 APECS Developments ➲ ACS & TICS provide the basic infrastructure but a full telescope control system requires: ● Hardware interfaces (“IDL”, “SCPI”) ● Raw data format (“MBFITS”) ● High-level observer interface (“apecs CLI”) ● Observation coordination (“Observing Engine”) ● Raw data writing (“FitsWriter”) ● Online calibration pipeline (“Calibrator”) ● Automatic observation logging (“Observation Logger”) ● Monitoring tools (“Monitoring Engine”)

Dirk Muders, MPIfR, March 10, 2006 Hardware Interfaces ➲ For each device one needs a CORBA Interface Definition Language (IDL) file ➲ CORBA C++ code is complicated. Instead embedded APEX systems use a simple ASCII protocol based on SCPI* commands sent via UDP sockets ➲ SCPI commands are derived from naming hierarchy and method and property names ➲ C++ code is auto-generated from IDLs *Standard Commands for Programmable Instrumentation

Dirk Muders, MPIfR, March 10, 2006 SCPI Syntax Example Component sends the device: [APEX:] : ? The device replies: [APEX:] : \ Example: APEX:HET460:LO2:MULTI1:backShort2? APEX:HET460:LO2:MULTI1:backShort \ T10:19:

Dirk Muders, MPIfR, March 10, 2006 Generic Instrument Interfaces ➲ APECS uses high-level interfaces that are designed to be generic, i.e. applicable to any instrument of a given class (e.g. heterodyne receivers or continuum backends) ➲ The instrument setup thus needs to be implemented only once ➲ Adding new instruments to the system is reduced to simply adding names

Dirk Muders, MPIfR, March 10, 2006 Multi-Beam FITS (MBFITS) ➲ ALMA-TI FITS turned out to be unsuitable for the multi- beam single-dish data expected for APEX ➲ Began extending ALMA-TI FITS together with IRAM 30m and Effelsberg with the goal to share (mainly calibration) software ➲ Many detailed iteration cycles led to the MBFITS format which is now well iterated, stable and has been in use for 2 years

Dirk Muders, MPIfR, March 10, 2006

“apecs” Command Line Interface ➲ IPython based CLI with extensible scripting language including user macros ➲ High-level commands to set up: ● Catalogs (source, line) ● Targets (coordinates, velocity) ● Instruments (frontends, backends) ● Calibrations (sky-hot-cold, skydip, point, focus) ● Switch modes (total power, wobbling, freq. sw.) ● Patterns (single, raster, OTF, (spiral))

Dirk Muders, MPIfR, March 10, 2006

Observing Engine ➲ Central coordinating process that sets up all devices according to the “Scan Objects” sent via the “apecs” CLI ➲ Pattern loop to set up receivers, IF, backends, antenna motion and start / stop FitsWriter and backends ➲ Background threads to update weather and IERS parameters needed for coordinate and refraction calculations

Dirk Muders, MPIfR, March 10, 2006 Observing Engine Interactions

Dirk Muders, MPIfR, March 10, 2006 FitsWriter ➲ The FitsWriter creates MBFITS files by collecting telescope, backend and monitoring data via a set of pipelines ➲ Each pipeline consists of pipes and filters and feeds a particular type of MBFITS binary table ➲ A flexible mechanism allows to store any CORBA property at any given rate in the MONITOR table

Dirk Muders, MPIfR, March 10, 2006

Calibrator ➲ The calibrator provides the online pipeline to process the MBFITS files after each subscan ➲ Spectral line data is calibrated to T A * scale using ATM and written to CLASS format ➲ Bolometer data is processed using the BoA modules ➲ Pointing & focus results are made available to the “apecs” CLI for corrections

Dirk Muders, MPIfR, March 10, 2006

Observation Logger ➲ Automatic creation of the observer’s log (XML & HTML) using the online information ➲ Allows editing a comment field for each scan ➲ Visible columns can be selected individually

Dirk Muders, MPIfR, March 10, 2006

Monitoring Engine ➲ Generic graphical status display engine using the ACS archiving notification channel ➲ Displays can be created using the standard “Qt Designer” program obeying a given naming convention for values, descriptions and units

Dirk Muders, MPIfR, March 10, 2006

APECS Key Facts ➲ Modern object-oriented & distributed design ➲ Generic instrument interfaces facilitate adding new devices ➲ Automatic interface code generator ➲ Simple ASCII communication to embedded systems ➲ High-level scripting language ➲ Generic GUIs ➲ Monitoring database ➲ Simulation system for developments (demo)

Dirk Muders, MPIfR, March 10, 2006 Future APECS Developments I ➲ New observing patterns (spirals, circles, more complex lists of strokes) ➲ Array de-rotation ➲ Frequency switching mode ➲ Wobbler mode

Dirk Muders, MPIfR, March 10, 2006 Future APECS Developments II ➲ MBFITS split into several files using FITS hierarchical groups ➲ Porting to ACS 5 under Scientific Linux 4.2 ➲ New servers for Chajnantor ➲ “xapecs” GUI