Introduction to the CS framework Definition of a framework Requirements Example Idea Cooking recipe Some statements Dietrich Beck,

Slides:



Advertisements
Similar presentations
MicroKernel Pattern Presented by Sahibzada Sami ud din Kashif Khurshid.
Advertisements

Threads, SMP, and Microkernels
WHAT IS AN OPERATING SYSTEM? An interface between users and hardware - an environment "architecture ” Allows convenient usage; hides the tedious stuff.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
Experiment Control Systems at the LHC An Overview of the System Architecture An Overview of the System Architecture JCOP Framework Overview JCOP Framework.
Chapter 13 Embedded Systems
1. Overview  Introduction  Motivations  Multikernel Model  Implementation – The Barrelfish  Performance Testing  Conclusion 2.
Threads Clients Servers Code Migration Software Agents Summary
1: Operating Systems Overview
OPERATING SYSTEM OVERVIEW
Chapter 13 Embedded Systems
Figure 1.1 Interaction between applications and the operating system.
12 Chapter 12 Client/Server Systems Hachim Haddouti.
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
OPC Overview OPC Device Support (PLC Gateway for 3.14) Ralph Lange – EPICS Collaboration Meeting at SLAC, April 2005.
L. Granado Cardoso, F. Varela, N. Neufeld, C. Gaspar, C. Haen, CERN, Geneva, Switzerland D. Galli, INFN, Bologna, Italy ICALEPCS, October 2011.
–Streamline / organize Improve readability of code Decrease code volume/line count Simplify mechanisms Improve maintainability & clarity Decrease development.
Agenda Adaptation of existing open-source control systems from compact accelerators to large scale facilities.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Programming mobile devices Part II Programming Symbian devices with Symbian C++
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.
LOGO OPERATING SYSTEM Dalia AL-Dabbagh
Operating System Review September 10, 2012Introduction to Computer Security ©2004 Matt Bishop Slide #1-1.
An Introduction to Software Architecture
A rapidly developed control system for WITCH A. Lindroth, V. Kozlov.
09/11/20061 Detector Control Systems A software implementation: Cern Framework + PVSS Niccolo’ Moggi and Stefano Zucchelli University and INFN Bologna.
SCADA. 3-Oct-15 Contents.. Introduction Hardware Architecture Software Architecture Functionality Conclusion References.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
ATCA based LLRF system design review DESY Control servers for ATCA based LLRF system Piotr Pucyk - DESY, Warsaw University of Technology Jaroslaw.
EPICS-LabVIEW Interfaces PANDA Collaboration Meeting December 2009 Holger Brand GSI – EE/KS.
Advanced Design and System Patterns The Microkernel Pattern.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
11 March 2008IT&EE Palaver, Dietrich Beck Neues vom CS-Framework Motivation Grundlagen Entwicklungen der letzten Jahre Status und Ausblick.
Processes Introduction to Operating Systems: Module 3.
Report on data acquisition and control systems of trap facilities Dietrich Beck, DVEE/GSI, 23 th of May 2002
Computing Division Requests The following is a list of tasks about to be officially submitted to the Computing Division for requested support. D0 personnel.
Test Results of the EuroStore Mass Storage System Ingo Augustin CERNIT-PDP/DM Padova.
A Control System Framework Control System Workshop, 12 May 2003, A Control System Framework A control system framework for small (?) experiments.
1: Operating Systems Overview 1 Jerry Breecher Fall, 2004 CLARK UNIVERSITY CS215 OPERATING SYSTEMS OVERVIEW.
FOPI – Slow Control Content 1.FOPI experiment - Overview 2.GUIs for FOPI 3.System Design.
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}
Architecture View Models A model is a complete, simplified description of a system from a particular perspective or viewpoint. There is no single view.
Full and Para Virtualization
– 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.
Connecting LabVIEW to EPICS network
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
7 February 2008Dietrich Beck CS-Framework Overview Ideas behind CS Cooking recipe Main Features...
CS – a control system framework Dr. Dietrich Hans Beck, DVEE, GSI 20 November 2002.
February 18, 2010Dietrich Beck CS-Status Results from workshop 2009 – what was planned for 2009 – what was done in 2009 Statistics Miscellaneous.
Introduction to the CS framework Definition of the CS framework Requirements Example Idea Cooking recipe Some statements Dietrich Beck,
Threads, SMP, and Microkernels Chapter 4. Processes and Threads Operating systems use processes for two purposes - Resource allocation and resource ownership.
Chapter 16 Client/Server Computing Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
28-Feb-2013CS-Workshop 2013, Dennis Neidherr CS-Framework - Overview Intro and Overview Status Outlook.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
Computer System Structures
Introduction Current Status Outlook and Time Schedule
Kernel Design & Implementation
Current Generation Hypervisor Type 1 Type 2.
Large Scale Parallel Print Service
CS-Framework Overview
TYPES OFF OPERATING SYSTEM
by Prasad Mane (05IT6012) School of Information Technology
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Scaling to Larger Systems
CS-Status Results from workshop 2008 Statistics Miscellaneous
Chapter 13: I/O Systems.
Presentation transcript:

Introduction to the CS framework Definition of a framework Requirements Example Idea Cooking recipe Some statements Dietrich Beck,

Dietrich Beck, A framework... provides features that are commonly needed by many experiments. can be maintained be a dedicated and central group. allows for exchanging software and know-how. saves man power. should scale with future experiments. control system = framework + add-ons ECOS experiment bug reports, new features requested add-ons may become part of framework bug fixes, new features, maintenance

Dietrich Beck, Requirements Developer Only one development tool, that is easy to learn Hard- and Software commercially available Maintainability Software is structured into small (independent) packages Applicability to many different projects Documentation User Flexibility!!! – Multiplicity and type of used components as well as operational states(!) configurable on the fly System is operational during 100% of the time Comfortable handling Performance! Fast reaction time (ms). Repeat sequences at a rate of  10Hz and a granularity of  1ns. Access to and from everywhere

Dietrich Beck, Example 1: SHIPTRAP STOP- CELL EXTRACTION RFQ BUNCHER &COOLER TRANSFE R REGION PREPARATION TRAP cold ion bunches SHIP extraction to ext. experiments PRECISION TRAP mass measurements 100 * 50 * # of process variables

Dietrich Beck, Complex timing scheme Cycle: stopping of ions ion the gas cell (static) extraction from the gas cell transfer capture and cool ions in the buncher ejection from the buncher (dynamic) transfer capture in the cooler trap mass selective buffer gas cooling ejection from the cooler trap transfer capture in the precision trap purification excitation of ion motion at  RF   c = (q/m) · B (  gain of energy) measurement of kinetic energy via a time-of-flight technique Scan: repeat cycle for different frequencies (minutes-days) 1s

Dietrich Beck, Idea behind the CS framework Distributed, individual objects are responsible for subtasks, as: –User interface –Cycle control –Acquisition –Devices No intrinsic bottleneck: Everything can talk to everything Using ‘standard’ pieces: Flexible system, that can even during runtime be adapted to the experiment Cycle Control AFG Timing+DAQ HV GUI

Dietrich Beck, Cooking recipe One development tool  LabVIEW –Fast learning curve –Multi-Threading –Event driven communication … Object oriented approach  ObjectVIEW –Create objects (processes) on the fly –Create high level classes by inheriting from base classes –Encapsulate data and their treatment “information hiding” … SCADA functionality (alarming, trending, …)  LabVIEW DSC module Distributed system on several nodes  TCP/IP –Scalability –Remote access –…

Dietrich Beck, Statements Each object represents a hardware device, an application layer item or a GUI. Typically, objects are not static. They contain active code. Each Lego brick corresponds to an object. Lego tubes and studs are realized by an event mechanism: (Of course, an object can send an event to itself.*) (Of course, one can also use direct method calls.) Objects are created and destroyed on-the-fly*.  Different experiments may still use the same binary.exe. * much better than Lego wait for event send event

Dietrich Beck, more statements... Our OS is neither Windows, nor Linux, nor.... Our OS is LabVIEW! Active objects are no processes in the OS, but threads within the LabVIEW environment. Multi-threading/tasking is organized by the internal scheduler.  If LabVIEW crashes, everything crashes. Events/semaphores are only valid within one LabVIEW runtime/development system, but: Several runtime/development systems can be coupled together via a CS server and client. But: Only one CS system per node.

Dietrich Beck, even more statements... A LabVIEW "*.exe" file is not an executable. It requires a LabVIEW runtime system. Neither a LabVIEW ".exe" nor the LabVIEW runtime system contain drivers. They must be installed separately on the target system. If one uses the Datalogging and Supervisory Control (DSC) module, one must install the DSC runtime system seperately. If one uses OPC servers, one must install....

Dietrich Beck, statements continued... So far, CS is device oriented. – high performance, no intrinsic bottlenecks – no security or user management implemented (yet) CS... : – was: based on third-party toolkit ObjectVIEW – is: based on core developed at GSI – will be: what about LabVIEW 8?

Dietrich Beck, final statements LabVIEW is more expensive than emacs and gcc. PCs are cheap, but... control software is using more resources than office software –I/O –CPU –memory control software is a good test program for PC hardware PCI or cPCI/PXI? commodity hardware or industrial PCs?

Dietrich Beck, Example for a simple control system User PC n Control GUIOn-line Analysis GUI Central PC Sequencer DataCollector DSC EngineDSC Interface SR430PPG100DS345 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

Dietrich Beck, Usage of the CS framework today experiments requiring high flexibility experiments with a large variety of hardware types experiments with up to 10,000 process variables PHELIX PHELIX Motion CaveA SHIPTRAP ISOLTRAP REXTRAP REXTRAP LEBIT LEBIT GSI, Germany CERN, Switzerland MSU, USA data taking development commissioning Motion CaveA