11 March 2008IT&EE Palaver, Dietrich Beck Neues vom CS-Framework Motivation Grundlagen Entwicklungen der letzten Jahre Status und Ausblick.

Slides:



Advertisements
Similar presentations
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
Advertisements

CS Framework Workshop 2013 Welcome!
Management Framework for Amazon EC2 Speaker: Frank Bitzer
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
Systems Architecture, Fourth Edition1 Internet and Distributed Application Services Chapter 13.
Course Instructor: Aisha Azeem
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
GSI Operating Software – Migration OpenVMS to Linux Ralf Huhmann PCaPAC 2008 October 20, 2008.
Applying Distributed Systems concepts to SCADA By Padmanabha Kamath.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
Introduction to the CS framework Definition of a framework Requirements Example Idea Cooking recipe Some statements Dietrich Beck,
26 February 2009Dietrich Beck FPGA Solutions... FPGA and LabVIEW Pattern Generator Multi-Channel-Scaler.
Using PVSS for the control of the LHCb TELL1 detector emulator (OPG) P. Petrova, M. Laverne, M. Muecke, G. Haefeli, J. Christiansen CERN European Organization.
ProCol~ A jEdit Plugin for Remote Project Collaboration Justin Dieters Spring 2004 CS470 Final Presentation.
SITools Enhanced Use of Laboratory Services and Data Romain Conseil
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
SCADA Systems - What is the scope of this talk? What are SCADA systems? What are their structure and main features? How open are they? How are they evolving?
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
ETRAX CRIS architecture and Xilinx FPGA Peter Zumbruch Experiment control systems group GSI (KS/EE)
1 Alice DAQ Configuration DB
Large Scale Parallel Print Service Ivan Deloose – David Foster – Ignacio Reguero CHEP 2000 – 8 February 2000 – Padova (I) Presented by Ivan Deloose -
14-Dec-2010IT/EE-Palaver, Dietrich Beck Status CS-Framework Introduction Status Lessons Learned.
Contents 1.Introduction, architecture 2.Live demonstration 3.Extensibility.
FAIR Accelerator Controls Strategy
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
07/09/04 Johan Muskens ( TU/e Computer Science, System Architecture and Networking.
THttpServer for ROOT Bertrand Bellenot, CERN Sergey Linev, GSI Darmstadt
Management of the LHCb DAQ Network Guoming Liu * †, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
Report on data acquisition and control systems of trap facilities Dietrich Beck, DVEE/GSI, 23 th of May 2002
Data Acquisition Backbone Core J. Adamczewski-Musch, N. Kurz, S. Linev GSI, Experiment Electronics, Data processing group.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
Session 1 Introduction  What is RADE  Technology  Palette  Tools  Template  Combined Example  How to get RADE  Questions? RADE Applications EN-ICE-MTA.
A Control System Framework Control System Workshop, 12 May 2003, A Control System Framework A control system framework for small (?) experiments.
7 February 2008Dietrich Beck A LabVIEW Interface to ELOG ELOG Possible solution paths Status Integration into – CS ? – Domain Management System?
01-Feb-2007Dietrich Beck, GSI LabVIEW DIM-Interface Motivation Event and DIM Basics Idea of LV-DIM Interface Example Performance.
FOPI – Slow Control Content 1.FOPI experiment - Overview 2.GUIs for FOPI 3.System Design.
Useful LabVIEW 8.20 Features CS Workshop 2007 February 2nd, 2007 Holger Brand, GSI.
February 18, 2010Dietrich Beck CS-Framework Overview (for newcomers) Ideas behind CS Cooking recipe Main Features...
The Control System (not only) for SHIPTRAP Dietrich Beck, DVEE/GSI, Motivation Requirements {The ISOLTRAP Control System SHIPTRAP and EU-Networks}
– Introduction and Status – The way – The result F. Herfurth 1, D. Beck 1, M. Block 1, S. Koszudowski 1, S. Nagy 2, D. Neidherr 2, C. Rauth 1, J. Savory.
A Control System Framework DVEE Palaver, 4/2003, Dietrich Beck, A Control System Framework A control system framework for experiments at.
3-Feb-2011CS-Workshop 2011, Dietrich Beck Overview CS-Framework Introduction (Over)view Lessons Learned.
Connecting LabVIEW to EPICS network
1 Calorimeters LED control LHCb CALO meeting Anatoli Konoplyannikov /ITEP/ Status of the calorimeters LV power supply and ECS control Status of.
7 February 2008Dietrich Beck CS-Framework Overview Ideas behind CS Cooking recipe Main Features...
TDAQ Experience in the BNL Liquid Argon Calorimeter Test Facility Denis Oliveira Damazio (BNL), George Redlinger (BNL).
CS – a control system framework Dr. Dietrich Hans Beck, DVEE, GSI 20 November 2002.
UF/PNPI POWER SUPPLY SOFTWARE By Magnus Hov Lieng
EPICS and LabVIEW Tony Vento, National Instruments
Management of the LHCb DAQ Network Guoming Liu *†, Niko Neufeld * * CERN, Switzerland † University of Ferrara, Italy.
February 18, 2010Dietrich Beck CS-Status Results from workshop 2009 – what was planned for 2009 – what was done in 2009 Statistics Miscellaneous.
CS Workshop 2007 PCS 3.0 Upgrade by Stefan Götte.
Introduction to the CS framework Definition of the CS framework Requirements Example Idea Cooking recipe Some statements Dietrich Beck,
Maria del Carmen Barandela Pazos CERN CHEP 2-7 Sep 2007 Victoria LHCb Online Interface to the Conditions Database.
Industrial Control Engineering Session 1 Introduction  What is RADE  Technology  Palette  Tools  Template  Combined Example  How to get RADE 
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
Fermilab Scientific Computing Division Fermi National Accelerator Laboratory, Batavia, Illinois, USA. Off-the-Shelf Hardware and Software DAQ Performance.
28-Feb-2013CS-Workshop 2013, Dennis Neidherr CS-Framework - Overview Intro and Overview Status Outlook.
Introduction Current Status Outlook and Time Schedule
SmartCenter for Pointsec - MI
Large Scale Parallel Print Service
CS-Framework Overview
Tools for the Automation of large distributed control systems
Welcome to the CS-Workshop February 2nd/3rd 2006 Holger Brand
Scaling to Larger Systems
CS-Status Results from workshop 2008 Statistics Miscellaneous
Presentation transcript:

11 March 2008IT&EE Palaver, Dietrich Beck Neues vom CS-Framework Motivation Grundlagen Entwicklungen der letzten Jahre Status und Ausblick

11 March 2008IT&EE Palaver, Dietrich Beck Definition of "Framework" Wikipedia: "A software framework is a reusable design for a software system.... (It) may include support programs, code libraries, a scripting language, or other software to help develop and glue together the different components of a software project..." freie Übersetzung: "Ein Software Framework ist ein wieder verwertbares Design für ein Software system.... (Es) kann Hilfsprogramme, Code-Bibliotheken, ein Scripting-Werkzeug und andere Software enthalten, die es erlauben, verschiedene Komponenten für ein konkretes Softwareprojekt zu entwickeln und zusammenzufügen."

11 March 2008IT&EE Palaver, Dietrich Beck Why Frameworks for Control Systems standardization of code –re-usability of software components –maintainability of software components –... flexibility –exchange of hardware during run-time –add/remove hardware during run-time –change operational states on-the-fly –... common solutions –same look and feel at different experiments –ease transfer of know-how...

11 March 2008IT&EE Palaver, Dietrich Beck Definition of the CS framework optional usage of sequencers (= sequences of commands) optional usage of state machines (= states and actions) optional GUIs on the device level optional interfaces to control systems of accelerator and DAQ standardization via a framework, here: C ontrol S ystem framework  Main emphasis: device control, not process control Back-end (SCADA, GUI,...) Middleware (communication,...) Front-end (devices, drivers,...) Ansatz: "Three-layer architecture"

11 March 2008IT&EE Palaver, Dietrich Beck Definition of the CS framework control system = framework + add-ons EE/KS and contributors experiment bug reports, new features requested add-ons may become part of framework bug fixes, new features, maintenance Cycle Control AFG Timing+DAQ HV GUI

11 March 2008IT&EE Palaver, Dietrich Beck Different Points of View – A Framework is... Developer: User:... a tool box... something ready to use (sth. to solve a problem) without additional work (= the solution!)

11 March 2008IT&EE Palaver, Dietrich Beck Cooking Recipe for the CS Framework One development tool  LabVIEW Standardization  object oriented approach Distribution to many nodes  DIM ( –Event driven communication for everything –Scaling to large systems by distribution –Remote access –… SCADA functionality (alarming, trending, …)  LabVIEW DSC module

11 March 2008IT&EE Palaver, Dietrich Beck LabVIEW is......just another programming language. –graphical programming instead of text based programming –dataflow paradigm...an enormous collection of tools and libraries.

11 March 2008IT&EE Palaver, Dietrich Beck Object Orientation (OO) with CS "BaseClass" provides basic functionality (communication layer, active threads,...) "DeviceClass" adds functionality according to specs of device type "DS345". Instantiation: one object per device "BaseClass" "Device Class" inheritance AFG1 AFG2 AFG3 of course: classes for GUIs, Sequencer, State machines,... OO implemented by CS using pure LabVIEW (no LVOOP)

11 March 2008IT&EE Palaver, Dietrich Beck Example for a Simple Control System User PC n Control GUIOn-line Analysis GUI Central PC Sequencer DataCollector DSC EngineDSC Interface SR430FPGADS345 Front-end PC 1 Data Acquisition DataAcq. Instr. Driver Timing Timing Instr. Driver AFG AFG Instr. Driver High Voltage HV Instr. Driver IHQF015p HardwareSoftware (Proc)Software (Lib) Exp. SpecificGeneral PartBuy! EventOPC Front-end PC n DiscArchiver

11 March 2008IT&EE Palaver, Dietrich Beck Developments During the Past Years 1.project management a.CS as Open Source Project on SourceForge b.CS GSI c.source code control using Subversion 2.DIM as communication layer 3.Domain Management System for process management 4.CS for different operating systems (Windows, Linux, Pharlap) 5.reservation mechanisms for sub-systems 6.device base classes 7.configuration database 8.stability and performance

11 March 2008IT&EE Palaver, Dietrich Beck GSI

11 March 2008IT&EE Palaver, Dietrich Beck Statistics from SourceForge among top 1% of SourceForge projects > 800 downloads of CSMain 29 packages (of 2 maintainers) 42 (open 3) bugs 30 (open 1) feature requests 16 (open 2) patches 3 feature requests 8 developers

11 March 2008IT&EE Palaver, Dietrich Beck Distributing CS developer: source code control via Subversion at GSI user: packages on SourceForge (+Unpackager) –dependency/conflict checking –package checking –installing packages –removing packages –downloading packages –... –"three-click installation"

11 March 2008IT&EE Palaver, Dietrich Beck Communication Layer: DIM Distributed Information Management: originally developed at around 1991 available for a multitude of platforms and languages light-weight, aiming at high performance, based on TCP/IP today: "backbone" of control systems for LHC experiments concept: named services, peer-to-peer connections DIM server A DIM server B DIM client 1 DIM client 2 service "i" service "ii" command "iii" DIM name server (negotiates connections)

11 March 2008IT&EE Palaver, Dietrich Beck DIM-LabVIEW Performance

11 March 2008IT&EE Palaver, Dietrich Beck Domain Management System: Process Management in a Distributed Environment

11 March 2008IT&EE Palaver, Dietrich Beck Example: DMSViewer

11 March 2008IT&EE Palaver, Dietrich Beck Device Base Classes: Motivation Standardization of parameters for –events (command pattern, "call process") –services (publisher-subscriber pattern, status info) "Standard" defined by device model –arbitrary function generator –power supply –motor –... Allows exchange of different hardware device types of the same device model Requires only one GUI for all classes of the same class model Defines interface/behavior for programming a device class

11 March 2008IT&EE Palaver, Dietrich Beck Class Hierarchy BaseProcess DeviceBase PSChannelBase SimPowerSupply PSChannelBaseGUI BaseGUI

11 March 2008IT&EE Palaver, Dietrich Beck PSChannelBaseGUI Class (user view) available via double-click in "GOG" one instance per power supply object one GUI class for all classes inheriting from the PSChannelBaseClass

11 March 2008IT&EE Palaver, Dietrich Beck Configuration versus Programming create objects during run-time –identical binaries for different experiments possible –application characterized by configuration configuration data base –presently using MS-Access –device interfaces, bus-addresses,... –access via TCP/IP settings "database" –typically as XML files –... Back-end (SCADA, generic GUIs,...) Middleware (communication, generic management of settings...) Front-end (devices, drivers,...)

11 March 2008IT&EE Palaver, Dietrich Beck Testing Stability and Performance dedicated set-up including hardware for testing –long term stability (months...) –interoperability of different versions –stress situations –performance –...

11 March 2008IT&EE Palaver, Dietrich Beck Experiments using the CS framework... require high flexibility have a large variety of hardware types have up to 10,000 (1M possible) process variables require fast (  100 ns) timing control using dedicated hardware PHELIX PHELIX Motion CaveA SHIPTRAP ISOLTRAP REXTRAP REXTRAP LEBIT LEBIT GSI, Germany Mainz, Germany Greifswald, Germany CERN, Switzerland MSU, USA Lanzhou, China data taking development commissioning Motion CaveA FOPI RISING others... HITRAP LPT TrigaTRAP ClusterTRAP

11 March 2008IT&EE Palaver, Dietrich Beck Conclusion and Outlook CS 3.10 released for LV about active applications 1,000,000 PVs demonstrated, an even larger number should be feasible 5,000 objects (  hardware devices) demonstrated, an even larger number should be feasible stability of a distributed CS system is better than a few hundred hours of continuous operation about 15 (60) hardware devices supported on SourceForge (Subversion) FAIR: MATS and parts of HITRAP have selected CS as control system framework. NUSTAR? PANDA?

11 March 2008IT&EE Palaver, Dietrich Beck Acknowledgements... Holger Brand, Dietrich Beck, Alexander Schwinn, Falk Ziegler, Romain Savreux, Chabouh Yazidjian, Klaus Blaum, Dennis Neidherr, Melanie Wolf, Stefan Schwarz, Josh Savory, Stefan Götte, Maximilian Kugler, Tobias Habermann, Michael Block, Frank Herfurth, Christian Rauth, Stephen Koszudowski, Manas Mukherjee, Thomas Rechel,...,

11 March 2008IT&EE Palaver, Dietrich Beck Event basics an entity waits for the next event, no polling! timeout handling is an important issue publisher subscriber client receiver observer pattern: "one-to-many" command pattern: "many-to-one" data command example: radio, television added in CS 3.0 example: typical human communication sole possibility for CS < 3.0