Pete Owens MICE Controls & Monitoring Workshop 25th September 2006 MICE Control and Monitoring:...
-
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:...
Pete Owens MICE Controls & Monitoring Workshop 25th September 2006
MICE Control and Monitoring:
General Architecture
Subsystem Integration
User Interface
Pete Owens
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
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
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
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
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
Subsystem Integration
* Naming convention
* Simulation
* File system
* Standard hardware interfaces
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.
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
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)
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
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
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/
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.
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
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.
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
ALH – alarm handler Hierarchical monitoring and recording of alarm conditions
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
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
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
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
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
probe• Monitors a single PV – useful for debugging
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.
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
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
EDM – extensible display manager
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
EDM – extensible display manager
Presenter Name
Facility NamePete Owens MICE Controls & Monitoring Workshop 25th September 2006
CA Programming Language Interfaces
* Tcl/tk
* Java
* Python
* Active X
etc…