CRIO as a hardware platform for Machine Protection. W. Blokland S. Zhukov.

Slides:



Advertisements
Similar presentations
Controller Tests Stephen Kaye Controller Test Motivation Testing the controller before the next generation helps to shake out any remaining.
Advertisements

Make This work with EPICS! 2006
What is Arduino?  Arduino is a ATMEL 168 micro-controller kit designed specially for small projects  User friendly IDE(Integrated Development Environment)
Status of the LANSCE Upgrade LA-UR Eric Bjorklund.
Digital RF Stabilization System Based on MicroTCA Technology - Libera LLRF Robert Černe May 2010, RT10, Lisboa
Update of EXT Stripline BPM Electronics with LCLS-style Digital BPM Processors Glen White, with slides by Steve Smith 15 December 2009 ATF2.
Test of LLRF at SPARC Marco Bellaveglia INFN – LNF Reporting for:
1 VLPC system and Cosmic Ray test results M. Ellis Daresbury Tracker Meeting 30 th August 2005.
High Power Hg Target Conceptual Design Review Hg Target System Controls V.B. Graves P.T. Spampinato T.A. Gabriel Oak Ridge National Laboratory February.
MICE Tracker Front End Progress Tracker Data Readout Basics Progress in Increasing Fraction of Muons Tracker Can Record Determination of Recordable Muons.
CDF Silicon Workshop th May 2006 New BLM & BLM electronics Jose E. Garcia, Jennifer Gimmell, Ulrich Husemann.
SNS Integrated Control System SNS Machine Protection System EPICS Workshop April 27, 2005 Coles Sibley.
Using FPGAs with Embedded Processors for Complete Hardware and Software Systems Jonah Weber May 2, 2006.
February 17-18, 2010 R&D ERL James Jamilkowski R&D ERL Controls Larry Hoff James Jamilkowski February 17-18, 2010 Controls.
EtherCAT Driver for Remote I/O James Rowland, Ronaldo Mercado and Nick Rees.
LabView Users Group Meeting June 20 th, 2006 Process Control Using Compact Field Point/Labview Real-time Michael Tockstein Microelectronics Technology.
ATF2 Q-BPM System 19 Dec Fifth ATF2 Project Meeting J. May, D. McCormick, T. Smith (SLAC) S. Boogert (RH) B. Meller (Cornell) Y. Honda (KEK)
3/7/05A. Semenov Batch-by-Batch Intensity Monitor 1 Two-Channel Batch by Batch Intensity Monitor for Main Injector BBI.
ORNL-SNS Diagnostic Group SNS Beam Loss Monitors and HARPs Machine Protection System FDR September 11,2001 Presented by Saeed Assadi.
Identifying SLC 500™ System Components. SLC 500 System Options  The SLC 500 line of processors comprises both fixed and modular processor styles.:
SNS Integrated Control System EPICS Collaboration Meeting SNS Machine Protection System SNS Timing System Coles Sibley xxxx/vlb.
APS BPM and power supply applications on micro-IOCs W. Eric Norum
1 MICE Tracker Update M. Ellis UKNFIC Meeting 25 th August 2005.
DLS Digital Controller Tony Dobbing Head of Power Supplies Group.
ORNL is managed by UT-Battelle for the US Department of Energy SNS Beam Diagnostics: Ten Years After Commissioning A. Aleksandrov Oak Ridge National Laboratory,
SNS Integrated Control System SNS Timing Master LA-UR Eric Bjorklund.
ArgonneBeamTest_ ppt1 Argonne Beam Test preparation Tsunefumi Mizuno Tuneyoshi Kamae
Running EPICS on NI CompactRIO Initial Experience Eric Björklund (LA-UR )
Ethernet Based Embedded IOC for FEL Control Systems J. Yan, D. Sexton, Al Grippo, W. Moore, and K. Jordan ICALEPCS 2007 October 19, 2007 Knoxville Convention.
Zheqiao Geng 6/5/2012 Plan for Evaluating LLRF Deployment Solution at LCLS-II.
The microIOC Family Gasper Pajor EPICS Collaboration Meeting Argonne National Laboratory June 2006.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
Beam diagnostics in the beamlines
SNS Integrated Control System Timing Clients at SNS DH Thompson Epics Spring 2003.
Managed by UT-Battelle for the Department of Energy SNS BLM System Overview Detectors, Measurements, Simulations Alexander Zhukov Saeed Assadi SNS/ORNL.
MERIT Hg System Final Design Review Hg Target System Controls V.B. Graves P.T. Spampinato T.A. Gabriel MERIT Collaboration Meeting MIT Plasma Science &
Stepper Motor Control, PLC vs VME Herb Strong, Pam Gurd Spallation Neutron Source Oak Ridge National Laboratory October 17, 2007.
Fast Fault Finder A Machine Protection Component.
DataMaster 3000 Data Acquisition and Control Software.
LHC Collimators low level control rack test experience in CNGS A Masi, LHC Collimators low level control rack test experience in CNGS LHC Collimators low.
Update on final LAV front-end M. Raggi, T. Spadaro, P. Valente & G. Corradi, C. Paglia, D. Tagnani.
ESS LLRF and Beam Interaction. ESS RF system From the wall plug to the coupler Controlled over EPICS Connected to the global Machine Protection System.
Event Mode Data Acquisition System Richard Riedel, Oak Ridge National Laboratory.
1. LabVIEW and EPICS Workshop EPICS Collaboration Meeting Fall 2011.
BIC Issues Alan Fisher PEP-II Run-4 Post-Mortem Workshop 2004 August 4–5.
Sensor testing and validation plans for Phase-1 and Ultimate IPHC_HFT 06/15/ LG1.
Managed by UT-Battelle for the Department of Energy SCL Vacuum Control System Upgrade Derrick Williams
Stephen Norum LCLS Oct. 12, LCLS Machine Protection System Outline Overview of interim MPS Update on the interim MPS.
Connecting LabVIEW to EPICS network
LIGO-G9900XX-00-M LIGO II1 Why are we here and what are we trying to accomplish? The existing system of cross connects based on terminal blocks and discrete.
High Beam Intensity Harp Studies and Developments at SNS*
Update on the New Developments & Analysis from Hawaii Larry Ruckman & Gary Varner Instrumentation Development Laboratory (ID-Lab) University of Hawaii.
BLM Meeting 10/18/2010 Drennan 1 Booster BLM Upgrade Specification Development September 2010 Craig Drennan.
Beam Diagnostics Seminar, Nov.05, 2009 Das Tune-Meßverfahren für das neue POSI am SIS-18 U. Rauch GSI - Strahldiagnose.
RF Commissioning D. Jacquet and M. Gruwé. November 8 th 2007D. Jacquet and M. Gruwé2 RF systems in a few words (I) A transverse dampers system ACCELERATING.
Fermilab Control System Jim Patrick - AD/Controls MaRIE Meeting March 9, 2016.
Using COTS Hardware with EPICS Through LabVIEW – A Status Report EPICS Collaboration Meeting Fall 2011.
NMLTA Protection System Update -Loss Monitors- Arden Warner September 2 nd, 2009.
Digital Acquisition: State of the Art and future prospects
High Beam Intensity Harp Studies and Developments at SNS*
RF acceleration and transverse damper systems
2007 IEEE Nuclear Science Symposium (NSS)
Ewald Effinger, Bernd Dehning
LHC BLM system: system overview
Development of built-in diagnostics in the RADE framework (EN2746)
CSNS Accelerator Control and Beam Instrumentation JIN Dapeng, XU Taoguang … June 9, 2015
Combiner functionalities
Data Acquisition (DAQ)
LCLS Machine Protection System
quadEM: New Beam Position Monitor & Electrometer Hardware and Software
Presentation transcript:

cRIO as a hardware platform for Machine Protection. W. Blokland S. Zhukov

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Introduction  The Beam Instrumentation Group at the Spallation Neutron Source is responsible to measure aspects such as losses, charge and position of the accelerating particle beam.  Some of these measurements are tied to the Machine Protection System (MPS) and must be able to turn the accelerator off. The requirements can be:  Turn the machine off before the next pulse (SNS: < 15ms)  Turn the machine off within the pulse (SNS: µs)  Additional requirements can be:  Use a hardware (analog or digital) solution to implement the abort function  The cRIO platform supports both a Software (Real-Time) and Hardware (FPGA) implementation of Machine Protection Aborts 2

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor One unique instrument for use in a test facility. Similar to a standard Beam Loss Monitor but resources to modify existing systems was scarce. cRIO was identified as viable alternative.  RF Test Facility Beam Loss Monitor Specifications  Sample 12 channels at 100kHz  Alarm in 20usec when integrated beam loss is above threshold  Control and read back HV power supplies voltages  Send test pulse to test Photo Multiplier Tubes 3 FeatureVMEcRIO Sample rate100kS/s Resolution2416 MPSAnalogFPGA Analog Channels Hardware Cost*$29k$12k-13k * CPU, Crate, Power supply, ADC, DAC, DIO

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor cRIO 4 Not needed anymore, we have at least two ways of running EPICS on cRIO without gateways

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor software 5 Three different pieces of hardware but one programming environment: LabVIEW FPGA (on cRIO backplane) point-by-point processing of the data such as integration and comparison to threshold, baseline correction, and LED enable LabVIEW Real-time (in Controller) Implements the real-time calculations such as Rads/sec (This can also be done on the FPGA if needed for Beam Abort) LabVIEW for Windows (separate PC) Implements the gateway to the EPICS-based control system.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY LabVIEW Programming Environment 6  Integrated programming environment for both RT and FPGA programming  Single vendor! No dealing with multiple vendors to solve problems.  Same programming constructs for both RT and FPGA  EPICS is supported  FPGA code must be compiled and this takes time: 10 min – 40 minutes loop sequence Only FPGA specific: Access to cRIO Analog In

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Sequential versus point-by-point 7 The LabVIEW FPGA programming environment brings the FPGA into the same realm as CPU programming!!! - Caveat: FPGA programming increases in complexity when programming in single cycle loops (aka full speed) Sequential processing

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Sequential versus point-by-point 8 acquisition 10 µs processing data Transfer To RT data First Abort option in 10-20us beam point-by-point (pipelined) processing

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor Diagram 9  Impressive:  Adding PMT test feature required minimal code and development time

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor cRIO 10 BLM IOC CPU with EPICS BLM Amplifiers BLM cRIO HV Power supply RF Cavity Video System PXI crate

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Beam Loss Monitor VME Rack 11 VME Controller, Digitizer, Digital IO, Custom Timing Card Custom Analog Card VME Controller, Digitizer, Digital IO, Custom Timing Card Custom Analog Card Abort System Modules Power Supply HV modules Analog Front-end

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Scrapers Thin foils scrapes the beam halo in HEBT of SNS. The scraped particles are collected by collimators. Need an MPS to prevent excessive power being dumped into collimator. There are 2-4 foils per collimator. The secondary electron emission presents itself as current source that is measured.  HEBT Scraper Specifications  Sample 4 channels at 200kHz  Trip the beam in 20usec when integrated beam loss is above threshold for one foil  Trip the beam if 1s average of sum over all foils (for particular collimator) is above threshold (total power on collimator)  Communicate with AFE boards (over serial port, 115kbit/s RS-485) to check amplifier health, HV  The Trips have to be generated by hardware (FPGA)  Since the signal is AC coupled (due to HV bias applied to the foil) alleviate signal droop 12 * CPU, Crate, Power supply, ADC, DAC, DIO

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY cRIO implementation (under development)  Space saving: 3U per collimator  Modularity: one IOC fails, corresponding scrapers must be retracted, but the other can be used  All sorts of digital correction: baseline, droop etc  20uS requirement met: is limited by current driver speed 10uS  Communication can be done in FPGA or RT (drag and drop will work)  All sorts of rolling averages (1s) easy to implement

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY Comparison  Sample-by-sample processing fitted requirements very well and got rid of issues such as: Sequential processing bottlenecks: Waveform acquisition takes 2 ms, then the transfer to slot zero, then processing. This must fit within 16.6msec. Balancing act between digitizing speed, backplane data transfers and CPU processing. FPGA can process data point-by-point without data transfers. Separate hardware board to perform Abort functions. An analog board with integrator and analog threshold is used to implement an abort within 20 µs. FPGA can set alarm in each 10 µs cycle.  cRIO Hardware integration takes care of low-level drivers Our projects requirements matched very well with cRIO capabilities and no FPGA hardware knowledge was required EPICS integration is available  VME approach is standard in accelerators Custom timing decoding card and software is available Experienced people EPICS integration is standard  No special FPGA knowledge required 14

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 15 Future  Scrapers 3 IOCs (Feb 2011)  Beam power on Beam Line Dump using cRIO  Replacement of BLM VME hardware? (more fantasy than future)