designing control system software for radio telescopes
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 PresentationTRANSCRIPT
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)
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
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
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
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
November 2008TCS CONFIDENTIAL
Software Control System @ GMRT Using SACE
6
SACE @ GMRT
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
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
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
For more information, contact:Harrick Vin ([email protected])
November 2008TCS CONFIDENTIAL
IF Subsystem: Self Description
11
SACE @ GMRT
November 2008TCS CONFIDENTIAL
Data Validation Using Rules
12
SACE @ GMRT
November 2008TCS CONFIDENTIAL
IF Command Validation and Translation
13
SACE @ GMRT
November 2008TCS CONFIDENTIAL
Control Script for IF Subsystem
14
SACE @ GMRT
November 2008TCS CONFIDENTIAL
SACE-generated UI and Data Stream Visualization
15
SACE @ GMRT
For more information, contact:Harrick Vin ([email protected])