designing control system software for radio telescopes

16
Designing Control System Software for Radio Telescopes S. Chaudhuri, A. Ahuja, S. Natrajan, and H.M. Vin Presenter: Harrick M. Vin Vice President and Chief Scientist Tata Research Development and Design Centre, Tata Consultancy Services (TCS)

Upload: carter-burris

Post on 01-Jan-2016

20 views

Category:

Documents


2 download

DESCRIPTION

Designing Control System Software for Radio Telescopes. S. Chaudhuri , A. Ahuja , S. Natrajan , and H.M. Vin Presenter: Harrick M. Vin Vice President and Chief Scientist Tata Research Development and Design Centre, Tata Consultancy Services (TCS). Two Interesting Projects. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Designing Control System Software for Radio Telescopes

Designing Control System Software for Radio

Telescopes

S. Chaudhuri, A. Ahuja, S. Natrajan, and H.M. Vin

Presenter:

Harrick M. VinVice President and Chief Scientist

Tata Research Development and Design Centre, Tata Consultancy Services (TCS)

Page 2: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Control System Software for Scientific Apparatus

GMRT Radio Telescope[In collaboration with NCRA, Pune]

International Thermo-nuclear Experimental Reactor (ITER)

[In collaboration with IPR, Ahmedabad]

Design of command-and-control environmentfor complex, scientific apparatus

Collect and analyze data streams from a large network of sensors

Control apparatus operations through actuators

Two Interesting Projects

2

Page 3: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Requirements and Opportunities

Solution requirements

• Agility – Rapid development of software control system• Configurability – Ease of building custom enhancements• Evolvability – Evolve systems to accommodate new technologies

Broader requirement

• Reusability – Reuse the framework across different apparatus

Common practice

• One-off custom-built software control systems• Design and implementation takes too long• Too much custom coding Not very configurable• Significant changes required to accommodate changes

• Definitely not reusable

3

Requirements

Page 4: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Vision and Approach

Vision

• Reusable, evolvable and configurable control software framework• Specification-driven architecture Automate code generation• Dramatically reduce effort and cost

Key questions

• What are the “common” abstractions?• Is there a generic architecture for control system software?

Approach

• Model scientific apparatus as a network of sensors and actuators• Develop a flexible architecture for control element

• Capture interactions with sensors and actuators• Model complete system as a composition of control elements

4

Vision and Approach

Page 5: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Sensor-Actuator Control Element (SACE)

5

Data & Event Distribution

Data Acquisition

Data Processing

Data Streaming

Validation Rules

CommandTranslation

FSM, Script, Rules

SACEConfiguration

Subsystem Self

Description

SACE Architecture

EventReception

EventProcessing

EventNotification

CommandDistribution

CommandProcessing

Command Reception

Page 6: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Software Control System @ GMRT Using SACE

6

SACE @ GMRT

Page 7: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Sensor-Actuator Control Element (SACE)

7

Data & Event Distribution

Data Acquisition

Data Processing

Data Streaming

Validation Rules

CommandTranslation

FSM, Script, Rules

SACEConfiguration

Subsystem Self

Description

SACE Architecture

EventReception

EventProcessing

EventNotification

CommandDistribution

CommandProcessing

Command Reception

Real-time visualization

Page 8: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

SACE Prototype Implementation

•Philosophy: Leverage third-party components as much as possible

•Technology choices:– Basic platform: Java– System specification format: XML– Command validation and translation:

• Unimode FSM Framework• OpenRules rules engine

– Interpreter for configuration and control scripts: Mozilla Rhino– Data stream processing: HSQLDB, Hibernate (in-memory DB)– Communication: TCP/IP sockets– Driver integration: Java Native Interface (JNI)– Auto-generation of UI: Swing– Data stream visualization: JFreeChart

8

SACE Implementation

Page 9: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

SACE Experience @ GMRT

Existing control system software: ~15,000 lines of code

• ABCCom – running at individual GMRT antennas• Teleset – running at Central Building

SACE-based control system software

• Reuse about 50% of code of ABCCom (~3,000 lines of code)• Drivers for interaction with hardware devices

• Replace the rest of ABCCom and Teleset with SACE-geenrated code !

Benefits

• Flexibility, Evolvability and Configurability• Reuse

9

SACE @ GMRT

Page 10: Designing Control System Software for Radio Telescopes

For more information, contact:Harrick Vin ([email protected])

Page 11: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

IF Subsystem: Self Description

11

SACE @ GMRT

Page 12: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Data Validation Using Rules

12

SACE @ GMRT

Page 13: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

IF Command Validation and Translation

13

SACE @ GMRT

Page 14: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

Control Script for IF Subsystem

14

SACE @ GMRT

Page 15: Designing Control System Software for Radio Telescopes

November 2008TCS CONFIDENTIAL

SACE-generated UI and Data Stream Visualization

15

SACE @ GMRT

Page 16: Designing Control System Software for Radio Telescopes

For more information, contact:Harrick Vin ([email protected])