new ideas in control software for lr-systems with remote ... · new ideas in control software for...

19
Technische Universität München Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 1 New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt (FESG) [email protected] Dr. Reiner Dassing, Martin Ettl, Dr. Pierre Lauber, Andreas Leidig, Matthias Mühlbauer, Christian Plötz (in combination with VLBI in cooperation with DLR and MPIfR)

Upload: others

Post on 29-Oct-2019

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 1

New ideas in control software for LR-systems with remote accessible, autonomous process cells

Dr. Alexander Neidhardt (FESG) [email protected]

Dr. Reiner Dassing, Martin Ettl, Dr. Pierre Lauber, Andreas Leidig, Matthias Mühlbauer, Christian Plötz

(in combination with VLBI in cooperation with DLR and MPIfR)

Page 2: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 2

Future requirements

See „The History and Future of Satellite Laser Ranging“(2):   [...] High Level of Automation [...] Fully automated [...] Semi-automated: Single Operator or Remote Operation[...]   [...] Kilohertz Systems [...] See „The SLR 2000 Pseudo Operator“(3):   „[...] SLR 2000 Pseudo Operator (POP) controls or directs all aspects of the automated SLR 2000 system. [...] POP will monitor the health and safety of the system foremost and control the acquisition and tracking [...] of the satellites.“

See IVS Memorandum 2006-008v01: VLBI2010 (1):   „[...] Increase observation density [...]“   „[...] For the highest accuracy the global networks must be tied together. [...]“   „[...] Automate operations and procedures at all stages[...] Flexibility to add/subtract stations on short notice [...] Automated diagnostic procedures and notification of personel when necessary [...]“   „[...] Monitoring [...] will make it possible to account for factors [...]“   „[...] new observing strategies [...]“

See NTRIP: „Nutzung der Internet-Radio-Technologie zur Übertragung von GNSS-Daten“(4):   „[...] Echtzeitübertragung von GNSS-Daten [...]“   „[...] Möglichkeit der Fernwartung [...]“

(1) Niell, Arthur; et. al.: IVS Memorandum 2006-008v01. „VLBI2010: Current and Future Requirements for Geodetic VLBI Systems“. Sept. 2004 (2) http://ilrs.gsfc.nasa.gov/docs/degnan_0603.pdf (3) http://cddis.nasa.gov/slr2000/docs/pseudo_operator.pdf (4) http://igs.bkg.bund.de/root_ftp/NTRIP/documentation/sapos03_gebhard.pdf

Flexible, remote accessible, reliable, independent, automated and safe systems (throughout all technical levels)

SLR

VLBI

GNSS

Page 3: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 3

New ideas exemplary at the Satellite Observing System Wettzell

Page 4: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 4

New ideas exemplary at the Satellite Observing System Wettzell The components

Biaxialtelescope (50cm receive, 16cm send) Carl Zeiss AG Jena

Dome, Baader Planetarium GmbH

1kHz Ti:SAP Laser: 850nm / 425nm (IR / blue), HighQ Laser and Thales

Conditioned receiver box (MCP, APD, Sensicam)

Eventtimer (1.2ps resolution)

Systemmonitoring (Boxer-PC, serial modules, SPS)

Sensicam, webcams and video cams

Operator Controlsystem (Industry PC)

Datenbank

Data- centers

Database (Dell Power Edge)

Page 5: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 5

Controlsystem

New ideas exemplary at the Satellite Observing System Wettzell General view onto the different devices

Telescope Dome Laser

Receiver

Eventtimer

Monitoring Cameras

Database

Data- centers

Operator

Page 6: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 6

Controlsystem

New ideas exemplary at the Satellite Observing System Wettzell Representation of the different devices with software modules

Telescope Dome Laser

Receiver

Eventtimer

Monitoring Cameras

Database

Data- centers

Operator

tcu domectrl laserctrl

tru

eventtimer sysmon sensicam

GUI

slrdbsap slrscheduler

Page 7: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 7

Controlsystem

New ideas exemplary at the Satellite Observing System Wettzell Communication platform to connect the software modules (spatial separation)

Telescope Dome Laser

Receiver

Eventtimer

Monitoring Cameras

Database

Data- centers

Operator

tcu domectrl laserctrl

tru

eventtimer sysmon sensicam

GUI

slrdbsap

S S

S

S

S S S

S

S slrscheduler

C C C

C

C C C

C

C

Client (C) – Server (S) – Modell (UDP,TCP/IP)

Page 8: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 8

New ideas exemplary at the Satellite Observing System Wettzell Middleware as communication platform

[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

Application 1 Application 2 Application n

Distribution platform

Operating System 1

Architecture 1

Operating System 2

Architecture 2

Operating System n

Architecture n

Transportation Transportation

Client runs

Client waits

Client runs

Server waits

Server waits

Server runs

1. RPC- Call

4. RPC- Return

2. Procedure- Call

3. Procedure- Return

Page 9: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 9

testmain.c

#include „test_client.hpp“

int main () { test_client CClient(127.0.0.1); ... iError = CClient.iGetTemp (fTemp); std::cout << fTemp << std::endl; ... };

test_server.cpp ... int test_server::iGetTemp (float & fTemp) throw (test_interface_throw) { // USERDEFMETHODEBEG: Userdefined methode body ... Temperature request and return ... return OK; // USERDEFMETHODEEND } ...

test.idl

interface test { int iGetTemp (out float fTemp); };

Com

mun

icat

ion

is g

ener

ated

New ideas exemplary at the Satellite Observing System Wettzell Middleware-generator “idl2rpc” to simplify the programming

Page 10: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 10

Interface description – middleware generator

const MYCONST1 = 0; const MYCONST2 = 0x3333; const MYCONST3 = 12345; const MYCONST4 = "Hallo"; const MYCONST6 = MYCONST1;

typedef struct { char cVar1; char cVar2; char cVar3; char cVar4; } MYTYPE;

typedef struct { unsigned int iVar1; int iVar2; MYTYPE SVar3; } MYTYPE_COMBINATION;

interface test { // This is a comment void vFunc (); int iGet (); unsigned int uiGet (); void vSet (in int iVal); void vSetUnsigned (in unsigned int iVal); void vGet (out int iVal); void vSetAndGet (inout int iVal); void vSetString (in string strText); void vGetString (out string strText); void vSetAndGetString (inout string strText); void vSetMulti (in int iVal, in string strText); void vGetMulti (out int iVal, out string strText); void vSetAndGetMulti (inout int iVal, inout string strText); void vSetArray (in unsigned int Array <>); void vGetArray (out unsigned int Array <>); void vSetAndGetArray (inout unsigned int Array <>); void vSetMultiArray (in unsigned int Array <><><>); void vGetMultiArray (out unsigned int Array <><><>); void vSetAndGetMultiArray (inout unsigned int Array <><><>); };

Middleware-generator to simplify the programming: interface definition example

Page 11: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 11

New ideas exemplary at the Satellite Observing System Wettzell Autonomous process cells on the basis of the middleware-generator “idl2rpc”

Watchdog-(Father-) process

Watchdog-(Father-) process

Deadman-Checkthr.

Deadman-Checkthr.

Dome

Dome

Case 1: Hard timing

Case 2: Weak timing

Request Request

Request Request

Activation

Activation

Own code

Own code

Memory

Memory

Must be written by user

Own code

Own code

Page 12: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 12

  Separation of control and presentation logic

  Interchangeability of presentation layer (console shell (ncurses), graphical user interface (wxWidgets), web access via Browser, web service, …)

  Remote controllable via client-server-architecture on idl2rpc-middle- ware

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

  Basis for graphical user interface: wxWidgets (C++ based Open- Source-Framework for platform independent development of graphical user interfaces)

New ideas exemplary at the Satellite Observing System Wettzell User interaction with graphical user interface

Page 13: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 13

New ideas exemplary at the Satellite Observing System Wettzell Additional control of the system by system monitoring

• 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

Page 14: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 14

New ideas exemplary at the Satellite Observing System Wettzell Security by usage of security enclaves

ssh –X –l <user> rtsosw.wtz => rtsosw

ssh –X –l <user> -p 2222 rtsosw.wtz => soswdb ssh –X –l <user> -p 2223 rtsosw.wtz => soswctrl

ssh –X –l <user> -p 2224 rtsosw.wtz => soswctrl

sosw

soswctrl

soswtele

soswdb

rtsosw

22

22

22

80

SSH-Key on a datastick

Page 15: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 15

New ideas exemplary at the Satellite Observing System Wettzell

soswctrl.sosw

soswdb.sosw

domectrl

S

laserctrl

S

eventtimer

S

tru

S

sensicam

S

sysmon

S

slrdbsap

S

sysmon.sosw

Monitoring

Cameras

Dome Telescope

tcu

soswtele.sosw

S

PCI LWL

Serial Laser

Receiver

Serial

Eventtimer Eth.

Serial

Hybrid-DB

Database

Filesystem

Administration Operator

Dataspider: - CPF - Meteo - EOP - Clockcorr

Eurolas

Analyse

Dat

enze

ntre

n

scheduler

S

observation

calibration

mountmodel

OR:

OR:

Remote-GUI

C

C C

C

C C

C

C C

C

C

Local-GUI

C

The complete concept

Page 16: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 16

Remote control example with VLBI station GARS O’Higgins

Page 17: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 17

The idea – remote control of VLBI at O’Higgins/Antarctica

Fiel

d Sy

stem

Sha

red

Mem

. RPC Obs.

Server

RPC Obs. Client

Page 18: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 18

The idea – remote control of VLBI at O’Higgins/Antarctica

First test during VLBI-campagne 02/2007 (first remote con-trolled experiment is planed for cam-pagne 02/2008)

Page 19: New ideas in control software for LR-systems with remote ... · New ideas in control software for LR-systems with remote accessible, autonomous process cells Dr. Alexander Neidhardt

Technische Universität München

Alexander Neidhardt Forschungseinrichtung Satellitengeodäsie 19

Thank you!