Technische Universität München

FS Remote Interface Demonstration

Alexander Neidhardt (FESG) [email protected] Martin Ettl (FESG) [email protected]

Reinhard Zeitlhöfler (FESG), Reiner Dassing (BKG), Hayo Hase (BKG), Matthias Mühlbauer (BKG), Christian Plötz (BKG), Sergio Sobarzo (UdeC), Cristian Herrera (UdeC), Walter Alef (MPIfR), Helge Rottmann (MPIfR), Ed Himwich (NASA/GSFC/NVI)

Alexander Neidhardt 1 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The idea of controlling VLBI telescopes by remote using the example of the Geodetic Observatory Wettzell

Alexander Neidhardt 2 Forschungseinrichtung Satellitengeodäsie Technische Universität München The idea: remote attendance and control of VLBI telescopes Wettzell, O’Higgins/Antarctica and TIGO/Concepción

Teleworking

Remote Control on Site

tion

Communica RT Wettzell/ TTW Wettzell/ Germany Germany

TIGO Concepción/Chile

GARS O’Higgins/Antarctica Alexander Neidhardt 3 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

Existing possibilities ...

Virtual Network Computing, KVMtoIP-Switches Easy graphical desktop sharing system to remotely control another computer by transmitting mouse and keyboard events and video signals. What happens on network blackouts? BUT No reliable and stable control

Proprietary, individual solutions Several, mostly specialized extensions to the fieldsystem on the basis of client-server-models in various programming languages and with different aims. Firewall problematic BUT Proprietary protocols Various solutions Updates are difficult Profesional developement suites Standardized or proprietary communication development suites on the basis of sophisticated middleware systems, which can be used to adapt the current fieldsystem.

BUT Huge, additional packages Dependance on companies

Alexander Neidhardt 4 Forschungseinrichtung Satellitengeodäsie Technische Universität München

The design principle: decomposition into components

Alexander Neidhardt 5 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The design principle: decomposition into components

Presentation & Device control code user interface code

Communication code

Idea of a strict design-separation of these parts

Alexander Neidhardt 6 Forschungseinrichtung Satellitengeodäsie Technische Universität München

The design principle: decomposition into components

l, Jus ntro t pr , co ese etic Presentationnta & Deviceri tcontrolhm coden, … tion ic, a ratio user interface ( ncode Log inist o lo adm gic)

Communication code Standardized, felxible, stable connection

Idea of a strict design-separation of these parts

Alexander Neidhardt 7 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The design principle: decomposition into components

Graphical User Interface (GUI) Client FS Monitor Client GUI FS Monitor Client Communication

Network Communication

FS Monitor Server Communication ExtensionFieldsystem e-control FS Monitor Server Functionality Server functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 8 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control demonstration

Alexander Neidhardt 9 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

Famous example of a live demonstration ...

... jump into cold water.

See: http://www.youtube.com/watch?v=0ppC7IZ4iSI, Download 12.04.2009

Alexander Neidhardt 10 Forschungseinrichtung Satellitengeodäsie Technische Universität München

And here is our demonstration

Alexander Neidhardt 11 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control fieldsystem client – remote (graphical) user interface

FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 12 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control fieldsystem client – remote (graphical) user interface

z Separation of control and presentation logic

z Interchangability of presentation layer (console (), graphical user interface (wxWidgets), web access via Browser, web service, …)

z Remote controllable via client-server-architecture on idl2rpc-middleware

z Modularity in window units and additionally possible, separately created administration user interfaces for each device

z Basis for graphical user interface: wxWidgets (C++ based Open-Source-Framework for developments of graphical user interfaces on different platforms like , Windows, OS/X )

Alexander Neidhardt 13 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control fieldsystem client – remote (graphical) user interface

ity apac itor rk5 C Mon Ma tatus S Show & Hide and Logging nput perator i stem o Sy res eratu Temp

Planned: ACU, Webcam, System Monitor

Browser- Webcam Alexander Neidhardt 14 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control fieldsystem client – remote (graphical) user interface Planned overview and all-in-one control for several sites

Overview RTWTTW1 TTW2 TIGO O‘Higgins

Overview

Site Cam State Schedule Time Last error Source Next

RTW

TTW1

TTW2

TIGO

O‘Hig

Alexander Neidhardt 15 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control fieldsystem client – remote (graphical) user interface More graphical oriented interfaces, e.g. here for the new Satellite Laser Ranging System

rview Satellite ove with sky plot

Meteo erface Database int - s Pico Statu ttimer iew Even Mode Overv Bar

Auto- Tracker Dome- ACU control

Alexander Neidhardt 16 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control communication – with remote procedure call middleware (and ssh)

FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 17 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control communication – with remote procedure call middleware

Main drivers for the chosen design:

- Allow the development of individual interfaces

- Standardized, stable, reliable communication

- Use low-level protocols

- Reduced overhead for development (small add-ons)

- Reduce development effort for communication programming

- Use know how from well known middleware developments

- Adaptable, flexible design for all e-control needs (not only FS)

- Reduce dependencies to commercial solutions

- Allow the passing of firewalls

Alexander Neidhardt 18 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control communication – with remote procedure call middleware

Application 1 Application 2 Application n

Distribution platform

Operating System 1 2 Operating System n

Architecture 1 Architecture 2 Architecture n

Transportation Transportation

[SAX07]: Saxonia Systems: Remote Procedure Call, http://www.linuxfibel.de/rpc.htm, Download 23.04.2007 [PUD01]: Puder, Arno; Römer, Kay: Middleware für vereteilte Systeme, 1.Auflage, dpunkt.verlag GmbH Heidelberg 2001

Alexander Neidhardt 19 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control communication – with remote procedure call middleware

Application 1 Application 2 Application n

Server ClientDistribution runs platform1. RPC- Call waits

2. Procedure- Call Client Server runs waits 3. Procedure- Return Operating System 1 Operating System 2 4. RPC- Return Operating System n Client runs Server waits Architecture 1 Architecture 2 Architecture n

Transportation Transportation

[SAX07]: Saxonia Systems: Remote Procedure Call, http://www.linuxfibel.de/rpc.htm, Download 23.04.2007 [PUD01]: Puder, Arno; Römer, Kay: Middleware für vereteilte Systeme, 1.Auflage, dpunkt.verlag GmbH Heidelberg 2001

Alexander Neidhardt 20 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control communication – using a middleware generator

The steps of the generation for a remote control extension fsmc.idl Step 1: Write interface definition for fsmc for the fieldsystem

idl2rpc.pl Step 2: Call idl2rpc.pl to generate fsmc.idl communication code

Step 4: Write FS GUI FS- Step 3: Write code for data (wxWidgets) Automatically connection code to connect presentation generated code to fieldsystem communication code

g++ Step 5: Compile g++ & Link

Graphical User Interface (GUI)

t e n r e t In fsmc fsmc Command line shell Server Web Interface Client

Alexander Neidhardt 21 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control communication – security with ssh - tunneling

But additional efforts are necessary to control the ssh-connection and prevent blackouts (currently in planning)

Alexander Neidhardt 22 Forschungseinrichtung Satellitengeodäsie Technische Universität München

e-control fieldsystem extension – remote accessible, autonomous process cells

FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 23 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

e-control fieldsystem extension – autonomous process cells

Autonomous process cell offers remote fieldsystem monitoring (at the moment in a first iteration to confirm to feasibility)

Simple Log Access Fieldsystem Device … Watchdog- Activation (Father-) Own code FS Shared Device … Process Memory Device …

Memory

Request SNAP System Call Request Automatic Own code t e Safety n r Device e t In Must be written by user

Remote User Interface Command line, Strict design-separation of wxWidgets, Browser, - Device control code … - Generated communication code - Presentation & user interface code

Alexander Neidhardt 24 Forschungseinrichtung Satellitengeodäsie Technische Universität München

First e-control tests – Wettzell, O’Higgins and TIGO go remote

FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 25 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The first tests – Radiotelescope Wettzell (RTW)/Germany

Internet ssh to firewall ssh to fieldsystem RPC Firewall 02-Nov-2008 07:29:50 02-Nov-2008 02-Nov-2008 08:29:41 02-Nov-2008

Alexander Neidhardt 26 Forschungseinrichtung Satellitengeodäsie Technische Universität München

The first tests – GARS O’Higgins/Antarctica

Internet ssh to fieldsystem RPC Router Firewall

ohig60oh 19-Nov-2008 17:59:50 19-Nov-2008 19-Nov-2008 17:26:34 19-Nov-2008 ohig61oh 17:49:09 20-Nov-2008 18-Nov-2008 17:29:55 18-Nov-2008

ssh- ssh- ssh- problems problems problems

Strong snowfall Alexander Neidhardt 27 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The first tests – TIGO Concepción/Chile

Internet

ssh to fieldsystem Router RPC Firewall

ohig60oh 19-Nov-2008 17:59:50 19-Nov-2008 19-Nov-2008 17:26:34 19-Nov-2008 ohig61oh 17:49:09 20-Nov-2008 18-Nov-2008 17:29:55 18-Nov-2008

ssh- problems

Alexander Neidhardt 28 Forschungseinrichtung Satellitengeodäsie Technische Universität München

Not only useful for e-control: Adding new devices to the fieldsystem

FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality FS Monitor FS Device … Device … Device …

Alexander Neidhardt 29 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

Adding new devices to the fieldsystem

e.g. DBBC FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality DBBC Client GUI FS Monitor DBBC Client Communication FS Device … Device … Network

DBBC Server Communication DBBC Server Functionality

DBBC Hardware

Alexander Neidhardt 30 Forschungseinrichtung Satellitengeodäsie Technische Universität München

Adding new devices to the fieldsystem

Possibility 1 FS Monitor Client GUI FS Monitor Client Communication

Network

FS Monitor Server Communication FS Monitor Server Functionality DBBC Client GUI FS Monitor DBBC Client Communication FS Device … Device … DBBC Client Com. Network

DBBC Server Communication DBBC Server Functionality

DBBC Hardware

Alexander Neidhardt 31 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

The next steps …

Alexander Neidhardt 32 Forschungseinrichtung Satellitengeodäsie Technische Universität München

Continuing the developments towards a production system Additional system monitoring for safety issues is under construction

Receiver ACU Power Switches Temp. Racks Security ...

• Standard equipment on standard, robust architectures • Modular, multi-layer system • Open for several devices and sonsors • Passive system for monitoring without actuators • Linux-operating system (maybe minimal installation) • Open Source •C/C++ • Communication internal with idl2rpc-generator • Vendor independence

Alexander Neidhardt 33 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

Continuing the developments towards a production system

Presentation & Communication Device control user interface code code code

First test development Developments First test development

Feasibility test Beta-states & test phase Feasibility test

First related projects

Second iteration First regular version Second iteration Mai 2009 Additional types: Add-Ons/Features/ First add. devices shell-, browser-version Improvements: Authentication/ First regular version

Satellite Laser Ranging (SLR) Autorisation system monitoring (SysMon) First regular version End 2009

Parallel development projects for Parallel development End 2009 C-Interface Transition plan Parallel development of additional of additional Parallel development Integration into FS Command line generator Integration into FS

Alexander Neidhardt 34 Forschungseinrichtung Satellitengeodäsie Technische Universität München

Combined control of different systems in observatories

- Think about optimizing work flows - Increasing the number of observations with e-control (automation and remote attendance/control) - Time sharing of measuring equipment - Just-on-time scheduling and updating to adapt flexible observation programs - Additional integrated safety system(s) - Standardization of system software for different systems -BUT:There will be allways situations where highly educated personnel must be at the observatories

RTW TTW1 TTW2 OHIGGINS

Think about the technical TIGO SOSW WLRS Datacenter realisations of GGOS ?

Picture similar to: Hase, Hayo; et. al.: Twin Telescope Wettzell (TTW) - a VLBI2010 Radio Telescope Project. IVS General Meeting 2008 Alexander Neidhardt 35 Forschungseinrichtung Satellitengeodäsie

Technische Universität München

Thank you!

And this is a lucky remote observer in his private “home observatory” controlling the radio telescope Wettzell immediately after waking up!

To get the releases of the idl2rpc.pl generator register at email exploder by sending an email to [email protected]

Alexander Neidhardt 36 Forschungseinrichtung Satellitengeodäsie