hps slow controls overvie · • nerses gevorgyan yerevan • ani simonyan yerevan • levon...

16
HPS Slow Controls Overview Hovanes Egiyan 6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 1

Upload: others

Post on 03-Aug-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

HPS Slow Controls Overview

Hovanes Egiyan

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 1

Page 2: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Content

• Introduction

• HPS SVT Controls

• ECAL Controls

• Hall B controls

• Summary

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 2

Page 3: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

HPS Slow Controls Group

• Pelle Hanssen SLAC• Sho Uemura SLAC• Takashi Maruyama SLAC• Bryan McKinnon Glasgow• Ken Livingston Glasgow• Nerses Gevorgyan Yerevan• Ani Simonyan Yerevan• Levon Hakobyan Yerevan• Valery Sytnik CLAS12• Krister Bruhwel JLAB• Hovanes Egiyan JLAB• Sergey Boiarinov JLAB• Wesley Moore JLAB• Andrea Celentano INFN

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 3

Page 4: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

SVT Voltage Controls

• Requires two EPICS IOC: for MPOD and for DAQ interfaces.

• We borrowed an MPOD chassis with 3 bias and 3 LV boards from CLAS12 SVT group.

• We can have an IOC running on a Hall B clonioc2 server communicating with the MPOD using SNMP.

– Configured using the Hall D scheme and software.

• Detector configuration and the mapping is stored in a SQLite DB which can be used by both IOC initialization and by alarm handler configuration.

– Detector to board/channel mapping in DB is arbitrary for now.

• Pelle and Sho started work on DAQ EPICS IOC for low voltages for hybrids.

– Can successfully read the SVT temperatures into EPICS.

• Bryan McKinnon (Glasgow) has created GUIs for voltage controls.

– Made a presentation on status of SVT voltage GUIs on controls meetings.

– All bias voltages and low voltages boards are implemented.

– Voltage overview screen and the screens with voltage parameters are ready.

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 4

Page 5: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

SVT Voltage Alarms

• HPS alarm system will be similar to that of CLAS6– Works well– Save labor

• Ani Simonyan (Yerevan) developed the alarms screens for the SVT voltages.– Autoconfiguring the EPICS

alarms with Python scripts using the channel mapping information from an SQLite database.

– No need to manually change the alarms configuration when the SQLite DB changes

• Can be integrated into a single alarm tree of HPS

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 5

Guidance button

Action/related screen button

Alarm tree

Page 6: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

SVT Motors

• HPS will require 3 new motorized axis.

• The 3 new HPS motors will be controlled by a new Newport XPS-Q8 controller.– Controller procured, cables manufactured– The rest of the standard Hall B stages will be controlled using

Hall B scheme– Can also move 3 stages to the XPS controller

• Beam blocker, beam viewer and collimator.

• New beam scanning procedure needs to be developed for SVT motors that use XPS controller– Hall D has these controllers and currently developing harp

scans using those. – Ani Simonyan (Yerevan) is working on the beam scanning

software with Hall D on SVT scan development. – Ani needs a drawing of wires w.r.t SVT to calculate the

geometry.

Newport XPS-Q8

XPS Vacuum Stages

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 6

Page 7: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Beam Scans• HPS will use standard Hall B wire scans for regular beam profile harp scans.

– If time allows, can migrate to XPS-based scan

• Hall B recent scans used 3-wires for three projections: X, Y, and 450

– CLAS6 never analyzed the 3-rd wire result– Ani Simonyan is working on scans, added the fitting of the third peak– Can determine the orientation of the long axis of the beam

• The HPS SVT scans will need to utilize another procedure – Use a TTL pulse from the XPS controller to gate the scaler to synchronize the motor and scaler readout

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 7

Page 8: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Chillers

• SVT needs to use two separate chillers – Both will have serial communication for remote controls– Both will be instrumented for shut-off valve to be used for the

SVT interlock system.

• Wesley Moore (JLAB) will be taking over the chiller EPICS support– Wesley has significant experience with the serial communication

devices in EPICS

• One chiller (small SVT chiller for FE boards) is at JLAB.– Current being used by ECAL.– Wesley will start work on EPICS support probably next week.

• The second chiller will be implemented when it arrives at JLAB– About two weeks of work.

• Wesley will also implement the ECAL chiller controls in EPICS.

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 8

HPS SVT FEC chiller

Page 9: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

SVT Interlocks

• Operations of SVT requires interlocks:– Shutdown MPOD power using FAST_SHUTDOWN (or ENABLE) signal when

• SVT temperature is high, or• Vacuum pressure is high, or• Coolant flow is too low in either of the two SVT chillers, or• Beam is off in Hall B (FSD feedback)

– Shutdown both SVT chillers via relay• Vacuum pressure is high

– Interlocks would be latching requiring manual reset

• We are building a system where the logic would be programmable (provided the inputs are there).

• PLC hardware has been ordered and received at SLAC– Should program it to use in August

• Need to finalize the decision algorithm to program– States of the chiller relay and chiller solenoid valves– Whether to use ENABLE or FASTSHUTDOWN on MPOD

Chiller interlock

PS interlock

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 9

Page 10: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

PLC-based Interlocks

• Functional modules procured – Controller– Analog input (8x voltage or current channels) [vacuum, flow, beam loss]– RTD input (6x RTD channels) [SVT temperature]– Digital output (16x 24 VDC channels) [solenoid valves]– TTL output (16x TTL ) [MPOD interlock]– Relay output (16x relay channels) [solenoid valves]

ControllerPower Supply

I/O Modules

• The timing requirements from the SVT group are not very strict, on the order of 200ms.

• Current design based on Allen-Bradley CompactLogix PLC chassis– Modular system, can easily add more I/O modules.– Relatively inexpensive hardware (<$10K for interlocks only).– Can program logic at any time if we have a software license.– Easily interfaceble with EPICS to see the statuses and values of the

inputs.– Hall D developed an interlock system based on A-B CompactLogix.

Allen-Bradley CompactLogix

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 10

Page 11: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

ECAL Voltages and Temperatures

• Valery Sytnik ported the CAEN SY1527 EPICS driver to the latest version of EPICS.

• Nerses Gevorgyan is working on moving CLAS6 CAEN HV voltage application to new EPICS– Mapping of the channels– Control screen generation– Alarm configuration file generation– EPICS record DB generation

• Bryan McKinnon is developing an overview screen to be used by shift takers– Still in progress

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 11

CAEN SY1527/SY4527

Page 12: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

ECAL Light Monitoring

• ECAL will have a light monitoring system with two custom-made controllers.– The same type as for CLAS12 Forward Tagger

• INFN/Genova is developing the firmware for the control module of the CLAS12/HPS pulsing system.

• Glasgow group developed EPICS support for the CLAS12 Forward Tagger controller and working on a monitoring procedure which we can use for HPS.– May need different type of controls screens between CLAS12 and HPS.– Will be discussed at the HPS controls meeting next week.

• The hardware and software are expected to show up at Jefferson Lab ready to be used.

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 12

Page 13: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Scalers

• Started work on JLAB discriminator scalers in EPICS (Sergey, Valery)– 16 x 4 scalers per board

• 2 thresholds• 2 scalers per threshold

– Use a server to collect and latch scalers– EPICS IOC and other processes can grab scaler counts

from the server– Prototype for driver already existed

• FADC250 EPICS driver will follow the same scheme– 16 scalers + 16 spectrum waveforms per board– Should be simpler than discriminator scalers.– No control/configuration from EPISC is required.

• Need to develop an HPS-specific application (EPICS channel list and GUIs) to display these scalers– Use the GlueX SQLite scheme for mapping channels.

JLAB Discriminator JLAB FADC250

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 13

Page 14: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Hall B Controls

• There are a lot of controls that existed in Hall B before HPS– Many system were taken apart during CLAS decommissioning.– Many need to be restored, then updated for newer hardware and operating systems.

• Accelerator division will take care of the beamline vacuum controls.

• Two new Hall B visitors (Valery Sytnik and Levon Hakobyan) will be working on migrating Hall B applications to newer version of EPICS and VxWorks. – A pretty long list of needed application and EPICS drivers have been determined.

• Krister Bruhwell has been working on magnet controls– Frascati magnet power supply controls have already been restored– Main dipole (pair spectrometer) power supply is next, should be simpler to restore. – Moeller magnet power supplies are considered lower priority for now.

• Krister is also restoring the motorized stages and the control boxes for the Hall B beamline components.– Beam blocker controls restored.– Five more stages to go.

• Krister will be restoring the ECAL temperature monitoring used during test run.

• We have an agreement with accelerator division to use MYA archiver for all HPS EPICS channels.

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 14

Page 15: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Schedule

• The slow controls schedule had to be modified due to – Actual manpower availability– Schedule changes in SVT and ECAL

• All controls components should be ready for operations at the end of September.

• Integration with the rest of the HPS components may last until end of October and even into November.

• Some of the controls components will require commissioning with or without beam.– Should be part of the commissioning plan

for parent HPS subsystems.

ID WBS Activity End date

1.49.63 Chiller Controls programming 8/30/2014

1.49.64 Sensor readout programming (PLC) 8/30/2014

1.49.65 SVT voltage controls 7/30/2014

1.49.66 ECAL voltage controls 7/30/2014

1.49.67 SVT motor controls 9/30/2014

1.49.68 Target motor controls 8/30/2014

1.49.70 Hardware interlock (PLC) 8/30/2014

1.49.71 Beamline controls screens 9/30/2014

1.49.72 EPICS scalers programming 8/30/2014

1.49.73 Alarm configuration 9/30/2014

1.49.74 Archiving of controls 9/30/2014

1.49.75 Slow Controls ready 9/30/2014

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 15

Page 16: HPS Slow Controls Overvie · • Nerses Gevorgyan Yerevan • Ani Simonyan Yerevan • Levon Hakobyan Yerevan • Valery Sytnik CLAS12 • Krister Bruhwel JLAB • Hovanes Egiyan

Summary• The SVT voltage controls development is progressing well.

– IOC-s, controls screens, alarms are in pretty good shape.

• Small change of plans regarding the SVT motor controls.– Newport XPS controller has been procured, cables for SVT motors have been manufactured. – Takashi has learnt a lot regarding the SVT motion system and how to control it

• Hardware for the SVT interlock system has been procured.– Allen-Bradley CompactLogix based system, identifying the person who can program it.

• Work on EPICS support for chillers will start next week.

• ECAL voltage controls are essentially the old ECAL controls with different mapping.– CLAS12 updated the CAEN EPICS support to new EPICS versions.

• ECAL LED monitoring controls is progressing well.– Still need controls GUIs for HPS.

• Hall B staff and visitors are actively working on restoration of the existing controls in the hall– Frascati magnet controls are mostly restored.– Two visitors are working on converting the EPICS applications to new VxWorks.– Starting to implement scalers from JLAb modules in EPICS

• Scheduled for completing the slow controls slipped back by approximately two month.– Working with subsystems to ensure that controls are there when needed.

6/18/2014 Hovanes Egiyan HPS Collaboration Meeting 16