Download presentation
Presentation is loading. Please wait.
Published byPhilippa Melton Modified over 9 years ago
1
Controls and Monitoring Status Update J. Leaver 29/05/2009
2
Infrastructure
3
13/09/2015Imperial College 3 Infrastructure Issues General EPICS infrastructure –EPICS server / client organisation –Unification of control systems Remote access –Monitoring –Controls Configuration database Schedule
4
13/09/2015Imperial College 4 EPICS Client / Server Overview
5
13/09/2015Imperial College 5 EPICS Server / Client Organisation Wide variety of EPICS server applications permitted –Typically connect to physical hardware Impossible to enforce common interface/processor/OS specifications –Each server is maintained by ‘owner’ of respective control system Strict central administration unnecessary – ‘end user’ only concerned with availability of PVs on network EPICS clients also varied, but must be uniformly accessible –Users should not have difficulty finding/launching clients –Applications should be consistently organised/updated –MICE Online Group (MOG) responsibility
6
13/09/2015Imperial College 6 EPICS Client Organisation All client-side applications run on miceecserv –Central installation repository greatly simplifies configuration/maintenance/backup –MOG collates individual applications, applies updates when available from control system ‘owners’ miceecservmiceopi1miceopi2 EPICS IOC Portable CA Server EPICS IOC Controls Network EPICS server applications EPICS client applications
7
13/09/2015Imperial College 7 EPICS Client Organisation Client control/monitoring GUIs viewed directly on miceecserv, or one of 2 ‘Operator Interface’ PCs –OPI PCs act as ‘dumb terminals’, running displays from miceecserv via SSH miceecservmiceopi1miceopi2 EPICS IOC Portable CA Server EPICS IOC Controls Network EPICS server applications EPICS client applications
8
13/09/2015Imperial College 8 Unification of Control Systems At user level: Simple ‘wrapper’ GUI provides menu for launching individual client applications At system level: Employ 2 standard EPICS tools (running as background services on miceecserv) –Alarm Handler Monitors all servers & warns operators of abnormal/dangerous conditions –Channel Archiver Automatically records PV parameters to disk & provides several visualisation options See PH’s talk
9
13/09/2015Imperial College 9 User Interface
10
13/09/2015Imperial College 10 User Interface Large wall-mounted display Alarm Handler Message log Any important parameters for current run
11
13/09/2015Imperial College 11 User Interface Client application launcher Standard desktop monitor Client GUI
12
13/09/2015Imperial College 12 User Interface Connected to miceecserv
13
13/09/2015Imperial College 13 User Interface Connected to miceopi1 Connected to miceopi2
14
13/09/2015Imperial College 14 Remote Monitoring: General Principles Remote users should have simple, easily accessible interface for routine monitoring ‘Expert’ remote users should have access to monitoring displays which match those in MLCR No machine on Controls Network should be directly accessible over the internet System load generated by remote monitoring should have minimal impact on control & monitoring services
15
13/09/2015Imperial College 15 Remote Monitoring: Web Server miceecserv EPICS IOC Portable CA Server EPICS IOC RAL Gateway Channel Archiver Web Server PV Archive Data Server CGI Export Controls Network Java Archive Viewer Web browser NFS Mount PPD Network Internet
16
13/09/2015Imperial College 16 Remote Monitoring: Direct PV Access Could recreate normal client displays using web interface, but would involve impractical development overheads –Provide direct read only access to PVs so actual client GUIs may be run remotely miceecserv EPICS IOC Portable CA Server EPICS IOC RAL Gateway Controls Network Standard client GUI running on remote PC (read only) CA Gateway (read only)
17
13/09/2015Imperial College 17 Remote Monitoring: Direct PV Access CA Gateway makes PVs available across subnets (with full access control), while minimising load on underlying servers To simplify end-user support, virtual machine disk image containing EPICS + all client applications will be made available miceecserv EPICS IOC Portable CA Server EPICS IOC RAL Gateway Controls Network Standard client GUI running on remote PC (read only) CA Gateway (read only)
18
13/09/2015Imperial College 18 Remote Control Where possible, operations affecting the state of any MICE system should only be performed within MLCR –Remote users accessing controls can lead to unknown/unexpected running conditions – should be discouraged If necessary, off-site experts will be permitted to run control client applications on miceecserv, via SSH through RAL Gateway –Each expert will have an account on miceecserv which only contains client applications for their designated system
19
13/09/2015Imperial College 19 Configuration Database Necessary to integrate control systems with central MICE configuration database 1)Read set point values from database 2)Upload PV values to EPICS servers 3)Modify PVs with client GUIs 4)Download PV values from EPICS servers 5)Write new set point values to database For (2) & (4) propose use of standard EPICS Backup & Restore Tool (BURT) –Backup/restore PV values to/from snapshot files
20
13/09/2015Imperial College 20 Configuration Database BURT snapshot files may be written in ‘Self- Describing Data Sets’ (SDDS) format For (1) & (5), propose development of application to write/read database values to/from SDDS files –C API for generating SDDS snapshots provided with BURT –C/C++ APIs for database (PostgreSQL) available NB: Configuration database interface still in very early planning stages – details to be discussed/decidedNB: Configuration database interface still in very early planning stages – details to be discussed/decided –Have not rejected possibility of developing custom backup/restore client which accesses database directly
21
13/09/2015Imperial College 21 Infrastructure Schedule
22
Control & Monitoring Systems
23
13/09/2015Imperial College 23 C&M Systems Overview
24
C&M Systems Developed by Local MICE Community
25
13/09/2015Imperial College 25 Target: Controller Existing Target Controller system stable/reliable, but only has ‘push button’ interface & limited upgradeability Currently undergoing complete redesign to increase functionality and enable PC control Based on USBDAQ –Contains 1M gate FPGA –USB interface for PC communication Will be fully integrated with EPICS Responsible for SystemResponsible for EPICS C&MDue Paul Smith (UOS); James Leaver (IC)James Leaver (IC)July 2009; Dec 2009
26
13/09/2015Imperial College 26 Target: Controller Responsible for SystemResponsible for EPICS C&MDue Paul Smith (UOS); James Leaver (IC)James Leaver (IC)July 2009; Dec 2009 In hardware/firmware design stage – EPICS development not yet commenced Stage 1 upgrade will be complete end of July 2009 –Interfaces USBDAQ with existing analogue electronics –EPICS C&M system recreating current ‘push button’ controls (actuation, target dip depth, timing) Stage 2 upgrade to be completed end of December 2009 –Redesign of analogue electronics –Enable fine control of subsystems
27
13/09/2015Imperial College 27 Target: Beam Loss Beam loss IOC reads local data archive written by DAQ system Clients provide virtual scope display, history plots & analysis System functionally complete, but requires final selection of algorithm for calculating ‘absolute’ beam loss Responsible for SystemResponsible for EPICS C&MDue Paul Smith; Paul Hodgeson (UOS); James Leaver (IC)Pierrick Hanlet (IIT)Now; Sep 2009 DAQ
28
13/09/2015Imperial College 28 FNAL Beam Profile Monitors EPICS Server/client applications complete Well tested, used for monitor calibration procedures Responsible for SystemResponsible for EPICS C&MDue Alan Bross (FNAL)James Leaver (IC)Now
29
13/09/2015Imperial College 29 Cherenkov System Responsible for SystemResponsible for EPICS C&MDue Lucien Cremaldi; David Sanders (OLEMISS)Pierrick Hanlet (IIT)Sep 2009
30
13/09/2015Imperial College 30 Tracker: Magnetic Field Probes NIKHEF Hall probes will be installed –In homogeneous region of Tracker volume –At Z-edges of Tracker volume –Outside solenoids (backup check of field polarity) Hall probes read out via CAN interface using Windows application Portable CA server reads parameters from Windows PC via network socket Monitor B-field (X, Y, Z components) + probe temperature Responsible for SystemResponsible for EPICS C&MDue Frank Filthaut (RUN) Nov 2009 Standalone Probe Interface (Widows PC) Hall Probes EPICS Server (Linux PC) CAN BusNetwork Socket
31
13/09/2015Imperial College 31 Tracker: Magnetic Field Probes C&M system functionally complete –Just requires error handling refinements & definition of alarm limits To be installed at RAL in November 2009 –Dependent on Tracker schedule – could change No dedicated client will be written – sufficient to display parameters via Channel Archiver Data Server Responsible for SystemResponsible for EPICS C&MDue Frank Filthaut (RUN) Nov 2009
32
13/09/2015Imperial College 32 Tracker: AFEIIts AFEIIt configuration, control & monitoring software complete Finalisation of DATE integration details required –Need DATE-side client to enable/disable triggers (i.e. run control) Responsible for SystemResponsible for EPICS C&MDue Alan Bross (FNAL)James Leaver (IC); Jean-Sebastien Graulich (UNIGE)Now; June 2009
33
13/09/2015Imperial College 33 Tracker: AFEIIt Infrastructure ‘Infrastructure’ corresponds to miscellaneous auxiliary hardware associated with AFEIIts –Somewhat ill-defined, since most hardware (AFEIIt cryo systems & safety interlocks) integrated with Spectrometer Solenoid controls Currently require C&M for AFEIIt power supplies –4 Wiener PSUs (1 per cryo) –CAN Bus or RS232 communication interface Intend to use RS232 for simplicity –No progress yet – expect manpower to be available for completion in August Additional C&M requirements may develop (to be discussed) Responsible for SystemResponsible for EPICS C&MDue Alan Bross (FNAL)James Leaver (IC)Aug 2009; TBD
34
13/09/2015Imperial College 34 Hydrogen Absorbers: Focus Coils Absorber Focus Coils expected to require C&M systems very similar to Pion Decay Solenoid & Spectrometer Solenoids Would be most efficient for DL to take over project (wealth of relevant expertise) –Unfortunately prevented by MICE funding constraints –Task assigned to MOG Responsible for SystemResponsible for EPICS C&MDue Wing Lau (OU)Pierrick Hanlet (IIT); TBDMay 2010; TBD
35
13/09/2015Imperial College 35 Hydrogen Absorbers: Focus Coils If possible, will attempt to use DL’s existing magnet designs as template –DL C&M systems have vxWorks IOCs For MICE to develop vxWorks software, expensive (~£15.2K) license required Investigate replacement with RTEMS controllers (‘similar’ real- time OS, free to develop) –DL system include custom in-house hardware Not available for general MICE usage – will check alternatives However, will consider possibility of entirely new design (perhaps with Linux PC-based IOCs) Responsible for SystemResponsible for EPICS C&MDue Wing Lau (OU)Pierrick Hanlet (IIT); TBDMay 2010; TBD
36
13/09/2015Imperial College 36 Hydrogen Absorbers: Focus Coils Work on Focus Coil C&M system has not yet commenced –Need to confirm availability of PH –Assistance from FNAL Controls Group would be highly beneficial – need to discuss Expect to start project in September 2009 Responsible for SystemResponsible for EPICS C&MDue Wing Lau (OU)Pierrick Hanlet (IIT); TBDMay 2010; TBD
37
13/09/2015Imperial College 37 RF Cavities: Coupling Coils Cavity Coupling Coil C&M situation identical to Focus Coils –Similar requirements to other MICE magnets –MOG responsibility (need to confirm PH’s availability) –Project should run in parallel with Focus Coil C&M system Responsible for SystemResponsible for EPICS C&MDue Derun Li; Steve Virostek (LBNL)Pierrick Hanlet (IIT); TBDSep 2010; TBD
38
13/09/2015Imperial College 38 DATE Status Need mechanism for reporting current DAQ state via EPICS Simple (‘dumb’) data server hosts DATE status PV Client application reads DATE status from DIIM server, forwards value to EPICS server Server & display client complete; DATE-side client to be implemented Responsible for SystemResponsible for EPICS C&MDue Jean-Sebastien Graulich (UNIGE)James Leaver (IC); Jean-Sebastien Graulich (UNIGE)Jun 2009 EPICS Data Server (Single ‘status’ PV) DATE Client
39
13/09/2015Imperial College 39 Network Status Need to verify that all machines on DAQ & control networks are functional throughout MICE operation Two types of machine –Generic PC (Linux, Windows) –‘Hard’ IOC (vxWorks, possibly RTEMS) EPICS Network Status server contains one status PV for each valid MICE IP address Responsible for SystemResponsible for EPICS C&MDate Due Anyone with a PC/IOC in the MLCR/HallJames Leaver (IC)Aug 2009
40
13/09/2015Imperial College 40 Network Status Read status: PC –SSH into PC Verifies network connectivity & PC identity –If successful, check list of currently running processes for required services Read status: ‘Hard’ IOC –Check that standard internal status PV is accessible, with valid contents e.g. ‘TIME’ PV, served by all MICE ‘hard’ IOCs Responsible for SystemResponsible for EPICS C&MDate Due Anyone with a PC/IOC in the MLCR/HallJames Leaver (IC)Aug 2009
41
13/09/2015Imperial College 41 Network Status Currently have working prototype –EPICS server connects to PCs via SSH, checks contents of ‘key’ ID file –Client displays status of all PCs, scans at user-specified period (with ‘check now’ override) Need to add service checking & ‘hard’ IOC support Responsible for SystemResponsible for EPICS C&MDate Due Anyone with a PC/IOC in the MLCR/HallJames Leaver (IC)Aug 2009
42
13/09/2015Imperial College 42 Unassigned Control Systems The following systems currently have no allocated C&M effort –Time of Flight System –Diffuser –Calorimeter system Request help from MICE community to identify system requirements Need to find additional C&M resources –MOG operating at full capacity & no funds for DL to undertake these projects –Expect those responsible for each system will be required to implement corresponding EPICS controls –Assistance from FNAL Controls Group would be welcome (to be discussed)
43
13/09/2015Imperial College 43 MICE Community C&M Projects Schedule
44
C&M Systems Developed by Daresbury
45
13/09/2015Imperial College 45 Target: Drive Significant work required for Target upgrade –Additional temperature sensors –Split power supply to reduce current → duplication of C&M components On schedule for Target installation Responsible for SystemResponsible for EPICS C&MDate Due Paul Smith; Paul Hodgeson; Chris Booth (UOS)Adrian Oates; Graham Cox (DL)Aug 2009
46
13/09/2015Imperial College 46 Beamline Magnets C&M system complete –DL provides ongoing support & maintenance Responsible for SystemResponsible for EPICS C&MDate Due Martin Hughes (RAL)Peter Owens (DL)Now
47
13/09/2015Imperial College 47 Pion Decay Solenoid C&M system complete –DL provides ongoing support & maintenance Responsible for SystemResponsible for EPICS C&MDate Due Mike Courthold (RAL)Adrian Oates; Graham Cox (DL)Now
48
13/09/2015Imperial College 48 Tracker: Spectrometer Solenoids Controls rack layout essentially complete –Associated wiring diagrams ~50% complete Require ~4 weeks work –Rack, cabling, distribution costs: ~£5K C&M system to follow standard DL design –Controls interface hardware costs: ~£13K –Software development effort: ~0.4 man years Responsible for SystemResponsible for EPICS C&MDate Due Steve Virostek (LBNL)Adrian Oates; Graham Cox (DL)Possibly Sep 2009
49
13/09/2015Imperial College 49 Tracker: Spectrometer Solenoids Work currently halted due to budget constraints 3 options –Allow DL to complete project Requires ~£18K capital + 0.4 man years effort –Take DL’s current design & complete within the collaboration Requires ~£18K capital + ~£15.2K vxWorks developer licence + 0.6-0.8 man years effort Insufficient MICE manpower available… –Discard DL’s design & start over within the collaboration Unknown capital requirements (likely ~£18K) Requires ~1.5 man years effort Insufficient MICE manpower available… Responsible for SystemResponsible for EPICS C&MDate Due Steve Virostek (LBNL)Adrian Oates; Graham Cox (DL)Possibly Sep 2009
50
13/09/2015Imperial College 50 Tracker: Spectrometer Solenoids Only reasonable option: provide DL with funds to complete project Cannot pay for work out of UK budget –Possibly utilise common fund? AB currently in negotiations with MZ Must decide on course of action (preferably before end of CM24) Responsible for SystemResponsible for EPICS C&MDate Due Steve Virostek (LBNL)Adrian Oates; Graham Cox (DL)Possibly Sep 2009
51
13/09/2015Imperial College 51 H2 Absorbers: Hydrogen System DL have acquired necessary safety training Started evaluating PLC systems Very early stages of development –However, full funding already allocated –No immediate problems Responsible for SystemResponsible for EPICS C&MDate Due Yury Ivanyushenkov; Tom Bradshaw (RAL)Adrian Oates; Graham Cox (DL)May 2010…?
52
13/09/2015Imperial College 52 RF Cavities: RF System Andy Moss has system well under control Local amplifier PLC to monitor safety interlocks – software development by Chris White –When installed at RAL, intend to implement EPICS readout via Ethernet or RS232 Second Low Level RF (LLRF) system –Reads power levels from 3 amplifiers + cavity probe signals –Implements amplifier drive feedback loop to stabilise RF phase & amplitude –LLRF cards designed by Larry Doolittle (LBNL), corresponding IOC to be written by Dimity Tettyleman DL to build LLRF cards + IOC crate No contracts placed yet, but expect to test LLRF system on DL RF test stand before end of year Other details to be finalised Responsible for SystemResponsible for EPICS C&MDate Due Andy Moss (ASTeC)Dimity Tettyleman (LBNL); Adrian Oates; Graham Cox (DL)Sep 2010…?
53
Important Points & Actions for the MICE Community
54
13/09/2015Imperial College 54 Items Which Require Action! Must find resources within MICE community to complete EPICS C&M systems for –Time of Flight System –Diffuser –Calorimeter system Must resolve issue of funding for DL’s work on the Spectrometer Solenoids PH’s contract expires very soon… –He is essential to success of Online Group –If he is not reemployed, we won’t have: Alarm Handler, Channel Archiver, remote parameter monitoring, C&M systems for CKOV, Focus Coils, Coupling Coils, etc.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.