Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring:...

26
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface Pete Owens
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    214
  • download

    1

Transcript of Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring:...

Page 1: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Pete Owens MICE Controls & Monitoring Workshop 25th September 2006

MICE Control and Monitoring:

General Architecture

Subsystem Integration

User Interface

Pete Owens

Page 2: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

General ArchitectureClient-Server Model

ClientOperator Interface

LAN

ServerInput Output Controllers

Equipment Being Controlled

Page 3: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Channel Access

Channel Access

GUICA Clients

CA Servers

IOC

Archiver …

IOC IOC

processvariables

Page 4: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Channel Access Server

Channel Access

device/driver support

IOCtradionally

VME/VxWorksEPICS database

EPICS core

Hardware

Page 5: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Channel Access Client

Channel Access

CA library

Application(user interface / archive engine / etc…)Typically

Unix/Linux

Page 6: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Subsystem Integration

* Naming convention

* Simulation

* File system

* Standard hardware interfaces

Page 7: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Naming Convention

* Process Variables located by name -Names MUST be unique

* Naming convention should apply to physical devices – not just control system. The same names should be used consistently in drawings, labels, documents and so on.

Page 8: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Naming Convention

* A-Z (upper case letters)

* 0-9 (numerals)

* : used to separate structural parts of name

* - used to delimit distinct elements

Page 9: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Naming Convention

DDDD-TT-CCCCC-NN:SSS:RRRRRR

device sub-system record

(optional)

domain (physical location) MICE

technical area eg. HY, RF, VA …

component eg. VALVE, identifier (01 -99)

Page 10: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Example Record Names

* MICE-RS-RDMON-01:RATE radiation monitor : dose rate

* MICE-VA-VALVE-01:STA vacuum valve : status

* MICE-VA-PIRG-03:CTL:SP pirani gauge : control relay : setpoint

Page 11: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Simulation

* EPICS database with ‘soft’ records ie no hardware

* Allows you to build test and demonstrate client side applications

* Should not be too realistic

Page 12: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

File system

EPICS release

/home/epics/R3.13.7/base

/extensionsproduction modules module name / version

/home/mice/R3.13.7/prod/support/a-module/1-0/

/ioc/an-ioc/3-4/working directory for development modules

/home/mice/R3.13.7/work/

Page 13: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Standard Hardware Interfaces

* EPICS supports many different hardware interfaces. To keep systems as compatible as possible the use of Hytec 9010 IOC and IP modules is recommended for most applications.

* For more complex situations specialised systems such as VME crates may be necessary. This approach will require considerably more software expertise to develop and integrate.

Page 14: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Standard Hardware Interfaces

* The Hytec 9010 IOC supports upto 6 Industry pack (IP) interface modules.

* Suggested IP modules are:

* IP-ADC-8401 8 channel 16-bit ADC (+/- 10V)* IP-DAC-8402 16 channel 16-bit DAC (+/- 10V)* IP-SIO-8505 16 channel buffered digital I/O

Page 15: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

User Interface

* Standard EPICS Tools* ALH - Alarm Handler

* Channel Archiver

* BURT - Backup & Restore

* Schematic Displays* EDM – Extensible Display Manager

* Scripts/programs

* Probe

* Strip Tool

* etc.

Page 16: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

ALH – alarm handler Hierarchical monitoring and recording of alarm conditions

Page 17: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Channel Archiver (3.13)• Provides historical archive of configured process variables.• Dead-band set in the database to prevent recording noise.• Export data to different file formats• Web-based user interface

Page 18: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Channel Archiver (3.14)• Improved storage and retrieval system• BUT – fewer interface options to date

Page 19: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

BURT – backup & restore tool• Saves snapshots of

sets of values that can be restored later

Page 20: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Strip Tool

Provides chart recorder style plotting

Multi-channel

Fully configurable scaling

Can also plot historical data from the archiver

Page 21: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

probe• Monitors a single PV – useful for debugging

Page 22: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Display Manager

Used to generate graphical control and monitoring displays from pre-defined widgets.

Several to choose from: EDD/DM, MEDM, EDM, DM2K

EDM is currently the most actively developed display manager

A limitation all of these display managers is that it is not possible to add intelligence or data processing to the application. This must be done either in the IOC or in a separate client application.

Page 23: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

Colour Scheme

* Grey - background

* Blue - control

* Green – monitor/on/open/OK

* Yellow – warning

* Red – alarm/off/closed

* White - invalid

Page 24: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

EDM – extensible display manager

Page 25: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

EDM – extensible display manager

Page 26: Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring: General Architecture Subsystem Integration User Interface.

Presenter Name

Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006

CA Programming Language Interfaces

* Tcl/tk

* Java

* Python

* Active X

etc…