CSS – Control System Studio Introduction

24
Matthias Clausen, DESY CSS Presentation @ GSI Feb. 2009: Introduction 1 XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser CSS – Control System Studio Introduction CSS – Control System Studio Summary Presentation @ GSI February 11 th 2009 Matthias Clausen, Jan Hatje (DESY / MKS-2) Presented by: Matthias Clausen

description

CSS – Control System Studio Introduction. CSS – Control System Studio Summary Presentation @ GSI February 11 th 2009 Matthias Clausen, Jan Hatje (DESY / MKS-2) Presented by: Matthias Clausen. Agenda of Today. Introduction (Matthias Clausen) EPICS and EPICS @ DESY CSS History - PowerPoint PPT Presentation

Transcript of CSS – Control System Studio Introduction

Page 1: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 1

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS – Control System Studio

Introduction

CSS – Control System StudioSummary Presentation @ GSI February 11th 2009

Matthias Clausen, Jan Hatje (DESY / MKS-2)

Presented by: Matthias Clausen

Page 2: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 2

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Agenda of Today

Introduction (Matthias Clausen)– EPICS and EPICS @ DESY– CSS History– CSS Requirements

CSS Technical Background (Jan Hatje)– Eclipse– Interfaces: DAL/ AAL

CSS Main Tools (Matthias Clausen)– Synoptic Display Studio (SDS)– Archive Display (DataBrowser)

CSS Core Tools I (Jan Hatje)– Alarms– Authentication and Authorization– Remote Management

CSS Core Tools II (Matthias Clausen)– Name Server/ Name Space Browser– Integrated development with CSS: CSS.DCT; CSS SNL– Diagnostic Tools: caSnooper

Page 3: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 3

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Introduction

EPICS

EPICS at DESY

Control System Studio– History– Requirements

Page 4: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 4

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

A brief Introduction to EPICS

What is EPICS?

EPICS = Experimental Physics and Industrial Control System

• The Collaboration• Basic Concept

– Input Output Controller (IOC)– Network Protocol (Channel Access - CA)– Application

Page 5: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 5

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS Collaboration

< 2003: 150 EPICS user Licenses

> 2003: open source

Page 6: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 6

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS Collaboration:It’s the people

Collaboration Meeting Archamps 2005103 Participants 34 Institutes 4 Companies

Page 7: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 7

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Breaking News:

The EPICS Collaboration will grow even further

As of February 1st ITER announced that EPICS will be used as the baseline for the software environment for the ITER control system …

(Published via EPICS TechTalk on Feb. 10th)

Page 8: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 8

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

ITER Statement

The CODAC group initiated a number of actions in the first half of 2008 in order to select a software environment as a part of moving from the conceptual design to an engineering design of CODAC.

The conclusion of all these activities is that ITER, being an experimental facility with a very long timeline, is better suited using an open source solution as compared to a commercial solution. Further, the reports conclude that technically, any of the candidate open-source solutions would work. However, due to market share and proven record the preferred solution would be EPICS.

As a consequence, the CODAC group announces that EPICS will be used as the baseline for the software environment for the ITER control system within the scope of PCDH (Plant Control Design Handbook).

Anders Wallander, 01-Feb-2009

Page 9: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 9

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS – The Basic Concept

P T

IOC

I/O-Local, or-On a field bus

CA ( Channel Access)- ip-based communication protocol

CA-ClientApplications

IOC-Control loops-Sequence programs

Control Loops-Permanently running at sprecise scan time

IOC OperationIs independent fromNetwork Connection

CA-Clientsconnect to IOC‘svia broadcast or name server

Page 10: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 10

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Application Development

Integrating new I/O devices Adding new databases for supported devices

Programmer Process Engineer

Get driverfrom

EPICS site Prepare newIOC

Load Image

ConfigureDatabase

DatabaseCreation

Tool

Write text fileto load

directory

Load IOC with-Operating System-EPICS core-Database

Page 11: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 11

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Advantages of the ‘EPICS – Way’

• Code running on the IOC is very stable– EPICS core software developed by core team (specialists)– Core is tested on all main operating systems before any new

release.– Only specialists create new drivers– Core and drivers are running in many installations worldwide

• Code is well tested and debugged

• Process engineers configure databases– No code created– IOC’s only differ by databases – the stable code remains the

same– Database configuration tools can be used by remote consulting/

engineering companies to create EPICS databases.(Database text files can be send via email to DESY)

Page 12: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 12

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS at DESY

EPICS is in operation at DESY since more than 18 years.• From the very beginning it is used for cryogenic controls.

– Which is process controls.• Only a few years later (1993) EPICS was also introduced

for the distributed PLCs of the utility controls group.• Since then all of the cryogenic plants at DESY are – or

will be (2009) controlled by EPICS IOCs• All of the utility controls are and will be using EPICS to

supervise their extended PLC infrastructure for monitoring and controls. – Like a SCADA system

• This applies also for the new projects: PETRA-III and the European XFEL

Page 13: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 13

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS for Cryogenic Controls

EPICS fulfills all the requirements of cryogenic control• Process control System

– Control Loops on IOC– Sequencer on IOC

• Process Control Applications– Synoptic Display– Archiver / Viewer– Alarm-System / Alarm Display– …

Page 14: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 14

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

EPICS for Utility Controls

The utility controls group is using EPICS as a SCADA system• Configuring EPICS databases• Configuring display files• Configuring alarm configuration files• Configuring archive configuration files

The utility controls group can use EPICS ‘independent’ from the cryogenic controls group, which is providing the ‘service’ to prepare:

• EPICS applications• EPICS-IOC core software (including drivers)

Page 15: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 15

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

Cryogenic and Utility Controls

Application Configuration

System Support by Cryogenic Controls Group

Database Configuration

Application Configuration

Application Development

Driver Development

Database Configuration

Application Configuration

Application Development

Driver Development

Database Configuration

Database Configuration

EPICSD/3

S S

Cryogenic

PLC

UtilityControlsGroup

Utility

Page 16: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 16

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS

Basic Requirements

Looking back in History

Page 17: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 17

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

New Developments: Operator InterfaceMotivation – Current State

Have a look at current operator interfaces:• Many applications of different kind

– Implemented by different programmers

– Different look and feel

– Implemented in different programming languages

– GUI with text in specific languages ( difficulties for Japanese Operators)

– Running only on specific operating systems

– Running only in the context of a specific control system type

• Which kind of data/ information transfer are possible?– Drag and drop basic information as ‘string’

– Cut and paste ‘strings’

– Drag and drop ‘objects’ within the same program environment (Windows)

Page 18: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 18

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

History

• 2005– EPICS Office

An Initiative for a newControl System Office Framework

Page 19: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 19

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

What is EPICS-Office?

It is an environment / framework which enables you to create your control system applications.

It shall provide interfaces to:– Control System Data– Control System Name Services– Control System Logging Services– Application Logging Services– Application Management Services– … more

It shall provide a generic infrastructure to built pluggable, component based applications:– High level applications (XAL)– User/ operator applications

Page 20: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 20

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

History

• 2005– EPICS Office

An Initiative for a newControl System Office Framework

• 2006– CSO Control System Office

Page 21: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 21

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSO Interfaces

Control System– Data Access– Name Services– Logging Services– Archive Data

Utility– Application Logging Services– Application Management Services

• Trigger Updates, Monitor running CSO Instances, Stop CSO Instance– Record/ Playback– Relational Database

Graphic– Graphic Service– Widgets

Application/ Application– Drag/ Drop

Page 22: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 22

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

History

• 2005– EPICS Office

An Initiative for a newControl System Office Framework

• 2006– CSO Control System Office– Adding the Idea of Interfaces to the Control System(s)

• 2006– CSS Control System Studio– Brain Storming Workshop @ DESY– Focus: ‘Information on your fingertip’– Decision to use Eclipse– Decision to implement CSS-Core by specialists from

University (C1-WPS)

Page 23: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 23

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

New Developments: Control System StudioCSS Design

Design Criteria:– Common Look and Feel– ‘Information on your Fingertips’

Find related applications using <MB3>– Drag and drop Java objects between (CSS compliant)

applications– Management of installed CSS installations– Talking to control systems through interfaces rather than directly

through control system specific API’s– Authentication/ Authorization– Internationalization– Do not preclude other implementations

• Integration by ‘plugin’

Page 24: CSS – Control System Studio Introduction

Matthias Clausen, DESYCSS Presentation @ GSI Feb. 2009: Introduction 24

XFELThe EuropeanX-Ray Laser Project X-Ray Free-Electron Laser

CSS Development / Collaborating

Matthias Clausen, DESY - idea, coordination

University of Hamburg, C1-WPS (Scientific contract, CoEUD project) – CSS – Core, Synoptic Display Studio

DESY, ORNL (Kay Kasemir) – Applications: Databrowser, PV Table, Name Space Browser, Alarm System, …

Cosylab (contract) – Data Access Layer

Josef Stefan Institute – Student exchange